/* =====================================================================
   MAYA CONSULTING USA — Design System
   Dark + Gold · Technical / Acoustic engineering
   Fonts: Space Grotesk (display) · Inter (body) · Space Mono (labels)
   ===================================================================== */

/* ----------------------------- Tokens ------------------------------ */
:root{
  /* Surfaces (warm near-black) */
  --bg:            #121110;
  --bg-2:          #171514;
  --surface:       #1C1917;
  --surface-2:     #23201D;
  --surface-3:     #2C2723;
  --surface-hover: #302A25;

  /* Brand gold (from MCS soundmark #F2B449) */
  --gold:          #F2B449;
  --gold-2:        #F6C978;   /* hover / bright */
  --gold-soft:     #E8C888;   /* large sand fills (hero welcome card) */
  --gold-ink:      #1A1508;   /* text on gold */

  /* Acoustic accent (from soundwave graphic) */
  --wave:          #8FB4D6;

  /* Text (warm neutrals) */
  --text:          #F4F1EC;
  --text-2:        #C9C3BA;
  --muted:         #9A928A;
  --dim:           #6E665E;

  /* Lines */
  --line:          rgba(255,255,255,.09);
  --line-2:        rgba(255,255,255,.15);
  --line-gold:     rgba(242,180,73,.35);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 8px 24px -12px rgba(0,0,0,.6);
  --shadow:    0 26px 60px -28px rgba(0,0,0,.75);
  --shadow-gold: 0 20px 50px -20px rgba(242,180,73,.35);

  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .5s;
}

/* ----------------------------- Reset ------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--text);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip; /* clip (not hidden) so position:sticky still works */
}
img,svg,video{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:4px; }
::selection{ background:var(--gold); color:var(--gold-ink); }

/* --------------------------- Typography ---------------------------- */
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.08;
  letter-spacing:-.02em;
  margin:0;
  color:var(--text);
}
h1{ font-size:clamp(2.5rem, 6vw, 4.6rem); }
h2{ font-size:clamp(2rem, 4.4vw, 3.3rem); }
h3{ font-size:clamp(1.3rem, 2.4vw, 1.7rem); }
p{ margin:0 0 1rem; color:var(--text-2); }
strong{ color:var(--text); font-weight:600; }
.lead{ font-size:clamp(1.05rem,1.6vw,1.28rem); color:var(--text-2); line-height:1.6; }

/* Gradient/emphasis helpers for headlines */
.tx-gold{ color:var(--gold); }
.tx-muted{ color:var(--muted); }
.tx-grad{
  background:linear-gradient(120deg,#fff 0%, var(--muted) 130%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* Eyebrow / index label */
.eyebrow{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--font-mono);
  font-size:.72rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--gold);
  margin:0 0 1.1rem;
}
.eyebrow::before{
  content:""; width:26px; height:1px; background:var(--gold); opacity:.6;
}
.eyebrow.no-line::before{ display:none; }

/* ----------------------------- Layout ------------------------------ */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:clamp(64px, 9vw, 130px); position:relative; }
.section-sm{ padding-block:clamp(48px,6vw,84px); }
.section-head{ max-width:760px; margin-bottom:clamp(36px,5vw,60px); }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head .lead{ margin-top:1rem; }
.divider{ height:1px; background:var(--line); border:0; margin:0; }
.grid{ display:grid; gap:24px; }

