/* =====================================================
   Phil McKeith — Holding Page
   ===================================================== */

/* ── Variables ──────────────────────────────────────── */
:root {
  --beige:      #f0ebe2;
  --red:        #c1272d;
  --red-dark:   #9e1f24;
  --ink:        #1a1a1a;
  --line:       rgba(150, 130, 110, 0.22);
  --line-mid:   rgba(150, 130, 110, 0.35);

  --sidebar-w:  288px;
  --footer-h:   58px;
  --mob-bar-h:  76px;
  --grid-cell:  30px;

  --serif:      'Playfair Display', Georgia, 'Times New Roman', serif;
  --mono:       'IBM Plex Mono', 'Courier New', monospace;
  --script:     'Caveat', cursive;
  --script:     'Caveat', cursive;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
picture { display: contents; }
picture { display: contents; } /* lets flex/grid treat <img> as direct child */
ul   { list-style: none; }
a    { color: inherit; text-decoration: none; }

/* ── Base ───────────────────────────────────────────── */
body {
  font-family: var(--mono);
  background-color: var(--beige);
  color: var(--ink);
  overflow-x: hidden;
}

/* Cross/plus mark pattern — covers the entire viewport */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cline x1='32' y1='28' x2='32' y2='36' stroke='%23927d6a' stroke-width='1' stroke-opacity='0.18'/%3E%3Cline x1='28' y1='32' x2='36' y2='32' stroke='%23927d6a' stroke-width='1' stroke-opacity='0.18'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ── Sidebar ────────────────────────────────────────── */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  bottom: var(--footer-h);
  display: flex;
  flex-direction: column;
  padding: 28px 26px 32px;
  border-right: 1px solid var(--line-mid);
  background-color: rgba(240, 235, 226, 0.88);
  backdrop-filter: blur(6px);
  z-index: 200;
}

.logo-link { display: flex; justify-content: center; margin-bottom: 44px; }

/* Circle container — clips both images to a perfect circle */
.logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

/* Both images fill the circle */
.logo,
.logo-profile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

/* ── At-top state (default): logo visible, profile hidden ── */
.logo         { opacity: 1; }
.logo-profile { opacity: 0; }

/* Hover at top: peek at profile */
.logo-wrap:hover .logo         { opacity: 0; }
.logo-wrap:hover .logo-profile { opacity: 1; }

/* ── Scrolled state: profile visible, logo hidden ────────── */
.logo-wrap--scrolled .logo         { opacity: 0; }
.logo-wrap--scrolled .logo-profile { opacity: 1; }

/* Hover when scrolled: peek back at logo */
.logo-wrap--scrolled:hover .logo         { opacity: 1; }
.logo-wrap--scrolled:hover .logo-profile { opacity: 0; }

.nav {
  align-self: center; /* centres the nav block inside the sidebar column */
}

.nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.nav-link:hover,
.nav-link.active { opacity: 1; }

/* ── Main ───────────────────────────────────────────── */
.main {
  margin-left: var(--sidebar-w);
  padding-bottom: var(--footer-h);
  position: relative;
  z-index: 1;
}

/* ── Section shared ─────────────────────────────────── */
.section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative; /* engine + copy both layer inside this */
  min-height: 100vh;
}


/* Sub-label above the main hero title — descriptive/poetic */
.hero-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.55;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-kicker--light {
  color: rgba(255, 255, 255, 0.5);
}

.hero-copy {
  position: absolute;
  top: 192px; /* vertically aligns with the nav's first item */
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 64px 0 140px;
  pointer-events: none; /* lets clicks pass through to engine layer */
}

/* re-enable pointer events on interactive children */
.hero-copy .btn { pointer-events: auto; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--red);
  opacity: 0.7;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 36px;
}

/* ── Engine ─────────────────────────────────────────── */
.engine-wrap {
  position: absolute;
  inset: 0; /* fills the full hero section */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.engine-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  /* Tint to warm red to match the design illustration style */
  filter: sepia(1) hue-rotate(318deg) saturate(2.2) brightness(0.88);
  mix-blend-mode: multiply;
}


