/* ==========================================================================
   MADNESS v09 — The Architectural Monograph
   Warm Archival Newsprint, Deep Prussian Slate, Cobalt Blue & Vintage Ink Sketches.
   Strictly zero eyebrows, zero pills, zero floating SaaS cards, zero AI slop.
   ========================================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/SchibstedGrotesk-Variable.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Variable.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/Newsreader-Variable.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/Newsreader-Italic-Variable.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Warm Archival Newsprint & Deep Prussian Slate (No harsh pitch-black!) */
  --surface-paper: #F5F2EA;
  --surface-stone: #EAE5D9;
  --surface-stone-deep: #DDD6C7;
  --surface-obsidian: #1B2A3A;
  --surface-obsidian-raised: #223447;
  --surface-obsidian-cell: #283C52;

  /* Ink & Contrast Hierarchy (Warm Deep Slate Ink instead of pure black) */
  --ink: #1B2430;
  --ink-secondary: #354152;
  --ink-muted: #5A6677;
  --ink-on-dark: #F5F2EA;
  --ink-on-dark-secondary: #D5D9E0;
  --ink-on-dark-muted: #9AA5B4;

  /* Cobalt Blue on Paper / Soft Sky-Cobalt on Prussian Slate */
  --accent: #1D4ED8;
  --accent-hover: #163CB0;
  --accent-on-dark: #8FB2F7;
  --accent-surface: #E4EAF7;

  /* Structural Rules & Lintels */
  --rule-hairline: 1px solid #C8C2B4;
  --rule-hairline-dark: 1px solid #31455C;
  --rule-structural: 2px solid #1B2430;
  --rule-lintel: 3px solid #1B2430;
  --rule-lintel-accent: 3px solid var(--accent);
  --rule-lintel-light: 3px solid #F5F2EA;

  /* Cohesive Modern Typography */
  --font-display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* Layout & Grid Proportions */
  --max-width: 1400px;
  --gutter: clamp(1.5rem, 3.5vw, 3.5rem);
  --section-pad-y: clamp(4.5rem, 7.5vw, 7rem);
}

/* ==========================================================================
   1. Base Reset & Document Foundation
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--surface-paper);
  color: var(--ink);
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.66;
  color: var(--ink);
  background-color: var(--surface-paper);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 1000;
  background: var(--ink);
  color: var(--ink-on-dark);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--accent-on-dark);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--accent-on-dark);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.surface-obsidian :focus-visible {
  outline-color: var(--accent-on-dark);
}

/* ==========================================================================
   2. Architectural Grid & Containers
   ========================================================================== */

.frame {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

/* ==========================================================================
   3. Typographic Scale (Commanding, Solid, Unified)
   ========================================================================== */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.95rem, 3.3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.026em;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.325rem, 1.85vw, 1.6rem);
  line-height: 1.24;
  letter-spacing: -0.018em;
  font-weight: 700;
}

p {
  margin: 0 0 1.35rem 0;
  max-width: 64ch;
}

p:last-child {
  margin-bottom: 0;
}

/* Inline separator: a cobalt dot echoing the construction dots in the engravings */
.sep {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-inline: 0.2em;
  border-radius: 50%;
  background-color: var(--accent);
  vertical-align: 0.12em;
}

.lead {
  font-size: clamp(1.2rem, 1.65vw, 1.45rem);
  line-height: 1.56;
  font-weight: 500;
  color: var(--ink-secondary);
  max-width: 56ch;
}

.surface-obsidian .lead {
  color: var(--ink-on-dark-secondary);
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1.5px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--accent);
}

.surface-obsidian a:hover {
  color: var(--accent-on-dark);
}

/* ==========================================================================
   4. Site Header & //MADNESS Wordmark
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 242, 234, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: var(--rule-structural);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  min-height: 4.75rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding-right: 2.25rem;
  border-right: var(--rule-hairline);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark:hover {
  color: var(--ink);
}

.brand-slashes {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.1em;
  margin-right: 0.2rem;
}

.surface-obsidian .brand-slashes,
.site-footer .brand-slashes {
  color: var(--accent-on-dark);
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

.site-nav ul {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  display: flex;
  align-items: stretch;
  border-left: var(--rule-hairline);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 1.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink-secondary);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background-color: transparent;
  transition: background-color 0.18s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background-color: var(--surface-stone);
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  background-color: var(--surface-stone);
}

.site-nav a[aria-current="page"]::after {
  background-color: var(--accent);
}

.site-nav li.nav-cta a {
  background-color: var(--accent);
  color: var(--ink-on-dark);
  padding-inline: 1.85rem;
}

.site-nav li.nav-cta a:hover {
  background-color: var(--accent-hover);
  color: var(--ink-on-dark);
}

.site-nav li.nav-cta a[aria-current="page"]::after {
  background-color: var(--ink);
}

/* ==========================================================================
   5. Architectural Action Blocks (Zero Pills — Solid Structural Controls)
   ========================================================================== */

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2.25rem;
}