/* -------------------------- Buttons -------------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:.85rem;
  font-family:var(--font-body); font-weight:600; font-size:.98rem;
  padding:.95rem 1.1rem .95rem 1.5rem;
  border-radius:var(--r-pill);
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;
}
.btn .btn-ico{
  display:grid; place-items:center; width:30px; height:30px;
  border-radius:50%; flex:0 0 auto; transition:transform .3s var(--ease);
}
.btn svg{ width:15px; height:15px; }
.btn:hover{ transform:translateY(-2px); }
.btn:hover .btn-ico{ transform:rotate(45deg); }

.btn-gold{ background:var(--gold); color:var(--gold-ink); }
.btn-gold .btn-ico{ background:var(--gold-ink); color:var(--gold); }
.btn-gold:hover{ background:var(--gold-2); }

.btn-ghost{ background:transparent; color:var(--text); border:1px solid var(--line-2); }
.btn-ghost .btn-ico{ background:var(--surface-3); color:var(--text); }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold); }

.btn-light{ background:#F4F1EC; color:#17140F; }
.btn-light .btn-ico{ background:#17140F; color:#F4F1EC; }

.btn-text{ display:inline-flex; align-items:center; gap:.5rem; color:var(--gold); font-weight:600; }
.btn-text svg{ width:16px; height:16px; transition:transform .25s var(--ease); }
.btn-text:hover svg{ transform:translateX(4px); }

/* --------------------------- Header -------------------------------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  padding:16px var(--gutter);
  transition:background .35s var(--ease), padding .35s var(--ease), border-color .35s;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(18,17,16,.82);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
  padding-block:11px;
}
.nav{ max-width:1400px; margin-inline:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; }
.brand img{ height:38px; width:auto; }
.brand .brand-name{ font-family:var(--font-display); font-weight:600; font-size:1.05rem; letter-spacing:.02em; line-height:1; }
.brand .brand-sub{ display:block; font-family:var(--font-mono); font-size:.55rem; letter-spacing:.2em; color:var(--muted); text-transform:uppercase; margin-top:3px; }

.nav-menu{ display:flex; align-items:center; gap:6px; }
.nav-menu > li{ position:relative; }
.nav-link{
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.6rem .9rem; border-radius:var(--r-pill);
  font-size:.94rem; font-weight:500; color:var(--text-2);
  transition:color .2s, background .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"]{ color:var(--text); background:var(--surface-2); }
.nav-link .chev{ width:12px; height:12px; opacity:.7; transition:transform .25s; }
.nav-link[aria-expanded="true"] .chev{ transform:rotate(180deg); }

.dropdown{
  position:absolute; top:calc(100% + 12px); left:50%; transform:translateX(-50%) translateY(8px);
  min-width:290px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-md); padding:10px; box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transition:opacity .22s var(--ease), transform .22s var(--ease);
}
.nav-menu > li:hover .dropdown,
.nav-menu > li:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.dropdown a{
  display:flex; flex-direction:column; gap:2px;
  padding:.7rem .8rem; border-radius:var(--r-sm); transition:background .18s;
}
.dropdown a:hover{ background:var(--surface-2); }
.dropdown a b{ font-size:.92rem; font-weight:600; color:var(--text); }
.dropdown a span{ font-size:.78rem; color:var(--muted); }

.nav-cta{ display:flex; align-items:center; gap:14px; flex:0 0 auto; }
.nav-toggle{ display:none; width:44px; height:44px; border-radius:var(--r-pill); background:var(--surface-2); align-items:center; justify-content:center; }
.nav-toggle svg{ width:22px; height:22px; }

/* Mobile menu */
.mobile-menu{
  position:fixed; inset:0; z-index:99; background:var(--bg-2);
  transform:translateX(100%); transition:transform .4s var(--ease);
  display:flex; flex-direction:column; padding:96px var(--gutter) 40px; overflow-y:auto;
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{ padding:.9rem 0; font-family:var(--font-display); font-size:1.35rem; border-bottom:1px solid var(--line); }
.mobile-menu .m-group{ font-family:var(--font-mono); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-top:1.6rem; padding-bottom:.4rem; }
.mobile-menu .m-sub{ font-size:1.02rem; color:var(--text-2); padding-left:0; }

/* --------------------------- Hero ---------------------------------- */
.hero{ position:relative; padding-top:150px; padding-bottom:clamp(60px,8vw,110px); overflow:hidden; }
.hero-glow{
  position:absolute; top:-10%; right:-5%; width:60vw; height:60vw; max-width:800px; max-height:800px;
  background:radial-gradient(circle, rgba(242,180,73,.16), transparent 60%);
  filter:blur(20px); pointer-events:none; z-index:0;
}
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,4vw,56px); align-items:center; }
.hero-copy h1{ font-size:clamp(2.2rem, 4.8vw, 3.95rem); margin-bottom:1.05rem; }
.hero-copy .lead{ max-width:42ch; margin-bottom:1.5rem; font-size:clamp(1rem, 1.3vw, 1.14rem); line-height:1.55; }
.hero-eyebrow-row{ display:flex; align-items:center; gap:1rem; margin-bottom:1.6rem; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }

/* Full-bleed background hero */
.hero-full{ min-height:clamp(600px, 90vh, 940px); display:flex; align-items:center; padding-top:120px; padding-bottom:clamp(60px,8vw,110px); }
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img, .hero-bg .hero-video{ width:100%; height:100%; object-fit:cover; object-position:72% center; }
.hero-bg .hero-video-fallback{ display:none; }
@media (prefers-reduced-motion: reduce){
  .hero-bg .hero-video{ display:none; }
  .hero-bg .hero-video-fallback{ display:block; }
}
.hero-scrim{ position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(90deg, var(--bg) 3%, rgba(18,17,16,.92) 30%, rgba(18,17,16,.55) 62%, rgba(18,17,16,.15) 100%),
    linear-gradient(180deg, rgba(18,17,16,.85) 0%, rgba(18,17,16,0) 24%, rgba(18,17,16,0) 60%, var(--bg) 100%);
}
.hero-full .container{ position:relative; z-index:2; }
.hero-full .hero-copy{ max-width:640px; }
@media (max-width:760px){
  .hero-full{ min-height:auto; padding-top:128px; padding-bottom:64px; }
  .hero-bg img, .hero-bg .hero-video{ object-position:66% center; }
  .hero-scrim{ background:linear-gradient(180deg, rgba(18,17,16,.72) 0%, rgba(18,17,16,.55) 32%, rgba(18,17,16,.82) 74%, var(--bg) 100%); }
}

/* Hero bento */
.bento{ display:grid; grid-template-columns:1fr 1fr; grid-template-rows:auto auto; gap:16px; }
.bento-card{ border-radius:var(--r-lg); border:1px solid var(--line); background:var(--surface); padding:26px; position:relative; overflow:hidden; }
.bento-gold{ background:linear-gradient(160deg, var(--gold-soft), var(--gold)); color:var(--gold-ink); border:none; display:flex; flex-direction:column; justify-content:space-between; min-height:230px; }
.bento-gold .bento-mark{ width:52px; height:52px; }
.bento-gold h3{ color:var(--gold-ink); font-size:1.28rem; line-height:1.2; letter-spacing:-.01em; }
.bento-gold p{ color:rgba(26,21,8,.72); font-size:.9rem; margin:0; }
.bento-stat{ background:var(--surface-2); display:flex; flex-direction:column; justify-content:center; gap:.2rem; }
.bento-stat .num{ font-family:var(--font-display); font-size:2.4rem; font-weight:600; color:var(--text); letter-spacing:-.03em; }
.bento-stat .lbl{ font-size:.82rem; color:var(--muted); }
.bento-img{ padding:0; min-height:150px; grid-column:span 1; }
.bento-img img{ width:100%; height:100%; object-fit:cover; filter:grayscale(1) contrast(1.05); }
.bento-wave{ grid-column:span 2; min-height:120px; padding:0; background:#0f1a26; }
.bento-wave img{ width:100%; height:100%; object-fit:cover; opacity:.9; }

/* trust strip */
.trust-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding-block:30px; }
.trust-strip .container{ display:flex; align-items:center; gap:clamp(24px,5vw,64px); flex-wrap:wrap; justify-content:center; }
.trust-strip .t-label{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }

/* Static grid (used on About) */
.trust-logos{ display:flex; align-items:center; gap:clamp(16px,2.4vw,26px); flex-wrap:wrap; justify-content:center; }
.trust-logos img{ height:38px; width:auto; padding:9px 16px; background:#EEEAE3; border-radius:12px; opacity:.85; transition:opacity .25s, transform .25s; }
.trust-logos img:hover{ opacity:1; transform:translateY(-2px); }

/* Infinite logo carousel — slides left, fades out at the left edge, fades in from the right */
.logo-marquee{
  width:100%; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.logo-track{
  display:flex; align-items:center; width:max-content;
  gap:clamp(28px,4vw,60px);
  animation:logo-scroll 34s linear infinite;
}
.logo-marquee:hover .logo-track{ animation-play-state:paused; }
.logo-track img{
  height:40px; width:auto; flex:0 0 auto;
  padding:9px 18px; background:#EEEAE3; border-radius:12px;
  opacity:.9;
}
@keyframes logo-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .logo-track{ animation:none; flex-wrap:wrap; justify-content:center; }
}
/* Carousel placed inline at the bottom of a content section */
.trust-inline{ margin-top:clamp(40px,6vw,72px); border-bottom:none; padding-bottom:0; }

/* Compact "Our Services" so all 6 cards fit in one viewport (stacked-panel layout) */
.section-services{ padding-block:clamp(40px,5vh,72px); }
.section-services .section-head{ max-width:900px; margin-bottom:clamp(20px,2.6vh,32px); }
.section-services .section-head h2{ font-size:clamp(1.5rem,2.3vw,2.05rem); }
.section-services .grid{ gap:16px; }
.section-services .svc-card{ min-height:0; padding:20px 22px; gap:10px; }
.section-services .svc-icon{ width:44px; height:44px; border-radius:12px; }
.section-services .svc-icon svg{ width:21px; height:21px; }
.section-services .svc-card h3{ font-size:1.08rem; }
.section-services .svc-card p{ font-size:.88rem; line-height:1.5; }
.section-services .card-foot{ padding-top:2px; font-size:.9rem; }

/* "Industries we serve" — 9-card gallery: don't pin (so nothing is cut off), compact to show more */
.section-industries{ padding-block:clamp(40px,5vh,72px); }
.section-industries .section-head{ margin-bottom:clamp(22px,2.8vh,36px); }
.section-industries .section-head h2{ font-size:clamp(1.5rem,2.3vw,2.05rem); }
.section-industries .grid{ gap:16px; }
.section-industries .ind-card{ min-height:210px; }
.section-industries .ind-card .ind-body{ padding:20px; }
.section-industries .ind-card h3{ font-size:1.08rem; margin-bottom:.25rem; }
.section-industries .ind-card p{ font-size:.84rem; }
@media (min-width:900px){
  /* higher specificity (two classes) so it overrides the sticky-panel rule regardless of order.
     position:relative (not static) keeps it a positioned box so it paints ABOVE the previous
     sticky section in DOM order — but it still scrolls normally, so no rows get cut off. */
  body[data-page="home"] .section.section-industries{ position:relative; min-height:0; display:block; }
}

/* beintech-style stacked scroll — each section is a full-viewport panel that
   sticks, then the next panel slides up and covers it (desktop only). */
@media (min-width: 900px){
  body[data-page="home"] .section{
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg);
    box-shadow: 0 -22px 55px -26px rgba(0,0,0,.85);
  }
  body[data-page="home"] .site-footer{ position: relative; z-index: 1; }
}
@media (prefers-reduced-motion: reduce){
  body[data-page="home"] .section{ position: static; min-height:0; display:block; box-shadow:none; }
}

/* --------------------------- Cards --------------------------------- */
.card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); padding:30px; transition:transform .3s var(--ease), border-color .3s, background .3s; position:relative; overflow:hidden; }
.card:hover{ transform:translateY(-5px); border-color:var(--line-2); background:var(--surface-2); }