.hero-tagline {
  position: absolute;
  bottom: calc(var(--footer-h) + 28px);
  left: 140px;
  font-family: var(--script);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--ink);
  opacity: 0.52;
  z-index: 10;
  pointer-events: none;
}

/* ── About ──────────────────────────────────────────── */
/*
  Border strategy — each line drawn exactly once, no overlaps:
  ┌─ about-left (border: all 4 sides) ─┬─ about-photo (border: top, right, bottom) ─┐
  │                                     │                                             │
  └─────────────────────────────────────┴─────────────────────────────────────────────┘
*/
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: unset; /* override .section min-height — size to content */
}

.about-left {
  padding: 0 60px 0;       /* top padding handled by heading-band */
  border-top:   1px solid var(--line-mid);
  /* border-left omitted — sidebar's border-right already provides this line */
  border-right: 1px solid var(--line-mid); /* column divider / about-photo's left edge */
  /* border-bottom omitted — last .prog's border-bottom provides this line */
  background-color: var(--beige);
  position: relative;
  z-index: 1;
}

/* Engineering-style heading band — two rows, each vertically centred */
.heading-band {
  margin: 0 -60px 40px;           /* bleed to full column width */
  border-bottom: 1px solid var(--line-mid);
  display: flex;
  flex-direction: column;
}

/* Row 1: FRACTIONAL CMO — centred between top line and mid line */
.heading-band .eyebrow {
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  margin: 0;                       /* reset any inherited margin */
  border-bottom: 1px solid var(--line-mid);
}

/* Vertical rule at ~66% across the FRACTIONAL CMO row */
.heading-band .eyebrow::after {
  content: '';
  position: absolute;
  left: 66%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--line-mid);
  pointer-events: none;
}

/* Diagonal line — true bottom-left → top-right using SVG stretched to box */
.heading-band .eyebrow::before {
  content: '';
  position: absolute;
  left: 66%;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 1 1'%3E%3Cline x1='0' y1='1' x2='1' y2='0' stroke='rgba(150%2C130%2C110%2C0.35)' stroke-width='1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Row 2: Craft Equity — centred between mid line and bottom line */
.heading-band .section-title {
  height: 110px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  margin: 0;
}

/* .about-photo styles consolidated below at "About photo / diagram" */

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}

.bio-box {
  padding: 0 0 0 2px;
  margin-bottom: 44px;

  font-family: var(--mono);
  font-size: 0.80rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.78;
}

/* ── Programmes ─────────────────────────────────────── */
.programmes-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  opacity: 0.5;
  margin-bottom: 14px;
  padding-left: 0;
}

/* Bleed the list to the full column width (negate about-left padding) */
.programmes {
  margin: 0 -60px;
}

/* ── Programme item ─────────────────────────────────── */
.prog {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line-mid);
}
.programmes > .prog:first-child { border-top: 1px solid var(--line-mid); }

/* Clickable header row */
.prog-header {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 60px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: padding-left 0.18s ease;
}
.prog-header:hover { padding-left: 66px; }

.prog-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.prog-name {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--ink);
  flex: 1;
}

.prog-beta {
  font-family: var(--mono);
  font-size: 0.48rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background-color: var(--red);
  color: #fff;
  padding: 2px 6px;
  flex-shrink: 0;
}

.prog-arrow {
  font-size: 0.72rem;
  color: var(--red);
  opacity: 0.55;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

/* Arrow rotates when open */
.prog.is-open .prog-arrow { transform: rotate(180deg); }

/* ── Accordion body ─────────────────────────────────── */
.prog-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.prog-body > p {
  overflow: hidden;       /* required: lets grid collapse the row to 0 */
  min-height: 0;          /* required: removes grid item's implicit min-height */
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.75;
  padding: 0 60px;
  transition: padding 0.35s ease;
}

/* When open: expand to full content height */
.prog.is-open .prog-body {
  grid-template-rows: 1fr;
}
.prog.is-open .prog-body > p {
  padding: 8px 60px 22px;
}

/* ── About photo / diagram ──────────────────────────── */
.about-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  /* Three edges only — left edge is provided by .about-left border-right */
  border-top:    1px solid var(--line-mid);
  border-right:  1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
}

