:root {
  --ink: #12100c;
  --paper: #f7f4ed;
  --white: #ffffff;
  --gold: #d9ad4b;
  --muted: #6f6a61;
  --line: #ded8cc;
  --radius: 22px;
  --container: 1180px;
  --shadow: 0 18px 48px rgba(18, 16, 12, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fffdf8;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 2000; background: #fff; padding: 10px 14px; border-radius: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 16, 12, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo-link { flex: 0 0 auto; }
.logo { width: 112px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  color: #ece7dd;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  padding: 11px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active { color: #f1c760; }
.nav-links a.is-active::after { background: var(--gold); }
.nav-cta {
  margin-left: 6px;
  background: var(--gold);
  color: #17130b !important;
  box-shadow: 0 8px 24px rgba(217, 173, 75, 0.18);
}
.nav-cta:hover,
.nav-cta:focus-visible { filter: brightness(1.04); color: #17130b !important; }
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.24);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 750;
}

.hero,
.page-hero {
  background: radial-gradient(circle at 82% 12%, rgba(217,173,75,0.24), transparent 34%), var(--ink);
  color: #fff;
  padding: 84px 0 66px;
}
.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 52px;
  align-items: center;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 18px 0 24px;
  text-wrap: balance;
}
.hero h1 strong { color: #f0c96b; }
.hero-lead,
.page-hero p {
  max-width: 760px;
  font-size: clamp(18px, 2vw, 21px);
  color: #d7d1c7;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #7d601e;
  background: #fbf1d8;
  border: 1px solid #efd99f;
  padding: 7px 10px;
  border-radius: 999px;
}
.eyebrow.dark {
  color: #f9e8bb;
  background: rgba(217,173,75,0.13);
  border-color: rgba(217,173,75,0.34);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: #17130b; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn-outline-dark { border-color: var(--line); color: var(--ink); background: #fff; }

.hero-panel,
.case-summary-panel {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-panel h2,
.case-summary-panel h2 { margin: 0 0 12px; font-size: 26px; }
.brief-list { display: grid; gap: 12px; margin-top: 20px; }
.brief-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.brief-item:first-child { border-top: 0; padding-top: 0; }
.brief-item b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(217,173,75,0.16);
  color: #f0c96b;
}
.brief-item span { color: #ded8cd; }

.proof-strip { background: #1a1712; color: #dcd5ca; }
.proof-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 18px; text-align: center; font-size: 14px; }
.proof-item b { color: #fff; display: block; margin-bottom: 2px; }

section { padding: 78px 0; scroll-margin-top: 96px; }
.section-soft { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}
.section-head h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(31px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 12px 0 0;
  text-wrap: balance;
}
.section-head p,
.card p,
.option-card p,
.audience-card p,
.about-copy p { color: var(--muted); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card,
.option-card,
.audience-card,
.stat,
.side-box,
.about-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
}
.card-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #f7edd3;
  border-radius: 11px;
  font-weight: 900;
}
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--muted); margin-bottom: 0; }
.step-index,
.case-label,
.cover-kicker {
  font-size: 11px;
  font-weight: 900;
  color: #8b6a22;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.audience-card { padding: 30px; }
.audience-card h3 { font-size: 31px; line-height: 1.1; margin: 12px 0; }
.audience-card .btn { margin-top: 10px; }

.feature-split,
.about-grid,
.contact-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.feature-panel {
  border-radius: 28px;
  padding: 34px;
  background: #18150f;
  color: #fff;
}
.feature-panel h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.08; }
.feature-panel p { color: #d4cdbf; }
.feature-list { display: grid; gap: 12px; margin: 24px 0; }
.feature-list div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.feature-list i { color: #f0c96b; font-style: normal; font-weight: 900; }
.feature-side { display: grid; gap: 16px; }
.option-card h3 { font-size: 27px; line-height: 1.12; margin: 12px 0; }
.option-card ul,
.card ul { padding-left: 19px; margin-bottom: 0; }

.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.case-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 34px rgba(18,16,12,0.05);
}
.case-cover {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(217,173,75,0.06), transparent 35%),
    linear-gradient(135deg, #15120d, #211b10);
  border-bottom: 1px solid rgba(217,173,75,0.42);
}
.case-cover .cover-kicker { color: #e0b64f; }
.case-cover h3 {
  margin: 12px 0 10px;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.cover-author { color: #d8d0c1; font-weight: 700; }
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 15px; flex: 1; }
.case-body > p { color: var(--muted); margin: 0; }
.case-metrics,
.hero-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.metric {
  min-width: 0;
  min-height: 108px;
  background: var(--paper);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
}
.metric b {
  display: block;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.hero-kpi {
  padding: 17px;
  border-radius: 15px;
  background: rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-kpi b { display: block; color: #f0c96b; font-size: 27px; line-height: 1; }
.hero-kpi span { display: block; font-size: 13px; color: #c7c0b3; }
.case-link { margin-top: auto; font-weight: 850; text-decoration: none; }
.case-link:hover { color: #8b6a22; }

.stat-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat {
  min-height: 158px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}
.stat b {
  display: block;
  font-size: clamp(31px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.stat span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.42;
}
.prose p,
.prose li { color: var(--muted); font-size: 17px; }
.prose h2 { font-size: clamp(31px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.prose h3 { margin-top: 30px; margin-bottom: 6px; }
.side-box { align-self: start; }
.side-box h3 { font-size: 27px; margin-top: 0; }
.side-box .metric { margin-top: 10px; }

.quote-band { padding: 42px 0; background: #ead7a1; }
.quote-band .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.quote-band h2 { max-width: 850px; font-size: clamp(28px, 3.3vw, 39px); line-height: 1.1; margin: 0; }
.about-grid { align-items: stretch; }
.about-copy { padding-right: 20px; }
.about-card { background: var(--paper); }
.about-card h3 { font-size: 24px; margin-top: 0; }
.logo-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.logo-cloud span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }

.contact-copy p { color: #cfc7ba; }
.contact-details { display: grid; gap: 9px; margin-top: 22px; }
.contact-details a { color: #fff; font-weight: 750; }
.form-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 27px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
input,
select,
textarea { width: 100%; border: 1px solid #d8d1c5; border-radius: 11px; padding: 12px; background: #fff; }
textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: 12px; }
.form-status { margin-top: 10px; font-weight: 700; }

.footer { background: #0d0b08; color: #a9a195; padding: 32px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: #d7d0c3; text-decoration: none; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    background: #191610;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .nav-cta { margin-left: 0; margin-top: 4px; }
  .hero-grid,
  .page-hero-grid,
  .feature-split,
  .about-grid,
  .contact-grid,
  .content-grid,
  .section-head { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .stat-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav { min-height: 72px; }
  .logo { width: 88px; }
  .nav-links { left: 14px; right: 14px; top: 70px; }
  .hero,
  .page-hero { padding: 62px 0 48px; }
  .hero h1,
  .page-hero h1 { font-size: 42px; }
  section { padding: 62px 0; }
  .proof-list { grid-template-columns: 1fr 1fr; }
  .cards-3,
  .process,
  .audience-grid,
  .case-grid,
  .stat-wall,
  .case-metrics,
  .hero-kpis,
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .case-cover { min-height: 220px; padding: 23px; }
  .case-cover h3 { font-size: 30px; }
  .metric,
  .stat { min-height: auto; }
  .quote-band .container,
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
