/* ============================================================
   Orange Creative: loud and flat.
   A street poster: whole fields of flat colour, one heavy wide
   face, blunt lines. Square corners everywhere. Orange is a
   field colour; text on it is always ink. Nothing relies on hue
   alone: every pair below also differs strongly in lightness.
   ============================================================ */

@font-face {
  font-family: "TikTok Sans";
  src: url("../fonts/tiktok-sans.woff2") format("woff2");
  font-weight: 300 900;
  font-stretch: 75% 150%;
  font-display: swap;
}

:root {
  --orange: #FF6B00;
  --peach: #FFB27A;
  --ink: #070605;
  --ink-2: #2A2622;
  --paper: #FFFFFF;
  --stone: #E6E6E3;
  --soft: #3A352F;          /* secondary text on paper and stone, 11:1 on white */
  --soft-on-ink: #E4DED7;   /* secondary text on ink, 14:1 */

  --face: "TikTok Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* five sizes, no more */
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3.4rem, 14.8vw, 15.5rem);
  --step-title: clamp(2rem, 8.4vw, 9rem);

  --margin: clamp(18px, 2vw, 28px);
  --gap: clamp(80px, 8vw, 128px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-body)/1.5 var(--face);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1; text-wrap: balance; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
::selection { background: var(--ink); color: var(--orange); }
.sec--ink ::selection, .foot ::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sec--ink :focus-visible, .foot :focus-visible, .sheet--ink :focus-visible { outline-color: var(--orange); }
html { scrollbar-color: var(--ink) var(--stone); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { left: 8px; }

.wrap { padding-inline: var(--margin); }

/* ---- Display voice ------------------------------------- */
.head, .hero__name, .steps__line, .sheet__name, .index__name, .foot__call, .pagehead h1, .bigrow__name, .names li {
  font-family: var(--face);
  font-weight: 800;
  font-stretch: 150%;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.head { font-size: var(--step-head); max-width: 18ch; margin-bottom: 48px; }

/* ---- Buttons ------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  font: 700 var(--step-body)/1 var(--face); font-stretch: 125%;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button--ink { background: var(--ink); color: var(--paper); }
.button--orange { background: var(--orange); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .button--ink:hover { background: var(--paper); color: var(--ink); }
  .sec--paper .button--ink:hover, .sec--stone .button--ink:hover { background: var(--orange); color: var(--ink); }
  .button--orange:hover { background: var(--paper); }
}

/* ---- Fields of colour ---------------------------------- */
.sec { padding-block: var(--gap); }
.sec--orange { background: var(--orange); color: var(--ink); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--stone { background: var(--stone); color: var(--ink); }
.sec--ink { background: var(--ink); color: var(--paper); }
.sec--peach { background: var(--peach); color: var(--ink); }
.sec__lead { font-size: var(--step-lead); line-height: 1.35; max-width: 40ch; margin: -24px 0 56px; }

/* ---- Header bar ---------------------------------------- */
.bar {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--margin);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 var(--step-lead)/1 var(--face); font-stretch: 125%; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  --mark-disc: var(--ink); --mark-leaf: var(--ink);
}
.wordmark b { font-weight: 400; }
.wordmark .mark { width: 30px; height: 30px; flex: none; }
.bar__nav { display: flex; align-items: center; gap: 28px; }
.bar__nav a:not(.button) { white-space: nowrap; font-size: var(--step-small); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease; }
.bar__nav a[aria-current] { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .bar__nav a:not(.button):hover { text-decoration-color: currentColor; } }
.bar__phone { font-weight: 800; font-stretch: 125%; }
.bar__nav .button { min-height: 44px; padding: 0 20px; font-size: var(--step-small); }
.bar__menu { display: none; background: none; border: 0; font: 700 var(--step-body)/1 var(--face); font-stretch: 125%; color: var(--ink); padding: 12px 0 12px 12px; cursor: pointer; }

/* ---- Hero ---------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(24px, 1fr) auto minmax(24px, 1fr) auto;
  padding: 120px var(--margin) 28px;
}
.hero__top { grid-column: 1; grid-row: 1; max-width: 36ch; }
.hero__lead { font-size: var(--step-lead); line-height: 1.3; margin-bottom: 24px; }
.hero__name {
  grid-column: 1 / -1; grid-row: 3;
  font-size: var(--step-display);
  line-height: 0.84;
  margin: 0 -0.04em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__bottom { grid-column: 1 / -1; grid-row: 5; display: flex; justify-content: space-between; align-items: end; gap: 24px; position: relative; z-index: 2; }
.hero__what { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; font-weight: 700; font-stretch: 125%; }
.hero__what a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .hero__what a:hover { text-decoration: underline; } }
.hero__call { margin: 0; text-align: right; font-weight: 500; max-width: 32ch; }
.hero__call a { display: block; font-weight: 800; font-stretch: 150%; font-size: var(--step-lead); text-decoration: none; }
.hero__pic {
  position: absolute; z-index: 1; margin: 0;
  right: clamp(24px, 8vw, 140px); top: 104px;
  width: clamp(220px, 24vw, 380px); aspect-ratio: 4 / 3;
  rotate: 4deg; overflow: hidden;
}
.hero__pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }

/* ---- Touchpoints: stacking colour sheets --------------- */
.touch { padding-bottom: 0; }
.touch__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; margin-bottom: 48px; }
.touch__head .head { grid-column: 1 / 7; margin: 0; }
.touch__intro { grid-column: 8 / 13; font-size: var(--step-lead); line-height: 1.3; margin: 0; }
.touch__bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 14px var(--margin); background: var(--ink); color: var(--paper); }
.touch__bar .touch__label { margin: 0; white-space: nowrap; color: var(--paper); }
.touch__bar .touch__input { max-width: 560px; min-height: 52px; }
.touch__label { display: block; font-size: var(--step-small); font-weight: 500; margin-bottom: 8px; }
.touch__input {
  width: 100%; min-height: 64px; padding: 0 20px;
  font: 700 var(--step-lead)/1 var(--face); font-stretch: 125%;
  color: var(--ink); background: var(--stone); border: 0; border-radius: 0;
}
.touch__input::placeholder { color: var(--soft); }
.touch__input:focus { outline: 3px solid var(--ink); outline-offset: 0; background: var(--peach); }