.framework-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  /* Blend white background away — red lines sit on the beige */
  mix-blend-mode: multiply;
}

.photo-placeholder {
  /* Subtle warm tint until a real photo is dropped in */
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      160deg,
      rgba(193, 39, 45, 0.06) 0%,
      rgba(193, 39, 45, 0.12) 100%
    );
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  padding: 11px 22px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn--red {
  background-color: var(--red);
  color: #fff;
}
.btn--red:hover { background-color: var(--red-dark); }

.btn--ghost {
  background-color: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover {
  background-color: var(--ink);
  color: var(--beige);
}

.btn--sm { padding: 8px 16px; font-size: 0.58rem; }

/* ── Footer bar ─────────────────────────────────────── */
.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px 0 calc(var(--sidebar-w) + 28px);
  border-top: 1px solid var(--line-mid);
  background-color: rgba(240, 235, 226, 0.92);
  backdrop-filter: blur(8px);
  z-index: 300;
}

.footer-id {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.footer-name {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.footer-role {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--red);
  opacity: 0.8;
}

.footer-location {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.5;
}

.footer-location::before {
  content: '|';
  margin-right: 16px;
  opacity: 0.4;
}

.footer-ctas {
  display: flex;
  gap: 10px;
}

/* ── Workshop Hero ──────────────────────────────────── */
.workshop-hero {
  background-color: var(--red);
  min-height: 100vh;
  position: relative;
}

/* Uniform square grid on red */
.workshop-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='none' stroke='%23ffffff' stroke-width='0.4' stroke-opacity='0.14'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.workshop-copy {
  position: absolute;
  top: 192px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 64px 0 140px;
  pointer-events: none;
}
.workshop-copy .btn { pointer-events: auto; }

.workshop-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.workshop-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 36px;
}

.workshop-van-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.workshop-van-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  opacity: 0.75;
}

.workshop-tagline {
  position: absolute;
  bottom: calc(var(--footer-h) + 20px);
  right: 52px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  z-index: 10;
}

/* Ghost button for red backgrounds */
.btn--ghost-light {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost-light:hover {
  background-color: #fff;
  color: var(--red);
}

/* ── Workshop Audits ────────────────────────────────── */
.workshop-audits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: unset;
}

.workshop-left {
  padding: 0 60px 0;
  border-top:   1px solid var(--line-mid);
  border-right: 1px solid var(--line-mid);
  background-color: var(--beige);
  position: relative;
  z-index: 1;
}

.workshop-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  border-top:    1px solid var(--line-mid);
  border-right:  1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(2px);
}

.workshop-intro {
  max-width: 360px;
}

.workshop-intro-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 20px;
}

.workshop-intro-text {
  font-family: var(--mono);
  font-size: 0.80rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.78;
  margin-bottom: 36px;
}

/* Audit number badge replaces programme icon */
.audit-number {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--red);
  opacity: 0.6;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 20px;
}

/* ── Studio Hero ────────────────────────────────────── */
.studio-hero {
  background-color: var(--ink); /* deep charcoal — third visual chapter */
  min-height: 100vh;
  position: relative;
}

/* Subtle red cross marks on dark — brand colour bleeds into the charcoal */
.studio-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cline x1='32' y1='28' x2='32' y2='36' stroke='%23c1272d' stroke-width='1' stroke-opacity='0.75'/%3E%3Cline x1='28' y1='32' x2='36' y2='32' stroke='%23c1272d' stroke-width='1' stroke-opacity='0.75'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.studio-copy {
  position: absolute;
  top: 192px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 64px 0 140px;
  pointer-events: none;
}
.studio-copy .btn { pointer-events: auto; }

.studio-eyebrow {
  color: rgba(255, 255, 255, 0.45);
}

.studio-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 36px;
}

.studio-van-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Invert black→white so the van reads on the dark background */
.studio-van-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  filter: invert(1);
  opacity: 0.55;
}

.studio-tagline {
  position: absolute;
  bottom: calc(var(--footer-h) + 28px);
  left: 140px;
  font-family: var(--script);
  font-style: normal;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  z-index: 10;
  pointer-events: none;
}