.btn-architectural {
  display: inline-flex;
  align-items: stretch;
  background-color: var(--accent);
  color: var(--ink-on-dark);
  font-family: var(--font-display);
  font-size: 1.025rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 2px solid var(--accent);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-architectural .btn-label {
  padding: 1rem 1.6rem;
  display: inline-flex;
  align-items: center;
}

.btn-architectural .btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.15rem;
  border-left: 1px solid rgba(245, 242, 234, 0.28);
  background-color: var(--accent-hover);
  color: var(--ink-on-dark);
  font-size: 1.15rem;
  transition: background-color 0.18s ease;
}

.btn-architectural:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--ink-on-dark);
}

.btn-architectural:hover .btn-arrow {
  background-color: var(--accent);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.6rem;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.025rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn-secondary:hover {
  background-color: var(--ink);
  color: var(--ink-on-dark);
}

.surface-obsidian .btn-architectural {
  background-color: var(--ink-on-dark);
  color: var(--ink);
  border-color: var(--ink-on-dark);
}

.surface-obsidian .btn-architectural .btn-arrow {
  background-color: var(--accent);
  color: var(--ink-on-dark);
  border-left-color: rgba(27, 36, 48, 0.2);
}

.surface-obsidian .btn-architectural:hover {
  background-color: var(--accent-on-dark);
  border-color: var(--accent-on-dark);
  color: var(--ink);
}

.surface-obsidian .btn-architectural:hover .btn-arrow {
  background-color: var(--ink);
  color: var(--ink-on-dark);
}

.structural-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid var(--ink);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, gap 0.18s ease;
}

.structural-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  gap: 0.75rem;
}

/* Links that sit inside running text */
.inline-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.inline-link:hover {
  color: var(--accent);
}

.surface-obsidian .structural-link {
  color: var(--ink-on-dark);
  border-bottom-color: var(--ink-on-dark);
}

.surface-obsidian .structural-link:hover {
  color: var(--accent-on-dark);
  border-bottom-color: var(--accent-on-dark);
}

/* ==========================================================================
   6. Hero Architecture (First-Fold Auto-Scale + Full-Width Subtle Start Bar)
   ========================================================================== */

