/* ==========================================================================
   Sevenue Holdings — Design System v2
   Brand: Ink #242424 · Gold #C69342 · Paper #EFEFEF  (per brand guideline)
   Display/Body: General Sans + Inter — standing in for Degular (licensed
   font; swap the @import + var(--font-display) once webfont files are supplied)
   ========================================================================== */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink: #242424;
  --ink-soft: #333230;
  --ink-2: #1B1B1A;
  --paper: #EFEFEF;
  --paper-warm: #F4F3F0;
  --white: #FFFFFF;
  --gold: #C69342;
  --gold-light: #E3C083;
  --gold-pale: #F1DFB9;
  --gold-deep: #93692A;
  --slate: #6F6C66;
  --slate-on-dark: #ABA79E;
  --line: #DEDCD6;
  --line-dark: rgba(239,239,239,0.14);

  --font-display: 'General Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1200px;
  --gutter: clamp(24px, 5vw, 64px);
  --section-pad: clamp(96px, 13vw, 176px);

  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.22,.9,.36,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}

/* Large displays / TV — widen the canvas instead of stretching line-length */
@media (min-width: 1600px){
  :root{ --container: 1400px; }
}
@media (min-width: 2200px){
  :root{ --container: 1600px; }
  body{ font-size: 18px; }
}

/* ---------- Section backgrounds — flat, hard-edged (no cross-section blending) ---------- */
.mesh{ position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; }
.mesh span{ position:absolute; border-radius: 50%; filter: blur(64px); opacity: .4; }
.mesh--dark{ background: var(--ink); border-top: 1px solid var(--line-dark); }
.mesh--dark span:nth-child(1){ width:46vw; height:46vw; left:-12vw; top:-16vw; background: radial-gradient(circle, var(--gold-deep), transparent 72%); opacity:.28; }
.mesh--dark span:nth-child(2){ width:34vw; height:34vw; right:-8vw; bottom:-10vw; background: radial-gradient(circle, var(--gold), transparent 72%); opacity:.16; }
.mesh--dark span:nth-child(3){ display:none; }

.mesh--light{ background: var(--paper); border-top: 1px solid var(--line); }
.mesh--light span:nth-child(1){ width:34vw; height:34vw; left:-8vw; top:-10vw; background: radial-gradient(circle, var(--gold-pale), transparent 72%); opacity:.5; }
.mesh--light span:nth-child(2){ width:28vw; height:28vw; right:-6vw; bottom:-8vw; background: radial-gradient(circle, var(--gold-light), transparent 72%); opacity:.3; }

/* First section on a page (right under a transparent-over-hero header) shouldn't show a seam */
.hero .mesh, .page-hero .mesh{ border-top: 0; }

/* ---------- Type ---------- */
.eyebrow{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); display:flex; align-items:center; gap:10px; margin: 0 0 18px; position:relative; z-index:2;
}
.eyebrow::before{ content:""; width: 22px; height:1px; background: var(--gold-deep); display:inline-block; }
.on-dark .eyebrow, .section--dark .eyebrow{ color: var(--gold-light); }
.on-dark .eyebrow::before, .section--dark .eyebrow::before{ background: var(--gold-light); }

h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.005em; margin: 0; }
.h1{ font-size: clamp(38px, 5.6vw, 76px); font-weight: 500; letter-spacing: -0.01em; position:relative; z-index:2; }
.h2{ font-size: clamp(28px, 3.6vw, 46px); font-weight: 500; position:relative; z-index:2; }
.h3{ font-size: clamp(21px, 2.3vw, 27px); font-weight: 500; }
.lede{ font-size: clamp(17px, 1.6vw, 21px); color: var(--slate); line-height: 1.6; max-width: 640px; position:relative; z-index:2; }
.on-dark .lede, .section--dark .lede{ color: var(--slate-on-dark); }
p{ margin: 0 0 1em; }
.quote{ font-family: var(--font-display); font-weight:500; font-size: clamp(22px,2.6vw,32px); line-height:1.35; letter-spacing:-0.01em; max-width: 24ch; position:relative; z-index:2; }
.quote .mark{ color: var(--gold); }