/* Ghost button for dark backgrounds — ink-coloured on hover */
.btn--ghost-ink {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost-ink:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── Studio Services ─────────────────────────────────── */
.studio-services {
  display: grid;
  grid-template-columns: 1fr 1fr; /* swapped: left=philosophy, right=services */
  min-height: unset;
}

/* Left column: intro panel — matches chartroom-right pattern */
.studio-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  border-top:    1px solid var(--line-mid);
  border-right:  1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(2px);
}

.studio-intro {
  max-width: 360px;
}

.studio-intro-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 20px;
}

.studio-intro-text {
  font-family: var(--mono);
  font-size: 0.80rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.78;
  margin-bottom: 36px;
}

/* Right column: heading + accordion */
.studio-right {
  padding: 0 60px 0;
  border-top:   1px solid var(--line-mid);
  border-right: 1px solid var(--line-mid);
  background-color: var(--beige);
  position: relative;
  z-index: 1;
}

/* Accordion list bleeds to full right-column width */
.studio-programmes {
  margin: 0 -60px;
}

/* ── Chartroom Hero ─────────────────────────────────── */
.chartroom-hero {
  background-color: var(--beige);
  min-height: 100vh;
  position: relative;
}

.chartroom-copy {
  position: absolute;
  top: 192px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 64px 0 140px;
  pointer-events: none;
}
.chartroom-copy .btn { pointer-events: auto; }

.chartroom-eyebrow {
  color: var(--red); /* inherits eyebrow style, explicit red for clarity */
}

.chartroom-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 36px;
}

.chartroom-van-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Red van on beige — multiply blends the white away, red reads cleanly */
.chartroom-van-img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  opacity: 0.75;
}

.chartroom-tagline {
  position: absolute;
  bottom: calc(var(--footer-h) + 28px);
  left: 140px;
  font-family: var(--script);
  font-style: normal;
  font-size: 1.15rem;
  color: var(--ink);
  opacity: 0.55;
  z-index: 10;
  pointer-events: none;
}

/* ── Chartroom Services ─────────────────────────────── */
.chartroom-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: unset;
}

.chartroom-left {
  padding: 0 60px 0;
  border-top:   1px solid var(--line-mid);
  border-right: 1px solid var(--line-mid);
  background-color: var(--beige);
  position: relative;
  z-index: 1;
}

.chartroom-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  border-top:    1px solid var(--line-mid);
  border-right:  1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(2px);
}

.chartroom-intro {
  max-width: 360px;
}

.chartroom-intro-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 20px;
}

.chartroom-intro-text {
  font-family: var(--mono);
  font-size: 0.80rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.78;
  margin-bottom: 36px;
}

/* Accordion list bleeds to full left-column width */
.chartroom-programmes {
  margin: 0 -60px;
}

/* ── Proof Section (By The Numbers + Clients unified) ────── */
.proof-section {
  background-color: var(--ink);
  position: relative;
  overflow: hidden;
  min-height: unset;
}

/* Topographic SVG — fills the section, sits behind all content */
.proof-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* All content sits above the topo layer */
.proof-inner {
  position: relative;
  z-index: 1;
  border-right:  1px solid rgba(193, 39, 45, 0.22);
  border-bottom: 1px solid rgba(193, 39, 45, 0.22);
}

/* ── Header band ── */
.proof-header-band {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 80px 28px;
  border-bottom: 1px solid rgba(193, 39, 45, 0.22);
}

.proof-eyebrow {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  white-space: nowrap;
}

.proof-eyebrow--muted { color: rgba(255, 255, 255, 0.25); }

.proof-header-rule {
  flex: 1;
  height: 1px;
  background: rgba(193, 39, 45, 0.22);
}

/* ── Key stats: 4-column ── */
.proof-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(193, 39, 45, 0.22);
}

.proof-stat {
  padding: 52px 40px;
  border-right: 1px solid rgba(193, 39, 45, 0.22);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proof-stat:last-child { border-right: none; }

.proof-stat-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.proof-sup {
  font-family: var(--serif);
  font-size: 0.45em;
  color: var(--red);
  vertical-align: super;
  line-height: 0;
}

.proof-sup--yrs {
  font-family: var(--mono);
  font-size: 0.28em;
  font-weight: 400;
  letter-spacing: 0.1em;
  vertical-align: middle;
  color: var(--red);
  line-height: 0;
}

.proof-stat-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
}