.hero-monolith {
  border-bottom: var(--rule-lintel);
  position: relative;
  min-height: calc(100svh - 4.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-fold-body {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding-block: clamp(2rem, 4vh, 3.75rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  width: 100%;
}

.hero-main {
  grid-column: 1 / 8;
  padding-right: clamp(1.5rem, 3.5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main h1 {
  margin-bottom: 1.5rem;
}

.hero-main .action-row {
  margin-top: 2.25rem;
}

/* Right side of Hero: Transparent vintage object sketch vertically centered */
.hero-sketch-stage {
  grid-column: 8 / 13;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sketch-canvas {
  width: 100%;
  max-width: 440px;
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-sketch-canvas img,
.hero-sketch-canvas svg {
  width: auto;
  max-width: 100%;
  max-height: clamp(21rem, 56svh, 33rem);
  height: auto;
  display: block;
}

/* Status code on the error pages: a large display numeral in place of a headline eyebrow */
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 13vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--accent);
  margin: 0 0 1.75rem;
}

/* Full-width two-route bar across the bottom of the Hero:
   question (muted) over action (bold), arrow pinned in a square at the cell edge */
.hero-bottom-bar {
  width: 100%;
  background-color: var(--surface-stone);
  border-top: var(--rule-hairline);
}

.hero-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 2.5rem 1.4rem 0;
  text-decoration: none;
  color: var(--ink);
}

.hero-route + .hero-route {
  padding: 1.4rem 0 1.4rem 2.5rem;
  border-left: var(--rule-hairline);
}

.hero-route-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-route-question {
  font-family: var(--font-sans);
  font-size: 0.975rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.hero-route-action {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.18s ease;
}

.hero-route-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--accent);
  color: var(--ink-on-dark);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  transition: background-color 0.18s ease;
}

.hero-route:hover {
  color: var(--ink);
}

.hero-route:hover .hero-route-action {
  color: var(--accent);
}

.hero-route:hover .hero-route-arrow {
  background-color: var(--ink);
}

/* Inner-page Architectural Header */
.page-header {
  border-bottom: var(--rule-lintel);
  padding: clamp(3.5rem, 6.5vw, 5.75rem) 0 clamp(3rem, 5vw, 4.25rem);
}

.page-header-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: end;
}

.page-header-title {
  grid-column: 1 / 8;
}

.page-header-intro {
  grid-column: 8 / 13;
  border-left: var(--rule-structural);
  padding-left: 2rem;
}

/* ==========================================================================
   7. Section Architecture & Split-Column Ledgers
   ========================================================================== */

.section-block {
  padding: var(--section-pad-y) 0;
  border-bottom: var(--rule-lintel);
}

.surface-obsidian {
  background-color: var(--surface-obsidian);
  color: var(--ink-on-dark);
}

.surface-stone {
  background-color: var(--surface-stone);
}

.section-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
}

.section-spine {
  grid-column: 1 / 5;
  padding-right: 3rem;
  border-right: var(--rule-hairline);
}

.surface-obsidian .section-spine {
  border-right: var(--rule-hairline-dark);
}

.section-spine-inner {
  position: sticky;
  top: 6.75rem;
  padding-top: 1.25rem;
  border-top: var(--rule-lintel-accent);
}

.section-spine h2 {
  margin-bottom: 1.25rem;
}

.section-spine p {
  color: var(--ink-secondary);
  font-size: 1.0625rem;
  line-height: 1.62;
}

.surface-obsidian .section-spine p {
  color: var(--ink-on-dark-secondary);
}

.section-body {
  grid-column: 5 / 13;
  padding-left: clamp(2rem, 4vw, 4rem);
}

/* ==========================================================================
   8. Capability Ledger & Vintage Sketch Plates (Home — Beloved Structure)
   ========================================================================== */

.capability-ledger {
  border-top: var(--rule-structural);
}

.capability-row {
  display: grid;
  grid-template-columns: 1fr 176px;
  gap: 2.5rem;
  padding: 2.25rem 0;
  border-bottom: var(--rule-hairline);
  align-items: center;
}

.capability-row:last-child {
  border-bottom: var(--rule-structural);
}

.capability-content h3 {
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  margin-bottom: 0.75rem;
}

.capability-content h3 a {
  text-decoration: none;
}

.capability-content h3 a span {
  display: inline-block;
  margin-left: 0.4rem;
}

.capability-content h3 a:hover {
  color: var(--accent);
}

.capability-content p {
  color: var(--ink-secondary);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.capability-schematic {
  width: 176px;
  height: 176px;
  background-color: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-schematic img,
.capability-schematic svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   9. "How We Work — The Method to the Madness" (Deep Prussian Slate Matrix)
   ========================================================================== */

.method-header {
  padding-bottom: 3.5rem;
  border-bottom: var(--rule-hairline-dark);
}

.method-brand-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  color: var(--accent-on-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.method-intro {
  margin: 1.25rem 0 0;
  max-width: 46ch;
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-on-dark-secondary);
}

.method-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: var(--rule-hairline-dark);
}

.method-cell {
  padding: clamp(2.25rem, 4vw, 3.25rem);
  border-right: var(--rule-hairline-dark);
  border-bottom: var(--rule-hairline-dark);
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  align-items: start;
  background-color: var(--surface-obsidian);
  transition: background-color 0.2s ease;
}

.method-cell:nth-child(2n) {
  border-right: none;
}

.method-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

.method-cell:hover {
  background-color: var(--surface-obsidian-raised);
}

.method-numeral {
  font-family: var(--font-display);
  font-size: 3.15rem;
  line-height: 0.95;
  font-weight: 800;
  color: var(--accent-on-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  user-select: none;
}

.method-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.325rem;
  font-weight: 700;
  color: var(--ink-on-dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.method-text p {
  color: var(--ink-on-dark-secondary);
  font-size: 1.075rem;
  line-height: 1.62;
  margin: 0;
}

/* ==========================================================================
   10. Service Index (Services Page — Overview Cells That Jump to Each Service)
   ========================================================================== */

.service-index {
  background-color: var(--surface-stone);
  border-bottom: var(--rule-lintel);
  padding-block: clamp(2rem, 3.5vw, 2.75rem);
}

.service-index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--rule-structural);
  border-left: var(--rule-structural);
}

.service-index-grid li {
  display: flex;
  border-right: var(--rule-structural);
  border-bottom: var(--rule-structural);
  background-color: var(--surface-paper);
}

.service-index-grid a {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 1.65rem 1.35rem;
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.18s ease;
}

.service-index-name {
  align-self: end;
  font-family: var(--font-display);
  font-size: 1.175rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  transition: color 0.18s ease;
}

.service-index-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: var(--rule-hairline);
}

.service-index-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.service-index-arrow {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.18s ease, color 0.18s ease;
}

.service-index-grid a:hover {
  background-color: #FAF8F3;
  color: var(--ink);
}

.service-index-grid a:hover .service-index-name,
.service-index-grid a:hover .service-index-arrow {
  color: var(--accent);
}

.service-index-grid a:hover .service-index-arrow {
  transform: translateY(3px);
}

/* ==========================================================================
   11. Crafted 2-Band Service Architecture & Full-Width Pricing Table
   ========================================================================== */

.service-commission {
  padding: clamp(4rem, 6.5vw, 5.75rem) 0;
  border-bottom: var(--rule-lintel);
}

/* Top Band: Left Title + Price + Narrative (Cols 1-9) | Right Centered Object Sketch (Cols 10-12) */
.service-top-band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 2.75rem;
  border-bottom: var(--rule-hairline);
}

