/* ============================================================
   Zephyr Venturecraft — Dr Joe Healey
   Design system. Cream / forest / copper. Playfair + Inter.
   ============================================================ */

:root {
  /* Palette */
  --cream:        #f8f3ea;
  --cream-2:      #f1e9da;
  --cream-3:      #eae0cd;
  --forest-900:   #0a1a12;
  --forest-800:   #0e2218;
  --forest-700:   #173829;
  --forest-600:   #245038;
  --forest-500:   #356b4c;
  --forest-300:   #8fb7a1;
  --forest-100:   #d6e7dd;
  --forest-50:    #eaf5ed;
  --copper:       #a0622a;
  --copper-light: #c07c3e;
  --copper-soft:  #e7c9a8;
  --ink:          #1c2620;
  --ink-soft:     #44514a;
  --line:         rgba(14, 34, 24, 0.12);
  --line-soft:    rgba(14, 34, 24, 0.07);

  /* Type */
  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 92px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--copper);
  opacity: 0.7;
}
.serif-em { font-style: italic; }
.copper { color: var(--copper); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 150px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft), height 0.4s var(--ease-soft);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 15px; }
.brand__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; justify-content: center; gap: 5px; line-height: 1.12; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; opacity: 0.62; font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav__link {
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.01em;
  position: relative; padding: 6px 0; opacity: 0.85;
  transition: opacity 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--copper); transition: width 0.4s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.84rem; font-weight: 600;
  padding: 9px 20px; border-radius: 999px;
  border: 1.4px solid currentColor;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); }

/* Nav theme states. Default = on cream/light hero (dark text). */
.nav { color: var(--forest-800); }
.nav__cta:hover { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); }

/* Scrolled / solid dark */
.nav.is-solid {
  background: rgba(10, 26, 18, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  height: 74px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 12px 40px -16px rgba(0,0,0,0.5);
  color: var(--cream);
}
.nav.is-solid .brand__sub { opacity: 0.55; }
.nav.is-solid .nav__cta { border-color: var(--copper-light); color: var(--cream); }
.nav.is-solid .nav__cta:hover { background: var(--copper); border-color: var(--copper); }

/* about.html always-dark variant */
.nav--dark { background: var(--forest-900); color: var(--cream); }
.nav--dark .nav__cta { border-color: var(--copper-light); }
.nav--dark .nav__cta:hover { background: var(--copper); border-color: var(--copper); color: var(--cream); }

/* Mobile nav toggle */
.nav__toggle { display: none; background: none; border: 0; width: 30px; height: 24px; position: relative; }
.nav__toggle span { position: absolute; left: 0; height: 2px; width: 100%; background: currentColor; transition: transform .35s var(--ease), opacity .25s; }
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 11px; }
.nav__toggle span:nth-child(3) { top: 20px; }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--forest-800); color: var(--cream); box-shadow: 0 14px 30px -14px rgba(14,34,24,0.6); }
.btn--primary:hover { background: var(--forest-700); transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(14,34,24,0.7); }
.btn--copper { background: var(--copper); color: #fff; box-shadow: 0 14px 30px -14px rgba(160,98,42,0.7); }
.btn--copper:hover { background: var(--copper-light); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--forest-700); background: var(--forest-50); transform: translateY(-2px); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: transform, opacity; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.09s; }
[data-reveal][data-delay="2"] { transition-delay: 0.18s; }
[data-reveal][data-delay="3"] { transition-delay: 0.27s; }
[data-reveal][data-delay="4"] { transition-delay: 0.36s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: linear-gradient(170deg, #fbf7ef 0%, var(--cream) 42%, var(--cream-2) 100%);
  overflow: hidden;
  padding-top: var(--nav-h);
  padding-bottom: clamp(80px, 12vh, 130px);
  /* elliptical bottom transition */
  clip-path: ellipse(150% 100% at 50% 0%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__texture {
  position: absolute; inset: 0; z-index: 2; opacity: 0.045; pointer-events: none;
  background-repeat: repeat; background-size: 520px;
  mix-blend-mode: multiply;
}
.hero__glow {
  position: absolute; z-index: 1; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  right: -10vw; top: -8vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(53,107,76,0.10), transparent 65%);
  filter: blur(8px);
}
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.hero h1 { max-width: 14ch; }
.hero h1 .em { font-style: italic; color: var(--forest-700); position: relative; }
.hero__sub { max-width: 52ch; margin-top: 28px; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats {
  margin-top: clamp(48px, 7vw, 84px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 40px);
  max-width: 720px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.stat__num { font-family: var(--serif); font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1; color: var(--forest-800); }
.stat__num .suffix { color: var(--copper); }
.stat__label { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; letter-spacing: 0.02em; max-width: 22ch; }

.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 26px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft);
  opacity: 0.7;
}
/* don't let the cue crowd the stats on shorter screens */
@media (max-height: 820px) { .scroll-cue { display: none; } }
.scroll-cue__line { width: 1px; height: 40px; background: linear-gradient(var(--forest-700), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; top: -40%; left: 0; width: 100%; height: 40%; background: var(--copper); animation: cueDrop 2.1s var(--ease-soft) infinite; }
@keyframes cueDrop { 0% { top: -40%; } 60%,100% { top: 100%; } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head h2 { margin-top: 18px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--cream); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
.svc-card {
  background: #fffdf8; border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  transform-style: preserve-3d;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(14,34,24,0.35); border-color: var(--line); }
.svc-card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--forest-100); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); filter: saturate(0.92); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,34,24,0.32), transparent 55%); }
.svc-card__num { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--serif); font-style: italic; color: var(--cream); font-size: 1.1rem; opacity: 0.9; }
.svc-card__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.svc-card__body h3 { margin-bottom: 12px; }
.svc-card__body p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 18px; }
.svc-card__list { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.svc-card__list li { font-size: 0.84rem; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; }
.svc-card__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--copper); flex: 0 0 auto; }

