/* ROOT */
:root {
  --deep:        #0c0a07;
  --surface:     #110f0a;
  --card:        #1c1916;
  --card-h:      #232019;
  --border:      rgba(196,163,90,0.13);
  --border-b:    rgba(196,163,90,0.32);
  --cream:       #f5f0e8;
  --linen:       #faf7f2;
  --gold:        #c4a35a;
  --gold-b:      #dab96a;
  --text:        #e8e2d8;
  --muted:       #8a8070;
  --dim:         #5a5248;
  --ink:         #1a1612;
  --ink-s:       #5a5045;
  --warm-bg:     #fdf4e7;
  --warm-amber:  #c68642;
  --warm-deep:   #3d2008;
  --warm-text:   #5a3a1a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* GRAIN */
body::after { display: none;
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.028; pointer-events: none; z-index: 8000;
}

/* PROGRESS */
#pg { position: fixed; top: 0; left: 0; height: 1px; width: 0%; background: var(--gold); z-index: 9999; transition: width .08s; }

/* CURSOR */
#cur { display: none; position: fixed; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .18s, height .18s; mix-blend-mode: difference; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 3rem;
  transition: background .5s, padding .3s;
}
nav.solid {
  background: rgba(12,10,7,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 3rem;
}
.nav-mark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 600; font-size: 1.5rem;
  color: var(--gold); text-decoration: none; letter-spacing: .04em;
}
.nav-right { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-right a {
  font-family: 'Space Mono', monospace;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-right a:hover { color: var(--gold); }
.nav-cta {
  font-family: 'Space Mono', monospace;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--deep) !important; background: var(--gold);
  padding: .55rem 1.1rem; text-decoration: none;
  border: 1px solid var(--gold); transition: background .2s;
}
.nav-cta:hover { background: var(--gold-b); border-color: var(--gold-b); }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1.15fr 1fr;
  align-items: center; gap: 5rem;
  padding: 7rem 4rem 5rem;
  position: relative; overflow: hidden; background: var(--deep);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(196,163,90,0.05) 0%, transparent 100%);
  pointer-events: none;
}
.hero-left { position: relative; z-index: 2; }
.h-pre {
  font-family: 'Space Mono', monospace;
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2.5rem; opacity: 0;
  animation: fadeIn 1s .4s forwards;
}
.h-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 700;
  font-size: clamp(4.5rem, 10vw, 9rem);
  line-height: .88; color: var(--cream); letter-spacing: -.015em;
  opacity: 0; animation: nameIn 1.4s .6s cubic-bezier(.16,1,.3,1) forwards;
}
.h-rule { width: 70px; height: 1px; background: var(--gold); margin: 2.2rem 0; opacity: 0; animation: fadeIn .6s 1.2s forwards; }
.h-hook {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.5; color: var(--cream); max-width: 500px;
  opacity: 0; animation: fadeIn .8s 1.4s forwards;
}
.h-location {
  font-family: 'Space Mono', monospace;
  font-size: .75rem; letter-spacing: .3em;
  color: rgba(196,163,90,.55); margin-top: 2.5rem;
  opacity: 0; animation: fadeIn .8s 1.7s forwards;
}

/* PORTRAIT */
.hero-right {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; animation: fadeIn 1s 1s forwards;
}
.portrait {
  position: relative; width: 100%; max-width: 420px;
  aspect-ratio: 3/4; border: 1px solid var(--border-b);
  overflow: hidden; background: var(--surface);
}
.portrait::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(15%); }
.portrait-empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--deep) 100%);
}
.portrait-empty-mark {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 700;
  font-size: 5rem; color: var(--dim); letter-spacing: .04em; line-height: 1;
}
.portrait-empty-rule { width: 40px; height: 1px; background: var(--dim); margin: 1.5rem 0; }
.portrait-empty-note { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dim); }
.portrait-name {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  font-family: 'Space Mono', monospace; font-size: .75rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--gold); opacity: .8;
}
.h-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeIn 1s 2.2s forwards;
}
.h-scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: lineBreath 2.5s ease-in-out infinite;
}