.service-main-col {
  grid-column: 1 / 9;
  border-top: var(--rule-lintel-accent);
  padding-top: 1.5rem;
}

.service-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: var(--rule-hairline);
}

.service-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin: 0;
}

.service-price-amount {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--accent);
}

.service-price-note {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.service-object-stage {
  grid-column: 9 / 13;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.service-object-stage img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

.service-narrative p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 64ch;
}

.service-narrative p:first-child {
  font-size: clamp(1.2rem, 1.6vw, 1.375rem);
  line-height: 1.56;
  color: var(--ink);
  font-weight: 500;
}

/* Bottom Band: 50/50 Balanced Split — Left: What You Get (Cols 1-6) | Right: Scope/Quote & Actions (Cols 7-12) */
.service-bottom-band {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  padding-top: 2.25rem;
}

.service-deliverables-col {
  grid-column: 1 / 7;
  padding-right: 2.75rem;
  border-right: var(--rule-hairline);
}

/* "What you get": an open ledger (rule + list) so it never reads like a quote */
.deliverables-heading {
  font-size: 1.15rem;
  line-height: 1.3;
  padding-top: 1rem;
  border-top: var(--rule-structural);
  margin-bottom: 0.35rem;
}

.deliverables-intro {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.deliverables-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deliverables-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: var(--rule-hairline);
  font-size: 1.075rem;
  line-height: 1.5;
  color: var(--ink);
}

.deliverables-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

.service-context-col {
  grid-column: 7 / 13;
  padding-left: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.75rem;
}

.service-context-col p {
  font-size: 1.05rem;
  line-height: 1.64;
  color: var(--ink-secondary);
  margin: 0;
}

.service-links-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

/* Full-Width 12-Column Pricing Schedule on Services Page (#pricing) */
.pricing-full-header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: var(--rule-structural);
}

.pricing-full-header h2 {
  grid-column: 1 / 5;
  padding-top: 1.25rem;
  border-top: var(--rule-lintel-accent);
}

.pricing-full-header p {
  grid-column: 5 / 13;
  font-size: 1.175rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 64ch;
}

.pricing-schedule-rows {
  width: 100%;
}

.pricing-row {
  display: grid;
  grid-template-columns: 4.5fr 4fr 3.5fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: var(--rule-hairline);
  align-items: start;
}

.pricing-row:last-child {
  border-bottom: var(--rule-structural);
}

.pricing-row-service {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.pricing-row-service a {
  text-decoration: none;
}

.pricing-row-service a:hover {
  color: var(--accent);
}

.pricing-row-scope {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.pricing-row-amount {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pricing-row-amount .price-line {
  font-family: var(--font-display);
  font-size: 1.225rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.pricing-row-amount .price-note {
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* ==========================================================================
   12. Monumental Pull-Quotes / Executive Testimonials
   ========================================================================== */

.monograph-quote {
  margin: 0;
  padding: 2rem 2.25rem;
  background-color: var(--surface-stone);
  border-left: 4px solid var(--accent);
}

.surface-stone .monograph-quote {
  background-color: var(--surface-paper);
}

.proof-overview-grid + .monograph-quote {
  margin-top: 2.25rem;
}

.monograph-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.85vw, 1.55rem);
  line-height: 1.48;
  color: var(--ink);
  font-style: italic;
  max-width: 58ch;
  margin-bottom: 1rem;
}

.monograph-quote p {
  margin-bottom: 1.25rem;
}

/* Attribution: person + role on line one, organization quieter on line two */
.monograph-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-style: normal;
}

.quote-person {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.quote-org {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* ==========================================================================
   13. Case Study Monographs (Our Work Page & Aligned Home Proof Grid)
   ========================================================================== */

.case-monograph {
  padding: clamp(4rem, 7vw, 6.25rem) 0;
  border-bottom: var(--rule-lintel);
}

/* Closed 4-sided structural banner — Warm Slate & Stone (Not harsh pitch-black!) */
.case-architectural-header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border: var(--rule-structural);
  border-top: var(--rule-lintel);
  margin-bottom: 3rem;
  background-color: var(--surface-stone);
  align-items: stretch;
}

.surface-stone .case-architectural-header {
  background-color: var(--surface-paper);
}

.case-client-column {
  grid-column: 1 / 5;
  padding: 2rem 2.25rem;
  border-right: var(--rule-structural);
  background-color: var(--surface-obsidian);
  color: var(--ink-on-dark);
  display: flex;
  align-items: center;
}

.case-client-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink-on-dark);
  letter-spacing: -0.025em;
}

.case-headline-column {
  grid-column: 5 / 13;
  padding: 2rem clamp(1.75rem, 3.5vw, 3.25rem);
  display: flex;
  align-items: center;
}

.case-headline-column h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  line-height: 1.14;
}

.case-body-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
}

