:root {
  --navy-1000: #03101f;
  --navy-950: #07172b;
  --navy-900: #0b1f39;
  --navy-800: #12304f;
  --ink: #182432;
  --ivory: #f8f4ee;
  --paper: #fffdf9;
  --sand: #eee6dc;
  --stone: #776f68;
  --rose: #c98d80;
  --rose-deep: #a96c62;
  --rose-soft: #efd8d2;
  --gold: #d5b16f;
  --white: #ffffff;
  --line: rgba(11,31,57,.13);
  --shadow-sm: 0 14px 35px rgba(3,16,31,.08);
  --shadow-lg: 0 28px 80px rgba(3,16,31,.18);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1200px;
}

* { 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: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 1000; padding: 10px 14px; background: var(--paper); color: var(--navy-950); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(7,23,43,.91); box-shadow: 0 10px 40px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--white); text-decoration: none; }
.brand-mark { width: 54px; height: 54px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0,0,0,.18)); }
.brand-copy { display: grid; line-height: 1; }
.brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.23rem; letter-spacing: .28em; }
.brand-sub { margin-top: 7px; color: rgba(255,255,255,.64); font-size: .64rem; text-transform: uppercase; letter-spacing: .23em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: .9rem; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav .nav-cta { padding: 11px 17px; border: 1px solid rgba(239,216,210,.6); border-radius: 999px; color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); padding: 11px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--rose); color: var(--navy-1000); box-shadow: 0 16px 38px rgba(201,141,128,.24); }
.button-primary:hover { background: #d7a397; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.button-light { background: var(--paper); color: var(--navy-950); }

.eyebrow, .kicker { margin: 0 0 18px; color: var(--rose); font-size: .76rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.03; color: var(--navy-950); }
h1 { font-size: clamp(3.9rem, 7vw, 7.9rem); font-weight: 500; letter-spacing: -.055em; }
h2 { font-size: clamp(2.7rem, 4.7vw, 5rem); font-weight: 500; letter-spacing: -.042em; }
h3 { font-size: 1.6rem; font-weight: 500; }

.hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 16%, rgba(201,141,128,.17), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(213,177,111,.09), transparent 28%),
    linear-gradient(135deg, #020b16, var(--navy-950) 55%, #102a47);
  position: relative;
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 86%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: var(--white); margin: 0; max-width: 760px; }
.hero h1 span { color: var(--rose-soft); }
.hero-lead { max-width: 680px; color: rgba(255,255,255,.72); font-size: 1.14rem; margin: 28px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-proof strong { display: block; font-family: Georgia, serif; font-size: 1.45rem; color: var(--white); }
.hero-proof span { color: rgba(255,255,255,.54); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }

.case-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.case-sheet { width: min(100%, 500px); padding: 38px; border-radius: 26px; color: var(--navy-950); background: rgba(255,253,249,.96); box-shadow: var(--shadow-lg); transform: rotate(1.5deg); position: relative; }
.case-sheet::before { content: "CONFIDENTIAL CASE ANALYSIS"; position: absolute; top: 19px; right: 23px; color: rgba(11,31,57,.34); font-size: .58rem; letter-spacing: .18em; }
.case-sheet-header { padding-bottom: 22px; border-bottom: 1px solid #ddd3c8; }
.case-sheet-header span { color: var(--rose-deep); font-weight: 900; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.case-sheet-header h3 { margin: 10px 0 0; font-size: 2rem; }
.timeline { display: grid; gap: 0; margin-top: 26px; }
.timeline-row { position: relative; display: grid; grid-template-columns: 82px 18px 1fr; gap: 12px; min-height: 94px; }
.timeline-row:not(:last-child)::before { content: ""; position: absolute; left: 90px; top: 22px; bottom: -8px; width: 1px; background: var(--rose-soft); }
.timeline-date { font-size: .74rem; color: var(--stone); font-weight: 800; }
.timeline-dot { width: 11px; height: 11px; margin-top: 4px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 5px #f6e8e4; }
.timeline-copy strong { display: block; font-size: .89rem; }
.timeline-copy span { display: block; margin-top: 4px; color: #6c6864; font-size: .76rem; line-height: 1.45; }
.case-stamp { position: absolute; right: -35px; bottom: 66px; width: 130px; height: 130px; border: 2px solid rgba(201,141,128,.6); color: var(--rose); border-radius: 50%; display: grid; place-items: center; text-align: center; font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; transform: rotate(-13deg); background: rgba(7,23,43,.92); box-shadow: 0 14px 40px rgba(0,0,0,.23); }
.case-note { position: absolute; left: -50px; top: 64px; width: 190px; padding: 18px; border-radius: 15px; color: var(--navy-950); background: #ead2cc; box-shadow: var(--shadow-sm); transform: rotate(-7deg); }
.case-note span { display: block; font-size: .61rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 900; color: var(--rose-deep); }
.case-note strong { display: block; margin-top: 7px; font-family: Georgia, serif; font-size: 1.04rem; line-height: 1.2; }

.chapter { position: relative; padding: 132px 0; overflow: clip; }
.chapter-paper { background: var(--paper); }
.chapter-dark { background: var(--navy-950); color: var(--white); }
.chapter-soft { background: #efe8df; }
.section-heading { max-width: 800px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-heading h2 { margin: 0; }
.section-heading p:not(.eyebrow) { margin-top: 24px; color: #67645f; font-size: 1.07rem; }
.chapter-dark h2, .chapter-dark h3 { color: var(--white); }
.chapter-dark .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.66); }

.story-grid { margin-top: 68px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card { min-height: 430px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; background: var(--paper); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.story-card .num { color: var(--rose); font-family: Georgia, serif; font-size: 3rem; }
.story-card h3 { margin: 30px 0 13px; font-size: 2rem; }
.story-card p { color: #68655f; }
.story-card::after { content: ""; position: absolute; width: 170px; height: 170px; border: 1px solid var(--rose-soft); border-radius: 50%; right: -70px; bottom: -80px; }
.story-card.featured { background: var(--navy-950); color: var(--white); transform: translateY(-24px); }
.story-card.featured h3 { color: var(--white); }
.story-card.featured p { color: rgba(255,255,255,.65); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.copy-block h2 { margin: 0 0 25px; }
.copy-block p { color: #65615d; }
.chapter-dark .copy-block p { color: rgba(255,255,255,.66); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 29px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 7px; border-left: 2px solid var(--rose); border-bottom: 2px solid var(--rose); transform: rotate(-45deg); }

.record-stack { position: relative; min-height: 570px; }
.record-card { position: absolute; width: 78%; min-height: 230px; padding: 28px; border-radius: 18px; background: var(--paper); border: 1px solid #ddd4cb; box-shadow: var(--shadow-sm); }
.record-card:nth-child(1) { left: 0; top: 10px; transform: rotate(-7deg); }
.record-card:nth-child(2) { right: 0; top: 120px; transform: rotate(5deg); }
.record-card:nth-child(3) { left: 8%; bottom: 10px; transform: rotate(-2deg); }
.record-card h4 { margin: 0 0 18px; color: var(--navy-950); font-family: Georgia, serif; font-size: 1.3rem; }
.redact { height: 8px; margin: 10px 0; border-radius: 8px; background: #d7d0c8; }
.redact.short { width: 62%; }
.highlight { display: inline-block; margin-top: 18px; padding: 6px 9px; background: #f0d7d1; color: #7b423a; font-size: .69rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }

.services-tabs { margin-top: 62px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 24px; }
.tab-list { display: grid; align-content: start; gap: 9px; }
.tab-button { width: 100%; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: rgba(255,255,255,.68); background: rgba(255,255,255,.035); text-align: left; cursor: pointer; transition: .2s ease; }
.tab-button strong { display: block; color: inherit; }
.tab-button span { display: block; margin-top: 5px; font-size: .78rem; opacity: .68; }
.tab-button.active { color: var(--navy-950); background: var(--rose-soft); border-color: var(--rose-soft); transform: translateX(8px); }
.tab-panels { min-height: 450px; padding: 42px; border-radius: 26px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .3s ease; }
.tab-panel .service-no { color: var(--rose); font-family: Georgia, serif; font-size: 4rem; }
.tab-panel h3 { margin: 8px 0 18px; font-size: 2.7rem; }
.tab-panel p { color: rgba(255,255,255,.67); }
.tab-panel ul { margin-top: 24px; padding-left: 20px; color: rgba(255,255,255,.76); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.deliverable { margin-top: 60px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.report-preview { padding: 38px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.report-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #ddd4cb; }
.report-top strong { font-family: Georgia, serif; font-size: 1.4rem; }
.report-top span { color: var(--rose-deep); font-size: .64rem; font-weight: 900; letter-spacing: .14em; }
.insight-list { display: grid; gap: 15px; margin-top: 24px; }
.insight-row { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid #ece5de; }
.insight-row b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: var(--rose-soft); }
.insight-row strong { display: block; font-size: .9rem; }
.insight-row span { display: block; margin-top: 3px; color: #706b66; font-size: .77rem; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.metric { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.metric strong { display: block; color: var(--white); font-family: Georgia, serif; font-size: 2.5rem; }
.metric span { color: rgba(255,255,255,.57); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }

.about-grid { margin-top: 64px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 66px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 580px; box-shadow: var(--shadow-lg); }
.about-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,16,31,.62), transparent 56%); }
.about-caption { position: absolute; z-index: 2; left: 28px; bottom: 26px; color: var(--white); }
.about-caption strong { display: block; font-family: Georgia, serif; font-size: 1.45rem; }
.about-caption span { color: rgba(255,255,255,.7); }
.expertise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
.expertise span { padding: 13px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: .8rem; font-weight: 800; color: var(--navy-900); }

.faq { max-width: 900px; margin: 58px auto 0; display: grid; gap: 12px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border: 0; background: transparent; color: var(--navy-950); text-align: left; font-weight: 900; cursor: pointer; }
.faq-question::after { content: "+"; color: var(--rose-deep); font-size: 1.4rem; }
.faq-item.open .faq-question::after { content: "–"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { margin: 0; padding: 0 0 22px; color: #68645f; }

.cta {
  padding: 110px 0;
  color: var(--white);
  background: linear-gradient(115deg, var(--rose-deep), #7d4d48);
  position: relative;
  overflow: hidden;
}
.cta::after { content: ""; position: absolute; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; right: -130px; top: -250px; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.cta h2 { color: var(--white); margin: 0; max-width: 760px; }
.cta p { color: rgba(255,255,255,.78); max-width: 720px; }

.page-hero { padding: 170px 0 100px; color: var(--white); background: linear-gradient(135deg, var(--navy-1000), var(--navy-800)); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 550px; height: 550px; border: 1px solid rgba(201,141,128,.22); border-radius: 50%; right: -140px; top: -290px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin: 0; max-width: 900px; }
.page-hero p { max-width: 700px; color: rgba(255,255,255,.7); font-size: 1.08rem; }
.breadcrumbs { margin-bottom: 18px; color: var(--rose-soft); font-size: .77rem; text-transform: uppercase; letter-spacing: .14em; }
.breadcrumbs a { text-decoration: none; }

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 58px; }
.service-card { padding: 34px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.service-card .service-no { color: var(--rose); font-family: Georgia, serif; font-size: 2.7rem; }
.service-card h2 { margin: 15px 0; font-size: 2rem; }
.service-card p, .service-card li { color: #68645f; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: start; }
.contact-panel { padding: 36px; border-radius: 24px; color: var(--white); background: var(--navy-950); box-shadow: var(--shadow-lg); }
.contact-panel h2 { color: var(--white); font-size: 2.5rem; margin-top: 0; }
.contact-panel p { color: rgba(255,255,255,.67); }
.contact-list { display: grid; gap: 16px; margin-top: 28px; }
.contact-list a { color: var(--rose-soft); text-decoration: none; }
.notice { margin-top: 26px; padding: 16px; border: 1px solid rgba(239,216,210,.25); border-radius: 12px; color: rgba(255,255,255,.66); font-size: .78rem; }
.form-card { padding: 36px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-950); font-size: .84rem; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d7cec4; border-radius: 11px; padding: 13px 14px; background: #fffefa; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(201,141,128,.17); border-color: var(--rose); }
.form-note { color: #77716a; font-size: .76rem; }
.form-status { margin-top: 13px; color: var(--navy-900); font-weight: 800; }

.site-footer { padding: 62px 0 24px; color: var(--white); background: #020b15; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr 1fr; gap: 40px; }
.footer-brand p { max-width: 390px; color: rgba(255,255,255,.56); }
.footer-title { margin-bottom: 15px; color: var(--rose); font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.66); text-decoration: none; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.45); font-size: .75rem; }
.footer-bottom a { color: inherit; }

@media (max-width: 980px) {
  .hero-inner, .split, .deliverable, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 132px; }
  .case-stage { min-height: 560px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card.featured { transform: none; }
  .services-tabs { grid-template-columns: 1fr; }
  .tab-list { grid-template-columns: repeat(2, 1fr); }
  .tab-button.active { transform: none; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 26px), var(--container)); }
  .site-header { background: rgba(7,23,43,.94); }
  .header-inner { min-height: 78px; }
  .brand-mark { width: 48px; height: 48px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; left: 13px; right: 13px; top: 82px; display: none; padding: 18px; border-radius: 18px; background: var(--navy-950); box-shadow: var(--shadow-lg); }
  .site-nav.open { display: grid; }
  .site-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; padding: 125px 0 78px; }
  .hero-inner { gap: 42px; }
  .hero h1 { font-size: clamp(3.3rem, 16vw, 5.6rem); }
  .hero-actions { display: grid; }
  .case-stage { min-height: 510px; }
  .case-sheet { padding: 29px 24px; }
  .case-note { left: -5px; top: -20px; }
  .case-stamp { right: -4px; bottom: -25px; width: 105px; height: 105px; }
  .chapter { padding: 88px 0; }
  h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .record-stack { min-height: 500px; }
  .record-card { width: 88%; }
  .tab-list { grid-template-columns: 1fr; }
  .tab-panels { padding: 28px 22px; }
  .metric-grid, .expertise, .form-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 420px; }
  .cta-inner { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}

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