/* ============================================================
   YCTC — Yagyaghosh Creat-Tech Commune Pvt. Ltd.
   Design system: "Strategy dossier" — ink, off-white, burnt gold.
   Display: Fraunces · Body: Hanken Grotesk · Utility: JetBrains Mono
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0B0D12;
  --ink-2:      #0E1117;
  --surface:    #141821;
  --surface-2:  #1A1F29;
  --line:       rgba(236, 234, 227, 0.10);
  --line-2:     rgba(236, 234, 227, 0.16);

  --text:       #ECEAE3;
  --text-2:     #A7ACB8;
  --text-3:     #7C828E;

  --gold:       #C9A24B;
  --gold-2:     #E2C079;
  --gold-dim:   rgba(201, 162, 75, 0.14);
  --gold-line:  rgba(201, 162, 75, 0.40);

  --slate:      rgba(120, 142, 176, 0.07);  /* cartographic grid */

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 10px;
  --radius-sm: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #14110a; }

/* faint cartographic dot-grid layered on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(var(--slate) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { position: relative; padding-top: var(--section-y); padding-bottom: var(--section-y); z-index: 1; }
.section--tight { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
main { position: relative; z-index: 1; }
[id] { scroll-margin-top: 92px; }

.divider { border: 0; height: 1px; background: var(--line); max-width: var(--maxw); margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 1.5rem; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow .em { color: var(--gold); }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.06; }

.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.7rem, 6.2vw, 5.1rem);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.display .it { font-style: italic; color: var(--gold); font-weight: 430; }

.section-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.95rem, 3.8vw, 3.1rem);
  font-weight: 420;
  line-height: 1.07;
  letter-spacing: -0.022em;
  max-width: 20ch;
}
.section-title .it { font-style: italic; color: var(--gold); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 56ch;
  font-weight: 350;
}
.body-lg { font-size: 1.08rem; color: var(--text-2); max-width: 60ch; }
p.muted { color: var(--text-2); }
.center { text-align: center; }
.center .section-title, .center .lead { margin-inline: auto; }

/* utility label / kicker */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.btn .arr { transition: transform 0.35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--gold); color: #16120a; }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold-line); color: var(--gold-2); transform: translateY(-2px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.05em;
  color: var(--gold-2); padding-bottom: 2px;
  border-bottom: 1px solid var(--gold-line);
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link:hover { gap: 0.85rem; border-color: var(--gold-2); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 800; letter-spacing: 0.06em; font-size: 1.18rem;
}
.brand .dot { width: 7px; height: 7px; background: var(--gold); border-radius: 1px; display: inline-block; }
.brand small {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.56rem; letter-spacing: 0.18em; color: var(--text-3);
  text-transform: uppercase; margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem; color: var(--text-2); position: relative;
  transition: color 0.3s var(--ease); padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-inner { max-width: 46rem; }
.hero .display { margin: 1.4rem 0 1.6rem; max-width: 16ch; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-glow {
  position: absolute; top: -10%; right: -5%; width: 60vw; max-width: 760px; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(201,162,75,0.10), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }

/* margin-bars decorative motif */
.bars { display: flex; align-items: flex-end; gap: 6px; height: 56px; margin-top: 0.5rem; }
.bars span {
  width: 7px; background: var(--gold-line); border-radius: 2px 2px 0 0;
  transform-origin: bottom; animation: grow-bar 1s var(--ease) backwards;
}
.bars span:nth-child(1){ height: 40%; animation-delay: .5s }
.bars span:nth-child(2){ height: 70%; background: var(--gold); animation-delay: .58s }
.bars span:nth-child(3){ height: 30%; animation-delay: .66s }
.bars span:nth-child(4){ height: 90%; animation-delay: .74s }
.bars span:nth-child(5){ height: 55%; animation-delay: .82s }
.bars span:nth-child(6){ height: 75%; background: var(--gold); animation-delay: .9s }
.bars span:nth-child(7){ height: 35%; animation-delay: .98s }

@keyframes grow-bar { from { transform: scaleY(0); opacity: 0 } to { transform: scaleY(1); opacity: 1 } }

/* ---------- Stat ribbon (margin bars) ---------- */
.stat-ribbon {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat .num {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 420; letter-spacing: -0.02em; line-height: 1;
}
.stat .num .it { font-style: italic; color: var(--gold); }
.stat .label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-3); margin-top: 0.7rem; text-transform: uppercase; }
.stat .track { height: 2px; background: var(--line-2); margin-top: 1rem; position: relative; overflow: hidden; }
.stat .track::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 60%);
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease);
}
.stat.in .track::after { transform: scaleX(1); }

