/* Viro Print homepage. One ink colour on paper, hairline rules as structure, zero radius. */

/* Palette lifted from Louis's own mock (ink, forest, sage, cream). Light is the default, dark follows the system or the toggle. */
:root {
  --paper: #f5f0e8;
  --paper-2: #ede6d6;
  --tint: #e2e9dc;
  --ink: #1a3a2a;
  --ink-2: #2d5c40;
  --ink-3: #5f8a6d;
  --rule: #b4d4be;
  --rule-strong: #1a3a2a;
  --spot: #7aab89;
  --on-spot: #0d0d0b;
  --hole: rgba(212, 168, 67, 0.28);
  --panel-bg: #1a3a2a;
  --panel-fg: #f5f0e8;
  --panel-muted: #b4d4be;
  --cyan: #00a6de;
  --magenta: #e5007e;
  --yellow: #ffe600;
  --black: #0d0d0b;

  --font-display: "Ranade", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Spectral", Georgia, "Times New Roman", serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1360px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0d0d0b;
  --paper-2: #1c1c18;
  --tint: #1a3a2a;
  --ink: #f5f0e8;
  --ink-2: #b4d4be;
  --ink-3: #7aab89;
  --rule: #33403a;
  --rule-strong: #f5f0e8;
  --spot: #7aab89;
  --on-spot: #0d0d0b;
  --hole: rgba(212, 168, 67, 0.22);
  --panel-bg: #1a3a2a;
  --panel-fg: #f5f0e8;
  --panel-muted: #b4d4be;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border: 3px solid var(--paper-2); }
::placeholder { color: var(--ink-3); opacity: 1; }
body { caret-color: var(--ink); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem;
  background: var(--ink); color: var(--paper); padding: 0.5rem 1rem;
  font-family: var(--font-display); z-index: 100;
}
.skip:focus { top: 0.5rem; }

.label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 0.35rem;
}