/* ---------- Layout helpers ---------- */
.section{ padding: var(--section-pad) 0; position:relative; overflow:hidden; }
.section--dark{ color: var(--white); }
.section-head{ max-width: 760px; margin-bottom: clamp(40px,6vw,72px); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.divider{ height:1px; background: var(--line); border:0; margin:0; position:relative; z-index:2; }
.section--dark .divider{ background: var(--line-dark); }

.grid{ display:grid; gap: clamp(20px, 3vw, 40px); position:relative; z-index:2; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
/* Tablet / iPad — two-up instead of collapsing straight to one column */
@media (max-width: 1024px) and (min-width: 641px){
  .grid-3,.grid-4{ grid-template-columns: repeat(2,1fr); }
}
/* Mobile */
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px; padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor:pointer;
  transition: transform .5s var(--ease), background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .5s var(--ease);
  white-space: nowrap; position:relative; z-index:2;
}
.btn:hover{ transform: translateY(-2px); }
.btn-gold{ background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-deep)); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(198,147,66,0.55); }
.btn-gold:hover{ box-shadow: 0 16px 36px -12px rgba(198,147,66,0.7); }
.btn-line{ border-color: currentColor; color: var(--ink); background:transparent; }
.on-dark .btn-line{ color: var(--white); }
.btn-line:hover{ background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-dark .btn-line:hover{ background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-arrow{ transition: transform .35s var(--ease); }
.btn:hover .btn-arrow{ transform: translateX(4px); }

.link-arrow{
  display:inline-flex; align-items:center; gap:8px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing:.08em; text-transform:uppercase;
  color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 4px;
  transition: border-color .3s ease, gap .3s ease, color .3s ease; position:relative; z-index:2;
}
.link-arrow:hover{ border-color: var(--gold); gap:12px; color: var(--gold-deep); }
.on-dark .link-arrow{ color: var(--white); border-color: var(--line-dark); }
.on-dark .link-arrow:hover{ border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 200; padding: 22px 0;
  transition: background-color .5s var(--ease), backdrop-filter .5s ease, padding .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; }
.site-header.is-scrolled{
  background: rgba(239,239,239,0.82); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  padding: 14px 0; border-color: var(--line);
}
.brand{ display:flex; align-items:center; gap:11px; line-height:1; }
.brand .mark{ position:relative; width:22px; height:26px; flex-shrink:0; }
.brand .mark img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; display:block; transition: opacity .5s ease; }
.brand .mark img.on-light{ opacity:0; }
.brand .mark img.on-dark{ opacity:1; }
.brand .logo-word{ position:relative; width:150px; height:17px; }
.brand .logo-word img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:left center; display:block; transition: opacity .5s ease; }
.brand .logo-word img.on-light{ opacity:0; }
.brand .logo-word img.on-dark{ opacity:1; }
.site-header.is-scrolled .mark img.on-light,
.site-header.is-scrolled .logo-word img.on-light{ opacity:1; }
.site-header.is-scrolled .mark img.on-dark,
.site-header.is-scrolled .logo-word img.on-dark{ opacity:0; }