/* ---------- Section header block ---------- */
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60ch; }
.sec-head .eyebrow { margin-bottom: 1.1rem; }
.sec-head .lead { margin-top: 1.1rem; }
.sec-head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: end; max-width: none; }
.sec-head--split .lead { margin-top: 0; }

/* responsive two-column block (collapses on mobile, unlike inline grid) */
.duo { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }

/* ---------- Service / generic cards grid ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--gold);
  transition: width 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--gold-line); background: var(--surface-2); }
.card:hover::after { width: 38px; }
.card .idx { font-family: var(--font-mono); font-size: 0.74rem; color: var(--gold); letter-spacing: 0.08em; }
.card h3 { font-family: var(--font-body); font-weight: 650; font-size: 1.18rem; letter-spacing: -0.01em; margin: 1rem 0 0.6rem; line-height: 1.25; }
.card p { color: var(--text-2); font-size: 0.96rem; }

/* clickable cards */
a.card { color: inherit; display: block; }
a.card .go { margin-top: 1.1rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); transition: color 0.3s; }
a.card:hover .go { color: var(--gold-2); }

/* ---------- Detailed service rows (services page) ---------- */
.srow {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); align-items: start;
}
.srow:last-child { border-bottom: 1px solid var(--line); }
.srow .srow-idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; }
.srow h3 { font-family: var(--font-display); font-weight: 420; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; margin: 0.8rem 0 0.7rem; line-height: 1.1; }
.srow .srow-tag { color: var(--gold-2); font-size: 1.02rem; font-style: italic; font-family: var(--font-display); }
.srow ul { list-style: none; display: grid; gap: 0.9rem; margin-top: 0.4rem; }
.srow li { display: flex; gap: 0.85rem; color: var(--text-2); font-size: 1rem; line-height: 1.5; }
.srow li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 0.55rem; background: var(--gold); border-radius: 1px; }
.srow li b { color: var(--text); font-weight: 600; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { border-top: 2px solid var(--line-2); padding-top: 1.3rem; transition: border-color 0.4s var(--ease); }
.step:hover { border-top-color: var(--gold); }
.step .step-n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; }
.step h3 { font-family: var(--font-body); font-weight: 650; font-size: 1.15rem; margin: 0.8rem 0 0.55rem; }
.step p { color: var(--text-2); font-size: 0.94rem; }

/* ---------- Clients row ---------- */
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.clients .cli {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 420;
  color: var(--text); opacity: 0.62; letter-spacing: -0.01em; transition: opacity 0.3s, color 0.3s;
}
.clients .cli:hover { opacity: 1; color: var(--gold-2); }
.clients .cli span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; color: var(--text-3); display: block; text-transform: uppercase; margin-top: 2px; }

/* ---------- Work / case study cards ---------- */
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.4rem); transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.case:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.case .tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-line);
  padding: 0.25rem 0.6rem; border-radius: 100px;
}
.case h3 { font-family: var(--font-display); font-weight: 420; font-size: clamp(1.45rem, 2.4vw, 1.95rem); letter-spacing: -0.02em; margin: 1.1rem 0 0.7rem; line-height: 1.12; }
.case .ctx { color: var(--text-2); margin-bottom: 1.3rem; }
.case .did { list-style: none; display: grid; gap: 0.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); margin-bottom: 1.3rem; }
.case .did li { display: flex; gap: 0.7rem; color: var(--text-2); font-size: 0.95rem; }
.case .did li::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; margin-top: 0.5rem; background: var(--gold); border-radius: 50%; }
.case .result { display: flex; align-items: baseline; gap: 0.8rem; }
.case .result .r-num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.5rem; }
.case .result .r-txt { color: var(--text); font-size: 0.95rem; }