.hole {
  color: var(--ink-2);
  background: var(--hole);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Buttons */
.button {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  background: var(--spot);
  color: var(--on-spot);
  border: 1px solid var(--rule-strong);
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.button:hover { background: var(--ink); color: var(--paper); }
.button:active { background: var(--ink); color: var(--spot); transform: scale(0.98); transition-duration: 120ms; }
.button { transition: background 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.textlink {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--ink);
  transition: text-underline-offset 200ms var(--ease-out), text-decoration-thickness 200ms var(--ease-out);
}
.textlink:hover { text-underline-offset: 0.4em; text-decoration-thickness: 2px; }

/* Masthead: ruled strip with cells */
.masthead {
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
}
.masthead__row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: stretch;
  min-height: 3.5rem;
  font-family: var(--font-display);
  font-weight: 500;
}
.masthead__row > * { display: flex; align-items: center; padding: 0 var(--gutter); }
.wordmark { display: block; height: auto; }
.wordmark--cream { display: none; }
:root[data-theme="dark"] .wordmark--forest { display: none; }
:root[data-theme="dark"] .wordmark--cream { display: block; }
.masthead__brand .wordmark { width: clamp(120px, 10vw, 150px); flex: none; }
@media (max-width: 1280px) {
  .masthead__row > * { padding: 0 1.5rem; }
  .masthead__phone { display: none; }
  .masthead__nav { gap: 1.25rem; }
}
.masthead__brand {
  white-space: nowrap;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-right: 1px solid var(--rule-strong);
}
.masthead__nav { gap: clamp(1rem, 2.5vw, 2rem); font-size: 0.95rem; flex-wrap: nowrap; white-space: nowrap; }
.masthead__nav a { text-decoration: none; padding: 0.25rem 0; position: relative; }
.masthead__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.masthead__nav a:hover::after, .masthead__nav a:focus-visible::after { transform: scaleX(1); }
.masthead__phone { white-space: nowrap; font-size: 0.95rem; text-decoration: none; border-left: 1px solid var(--rule-strong); }
.masthead__cta {
  text-decoration: none;
  white-space: nowrap;
  background: var(--spot);
  color: var(--on-spot);
  border-left: 1px solid var(--rule-strong);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.masthead__cta:hover { background: var(--ink); color: var(--paper); }
.masthead__menu { display: none; }
.theme-toggle {
  font: inherit; font-size: 0.85rem; cursor: pointer;
  background: transparent; color: var(--ink);
  border: 0; border-left: 1px solid var(--rule-strong);
  padding: 0 var(--gutter); height: 100%;
}
.theme-toggle { transition: background 200ms var(--ease-out); }
.theme-toggle:hover { background: var(--paper-2); }
:root[data-theme-transition] body, :root[data-theme-transition] .masthead, :root[data-theme-transition] .section--tint, :root[data-theme-transition] .ledger, :root[data-theme-transition] .enquiry__panel, :root[data-theme-transition] .enquiry__contact { transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out), border-color 400ms var(--ease-out); }

/* Video hero: press footage screened into forest, poster type in cream. Always dark, whatever the theme. */
.hero-wrap { height: 250vh; position: relative; }
.vh { --hero-bg: #1a3a2a; --hero-fg: #f5f0e8; --hero-line: rgba(245,240,232,.16);
  position: sticky; top: 0; height: 100vh; background: var(--hero-bg); color: var(--hero-fg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.vh__media { position: absolute; inset: 0; background: var(--hero-bg); }
.vh__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(.8); mix-blend-mode: screen; opacity: 0; transform: scale(1.08); animation: vhIn 1600ms var(--ease-out) forwards; }
@keyframes vhIn { to { opacity: .55; transform: scale(1); } }
.vh__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--hero-bg) 0%, rgba(26,58,42,.2) 50%, rgba(26,58,42,.35) 100%); }
.vh__grid { position: absolute; inset: 0 48px; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.vh__grid i { border-left: 1px solid var(--hero-line); transform: scaleY(0); transform-origin: top; animation: drawv 900ms var(--ease-out) forwards; }
.vh__grid i:last-child { border-right: 1px solid var(--hero-line); }
.vh__grid i:nth-child(2) { animation-delay: 60ms; } .vh__grid i:nth-child(3) { animation-delay: 120ms; } .vh__grid i:nth-child(4) { animation-delay: 180ms; } .vh__grid i:nth-child(5) { animation-delay: 240ms; } .vh__grid i:nth-child(6) { animation-delay: 300ms; }
@keyframes drawv { to { transform: scaleY(1); } }
.vh__nav { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; padding: 18px 48px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; opacity: 0; animation: fadein 600ms 300ms var(--ease-out) forwards; }
.vh__nav a { text-decoration: none; color: var(--hero-fg); }
.vh__nav .brand { grid-column: 1 / 3; } .vh__nav .brand img { width: 120px; height: auto; display: block; }
.vh__nav .n1 { grid-column: 3; } .vh__nav .n2 { grid-column: 4; } .vh__nav .n3 { grid-column: 5; }
.vh__nav .cta { grid-column: 6; text-align: right; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.vh__nav a:not(.brand):hover { text-decoration: underline; text-underline-offset: .3em; }
.vh__block { position: relative; z-index: 2; align-self: end; will-change: transform; padding: 0 48px; }
.vh h1 { font-weight: 600; text-transform: uppercase; font-size: clamp(3.2rem, 11vw, 12rem); line-height: .86; letter-spacing: -0.04em; color: var(--hero-fg); }
.vh h1 .w { padding-bottom: .12em; margin-bottom: -.12em; }
.vh h1 .l2 { padding-left: 16.66%; }
.vh__foot { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; align-items: end; padding: 4vh 0 2.5rem; font-family: var(--font-display); font-size: .95rem; opacity: 0; animation: rise 700ms 700ms var(--ease-out) both; }
.vh__foot .lead { grid-column: 1 / 4; font-family: var(--font-body); font-size: 1.05rem; max-width: 32em; color: rgba(245,240,232,.88); margin: 0; }
.vh__foot .k { border-top: 1px solid rgba(245,240,232,.4); padding-top: .6rem; }
.vh__foot .k b { display: block; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vh__foot .k1 { grid-column: 4; } .vh__foot .k2 { grid-column: 5; } .vh__foot .c { grid-column: 6; justify-self: end; }
.button--paper { background: var(--hero-fg); color: var(--hero-bg); border-color: var(--hero-fg); }
.button--paper:hover { background: #b4d4be; color: var(--hero-bg); }

/* The page proper is a sheet of paper that slides up over the pinned hero */
.paper { position: relative; z-index: 2; margin-top: -100vh; background: var(--paper); box-shadow: 0 -30px 70px -30px rgba(0,0,0,.6); }
.paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-strong); }

/* Floating masthead: hidden over the hero, slides in once the paper has covered it */
.masthead--float { position: fixed; top: 0; left: 0; right: 0; transform: translateY(-100%); transition: transform 320ms var(--ease-out); }
.masthead--float.is-visible { transform: none; }

/* Plate: a contained photograph with printer's crop marks at each corner */
.plate {
  position: relative;
  margin: 14px;
}
.plate { overflow: visible; }
.plate img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 700ms var(--ease-out); }
.plate--tall img { aspect-ratio: 4 / 5; }
@media (hover: hover) and (pointer: fine) {
  figure:hover .plate img { transform: scale(1.02); }
}
.plate .clip { overflow: hidden; }
.side__figure { margin: 1.5rem 0 0; }
.section__side { min-width: 0; }
.plate::before, .plate::after,
.plate img::before { content: ""; }
.plate::before, .plate::after {
  position: absolute;
  inset: -14px;
  pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 0 / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 0 / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 100% / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 100% / 1px 10px no-repeat;
}
/* second layer offsets the marks so they sit outside the image edge, like real crop marks */
.plate::after {
  inset: -14px;
  background:
    linear-gradient(var(--ink), var(--ink)) 14px 0 / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 14px / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) calc(100% - 14px) 0 / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 14px / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 14px 100% / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 14px) / 10px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) calc(100% - 14px) 100% / 1px 10px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% calc(100% - 14px) / 10px 1px no-repeat;
}
.plate::before { background: none; }