/* ============================================================
   IMAGE BAND (parallax)
   ============================================================ */
.band { position: relative; height: clamp(280px, 42vw, 440px); overflow: hidden; display: grid; place-items: center; }
.band__media { position: absolute; inset: -12% 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,26,18,0.62), rgba(10,26,18,0.32)); }
.band__caption { position: relative; z-index: 2; text-align: center; color: var(--cream); max-width: 720px; padding-inline: var(--gutter); }
.band__caption .eyebrow { color: var(--copper-soft); justify-content: center; }
.band__caption .eyebrow::before { background: var(--copper-soft); }
.band__caption p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; margin: 0; }

/* ============================================================
   ABOUT (split)
   ============================================================ */
.about { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.about__copy h2 { margin: 16px 0 22px; }
.about__copy p { color: var(--ink-soft); }
.about__sig { margin-top: 26px; }
.about__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--forest-700); border-bottom: 1.5px solid var(--copper); padding-bottom: 3px; transition: gap 0.35s var(--ease); }
.about__link:hover { gap: 14px; }

.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cred {
  background: #fffdf8; border: 1px solid var(--line-soft); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.cred:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -28px rgba(14,34,24,0.35); }
.cred__img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: var(--forest-100); }
.cred__img img { width: 100%; height: 100%; object-fit: cover; }
.cred__k { font-family: var(--serif); font-size: 1.05rem; color: var(--forest-800); }
.cred__v { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }
.cred:nth-child(odd) { transform: translateY(14px); }
.cred:nth-child(odd):hover { transform: translateY(10px); }
@media (max-width: 560px) { .cred:nth-child(odd) { transform: none; } }

/* ============================================================
   WORKING TOGETHER
   ============================================================ */
/* Continuous DNA strand — one canvas per section, each layered behind
   that section's own content (robust per-section stacking) */
.strand-seg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
section[data-theme] { position: relative; }
section[data-theme] > .wrap { position: relative; z-index: 1; }