/* ── Logos row: 6-column, inverted on dark ── */
.proof-logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid rgba(193, 39, 45, 0.22);
}

.proof-logo-slot {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(193, 39, 45, 0.22);
  overflow: hidden;
}
.proof-logo-slot:last-child { border-right: none; }

.proof-logo-img {
  width: 100%;
  max-width: 110px;
  height: 100%;
  max-height: 52px;
  object-fit: contain;
  mix-blend-mode: screen; /* dark bg: white areas show, dark areas fade — logos read naturally */
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.proof-logo-slot:hover .proof-logo-img { opacity: 0.85; }

/* ── Case study modules: 3-column, alternating dark/red ── */
.proof-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-case {
  padding: 48px 40px;
  border-top:   1px solid rgba(193, 39, 45, 0.22);
  border-right: 1px solid rgba(193, 39, 45, 0.22);
  display: flex;
  flex-direction: column;
}
.proof-case:nth-child(3n) { border-right: none; }

.proof-case--red {
  background-color: var(--red);
  border-top-color:   rgba(0, 0, 0, 0.1);
  border-right-color: rgba(0, 0, 0, 0.1);
}

.proof-case--cta {
  justify-content: center;
  gap: 20px;
}

.proof-case-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 4.5vw, 4.8rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.proof-case-pct {
  font-size: 0.52em;
  vertical-align: super;
  line-height: 0;
  color: var(--red);
}
.proof-case--red .proof-case-pct { color: rgba(255, 255, 255, 0.55); }

.proof-case-market {
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.proof-case--red .proof-case-market { color: rgba(255, 255, 255, 0.55); }

.proof-case-desc {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.42);
}
.proof-case--red  .proof-case-desc { color: rgba(255, 255, 255, 0.82); }
.proof-case--cta  .proof-case-desc { color: rgba(255, 255, 255, 0.38); }

.proof-case-cta-eyebrow {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.proof-case-btn { align-self: flex-start; margin-top: 8px; }

/* ── Contact ────────────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: unset;
}

/* Left: red panel — bold closing statement */
.contact-left {
  background-color: var(--red);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

/* Subtle white square grid echoes the Workshop Hero */
.contact-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='none' stroke='%23ffffff' stroke-width='0.4' stroke-opacity='0.12'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  pointer-events: none;
}

.contact-eyebrow {
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.contact-strapline {
  font-family: var(--mono);
  font-size: 0.80rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 1;
}

/* Right: beige panel — form + direct contact */
.contact-right {
  background-color: var(--beige);
  border-top:    1px solid var(--line-mid);
  border-right:  1px solid var(--line-mid);
  border-bottom: 1px solid var(--line-mid);
  display: flex;
  flex-direction: column;
}

/* ── Form block ─────────────────────────────────────── */
.contact-form-wrap {
  padding: 40px 60px 48px;
  border-bottom: 1px solid var(--line-mid);
}

.contact-form-eyebrow {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--red);
  opacity: 0.7;
  margin-bottom: 10px;
}

.contact-form-intro {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.65;
  margin-bottom: 28px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Two-column row for Name + Company */
.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
}

.form-optional {
  font-weight: 300;
  opacity: 0.7;
  text-transform: none;
  letter-spacing: 0;
}

.form-input {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--ink);
  background-color: transparent;
  border: 1px solid var(--line-mid);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-input::placeholder {
  color: var(--ink);
  opacity: 0.3;
}

.form-input:focus {
  border-color: var(--red);
}

/* Select: custom arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23927d6a' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Textarea: no resize handle */
.form-textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.7;
}

.form-submit {
  align-self: flex-start;
  margin-top: 6px;
}

/* ── Direct contact rows (below form) ───────────────── */
.contact-direct {
  display: flex;
  flex-direction: column;
}

/* Each contact method row */
.contact-method {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 0;
  padding: 20px 60px;
  border-bottom: 1px solid var(--line-mid);
}
.contact-method:last-child { border-bottom: none; }

.contact-method-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--red);
  opacity: 0.7;
  padding-top: 3px; /* optical alignment with action content */
}