/* SECTIONS */
.s-dark   { background: var(--deep);    padding: 8rem 3rem; }
.s-alt    { background: var(--surface); padding: 8rem 3rem; }
.s-light  { background: var(--cream);   padding: 8rem 3rem; color: var(--ink); }
.s-linen  { background: var(--linen);   padding: 8rem 3rem; color: var(--ink); }
.inner        { max-width: 1100px; margin: 0 auto; }
.inner-narrow { max-width: 740px;  margin: 0 auto; }
.inner-mid    { max-width: 900px;  margin: 0 auto; }

.ch {
  font-family: 'Space Mono', monospace; font-size: .75rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 3rem; display: flex; align-items: center; gap: 1rem;
}
.ch::before { content:''; display:inline-block; width:28px; height:1px; background:var(--gold); }
.s-light .ch, .s-linen .ch { color: var(--warm-amber); }
.s-light .ch::before, .s-linen .ch::before { background: var(--warm-amber); }

.display {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem); font-weight: 600;
  line-height: 1.05; letter-spacing: -.01em;
}
.display-d { color: var(--cream); }
.display-l { color: var(--ink); }

/* BRIDGE */
.bridge {
  background: var(--surface); padding: 6rem 3rem;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.bridge p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 300;
  line-height: 1.55; color: var(--text);
}
.bridge p + p { margin-top: 1rem; }

/* STORY */
.story-open {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--ink-s);
  line-height: 1.6; margin-bottom: 2.5rem;
}
.story-open em { color: var(--dim); font-size: .75em; display: block; margin-top: .75rem; }
.story-p {
  font-size: .97rem; font-weight: 300; line-height: 2.05;
  color: var(--ink-s); margin-bottom: 1.5rem;
}
.story-p strong { color: var(--ink); font-weight: 500; }
.story-p em { font-style: italic; color: var(--ink); }
.story-close {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(1rem, 1.7vw, 1.25rem); line-height: 2;
  color: var(--ink-s); margin-top: 1.5rem;
}
.story-close strong { color: var(--ink); font-weight: 600; font-style: normal; }

/* GBS BLOCK */
.gbs {
  position: relative; background: var(--ink);
  padding: 3rem 3rem 2.5rem; margin: 3rem 0; overflow: hidden;
}
.gbs::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 2px; height: 100%; background: var(--gold);
}
.gbs p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 300;
  line-height: 2; color: #ddd6cc; margin-bottom: 1.1rem;
}
.gbs p:last-of-type { margin-bottom: 0; }
.gbs-close {
  display: block; font-family: 'Space Mono', monospace;
  font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(196,163,90,.2);
}

/* PULL QUOTE */
.pull {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 300;
  line-height: 1.8; color: var(--ink);
  border-left: 2px solid var(--warm-amber);
  padding-left: 1.5rem; margin: 2.5rem 0;
}

/* TRACK RECORD */
.tr-intro {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem;
}
.tr-intro .display { max-width: 600px; }
.tr-note {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: 1.1rem; color: var(--muted); max-width: 320px; text-align: right;
}
.build-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border); }
.build-col { padding: 3rem 2.5rem; border-right: 1px solid var(--border); position: relative; }
.build-col:last-child { border-right: none; }
.build-col::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--card-line, var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.build-col:hover::before { transform: scaleX(1); }
.build-num {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 3.5rem; color: var(--gold); opacity: .2; line-height: 1; margin-bottom: 1.5rem;
}
.build-title {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600;
  font-size: 1.45rem; color: var(--cream); margin-bottom: 1rem; line-height: 1.15;
}
.build-body { font-size: .95rem; font-weight: 300; line-height: 1.85; color: #a39a8a; }
.build-body + .build-body { margin-top: .8rem; }
.build-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; }
.btag {
  font-family: 'Space Mono', monospace; font-size: .75rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--border); padding: .18rem .5rem;
}

/* VENTURES */
.ventures-intro {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1px;
}
.ventures-note { font-size: .85rem; font-weight: 300; color: var(--muted); font-style: italic; max-width: 380px; text-align: right; }

