/* ============================================================================
   TRENCH LOGIC STUDIO · WEBSITE DESIGN SYSTEM
   Extends Plavotisk V2.1 visual language to multi-page site context.
   One palette. One typographic voice. One rhythm.
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,400&family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

:root {
  /* ── CORE PALETTE ── */
  --ink:         #0a0b0f;
  --ink-2:       #121318;
  --ink-3:       #1a1c23;
  --bone:        #f2ecdf;
  --bone-2:      #e8e1d0;
  --bone-3:      #ddd4bf;
  --amber:       #d4a24a;
  --amber-dim:   #a47d34;
  --amber-glow:  rgba(212,162,74,0.14);
  --green:       #4a8a6c;
  --green-dim:   rgba(74,138,108,0.14);
  --red:         #a83838;
  --red-dim:     rgba(168,56,56,0.12);
  --border:      #2a2c35;
  --border-light:#c8bfa8;

  --text-on-dark:       #e8e1d0;
  --text-on-dark-dim:   #8a8478;
  --text-on-dark-muted: #4a4840;
  --text-on-light:      #1a1814;
  --text-on-light-dim:  #5a5448;
  --text-on-light-muted:#8a8070;

  --display: 'Fraunces', Georgia, serif;
  --body:    'Inter Tight', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --r-s: 2px; --r-m: 4px; --r-l: 8px;

  --max-w: 1280px;
}

/* ── BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  font-feature-settings: 'ss01','cv11';
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bone);
  color: var(--text-on-light);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── GRAIN OVERLAY ── */
.grain::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border);
  padding: var(--s-4) var(--s-7);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
}
.nav-mark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--amber);
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 24;
}
.nav-mark .reg {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
  margin-left: var(--s-2);
  vertical-align: middle;
}
.nav-links {
  display: flex;
  gap: var(--s-6);
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
  transition: color 0.2s;
  position: relative;
  padding: var(--s-2) 0;
}
.nav-links a:hover, .nav-links a.is-active {
  color: var(--amber);
}
.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--amber);
}
.nav-cta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink) !important;
  background: var(--amber);
  padding: var(--s-3) var(--s-5);
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--bone);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--amber);
}
.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--amber);
  padding: var(--s-2) var(--s-3);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ── TYPOGRAPHY PRIMITIVES ── */
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-block;
}
.eyebrow-dim { color: var(--text-on-light-muted); }
.eyebrow-bone { color: var(--bone-3); }

.display-xl {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 8.5vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144;
}
.display-l {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.018em;
  font-variation-settings: 'opsz' 90;
}
.display-m {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1;
  letter-spacing: -0.012em;
  font-variation-settings: 'opsz' 48;
}
.display-s {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  font-variation-settings: 'opsz' 32;
}
.italic-pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
}
.amber-mark { color: var(--amber); }
.amber-italic { color: var(--amber); font-style: italic; font-family: var(--display); }

p.lead {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--text-on-light-dim);
  font-variation-settings: 'opsz' 24;
  max-width: 60ch;
}
p.body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-light-dim);
  max-width: 65ch;
  margin-bottom: var(--s-4);
}
.mono {
  font-family: var(--mono);
  font-feature-settings: 'tnum';
}

/* ── DIVIDERS ── */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-dim), transparent);
  margin: var(--s-7) 0;
}
.divider-rule {
  height: 1px;
  background: var(--border-light);
  margin: var(--s-6) 0;
}

/* ── AS-IS BANNER ── */
.asis-banner {
  background: var(--ink);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 48px;
  border-bottom: 1px solid var(--amber-dim);
  display: flex;
  align-items: center;
  gap: 14px;
}
.asis-banner::before {
  content: '⬦';
  color: var(--amber);
  font-size: 14px;
}