figcaption {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--ink-2);
  margin-top: 0.75rem;
  line-height: 1.45;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadein { to { opacity: 1; } }
.colourbar { display: inline-flex; gap: 0; border: 1px solid var(--ink); align-self: center; }
.colourbar i { display: block; width: 14px; height: 10px; border-right: 1px solid var(--ink); }
.colourbar i:last-child { border-right: 0; }
.colourbar .c { background: var(--cyan); }
.colourbar .m { background: var(--magenta); }
.colourbar .y { background: var(--yellow); }
.colourbar .k { background: var(--black); }
.colourbar .s { background: var(--spot); }
.colourbar .p { background: var(--paper); }

/* Sections: side label column + body */
.section { max-width: var(--max); margin: 0 auto; padding: 96px 48px; }
.section--tint { max-width: none; background: var(--tint); }
.section--tint .section__grid { max-width: var(--max); margin: 0 auto; }
.section--rule { border-top: 1px solid var(--rule-strong); }
.section__grid {
  display: grid;
  grid-template-columns: minmax(10rem, 3fr) 9fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.section--tint .section__grid { padding: 0 var(--gutter); }
.section__title {
  font-size: 1.25rem;
  font-weight: 500;
  padding-top: 0.35rem;
}
.section__intro { font-size: 1.25rem; line-height: 1.5; max-width: 34em; margin-bottom: 2.5rem; }

/* Service rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.row {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 2rem 3rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.row:last-child { border-bottom: 1px solid var(--rule-strong); }
.row { transition: border-color 250ms var(--ease-out); }
.row h3 { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .row:hover { border-bottom-color: var(--rule-strong); }
  .row:hover h3 { transform: translateX(0.3rem); }
}
.row h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.6rem; }
.row p { max-width: 36em; }
.row__spec { font-family: var(--font-display); font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); padding-top: 0.6rem; }

/* Ledger of figures */
.ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rule-strong);
  margin-bottom: 3rem;
  background: var(--paper);
}
.ledger__cell { padding: 1.25rem 1.5rem 1.35rem; border-right: 1px solid var(--rule-strong); display: flex; flex-direction: column; gap: 1.75rem; }
.ledger__cell:last-child { border-right: 0; }
.ledger__desc { font-family: var(--font-display); font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.ledger__num { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1; letter-spacing: -0.03em; align-self: flex-start; font-variant-numeric: tabular-nums; min-width: 4ch; }

/* Definition list of mechanisms */
.defs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; border-top: 1px solid var(--rule-strong); }
.defs__item { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.defs__item dt { font-family: var(--font-display); font-weight: 500; font-size: 1rem; padding-top: 0.15rem; }
.defs__item dd { margin: 0; font-size: 1rem; line-height: 1.55; }

.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; margin-top: 2.5rem; }
.partners__item {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; padding: 14%;
  background: #fff;
  border: 1px solid var(--rule-strong);
}
.partners__item img { width: 100%; height: 100%; object-fit: contain; }
.partners__note { margin-top: 1rem; font-family: var(--font-display); font-size: 0.85rem; color: var(--ink-2); }

