/* ============================================================
   BLUE STONE EQUITIES — v6
   Deep blue-black + ivory + brass + signal sapphire.
   Restraint-first. Pop comes from discipline, not decoration.
   ============================================================ */

:root {
  /* --- PRIMARY DARK --- */
  --ink: #0a1628;         /* deep blue-black */
  --ink-2: #0f1d30;       /* next level */
  --ink-3: #142640;       /* surface elevation */
  --ink-4: #1e3152;       /* raised surface */
  --ink-5: #2d4268;       /* subtle accent */

  /* --- LIGHT --- */
  --ivory: #f2ead8;       /* warm paper */
  --ivory-warm: #e8ddc3;  /* body text on dark */
  --ivory-mute: #b8ad8f;  /* secondary text */
  --ivory-dim: #7a7260;   /* tertiary */

  /* --- BRASS (primary warm accent) --- */
  --brass: #c8994a;       /* nameplate brass */
  --brass-lit: #e8b86b;   /* lit brass */
  --brass-deep: #9a7530;  /* shadow brass */

  /* --- SIGNAL SAPPHIRE (the pop) --- */
  --sapphire: #3d6fc4;    /* electric blue */
  --sapphire-lit: #6b96d9; /* bright */
  --sapphire-deep: #274a87; /* shadow */

  /* --- RULES --- */
  --rule: rgba(232, 221, 195, 0.08);
  --rule-mid: rgba(232, 221, 195, 0.14);
  --rule-strong: rgba(232, 221, 195, 0.22);
  --rule-brass: rgba(200, 153, 74, 0.4);
  --rule-brass-lit: rgba(232, 184, 107, 0.7);
  --rule-sapphire: rgba(61, 111, 196, 0.5);

  /* --- TYPE --- */
  --display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* --- LAYOUT --- */
  --max: 1400px;
  --gutter: clamp(24px, 5vw, 88px);
  --sect-pad: clamp(100px, 12vw, 200px);

  /* --- MOTION --- */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
section[id] { scroll-margin-top: 84px; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ivory-warm);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
::selection { background: var(--brass); color: var(--ink); }
*:focus-visible { outline: 1px solid var(--sapphire-lit); outline-offset: 3px; }

/* ============================================================
   MASTHEAD
   ============================================================ */
.mast {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--gutter);
  background: rgba(10, 22, 40, 0.75);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mast.scrolled {
  background: rgba(10, 22, 40, 0.95);
  border-bottom-color: var(--rule-mid);
}
.mast-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  flex-shrink: 0;
  transition: color 0.3s var(--ease);
}
.brand:hover { color: var(--brass-lit); }
.brand-mark { color: var(--brass); transition: color 0.3s var(--ease); }
.brand:hover .brand-mark { color: var(--brass-lit); }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.bt-name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: inherit;
  margin-bottom: 3px;
}
.bt-mark {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--brass);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ivory-mute);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover { color: var(--ivory); }
.nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--brass);
  color: var(--brass-lit);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out);
}
.nav-cta > * { position: relative; z-index: 1; }
.nav-cta:hover { color: var(--ink); }
.nav-cta:hover::before { transform: translateY(0); }

.burger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--ivory);
  margin-left: auto;
  transition: all 0.3s var(--ease);
}
.burger span:nth-child(2) { width: 14px; }

@media (max-width: 900px) {
  .nav, .nav-cta { display: none; }
  .burger { display: flex; }
  .bt-mark { display: none; }
}

.nav.open {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--ink);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px var(--gutter);
  margin-left: 0;
  gap: 32px;
  z-index: 40;
}
.nav.open a {
  font-family: var(--display);
  font-size: 36px;
  color: var(--ivory);
}