.sheets { position: relative; }
.sheet {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
  padding: clamp(64px, 7vw, 112px) var(--margin);
}
.sheet--orange { background: var(--orange); color: var(--ink); }
.sheet--ink { background: var(--ink); color: var(--paper); }
.sheet--paper { background: var(--stone); color: var(--ink); }
.sheet--peach { background: var(--peach); color: var(--ink); }
.sheet__words { grid-column: 1 / 6; }
.sheet__name { font-size: var(--step-head); margin-bottom: 24px; }
.sheet__text { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; margin: 0; }
.sheet__art { grid-column: 7 / 13; display: grid; place-items: center; position: relative; min-height: clamp(260px, 30vw, 420px); }
.sheet:nth-child(even) .sheet__words { grid-column: 8 / 13; grid-row: 1; }
.sheet:nth-child(even) .sheet__art { grid-column: 1 / 7; grid-row: 1; }

/* Drawn touchpoints: flat, palette colours, the visitor's name */
[data-name] { overflow-wrap: anywhere; }
.tp-logo { display: grid; justify-items: center; gap: 18px; text-align: center; }
.tp-logo__mark { width: clamp(96px, 11vw, 160px); aspect-ratio: 1; background: var(--ink); border-radius: 50%; position: relative; }
.tp-logo__mark::after { content: ""; position: absolute; width: 38%; height: 38%; right: 10%; top: -6%; background: var(--paper); border-radius: 0 60% 0 60%; }
.tp-logo__name { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; max-width: 12ch; }
.tp-logo__sub { font-size: var(--step-small); font-weight: 500; }

.tp-web { width: min(100%, 640px); background: var(--paper); color: var(--ink); }
.tp-web__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--stone); }
.tp-web__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--soft); }
.tp-web__bar b { margin-left: 8px; font-size: var(--step-small); font-weight: 500; }
.tp-web__page { padding: 18px 22px 30px; }
.tp-web__nav { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; font-weight: 800; font-stretch: 125%; }
.tp-web__nav span { margin-right: auto; }
.tp-web__nav em { width: 34px; height: 6px; background: var(--stone); }
.tp-web__h { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-lead); line-height: 0.95; max-width: 12ch; margin-bottom: 20px; }
.tp-web__btn { display: inline-block; background: var(--orange); color: var(--ink); font-weight: 700; padding: 12px 18px; }