.vgrid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--border);
}
.vcard {
  background: var(--card); padding: 2.8rem;
  display: flex; flex-direction: column; position: relative;
  overflow: hidden; text-decoration: none; color: inherit; transition: background .3s;
}
.vcard:hover { background: var(--card-h); }
.vcard-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--vc, var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.vcard:hover .vcard-top-line { transform: scaleX(1); }
.vcard-status {
  font-family: 'Space Mono', monospace; font-size: .75rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--vc, var(--gold)); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .5rem;
}
.vdot { width: 5px; height: 5px; border-radius: 50%; background: var(--vc, var(--gold)); }
.vcard-title {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600;
  font-size: 1.85rem; color: var(--cream); line-height: 1; margin-bottom: 1rem;
}
.vcard-body { font-size: 1rem; font-weight: 300; line-height: 1.85; color: #a39a8a; }
.vcard-body + .vcard-body { margin-top: .8rem; }
.vcard-personal {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1rem;
  font-weight: 300; line-height: 1.8; color: var(--text); opacity: .65; margin-top: .8rem;
}
.vcard-foot {
  margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.vcard-role { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--vc, var(--gold)); }
.vcard-arrow {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem;
  color: var(--vc, var(--gold)); text-decoration: none; transition: transform .2s;
}
.vcard:hover .vcard-arrow { transform: translateX(4px); }

/* NYAYA featured card */
.vcard-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--card) 0%, #1e1610 100%);
}
.vcard-featured .vcard-title { font-size: 2.8rem; }
.vcard-featured-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: .5rem;
}

/* PARENTS */
.parents {
  background: var(--warm-bg); padding: 8rem 3rem;
  position: relative; overflow: hidden; color: var(--warm-deep);
}
.parents::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--warm-amber), #e8a060, var(--warm-amber), transparent);
}
.parents::after {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(198,132,66,.08) 0%, transparent 70%);
  pointer-events: none;
}
.parents-inner { max-width: 780px; margin: 0 auto; position: relative; }
.parents-eyebrow { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--warm-amber); margin-bottom: 2.5rem; }
.parents-h { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: normal; color: var(--warm-deep); line-height: 1.2; margin-bottom: 2.5rem; }
.parents-p { font-size: .97rem; font-weight: 300; line-height: 2.1; color: var(--warm-text); margin-bottom: 1.4rem; font-family: 'DM Sans', sans-serif; }
.parents-p strong { color: var(--warm-deep); font-weight: 500; }
.parents-divider { width: 50px; height: 1.5px; background: var(--warm-amber); opacity: .6; margin: 2.5rem 0; }
.parents-tags { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.8rem; }
.ptag { font-family: 'DM Sans', sans-serif; font-size: .75rem; font-weight: 300; color: var(--warm-deep); border: 1.5px solid rgba(198,132,66,.45); padding: .28rem .85rem; border-radius: 20px; }
.parents-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.pbtn { font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 400; text-decoration: none; padding: .75rem 1.8rem; display: inline-block; transition: all .2s; letter-spacing: .03em; }
.pbtn-p { background: var(--warm-deep); color: var(--warm-bg); border: 1.5px solid var(--warm-deep); }
.pbtn-p:hover { background: transparent; color: var(--warm-deep); }
.pbtn-s { background: transparent; color: var(--warm-deep); border: 1.5px solid rgba(198,132,66,.55); }
.pbtn-s:hover { background: var(--warm-amber); color: var(--warm-bg); border-color: var(--warm-amber); }
.parents-note { font-size: .8rem; font-weight: 300; font-style: italic; color: #7a5a3a; margin-top: 2rem; font-family: 'DM Sans', sans-serif; }

/* WRITING */
.writing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; margin-top: 3rem; }
.wplat { border-top: 1px solid #d5cec5; padding-top: 1.5rem; }
.wplat-name { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--warm-amber); margin-bottom: 1rem; }
.wplat a { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.15rem; color: var(--ink); text-decoration: none; display: block; margin-bottom: .4rem; transition: color .2s; }
.wplat a:hover { color: var(--warm-amber); }
.wplat p { font-size: .82rem; font-weight: 300; color: var(--ink-s); line-height: 1.75; }