/* ============================================================
   HERO — three things: meta, headline, action
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--ink);
}
.hero-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-top: clamp(30px, 6vh, 80px);
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 64px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  opacity: 0;
  animation: fadeIn 0.9s var(--ease-out) 0.2s both;
}
.hm-num {
  color: var(--brass-lit);
  font-weight: 500;
}
.hm-bar {
  width: 28px; height: 1px;
  background: var(--rule-brass-lit);
}
.hm-dot {
  color: var(--sapphire-lit);
  font-size: 7px;
  opacity: 0.9;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-h1 {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 148px);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ivory);
  margin-bottom: 72px;
  max-width: 1200px;
}
.hh-line {
  display: block;
  overflow: hidden;
}
.hh-line > * {
  display: inline-block;
}
.hh-line {
  transform: translateY(110%);
  opacity: 0;
  animation: lineUp 1.1s var(--ease-out) both;
}
.hh-line:nth-child(1) { animation-delay: 0.3s; }
.hh-line:nth-child(2) { animation-delay: 0.5s; }
.hh-line:nth-child(3) { animation-delay: 0.7s; }

@keyframes lineUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-lit);
  position: relative;
  display: inline-block;
}

.hero-action {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 0.9s var(--ease-out) 1.1s both;
}

.btn-prime {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--brass);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn-prime::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--ivory);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}
.btn-prime > * { position: relative; z-index: 1; }
.btn-prime:hover::before { transform: translateX(0); }
.btn-prime svg { transition: transform 0.4s var(--ease-out); }
.btn-prime:hover svg { transform: translateX(4px); }

.btn-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  padding: 18px 2px;
  border-bottom: 1px solid var(--rule-strong);
  transition: all 0.3s var(--ease);
}
.btn-link:hover {
  color: var(--sapphire-lit);
  border-bottom-color: var(--sapphire);
}

/* Hero data rail — bottom */
.hero-rail {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 32px 0 0;
  border-top: 1px solid var(--rule-brass);
  opacity: 0;
  animation: fadeIn 0.9s var(--ease-out) 1.3s both;
}
@media (max-width: 800px) {
  .hero-rail { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.hr-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hr-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.hr-value {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: -0.005em;
}

/* ============================================================
   SECTIONS shared
   ============================================================ */
.sect {
  padding: var(--sect-pad) var(--gutter);
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.sect-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(50px, 5vw, 90px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule-mid);
}
.sh-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brass-lit);
  font-weight: 500;
}
.sh-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.sh-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.big {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--ivory);
  margin-bottom: 32px;
}
.big em {
  font-style: italic;
  font-weight: 300;
  color: var(--brass-lit);
}

.sect-sub {
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ivory-mute);
  font-style: italic;
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 80px;
}

/* ============================================================
   FIRM
   ============================================================ */
.firm-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 6vw, 120px);
  align-items: start;
}
@media (max-width: 900px) {
  .firm-body { grid-template-columns: 1fr; }
}

.firm-right {
  font-family: var(--display);
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ivory-mute);
  font-weight: 300;
}
.firm-right p { margin-bottom: 22px; }
.firm-right .lede {
  font-size: 24px;
  line-height: 1.4;
  color: var(--ivory-warm);
  font-style: italic;
  padding-left: 28px;
  border-left: 2px solid var(--brass);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.hl {
  color: var(--sapphire-lit);
  font-style: italic;
  position: relative;
}

.firm-neg {
  margin-top: 48px;
  padding: 32px;
  background: var(--ink-2);
  border: 1px solid var(--rule-mid);
  position: relative;
}
.firm-neg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 2px;
  background: var(--brass);
}
.fn-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-lit);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.firm-neg ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.firm-neg li {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ivory);
  padding-left: 24px;
  position: relative;
  letter-spacing: -0.005em;
}
.firm-neg li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--brass);
}

/* ============================================================
   THESIS — cinematic
   ============================================================ */
.thesis {
  background: var(--ink-2);
  max-width: none;
  margin: 0;
  position: relative;
  overflow: hidden;
  padding: clamp(120px, 14vw, 220px) var(--gutter);
}
.thesis::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 75% 25%, rgba(200, 153, 74, 0.1) 0%, transparent 55%),
    radial-gradient(800px 500px at 15% 85%, rgba(61, 111, 196, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.thesis-wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}
.thesis-head {
  margin-bottom: clamp(60px, 6vw, 100px);
}

.thesis-q {
  font-family: var(--display);
  font-size: clamp(36px, 5.8vw, 84px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--ivory);
  max-width: 1300px;
  margin: 0 0 60px;
}
.tq-open, .tq-close {
  color: var(--brass);
  font-weight: 400;
  font-family: var(--display);
}
.thesis-q em {
  font-style: italic;
  color: var(--brass-lit);
  font-weight: 300;
}

.thesis-sig {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.ts-bar {
  height: 1px;
  width: 80px;
  background: var(--rule-brass);
}
.ts-bar:last-child { flex: 1; max-width: 200px; }

/* ============================================================
   PRACTICE — 2×2 quadrant grid
   ============================================================ */
.practice-head {
  margin-bottom: 32px;
}

.prac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule-mid);
  border: 1px solid var(--rule-mid);
}
@media (max-width: 800px) {
  .prac-grid { grid-template-columns: 1fr; }
}

.prac {
  padding: 48px 40px;
  background: var(--ink);
  transition: background 0.4s var(--ease);
  position: relative;
}
.prac::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.prac:hover { background: var(--ink-2); }
.prac:hover::before { transform: scaleX(1); }