.tp-card { width: min(100%, 460px); aspect-ratio: 9 / 5; background: var(--ink); color: var(--paper); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; rotate: -3deg; }
.tp-card__name { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; color: var(--orange); margin-bottom: auto; }
.tp-card__line { font-size: var(--step-small); }

.sheet--peach .sheet__art { place-items: center; }
.tp-shirt { width: min(100%, 420px); fill: var(--ink); }
.tp-shirt__name { position: absolute; left: 50%; top: 50%; translate: -50% -20%; width: min(200px, 40%); text-align: center; color: var(--orange); font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-body); line-height: 1; }

.tp-shop { width: min(100%, 560px); }
.tp-shop__sign { background: var(--ink); color: var(--orange); padding: 22px 24px; text-align: center; }
.tp-shop__sign span { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; }
.tp-shop__front { display: grid; grid-template-columns: 1fr 0.7fr 1fr; gap: 12px; height: clamp(140px, 16vw, 220px); background: var(--paper); padding: 12px; }
.tp-shop__front span { background: var(--stone); }
.tp-shop__front .tp-shop__door { background: var(--ink); }

/* ---- Work: big names, one preview frame ---------------- */
.index { position: relative; }
.index__row { display: grid; grid-template-columns: 1fr; padding-block: 12px; text-decoration: none; color: var(--ink); }
.index__thumb { display: none; }
.index__name { font-size: var(--step-head); }
.index__meta { font-size: var(--step-small); font-weight: 500; color: var(--soft); margin-top: 6px; }
.index__blurb { grid-column: 1 / -1; display: none; }
.index__frame { display: none; }
@media (min-width: 1001px) {
  .index { display: grid; grid-template-columns: 8fr 4fr; column-gap: 24px; }
  .index__list { grid-column: 1; }
  .index__row { transition: color var(--t-hover) ease; }
  .index__list:has(.index__row:hover, .index__row:focus-visible) .index__row:not(:hover, :focus-visible) .index__name { color: var(--soft); }
  .index__row.is-active .index__blurb, .index__row:hover .index__blurb, .index__row:focus-visible .index__blurb { display: block; font-size: var(--step-body); color: var(--soft); max-width: 52ch; margin-top: 6px; }
  .index__frame { display: block; grid-column: 2; position: sticky; top: 15vh; align-self: start; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); }
  .index__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 200ms ease; }
  .index__frame.is-swapping img { opacity: 0; }
}