.case-narrative-col {
  grid-column: 1 / 8;
  padding-right: clamp(1.75rem, 3.5vw, 3.5rem);
  border-right: var(--rule-hairline);
}

.case-narrative-col p {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.case-narrative-col p:first-child {
  font-size: 1.225rem;
  line-height: 1.58;
  color: var(--ink);
  font-weight: 500;
}

.case-evidence-col {
  grid-column: 8 / 13;
  padding-left: clamp(1.75rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
}

/* Milestone Ledger: block items so inline <em> tags flow naturally */
.milestone-ledger {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: var(--rule-structural);
}

.milestone-ledger li {
  position: relative;
  display: block;
  padding: 1.35rem 0 1.35rem 2.25rem;
  border-bottom: var(--rule-hairline);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.milestone-ledger li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
}

/* Homepage Proof Grid — Strictly Aligned Headings, Hairlines & Short Unwrapped Links */
.proof-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule-structural);
  border-left: var(--rule-structural);
}

.proof-overview-cell {
  padding: 2.25rem 2.5rem;
  border-right: var(--rule-structural);
  border-bottom: var(--rule-structural);
  background-color: var(--surface-paper);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
  transition: background-color 0.2s ease;
}

.proof-overview-cell:hover {
  background-color: #FAF8F3;
}

/* Every client header reserves two lines and sits names on the rule,
   so the hairline lands at the same height in all four cards. */
.proof-client-header {
  --title-size: 1.35rem;
  --title-leading: 1.22;
  display: flex;
  align-items: flex-end;
  min-height: calc(var(--title-size) * var(--title-leading) * 2 + 1.15rem);
  padding-bottom: 1.15rem;
  border-bottom: var(--rule-hairline);
}

.proof-client-title {
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: 700;
  line-height: var(--title-leading);
  color: var(--ink);
}

.proof-summary-text {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--ink-secondary);
  margin: 0;
}

/* ==========================================================================
   14. About Page — Ethos Grid + Founder Profile
   ========================================================================== */

.ethos-intro {
  margin: 0.75rem 0 0;
  color: var(--ink-secondary);
}

.ethos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: var(--rule-structural);
  border-left: var(--rule-structural);
  margin-top: 1.75rem;
}

.ethos-cell {
  padding: 2rem 2.25rem 2.25rem;
  border-right: var(--rule-structural);
  border-bottom: var(--rule-structural);
  background-color: var(--surface-paper);
}

/* Same card logic as the home "In practice" grid: number anchored at the top,
   title reserved two lines and seated on a hairline at a fixed height. */
.ethos-head {
  --title-size: 1.25rem;
  --title-leading: 1.24;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: calc(0.875rem * 1.4 + 0.75rem + var(--title-size) * var(--title-leading) * 2 + 1rem);
  padding-bottom: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: var(--rule-hairline);
}

.ethos-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent);
}

.ethos-head h3 {
  max-width: 22ch;
  font-size: var(--title-size);
  line-height: var(--title-leading);
  color: var(--ink);
}

.ethos-cell p {
  font-size: 1.025rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0;
}

/* Founder profile: left = portrait + credentials, right = name + full bio */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.founder-aside {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Portrait: full square frame in monochrome, with a cobalt construction
   outline and corner dots that echo the engraving plates */
.founder-portrait-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: calc(100% - 28px);
  margin: 14px;
  border: var(--rule-structural);
  background-color: var(--surface-paper);
}

.founder-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.06);
}

.founder-portrait-frame::before,
.founder-portrait-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.founder-portrait-frame::before {
  inset: -14px;
  border: 1px dashed var(--accent);
}

.founder-portrait-frame::after {
  inset: calc(-14px - 4.5px);
  background-image:
    radial-gradient(circle, var(--accent) 0 3.5px, transparent 4px),
    radial-gradient(circle, var(--accent) 0 3.5px, transparent 4px),
    radial-gradient(circle, var(--accent) 0 3.5px, transparent 4px),
    radial-gradient(circle, var(--accent) 0 3.5px, transparent 4px);
  background-size: 9px 9px;
  background-repeat: no-repeat;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
}

.founder-main {
  display: flex;
  flex-direction: column;
}

.founder-name-block {
  border-top: var(--rule-lintel-accent);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: var(--rule-hairline);
}

.founder-name-block h2 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  margin-bottom: 0.45rem;
}

.founder-role-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

.founder-bio p {
  font-size: 1.15rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.founder-bio p:first-child {
  font-size: clamp(1.25rem, 1.7vw, 1.45rem);
  line-height: 1.56;
  color: var(--ink);
  font-weight: 500;
}

.founder-links {
  margin-top: 2rem;
}

/* Credentials: a compact stone panel with cobalt dot bullets */
.founder-credentials {
  padding: 1.5rem 1.75rem 1.65rem;
  background-color: var(--surface-stone);
  border-top: var(--rule-structural);
}

.founder-credentials h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.founder-credentials-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.founder-credentials-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.founder-credentials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: var(--accent);
}