/* ── CONTAINER ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--s-7);
}
.wrap-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--s-7);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: var(--s-4) var(--s-6);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-primary {
  background: var(--amber);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--bone);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--amber);
}
.btn-ghost {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  font-weight: 500;
  font-size: 11px;
  padding: var(--s-3) var(--s-5);
}
.btn-ghost:hover {
  background: var(--amber-glow);
  border-color: var(--amber);
}
.btn-on-dark {
  background: var(--bone);
  color: var(--ink);
}
.btn-on-dark:hover {
  background: var(--amber);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--bone);
}
.btn-arrow::after {
  content: '→';
  font-family: var(--mono);
  margin-left: var(--s-1);
}

/* ── HERO ── */
.hero {
  padding: var(--s-9) 0 var(--s-8);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-8);
  align-items: end;
}
.hero-eyebrow { margin-bottom: var(--s-5); }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 .mark {
  display: inline-block;
  position: relative;
  color: var(--amber);
}
.hero-kicker {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 24px);
  color: var(--text-on-light-dim);
  max-width: 580px;
  line-height: 1.4;
  font-variation-settings: 'opsz' 24;
  margin-top: var(--s-4);
}
.hero-cta-row {
  display: flex;
  gap: var(--s-4);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}
.hero-meta {
  border-left: 1px solid var(--border-light);
  padding-left: var(--s-7);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.85;
  color: var(--text-on-light-dim);
  letter-spacing: 0.04em;
}
.hero-meta dt {
  color: var(--text-on-light-muted);
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.2em;
  margin-top: var(--s-4);
}
.hero-meta dt:first-child { margin-top: 0; }
.hero-meta dd { color: var(--ink); margin-bottom: var(--s-1); }
.hero-meta dd .amber-mark { color: var(--amber); }

/* ── PAGE HEADER (smaller hero variant) ── */
.page-header {
  padding: var(--s-8) 0 var(--s-7);
  border-bottom: 1px solid var(--border-light);
}
.page-header .eyebrow { margin-bottom: var(--s-4); }
.page-header h1 { margin-bottom: var(--s-3); }
.page-header p.lead { margin-top: var(--s-4); }

/* ── MANIFESTO STRIP ── */
.manifesto {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: var(--s-9) 0;
  border-bottom: 1px solid var(--border);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
  align-items: start;
}
.manifesto-left .eyebrow { color: var(--amber); margin-bottom: var(--s-4); }
.manifesto-left h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.012em;
  font-variation-settings: 'opsz' 48;
}
.manifesto-left h2 em { color: var(--amber); }
.manifesto-right p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-dark-dim);
  margin-bottom: var(--s-4);
  max-width: 64ch;
}
.manifesto-right p strong {
  color: var(--bone);
  font-weight: 500;
}
.manifesto-right p em.amber {
  color: var(--amber);
  font-family: var(--display);
  font-style: italic;
}

/* ── PROJECT GRID ── */
.projects-section {
  padding: var(--s-9) 0;
  background: var(--bone);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s-7);
  flex-wrap: wrap;
  gap: var(--s-4);
}
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 72;
}
.section-header .count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-on-light-muted);
  text-transform: uppercase;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
}
.project-card {
  background: var(--bone);
  padding: var(--s-7) var(--s-6);
  position: relative;
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.project-card:hover {
  background: var(--bone-2);
}
.project-card .pc-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.project-card .pc-idx { color: var(--amber); }
.project-card .pc-vertical { color: var(--text-on-light-muted); }
.project-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-3);
  font-variation-settings: 'opsz' 48;
}
.project-card h3 em { color: var(--amber); font-style: italic; }
.project-card .pc-sub {
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: var(--text-on-light-dim);
  margin-bottom: var(--s-5);
  line-height: 1.35;
  font-variation-settings: 'opsz' 20;
}
.project-card .pc-body {
  font-size: 14px;
  color: var(--text-on-light-dim);
  line-height: 1.65;
  margin-bottom: var(--s-5);
  flex-grow: 1;
}
.project-card .pc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border-top: 1px solid var(--border-light);
  padding-top: var(--s-4);
}
.project-card .pc-status {
  color: var(--text-on-light-muted);
  font-size: 10px;
}