/* ---- Story: highlighted columns ------------------------ */
.story__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.story__grid .head { grid-column: 1 / 7; }
.story__text { grid-column: 7 / 13; max-width: 60ch; font-size: var(--step-lead); line-height: 1.4; color: var(--ink); margin: 0; }
.story__text strong { color: var(--ink); font-weight: 700; }
.hi { color: var(--ink); padding: 0 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hi--orange { background: var(--orange); }
.hi--peach { background: var(--peach); }
.hi--white { background: var(--paper); }
.story__end { display: inline-block; font-weight: 800; font-stretch: 125%; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .story__end:hover { background: var(--ink); color: var(--orange); } }

/* ---- Steps: lines that step across --------------------- */
.steps__list { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; }
.steps__step { grid-column: span 12; }
.steps__step:nth-child(1) { grid-column: 1 / -1; }
.steps__step:nth-child(2) { grid-column: 3 / -1; }
.steps__step:nth-child(3) { grid-column: 5 / -1; }
.steps__step:nth-child(4) { grid-column: 7 / -1; }
.steps__line { font-size: var(--step-head); margin-bottom: 12px; }
.steps__line--last { color: var(--orange); }
.steps__step p { font-size: var(--step-body); color: var(--paper); max-width: 38ch; margin: 0; }

/* ---- FAQ: tabbed index cards --------------------------- */
.faq__head, .faq__drawer { margin-inline: auto; max-width: 980px; }
.faqcard {
  --tab-x: calc(var(--i) * clamp(48px, 9vw, 150px));
  position: relative; z-index: var(--i);
  margin-top: -40px; padding: 40px 0 0;
  clip-path: polygon(0 40px, var(--tab-x) 40px, var(--tab-x) 0, calc(var(--tab-x) + clamp(120px, 14vw, 200px)) 0, calc(var(--tab-x) + clamp(120px, 14vw, 200px)) 40px, 100% 40px, 100% 100%, 0 100%);
}
.faqcard:first-child { margin-top: 0; }
.faqcard--0 { background: var(--orange); }
.faqcard--1 { background: var(--stone); }
.faqcard--2 { background: var(--peach); }
.faqcard summary { list-style: none; cursor: pointer; padding: 22px 28px 56px; }
.faqcard summary::-webkit-details-marker { display: none; }
.faqcard__tab { position: absolute; top: 0; left: var(--tab-x); width: clamp(120px, 14vw, 200px); height: 40px; display: flex; align-items: center; padding-inline: 16px; font-size: var(--step-small); font-weight: 700; font-stretch: 125%; }
.faqcard__q { display: block; font-size: var(--step-body); font-weight: 700; line-height: 1.25; padding-right: 48px; position: relative; }
.faqcard__q::before, .faqcard__q::after { content: ""; position: absolute; right: 4px; top: 0.6em; width: 18px; height: 3px; background: currentColor; transition: rotate var(--t-hover) var(--ease-out); }
.faqcard__q::after { rotate: 90deg; }
.faqcard[open] .faqcard__q::after { rotate: 0deg; }
.qa summary { position: relative; padding-right: 56px; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 16px; height: 3px; background: currentColor; }
.qa summary::after { rotate: 90deg; }
.qa[open] summary::after { rotate: 0deg; }
.faqcard p { padding: 0 28px 64px; margin-top: -24px; max-width: 50ch; font-size: var(--step-body); margin: 0; }
@media (hover: hover) and (pointer: fine) { .faqcard summary:hover .faqcard__q { text-decoration: underline; } }

.qa { background: var(--stone); margin-bottom: 8px; }
.qa summary { cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: var(--step-body); list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa p { padding: 0 24px 24px; max-width: 60ch; margin: 0; }

/* ---- Contact: photo strip, three-cell bar -------------- */
.contact { padding-top: 48px; overflow: hidden; }
.strip { overflow: hidden; margin-bottom: 72px; }
.strip__track { display: flex; gap: 8px; width: max-content; }
.strip__track img, .strip__dup img { height: 150px; width: auto; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.strip__dup { display: flex; gap: 8px; }
.contact__lead { font-size: var(--step-lead); line-height: 1.3; max-width: 44ch; margin: -24px 0 40px; }
.cells { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.cellwrap { display: flex; flex-direction: column; gap: 6px; }
.cellwrap label, .cellwrap > span { font-size: var(--step-small); font-weight: 700; }
.cellwrap .cell { width: 100%; }
.cell {
  min-height: 96px; padding: 0 24px; border: 0; border-radius: 0;
  font: 500 var(--step-body)/1 var(--face); text-align: left;
  background: var(--peach); color: var(--ink);
}
.cell::placeholder { color: var(--ink); opacity: 0.75; }
.cell:focus { outline: 3px solid var(--ink); outline-offset: 0; background: var(--paper); }
.cell--go { text-align: center; background: var(--ink); color: var(--paper); font-weight: 700; font-stretch: 125%; cursor: pointer; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.cell--go:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .cell--go:hover { background: var(--paper); color: var(--ink); } }
.cells__note { grid-column: 1 / 3; font-size: var(--step-small); margin: 8px 0 0; }
.cells__note--end { grid-column: 3; text-align: center; }
.form__error { grid-column: 1 / -1; background: var(--ink); color: var(--paper); padding: 14px 18px; margin: 0 0 8px; }
.form__hp { position: absolute; left: -9999px; }

/* ---- Full contact form --------------------------------- */
.fullform { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fullform label { display: block; font-size: var(--step-small); font-weight: 700; margin: 0 0 6px; }
.fullform label span { font-weight: 400; }
.fullform .field { display: flex; flex-direction: column; }
.fullform .field--wide { grid-column: 1 / -1; }
.fullform input, .fullform select, .fullform textarea {
  width: 100%; min-height: 64px; padding: 0 18px; border: 0; border-radius: 0;
  font: 500 var(--step-body)/1.3 var(--face); color: var(--ink); background: var(--paper);
}
.fullform textarea { padding: 16px 18px; min-height: 140px; resize: vertical; }
.fullform select { appearance: none; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141210' stroke-width='2'/%3E%3C/svg%3E") no-repeat calc(100% - 18px) 50% / 12px 8px; padding-right: 44px; }
.fullform input:focus, .fullform select:focus, .fullform textarea:focus { outline: 3px solid var(--ink); outline-offset: 0; background: var(--peach); }
.fullform .cell--go { grid-column: 1 / -1; min-height: 80px; margin-top: 8px; }
.fullform .form__note { grid-column: 1 / -1; font-size: var(--step-small); margin: 8px 0 0; }

/* ---- Inner pages --------------------------------------- */
.pagehead { padding: 150px var(--margin) clamp(72px, 9vw, 140px); }
.pagehead h1 { font-size: var(--step-title); line-height: 0.9; max-width: 14ch; margin-bottom: 40px; }
.pagehead__lead { font-size: var(--step-lead); line-height: 1.3; max-width: 40ch; margin: 0; }
.pagehead__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.pagehead__row .pagehead__lead { grid-column: 1 / 7; }
.pagehead__row .pagehead__aside { grid-column: 8 / 13; }

/* A large plain list: name huge on the left, the detail on the right */
.bigrow { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-block: clamp(56px, 7vw, 96px); }
.bigrow + .bigrow { padding-top: 0; }
.bigrow:first-child { padding-top: 0; }
.bigrow:last-child { padding-bottom: 0; }
.bigrow__name { grid-column: 1 / 7; font-size: var(--step-head); margin-bottom: 24px; }
.bigrow__body { grid-column: 7 / 13; }
.bigrow__body > p:first-child { font-size: var(--step-lead); line-height: 1.3; }
.ticks { display: grid; gap: 10px; margin-top: 8px; }
.ticks li { padding-left: 28px; position: relative; max-width: 54ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; background: currentColor; }
.sec--orange .ticks li::before, .sheet--orange .ticks li::before { background: var(--ink); }

/* Statements on panels of unequal width */
.panels { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 8px; }
.panel { padding: clamp(28px, 3vw, 44px); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.panel h3 { font-size: var(--step-lead); font-stretch: 125%; line-height: 1.05; margin-bottom: 40px; }
.panel p { margin: 0; max-width: 34ch; }
.panel--0 { background: var(--orange); }
.panel--1 { background: var(--ink); color: var(--paper); }
.panel--1 p { color: var(--soft-on-ink); }
.panel--2 { background: var(--stone); }

/* Industry rows on the work page */
.ind { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 96px); }
.ind + .ind { padding-top: 0; }
.ind__art { grid-column: 7 / 13; }
.ind__text { grid-column: 1 / 6; grid-row: 1; }
.ind__text h3 { font-size: var(--step-head); font-stretch: 150%; text-transform: uppercase; margin-bottom: 24px; }
.ind--flip .ind__art { grid-column: 1 / 7; }
.ind--flip .ind__text { grid-column: 8 / 13; }
.textlink { font-weight: 700; font-stretch: 125%; }
.fineprint { font-size: var(--step-small); color: var(--soft); margin-top: 16px; }
.sec--orange .fineprint, .pagehead .fineprint { color: var(--ink); }
.sec--ink .fineprint { color: var(--soft-on-ink); }

/* Concept website drawings (flat) */
.mock { --m-bg: #fff; --m-fg: var(--ink); --m-hero: var(--stone); --m-btn: var(--orange); --m-btn-fg: var(--ink); --m-card: var(--stone);
  overflow: hidden; background: var(--m-bg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--ink); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--soft); }
.mock__bar b { margin-left: 8px; color: var(--soft-on-ink); font-size: var(--step-small); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__nav { display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: var(--m-fg); }
.mock__nav strong { margin-right: auto; font-weight: 800; font-stretch: 125%; }
.mock__nav em { width: 28px; height: 6px; background: currentColor; opacity: 0.3; }
.mock__hero { background: var(--m-hero); padding: 30px 18px 32px; color: var(--m-hero-fg, var(--m-fg)); }
.mock__hero p { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-lead); line-height: 0.95; margin: 0 0 16px; max-width: 11ch; }
.mock__btn { display: inline-block; background: var(--m-btn); color: var(--m-btn-fg); font-weight: 700; padding: 10px 14px; font-size: var(--step-small); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 18px 18px; }
.mock__cards span { background: var(--m-card); color: var(--m-fg); padding: 26px 6px 10px; font-size: var(--step-small); font-weight: 500; text-align: center; }
.mock--gym { --m-bg: #15110C; --m-fg: #fff; --m-hero: #241B11; --m-card: #2E2317; }
.mock--trade { --m-hero: #1E3A5F; --m-hero-fg: #fff; --m-btn: #FFC83D; --m-card: #E6EDF5; }
.mock--clinic { --m-bg: #F6FAF8; --m-hero: #D7EBE4; --m-btn: #1F5D50; --m-btn-fg: #fff; --m-card: #E7F1ED; }

/* The four company names, set as a big plain list */
.names { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.names li { font-size: var(--step-head); line-height: 1.05; }

.contact-big { display: grid; gap: 24px; margin: 40px 0 0; }
.contact-big span { display: block; font-size: var(--step-small); font-weight: 700; margin-bottom: 6px; }
.contact-big a { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; text-decoration: none; overflow-wrap: anywhere; }
.contact-big a[href^="mailto"] { text-transform: none; font-stretch: 125%; }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-lead); font-stretch: 125%; text-transform: uppercase; margin: 56px 0 16px; }
.prose li { margin-bottom: 10px; }

/* ---- Footer: the phone number is the headline ---------- */
.foot { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; padding: 40px var(--margin) 28px; }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; font-size: var(--step-body); }
.foot__top p { margin: 0; }
.foot__top p:first-child { grid-column: 1 / 5; max-width: 34ch; color: var(--soft-on-ink); }
.foot__top p:nth-child(2) { grid-column: 5 / 9; }
.foot__up { grid-column: 9 / 13; text-align: right; }
.foot__call { margin: clamp(72px, 10vw, 160px) 0 32px; font-size: var(--step-title); line-height: 0.86; white-space: nowrap; }
.foot .foot__call a { text-decoration: none; color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .foot .foot__call a:hover { color: var(--paper); } }
.foot__meta { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px 24px; font-size: var(--step-small); color: var(--soft-on-ink); }
.foot__meta p { margin: 0; }
.foot__meta p:last-child { text-align: right; }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot__links a { color: var(--paper); }
.foot a { color: inherit; }

.callbar { display: none; }

/* ---- Motion -------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--r, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .js .hero__line { transform: translateY(105%); animation: rise 900ms var(--ease-expo) 120ms forwards; }
  .hero__name { overflow: clip; overflow-clip-margin: 0.1em; }
  .js .hero__top, .js .hero__bottom { opacity: 0; transform: translateY(12px); animation: fade 600ms var(--ease-out) forwards; }
  .js .hero__top { animation-delay: 420ms; }
  .js .hero__bottom { animation-delay: 560ms; }
  .js .hero__pic { clip-path: inset(0 0 100% 0); animation: open 1000ms var(--ease-in-out) 260ms forwards; }
  .js .hero__pic img { scale: 1.1; animation: settle 1300ms var(--ease-expo) 260ms forwards; }

  .js .pagehead h1 { animation: fade 800ms var(--ease-expo) 80ms both; }
  .js .pagehead__row { animation: fade 700ms var(--ease-out) 320ms both; }
  .strip__track { animation: drift 60s linear infinite; }
  .js .strip__track > img { animation: fade 700ms var(--ease-out) both; }
  .js .strip__track > img:nth-child(1) { animation-delay: 270ms; }
  .js .strip__track > img:nth-child(2) { animation-delay: 340ms; }
  .js .strip__track > img:nth-child(3) { animation-delay: 410ms; }
  .js .strip__track > img:nth-child(4) { animation-delay: 480ms; }
  .js .strip__track > img:nth-child(5) { animation-delay: 550ms; }
  .js .strip__track > img:nth-child(6) { animation-delay: 620ms; }
  .js .strip__track > img:nth-child(7) { animation-delay: 690ms; }
  .js .strip__track > img:nth-child(8) { animation-delay: 760ms; }

  .strip:hover .strip__track { animation-play-state: paused; }

  .tp-card { transition: rotate 400ms var(--ease-out); }
  .sheet:hover .tp-card { rotate: 0deg; }

  @supports (animation-timeline: view()) {
    .hero__name { animation: shrink linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; transform-origin: 50% 100%; }
    .foot__call { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; transform-origin: 0 100%; }
  }
}
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; transform: none; } }
@keyframes open { to { clip-path: inset(0); } }
@keyframes settle { to { scale: 1; } }
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes shrink { to { scale: 0.93; } }
@keyframes grow { from { scale: 0.94; } to { scale: 1; } }

/* ---- Responsive ---------------------------------------- */
@media (max-width: 1000px) {
  .bar__menu { display: block; }
  .bar__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px var(--margin) 20px; }
  .bar__nav.is-open { display: flex; }
  .bar__nav a:not(.button) { color: var(--paper); padding: 16px 0; font-size: var(--step-body); text-decoration: none; }
  .bar__nav .button { margin-top: 12px; background: var(--orange); color: var(--ink); min-height: 56px; }
  .touch__head { grid-template-columns: 1fr; row-gap: 32px; }
  .touch__head .head, .touch__intro { grid-column: 1; }
  .touch__bar { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 10px; }
  .touch__bar .touch__input { min-height: 48px; }
  .sheet { grid-template-columns: 1fr; row-gap: 32px; }
  .sheet .sheet__words, .sheet:nth-child(even) .sheet__words { grid-column: 1; grid-row: 1; }
  .sheet .sheet__art, .sheet:nth-child(even) .sheet__art { grid-column: 1; grid-row: 2; min-height: 0; }
  .story__grid { grid-template-columns: 1fr; }
  .story__grid .head, .story__text { grid-column: 1; }
  .bigrow, .ind, .pagehead__row { grid-template-columns: 1fr; }
  .bigrow__name, .bigrow__body, .ind__art, .ind__text, .ind--flip .ind__art, .ind--flip .ind__text, .pagehead__row .pagehead__lead, .pagehead__row .pagehead__aside { grid-column: 1; grid-row: auto; }
  .pagehead__row { row-gap: 32px; }
  .pagehead__lead { max-width: none; }
  .bigrow + .bigrow { padding-top: 24px; }
  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 0; }
  .foot__top { grid-template-columns: 1fr; row-gap: 12px; }
  .foot__top p, .foot__top p:first-child, .foot__top p:nth-child(2), .foot__up { grid-column: 1; text-align: left; }
  .foot__meta { grid-template-columns: 1fr; }
  .foot__meta p:last-child { text-align: left; }
}

@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .head, .steps__line, .sheet__name, .index__name, .bigrow__name, .names li, .pagehead h1 { font-stretch: 125%; }
  .names { grid-template-columns: 1fr; }
  .panels { gap: 0; }
  .panel--1 { margin-left: 8vw; }
  .panel--2 { margin-left: 16vw; }
  .bar { padding-block: 14px; }

  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; padding-top: 88px; min-height: 100svh; row-gap: 28px; }
  .hero__name { grid-row: 1; }
  .hero__top { grid-row: 2; max-width: none; }
  .hero__lead { font-size: var(--step-lead); }
  .hero__top .button { width: 100%; }
  .hero__bottom { grid-row: 3; flex-direction: column; align-items: start; gap: 12px; }
  .hero__call { text-align: left; }
  .hero__pic { position: relative; grid-row: 4; right: auto; top: auto; width: 82%; aspect-ratio: 4 / 5; margin: 8px 0 -60px auto; align-self: end; }

  .steps__step:nth-child(n) { grid-column: 1 / -1; }
  .steps__step:nth-child(2) { padding-left: 6vw; }
  .steps__step:nth-child(3) { padding-left: 12vw; }
  .steps__step:nth-child(4) { padding-left: 18vw; }

  .faqcard { margin-top: -40px; }
  .faqcard summary { padding: 18px 20px 52px; }
  .faqcard p { padding: 0 20px 60px; }

  .strip__track img, .strip__dup img { height: 110px; }
  .cells, .fullform { grid-template-columns: 1fr; }
  .cell { min-height: 60px; }
  .cellwrap > span { display: none; }
  .cells__note, .cells__note--end { grid-column: 1; text-align: left; }

  .index__row { grid-template-columns: 1fr; padding-block: 0 40px; }
  .index__thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 14px; background: var(--stone); }
  .index__name { font-size: 9.5vw; }

  .callbar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); transition: transform 260ms var(--ease-out); }
  .callbar.is-away { transform: translateY(110%); }
  .callbar a { display: grid; place-items: center; min-height: 48px; font-weight: 700; font-stretch: 125%; text-decoration: none; color: var(--paper); background: var(--ink-2); }
  .callbar .callbar__main { background: var(--orange); color: var(--ink); }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .index__row { grid-template-columns: 1fr; padding-block: 0 40px; }
  .index__thumb { display: block; width: 100%; max-width: 640px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; margin-bottom: 14px; }
}