.work { background: var(--forest-900); color: var(--cream); position: relative; overflow: hidden; }
.helix-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.work .wrap { position: relative; z-index: 1; }
.work .eyebrow { color: var(--copper-soft); }
.work .sec-head h2 { color: var(--cream); }
.work .lead { color: rgba(248,243,234,0.72); }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; overflow: hidden; }
.work-cell { background: var(--forest-900); padding: 30px 26px 34px; position: relative; transition: background 0.5s var(--ease); min-height: 230px; display: flex; flex-direction: column; }
.work-cell:hover { background: var(--forest-800); }
.work-cell__no { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--copper-light); margin-bottom: auto; }
.work-cell h3 { color: var(--cream); margin: 0 0 10px; }
.work-cell p { font-size: 0.88rem; color: rgba(248,243,234,0.66); margin: 0; }
.work-cell__bar { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--copper); transition: width 0.6s var(--ease); }
.work-cell:hover .work-cell__bar { width: 100%; }
.work__note { margin-top: 36px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--copper-soft); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); text-align: center; }
.contact__card {
  max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px);
  background: #fffdf8; border: 1px solid var(--line-soft); border-radius: 26px;
  box-shadow: 0 40px 80px -50px rgba(14,34,24,0.5); position: relative; overflow: hidden;
}
.contact__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% -10%, var(--forest-50), transparent 60%); pointer-events: none; }
.contact__card h2 { margin: 18px 0 14px; position: relative; }
.contact__card .lead { max-width: 46ch; margin-inline: auto; position: relative; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; position: relative; }
.contact__email { display: block; margin-top: 24px; font-size: 0.86rem; color: var(--ink-soft); position: relative; }
.contact__email a { color: var(--forest-700); border-bottom: 1px solid var(--copper); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--forest-900); color: rgba(248,243,234,0.7); padding: 56px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: center; }
.footer .brand__name, .footer .brand__sub { color: var(--cream); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 0.86rem; opacity: 0.8; transition: opacity 0.3s, color 0.3s; }
.footer__links a:hover { opacity: 1; color: var(--copper-light); }
.footer__base { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; opacity: 0.6; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,0.6);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  opacity: 0; transform: translateY(20px) scale(0.8);
}
.wa.in { opacity: 1; transform: none; }
.wa:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 40px -10px rgba(37,211,102,0.75); }
.wa svg { width: 30px; height: 30px; }
.wa__pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,0.5); animation: waPulse 2.6s infinite; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero { position: relative; padding: calc(var(--nav-h) + 60px) 0 70px; background: linear-gradient(165deg, #fbf7ef, var(--cream-2)); overflow: hidden; }
.page-hero__texture { position: absolute; inset: 0; opacity: 0.05; background-size: 480px; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { margin-top: 16px; max-width: 16ch; }
.page-hero .lead { max-width: 56ch; margin-top: 22px; }

.bio { background: var(--cream); }

/* Landscape portrait feature — uses the photo's left negative space for an overlaid caption */
.portrait-feature {
  position: relative; margin: 0 0 clamp(40px, 6vw, 66px);
  border-radius: 22px; overflow: hidden; background: var(--forest-100);
  border: 1px solid var(--line-soft); box-shadow: 0 44px 84px -46px rgba(14,34,24,0.55);
}
.portrait-feature__media { aspect-ratio: 16 / 9; }
.portrait-feature__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 26%;
  filter: grayscale(1) contrast(1.03);
  transition: filter 0.8s var(--ease), transform 1s var(--ease);
}
.portrait-feature:hover .portrait-feature__media img { filter: grayscale(0) contrast(1); transform: scale(1.025); }
.portrait-feature__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248,243,234,0.94) 0%, rgba(248,243,234,0.58) 24%, rgba(248,243,234,0) 50%),
    linear-gradient(0deg, rgba(14,34,24,0.12), transparent 28%);
}
.portrait-feature__cap {
  position: absolute; left: clamp(22px, 4vw, 48px); bottom: clamp(22px, 4vw, 42px); z-index: 2;
  display: flex; flex-direction: column; gap: 18px; max-width: 60%;
}
.portrait-feature__cap .name { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1; color: var(--forest-900); }
.portrait-feature__cap .role { font-size: 0.9rem; color: var(--ink-soft); margin-top: 9px; letter-spacing: 0.02em; }
.portrait__social { display: flex; gap: 10px; }
.portrait__social a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255,253,248,0.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--forest-700); transition: background 0.35s, color 0.35s, transform 0.35s, border-color 0.35s;
}
.portrait__social a:hover { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); transform: translateY(-2px); }

