/* ─── Custom Font ─────────────────────────────────────────── */
@font-face {
  font-family: 'Ruach';
  src: url('../fonts/RUACH-LET-PLAIN1-0.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  --black:   #050505;
  --charcoal:#111;
  --white:   #f7f7f2;
  --silver:  #c8c8c2;
  --gray:    #8d8d88;
  --line:    rgba(255,255,255,.34);
  --max:     1160px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  z-index: 20;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 2.4vw, 28px) clamp(20px, 4vw, 64px);
  background: transparent;
  transition: background .3s ease, backdrop-filter .3s ease;
  pointer-events: none;
}
.site-header.is-scrolled {
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.brand-mark, .primary-nav { pointer-events: auto; }
.brand-mark,
.brand-mark a {
  background: transparent !important;
  isolation: auto;
}
.brand-mark img,
.brand-mark .custom-logo,
.custom-logo-link img {
  width: clamp(120px, 14vw, 210px);
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.5));
  background: transparent !important;
}

/* ─── Nav ─────────────────────────────────────────────────── */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
/* WordPress menu */
.primary-nav .menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}
/* Fallback nav: hide when WP menu present */
.primary-nav .menu ~ .fallback-nav { display: none; }
.fallback-nav {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
}
.primary-nav a {
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  transition: color .2s;
}
.primary-nav a:hover { color: #fff; }
.nav-monogram {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: #000;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  flex-shrink: 0;
}

/* ─── Hamburger (mobile) ──────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  cursor: pointer;
  padding: 6px;
  pointer-events: auto;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 1px;
  background: var(--white);
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 19;
  background: rgba(5,5,5,.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0a0a0a;
  isolation: isolate;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: contrast(1.08) saturate(0) brightness(1.0);
}
.hero-scrim {
  position: absolute; inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 46%, rgba(20,20,20,.1), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.25), transparent 40%, rgba(0,0,0,.55) 100%);
}
.flourish {
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 42% 58% 70% 30%;
  opacity: .2;
  z-index: -1;
}
.flourish::before, .flourish::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.flourish::before { width: 110px; height: 1px; transform: rotate(-24deg); top: 50%; left: 15%; }
.flourish::after  { width: 13px; height: 42px; transform: rotate(24deg); top: 34%; right: 20%; }
.flourish-left  { left: -120px; bottom: 14vh; transform: rotate(18deg); }
.flourish-right { right: -90px; top: 19vh; transform: rotate(-34deg); opacity: .12; }
.hero-lockup {
  width: min(920px, 88vw);
  text-align: center;
  color: var(--silver);
  transform: translateY(16px);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .38em;
  font-size: .72rem;
  color: rgba(200,200,194,.72);
  margin: 0 0 18px;
}
/* HERO NAME — metallic logo image */
.hero-logo-wrap {
  margin: 0 auto 4px;
  width: min(780px, 86vw);
}
.hero-logo-img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.75));
}
.role-line {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 28px 0 0;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,.9);
  font-size: clamp(.95rem, 2vw, 1.28rem);
  letter-spacing: .03em;
}
.role-line span { opacity: .6; }
.tagline {
  width: min(640px, 82vw);
  margin: 22px auto 0;
  font-size: clamp(.95rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}
.scroll-cue {
  display: inline-grid;
  place-items: center;
  margin-top: 38px;
  width: 44px; height: 44px;
  font-size: 2.6rem;
  color: rgba(255,255,255,.5);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ─── Section Base ────────────────────────────────────────── */
.section-kicker {
  text-transform: uppercase;
  letter-spacing: .36em;
  color: var(--silver);
  font-size: .72rem;
  margin: 0 0 20px;
}
.section-panel {
  position: relative;
  background:
    radial-gradient(circle at 75% 10%, rgba(255,255,255,.04), transparent 28%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.014) 0 1px, transparent 1px 6px),
    #050505;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* ─── Bio Section ─────────────────────────────────────────── */
.bio-section {
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  padding: clamp(80px, 10vw, 140px) clamp(24px, 8vw, 120px);
}
.bio-copy h2 {
  margin: 0 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: .95;
  font-weight: 500;
}
.bio-copy p:not(.section-kicker) {
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  font-size: 1.05rem;
}
.button {
  display: inline-flex;
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,.36);
  padding: 14px 26px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  color: rgba(255,255,255,.88);
  transition: background .2s, color .2s;
}
.button:hover { background: #fff; color: #000; }
.button + .button { margin-left: 14px; border-color: rgba(255,255,255,.18); }
.portrait-frame {
  margin: 0;
  border: 1px solid rgba(255,255,255,.36);
  padding: 10px;
  min-height: 310px;
  background: rgba(255,255,255,.03);
  box-shadow: 0 24px 72px rgba(0,0,0,.5);
}
.portrait-frame img { width: 100%; height: auto; }
.portrait-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.4);
  border: 1px dashed rgba(255,255,255,.2);
}