.nav-desktop{ display:flex; align-items:center; gap: clamp(16px,2.2vw,30px); }
.nav-desktop a{ font-size: 13.5px; font-weight:500; letter-spacing:.01em; color: var(--white); position:relative; padding: 4px 0; transition: color .5s ease; }
.nav-desktop a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background: var(--gold); transition: width .35s var(--ease); }
.nav-desktop a:hover::after, .nav-desktop a.active::after{ width:100%; }
.nav-desktop a.active{ color: var(--gold-light); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-cta .btn{ padding: 11px 22px; font-size:13px; }
.nav-cta .btn-line{ color: var(--white); border-color: var(--white); }
.nav-cta .btn-line:hover{ background: var(--white); color: var(--ink); }

.nav-toggle{ display:none; width:40px; height:40px; align-items:center; justify-content:center; background:none; border:0; cursor:pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{ content:""; display:block; width:20px; height:1.5px; background: var(--white); position:relative; transition: all .3s ease; }
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

.site-header.is-scrolled .nav-desktop a{ color: var(--ink); }
.site-header.is-scrolled .nav-desktop a.active{ color: var(--gold-deep); }
.site-header.is-scrolled .nav-cta .btn-line{ color: var(--ink); border-color: var(--ink); }
.site-header.is-scrolled .nav-cta .btn-line:hover{ background: var(--ink); color: var(--white); }
.site-header.is-scrolled .nav-toggle span, .site-header.is-scrolled .nav-toggle span::before, .site-header.is-scrolled .nav-toggle span::after{ background: var(--ink); }

@media (max-width: 880px){ .nav-desktop{ display:none; } .nav-toggle{ display:flex; } .nav-cta .btn-line{ display:none; } }

.mobile-nav{
  position: fixed; inset:0; z-index:199; color:var(--white);
  display:flex; flex-direction:column; justify-content:center; padding: 32px var(--gutter);
  overflow-y:auto;
  transform: translateY(-100%); visibility:hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.mobile-nav.is-open{ transform: translateY(0); visibility:visible; transition: transform .6s var(--ease), visibility 0s linear 0s; }
.mobile-nav a{ font-family: var(--font-display); font-size: 32px; font-weight:600; padding: 13px 0; border-bottom:1px solid var(--line-dark); display:block; position:relative; z-index:2; }
.mobile-nav .mobile-meta{ margin-top:30px; font-family:var(--font-mono); font-size:13px; color:var(--slate-on-dark); position:relative; z-index:2; }

/* ---------- Marquee ---------- */
.marquee-wrap{ overflow:hidden; border-top:1px solid var(--line-dark); border-bottom:1px solid var(--line-dark); position:relative; z-index:2; }
.marquee{ display:flex; width:max-content; animation: marquee 28s linear infinite; }
.marquee-track{ display:flex; align-items:center; padding: 22px 0; }
.marquee-track span{ font-family: var(--font-display); font-size: clamp(18px,2.6vw,28px); font-weight:600; letter-spacing:0.01em; padding: 0 28px; white-space:nowrap; color: var(--white); }
.marquee-track span.dot{ color: var(--gold); font-size: 14px; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* ---------- Hero ---------- */
.hero{ min-height: 100svh; display:flex; align-items:flex-end; color: var(--white); position:relative; padding-top: 140px; padding-bottom: clamp(56px,8vw,96px); }
.hero-inner{ position:relative; z-index:3; width:100%; }
.hero-headline{ font-size: clamp(40px, 5.8vw, 84px); font-weight:500; letter-spacing:-0.01em; max-width: 17ch; }
.hero-headline em{ font-style:normal; color: var(--gold-light); }
.hero-sub{ max-width: 580px; margin-top:28px; font-size:clamp(16px,1.5vw,19px); color: var(--slate-on-dark); }
.hero-meta{ display:flex; gap:clamp(28px,5vw,64px); margin-top:56px; flex-wrap:wrap; }
.hero-meta .stat-value{ font-family:var(--font-display); font-size: 26px; font-weight:700; color:var(--white); }
.hero-meta .stat-label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--slate-on-dark); margin-top:4px; }
.hero-cta{ display:flex; gap:16px; margin-top:44px; flex-wrap:wrap; }
.hero .btn-line, .page-hero .btn-line{ color: var(--white); border-color: var(--white); }
.hero .btn-line:hover, .page-hero .btn-line:hover{ background: var(--white); color: var(--ink); }

.network-field{ position:absolute; inset:0; z-index:2; opacity:0.85; }
.network-field svg{ width:100%; height:100%; }
.hero-fade{ position:absolute; inset:0; z-index:2; background: linear-gradient(180deg, rgba(36,36,36,0) 0%, rgba(36,36,36,0.55) 100%); pointer-events:none; }

/* ---------- Cards ---------- */
.card{
  border: 1px solid var(--line); border-radius: 6px; padding: 32px;
  background: rgba(255,255,255,0.55); backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), border-color .4s ease, box-shadow .4s ease, background .4s ease;
  position:relative; z-index:2;
}
.card:hover{ transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 24px 48px -28px rgba(36,36,36,0.25); background: rgba(255,255,255,0.8); }
.section--dark .card{ background: rgba(255,255,255,0.04); border-color: var(--line-dark); color: var(--white); }
.section--dark .card:hover{ background: rgba(255,255,255,0.07); }
.card-num{ font-family: var(--font-mono); font-size:12px; color: var(--gold-deep); letter-spacing:.08em; }
.section--dark .card-num{ color: var(--gold-light); }
.card h3{ margin-top:14px; margin-bottom:10px; }
.card p{ color: var(--slate); font-size:15px; margin-bottom:0; }
.section--dark .card p{ color: var(--slate-on-dark); }

.teaser-card{ display:block; position:relative; border-top:1px solid var(--line); padding: 34px 0; transition: padding-left .4s var(--ease); z-index:2; }
.teaser-card:hover{ padding-left: 14px; }
.teaser-row{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.teaser-row .t-index{ font-family:var(--font-mono); font-size:13px; color:var(--gold-deep); min-width:44px; }
.teaser-row h3{ flex:1; font-size: clamp(19px,2.2vw,26px); }
.teaser-row .t-desc{ flex:1.2; color:var(--slate); font-size:14.5px; }
.teaser-row .t-arrow{ font-size:22px; color:var(--gold); transition: transform .4s var(--ease); }
.teaser-card:hover .t-arrow{ transform: translateX(8px); }
@media (max-width: 760px){ .teaser-row{ flex-wrap:wrap; } .teaser-row .t-desc{ order:3; flex-basis:100%; } }

/* ---------- Sector flow (homepage) — editorial word-index, not tiles ---------- */
.sector-flow{
  font-family: var(--font-display); font-weight:500;
  font-size: clamp(26px, 4.4vw, 54px); line-height:1.35;
  color: var(--slate-on-dark); max-width: 1000px;
  position:relative; z-index:2;
}
.sector-flow a{
  color: var(--white); position:relative; white-space:nowrap;
  transition: color .35s var(--ease);
}
.sector-flow a .sf-num{
  font-family: var(--font-mono); font-size: 0.32em; font-weight:400;
  color: var(--gold-deep); vertical-align: super; margin-right:2px;
  transition: color .35s var(--ease);
}
.sector-flow a:hover{ color: var(--gold-light); }
.sector-flow a:hover .sf-num{ color: var(--gold-light); }
.sector-flow .sep{ color: var(--gold-deep); margin: 0 clamp(10px,1.6vw,20px); font-weight:400; }
@media (max-width:640px){ .sector-flow .sep{ display:none; } .sector-flow a{ display:block; margin-bottom:6px; white-space:normal; } }

/* ---------- Sector grid ---------- */
.sector-card{ border:1px solid var(--line-dark); padding: 30px 26px; position:relative; z-index:2; transition: background .4s ease, transform .4s var(--ease); }
.sector-card:hover{ background: rgba(227,192,131,0.07); transform: translateY(-3px); }
.sector-card .card-num{ color: var(--gold-light); }
.sector-card h3{ color:var(--white); margin-top:16px; font-size:19px; }
.sector-card p{ color: var(--slate-on-dark); font-size:14px; margin-top:10px; }

/* ---------- Avatars (placeholder headshots — photos pending) ---------- */
.profiles{ display:grid; grid-template-columns:repeat(3,1fr); gap:48px; }
.profile{ border-top:1px solid rgba(198,147,66,.4); padding-top:24px; }
.profile .name{ font-family:var(--font-display); font-weight:500; font-size:24px; }
.profile .role{ font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase; color: var(--gold-light); margin-top:8px; }
.profile .bio{ font-size:15px; color: var(--slate-on-dark); margin-top:14px; line-height:1.6; }
.name-list{ margin-top:72px; padding-top:32px; border-top:1px solid rgba(255,255,255,.12); }
.name-list ul{ list-style:none; padding:0; margin:20px 0 0; display:grid; grid-template-columns:repeat(3,1fr); gap:18px 48px; }
.name-list li{ font-family:var(--font-display); font-weight:500; font-size:20px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.1); }
@media (max-width:1024px){ .profiles{ grid-template-columns:1fr 1fr; gap:36px; } .name-list ul{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .profiles{ grid-template-columns:1fr; gap:32px; } .name-list ul{ grid-template-columns:1fr; } .name-list{ margin-top:48px; } }

/* ---------- Principle / process rows ---------- */
.principle{ display:grid; grid-template-columns: 90px 1fr; gap:28px; padding: 40px 0; border-top:1px solid var(--line); position:relative; z-index:2; }
.section--dark .principle{ border-color: var(--line-dark); }
.principle .p-num{ font-family:var(--font-display); font-size:44px; font-weight:700; color: var(--line); }
.section--dark .principle .p-num{ color: var(--line-dark); }
.principle h3{ margin-bottom:12px; }
.principle p{ color: var(--slate); max-width: 60ch; margin-bottom:0; }
.section--dark .principle p{ color: var(--slate-on-dark); }
@media (max-width:600px){ .principle{ grid-template-columns: 1fr; gap:10px; } }

/* ---------- Footer ---------- */
.site-footer{ color: var(--white); padding: clamp(64px,8vw,100px) 0 28px; position:relative; overflow:hidden; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand{ display:flex; align-items:center; gap:10px; position:relative; z-index:2; }
.footer-brand .logo-word{ height:19px; }
.footer-brand .logo-word img{ height:100%; width:auto; display:block; }
.footer-desc{ color: var(--slate-on-dark); font-size:14px; margin-top:16px; max-width: 320px; position:relative; z-index:2; }
.footer-col h4{ font-family:var(--font-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color: var(--gold-light); margin-bottom:18px; font-weight:500; }
.footer-col a, .footer-col p{ display:block; color: var(--slate-on-dark); font-size:14.5px; margin-bottom:12px; transition: color .3s ease; }
.footer-col a:hover{ color: var(--white); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:24px; border-top:1px solid var(--line-dark); flex-wrap:wrap; gap:12px; position:relative; z-index:2; }
.footer-bottom p{ font-size:12.5px; color: var(--slate-on-dark); margin:0; }
.footer-bottom .credit a{ color: var(--slate-on-dark); }
.footer-bottom .credit a:hover{ color: var(--gold-light); }
.footer-bottom p a{ color: var(--slate-on-dark); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom p a:hover{ color: var(--gold-light); }
@media (max-width: 880px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float{
  position: fixed; right: 22px; bottom: 22px; z-index: 180; display:flex; align-items:center; gap:10px;
  background: var(--ink); color:var(--white); border-radius:999px; padding: 13px 20px 13px 16px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.5); border:1px solid var(--line-dark);
  transition: transform .4s var(--ease), background .3s ease;
}
.wa-float:hover{ transform: translateY(-3px); background:#2f2c26; }
.wa-float svg{ width:20px; height:20px; flex-shrink:0; color: var(--gold-light); }
.wa-float span{ font-size:13.5px; font-weight:600; font-family:var(--font-body); }
@media (max-width:560px){ .wa-float span{ display:none; } .wa-float{ padding:14px; } }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform: translateY(32px) scale(.99); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.reveal.is-visible{ opacity:1; transform: translateY(0) scale(1); }
.reveal-stagger > *{ opacity:0; transform: translateY(26px); transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft); }
.reveal-stagger.is-visible > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .02s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .09s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .23s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .30s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .37s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay: .44s; }
.reveal-stagger.is-visible > *:nth-child(8){ transition-delay: .51s; }
.reveal-stagger.is-visible > *:nth-child(9){ transition-delay: .58s; }
@media (prefers-reduced-motion: reduce){ .reveal, .reveal-stagger > *{ opacity:1 !important; transform:none !important; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{ color:var(--white); padding: 168px 0 84px; position:relative; overflow:hidden; }
.page-hero .h1{ max-width: 19ch; }
.page-hero .lede{ margin-top:22px; }
.crumb{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color: var(--slate-on-dark); margin-bottom:20px; position:relative; z-index:2; }
.crumb a{ color: var(--gold-light); }

/* ---------- Contact form ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--slate); }
.field input, .field select, .field textarea{ border:none; border-bottom:1px solid var(--line); background:transparent; padding: 12px 2px; font-family:var(--font-body); font-size:15.5px; color:var(--ink); transition: border-color .3s ease; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--gold); }
.field textarea{ resize:vertical; min-height:100px; }
.form-note{ font-size:13px; color:var(--slate); margin-top:22px; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }

.contact-card{ border:1px solid var(--line); padding:28px; position:relative; z-index:2; background: rgba(255,255,255,0.5); backdrop-filter: blur(6px); }
.contact-card h4{ font-family:var(--font-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-deep); margin-bottom:14px; }
.contact-card .big{ font-family:var(--font-display); font-size:19px; font-weight:600; }
.contact-card .muted{ color:var(--slate); font-size:14px; margin-top:6px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Preloader — icon mark fills white → gold, left to right ---------- */
.preloader{
  position: fixed; inset:0; z-index: 9999;
  background: var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-icon{ position:relative; width:64px; height:77px; }
.preloader-icon .pl-base,
.preloader-icon .pl-fill{
  position:absolute; inset:0;
  -webkit-mask-image:url(../img/icon.png); mask-image:url(../img/icon.png);
  -webkit-mask-size:contain; mask-size:contain;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
}
.preloader-icon .pl-base{ background: rgba(246,244,239,0.18); }
.preloader-icon .pl-fill{
  background: linear-gradient(90deg, var(--white) 0%, var(--gold-light) 45%, var(--gold) 75%, var(--gold-deep) 100%);
  clip-path: inset(0 100% 0 0);
  animation: plFill 1.3s cubic-bezier(.65,0,.35,1) .15s forwards;
}
@keyframes plFill{ to{ clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce){
  .preloader-icon .pl-fill{ animation: none; clip-path: inset(0 0 0 0); }
}