/* Service card */
.svc-card{ display:flex; flex-direction:column; gap:16px; min-height:240px; }
.svc-icon{ width:56px; height:56px; border-radius:var(--r-md); display:grid; place-items:center; background:var(--surface-3); border:1px solid var(--line); color:var(--gold); transition:background .3s, color .3s; }
.svc-icon svg{ width:26px; height:26px; }
.svc-card:hover .svc-icon{ background:var(--gold); color:var(--gold-ink); }
.svc-card h3{ font-size:1.25rem; }
.svc-card p{ font-size:.95rem; margin:0; color:var(--muted); }
.svc-card .card-foot{ margin-top:auto; padding-top:8px; }

/* Featured (primary) service card */
.svc-featured{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,4vw,52px); align-items:center; padding:clamp(28px,3.4vw,44px); border-color:var(--line-gold); }
.svc-featured:hover{ transform:none; border-color:var(--gold); }
.svc-featured-body h2{ font-size:clamp(1.6rem,2.8vw,2.2rem); margin:.5rem 0 1rem; }
.svc-featured-body p{ color:var(--text-2); margin:0; font-size:1rem; }
.svc-featured-cta{ margin-top:1.6rem; }
.svc-featured-media{ border-radius:var(--r-md); overflow:hidden; border:1px solid var(--line); align-self:stretch; }
.svc-featured-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }
@media (max-width:760px){
  .svc-featured{ grid-template-columns:1fr; }
  .svc-featured-media{ order:-1; }
}

/* Feature (why choose us) */
.feature{ display:flex; gap:18px; padding:26px 0; border-top:1px solid var(--line); }
.feature-ico{ flex:0 0 auto; width:48px; height:48px; border-radius:var(--r-md); display:grid; place-items:center; background:var(--surface-2); color:var(--gold); }
.feature-ico svg{ width:24px; height:24px; }
.feature h3{ font-size:1.12rem; margin-bottom:.35rem; }
.feature p{ font-size:.92rem; margin:0; color:var(--muted); }

/* Industry card */
.ind-card{ position:relative; border-radius:var(--r-lg); overflow:hidden; min-height:280px; display:flex; align-items:flex-end; border:1px solid var(--line); isolation:isolate; }
.ind-card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; filter:grayscale(.6) contrast(1.02); transition:transform .6s var(--ease), filter .4s; }
.ind-card::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(to top, rgba(15,13,12,.94) 8%, rgba(15,13,12,.45) 55%, rgba(15,13,12,.2)); }
.ind-card:hover img{ transform:scale(1.06); filter:grayscale(0) contrast(1.05); }
.ind-card .ind-body{ padding:24px; width:100%; }
.ind-card h3{ font-size:1.18rem; margin-bottom:.3rem; }
.ind-card p{ font-size:.86rem; color:var(--text-2); margin:0; }
.ind-card .ind-arrow{ position:absolute; top:20px; right:20px; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.08); backdrop-filter:blur(6px); display:grid; place-items:center; border:1px solid var(--line-2); transition:background .3s, color .3s; }
.ind-card:hover .ind-arrow{ background:var(--gold); color:var(--gold-ink); }
.ind-card .ind-arrow svg{ width:16px; height:16px; }

/* Stats band */
.stats{ display:grid; grid-template-columns:repeat(auto-fit, minmax(200px, 1fr)); gap:30px 24px; }
.stat{ text-align:left; }
.stat .num{ display:block; font-family:var(--font-display); font-weight:600; font-size:clamp(2.4rem,4.6vw,3.4rem); color:var(--gold); letter-spacing:-.03em; line-height:1; }
.stat .lbl{ display:block; margin-top:.55rem; font-size:.92rem; color:var(--muted); white-space:nowrap; }

/* Split feature (image + text) */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,5vw,72px); align-items:center; }
.split.reverse .split-media{ order:2; }
.split-media{ border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line); position:relative; }
.split-media img{ width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; filter:grayscale(.35) contrast(1.03); }
.split-list{ margin-top:1.5rem; display:grid; gap:14px; }
.split-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--text-2); font-size:.98rem; }
.split-list svg{ flex:0 0 auto; width:22px; height:22px; color:var(--gold); margin-top:2px; }