/* Case Study Framed Engraving Plate (Our Work Page) */
.case-plate-frame {
  background-color: var(--surface-stone);
  border: var(--rule-hairline);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.surface-stone .case-plate-frame {
  background-color: var(--surface-paper);
}

.case-plate-frame img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
}

/* The tripod artwork carries more empty margin, so it scales up to match the arch */
.case-plate-frame img.plate-tripod {
  max-width: 300px;
  margin-block: -1.5rem;
}

/* Full-Width Dubai AI Seal Banner */
.seal-banner {
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  border: var(--rule-structural);
  background-color: var(--surface-stone);
}

.surface-stone .seal-banner {
  background-color: var(--surface-paper);
}

.seal-banner-badge {
  background-color: var(--surface-obsidian);
  color: var(--ink-on-dark);
  padding: 2.25rem 2.5rem;
  border-right: var(--rule-structural);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.seal-banner-badge h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink-on-dark);
}

.seal-banner-copy {
  padding: 2rem 2.5rem;
}

.seal-banner-copy p {
  font-size: 1.075rem;
  line-height: 1.62;
  color: var(--ink-secondary);
  margin: 0;
  max-width: 68ch;
}

.seal-banner-action {
  padding: 2rem 2.5rem 2rem 0;
}

/* ==========================================================================
   15. Contact Page — Direct Executive Engagement Studio & FAQ Ledger
   ========================================================================== */

.contact-studio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border: var(--rule-structural);
  background-color: var(--surface-paper);
}

.contact-direct-col {
  grid-column: 1 / 8;
  padding: clamp(2.25rem, 4.5vw, 4rem);
  border-right: var(--rule-structural);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.direct-email-display {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.2rem;
  margin: 1.5rem 0 2rem;
  word-break: break-all;
}

.direct-email-display:hover {
  color: var(--accent);
}

.contact-phone-block {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: var(--rule-hairline);
}

.contact-phone-block h3 {
  margin-bottom: 0.9rem;
}

.contact-phone-block p {
  margin: 0 0 0.6rem;
  font-size: 1.075rem;
}

.privacy-advisory-box {
  margin-top: 2.25rem;
  padding: 1.35rem 1.65rem;
  background-color: var(--surface-stone);
  border-left: 3px solid var(--ink);
  font-size: 1rem;
  color: var(--ink-secondary);
}

.contact-composer-col {
  grid-column: 8 / 13;
  padding: clamp(2.25rem, 4vw, 3.5rem);
  background-color: var(--surface-stone);
}

.composer-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.composer-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.composer-field label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.composer-field select,
.composer-field textarea,
.composer-field input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--surface-paper);
  border: 2px solid var(--ink);
  border-radius: 0;
  appearance: none;
}

.composer-field textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.composer-status {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  min-height: 1.4rem;
}

/* FAQ Architectural Ledger */
.faq-ledger {
  border-top: var(--rule-structural);
}

.faq-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem;
  padding: 2.25rem 0;
  border-bottom: var(--rule-hairline);
  align-items: baseline;
}

.faq-row:last-child {
  border-bottom: var(--rule-structural);
}

.faq-row h3 {
  font-size: 1.3rem;
  color: var(--ink);
}

.faq-row p {
  font-size: 1.125rem;
  color: var(--ink-secondary);
  margin: 0;
}

/* ==========================================================================
   15b. Legal Pages — Sticky Contents Spine + Numbered Reading Column
   ========================================================================== */

.legal-updated {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.legal-toc h2 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-toc li {
  border-bottom: var(--rule-hairline);
}

.legal-toc a {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  padding: 0.6rem 0;
  font-family: var(--font-display);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-secondary);
  text-decoration: none;
}

.legal-toc a span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--accent);
}

.legal-toc a:hover {
  color: var(--accent);
}

.legal-body {
  max-width: calc(68ch + clamp(2rem, 4vw, 4rem));
}

.legal-body > p,
.legal-body li {
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--ink-secondary);
}

.legal-body > p.legal-intro {
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
}

.legal-body h2 {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: 3rem 0 1.1rem;
  padding-top: 1.25rem;
  border-top: var(--rule-structural);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.25;
  scroll-margin-top: 6.5rem;
}

.legal-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.legal-body h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.legal-body ul {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-body li {
  position: relative;
  padding-left: 1.35rem;
}

.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: var(--accent);
}

/* ==========================================================================
   16. Closing Conversation Monolith & Structured 4-Column Footer
   ========================================================================== */

.closing-monolith {
  background-color: var(--surface-obsidian);
  color: var(--ink-on-dark);
  padding: clamp(4.5rem, 7.5vw, 7rem) 0;
  border-bottom: var(--rule-hairline-dark);
}

.closing-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: end;
}

.closing-copy {
  grid-column: 1 / 9;
}

.closing-copy h2 {
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  margin-bottom: 1.35rem;
}