/* ---------- Quote ---------- */
.quote {
  border-left: 2px solid var(--gold); padding: 0.4rem 0 0.4rem 1.8rem; max-width: 60ch;
}
.quote p { font-family: var(--font-display); font-weight: 380; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--text); }
.quote .by { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--text-3); margin-top: 1.2rem; text-transform: uppercase; }
.quote .by b { color: var(--gold-2); font-weight: 500; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: border-color 0.4s, transform 0.4s; }
.member:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.monogram {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--gold);
  background: var(--gold-dim); border: 1px solid var(--gold-line); margin-bottom: 1.2rem; letter-spacing: 0.02em;
}
.member h3 { font-family: var(--font-body); font-weight: 650; font-size: 1.08rem; }
.member .role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; margin-top: 0.3rem; }
.member p { color: var(--text-2); font-size: 0.9rem; margin-top: 0.8rem; }
.member .mlink { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-3); display: inline-flex; gap: 0.4rem; transition: color 0.3s; }
.member .mlink:hover { color: var(--gold-2); }

/* ---------- Value cards ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.value { border-top: 1px solid var(--line-2); padding-top: 1.3rem; }
.value h3 { font-family: var(--font-display); font-weight: 420; font-size: 1.35rem; letter-spacing: -0.01em; }
.value p { color: var(--text-2); margin-top: 0.6rem; font-size: 0.98rem; max-width: 42ch; }

/* ---------- Credentials ---------- */
.creds { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.cred {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-2);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 0.5rem 1rem;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.cred::before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: border-color 0.4s, transform 0.4s; }
.model:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.model .m-n { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }
.model h3 { font-family: var(--font-display); font-weight: 420; font-size: 1.5rem; margin: 0.8rem 0 0.6rem; }
.model p { color: var(--text-2); font-size: 0.96rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; }
.qa { border-bottom: 1px solid var(--line); }
.qa-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--font-display); font-weight: 410; font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  letter-spacing: -0.01em; color: var(--text); transition: color 0.3s;
}
.qa-q:hover { color: var(--gold-2); }
.qa-q:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.qa-icon { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; background: var(--gold); transition: transform 0.35s var(--ease); }
.qa-icon::before { top: 10px; left: 0; right: 0; height: 2px; }
.qa-icon::after { left: 10px; top: 0; bottom: 0; width: 2px; }
.qa[aria-expanded="true"] .qa-icon::after { transform: scaleY(0); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.qa-a-inner { padding-bottom: 1.5rem; color: var(--text-2); max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .display { margin: 1.2rem auto 1.2rem; max-width: 18ch; }
.cta-band .lead { margin: 0 auto 2.2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cinfo .ci { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.cinfo .ci:first-child { padding-top: 0; }
.cinfo .ci-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.55rem; }
.cinfo .ci-val { font-size: 1.05rem; color: var(--text); }
.cinfo .ci-val a { transition: color 0.3s; }
.cinfo .ci-val a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 0.7rem; margin-top: 1.6rem; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); color: var(--text-2); transition: all 0.3s var(--ease);
}
.socials a:hover { border-color: var(--gold-line); color: var(--gold-2); transform: translateY(-2px); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); }
.field { margin-bottom: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
label.flabel { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 0.55rem; }
label.flabel .req { color: var(--gold); }
.input, .select, .textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; color: var(--text); font-size: 0.98rem; transition: border-color 0.3s, background 0.3s;
}
.textarea { resize: vertical; min-height: 130px; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-line); background: #0c1016; box-shadow: 0 0 0 3px var(--gold-dim); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A24B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.select option { background: var(--ink-2); color: var(--text); }
.form-note { font-size: 0.82rem; color: var(--text-3); margin-top: 0.6rem; }
.form-status { display: none; padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-size: 0.92rem; margin-bottom: 1.3rem; }
.form-status.ok { display: block; background: var(--gold-dim); border: 1px solid var(--gold-line); color: var(--gold-2); }
.form-status.err { display: block; background: rgba(200,80,60,0.12); border: 1px solid rgba(200,80,60,0.4); color: #e08a78; }
.hp { position: absolute; left: -9999px; }
.err-msg { color: #e08a78; font-size: 0.78rem; margin-top: 0.4rem; display: none; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: rgba(200,80,60,0.6); }
.field.invalid .err-msg { display: block; }

.mapcard { margin-top: 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.foot-brand .brand { font-size: 1.4rem; }
.foot-brand p { color: var(--text-2); max-width: 32ch; margin-top: 1.1rem; font-size: 0.96rem; }
.foot-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.1rem; }
.foot-col a, .foot-col p { display: block; color: var(--text-2); font-size: 0.94rem; margin-bottom: 0.7rem; transition: color 0.3s; }
.foot-col a:hover { color: var(--gold-2); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.foot-bottom p, .foot-bottom a { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--text-3); }
.foot-legal { display: flex; gap: 1.5rem; }
.foot-legal a:hover { color: var(--gold-2); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* hero entrance (CSS only) */
.hero [data-anim] { opacity: 0; transform: translateY(24px); animation: rise 0.85s var(--ease) forwards; }
.hero [data-anim="1"] { animation-delay: 0.05s; }
.hero [data-anim="2"] { animation-delay: 0.16s; }
.hero [data-anim="3"] { animation-delay: 0.28s; }
.hero [data-anim="4"] { animation-delay: 0.4s; }
.hero [data-anim="5"] { animation-delay: 0.52s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .grid-4, .team-grid, .models, .steps { grid-template-columns: repeat(2, 1fr); }
  .sec-head--split { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
  .srow { grid-template-columns: 1fr; gap: 1.2rem; }
  .duo { grid-template-columns: 1fr; gap: 1.4rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .stat-ribbon { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.5rem; transform: translateY(-130%); transition: transform 0.45s var(--ease);
    height: auto; z-index: 99;
  }
  body.menu-open .nav-links { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .nav .btn-primary { display: none; }
  .grid-2, .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero .display { max-width: 100%; }
}

@media (max-width: 460px) {
  .grid-3, .grid-4, .team-grid, .models, .steps, .stat-ribbon { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero [data-anim] { opacity: 1 !important; transform: none !important; animation: none !important; }
  .bars span { animation: none !important; }
  .stat.in .track::after { transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.06s !important; }
}
/* ============================================================
   YCTC — ENTERPRISE COMPONENTS (extends the base system)
   ============================================================ */

:root {
  --radius-lg: 16px;
  --data-1: #C9A24B;
  --data-2: #6F8FB0;
  --data-3: #46566B;
  --grain: rgba(255,255,255,0.025);
}

/* subtle film grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("grain.png"); background-size: 200px 200px;
  opacity: 0.035; mix-blend-mode: overlay;
}

/* ---------- Top utility bar ---------- */
.topbar { background: var(--ink-2); border-bottom: 1px solid var(--line); position: relative; z-index: 90; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar, .topbar a { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; color: var(--text-3); }
.topbar a { transition: color 0.3s; }
.topbar a:hover { color: var(--gold-2); }
.tb-left { display: flex; gap: 1.6rem; align-items: center; }
.tb-left .dotsep { color: var(--gold); }
.tb-right { display: flex; gap: 1.4rem; align-items: center; }
@media (max-width: 720px) { .tb-right { display: none; } .tb-left { gap: 1rem; } }

/* ---------- Mega hero (2-col with artwork) ---------- */
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy .badge-row { margin-bottom: 1.4rem; }
.hero-trust { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-trust .t-label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.9rem; }
.hero-trust .t-logos { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; }
.hero-trust .t-logos span { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-2); opacity: 0.7; }

.hero-art { position: relative; }
.hero-panel {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #141a25 0%, #0c0f15 100%); overflow: hidden;
  aspect-ratio: 1 / 0.92; box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.04);
}
.hero-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip {
  position: absolute; background: rgba(16,20,28,0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--gold-line); border-radius: 12px; padding: 0.7rem 0.95rem;
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.8); animation: float 7s ease-in-out infinite;
}
.chip .c-num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.35rem; line-height: 1; }
.chip .c-lab { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.09em; color: var(--text-2); text-transform: uppercase; margin-top: 0.3rem; }
.chip.tl { top: 7%; left: -5%; }
.chip.br { bottom: 9%; right: -5%; animation-delay: 1.6s; }
.chip.mr { top: 44%; right: -7%; animation-delay: 0.8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* hero artwork animated bits */
.art-node { animation: nodePulse 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.art-node.n2 { animation-delay: 0.8s; } .art-node.n3 { animation-delay: 1.6s; } .art-node.n4 { animation-delay: 2.4s; }
@keyframes nodePulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.art-ring { transform-origin: center; transform-box: fill-box; animation: ringExpand 4s ease-out infinite; }
.art-ring.r2 { animation-delay: 1.3s; } .art-ring.r3 { animation-delay: 2.6s; }
@keyframes ringExpand { 0% { transform: scale(0.3); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.art-line { stroke-dasharray: 6 7; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .chip.tl { left: 2%; } .chip.br { right: 2%; } .chip.mr { right: 0; }
}
@media (max-width: 460px) { .chip.mr { display: none; } }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2); background: var(--gold-dim); border: 1px solid var(--gold-line); padding: 0.35rem 0.75rem; border-radius: 100px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Client marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: scroll-x 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .cli { font-family: var(--font-display); font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--text-2); opacity: 0.6; white-space: nowrap; }
.marquee .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: 0.5; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Icons ---------- */
.icn { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icn-box { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-dim); border: 1px solid var(--gold-line); color: var(--gold); flex: 0 0 auto; transition: background 0.4s, transform 0.4s; }
.card:hover .icn-box, .feature:hover .icn-box { transform: translateY(-2px); }

/* ---------- Feature blocks (why us) ---------- */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature .f-body h3 { font-family: var(--font-body); font-weight: 650; font-size: 1.12rem; margin-bottom: 0.5rem; }
.feature .f-body p { color: var(--text-2); font-size: 0.96rem; }

/* ---------- Sectors grid ---------- */
.sector { display: flex; align-items: center; gap: 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.sector:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.sector .icn { width: 22px; color: var(--gold); }
.sector span { font-weight: 550; font-size: 1rem; }

/* ---------- Impact dashboard ---------- */
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.dash-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.dash-card .d-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.dash-card .d-cat { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.dash-card .d-num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 420; letter-spacing: -0.02em; line-height: 1; }
.dash-card .d-num .it { font-style: italic; color: var(--gold); }
.dash-card .d-sub { color: var(--text-2); font-size: 0.92rem; margin-top: 0.5rem; }
.dash-card .d-chart { margin-top: 1.3rem; }
.dash-card svg { display: block; width: 100%; height: auto; overflow: visible; }
.bar-rise { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.dash-card.in .bar-rise { animation: barRise 0.9s var(--ease) forwards; }
.dash-card.in .bar-rise:nth-child(2){animation-delay:.06s}.dash-card.in .bar-rise:nth-child(3){animation-delay:.12s}.dash-card.in .bar-rise:nth-child(4){animation-delay:.18s}.dash-card.in .bar-rise:nth-child(5){animation-delay:.24s}.dash-card.in .bar-rise:nth-child(6){animation-delay:.3s}
@keyframes barRise { to { transform: scaleY(1); } }
.ring-prog { stroke-dasharray: 1 999; transition: stroke-dasharray 1.2s var(--ease); }
.dash-card.in .ring-prog { stroke-dasharray: var(--dash) 999; }
.line-draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.dash-card.in .line-draw { animation: lineDraw 1.4s var(--ease) forwards; }
@keyframes lineDraw { to { stroke-dashoffset: 0; } }

/* ---------- Split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* ---------- Photo frame placeholders ---------- */
.frame { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #141821, #0d1117); display: grid; place-items: center; }
.frame::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(120,142,176,0.12) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.7; }
.frame .f-mark { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-line); position: relative; }
.frame .f-label { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); background: rgba(11,13,18,0.7); border: 1px solid var(--line-2); padding: 0.3rem 0.55rem; border-radius: 6px; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--portrait { aspect-ratio: 3 / 4; }
.frame--square { aspect-ratio: 1; }
.frame--tall { aspect-ratio: 4 / 5; }

/* ---------- Timeline / milestones ---------- */
.timeline { border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 140px 1fr; gap: 1.8rem; padding: 1.7rem 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: background 0.3s; }
.tl-year { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.5rem; letter-spacing: -0.01em; }
.tl-body h3 { font-family: var(--font-body); font-weight: 650; font-size: 1.1rem; margin-bottom: 0.4rem; }
.tl-body p { color: var(--text-2); font-size: 0.96rem; max-width: 60ch; }
@media (max-width: 600px) { .tl-item { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ---------- Insight / news cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.post:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.post .p-thumb { aspect-ratio: 16 / 9; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.post .p-thumb svg { width: 100%; height: 100%; display: block; }
.post .p-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post .p-cat { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.post h3 { font-family: var(--font-display); font-weight: 420; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; margin: 0.6rem 0 0.7rem; }
.post p { color: var(--text-2); font-size: 0.94rem; flex: 1; }
.post .p-meta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); margin-top: 1.1rem; letter-spacing: 0.04em; }
.post-feature { grid-column: span 2; }
.post-feature .p-inner { display: grid; grid-template-columns: 1.1fr 1fr; height: 100%; }
.post-feature .p-thumb { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.post-feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
@media (max-width: 880px) { .posts { grid-template-columns: repeat(2, 1fr); } .post-feature { grid-column: span 2; } .post-feature .p-inner { grid-template-columns: 1fr; } .post-feature .p-thumb { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16/9; } }
@media (max-width: 560px) { .posts { grid-template-columns: 1fr; } .post-feature { grid-column: span 1; } }

/* ---------- Careers roles ---------- */
.roles { border-top: 1px solid var(--line); }
.role { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); transition: padding-left 0.3s var(--ease); }
.role:hover { padding-left: 0.6rem; }
.role h3 { font-family: var(--font-display); font-weight: 420; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.015em; }
.role .r-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-2); letter-spacing: 0.03em; }
.role .r-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.role .r-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@media (max-width: 600px) { .role { flex-direction: column; align-items: flex-start; gap: 1rem; } }

/* perks */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.perk { border-top: 1px solid var(--line-2); padding-top: 1.2rem; }
.perk .icn { color: var(--gold); width: 24px; margin-bottom: 0.9rem; }
.perk h3 { font-family: var(--font-body); font-weight: 650; font-size: 1.05rem; margin-bottom: 0.4rem; }
.perk p { color: var(--text-2); font-size: 0.92rem; }

/* ---------- Big testimonial ---------- */
.tnote { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.5rem); background: linear-gradient(165deg, #141a25, #0d1015); overflow: hidden; }
.tnote .qmark { font-family: var(--font-display); font-size: 6rem; line-height: 0.8; color: var(--gold-line); position: absolute; top: 1.2rem; left: 1.8rem; }
.tnote blockquote { font-family: var(--font-display); font-weight: 380; font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.34; letter-spacing: -0.01em; color: var(--text); position: relative; max-width: 28ch; }
.tnote .t-by { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.tnote .t-by .monogram { width: 48px; height: 48px; margin: 0; font-size: 1rem; }
.tnote .t-by .t-name { font-weight: 650; }
.tnote .t-by .t-role { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-3); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Section intro centered ---------- */
.intro-center { max-width: 62ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.intro-center .eyebrow { justify-content: center; margin-bottom: 1.1rem; }
.intro-center .section-title { margin: 0 auto; max-width: 22ch; }
.intro-center .lead { margin: 1.1rem auto 0; }

/* ---------- Stat strip variant (numbers count) ---------- */
.numgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 720px) { .numgrid { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; } }

/* ---------- CTA panel (boxed) ---------- */
.cta-panel { position: relative; border: 1px solid var(--gold-line); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 5rem); text-align: center; background: linear-gradient(165deg, #16191f, #0c0e13); overflow: hidden; }
.cta-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 0%, rgba(201,162,75,0.12), transparent 70%); }
.cta-panel > * { position: relative; }

/* ---------- Expanded footer ---------- */
.foot-top.foot-5 { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.foot-news { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2.5rem; }
.foot-news h4 { font-family: var(--font-display); font-weight: 420; font-size: 1.4rem; letter-spacing: -0.01em; color: var(--text); margin: 0; }
.foot-news p { color: var(--text-2); font-size: 0.92rem; margin-top: 0.3rem; }
.foot-news form { display: flex; gap: 0.6rem; }
.foot-news input { background: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 0.75rem 1rem; color: var(--text); min-width: 220px; font-size: 0.92rem; }
.foot-news input:focus { outline: none; border-color: var(--gold-line); }
@media (max-width: 720px) { .foot-news { grid-template-columns: 1fr; } .foot-news form { flex-direction: column; } .foot-news input { min-width: 0; width: 100%; } }

/* ---------- Mobile nav (full-screen, raised breakpoint for more items) ---------- */
body.menu-open { overflow: hidden; }
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav .btn-primary { display: none; }
  .nav-links {
    position: fixed; inset: 0; z-index: 99; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0; background: var(--ink); padding: calc(72px + 2rem) var(--pad) 2rem; height: 100vh;
    transform: translateX(100%); transition: transform 0.45s var(--ease); overflow-y: auto;
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a { width: 100%; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: 1.4rem; font-family: var(--font-display); color: var(--text); }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--gold-2); }
}

/* ---------- Responsive fixes for enterprise components ---------- */
@media (max-width: 900px) {
  .dash { grid-template-columns: 1fr; }
}
@media (max-width: 940px) {
  .foot-top.foot-5 { grid-template-columns: 1fr 1fr; }
  .foot-top.foot-5 .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .perks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .foot-top.foot-5 { grid-template-columns: 1fr; }
}