/* CONNECT */
.connect { background: var(--surface); padding: 8rem 3rem; }
.connect-h { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: clamp(2.2rem, 4.5vw, 4rem); color: var(--cream); line-height: 1.05; margin-bottom: .75rem; }
.connect-sub { font-size: .88rem; font-weight: 300; color: var(--muted); margin-bottom: 4rem; font-style: italic; }
.clines { border-top: 1px solid var(--border); }
.cline { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: padding-left .25s ease; }
.cline:hover { padding-left: .6rem; }
.cline-l { display: flex; flex-direction: column; gap: .25rem; }
.cline-type { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cline-name { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.35rem; color: var(--cream); }
.cline-handle { font-family: 'Space Mono', monospace; font-size: .8rem; letter-spacing: .04em; color: var(--muted); transition: color .2s; }
.cline:hover .cline-handle { color: var(--gold); }

/* FOOTER */
footer { background: var(--deep); border-top: 1px solid var(--border); padding: 2.5rem 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem; }
.f-mark { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--gold); }
.f-links { display: flex; gap: 1.5rem; list-style: none; }
.f-links a { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: var(--gold); }
.f-copy { width: 100%; font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .04em; color: var(--muted); line-height: 1.7; text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* REVEAL */
.js .r { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .r.on { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }

/* KEYFRAMES */
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes nameIn { from { opacity:0; letter-spacing:.06em; transform: translateY(16px); } to { opacity:1; letter-spacing:-.015em; transform: none; } }
@keyframes lineBreath { 0%,100%{opacity:.35;transform:scaleY(.85)} 50%{opacity:1;transform:scaleY(1)} }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.65)} }