/* ── DETAIL HEADER ── */
.detail-header {
  padding: var(--s-9) 0 var(--s-8);
  background: var(--bone);
  border-bottom: 1px solid var(--border-light);
}
.detail-meta-row {
  display: flex;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.detail-meta-row .tag {
  color: var(--amber);
}
.detail-meta-row .sep {
  color: var(--text-on-light-muted);
}
.detail-meta-row .vertical {
  color: var(--text-on-light-muted);
}
.detail-header h1 {
  margin-bottom: var(--s-4);
}
.detail-header h1 em {
  font-style: italic;
  color: var(--amber);
}
.detail-header .lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  color: var(--text-on-light);
  max-width: 56ch;
  margin-bottom: var(--s-6);
  font-variation-settings: 'opsz' 32;
}
.detail-header .lede em {
  color: var(--amber);
}

/* ── DETAIL BODY ── */
.detail-section {
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--border-light);
}
.detail-section.on-ink {
  background: var(--ink);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--border);
}
.detail-section.on-bone2 {
  background: var(--bone-2);
}
.detail-grid-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-8);
  align-items: start;
}
.detail-grid-2 .sticky-label {
  position: sticky;
  top: 100px;
}
.detail-grid-2 .sticky-label .eyebrow {
  display: block;
  margin-bottom: var(--s-4);
}
.detail-grid-2 .sticky-label h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.012em;
  font-variation-settings: 'opsz' 48;
}
.detail-section.on-ink .sticky-label h2 {
  color: var(--bone);
}
.detail-section.on-ink .sticky-label h2 em {
  color: var(--amber);
  font-style: italic;
}
.detail-section.on-ink p {
  color: var(--text-on-dark-dim);
}
.detail-section.on-ink p strong {
  color: var(--bone);
  font-weight: 500;
}
.detail-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-on-light-dim);
  margin-bottom: var(--s-4);
  max-width: 62ch;
}
.detail-body p strong {
  color: var(--ink);
  font-weight: 500;
}
.detail-body p em {
  font-family: var(--display);
  font-style: italic;
  color: var(--amber);
  font-size: 1.02em;
}

/* ── KEY POINTS LIST ── */
.kp-list {
  list-style: none;
  margin-top: var(--s-5);
}
.kp-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--border-light);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-light-dim);
}
.kp-list li:last-child { border-bottom: 1px solid var(--border-light); }
.kp-list li .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.kp-list li strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
  font-family: var(--display);
  font-size: 17px;
  font-variation-settings: 'opsz' 20;
}
.detail-section.on-ink .kp-list li {
  color: var(--text-on-dark-dim);
  border-color: var(--border);
}
.detail-section.on-ink .kp-list li strong {
  color: var(--bone);
}

/* ── PULL QUOTE ── */
.pull-quote {
  padding: var(--s-8) 0;
  text-align: center;
  background: var(--bone-2);
  border-bottom: 1px solid var(--border-light);
}
.pull-quote q {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.15;
  display: block;
  max-width: 18ch;
  margin: 0 auto var(--s-4);
  color: var(--ink);
  font-variation-settings: 'opsz' 56;
  quotes: '"' '"';
}
.pull-quote q::before, .pull-quote q::after {
  color: var(--amber);
}
.pull-quote cite {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}

/* ── BUYER STRIP (for project pages) ── */
.buyer-strip {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: var(--s-8) 0;
}
.buyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.buyer-cell {
  background: var(--ink-2);
  padding: var(--s-6) var(--s-5);
}
.buyer-cell .eyebrow {
  color: var(--amber);
  margin-bottom: var(--s-3);
  display: block;
}
.buyer-cell h4 {
  font-family: var(--display);
  font-size: 22px;
  color: var(--bone);
  line-height: 1.1;
  margin-bottom: var(--s-3);
  font-variation-settings: 'opsz' 28;
}
.buyer-cell p {
  font-size: 13px;
  color: var(--text-on-dark-dim);
  line-height: 1.6;
}