.closing-copy p {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-on-dark-secondary);
  max-width: 54ch;
}

.closing-action {
  grid-column: 9 / 13;
  display: flex;
  justify-content: flex-end;
}

/* Structured Multi-Column Footer */
.site-footer {
  background-color: var(--surface-obsidian);
  color: var(--ink-on-dark-secondary);
  padding: 4rem 0 3.5rem;
  border-top: 3px solid var(--accent-on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: var(--rule-hairline-dark);
}

.footer-summary {
  grid-column: 1 / 6;
  padding-right: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink-on-dark);
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-summary p {
  font-size: 1.025rem;
  line-height: 1.62;
  color: var(--ink-on-dark-secondary);
  max-width: 44ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-nav {
  grid-column: 6 / 8;
}

.footer-col-connect {
  grid-column: 8 / 11;
}

.footer-col-legal {
  grid-column: 11 / 13;
}

.footer-col-heading {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-on-dark-muted);
  margin-bottom: 0.25rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a,
.footer-col span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-on-dark);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent-on-dark);
}

.footer-legal-bar {
  padding-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-on-dark-muted);
}

.footer-legal-bar .sep {
  background-color: var(--accent-on-dark);
}

.footer-legal-bar p {
  margin: 0;
  max-width: none;
}

/* ==========================================================================
   17. Responsive Architecture (Tablet & Mobile Breakpoints)
   ========================================================================== */