/* Bio body + sticky aside */
.bio__layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(34px, 5vw, 72px); align-items: start; }
.bio__body p { color: var(--ink-soft); font-size: 1.04rem; }
.bio__body p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: 0.8; padding: 6px 12px 0 0; color: var(--copper); }
.bio__aside {
  position: sticky; top: 100px; display: grid; gap: 28px; padding: 28px;
  background: #fffdf8; border: 1px solid var(--line-soft); border-radius: 18px;
  box-shadow: 0 28px 56px -40px rgba(14,34,24,0.42);
}
.bio__block h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.bio__block ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bio__block li { font-size: 0.9rem; }
.bio__block li strong { display: block; color: var(--forest-800); font-weight: 600; font-family: var(--serif); font-size: 1rem; }
.bio__block li span { color: var(--ink-soft); font-size: 0.84rem; }

/* Timeline */
.timeline-sec { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 30px; }
/* twin faint backbones evoke a DNA strand */
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line-soft); }
.timeline__progress { position: absolute; left: 5px; top: 6px; width: 8px; height: 0; background: linear-gradient(var(--copper), var(--forest-600)); border-radius: 4px; opacity: 0.85; transition: height 0.1s linear; }
.tl-item { position: relative; padding: 0 0 38px 30px; }
.tl-item:last-child { padding-bottom: 0; }
/* dots render as little atoms (nucleus + ring) */
.tl-item__dot { position: absolute; left: -3px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 2px solid var(--forest-300); transition: border-color 0.5s var(--ease), background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.tl-item.in .tl-item__dot { border-color: var(--copper); background: radial-gradient(circle, var(--copper) 38%, rgba(160,98,42,0.22) 42%); box-shadow: 0 0 0 4px rgba(160,98,42,0.12); transform: scale(1.14); }
.tl-item__year { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 0.95rem; }
.tl-item h3 { font-size: 1.2rem; margin: 4px 0 6px; color: var(--forest-800); }
.tl-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* Philosophy */
.philo { background: var(--forest-900); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.philo .wrap { position: relative; z-index: 1; }
.philo blockquote { max-width: 760px; margin: 0 auto; font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.32; position: relative; }
.philo blockquote .copper { color: var(--copper-light); font-style: italic; }
.philo__attr { margin-top: 28px; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(248,243,234,0.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .svc-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .bio__layout { grid-template-columns: 1fr; }
  .bio__aside { position: relative; top: 0; }
  .portrait-feature__media { aspect-ratio: 3 / 2; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: var(--forest-900); color: var(--cream);
    padding: calc(var(--nav-h) + 20px) var(--gutter) 36px;
    transform: translateY(-110%); transition: transform 0.5s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  }
  body.menu-open .nav__links { transform: translateY(0); }
  .nav__links .nav__link { font-size: 1.4rem; font-family: var(--serif); color: var(--cream); padding: 12px 0; }
  .nav__links .nav__cta { margin-top: 14px; border-color: var(--copper-light); color: var(--cream); }
  .nav__toggle { display: block; z-index: 101; }
  .hero__stats { grid-template-columns: 1fr; gap: 22px; }
  .work-grid { grid-template-columns: 1fr; }
  /* On phones the photo fills more of the frame, so caption moves to a bottom scrim */
  .portrait-feature__media { aspect-ratio: 4 / 3; }
  .portrait-feature__media img { object-position: 72% 24%; }
  .portrait-feature__scrim {
    background: linear-gradient(0deg, rgba(10,26,18,0.82), rgba(10,26,18,0.14) 46%, transparent 72%);
  }
  .portrait-feature__cap { left: 22px; right: 22px; bottom: 20px; max-width: none; }
  .portrait-feature__cap .name { color: var(--cream); }
  .portrait-feature__cap .role { color: rgba(248,243,234,0.82); }
  .portrait__social a { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.32); color: var(--cream); }
}

/* ============================================================
   WORK / PORTFOLIO PAGE
   ============================================================ */
.spotlight { background: var(--cream); }

.spot { position: relative; display: flex; align-items: stretch; gap: 14px; }
.spot-card {
  flex: 1; display: grid; grid-template-columns: 1.3fr 0.85fr;
  background: var(--forest-900); color: var(--cream);
  border-radius: 22px; overflow: hidden; min-height: 320px;
  box-shadow: 0 40px 80px -46px rgba(14,34,24,0.6);
  transition: opacity 0.3s var(--ease);
}
.spot-card__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.spot-tagrow { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.spot-tag {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--copper-soft); border: 1px solid rgba(231,201,168,0.4); border-radius: 999px; padding: 5px 12px;
}
.spot-tag--type { color: rgba(248,243,234,0.7); border-color: rgba(248,243,234,0.22); }
.spot-card h3 { color: var(--cream); font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0 0 14px; max-width: 18ch; }
.spot-outcome { color: rgba(248,243,234,0.78); font-size: 1.05rem; line-height: 1.5; margin: 0; max-width: 42ch; }
.spot-cta { margin-top: auto; align-self: flex-start; }
.spot-card .spot-cta { margin-top: 30px; }
.spot-card__aside {
  background: linear-gradient(160deg, var(--forest-800), var(--forest-700));
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 18px;
  position: relative;
}
.spot-metric { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 0.95; color: var(--copper-light); }
.spot-metric span { display: block; margin-top: 10px; font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,243,234,0.62); }
.spot-metric--type { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--copper-soft); }
.spot-meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.84rem; color: rgba(248,243,234,0.6); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }

.spot-arrow {
  flex: 0 0 auto; align-self: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fffdf8; color: var(--forest-800);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
  transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
}
.spot-arrow:hover { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); transform: translateY(-2px); }
.spot-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.spot-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--forest-100); cursor: pointer; transition: background 0.3s, transform 0.3s; }
.spot-dot:hover { background: var(--forest-300); }
.spot-dot.is-active { background: var(--copper); transform: scale(1.25); }

/* List + filters */
.wk { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.wk-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.wk-chip {
  font-size: 0.84rem; font-weight: 500; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.wk-chip:hover { border-color: var(--forest-700); transform: translateY(-1px); }
.wk-chip.is-active { background: var(--forest-800); color: var(--cream); border-color: var(--forest-800); }

.wk-list { border-top: 1px solid var(--line); }
.wk-row { border-bottom: 1px solid var(--line); }
.wk-row__head {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 92px 1fr auto; gap: clamp(14px, 3vw, 34px); align-items: center;
  padding: 26px 6px; color: inherit;
}
.wk-row__head:hover .wk-row__title { color: var(--copper); }
.wk-row__year { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 0.98rem; }
.wk-row__main { display: flex; flex-direction: column; gap: 8px; }
.wk-row__title { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); color: var(--forest-800); transition: color 0.3s; }
.wk-row__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wk-row__tag { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); background: var(--forest-50); border-radius: 999px; padding: 4px 10px; }
.wk-row__tag--type { color: var(--copper); background: rgba(160,98,42,0.08); }
.wk-row__outcome { font-size: 0.95rem; color: var(--ink-soft); max-width: 60ch; }
.wk-row__chev { color: var(--forest-500); font-size: 1rem; transition: transform 0.45s var(--ease); justify-self: end; }
.wk-row.is-open .wk-row__chev { transform: rotate(180deg); color: var(--copper); }

.wk-row__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.wk-row.is-open .wk-row__panel { grid-template-rows: 1fr; }
.wk-row__panel-inner { overflow: hidden; }
.wk-case { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); padding: 6px 6px 34px 184px; }
.wk-case__block h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin: 0 0 10px; }
.wk-case__block p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.wk-empty { padding: 0 6px 30px 184px; color: var(--ink-soft); font-style: italic; }
.wk-none { color: var(--ink-soft); padding: 28px 6px; }

@media (max-width: 820px) {
  .spot-card { grid-template-columns: 1fr; }
  .spot-card__aside { flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .spot-meta { border-top: 0; padding-top: 0; text-align: right; }
  .spot-arrow { position: absolute; top: -64px; }
  .spot-arrow--prev { right: 58px; } .spot-arrow--next { right: 0; }
  .wk-case { grid-template-columns: 1fr; padding-left: 6px; gap: 18px; }
  .wk-empty { padding-left: 6px; }
  .wk-row__head { grid-template-columns: 64px 1fr auto; }
}
@media (max-width: 480px) {
  .spot-card__aside { flex-direction: column; align-items: flex-start; gap: 12px; }
  .spot-meta { text-align: left; }
}