/* Process steps */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; counter-reset:step; }
.step{ position:relative; padding-top:26px; border-top:2px solid var(--line-2); }
.step .step-n{ font-family:var(--font-mono); color:var(--gold); font-size:.85rem; letter-spacing:.1em; margin-bottom:.8rem; }
.step h3{ font-size:1.12rem; margin-bottom:.5rem; }
.step p{ font-size:.9rem; color:var(--muted); margin:0; }

/* --------------------------- Accordion ----------------------------- */
.accordion{ border-top:1px solid var(--line); }
.acc-item{ border-bottom:1px solid var(--line); }
.acc-trigger{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:20px; text-align:left; padding:24px 4px; font-family:var(--font-display); font-size:clamp(1.02rem,1.6vw,1.18rem); font-weight:500; color:var(--text); transition:color .2s; }
.acc-trigger:hover{ color:var(--gold); }
.acc-icon{ flex:0 0 auto; width:34px; height:34px; border-radius:50%; border:1px solid var(--line-2); display:grid; place-items:center; position:relative; transition:background .25s, border-color .25s; }
.acc-icon::before,.acc-icon::after{ content:""; position:absolute; background:var(--text); border-radius:2px; transition:transform .3s var(--ease), background .25s; }
.acc-icon::before{ width:13px; height:2px; }
.acc-icon::after{ width:2px; height:13px; }
.acc-trigger[aria-expanded="true"] .acc-icon{ background:var(--gold); border-color:var(--gold); }
.acc-trigger[aria-expanded="true"] .acc-icon::before,
.acc-trigger[aria-expanded="true"] .acc-icon::after{ background:var(--gold-ink); }
.acc-trigger[aria-expanded="true"] .acc-icon::after{ transform:rotate(90deg) scaleX(0); }
.acc-panel{ overflow:hidden; height:0; transition:height .35s var(--ease); }
.acc-panel-inner{ padding:0 4px 26px; max-width:80ch; color:var(--text-2); }
.acc-panel-inner p{ margin:0; color:var(--text-2); }
.acc-panel-inner a{ color:var(--gold); text-decoration:underline; text-underline-offset:2px; }
.acc-panel-inner a:hover{ color:var(--gold-2); }
.acc-group-label{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin:40px 0 6px; }

/* ----------------------------- CTA band ---------------------------- */
.cta-band{ position:relative; border-radius:var(--r-xl); overflow:hidden; padding:clamp(40px,6vw,80px); background:linear-gradient(150deg,var(--surface-2),var(--surface)); border:1px solid var(--line); text-align:center; }
.cta-band::before{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 120%, rgba(242,180,73,.18), transparent 60%); }
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ margin-bottom:1rem; }
.cta-band .lead{ max-width:56ch; margin:0 auto 2rem; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ------------------------------ Forms ------------------------------ */
.form-grid{ display:grid; gap:18px; }
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-size:.86rem; font-weight:500; color:var(--text-2); }
.field label .req{ color:var(--gold); }
.field input,.field textarea{
  width:100%; padding:14px 16px; background:var(--surface); border:1px solid var(--line-2);
  border-radius:var(--r-sm); color:var(--text); font-family:inherit; font-size:1rem; transition:border-color .2s, background .2s;
}
.field input::placeholder,.field textarea::placeholder{ color:var(--dim); }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--gold); background:var(--surface-2); }
.field textarea{ resize:vertical; min-height:130px; }
.form-note{ font-size:.82rem; color:var(--muted); }

/* --------------------------- Contact info -------------------------- */
.info-list{ display:grid; gap:6px; }
.info-item{ display:flex; gap:16px; align-items:flex-start; padding:20px 0; border-bottom:1px solid var(--line); }
.info-item .info-ico{ flex:0 0 auto; width:46px; height:46px; border-radius:var(--r-md); background:var(--surface-2); display:grid; place-items:center; color:var(--gold); }
.info-item .info-ico svg{ width:22px; height:22px; }
.info-item .k{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; color:var(--muted); margin-bottom:3px; }
.info-item .v{ font-size:1.05rem; color:var(--text); }
.info-item a.v:hover{ color:var(--gold); }