.prac-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.pm-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass-lit);
  font-weight: 500;
}
.pm-line {
  flex: 1; height: 1px;
  background: var(--rule-brass);
}
.pm-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.prac h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ivory);
  margin-bottom: 16px;
  line-height: 1.1;
}
.prac p {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ivory-mute);
  font-weight: 300;
  margin-bottom: 24px;
}
.prac-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prac-chips li {
  padding: 7px 14px;
  border: 1px solid var(--rule-brass);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-lit);
  background: rgba(200, 153, 74, 0.03);
  transition: all 0.3s var(--ease);
}
.prac-chips li:hover {
  background: rgba(200, 153, 74, 0.1);
  color: var(--ivory);
  border-color: var(--brass);
}

/* ============================================================
   PRINCIPLES — 3×2 grid
   ============================================================ */
.principles {
  background: var(--ink-2);
  max-width: none;
  margin: 0;
  padding: var(--sect-pad) var(--gutter);
}
.principles .sect-head,
.principles .big,
.principles .princ-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.principles .big { margin-bottom: 64px; }

.princ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-mid);
  border: 1px solid var(--rule-mid);
}
@media (max-width: 900px) { .princ-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .princ-grid { grid-template-columns: 1fr; } }

.princ {
  padding: 40px 32px;
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s var(--ease);
}
.princ:hover { background: var(--ink-3); }

.pr-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--brass-lit);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}
.princ h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.princ p {
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ivory-mute);
  font-weight: 300;
}

/* ============================================================
   ENGAGEMENT
   ============================================================ */
.engage {
  list-style: none;
  border-top: 1px solid var(--rule-mid);
  margin-top: 40px;
}
.engage li {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background 0.3s var(--ease);
}
.engage li:hover { background: rgba(200, 153, 74, 0.02); }
@media (max-width: 700px) {
  .engage li { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
}

.eg-marker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--brass);
}
.em-n {
  font-family: var(--display);
  font-size: 40px;
  font-style: italic;
  font-weight: 300;
  color: var(--brass-lit);
  line-height: 1;
  letter-spacing: -0.02em;
}
.em-w {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.eg-body h3 {
  font-family: var(--display);
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin-bottom: 12px;
  line-height: 1.1;
}
.eg-body p {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ivory-mute);
  font-weight: 300;
  max-width: 760px;
}

/* ============================================================
   CORRESPONDENCE
   ============================================================ */
.corr {
  background: var(--ink-2);
  max-width: none;
  margin: 0;
  padding: var(--sect-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}
.corr::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 80% 15%, rgba(200, 153, 74, 0.1) 0%, transparent 50%),
    radial-gradient(600px 400px at 15% 90%, rgba(61, 111, 196, 0.08) 0%, transparent 55%);
  pointer-events: none;
}
.corr .sect-head,
.corr-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.corr-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(60px, 6vw, 120px);
  align-items: start;
}
@media (max-width: 900px) { .corr-grid { grid-template-columns: 1fr; } }

.corr-intro {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ivory-mute);
  font-style: italic;
  font-weight: 300;
  max-width: 440px;
  margin-top: 24px;
  margin-bottom: 48px;
}

.corr-info {
  border-top: 1px solid var(--rule-brass);
  padding-top: 20px;
}
.ci-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dotted var(--rule);
}
.ci-row:last-child { border-bottom: none; }
.ci-row dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.ci-row dd {
  font-family: var(--display);
  font-size: 18px;
  font-style: italic;
  color: var(--brass-lit);
  font-weight: 400;
}

/* The form — ivory letterhead */
.corr-form {
  background: var(--ivory);
  color: var(--ink);
  padding: clamp(32px, 3.5vw, 56px);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(200, 153, 74, 0.3);
  position: relative;
}
.corr-form::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 0.5px solid var(--rule-brass);
  pointer-events: none;
}

.cf-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--ink);
  position: relative;
}
.cf-head::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: var(--brass);
}
.cfh-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
}
.cfh-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a4a5e;
  margin-top: 6px;
  font-weight: 500;
}
.cfh-mark { color: var(--ink); }

.cf-field { margin-bottom: 22px; }
.cf-field label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a5a6e;
  margin-bottom: 8px;
  font-weight: 500;
}
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10, 22, 40, 0.2);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  transition: border-color 0.3s var(--ease);
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-bottom-color: var(--brass);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(10, 22, 40, 0.35);
  font-style: italic;
}
.cf-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='%23c8994a'%3E%3Cpath d='M6 7 L0 0 L12 0 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 10px;
  padding-right: 24px;
  cursor: pointer;
}
.cf-field textarea { resize: vertical; min-height: 90px; }

.cf-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 500px) { .cf-two { grid-template-columns: 1fr; gap: 0; } }

.cf-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 24px 0 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(10, 22, 40, 0.15);
  border-bottom: 1px solid rgba(10, 22, 40, 0.15);
  cursor: pointer;
}
.cf-check input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px;
  border: 1px solid var(--ink);
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.cf-check input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.cf-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid var(--brass-lit);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.cf-check span {
  font-family: var(--display);
  font-size: 14.5px;
  line-height: 1.5;
  color: #4a5a6e;
  font-style: italic;
}