/* Studio */
.section__body--split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.studio__figure { margin: 0; }
.studio__text { display: flex; flex-direction: column; gap: 1.25rem; font-size: 1.125rem; max-width: 34em; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.step { padding: 24px 24px 28px; position: relative; }
.step:first-child { padding-left: 0; }
.step + .step::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--rule); }
.step h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }
.step p { font-size: 1rem; line-height: 1.55; }

/* Reviews */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quotes--three { grid-template-columns: repeat(3, 1fr); }
.quote { margin: 0; padding: 1.5rem; border: 1px solid var(--rule-strong); font-size: 1.125rem; line-height: 1.5; }
.quote.hole { background: var(--hole); }
.quote footer { font-family: var(--font-display); font-size: 0.9rem; margin-top: 1.25rem; }
.quotes__note { margin-top: 1.25rem; font-family: var(--font-display); font-size: 0.9rem; }

/* Enquiry: two panels, one drenched in ink */
.enquiry {
  max-width: var(--max);
  margin: 0 auto 96px;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 5fr 7fr;
}
.enquiry__panel, .enquiry__form { border-top: 1px solid var(--rule-strong); }
.enquiry__panel {
  background: var(--panel-bg);
  color: var(--panel-fg);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.enquiry__panel h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.025em; }
.enquiry__panel p { max-width: 30em; font-size: 1.125rem; color: var(--panel-muted); }
.enquiry__contact {
  display: block;
  margin-top: auto;
  background: var(--paper);
  color: var(--ink);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-decoration: none;
  transition: background 200ms var(--ease);
}
.enquiry__contact + .enquiry__contact { margin-top: 0; }
.enquiry__contact { transition: background 200ms var(--ease-out), color 200ms var(--ease-out), transform 200ms var(--ease-out); }
.enquiry__contact:hover { background: var(--spot); color: var(--on-spot); transform: translateX(4px); }
.enquiry__contact:hover .label { color: var(--on-spot); }
.enquiry__contact .label { margin-bottom: 0.1rem; }

.enquiry__form {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.5rem;
  align-content: start;
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  font: inherit; font-size: 1.0625rem;
  color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-strong);
  padding: 0.5rem 0;
  border-radius: 0;
}
.field textarea { resize: vertical; }
.field { position: relative; }
.field--text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
.field--text:focus-within::after { transform: scaleX(1); }
.field input:focus, .field textarea:focus { outline: none; }
.field--check { flex-direction: row; align-items: center; gap: 0.75rem; }
.field--check input { width: 1.1rem; height: 1.1rem; accent-color: var(--ink); margin: 0; }
.field__note { font-family: var(--font-display); font-size: 0.85rem; color: var(--ink-2); margin-top: 0.75rem; }

/* Footer */
.footer { border-top: 1px solid var(--rule-strong); }
.footer__grid {
  max-width: var(--max); margin: 0 auto;
  padding: 2.5rem var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  font-size: 1rem;
}
.footer__col p { margin-bottom: 0.75rem; }
.footer__col nav { display: flex; flex-direction: column; gap: 0.3rem; font-family: var(--font-display); }
.footer__col nav a { text-decoration: none; }
.footer__col nav a:hover { text-decoration: underline; }
.footer__mark {
  max-width: var(--max); margin: 0 auto;
  padding: 0.5rem var(--gutter) 1.5rem;
}
.footer__mark .wordmark { width: 100%; }
.footer__small {
  max-width: var(--max); margin: 0 auto;
  padding: 1.25rem var(--gutter) 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-size: 0.85rem;
  border-top: 1px solid var(--rule);
}

