/* ============================================================
   MITCH MANTUA — EXECUTIVE SITE
   Audit & Assurance Framework Design System
   ============================================================ */

:root {
  /* Palette — institutional, restrained */
  --navy:        #0a1f3d;
  --navy-deep:   #061429;
  --navy-soft:   #14294a;
  --slate:       #2c3e57;
  --ivory:       #f6f2ea;
  --cream:       #fbf8f2;
  --paper:       #ffffff;
  --gold:        #b08a4a;
  --gold-soft:   #c9a566;
  --line:        #d8d2c4;
  --line-soft:   #e7e1d3;
  --text:        #14233a;
  --text-mid:    #475670;
  --muted:       #8a91a3;

  /* Type */
  --serif:  "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:   "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:   "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Rhythm */
  --grid-max: 1320px;
  --gutter:   24px;
  --col-gap:  32px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   LAYOUT — 12-column grid system
   ============================================================ */

.container {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-7  { grid-column: span 7; }
.col-6  { grid-column: span 6; }
.col-5  { grid-column: span 5; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { font-size: 1rem; color: var(--text-mid); }
.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow-line::before {
  content: "";
  width: 32px; height: 1px; background: var(--gold);
  display: inline-block;
}

.pillar-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 500;
}

.serif { font-family: var(--serif); }

/* ============================================================
   TOP NAVIGATION — sticky, institutional
   ============================================================ */

.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.topnav-inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.01em;
  font-weight: 500;
}
.brand-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--navy);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name span:last-child {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-list a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.86rem;
  color: var(--slate);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-list a:hover,
.nav-list a.active { color: var(--navy); }
.nav-list a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--gold);
}

/* Dropdown */
.nav-item.has-drop { position: relative; }
.nav-item.has-drop > a::after {
  content: "›";
  display: inline-block;
  margin-left: 6px;
  transform: rotate(90deg);
  font-size: 0.85rem;
  color: var(--muted);
}
.nav-drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  padding: 12px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s var(--ease);
  box-shadow: 0 18px 40px -20px rgba(10, 31, 61, 0.18);
}
.nav-item.has-drop:hover .nav-drop,
.nav-item.has-drop:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop a {
  display: block;
  padding: 11px 22px;
  font-size: 0.85rem;
  color: var(--slate);
}
.nav-drop a:hover { background: var(--ivory); color: var(--navy); }
.nav-drop a span {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: all 0.22s var(--ease);
}
.nav-cta:hover { background: var(--navy); color: var(--cream); }

/* Burger (mobile) */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 18px; height: 1.5px; background: var(--navy);
}

/* ============================================================
   HERO — Framework-led
   ============================================================ */

.hero {
  padding: 88px 0 96px;
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta .meta-l { color: var(--gold); }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  color: var(--navy);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  transition: all 0.22s var(--ease);
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover { background: var(--navy-deep); }
.btn-ghost {
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-arrow::after { content: "→"; font-size: 1rem; }

/* Hero image card */
.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid var(--line);
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(10, 31, 61, 0.06);
  pointer-events: none;
}
.portrait-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(180deg, transparent, rgba(6, 20, 41, 0.85));
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   FRAMEWORK GRID (4 pillars)
   ============================================================ */

.framework {
  padding: 110px 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.framework-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-soft);
}
.framework-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.01em;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  padding: 44px 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.25s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.pillar:hover { background: var(--cream); }
.pillar .pillar-num {
  display: block;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.pillar h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--navy);
}
.pillar p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-mid);
  flex-grow: 1;
}
.pillar .pillar-link {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  align-self: flex-start;
}

/* ============================================================
   SECTION — Executive Snapshot
   ============================================================ */

.snapshot {
  padding: 110px 0;
  background: var(--cream);
}
.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.snapshot-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
}
.snapshot-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 25%;
}