.cf-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px 28px;
  background: var(--ink);
  color: var(--brass-lit);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cf-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--brass);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease-out);
}
.cf-submit > * { position: relative; z-index: 1; }
.cf-submit:hover { color: var(--ink); }
.cf-submit:hover::before { transform: translateY(0); }
.cf-submit svg { transition: transform 0.4s var(--ease-out); }
.cf-submit:hover svg { transform: translateX(4px); }

/* ============================================================
   COLOPHON
   ============================================================ */
.colo {
  background: var(--ink);
  border-top: 1px solid var(--rule-mid);
  padding: 80px var(--gutter) 40px;
  position: relative;
}
.colo::before {
  content: '';
  position: absolute;
  top: -1px; left: var(--gutter);
  width: 80px; height: 1px;
  background: var(--brass);
}
.colo-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.colo-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
@media (max-width: 800px) {
  .colo-top { flex-direction: column; gap: 32px; }
}

.colo-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ivory);
}
.cb-mark { color: var(--brass); }
.cb-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.cb-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
}

.colo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.colo-nav a {
  font-family: var(--display);
  font-size: 15px;
  font-style: italic;
  color: var(--ivory-mute);
  transition: color 0.3s var(--ease);
}
.colo-nav a:hover { color: var(--brass-lit); }

.colo-disclaim {
  padding: 24px 28px;
  background: var(--ink-2);
  border-left: 2px solid var(--brass);
  margin-bottom: 32px;
}
.colo-disclaim p {
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ivory-mute);
  font-style: italic;
  font-weight: 300;
}
.colo-disclaim strong {
  font-style: normal;
  color: var(--ivory);
  font-weight: 500;
}

.colo-base {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.cb-d { color: var(--brass); font-size: 8px; }

/* ============================================================
   REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .sect, .corr, .principles, .thesis {
    opacity: 0;
    transition: opacity 1s var(--ease);
  }
  .sect.rev, .corr.rev, .principles.rev, .thesis.rev {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   CORRESPONDENCE CARD — v6.1
   Elegant email card replacing the form. Feels like a
   letterpressed calling card floating on the ink surface.
   ============================================================ */

.corr-card {
  background: var(--ivory);
  color: var(--ink);
  padding: 0;
  position: relative;
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(200, 153, 74, 0.3);
  display: flex;
  flex-direction: column;
}
.corr-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 0.5px solid rgba(200, 153, 74, 0.4);
  pointer-events: none;
}

.cc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(32px, 3.5vw, 48px) clamp(32px, 3.5vw, 56px) 20px;
  border-bottom: 2px solid var(--ink);
  position: relative;
  margin: 0 clamp(22px, 2vw, 28px);
}
.cc-head::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: var(--brass);
}
.cch-title {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
}
.cch-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #3a4a5e;
  margin-top: 6px;
  font-weight: 500;
}
.cch-mark {
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 4px;
}

.cc-body {
  padding: 32px clamp(32px, 3.5vw, 56px) clamp(32px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cc-salutation {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.6;
  color: #2a3a4e;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.005em;
}

/* The email itself — treated as the centerpiece */
.cc-email {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 0;
  border-top: 1px solid rgba(10, 22, 40, 0.15);
  border-bottom: 1px solid rgba(10, 22, 40, 0.15);
  color: var(--ink);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.cc-email:hover {
  color: var(--brass-deep);
}
.cc-email:hover .cc-email-addr {
  color: var(--brass-deep);
  letter-spacing: 0.005em;
}

.cc-email-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4a5a6e;
  font-weight: 500;
}

.cc-email-addr {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.1;
  transition: all 0.4s var(--ease-out);
  /* No italic — email addresses shouldn't be italic */
  font-style: normal;
}

.cc-email-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--brass);
  margin-top: 4px;
  transition: width 0.4s var(--ease-out);
}
.cc-email:hover .cc-email-rule {
  width: 120px;
}

.cc-email-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a6a7e;
  font-weight: 500;
  margin-top: 6px;
}
.cc-email-note svg {
  transition: transform 0.4s var(--ease-out);
}
.cc-email:hover .cc-email-note svg {
  transform: translateX(4px);
  color: var(--brass-deep);
}
.cc-email:hover .cc-email-note {
  color: var(--brass-deep);
}

.cc-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ccf-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ccf-k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5a6a7e;
  font-weight: 500;
}
.ccf-v {
  font-family: var(--display);
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  font-weight: 500;
}

.cc-attest {
  font-family: var(--display);
  font-size: 13px;
  line-height: 1.6;
  color: #4a5a6e;
  font-style: italic;
  font-weight: 300;
  padding-top: 20px;
  border-top: 1px solid rgba(10, 22, 40, 0.1);
}