/* Tablet */
@media (max-width: 1024px) {
  .masthead__phone { display: none; }
  .vh__grid { inset: 0 32px; } .vh__nav { padding: 16px 32px; } .vh__block { padding: 0 32px; }
}
/* Masthead collapses to the menu well before the links would wrap */
@media (max-width: 960px) {
  .section { padding: 72px 32px; }
  .enquiry { padding: 0 32px; margin-bottom: 72px; }
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
  .plate--wide img { aspect-ratio: 16 / 9; }
  .row { grid-template-columns: 1fr; gap: 0.75rem; }
  .defs { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .quotes--three { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(3)::before { display: none; }
  .step:nth-child(-n+2)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }
  .section__body--split { grid-template-columns: 1fr; }
  .enquiry { grid-template-columns: 1fr; }
  .enquiry__form { padding-left: 0; border-right: 0; border-left: 0; border-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .vh__grid { inset: 0 16px; } .vh__nav { padding: 14px 16px; } .vh__block { padding: 0 16px; }
  .vh__nav .n1, .vh__nav .n2, .vh__nav .n3 { display: none; } .vh__nav .brand { grid-column: 1 / 4; } .vh__nav .cta { grid-column: 5 / 7; }
  .vh h1 .l2 { padding-left: 0; } .vh h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .vh__foot { grid-template-columns: 1fr 1fr; align-items: start; padding-bottom: 1.5rem; } .vh__foot .lead { grid-column: 1 / -1; font-size: 1rem; } .vh__foot .k1 { grid-column: 1; } .vh__foot .k2 { grid-column: 2; } .vh__foot .c { grid-column: 1 / -1; justify-self: start; }
  .section { padding: 56px 16px; }
  .enquiry { padding: 0 16px; margin-bottom: 56px; }
  .hero__grid { padding-top: 2.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
  .hero h1 { max-width: none; }
  .plate--wide img { aspect-ratio: 4 / 3; }
  .plate--tall img { aspect-ratio: 3 / 2; }
  .side__figure { margin-top: 1rem; }
  .hero__figure figcaption { text-align: left; }
  .ticket { grid-template-columns: 1fr 1fr; }
  .ticket__cell, .ticket__cell:first-child { padding: 14px 16px 16px; border-bottom: 1px solid var(--rule); }
  .ticket__cell:nth-child(2) { border-right: 0; }
  .ticket__cell:nth-child(n+3) { border-bottom: 0; }
  .section__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .section__title { border-bottom: 1px solid var(--rule-strong); padding-bottom: 0.75rem; }
  .ledger { grid-template-columns: 1fr; }
  .ledger__cell { border-right: 0; border-bottom: 1px solid var(--rule-strong); gap: 0.75rem; flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .ledger__cell:last-child { border-bottom: 0; }
  .ledger__num { font-size: 2rem; }
  .defs__item { grid-template-columns: 1fr; gap: 0.35rem; }
  .partners { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .masthead__brand .wordmark { width: 116px; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step, .step + .step { padding: 20px 0 24px; }
  .step + .step::before { display: none; }
  .step::after, .step:nth-child(-n+2)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }
  .step:last-child::after { display: none; }
  .rows, .defs { border-top: 0; }
  .section__grid { gap: 0.5rem; }
  .section__title { margin-bottom: 0.5rem; }
  .section__intro { margin-top: 1rem; }
  .quotes { grid-template-columns: 1fr; }
  .enquiry__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__small { flex-direction: column; gap: 0.35rem; }
}

/* Scroll reveals: once, on the way in. Only when JS is present, so nothing hides without it.
   The clip sits on a CHILD of the observed element: Chrome will not report an intersection for an element whose own clip-path is empty. */
.js .reveal--stagger > * { opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.js .reveal--stagger[data-visible] > * { opacity: 1; transform: none; }
.js .reveal--stagger[data-visible] > :nth-child(2) { transition-delay: 60ms; }
.js .reveal--stagger[data-visible] > :nth-child(3) { transition-delay: 120ms; }
.js .reveal--stagger[data-visible] > :nth-child(4) { transition-delay: 180ms; }
.js .reveal--stagger[data-visible] > :nth-child(5) { transition-delay: 240ms; }
.js .reveal--stagger[data-visible] > :nth-child(6) { transition-delay: 300ms; }
.js figure.reveal > .plate { clip-path: inset(0 0 100% 0); transition: clip-path 700ms var(--ease-in-out); }
.js figure.reveal[data-visible] > .plate { clip-path: inset(-28px -28px -28px -28px); }
.js figure.reveal > figcaption { opacity: 0; transition: opacity 400ms 500ms var(--ease-out); }
.js figure.reveal[data-visible] > figcaption { opacity: 1; }
.js .enquiry.reveal > * { clip-path: inset(0 0 100% 0); transition: clip-path 700ms var(--ease-in-out); }
.js .enquiry.reveal[data-visible] > * { clip-path: inset(0 0 0 0); }
.js .enquiry.reveal[data-visible] > .enquiry__form { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal--stagger > *, .js figure.reveal > .plate, .js figure.reveal > figcaption, .js .enquiry.reveal > * { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* Mid-page card moment: the studio pins as a forest band, "How a job runs" slides over it as the next sheet */
/* The wrapper's height and the card's pull-up are set in JS from the studio's natural height, so nothing is padded out. */
.pin { position: relative; }
.section--forest { position: sticky; top: var(--mast-h, 57px); max-width: none; background: #1a3a2a; color: #f5f0e8; }
.section--forest .section__grid { max-width: var(--max); margin: 0 auto; width: 100%; }
.section--forest figcaption, .section--forest .hole { color: #b4d4be; }
.section--forest .hole { background: rgba(212, 168, 67, 0.22); }
.section--forest .plate::after { color: #f5f0e8; }
.section--card { position: relative; z-index: 2; max-width: none; background: var(--paper); box-shadow: 0 -30px 70px -30px rgba(0,0,0,.6); overflow: hidden; }
.section--card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-strong); }
.section--card .section__grid { max-width: var(--max); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
/* A faint monochrome sheet-stacking clip behind the card: just enough to move */
.ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: .07; mix-blend-mode: multiply; pointer-events: none; }
:root[data-theme="dark"] .ghost { mix-blend-mode: screen; opacity: .09; }
@media (prefers-reduced-motion: reduce) { .ghost { display: none; } }
/* No pin on phones: the studio is taller than the viewport there, so the card would hide its copy */
@media (max-width: 720px) {
  .pin { height: auto !important; }
  .section--forest { position: relative; top: auto; }
  .section--card { margin-top: 0 !important; }
}

/* Responsive reading: keep the printed layout, reveal the detail on request. */
.disclosure-toggle { all: unset; font: inherit; color: inherit; }
.disclosure-toggle:disabled { opacity: 1; }
.disclosure-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.row [hidden], .defs [hidden] { display: none !important; }
section[id] { scroll-margin-top: 80px; }
.masthead__sheet { max-height: calc(100dvh - 56px); overflow-y: auto; }
@media (min-width: 721px) and (max-width: 960px) {
  .section__grid { grid-template-columns: 1fr; gap: 2rem; }
  .section__side { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .side__figure { margin: 0; }
  .section__body--split { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 7fr 4fr; gap: 2rem; }
  .defs { grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .defs__item { grid-template-columns: 1fr; gap: .5rem; }
  .partners { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 24px; }
  .hero-wrap { height: 200svh; }
  .vh { position: sticky; top: 0; height: 100svh; min-height: 100svh; overflow: clip; }
  .vh__grid { inset: 0 var(--gutter); }
  .vh__nav { padding: 16px var(--gutter); }
  .vh__nav a { min-height: 44px; display: flex; align-items: center; }
  .vh__nav .cta { justify-content: flex-end; }
  .vh__block { align-self: center; padding: 24px var(--gutter) 0; transform: none !important; }
  .vh h1 { font-size: clamp(2.75rem, 13.7vw, 5rem); line-height: .95; }
  .vh__foot { padding-top: 28px; gap: 20px 16px; }
  .vh__foot .c { display: none; }
  .paper { margin-top: -100svh; }
  .section { padding: 44px var(--gutter); }
  .section--tint .section__grid { padding: 0; }
  .section__title { font-size: 1.5rem; padding: 0 0 16px; margin-bottom: 12px; }
  .section__intro { font-size: 1.0625rem; margin: 4px 0 24px; }
  .section__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .side__figure { margin: 0 0 12px; }
  .plate--tall img, .studio__figure .plate img { aspect-ratio: 16 / 9; object-fit: cover; }
  figcaption { font-size: .75rem; }
  .row { padding: 0; display: block; }
  .row h3 { font-size: 1.2rem; margin: 0; }
  .disclosure-toggle { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; cursor: pointer; text-align: left; }
  .disclosure-toggle::after { content: ''; flex: 0 0 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; }
  .disclosure-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 4px; }
  .row__main p { padding: 0 0 16px; }
  .row__spec { padding: 0 0 20px; font-size: .875rem; }
  .ledger { margin-bottom: 24px; }
  .ledger__cell { padding: 16px; gap: 20px; align-items: center; }
  .ledger__desc { font-size: .8rem; max-width: 17ch; }
  .ledger__num { font-size: 1.8rem; align-self: center; min-width: 0; white-space: nowrap; }
  .defs__item { padding: 0; gap: 0; }
  .defs__item dt { padding: 0; }
  .defs__item dd { padding-bottom: 20px; }
  .partners { margin-top: 24px; }
  .partners__item { aspect-ratio: 4 / 3; padding: 12%; }
  .partners__note { font-size: .8rem; }
  .studio__text { font-size: 1rem; gap: 16px; }
  .section__body--split { gap: 24px; }
  .section--card { box-shadow: none; }
  .steps { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule-strong); }
  .step, .step + .step { padding: 20px 16px 24px 0; }
  .step:nth-child(even) { padding-left: 16px; padding-right: 0; }
  .step:nth-child(even)::before { display: block; }
  .step:nth-child(3)::after { display: none; }
  .step h3 { font-size: 1.2rem; }
  .step p { font-size: .9375rem; line-height: 1.5; }
  .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 16px; }
  .quote { flex: 0 0 88%; scroll-snap-align: start; padding: 24px; font-size: 1.0625rem; }
  .quotes__note { font-size: .85rem; margin-top: 8px; }
  .enquiry { padding: 0 var(--gutter); margin-bottom: 40px; }
  .enquiry__panel { padding: 24px; gap: 16px; }
  .enquiry__panel p { font-size: 1rem; }
  .enquiry__contact { font-size: 1rem; padding: 12px; }
  .enquiry__form { padding: 24px 0; gap: 20px; }
  .masthead__row > * { padding: 0 14px; }
  .masthead__brand .wordmark { width: 108px; }
  .masthead__cta { font-size: .85rem; }
  .masthead__sheet a { padding: 12px var(--gutter); font-size: 1rem; }
  .footer { display: flex; flex-direction: column; }
  .footer__mark { order: -1; width: 100%; padding: 28px var(--gutter) 0; }
  .footer__grid { width: 100%; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 24px var(--gutter); font-size: .875rem; }
  .footer__col:nth-child(2) { display: none; }
  .footer__col:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .footer__col:nth-child(3) .label { display: none; }
  .footer__col nav { flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
  .footer__col nav a { display: flex; align-items: center; min-height: 44px; }
  .footer__col p { margin-bottom: 8px; overflow-wrap: anywhere; }
  .footer__small { width: 100%; font-size: .75rem; gap: 12px; padding-top: 20px; }
  .footer__small .colourbar { align-self: flex-start; }
  .footer__small a { display: inline-flex; min-height: 44px; align-items: center; }
  .js .reveal--stagger > *, .js figure.reveal > .plate, .js figure.reveal > figcaption, .js .enquiry.reveal > * { opacity: 1; transform: none; clip-path: none; transition: none; }
}

.pin--static .section--forest { position: relative; top: auto; }

/* Short landscape windows need ordinary scrolling so hero copy stays reachable. */
@media (max-height: 600px), (prefers-reduced-motion: reduce) {
  .hero-wrap { height: auto; }
  .vh { position: relative; height: auto; min-height: 100svh; }
  .vh__block { padding-top: 48px; transform: none !important; }
  .paper { margin-top: 0; }
}

/* A clear contact destination on phones, with the form inside the green section. */
.reviews-toggle { display: none; }
@media (max-width: 720px) {
  .quotes { position: relative; }
  .quotes::-webkit-scrollbar { height: 4px; }
  .quotes::-webkit-scrollbar-thumb { border: 0; }
  .reviews-toggle:not([hidden]) { display: block; margin: 0 0 4px auto; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--ink); font: .85rem var(--font-display); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
  .enquiry {
    --paper: var(--panel-bg);
    --ink: var(--panel-fg);
    --ink-2: var(--panel-muted);
    --ink-3: var(--panel-muted);
    --rule-strong: var(--panel-muted);
    padding: 48px var(--gutter);
    margin-bottom: 0;
    background: var(--panel-bg);
    color: var(--panel-fg);
  }
  .enquiry__panel { padding: 0 0 32px; border-top: 0; gap: 20px; }
  .enquiry__panel h2 { font-size: 2.75rem; }
  .enquiry__contact { background: var(--panel-fg); color: var(--panel-bg); }
  .enquiry__contact .label { color: var(--panel-bg); }
  .enquiry__form { padding: 32px 0 0; border-top: 1px solid var(--panel-muted); border-bottom: 0; }
  .enquiry .field--check input { accent-color: var(--spot); flex-shrink: 0; }
}

/* Mobile navigation: a quiet header opening into a full-height printed sheet. */
@media (max-width: 960px) {
  .masthead__row { grid-template-columns: minmax(96px, 1fr) auto 44px; gap: 12px; min-height: 68px; padding: 10px 20px; align-items: center; }
  .masthead__row > * { padding: 0; }
  .masthead__brand { border: 0; }
  .masthead__brand .wordmark { width: 108px; }
  .masthead__nav, .masthead__phone, .masthead__row > .theme-toggle { display: none; }
  .masthead__cta { display: flex; justify-content: center; min-height: 44px; padding: 0 14px; border: 0; background: var(--ink); color: var(--paper); font-size: .8rem; }
  .masthead__menu { display: block; }
  .masthead__menu summary { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; list-style: none; cursor: pointer; }
  .masthead__menu summary::-webkit-details-marker { display: none; }
  .menu-icon path { transform-origin: center; transition: transform 220ms var(--ease-out); }
  .masthead__menu[open] .menu-icon path:first-child { transform: rotate(45deg) translateY(4px); }
  .masthead__menu[open] .menu-icon path:last-child { transform: rotate(-45deg) translateY(-4px); }
  .masthead__sheet { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 69px); max-height: none; padding: 28px var(--gutter) 24px; background: var(--panel-bg); color: var(--panel-fg); overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 28px; }
  .masthead__menu[open] .masthead__sheet { animation: menu-in 280ms var(--ease-out); }
  .masthead__sheet a { border: 0; padding: 0; }
  .menu-links { display: flex; flex-direction: column; }
  .menu-links a { display: block; width: fit-content; padding: 9px 0; color: inherit; font-size: clamp(1.75rem, 8vw, 3.25rem); line-height: 1.2; letter-spacing: -.03em; text-decoration: none; }
  .menu-links a:hover { color: var(--panel-muted); }
  .menu-contact { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--ink-3); }
  .menu-contact p { font-family: var(--font-body); font-style: italic; font-size: 1.6rem; margin-bottom: 8px; }
  .menu-contact a { display: flex; width: fit-content; align-items: center; min-height: 44px; color: var(--panel-fg); text-decoration: none; font-size: 1rem; }
  .menu-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--panel-muted); font-size: .8rem; }
  .menu-bottom .theme-toggle { border: 1px solid var(--panel-muted); color: var(--panel-fg); padding: 0 16px; min-height: 44px; width: auto; font-size: .8rem; }
  .menu-bottom .theme-toggle:hover { background: var(--panel-fg); color: var(--panel-bg); }
  .menu-open, .menu-open body { overflow: hidden; }
  .menu-open .masthead { background: var(--panel-bg); color: var(--panel-fg); border-color: var(--ink-3); transform: none; }
  .menu-open .masthead__brand .wordmark--forest { display: none; }
  .menu-open .masthead__brand .wordmark--cream { display: block; }
  .menu-open .masthead__cta { background: var(--panel-fg); color: var(--panel-bg); }
  .menu-open .masthead :focus-visible { outline-color: var(--panel-fg); }
}
@media (max-width: 720px) {
  .masthead--float { transform: none; }
  .vh__nav { visibility: hidden; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .masthead__menu[open] .masthead__sheet { animation: none; }
  .menu-icon path { transition: none; }
}