.fact-list {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}
.fact-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.94rem;
}
.fact-list li span:first-child {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.fact-list li span:last-child { color: var(--text); }

/* ============================================================
   IMPACT BAR (numbers)
   ============================================================ */

.impact {
  padding: 80px 0;
  background: var(--navy);
  color: var(--cream);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
}
.impact-item {
  padding: 18px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.impact-item:first-child { border-left: none; }
.impact-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.impact-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.7);
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */

.quote-block {
  padding: 110px 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
.quote-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.quote-inner blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.35;
  color: var(--navy);
  font-style: italic;
  font-weight: 400;
  position: relative;
  padding: 0 20px;
  margin-bottom: 32px;
}
.quote-inner blockquote::before,
.quote-inner blockquote::after {
  content: '"';
  font-family: var(--serif);
  color: var(--gold);
  font-size: 2rem;
  position: relative;
  top: 6px;
}
.quote-attr {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */

.page-header {
  padding: 80px 0 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
}
.page-header-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.page-header-meta .pn { color: var(--gold); }
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: 880px;
  margin-bottom: 24px;
  line-height: 1.08;
}
.page-header p {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ============================================================
   SECTION GENERIC
   ============================================================ */

.section {
  padding: 96px 0;
}
.section-pad-sm { padding: 72px 0; }
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-ivory { background: var(--ivory); }

.section-title {
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.feature-list {
  list-style: none;
  margin-top: 32px;
}
.feature-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
}
.feature-list li:first-child { border-top: 1px solid var(--line); }
.feature-list .fnum {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  padding-top: 6px;
}
.feature-list h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.feature-list p { font-size: 0.95rem; color: var(--text-mid); }

/* Two-col content blocks */
.content-cols {
  columns: 2;
  column-gap: 56px;
  margin-top: 32px;
}
.content-cols p { margin-bottom: 18px; break-inside: avoid; }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color 0.22s var(--ease);
}
.card:hover { border-color: var(--navy); }
.card .pillar-num { margin-bottom: 18px; }
.card h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.card p { font-size: 0.92rem; line-height: 1.6; }

/* ============================================================
   GALLERY — uniform rows, precise alignment
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  padding: 40px 0;
}

/* Each row in the grid uses align-items: stretch so figures match heights */
.gallery-grid > .gallery-item { align-self: stretch; }

.gallery-item {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-item .img-wrap {
  position: relative;
  width: 100%;
  background: var(--ivory);
  overflow: hidden;
  display: block;
}
.gallery-item .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

/* Reference imagery (non-portrait) — center the subject */
.gallery-item.is-reference .img-wrap { background: var(--cream); }
.gallery-item.is-reference .img-wrap img {
  object-fit: cover;
  object-position: center center;
}

/* Aspect-ratio modifiers — applied at row level to keep heights consistent */
.gallery-item.aspect-portrait .img-wrap { aspect-ratio: 4 / 5; }
.gallery-item.aspect-landscape .img-wrap { aspect-ratio: 4 / 3; }

.gallery-item .gcap {
  padding: 20px 24px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  margin-top: auto;
}
.gallery-item .gcap span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.gallery-item .gcap p {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.35;
}

/* Column spans */
.gi-6 { grid-column: span 6; }
.gi-7 { grid-column: span 7; }
.gi-5 { grid-column: span 5; }
.gi-4 { grid-column: span 4; }
.gi-8 { grid-column: span 8; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px 0;
}
.contact-info h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 24px;
}
.contact-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.contact-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact-list .clabel {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-list a, .contact-list span:last-child {
  color: var(--navy);
  font-size: 1rem;
}
.contact-list a:hover { color: var(--gold); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 44px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--navy);
  transition: border-color 0.22s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--navy);
}
.form-row textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(251, 248, 242, 0.85);
  padding: 80px 0 36px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: 0.005em;
}
.footer-brand-sub {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 24px;
}
.footer-grid p { color: rgba(251, 248, 242, 0.7); font-size: 0.92rem; line-height: 1.65; }
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a {
  color: rgba(251, 248, 242, 0.78);
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
.footer-grid a:hover { color: var(--gold-soft); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  transition: all 0.2s var(--ease);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-base {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.55);
}
.footer-base a { color: var(--gold-soft); }

/* ============================================================
   PASSWORD GATE
   ============================================================ */

.gate-page {
  min-height: 100vh;
  background: var(--navy-deep);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.gate-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(176, 138, 74, 0.12), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(176, 138, 74, 0.08), transparent 60%);
  pointer-events: none;
}
.gate-top, .gate-bottom {
  padding: 36px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.55);
  position: relative;
  z-index: 1;
}
.gate-top .brand-mark {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}
.gate-top .brand {
  color: var(--cream);
  gap: 14px;
}
.gate-top .brand-name span:last-child { color: var(--gold-soft); }

.gate-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}
.gate-card {
  width: 100%;
  max-width: 520px;
  text-align: center;
}
.gate-card .eyebrow {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-soft);
}
.gate-card h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.gate-card .gate-sub {
  color: rgba(251, 248, 242, 0.7);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.gate-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.gate-input-wrap {
  width: 100%;
  display: flex;
  border: 1px solid rgba(251, 248, 242, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.gate-input-wrap input {
  flex: 1;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  outline: none;
}
.gate-input-wrap input::placeholder { color: rgba(251, 248, 242, 0.4); }
.gate-input-wrap button {
  padding: 0 28px;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s var(--ease);
}
.gate-input-wrap button:hover { background: var(--gold-soft); }
.gate-error {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d97a7a;
  margin-top: 8px;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.gate-error.show { opacity: 1; }

.gate-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 36px 0 24px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.4);
}
.gate-divider span {
  width: 36px; height: 1px; background: rgba(251, 248, 242, 0.18);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .framework-head { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .snapshot-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-item { padding: 24px 20px; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .impact-item:first-child { border-top: none; }
  .col-7, .col-5, .col-6, .col-4, .col-8 { grid-column: span 12; }
  .gi-7, .gi-5, .gi-6, .gi-4, .gi-8 { grid-column: span 12; }
}

@media (max-width: 768px) {
  .nav-list { display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 0; align-items: stretch; }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 14px 24px; }
  .nav-item.has-drop .nav-drop { position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none; border-top: 1px solid var(--line-soft);
    background: var(--ivory); padding: 4px 0; min-width: auto; }
  .nav-item.has-drop > a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .pillars { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .content-cols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
  .hero { padding: 56px 0 64px; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gate-top, .gate-bottom { padding: 24px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .framework, .snapshot, .quote-block, .section { padding: 64px 0; }
  .fact-list li { grid-template-columns: 1fr; gap: 4px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .feature-list li { grid-template-columns: 1fr; gap: 4px; }
  .feature-list .fnum { padding-top: 0; }
  .contact-form { padding: 28px; }
}