/* RESPONSIVE */
@media (max-width: 980px) {
  nav { padding: 1rem 1.5rem; gap: 1rem; }
  .nav-right { gap: 1rem; }
  .nav-right li:not(:last-child) a { display: none; }
  .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 4rem; gap: 2rem; }
  .hero-right { order: -1; max-width: 280px; margin: 0 auto; }
  .s-dark, .s-alt, .s-light, .s-linen, .connect, .parents, .bridge { padding: 5rem 1.5rem; }
  .vgrid { grid-template-columns: 1fr; }
  .vcard-featured { grid-column: span 1; }
  .vcard-featured-body { grid-template-columns: 1fr; gap: 1rem; }
  .tr-intro { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .tr-note { text-align: left; max-width: 100%; }
  .ventures-intro { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ventures-note { text-align: left; max-width: 100%; }
  .build-grid { grid-template-columns: 1fr; }
  .build-col { border-right: none; border-bottom: 1px solid var(--border); }
  .build-col:last-child { border-bottom: none; }
  .writing-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cline { flex-direction: column; align-items: flex-start; gap: .4rem; }
  footer { flex-direction: column; align-items: flex-start; }
  body { cursor: auto; }
  #cur { display: none; }
}


/* Contrast fixes */
.s-light .ch, .s-linen .ch, .parents-eyebrow, .wplat-name { color: #8a5a26 !important; }
.s-light .ch::before, .s-linen .ch::before { background: #8a5a26 !important; }
.h-location { color: var(--gold) !important; }
.vcard-body + .vcard-body { margin-top: .9rem; }
.vcard > .vcard-body:last-of-type, .vcard-personal { margin-bottom: 1.8rem; }

.vcard-status, .vcard-role, .vcard-arrow { filter: brightness(1.25); }

/* Hero: current work line */
.h-now { margin-top: 1.4rem; font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 400; color: var(--text); opacity: 0; animation: fadeIn .8s 1.6s forwards; }
.h-now a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--border-b); }

/* For law firms */
.firms { background: var(--deep); padding: 8rem 3rem; border-top: 1px solid var(--border); }
.firms-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; margin-top: 3rem; align-items: start; }
.firms-lead { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.5; color: var(--cream); }
.firms-p { font-size: 1rem; font-weight: 300; line-height: 1.85; color: #a39a8a; margin-bottom: 1.3rem; }
.firms-p strong { color: var(--cream); font-weight: 400; }
.firms-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.fbtn { font-family: 'DM Sans', sans-serif; font-size: .95rem; font-weight: 400; text-decoration: none; padding: .8rem 1.8rem; border: 1px solid var(--gold); transition: background .2s, color .2s; }
.fbtn-p { background: var(--gold); color: var(--deep); }
.fbtn-p:hover { background: var(--gold-b); }
.fbtn-s { color: var(--gold); }
.fbtn-s:hover { background: var(--gold); color: var(--deep); }

/* Helm & Harbour palette */
.parents { background: #f3ede1; color: #16263a; }
.parents::before { background: linear-gradient(90deg, transparent, #9c7a3c, #c9a464, #9c7a3c, transparent); }
.parents::after { background: radial-gradient(circle, rgba(22,38,58,.06) 0%, transparent 70%); }
.parents .parents-eyebrow { color: #7a5c22 !important; }
.parents .parents-h { color: #16263a; }
.parents .parents-p { color: #2f3d4f; }
.parents .parents-p strong { color: #16263a; }
.parents .parents-divider { background: #9c7a3c; }
.parents .ptag { color: #16263a; border-color: rgba(156,122,60,.55); }
.parents .pbtn-p { background: #16263a; color: #f3ede1; border-color: #16263a; }
.parents .pbtn-p:hover { background: transparent; color: #16263a; }
.parents .pbtn-s { color: #16263a; border-color: rgba(156,122,60,.6); }
.parents .pbtn-s:hover { background: #16263a; color: #f3ede1; border-color: #16263a; }
.parents .parents-note { color: #4a5666; }
.parents-lead { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.6; color: #16263a; margin-bottom: 1rem; }
.parents-creds { border-top: 1px solid rgba(156,122,60,.45); border-bottom: 1px solid rgba(156,122,60,.45); padding: 1.4rem 0; margin: 2rem 0; }
.parents-creds p { font-size: .9rem; line-height: 1.7; color: #2f3d4f; margin: 0 0 .9rem; }
.parents-creds p:last-child { margin-bottom: 0; }
.parents-creds span { display: block; font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #7a5c22; margin-bottom: .2rem; }

/* Parents: disclaimer */
.parents-disclaimer { font-size: .9rem; font-weight: 400; line-height: 1.8; color: #16263a; border: 1px solid rgba(156,122,60,.55); padding: 1rem 1.2rem; margin: 2rem 0; }

@media (max-width: 980px) {
  .firms { padding: 5rem 1.5rem; }
  .firms-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .r { opacity: 1; transform: none; transition: none; }
  .h-pre, .h-name, .h-rule, .h-hook, .h-location, .h-now, .hero-right, .h-scroll { opacity: 1 !important; animation: none !important; }
  .h-scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Multi-page additions ---------- */
.nav-right a.active { color: var(--gold); }
.page-hero { background: var(--deep); padding: 11rem 3rem 5rem; border-bottom: 1px solid var(--border); }
.page-hero .display { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.page-lead { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.55; color: var(--text); max-width: 720px; margin-top: 1.8rem; }
.more-link { display: inline-block; margin-top: 1rem; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--border-b); font-size: .95rem; }
.parents .more-link { color: #16263a; border-color: rgba(156,122,60,.6); }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); margin-top: 3rem; }
.stage { background: var(--card); padding: 2rem 1.8rem; }
.stage-n { font-family: 'Space Mono', monospace; font-size: .75rem; letter-spacing: .12em; color: var(--gold); margin-bottom: 1rem; }
.stage-t { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: 1.4rem; color: var(--cream); margin-bottom: .6rem; }
.stage p { font-size: .95rem; line-height: 1.75; color: #a39a8a; }
.cred-block { padding: 3rem 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 260px 1fr; gap: 3rem; }
.cred-block:first-of-type { border-top: none; padding-top: 0; }
.cred-h { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; font-size: 1.6rem; color: var(--cream); line-height: 1.2; }
.cred-list { list-style: none; }
.cred-list li { padding: 0 0 1.4rem; font-size: 1rem; line-height: 1.75; color: #a39a8a; }
.cred-list li:last-child { padding-bottom: 0; }
.cred-list strong { display: block; color: var(--cream); font-weight: 400; font-size: 1.05rem; }
.cta-band { background: var(--surface); padding: 6rem 3rem; border-top: 1px solid var(--border); text-align: center; }
.cta-band .display { margin-bottom: 1rem; }
.cta-band p { color: #a39a8a; font-size: 1rem; margin-bottom: 2rem; }
.cta-band .firms-btns { justify-content: center; }
.contact-note { font-size: .9rem; line-height: 1.8; color: #a39a8a; border: 1px solid var(--border-b); padding: 1rem 1.2rem; margin-top: 3rem; }
@media (max-width: 980px) {
  .page-hero { padding: 8rem 1.5rem 3.5rem; }
  .stages { grid-template-columns: 1fr; }
  .cred-block { grid-template-columns: 1fr; gap: 1.2rem; }
  .cta-band { padding: 4.5rem 1.5rem; }
}

.f-links { flex-wrap: wrap; row-gap: .8rem; }