.contact-method-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-method-desc {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.72;
}

.contact-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.85;
  transition: color 0.18s ease, opacity 0.18s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-mid);
}
.contact-link:hover {
  color: var(--red);
  opacity: 1;
  text-decoration-color: var(--red);
}

/* ── Off-canvas DNA panel ──────────────────────────── */

/* Dark backdrop — sits above everything except the panel */
.oc-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(3px);
  z-index: 490;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.oc-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Panel — slides in from the right edge, full viewport height */
.oc-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(680px, calc(100vw - var(--sidebar-w)));
  background-color: var(--beige); /* header strip stays beige */
  border-left: 1px solid var(--line-mid);
  z-index: 500;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* scroll on .oc-inner, not the panel itself */
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.oc-panel.is-open {
  transform: translateX(0);
}

/* Sticky header bar — stays visible while content scrolls */
.oc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px 0 48px;
  height: 52px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line-mid);
  background-color: var(--beige);
}

.oc-header-label {
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0.4;
}

/* Close button — red with white cross, impossible to miss */
.oc-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--red);
  border: none;
  cursor: pointer;
  color: #fff;
  opacity: 1;
  transition: background-color 0.18s ease;
  flex-shrink: 0;
}
.oc-close:hover {
  background-color: var(--red-dark);
}

/* Scrollable body of the panel */
.oc-inner {
  padding: 52px 60px 80px;
  overflow-y: auto;
  flex: 1;
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(2px);
}

.oc-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 44px;
}

/* Pull-quote — red serif italic with left rule */
.oc-pull {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--red);
  border-left: 2px solid var(--red);
  padding-left: 24px;
  margin: 0 0 48px;
  opacity: 0.9;
}

.oc-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 52px;
}

.oc-body p {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink);
  opacity: 0.8;
}

/* ── Mission & Values ────────────────────────────────── */
.oc-divider {
  height: 1px;
  background: var(--line-mid);
  margin: 48px -60px 20px; /* top stays spacious; bottom matches eyebrow gap below */
}

.oc-section-eyebrow {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 20px;
}

.oc-mission {
  margin-bottom: 0;
}

.oc-mission-statement {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.oc-values {
  list-style: none;
  margin: 0 -60px 52px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.oc-value {
  padding: 28px 60px;
  border-bottom: 1px solid var(--line-mid);
}

.oc-value:first-child {
  border-top: 1px solid var(--line-mid);
}

.oc-value-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}

.oc-value-body {
  font-family: var(--mono);
  font-size: 0.80rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  opacity: 0.75;
  margin: 0;
}

/* CTA row at bottom of DNA panel */
.oc-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Secondary text link — "Read the full story →" */
.oc-full-story {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  transition: opacity 0.2s;
  text-decoration: none;
}
.oc-full-story:hover { opacity: 1; }

/* "About" nav item — slightly different treatment to signal it's a page link */
.nav-link--about {
  opacity: 0.35;
  position: relative;
}
.nav-link--about::after {
  content: '↗';
  font-size: 0.55rem;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.6;
}
.nav-link--about:hover,
.nav-link--about.active {
  opacity: 1;
}

/* Prevent body scroll when panel is open */
body.oc-open {
  overflow: hidden;
}

/* ── Scroll-reveal animations ────────────────────────── */
[data-fade] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-fade].visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ─────────────────────────────────────── */

/* ── Mobile top bar ─────────────────────────────────────── */
/* Hidden on desktop — revealed only at <=768px              */
.mob-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--mob-bar-h);
  background-color: var(--beige);
  border-bottom: 1px solid var(--line-mid);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 400;
}

.mob-logo-link {
  display: flex;
  align-items: center;
}

.mob-logo {
  width: 70px;
  height: 70px;
}

.mob-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  border-left: 1px solid var(--line-mid);
  padding-left: 20px;
  cursor: pointer;
  color: var(--ink);
  transition: color 0.18s ease;
}

.mob-hamburger:hover {
  color: var(--red);
}

