/* =============================================================
   InnovateX — Independent Strategic Intelligence Advisory
   Design system
   Palette: charcoal ink, deep navy, warm off-white paper,
            muted grey, restrained brass accent.
   Type:    Newsreader (editorial serif) / Archivo (grotesque)
            / IBM Plex Mono (intelligence-brief labels)
   ============================================================= */

:root {
  /* Core palette */
  --paper:        #f5f2ec;   /* warm off-white */
  --paper-2:      #efeae1;   /* slightly deeper paper */
  --ink:          #1c1f24;   /* charcoal near-black */
  --ink-soft:     #3a3f47;
  --navy:         #101c2e;   /* deep navy */
  --navy-2:       #16263e;
  --grey:         #6d7178;   /* muted grey text */
  --grey-line:    #d9d3c7;   /* hairline on paper */
  --grey-line-d:  rgba(255,255,255,0.12); /* hairline on dark */
  --brass:        #a67c45;   /* restrained metallic accent */
  --brass-soft:   #c39a63;
  --white-on-dark:#eef0f3;
  --grey-on-dark: #9aa3af;

  /* Type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 3px;

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

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

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
  font-size: 1.0625rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; }
p { max-width: 68ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }

.display {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.018em;
}
.lede {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}
em { font-style: italic; color: var(--brass); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.divider { border: 0; border-top: 1px solid var(--grey-line); }
.measure { max-width: 60ch; }
.stack > * + * { margin-top: 1.1rem; }

/* Dark section */
.dark { background: var(--navy); color: var(--white-on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: var(--grey-on-dark); }
.dark .divider { border-color: var(--grey-line-d); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--brass); color: #fff; }
.dark .btn--primary { background: var(--brass); color: #fff; }
.dark .btn--primary:hover { background: #fff; color: var(--navy); }

.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.dark .btn--ghost { color: var(--white-on-dark); border-color: rgba(255,255,255,0.35); }
.dark .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { color: var(--brass); gap: 0.85em; }
.dark .link-arrow { color: #fff; }
.dark .link-arrow:hover { color: var(--brass-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,242,236,0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--grey-line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand-logo { height: 44px; width: auto; flex: none; display: block; }
.brand-word { display: flex; flex-direction: column; gap: 0.18rem; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1; }
.brand b { font-weight: 500; }
.brand .brand-mark {
  font-weight: 500;
  color: #e82f3a; /* fallback for non-supporting browsers */
  background: linear-gradient(135deg, #f26c1f 0%, #e82c3a 50%, #e01e5a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand .brand-sub {
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey); line-height: 1;
}
@media (max-width: 420px) { .brand-logo { height: 40px; } .brand-name { font-size: 1.2rem; } }

.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding-block: 0.4rem; transition: color .25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--grey-line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--grey-line); }
  .nav-links a { display: block; padding: 1rem 0; font-size: 1.1rem; font-family: var(--serif); }
  .nav-links a::after { display: none; }
  .nav-menu .nav-cta { margin-top: 1.6rem; flex-direction: column; align-items: stretch; width: 100%; }
  .nav-menu .btn { justify-content: center; }
}
.nav-menu { display: flex; align-items: center; gap: 2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::after { /* subtle vignette */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 78% 8%, rgba(166,124,69,0.16), transparent 55%),
              linear-gradient(180deg, #0c1626 0%, #101c2e 60%, #0e1a2b 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; min-height: min(84vh, 760px); padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero-copy { max-width: 40ch; }
.hero .display { color: #fff; }
.hero-copy .lede { color: var(--grey-on-dark); margin-top: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-meta { margin-top: 3rem; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-meta .item { border-left: 1px solid var(--grey-line-d); padding-left: 1rem; }
.hero-meta .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-soft); }
.hero-meta .v { font-size: 0.95rem; color: var(--white-on-dark); margin-top: 0.25rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 2.5rem; }
  .hero-visual { order: -1; }
}

/* Node/connection motif (SVG lives inline in markup) */
.node-motif { width: 100%; height: auto; opacity: 0.95; }
.node-motif .n-dot { fill: var(--brass-soft); }
.node-motif .n-dot-hollow { fill: none; stroke: var(--brass-soft); stroke-width: 1.2; }
.node-motif .n-line { stroke: rgba(255,255,255,0.22); stroke-width: 1; fill: none; }
.node-motif .n-ring { fill: none; stroke: rgba(255,255,255,0.10); stroke-width: 1; }

/* ---------- Section head ---------- */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .section-title { margin-top: 1.1rem; }
.section-head .lede { margin-top: 1.2rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--grey-line); border: 1px solid var(--grey-line); }
.svc-card {
  background: var(--paper);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 100%;
  transition: background .3s var(--ease);
  position: relative;
}
.svc-card:hover { background: var(--paper-2); }
.svc-num { font-family: var(--mono); font-size: 0.78rem; color: var(--brass); letter-spacing: 0.1em; }
.svc-card h3 { font-size: 1.5rem; }
.svc-card p { color: var(--grey); font-size: 1rem; }
.svc-card .link-arrow { margin-top: auto; align-self: flex-start; font-size: 0.88rem; }
@media (max-width: 720px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Process / How we think ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--grey-line-d); }
.process .step { background: var(--navy); padding: 1.8rem 1.4rem; }
.process .step .num { font-family: var(--mono); font-size: 0.8rem; color: var(--brass-soft); }
.process .step h4 { color: #fff; font-size: 1.18rem; margin-top: 0.8rem; line-height: 1.15; }
.process .step p { color: var(--grey-on-dark); font-size: 0.92rem; margin-top: 0.5rem; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Two column split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--copy-first { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 820px) { .split, .split--copy-first { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Bullet list with rules */
.checklist { list-style: none; }
.checklist li { position: relative; padding: 0.95rem 0 0.95rem 1.9rem; border-top: 1px solid var(--grey-line); font-size: 1.02rem; }
.checklist li:last-child { border-bottom: 1px solid var(--grey-line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 8px; height: 8px; border: 1px solid var(--brass); border-radius: 50%; }
.dark .checklist li { border-color: var(--grey-line-d); color: var(--grey-on-dark); }

/* is / is-not columns */
.isnot { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.isnot .col { border: 1px solid var(--grey-line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--paper); }
.isnot .col h3 { font-size: 1.35rem; margin-bottom: 1rem; }
.isnot .col ul { list-style: none; }
.isnot .col li { padding: 0.55rem 0 0.55rem 1.7rem; position: relative; color: var(--ink-soft); font-size: 1rem; }
.isnot .is li::before { content: "+"; position: absolute; left: 0; color: var(--brass); font-weight: 600; }
.isnot .isnot-col { background: transparent; }
.isnot .isnot-col li::before { content: "\2013"; position: absolute; left: 0; color: var(--grey); }
@media (max-width: 720px) { .isnot { grid-template-columns: 1fr; } }

/* Legibility on dark surfaces: the is / is-not columns sit inside a dark
   section, so their list text and markers need light-on-dark colours. */
.dark .isnot .col li { color: var(--white-on-dark); }
.dark .isnot .is li::before { color: var(--brass-soft); }
.dark .isnot .isnot-col li::before { color: var(--brass-soft); }

/* ---------- Detailed service blocks ---------- */
.svc-detail { border-top: 1px solid var(--grey-line); padding-block: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 90px; }
.svc-detail-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-detail .lead-col .svc-num { font-size: 1rem; }
.svc-detail h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 0.8rem; }
.svc-detail .purpose { font-size: 1.15rem; color: var(--ink-soft); margin-top: 1.1rem; }
.qa { }
.qa .q { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); margin-top: 1.6rem; }
.qa .a { margin-top: 0.45rem; color: var(--ink-soft); }
.qa .a ul { margin-top: 0.5rem; padding-left: 1.1rem; color: var(--grey); }
.qa .a li { margin-top: 0.3rem; }
.outcome { margin-top: 1.8rem; padding: 1.2rem 1.4rem; border-left: 2px solid var(--brass); background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0; }
.outcome .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.outcome p { margin-top: 0.35rem; font-size: 1.05rem; color: var(--ink); font-family: var(--serif); font-style: italic; }
@media (max-width: 820px) { .svc-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Approach steps (numbered editorial) ---------- */
.approach-step { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem,4vw,3rem); padding-block: clamp(2rem,4vw,3rem); border-top: 1px solid var(--grey-line); align-items: baseline; }
.approach-step .big-num { font-family: var(--serif); font-size: clamp(2.5rem,5vw,4rem); color: var(--grey-line); line-height: 1; }
.approach-step h3 { font-size: clamp(1.4rem,2.6vw,1.9rem); }
.approach-step .q { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin-top: 0.5rem; }
.approach-step p { margin-top: 0.8rem; color: var(--ink-soft); }
@media (max-width: 640px){ .approach-step { grid-template-columns: 1fr; gap: 0.4rem; } .approach-step .big-num{ font-size:2rem; } }

/* ---------- Engagement models ---------- */
.eng-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.eng-card { border: 1px solid var(--grey-line); border-radius: var(--radius); padding: clamp(1.6rem,3vw,2.2rem); background: var(--paper); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.eng-card:hover { transform: translateY(-3px); border-color: var(--brass); }
.eng-card h3 { font-size: 1.3rem; }
.eng-card p { color: var(--grey); font-size: 0.98rem; margin-top: 0.6rem; }
@media (max-width: 720px){ .eng-grid { grid-template-columns: 1fr; } }
/* Engagement cards on the dark engagement band read as light-on-dark. */
.dark .eng-card { border-color: var(--grey-line-d); }
.dark .eng-card h3 { color: #fff; }
.dark .eng-card p { color: var(--white-on-dark); }

/* ---------- Founder ---------- */
.founder-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem,6vw,5rem); align-items: center; }

/* Circular founder portrait — generous whitespace + soft shadow, transparency-aware */
.founder-photo { margin: 0; display: flex; justify-content: center; padding: clamp(0.5rem,2.5vw,1.75rem); }
.founder-photo picture, .founder-photo img { display: block; width: 100%; max-width: 460px; height: auto; }
.founder-photo img {
  border-radius: 50%;
  filter: drop-shadow(0 22px 45px rgba(16,28,46,0.20));
}
@media (max-width: 720px) { .founder-photo img { max-width: 320px; } }

.founder-role {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-top: 0.6rem;
}
.founder-quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem,2.2vw,1.55rem);
  line-height: 1.35; color: var(--ink-soft); border-left: 2px solid var(--brass);
  padding-left: 1.3rem; margin-top: 2rem; max-width: 40ch;
}
.founder-cta { margin-top: 2rem; }

.headshot {
  aspect-ratio: 1/1; border-radius: var(--radius); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.headshot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.headshot .monogram { font-family: var(--serif); font-size: clamp(3rem,8vw,5rem); color: rgba(255,255,255,0.9); }
.headshot .ph-note {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 0.7rem 1rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey-on-dark); background: rgba(0,0,0,0.35); text-align: center;
}
@media (max-width: 720px){ .founder-split { grid-template-columns: 1fr; } .headshot { max-width: 340px; } }

.cred-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--grey-line); border: 1px solid var(--grey-line); margin-top: 2rem; }
.cred-grid .c { background: var(--paper); padding: 1.5rem; }
.cred-grid .c .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); }
.cred-grid .c .v { font-family: var(--serif); font-size: 1.5rem; margin-top: 0.4rem; }
.cred-grid .c .d { font-size: 0.85rem; color: var(--grey); margin-top: 0.3rem; }
@media (max-width: 720px){ .cred-grid { grid-template-columns: 1fr; } }

/* ---------- Insights ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; }
.filter-bar button {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55em 1.1em; border: 1px solid var(--grey-line); border-radius: 999px; background: transparent; color: var(--ink-soft);
  transition: all .25s var(--ease);
}
.filter-bar button:hover { border-color: var(--brass); color: var(--ink); }
.filter-bar button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.article-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
@media (max-width: 900px){ .article-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .article-grid { grid-template-columns: 1fr; } }
.article-card {
  border: 1px solid var(--grey-line); border-radius: var(--radius); background: var(--paper);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; min-height: 100%;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.article-card:hover { transform: translateY(-3px); border-color: var(--brass); }
.article-card .cat { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.article-card h3 { font-size: 1.3rem; line-height: 1.15; }
.article-card p { color: var(--grey); font-size: 0.96rem; }
.article-card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--grey-line); }
.article-card .date { font-size: 0.8rem; color: var(--grey); }

/* Case study template card */
.case-block { border: 1px solid var(--grey-line); border-radius: var(--radius); overflow: hidden; }
.case-block .case-head { background: var(--navy); color: #fff; padding: clamp(1.6rem,3vw,2.4rem); }
.case-block .case-head .cat { color: var(--brass-soft); }
.case-body { padding: clamp(1.6rem,3vw,2.4rem); display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem 2.5rem; }
.case-body .field .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.case-body .field .val { margin-top: 0.4rem; color: var(--ink-soft); }
.case-body .field--full { grid-column: 1 / -1; }
@media (max-width: 640px){ .case-body { grid-template-columns: 1fr; } }
.confidential-note { font-size: 0.85rem; color: var(--grey); font-style: italic; margin-top: 1.5rem; }

/* ---------- Contact ---------- */
.contact-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem,6vw,5rem); align-items: start; }
@media (max-width: 820px){ .contact-split { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.3rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 560px){ .form .row { grid-template-columns: 1fr; } }
.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-group label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.field-group label .req { color: var(--brass); }
.field-group input, .field-group select, .field-group textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--grey-line); border-radius: var(--radius);
  padding: 0.85em 1em; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.field-group textarea { resize: vertical; min-height: 130px; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(166,124,69,0.14);
}
.form-note { font-size: 0.82rem; color: var(--grey); }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-size: 0.95rem; }
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(166,124,69,0.12); border: 1px solid var(--brass); color: var(--ink); }
.form-status.err { background: #fbeaea; border: 1px solid #c0392b; color: #7a2018; }
.hp { position: absolute; left: -9999px; }

.contact-aside { border-left: 2px solid var(--brass); padding-left: 1.5rem; }
.contact-aside .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.contact-aside .email { font-family: var(--serif); font-size: clamp(1.2rem,2.2vw,1.6rem); margin: 0.4rem 0 1.5rem; word-break: break-word; }
.contact-aside .email a { border-bottom: 1px solid var(--grey-line); }
.contact-aside .email a:hover { border-color: var(--brass); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(90% 120% at 15% 20%, rgba(166,124,69,0.14), transparent 55%), var(--navy); }
.cta-band .inner { max-width: 60ch; }
.cta-band .display { font-size: clamp(1.9rem,4.2vw,3rem); }
.cta-band .lede { margin: 1.4rem 0 2.2rem; color: var(--grey-on-dark); }

/* ---------- Footer ---------- */
.site-footer { background: #0c1523; color: var(--grey-on-dark); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 1.2rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.footer-brand .brand-logo { height: 46px; width: auto; }
.footer-wordmark { font-family: var(--serif); font-size: 1.5rem; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.footer-wordmark b { font-weight: 500; }
.footer-wordmark .x { color: var(--brass-soft); }
.footer-entity { font-size: 0.92rem; color: var(--white-on-dark); margin-bottom: 0.9rem; }
.footer-entity strong { font-weight: 600; }
.footer-entity .tag { display: block; color: var(--grey-on-dark); font-size: 0.88rem; margin-top: 0.15rem; }
.footer-grid .brand { color: #fff; font-size: 1.5rem; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-grid a { color: var(--grey-on-dark); font-size: 0.94rem; transition: color .2s var(--ease); }
.footer-grid a:hover { color: #fff; }
.footer-grid p { font-size: 0.92rem; color: var(--grey-on-dark); }
.footer-bottom { margin-top: clamp(2.5rem,5vw,3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--grey-line-d); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom p, .footer-bottom a { font-size: 0.8rem; color: var(--grey-on-dark); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-confidential { font-size: 0.82rem; font-style: italic; margin-top: 1rem; max-width: 40ch; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: #fff; padding-block: clamp(4rem,8vw,6.5rem) clamp(3rem,6vw,4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(80% 120% at 85% 0%, rgba(166,124,69,0.12), transparent 50%); }
.page-hero .display { font-size: clamp(2.1rem,5vw,3.6rem); }
.page-hero .lede { color: var(--grey-on-dark); margin-top: 1.3rem; max-width: 52ch; }
.breadcrumb { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-on-dark); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--brass-soft); }

/* Prose (legal / article body) */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: 0.8rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: 0.5rem; font-family: var(--sans); font-weight: 600; }
.prose p { margin-top: 1rem; color: var(--ink-soft); }
.prose ul { margin-top: 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin-top: 0.5rem; }
.prose .placeholder-tag {
  display: inline-block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(166,124,69,0.14); color: var(--brass); padding: 0.2em 0.6em; border-radius: 3px; border: 1px dashed var(--brass);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 0.7rem 1rem; z-index: 200; border-radius: 0 0 var(--radius) 0; }
.skip-link:focus { left: 0; }

/* utility */
.mt-lg { margin-top: 2.5rem; } .mt-md { margin-top: 1.6rem; }
.text-center { text-align: center; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap: clamp(2rem,5vw,4rem); }
@media (max-width:820px){ .grid-2{ grid-template-columns:1fr; } }