/* ----------------------------- Footer ------------------------------ */
.site-footer{ border-top:1px solid var(--line); background:var(--bg-2); padding-block:clamp(56px,7vw,88px) 32px; }
.footer-top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.footer-brand img{ height:44px; margin-bottom:20px; }
.footer-brand p{ color:var(--muted); font-size:.92rem; max-width:32ch; }
.footer-col h4{ font-family:var(--font-mono); font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); font-weight:400; margin-bottom:18px; }
.footer-col ul{ display:grid; gap:11px; }
.footer-col a{ color:var(--text-2); font-size:.94rem; transition:color .2s; }
.footer-col a:hover{ color:var(--gold); }
.footer-badge{ display:inline-flex; align-items:center; gap:10px; margin-top:8px; padding:8px 14px; border:1px solid var(--line); border-radius:var(--r-pill); font-size:.82rem; color:var(--text-2); }
.footer-badge img{ height:26px; }
.footer-bottom{ margin-top:56px; padding-top:26px; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; }
.footer-bottom p{ margin:0; font-size:.84rem; color:var(--dim); }
.footer-tagline{ font-family:var(--font-mono); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }

/* ----------------------------- Blog -------------------------------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.post-card{ display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; transition:transform .3s var(--ease), border-color .3s; }
.post-card:hover{ transform:translateY(-5px); border-color:var(--line-2); }
.post-card .post-media{ aspect-ratio:16/10; overflow:hidden; }
.post-card .post-media img{ width:100%; height:100%; object-fit:cover; filter:grayscale(.4) contrast(1.03); transition:transform .5s var(--ease), filter .4s; }
.post-card:hover .post-media img{ transform:scale(1.05); filter:grayscale(0); }
.post-card .post-body{ padding:24px 24px 26px; display:flex; flex-direction:column; flex:1; }
.post-meta{ display:flex; gap:12px; flex-wrap:wrap; align-items:center; font-family:var(--font-mono); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.post-meta .tag{ color:var(--gold); }
.post-meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--dim); }
.post-card h3{ font-size:1.2rem; line-height:1.25; margin-bottom:.6rem; }
.post-card p{ font-size:.92rem; color:var(--muted); margin:0 0 18px; }
.post-card .post-more{ margin-top:auto; }
.post-card.featured{ grid-column:span 3; flex-direction:row; }
.post-card.featured .post-media{ flex:1 1 52%; aspect-ratio:auto; }
.post-card.featured .post-body{ flex:1 1 48%; justify-content:center; padding:clamp(28px,4vw,48px); }
.post-card.featured h3{ font-size:clamp(1.5rem,2.6vw,2.1rem); }
.post-card.featured p{ font-size:1rem; }

/* Article (single post) */
.article{ max-width:760px; margin-inline:auto; }
.article > *{ margin-bottom:1.4rem; }
.article p{ color:var(--text-2); font-size:1.08rem; line-height:1.75; }
.article h2{ font-size:clamp(1.5rem,3vw,2rem); margin-top:2.6rem; margin-bottom:1rem; }
.article h3{ font-size:1.3rem; margin-top:2rem; margin-bottom:.7rem; }
.article ul, .article ol{ padding-left:1.3rem; display:grid; gap:.6rem; }
.article ul{ list-style:none; padding-left:0; }
.article ul li{ position:relative; padding-left:1.8rem; color:var(--text-2); }
.article ul li::before{ content:""; position:absolute; left:0; top:.62em; width:9px; height:9px; border-radius:2px; background:var(--gold); }
.article ol{ color:var(--text-2); }
.article ol li{ padding-left:.4rem; }
.article blockquote{ margin:2rem 0; padding:1.2rem 1.6rem; border-left:3px solid var(--gold); background:var(--surface); border-radius:0 var(--r-md) var(--r-md) 0; }
.article blockquote p{ margin:0; font-family:var(--font-display); font-size:1.2rem; color:var(--text); }
.article a{ color:var(--gold); text-decoration:underline; text-underline-offset:3px; }
.article-hero-media{ border-radius:var(--r-xl); overflow:hidden; border:1px solid var(--line); margin-bottom:clamp(28px,4vw,48px); max-height:460px; }
.article-hero-media img{ width:100%; height:100%; object-fit:cover; }