/* ── Mobile nav panel ───────────────────────────────────── */
.mob-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(3px);
  z-index: 490;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mob-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mob-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background-color: var(--beige);
  z-index: 500;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.mob-nav.is-open {
  transform: translateX(0);
}

.mob-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 24px;
  height: var(--mob-bar-h);
  flex-shrink: 0;
  border-bottom: 1px solid var(--line-mid);
  background-color: var(--beige);
}

.mob-nav-label {
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0.4;
}

.mob-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 0 0;
  list-style: none;
}

.mob-nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  font-weight: 500;
  color: var(--ink);
  padding: 14px 32px;
  border-bottom: 1px solid var(--line-mid);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}
.mob-nav-links li:last-child .mob-nav-link {
  border-bottom: none;
}
.mob-nav-link:hover {
  color: var(--red);
}

.mob-nav-num {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--red);
  opacity: 0.7;
  flex-shrink: 0;
}

.mob-nav-ctas {
  padding: 24px 32px;
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--line-mid);
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .about {
    grid-template-columns: 1fr;
  }
  /* Stacked layout: about-left needs a bottom border again (photo sits below),
     about-photo gains a left border to close its box */
  .about-left {
    border-bottom: 1px solid var(--line-mid); /* close bottom edge above stacked photo */
  }
  .about-photo {
    min-height: 50vw;
    border-left: 1px solid var(--line-mid); /* restore left edge when stacked */
  }

  .workshop-audits {
    grid-template-columns: 1fr;
  }
  .workshop-left {
    border-bottom: 1px solid var(--line-mid);
  }
  .workshop-right {
    border-left: 1px solid var(--line-mid);
    min-height: 40vw;
  }

  .studio-services {
    grid-template-columns: 1fr;
  }
  /* Stacked: diagram sits above content, restore borders */
  .studio-left {
    min-height: 50vw;
    border-left: 1px solid var(--line-mid);
  }
  .studio-right {
    border-left:   1px solid var(--line-mid);
    border-bottom: 1px solid var(--line-mid);
  }

  .chartroom-services {
    grid-template-columns: 1fr;
  }
  .chartroom-left {
    border-bottom: 1px solid var(--line-mid);
  }
  .chartroom-right {
    border-left: 1px solid var(--line-mid);
    min-height: 40vw;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }
  .contact-left {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
  .contact-right {
    border-left: 1px solid var(--line-mid);
  }

  /* Proof section at 1100px */
  .proof-stats-row { grid-template-columns: repeat(2, 1fr); }
  .proof-stat:nth-child(2) { border-right: none; }
  .proof-stat:nth-child(3),
  .proof-stat:nth-child(4) { border-top: 1px solid rgba(193,39,45,0.22); }
  .proof-stat:nth-child(4) { border-right: none; }
  .proof-logos-row { grid-template-columns: repeat(3, 1fr); }
  .proof-logo-slot:nth-child(3) { border-right: none; }
  .proof-logo-slot:nth-child(4),
  .proof-logo-slot:nth-child(5),
  .proof-logo-slot:nth-child(6) { border-top: 1px solid rgba(193,39,45,0.22); }
  .proof-logo-slot:nth-child(6) { border-right: none; }
  .proof-cases { grid-template-columns: repeat(2, 1fr); }
  .proof-case:nth-child(3n)   { border-right: 1px solid rgba(193,39,45,0.22); }
  .proof-case:nth-child(3n+3) { border-right: none; }
  .proof-case:nth-child(2n)   { border-right: none; }
  .proof-case--red:nth-child(3n)   { border-right-color: rgba(0,0,0,0.1); }
  .proof-case--red:nth-child(3n+3) { border-right: none; }
  .proof-case--red:nth-child(2n)   { border-right: none; }
}

@media (max-width: 860px) {
  .hero-copy       { padding: 40px 40px 20px 100px; }
  .workshop-copy   { padding: 40px 40px 20px 100px; }
  .studio-copy     { padding: 40px 40px 20px 100px; }
  .chartroom-copy  { padding: 40px 40px 20px 100px; }
  .about-left      { padding: 48px 40px 80px; }
  .workshop-left   { padding: 48px 40px 80px; }
  .chartroom-left  { padding: 48px 40px 80px; }
  .studio-left     { padding: 40px; }
  .studio-right    { padding: 0 40px 0; }
  .chartroom-right { padding: 40px; }
  .proof-header-band { padding: 36px 40px 24px; }
  .proof-stat        { padding: 44px 32px; }
  .contact-left      { padding: 60px 40px; }
  .contact-form-wrap { padding: 36px 40px 44px; }
  .contact-method    { padding: 18px 40px; }
}