@media (max-width: 1080px) {
  .brand-mark {
    padding-right: 1.5rem;
  }

  .site-nav a {
    padding-inline: 1.05rem;
    white-space: nowrap;
  }

  .site-nav li.nav-cta a {
    padding-inline: 1.25rem;
  }

  .hero-main {
    grid-column: 1 / 13;
    padding-right: 0;
  }

  .hero-sketch-stage {
    grid-column: 1 / 13;
    padding-left: 0;
    padding-top: 2.5rem;
  }

  .hero-sketch-canvas img,
  .hero-sketch-canvas svg {
    max-height: 20rem;
  }

  .page-header-title,
  .page-header-intro {
    grid-column: 1 / 13;
  }

  .page-header-intro {
    border-left: none;
    border-top: var(--rule-structural);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .section-spine {
    grid-column: 1 / 13;
    padding-right: 0;
    border-right: none;
    margin-bottom: 2.5rem;
  }

  .section-spine-inner {
    position: static;
  }

  .section-body {
    grid-column: 1 / 13;
    padding-left: 0;
  }

  .service-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-main-col,
  .service-object-stage,
  .service-deliverables-col,
  .service-context-col {
    grid-column: 1 / 13;
  }

  .service-top-band {
    border-bottom: none;
    padding-bottom: 0.5rem;
  }

  .service-object-stage {
    padding: 0;
  }

  .service-object-stage img {
    max-width: 200px;
  }

  .service-deliverables-col {
    padding-right: 0;
    border-right: none;
    margin-bottom: 2.25rem;
  }

  .service-context-col {
    padding-left: 0;
  }

  .pricing-full-header h2,
  .pricing-full-header p {
    grid-column: 1 / 13;
  }

  .case-client-column {
    grid-column: 1 / 13;
    border-right: none;
    border-bottom: var(--rule-structural);
  }

  .case-headline-column {
    grid-column: 1 / 13;
  }

  .case-narrative-col {
    grid-column: 1 / 13;
    padding-right: 0;
    border-right: none;
    margin-bottom: 2.5rem;
  }

  .case-evidence-col {
    grid-column: 1 / 13;
    padding-left: 0;
  }

  .seal-banner {
    grid-template-columns: 1fr;
  }

  .seal-banner-badge {
    border-right: none;
    border-bottom: var(--rule-structural);
  }

  .seal-banner-action {
    padding: 0 2.5rem 2rem;
  }

  .contact-direct-col,
  .contact-composer-col {
    grid-column: 1 / 13;
    border-right: none;
  }

  .contact-direct-col {
    border-bottom: var(--rule-structural);
  }

  .closing-copy,
  .closing-action {
    grid-column: 1 / 13;
    justify-content: flex-start;
  }

  .footer-summary {
    grid-column: 1 / 13;
    padding-right: 0;
  }

  .footer-col-nav {
    grid-column: 1 / 5;
  }

  .footer-col-connect {
    grid-column: 5 / 9;
  }

  .footer-col-legal {
    grid-column: 9 / 13;
  }
}

/* Founder profile switches to a single reading column, reordered so the
   name leads: name → portrait → bio → LinkedIn → credentials */
@media (max-width: 900px) {
  .founder-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .founder-aside,
  .founder-main {
    display: contents;
  }

  .founder-name-block {
    order: 1;
  }

  .founder-portrait-frame {
    order: 2;
    max-width: 420px;
    margin-bottom: 2.25rem;
  }

  .founder-bio {
    order: 3;
  }

  .founder-links {
    order: 4;
    margin-bottom: 3rem;
  }

  .founder-credentials {
    order: 5;
  }
}

@media (max-width: 760px) {
  /* 12-column grids keep their tracks but drop column gaps, which would
     otherwise add up to more than a phone's width and clip text. */
  .page-header-grid,
  .service-top-band,
  .pricing-full-header,
  .closing-grid,
  .footer-grid {
    column-gap: 0;
  }

  .structural-link {
    white-space: normal;
  }

  /* Stacked buttons share one width so they read as a set */
  .action-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-architectural,
  .btn-secondary {
    width: 100%;
  }

  .btn-architectural .btn-label {
    flex: 1;
  }

  /* Header: wordmark + Menu toggle; nav opens as a full-width stacked list */
  .header-grid {
    grid-template-columns: 1fr auto;
    grid-template-rows: 4rem;
    grid-auto-rows: auto;
    min-height: 4rem;
  }

  .brand-mark {
    padding: 0;
    border-right: none;
  }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    align-self: center;
    padding: 0.55rem 1rem;
    background: transparent;
    border: 2px solid var(--ink);
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-open .nav-toggle {
    background-color: var(--ink);
    color: var(--ink-on-dark);
  }

  .site-nav {
    grid-column: 1 / -1;
    display: block;
    border-top: var(--rule-hairline);
  }

  .js .site-nav {
    display: none;
  }

  .js .nav-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    padding-bottom: 1.25rem;
  }

  .site-nav li {
    border-left: none;
    border-bottom: var(--rule-hairline);
  }

  .site-nav a {
    flex: 1;
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background-color: transparent;
  }

  .site-nav a[aria-current="page"] {
    color: var(--accent);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav li.nav-cta {
    border-bottom: none;
    padding-top: 1.25rem;
  }

  .site-nav li.nav-cta a {
    justify-content: center;
    padding: 1rem 1.25rem;
  }

  .site-nav li.nav-cta a[aria-current="page"] {
    color: var(--ink-on-dark);
  }

  /* Hero */
  .hero-fold-body {
    padding-block: 2.5rem 2rem;
  }

  .hero-sketch-stage {
    padding-top: 2rem;
  }

  .hero-sketch-canvas img,
  .hero-sketch-canvas svg {
    max-height: 13rem;
  }

  .hero-bottom-grid {
    grid-template-columns: 1fr;
  }

  .hero-route,
  .hero-route + .hero-route {
    padding: 1.15rem 0;
    border-left: none;
  }

  .hero-route + .hero-route {
    border-top: var(--rule-hairline);
  }

  .hero-route-arrow {
    width: 2.75rem;
    height: 2.75rem;
  }

  /* Home sections */
  .capability-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .capability-schematic {
    width: 100%;
    height: 140px;
    order: -1;
    justify-content: flex-start;
  }

  .capability-schematic img {
    width: auto;
  }

  .method-header {
    padding-bottom: 2.5rem;
  }

  .method-matrix {
    grid-template-columns: 1fr;
  }

  .method-cell {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 2rem 0;
    border-right: none;
    border-bottom: var(--rule-hairline-dark) !important;
  }

  .method-cell:last-child {
    border-bottom: none !important;
  }

  .method-cell:hover {
    background-color: transparent;
  }

  .method-numeral {
    font-size: 2.25rem;
  }

  .proof-overview-grid {
    grid-template-columns: 1fr;
  }

  .proof-overview-cell {
    padding: 1.75rem 1.5rem;
  }

  /* Single column: no neighbouring card to align with, so no reserved line */
  .proof-client-header {
    min-height: 0;
  }

  .monograph-quote {
    padding: 1.6rem 1.5rem;
  }

  .monograph-quote p {
    font-size: 1.225rem;
  }

  /* Services */
  .service-index-grid {
    grid-template-columns: 1fr;
  }

  .service-index-grid a {
    gap: 0.3rem;
    padding: 1rem 1.25rem;
  }

  .service-index-foot {
    padding-top: 0;
    border-top: none;
  }

  .btn-architectural .btn-label {
    padding-inline: 1.25rem;
  }

  .pricing-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .pricing-row-amount {
    text-align: left;
  }

  /* About */
  .ethos-grid {
    grid-template-columns: 1fr;
  }

  .ethos-cell {
    padding: 1.75rem 1.5rem 2rem;
  }

  .ethos-head {
    min-height: 0;
  }

  .seal-banner-badge,
  .seal-banner-copy {
    padding: 1.75rem 1.5rem;
  }

  .seal-banner-action {
    padding: 0 1.5rem 1.75rem;
  }

  /* Contact */
  .contact-direct-col,
  .contact-composer-col {
    padding: 2rem 1.5rem;
  }

  .direct-email-display {
    font-size: clamp(1.45rem, 7.4vw, 2.25rem);
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .faq-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-col-nav,
  .footer-col-connect,
  .footer-col-legal {
    grid-column: 1 / 13;
  }
}