/* --------------------------- Page hero ----------------------------- */
.page-hero{ padding-top:clamp(130px,16vw,190px); padding-bottom:clamp(40px,6vw,72px); position:relative; overflow:hidden; }
.page-hero .hero-glow{ opacity:.7; }
.breadcrumb{ font-family:var(--font-mono); font-size:.76rem; letter-spacing:.1em; color:var(--muted); margin-bottom:1.4rem; display:flex; gap:.5rem; flex-wrap:wrap; }
.breadcrumb a:hover{ color:var(--gold); }
.breadcrumb .sep{ color:var(--dim); }
.page-hero h1{ max-width:20ch; }
.page-hero .lead{ max-width:60ch; margin-top:1.4rem; }

/* --------------------------- Reveal anim --------------------------- */
/* beintech-style: content slides up + fades as it scrolls into view */
:root{ --reveal-ease: cubic-bezier(.16,1,.3,1); }
.reveal{ opacity:0; transform:translateY(52px); transition:opacity .9s var(--reveal-ease), transform .9s var(--reveal-ease); will-change:transform, opacity; }
.reveal.in{ opacity:1; transform:none; }
.reveal[data-delay="1"]{ transition-delay:.1s; }
.reveal[data-delay="2"]{ transition-delay:.2s; }
.reveal[data-delay="3"]{ transition-delay:.3s; }
.reveal[data-delay="4"]{ transition-delay:.4s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  .btn:hover{ transform:none; }
}

/* ---------------------------- Utilities ---------------------------- */
.text-center{ text-align:center; }
.mx-auto{ margin-inline:auto; }
.mt-1{ margin-top:.5rem; } .mt-2{ margin-top:1rem; } .mt-3{ margin-top:1.5rem; } .mt-4{ margin-top:2rem; }
.maxw-sm{ max-width:560px; } .maxw-md{ max-width:720px; }
.cols-2{ grid-template-columns:repeat(2,1fr); }
.cols-3{ grid-template-columns:repeat(3,1fr); }
.cols-4{ grid-template-columns:repeat(4,1fr); }
.soundmark-deco{ position:absolute; opacity:.06; pointer-events:none; z-index:0; }

/* --------------------------- Responsive ---------------------------- */
@media (max-width: 1080px){
  .footer-top{ grid-template-columns:1fr 1fr; gap:32px; }
  .footer-brand{ grid-column:1 / -1; }
}
@media (max-width: 960px){
  .nav-menu, .nav-cta .btn{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; }
  .bento{ max-width:520px; }
  .split{ grid-template-columns:1fr; }
  .split.reverse .split-media{ order:0; }
  .stats{ grid-template-columns:repeat(2,1fr); gap:32px 24px; }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .cols-4{ grid-template-columns:repeat(2,1fr); }
  .cols-3{ grid-template-columns:repeat(2,1fr); }
  .blog-grid{ grid-template-columns:repeat(2,1fr); }
  .post-card.featured{ grid-column:span 2; flex-direction:column; }
  .post-card.featured .post-media{ aspect-ratio:16/10; }
}
@media (max-width: 620px){
  body{ font-size:16px; }
  .cols-2,.cols-3,.cols-4,.stats,.steps,.blog-grid{ grid-template-columns:1fr; }
  .post-card.featured{ grid-column:span 1; }
  .bento{ grid-template-columns:1fr 1fr; }
  .bento-wave{ grid-column:span 2; }
  .hero{ padding-top:120px; }
  .footer-top{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .btn{ padding:.85rem 1rem .85rem 1.3rem; font-size:.92rem; }
}