/* five-step staircase (about page) and full-height short pages */
.steps__step:nth-child(5) { grid-column: 9 / -1; }
@media (max-width: 760px) { .steps__step:nth-child(5) { padding-left: 24vw; } }
.pagehead--full { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.pagehead__lead .button { margin-top: 28px; }
.pagehead__aside .mock { max-width: 520px; }

/* credits: each picture beside its source */
.credits { display: grid; gap: 32px; }
.credits li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.credits img { width: 200px; height: 150px; object-fit: cover; filter: grayscale(1); }
@media (max-width: 760px) { .credits li { grid-template-columns: 1fr; } .credits img { width: 100%; height: auto; aspect-ratio: 4 / 3; } }
.pagehead .strip { margin: 56px calc(-1 * var(--margin)) 0; }

/* five steps (about page): the diagonal stays inside the grid */
.steps--five .steps__step:nth-child(1) { grid-column: 1 / -1; }
.steps--five .steps__step:nth-child(2) { grid-column: 2 / -1; }
.steps--five .steps__step:nth-child(3) { grid-column: 4 / -1; }
.steps--five .steps__step:nth-child(4) { grid-column: 5 / -1; }
.steps--five .steps__step:nth-child(5) { grid-column: 7 / -1; }
@media (max-width: 760px) {
  .steps--five .steps__step:nth-child(n) { grid-column: 1 / -1; }
  .steps--five .steps__step:nth-child(2) { padding-left: 4vw; }
  .steps--five .steps__step:nth-child(3) { padding-left: 8vw; }
  .steps--five .steps__step:nth-child(4) { padding-left: 12vw; }
  .steps--five .steps__step:nth-child(5) { padding-left: 16vw; }
}
/* long reading pages run in two columns on wide screens */
@media (min-width: 1001px) {
  .prose--cols { columns: 2; column-gap: 56px; max-width: none; }
  .prose--cols h2 { break-after: avoid; margin-top: 0; padding-top: 40px; }
  .prose--cols p { break-inside: avoid; }
  .credits { grid-template-columns: 1fr 1fr; column-gap: 56px; }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .steps--five .steps__step:nth-child(n) { grid-column: 1 / -1; }
  .steps--five .steps__step:nth-child(2) { padding-left: 6vw; }
  .steps--five .steps__step:nth-child(3) { padding-left: 12vw; }
  .steps--five .steps__step:nth-child(4) { padding-left: 18vw; }
  .steps--five .steps__step:nth-child(5) { padding-left: 24vw; }
}

/* work tiles: every client site visible */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 24px; }
.tiles a { display: grid; gap: 8px; text-decoration: none; color: var(--ink); }
.tiles img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--stone); margin-bottom: 8px; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tiles a:hover img { transform: translateY(-4px); } .tiles a:hover .tiles__name { text-decoration: underline; } }
.tiles__name { font-weight: 800; font-stretch: 150%; text-transform: uppercase; font-size: var(--step-lead); line-height: 1; }
.tiles__meta { font-size: var(--step-small); font-weight: 700; }
.tiles__blurb { max-width: 52ch; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; gap: 40px; } }
/* contact page: form beside the title */
.pagehead__row--form { align-items: start; }
.pagehead__row--form .fullform input, .pagehead__row--form .fullform select, .pagehead__row--form .fullform textarea { background: var(--paper); }
.work__jump { flex-direction: column; gap: 6px; font-size: var(--step-lead); }
.pagehead__row:has(.work__jump) { align-items: start; }