/* ── ACCESS / NDA PAGE ── */
.access-shell {
  padding: var(--s-9) 0;
  background: var(--bone);
}
.access-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bone);
  border: 1px solid var(--border-light);
  padding: var(--s-8) var(--s-7);
}
.access-card .eyebrow {
  display: block;
  margin-bottom: var(--s-4);
}
.access-card h1 {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.018em;
  margin-bottom: var(--s-5);
  font-variation-settings: 'opsz' 64;
}
.access-card h1 em { color: var(--amber); font-style: italic; }
.nda-block {
  background: var(--ink);
  color: var(--text-on-dark-dim);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  padding: var(--s-5);
  margin: var(--s-6) 0;
  border-left: 3px solid var(--amber);
  max-height: 280px;
  overflow-y: auto;
}
.nda-block strong { color: var(--bone); font-weight: 500; }
.nda-block ol { padding-left: var(--s-5); }
.nda-block li { margin-bottom: var(--s-2); }

form.access-form { margin-top: var(--s-5); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-light-muted);
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--body);
  font-size: 15px;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border-light);
  background: var(--bone);
  color: var(--ink);
  outline: none;
  transition: border 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--amber);
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
  background: var(--bone-2);
  border: 1px solid var(--border-light);
  margin-bottom: var(--s-5);
}
.checkbox-row input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--amber);
}
.checkbox-row label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-on-light-dim);
}
.checkbox-row label strong { color: var(--ink); }
.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-5);
  gap: var(--s-4);
  flex-wrap: wrap;
}
.form-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-on-light-muted);
  text-transform: uppercase;
}

.access-success {
  display: none;
  text-align: center;
  padding: var(--s-7) 0;
}
.access-success.is-shown { display: block; }
.access-success h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  margin-bottom: var(--s-4);
  font-variation-settings: 'opsz' 48;
}
.access-success h2 em { color: var(--amber); font-style: italic; }

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  padding: var(--s-8) 0;
}
.contact-left p { margin-bottom: var(--s-4); font-size: 16px; line-height: 1.65; color: var(--text-on-light-dim); max-width: 56ch; }
.contact-left p strong { color: var(--ink); font-weight: 500; }
.contact-right {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: var(--s-7);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
}
.contact-right .eyebrow { color: var(--amber); margin-bottom: var(--s-4); display: block; }
.contact-right .field {
  border-top: 1px solid var(--border);
  padding: var(--s-3) 0;
}
.contact-right .field:first-of-type { border-top: none; }
.contact-right .field-label {
  color: var(--text-on-dark-muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-right .field-value {
  color: var(--bone);
  font-size: 15px;
  margin-top: 4px;
  word-break: break-word;
}
.contact-right .field-value a { color: var(--amber); }
.contact-right .field-value a:hover { text-decoration: underline; }

/* ── FOOTER ── */
.studio-footer {
  background: var(--ink);
  color: var(--text-on-dark-muted);
  padding: var(--s-7) 0;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.8;
}
.studio-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-5);
  align-items: start;
}
.studio-mark {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  color: var(--amber);
  margin-bottom: var(--s-2);
  font-variation-settings: 'opsz' 24;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
  margin-bottom: var(--s-3);
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--s-2); }
.footer-col a {
  color: var(--text-on-dark-dim);
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  text-transform: none;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-legal {
  color: var(--text-on-dark-muted);
  font-size: 10px;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero-meta { border-left: none; border-top: 1px solid var(--border-light); padding-left: 0; padding-top: var(--s-5); }
  .manifesto-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .detail-grid-2 { grid-template-columns: 1fr; gap: var(--s-5); }
  .detail-grid-2 .sticky-label { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .buyer-grid { grid-template-columns: 1fr; }
  .studio-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 var(--s-5); }
  .nav { padding: var(--s-3) var(--s-5); }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    gap: 0;
    padding: var(--s-3) var(--s-5);
    border-top: 1px solid var(--border);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-burger { display: inline-flex; }
  .asis-banner { padding: 10px 20px; font-size: 9px; letter-spacing: 0.12em; }
  .hero { padding: var(--s-7) 0 var(--s-6); }
  .manifesto { padding: var(--s-7) 0; }
  .projects-section { padding: var(--s-7) 0; }
  .project-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .studio-footer-grid { grid-template-columns: 1fr; }
}