/* ─── Skills Strip ────────────────────────────────────────── */
.skills-strip {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 120px);
  background: #0c0c0c;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.skills-strip .section-kicker { text-align: center; }
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  max-width: var(--max);
  margin: 0 auto;
}
.skill-tag {
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04);
}

/* ─── Work Categories ─────────────────────────────────────── */
.work-categories {
  padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px);
  background: #f5f5f0;
  color: #101010;
}
.work-categories .section-kicker { color: #666; }
.section-heading {
  max-width: var(--max);
  margin: 0 auto 40px;
}
.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: .95;
}
.category-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  min-height: 200px;
  padding: 28px;
  border: 1px solid rgba(0,0,0,.1);
  background: rgba(255,255,255,.55);
  transition: transform .2s, box-shadow .2s;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.category-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0 0 12px;
}
.category-card p { color: rgba(0,0,0,.58); line-height: 1.7; font-size: .95rem; }

/* ─── Experience Section ──────────────────────────────────── */
.experience-section {
  padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px);
  background: #080808;
}
.experience-inner { max-width: var(--max); margin: 0 auto; }
.experience-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: .95;
  margin: 0 0 52px;
}
.exp-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 60px);
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.exp-item:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.exp-meta { padding-top: 4px; }
.exp-org {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--silver);
  margin: 0 0 6px;
}
.exp-period {
  font-size: .78rem;
  color: var(--gray);
  letter-spacing: .04em;
}
.exp-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 14px;
}
.exp-content ul {
  margin: 0; padding: 0;
  list-style: none;
}
.exp-content ul li {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  line-height: 1.75;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.exp-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,.28);
}

/* ─── Education Strip ─────────────────────────────────────── */
.education-strip {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 8vw, 120px);
  background: #0c0c0c;
  border-top: 1px solid rgba(255,255,255,.06);
}
.edu-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.edu-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
}
.edu-card p { margin: 0; }
.edu-card .edu-degree {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.edu-card .edu-school {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--silver);
  margin-bottom: 4px;
}
.edu-card .edu-year { font-size: .78rem; color: var(--gray); }

/* ─── Contact Section ─────────────────────────────────────── */
.contact-section {
  padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px);
  background: #050505;
}
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner h2 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  margin: 0 0 16px;
}
.contact-inner .contact-sub {
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  margin: 0 0 38px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ─── Generic content pages ───────────────────────────────── */
.content-page {
  min-height: 80vh;
  padding: 150px clamp(24px, 8vw, 120px) 90px;
  background: #070707;
}
.page-content, .page-hero { max-width: 900px; margin: 0 auto; }
.page-content h1, .page-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: .95;
  margin: 0 0 24px;
}
.page-content p { color: rgba(255,255,255,.72); line-height: 1.85; font-size: 1.05rem; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding: 32px;
  text-align: center;
  background: #030303;
  color: rgba(255,255,255,.38);
  font-size: .82rem;
  letter-spacing: .04em;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .primary-nav .menu,
  .primary-nav .fallback-nav,
  .nav-monogram { display: none; }
  .nav-toggle { display: flex; }
  .bio-section { grid-template-columns: 1fr; }
  .bio-section .portrait-frame { order: -1; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-item { grid-template-columns: 1fr; gap: 8px; }
  .edu-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .category-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero { background: #0a0a0a; }
  .scroll-cue { animation: none; }
}