@media (max-width: 860px) {
  .oc-inner    { padding: 40px 40px 60px; }
  .oc-divider  { margin: 48px -40px 20px; }
  .oc-values   { margin: 0 -40px 52px; }
  .oc-value    { padding: 28px 40px; }
}

@media (max-width: 768px) {
  :root {
    --sidebar-w: 0px;
    --footer-h: 52px;
  }

  /* Hide desktop sidebar — replaced by mob-bar + mob-nav */
  .sidebar { display: none; }

  /* Show mobile top bar */
  .mob-bar { display: flex; }

  /* DNA off-canvas panel — full width, sits below mob-bar */
  .oc-panel {
    width: 100vw;
    top: var(--mob-bar-h);
    bottom: 0;
  }
  .oc-inner    { padding: 32px 24px 60px; }
  .oc-header   { padding: 0 20px 0 24px; }
  .oc-divider  { margin: 48px -24px 20px; }
  .oc-values   { margin: 0 -24px 52px; }
  .oc-value    { padding: 28px 24px; }

  /* Main content — top padding for mob-bar, bottom for footer */
  .main  { margin-left: 0; padding-top: var(--mob-bar-h); padding-bottom: var(--footer-h); }

  .hero-copy  { padding: 28px 24px 16px; top: 32px; }
  .hero-title { font-size: 2.2rem; }

  .elabel { display: none; }

  .about-left    { padding: 40px 24px 64px; }
  .workshop-left { padding: 40px 24px 64px; }
  .workshop-copy { padding: 28px 24px 16px; top: 32px; }
  .workshop-right { padding: 40px 24px; }

  .hero-tagline      { left: 24px; right: auto; bottom: calc(var(--footer-h) + 60px); }
  .workshop-tagline  { left: 24px; right: auto; bottom: calc(var(--footer-h) + 60px); }
  .studio-tagline    { left: 24px; right: auto; bottom: calc(var(--footer-h) + 60px); }
  .chartroom-tagline { left: 24px; right: auto; bottom: calc(var(--footer-h) + 60px); }
  .studio-copy       { padding: 28px 24px 16px; top: 32px; }
  .studio-left       { padding: 32px 24px; }
  .studio-right      { padding: 0 24px 0; }
  .chartroom-copy    { padding: 28px 24px 16px; top: 32px; }
  .chartroom-left    { padding: 40px 24px 64px; }
  .chartroom-right   { padding: 40px 24px; }
  .results-inner     { padding: 48px 24px; }
  .clients-inner     { padding: 40px 24px; }
  .contact-left      { padding: 48px 24px; }
  .contact-form-wrap { padding: 32px 24px 40px; }
  .contact-method    { grid-template-columns: 100px 1fr; padding: 16px 24px; }
  .form-row--two     { grid-template-columns: 1fr; }
  /* Proof section at 768px */
  .proof-header-band { padding: 32px 24px 22px; }
  .proof-stats-row   { grid-template-columns: repeat(2, 1fr); }
  .proof-stat        { padding: 36px 24px; }
  .proof-logos-row   { grid-template-columns: repeat(3, 1fr); }
  .proof-logo-slot   { height: 76px; padding: 14px 16px; }
  .proof-cases       { grid-template-columns: 1fr; }
  .proof-case        { padding: 40px 24px; border-right: none; }
  .proof-case:nth-child(3n)   { border-right: none; }
  .proof-case--red:nth-child(3n) { border-right: none; }

  .footer-bar {
    padding: 0 16px;
    height: var(--footer-h);
  }
  .footer-location { display: none; }

  /* ── Hero images — larger on mobile, cropping is fine ── */
  .engine-img,
  .workshop-van-img,
  .studio-van-img,
  .chartroom-van-img {
    width: 100%;
    height: 100%;
  }
}
