/*
  Daydream homepage.

  Fonts: Termina (headlines) and Neue Haas Grotesk Text (body) are the intended
  pairing, pending Adobe Fonts / Monotype licence confirmation.
  To swap in Adobe fonts later:
    1. Add both families to an Adobe Fonts web project (or licence via Monotype).
    2. Embed the Adobe kit or licensed @font-face files.
    3. Keep "termina" and "neue-haas-grotesk-text" first in --display and --text;
       Unbounded and Inter remain fallbacks if the licensed files fail to load.
  This mockup uses the free fallbacks only.

  --orange is the single primary colour token. Switch this one value to
  Hermès #F37021 if that orange is chosen.
*/

@font-face {
  font-family: "Unbounded";
  src: url("fonts/Unbounded-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #FC5810;
  --cream: #FFF6EB;
  --cream-2: #F6EBDD;
  --cream-3: #F3E6D4;
  --cream-warn: #F8D8C4;
  --cream-slot: #EAD9C4;
  --footer: #F3C8A8;
  --brown: #3B1A0E;
  --brown-soft: rgba(59, 26, 14, 0.68);
  --burnt: #B83A00;
  --deep: #6B2E14;
  --display: "termina", "Unbounded", sans-serif;
  --text: "neue-haas-grotesk-text", "Inter", sans-serif;
  --page: 1320px;
  --page-pad: 64px;
  --header-h: 88px;
  --vh: 100vh;
}

@supports (height: 100svh) {
  :root { --vh: 100svh; }
}

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

html { scroll-behavior: auto; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  hyphens: manual;
}

img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.05;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Keyboard only: a solid offset ring. No persistent outlines. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
}

/* Floating header — no bar, panel or blur. Colour via body[data-header]. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px var(--page-pad) 0;
  background: transparent;
  pointer-events: none;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--page);
  margin: 0 auto;
  column-gap: 16px;
  pointer-events: none;
}
.site-nav .logo,
.site-nav .links,
.site-nav .menu-toggle { pointer-events: auto; }

.site-nav .logo {
  justify-self: start;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.site-nav .logo img {
  height: 20px;
  width: auto;
  transition: filter 0.3s ease;
}

.site-nav .links {
  display: flex;
  align-items: center;
  gap: 4px 14px;
  justify-self: end;
  justify-content: flex-end;
  grid-column: 3;
  font-size: 0.8125rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.nav-link {
  color: inherit;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover,
  .nav-link:focus-visible { color: var(--burnt); }
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--brown);
  border: none; /* UA reset — no decorative stroke */
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: var(--text);
  margin-left: 4px;
  white-space: nowrap;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Mid widths: keep the desktop nav, but reserve space for the centre
   flower and tighten link gaps so Work is clear and the CTA stays one line.
   Leaves the ≤839px menu and the ≥1200px header unchanged. */
@media (min-width: 840px) and (max-width: 1199px) {
  .site-nav {
    grid-template-columns: 1fr 5.5rem 1fr;
  }
  .site-nav .links {
    gap: 4px 6px;
    font-size: 0.75rem;
  }
  .nav-link { padding: 6px 2px; }
  .cta-pill {
    padding: 8px 12px;
    margin-left: 2px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .cta-pill:hover,
  .cta-pill:focus-visible { transform: scale(1.04); }
}

/* Fixed top-centre flower */
.flower-mark {
  position: fixed;
  top: 20px;
  left: 50%;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  z-index: 51;
  pointer-events: none;
  color: var(--orange);
}
.flower {
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 50%;
}

/* Header colour modes — cream/white over photos and orange, brown over cream */
body[data-header="photo"] .site-header,
body[data-header="orange"] .site-header,
body[data-header="photo"] .nav-link,
body[data-header="orange"] .nav-link,
body[data-header="photo"] .menu-toggle,
body[data-header="orange"] .menu-toggle {
  color: var(--cream);
}
body[data-header="photo"] .menu-toggle-bars i,
body[data-header="orange"] .menu-toggle-bars i { background: var(--cream); }
body[data-header="photo"] .site-nav .logo img,
body[data-header="orange"] .site-nav .logo img {
  filter: brightness(0) invert(1);
}
body[data-header="photo"] .flower-mark,
body[data-header="orange"] .flower-mark { color: var(--cream); }

body[data-header="cream"] .site-header,
body[data-header="cream"] .nav-link,
body[data-header="cream"] .menu-toggle { color: var(--brown); }
body[data-header="cream"] .menu-toggle-bars i { background: var(--brown); }
body[data-header="cream"] .site-nav .logo img { filter: none; }
body[data-header="cream"] .flower-mark { color: var(--orange); }

/* Over the orange promise, a cream CTA stays readable */
body[data-header="orange"] .site-header .cta-pill {
  background: var(--cream);
  color: var(--brown);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none; /* UA reset */
  padding: 8px 10px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}
.menu-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

/* ---- Pin stack: hero sticks; promise slides over it, then sticks;
   first cards section slides over the promise. Isolation keeps sticky
   z-index from covering services. ---- */
.pin-stack { position: relative; }
html.js:not(.reduce-motion) .pin-stack { isolation: isolate; }

html.js:not(.reduce-motion) .pin-stack .scene-hero {
  position: sticky;
  top: 0;
  z-index: 1;
  height: var(--vh);
}
html.js:not(.reduce-motion) .pin-stack .scene-promise {
  position: sticky;
  top: 0;
  z-index: 2;
  height: var(--vh);
  overflow: hidden;
  background: var(--cream);
}
html.js:not(.reduce-motion) .pin-stack #work {
  position: relative;
  z-index: 3;
  min-height: var(--vh);
  /* Header is --header-h; add a clear gap so tags sit below logo/flower/nav. */
  padding-top: calc(var(--header-h) + 16px);
  padding-bottom: 48px;
  align-items: stretch;
  /* Subgrid so both photo frames share one row: same top, same bottom, same height. */
  grid-template-rows: auto auto auto 1fr;
  row-gap: 0;
}
html.js:not(.reduce-motion) .pin-stack #work .card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  min-height: 0;
}
html.js:not(.reduce-motion) .pin-stack #work .frame {
  margin-top: 14px;
  aspect-ratio: auto;
  /* 16:9 of one of the two columns (page pad + 24px column gap). Never shorter. */
  min-height: calc((100vw - 2 * var(--page-pad) - 24px) / 2 * 9 / 16);
  height: auto;
  align-self: stretch;
}
html.js:not(.reduce-motion) .pin-stack #work .frame.photo .visual-inner {
  position: absolute;
  inset: 0;
}
.scene-hero { z-index: 1; }
.scene-promise { z-index: 2; }

.stage {
  height: var(--vh);
  background: var(--cream);
  color: var(--brown);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 8px) var(--page-pad) 32px;
  overflow: hidden;
}
.stage-copy { flex: 0 0 auto; max-width: var(--page); width: 100%; margin: 0 auto; }

.scene-hero .stage { padding: 0; width: 100%; max-width: 100%; }
.scene-hero .visual { margin: 0; max-width: none; width: 100%; }
.scene-hero .stage-copy {
  flex: 0 0 auto;
  max-width: none;
  padding: 18px var(--page-pad) 28px;
  background: var(--cream);
}

/* Smiley: exactly full width, whole image, height follows aspect. No side letterbox. */
.scene-hero .visual {
  flex: 0 0 auto;
  height: auto;
  overflow: hidden;
}
.scene-hero .visual-inner { height: auto; }
.scene-hero .smiley-frame {
  display: block;
  width: 100%;
  height: auto;
  background: var(--cream);
  overflow: hidden;
}
.scene-hero .smiley-frame img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.visual {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.visual-inner {
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

/* Type */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
}
.tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--cream-3);
  color: var(--brown);
}
.tag.warn,
.tag.ph {
  background: var(--cream-warn);
  color: var(--burnt);
}

.hook {
  font-size: 0.9375rem;
  color: var(--brown-soft);
  max-width: 52ch;
  margin: 0;
}
.hook em {
  display: block;
  font-style: normal;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burnt);
  margin: 6px 0 0;
}

.scene-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 8px;
  color: var(--brown);
}

/* Promise — always the solid orange threshold on this full screen */
.scene-promise .stage {
  background: var(--orange);
  color: var(--brown);
  justify-content: center;
  padding-top: var(--header-h);
}
.scene-promise h2 {
  font-size: clamp(2.75rem, 6.5vw, 4rem);
  line-height: 0.98;
  max-width: 16ch;
  margin: 0 0 16px;
  color: #fff;
}
.scene-promise .phrase-line {
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: clamp(2rem, 4.2vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.scene-promise .label-path,
.scene-promise .works-slot .name,
.scene-promise .support,
.scene-promise .clients-inline,
.scene-promise .clients-inline .for,
.scene-promise .phrase-note,
.scene-promise .clients-note { color: var(--brown); }
.scene-promise .clients-inline .ph,
.scene-promise .tag.ph {
  background: var(--cream);
  color: var(--brown);
}

.label-path {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burnt);
  margin: 0 0 10px;
}
.works-slot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.works-slot .name {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.support {
  font-size: 1.125rem;
  line-height: 1.45;
  max-width: 48ch;
  color: var(--brown-soft);
}
.clients-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--brown-soft);
}
.clients-inline .for { flex: 0 0 auto; }
.clients-inline .ph {
  background: none;
  color: inherit;
  font-weight: inherit;
  white-space: normal;
  padding: 0;
  border-radius: 0;
}
.phrase-note,
.clients-note {
  margin-top: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--burnt);
  max-width: 48ch;
}
.clients-note { margin-top: 8px; }
.phrase-line + .phrase-note { margin-top: 10px; }

section[id],
#contact { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---- v7 sections: normal scroll from here ---- */

/* Project cards — flush on the text grid, photos fill 16:9 with cover */
.cards-2 {
  padding: 48px var(--page-pad) 52px;
  background: var(--cream-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  align-items: stretch;
  width: 100%;
}
.card,
.ph-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  background: transparent;
}
.card h3,
.ph-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  margin: 0 0 8px;
}
.card .hook,
.ph-card .hook { margin: 0 0 14px; }
.card { position: relative; }
.card-stretch {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.frame,
.frame.photo,
.ph-photo {
  position: relative;
  margin-top: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
}
.frame.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.frame.photo .visual-inner {
  width: 100%;
  height: 100%;
}
.frame.photo.coke img { object-position: center 58%; }

.ph-card .ph-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-soft);
  background: var(--cream-slot);
}

/* Services — one at a time as you scroll */
.services-copy {
  padding: 56px var(--page-pad) 56px;
  background: var(--cream);
  width: 100%;
}
.services-copy h2 {
  font-size: clamp(2.15rem, 4.5vw, 2.25rem);
  line-height: 1.08;
  margin: 0 0 12px;
  max-width: 16ch;
}
.services-copy .support { margin-bottom: 22px; font-size: 1.0625rem; }
.services-copy .cta-pill { margin-left: 0; }

.svc-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 28rem;
}
.svc-item {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--brown);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
}
.svc-name { display: block; white-space: nowrap; }
.svc-abbr {
  display: block;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  font-variation-settings: normal;
  color: var(--brown-soft);
}
html.js:not(.reduce-motion) .svc-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
html.js:not(.reduce-motion) .svc-item.is-on {
  opacity: 1;
  transform: none;
}


/* Products */
.products {
  padding: 56px var(--page-pad) 64px;
  background: var(--cream);
  width: 100%;
}
.products h2 {
  font-size: clamp(1.85rem, 3.5vw, 2rem);
  margin: 0 0 8px;
}
.products .soon { margin-top: 8px; }
.soon {
  border-radius: 0;
  min-height: 0;
  display: block;
  color: var(--brown-soft);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
}

.site-foot {
  position: relative;
  z-index: 10;
  padding: 28px var(--page-pad);
  background: var(--footer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--brown);
}
.site-foot .logo img { height: 18px; width: auto; }
.site-foot p,
.foot-details {
  font-size: 0.8125rem;
  color: var(--brown);
  max-width: 48ch;
  line-height: 1.5;
}
.foot-details { text-align: right; }
.foot-details .legal { font-weight: 600; margin-bottom: 4px; }
.foot-details p { margin: 0; max-width: none; }
@media (hover: hover) and (pointer: fine) {
  .foot-details a:hover,
  .foot-details a:focus-visible { color: var(--burnt); }
}

/* Light reveal — v7 sections only */
html.js:not(.reduce-motion) .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
html.js:not(.reduce-motion) .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flower-spin { transform: none !important; }
  .cta-pill { transition: none; }
  .pin-stack .scene-hero,
  .pin-stack .scene-promise,
  .scene-hero,
  .scene-promise,
  .scene-hero .stage,
  .scene-promise .stage {
    position: relative !important;
    height: auto !important;
  }
  .scene-promise .stage { min-height: var(--vh); }
  .pin-stack #work {
    min-height: 0 !important;
    padding-top: 48px !important;
    padding-bottom: 52px !important;
    grid-template-rows: none !important;
    row-gap: 40px !important;
  }
  .pin-stack #work .card {
    display: flex !important;
    grid-row: auto !important;
  }
  .pin-stack #work .frame {
    flex: 0 0 auto !important;
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
  }
  .pin-stack #work .frame.photo .visual-inner {
    position: static !important;
    inset: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .svc-item { opacity: 1 !important; transform: none !important; }
  .visual-inner,
  .stage-copy,
  [data-motion="copy"],
  .scene-promise .stage { transform: none !important; opacity: 1 !important; }
}

@media (max-width: 768px) {
  /* Smiley: image then caption, no 100svh empty cream block (v8b) */
  html.js:not(.reduce-motion) .pin-stack .scene-hero,
  html.js:not(.reduce-motion) .scene-hero,
  .scene-hero,
  .scene-hero .stage {
    position: relative;
    height: auto;
  }
  .scene-hero .visual,
  .scene-hero .visual-inner,
  .scene-hero .smiley-frame,
  .scene-hero .smiley-frame img {
    width: 100%;
    max-width: none;
    height: auto;
  }
  .scene-hero .stage-copy { padding: 16px var(--page-pad) 24px; }
}

@media (max-width: 839px) {
  :root { --page-pad: 20px; --header-h: 72px; }

  .menu-toggle {
    display: block;
    justify-self: end;
    grid-column: 2;
    position: relative;
    z-index: 2;
  }
  .site-nav { grid-template-columns: 1fr auto; }
  .site-nav .links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    grid-column: 1 / -1;
    padding: 16px 0 12px;
    gap: 2px;
  }
  .site-nav.is-open .links { display: flex; }
  .site-header:has(.site-nav.is-open) {
    background: var(--cream);
    color: var(--brown);
    pointer-events: auto;
    padding-bottom: 8px;
  }
  .site-header:has(.site-nav.is-open) .nav-link,
  .site-header:has(.site-nav.is-open) .menu-toggle { color: var(--brown); }
  .site-header:has(.site-nav.is-open) .menu-toggle-bars i { background: var(--brown); }
  .site-header:has(.site-nav.is-open) .logo img { filter: none; }
  .site-header:has(.site-nav.is-open) .cta-pill {
    background: var(--orange);
    color: var(--brown);
    margin: 10px 0 0;
    justify-content: center;
  }
  .nav-link { padding: 10px 4px; }

  .flower-mark {
    top: 18px;
    width: 32px;
    height: 32px;
    margin-left: -16px;
  }
  body.menu-open .flower-mark { color: var(--orange); }

  .scene-promise .stage { padding: calc(var(--header-h) + 4px) var(--page-pad) 24px; }
  .services-copy,
  .products { padding: 40px var(--page-pad) 40px; }
  .cards-2 {
    grid-template-columns: 1fr;
    padding: 36px var(--page-pad) 40px;
    gap: 36px;
  }
  html.js:not(.reduce-motion) .pin-stack #work {
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    row-gap: 36px;
    padding-bottom: 48px;
  }
  html.js:not(.reduce-motion) .pin-stack #work .card {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    grid-row: auto;
    min-height: 0;
  }
  html.js:not(.reduce-motion) .pin-stack #work .frame {
    flex: 1 1 auto;
    min-height: calc((100vw - 2 * var(--page-pad)) * 9 / 16);
  }
  .clients-inline { font-size: 1rem; }
  .svc-name { white-space: normal; }
  .site-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px var(--page-pad) 32px;
  }
  .foot-details { text-align: left; }
}

@media (min-width: 1100px) {
  :root { --page-pad: 60px; }
}


/* ---- Work page only. Homepage rules above are unchanged. ---- */
body.page-work[data-header="cream"] .nav-link.is-current,
body.page-case[data-header="cream"] .nav-link.is-current,
body.page-services[data-header="cream"] .nav-link.is-current,
body.page-about[data-header="cream"] .nav-link.is-current,
body.page-contact[data-header="cream"] .nav-link.is-current { color: var(--burnt); }

body.page-work .work-main {
  padding-top: calc(var(--header-h) + 16px);
}
body.page-work .work-intro {
  padding: 0 var(--page-pad);
}
body.page-work .page-title {
  font-size: clamp(2.75rem, 6vw, 4rem);
  margin: 0;
}
body.page-work .work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 40px;
}
body.page-work .work-filters button {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 6px 0;
  margin: 0;
  font-family: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--brown-soft);
  cursor: pointer;
  line-height: 1.3;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
body.page-work .work-filters button[aria-checked="true"] {
  color: var(--burnt);
  box-shadow: inset 0 -2px 0 var(--burnt);
}
body.page-work .work-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 24px;
  padding: 0 var(--page-pad) 72px;
  align-items: start;
}
body.page-work .work-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
body.page-work .work-card.is-lead { grid-column: 1 / -1; }
body.page-work .work-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
body.page-work .work-cats {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burnt);
  margin: 0 0 8px;
}
body.page-work .work-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.5rem);
  margin: 0 0 8px;
}
body.page-work .work-card.is-lead h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.25rem);
}
body.page-work .work-card .hook {
  margin: 0 0 14px;
  max-width: 62ch;
}
body.page-work .work-card.is-lead .hook { max-width: 54ch; }
body.page-work .work-card .frame {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
}
body.page-work .work-card.is-hiding {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
body.page-work .work-card.is-hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  body.page-work .work-card { transition: none; }
  body.page-work .work-card.is-hiding { transform: none; }
}

@media (max-width: 839px) {
  body.page-work .work-index {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 56px;
  }
  body.page-work .work-filters { gap: 10px 16px; margin: 24px 0 32px; }
  body.page-work .work-card.is-lead h2 {
    font-size: clamp(1.5rem, 6vw, 1.85rem);
  }
}


/* ---- Case study page only. ---- */
body.page-case .case-hero {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream-slot);
}
body.page-case .case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  border: 0;
  border-radius: 0;
}
body.page-case .case-body {
  padding: 40px var(--page-pad) 0;
}
body.page-case .case-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 22px;
  max-width: 18ch;
}
body.page-case .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin: 0 0 32px;
}
body.page-case .facts div { min-width: 0; }
body.page-case .facts dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burnt);
  margin-bottom: 4px;
}
body.page-case .facts dd {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--brown);
}
body.page-case .brief { max-width: 54ch; margin: 0 0 48px; }
body.page-case .brief h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  margin: 0 0 12px;
}
body.page-case .brief p {
  font-size: 1rem;
  color: var(--brown-soft);
}
body.page-case .gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 16px;
}
body.page-case .gallery .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
body.page-case .gallery .photo {
  width: 100%;
  overflow: hidden;
  background: var(--cream-slot);
  aspect-ratio: 3 / 2;
}
body.page-case .gallery .photo.portrait { aspect-ratio: 2 / 3; }
body.page-case .gallery .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  border-radius: 0;
}
body.page-case .next { padding: 48px 0 56px; }
body.page-case .next .k {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burnt);
  margin: 0 0 8px;
}
body.page-case .next a {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.1;
  color: var(--orange);
}
@media (hover: hover) and (pointer: fine) {
  body.page-case .next a:hover,
  body.page-case .next a:focus-visible { color: var(--burnt); }
}

@media (max-width: 839px) {
  body.page-case .case-body { padding-top: 28px; }
  body.page-case .brief { margin-bottom: 36px; }
  body.page-case .facts { gap: 12px 24px; margin-bottom: 24px; }
  body.page-case .gallery { gap: 16px; }
  body.page-case .gallery .row-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  body.page-case .next { padding: 36px 0 40px; }
}


/* ---- Services page only. ---- */
body.page-services .services-main {
  padding-top: calc(var(--header-h) + 16px);
}
body.page-services .svc-intro {
  padding: 0 var(--page-pad) 40px;
}
body.page-services .page-title {
  font-size: clamp(2.75rem, 6vw, 4rem);
  margin: 0 0 12px;
}
body.page-services .svc-intro .lead {
  margin: 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  color: var(--brown-soft);
}
body.page-services .discipline {
  padding: 48px var(--page-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 24px;
  align-items: center;
  background: var(--cream);
}
body.page-services .discipline:nth-of-type(even) {
  background: var(--cream-2);
}
body.page-services .discipline h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.25rem);
  margin: 0 0 12px;
}
body.page-services .discipline .copy p {
  font-size: 1rem;
  color: var(--brown-soft);
  max-width: 38ch;
  margin: 0 0 16px;
}
body.page-services .discipline .see {
  font-size: 1rem;
  font-weight: 600;
  color: var(--burnt);
}
@media (hover: hover) and (pointer: fine) {
  body.page-services .discipline .see:hover,
  body.page-services .discipline .see:focus-visible { color: var(--brown); }
}
body.page-services .discipline .photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream-slot);
}
body.page-services .discipline .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  border-radius: 0;
}

body.page-services .discipline.is-soon {
  grid-template-columns: 1fr;
  background: var(--cream-2);
  padding-top: 56px;
  padding-bottom: 56px;
}
body.page-services .discipline.is-soon .copy p {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  color: var(--brown);
  max-width: none;
  margin: 0;
}
body.page-services .svc-close {
  background: var(--orange);
  padding: 64px var(--page-pad) 72px;
}
body.page-services .svc-close h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin: 0;
  max-width: 14ch;
  line-height: 1.05;
}
body.page-services .svc-close h2 a {
  color: var(--cream);
}

@media (max-width: 839px) {
  body.page-services .svc-intro { padding-bottom: 28px; }
  body.page-services .discipline {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px var(--page-pad);
  }
  body.page-services .discipline.is-soon {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  body.page-services .svc-close { padding: 48px var(--page-pad) 56px; }
}


/* ---- About page only. ---- */
body.page-about .about-main {
  padding-top: calc(var(--header-h) + 16px);
}
body.page-about .about-intro {
  padding: 0 var(--page-pad) 56px;
}
body.page-about .page-title {
  font-size: clamp(2.75rem, 6vw, 4rem);
  margin: 0 0 12px;
}
body.page-about .promise {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  color: var(--brown);
  margin: 0 0 28px;
  max-width: 18ch;
}
body.page-about .story {
  max-width: 54ch;
}
body.page-about .story p {
  font-size: 1.0625rem;
  color: var(--brown-soft);
  margin: 0;
}
body.page-about .approach {
  background: var(--cream-2);
  padding: 56px var(--page-pad);
}
body.page-about .approach h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.25rem);
  margin: 0 0 12px;
}
body.page-about .approach .support {
  margin: 0;
  max-width: 54ch;
  font-size: 1.0625rem;
  color: var(--brown-soft);
}
body.page-about .about-close {
  background: var(--orange);
  padding: 64px var(--page-pad) 72px;
}
body.page-about .about-close h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin: 0 0 16px;
  max-width: 14ch;
  line-height: 1.05;
}
body.page-about .about-close h2 a {
  color: var(--cream);
}
body.page-about .about-close .details {
  font-size: 1rem;
  color: var(--brown);
  max-width: 46ch;
}
body.page-about .about-close .details p { margin: 0 0 4px; }
body.page-about .about-close .details a { color: var(--brown); }

@media (max-width: 839px) {
  body.page-about .about-intro { padding-bottom: 40px; }
  body.page-about .approach { padding: 40px var(--page-pad); }
  body.page-about .about-close { padding: 48px var(--page-pad) 56px; }
}


/* ---- Contact page only. ---- */
body.page-contact .contact-main {
  padding-top: calc(var(--header-h) + 16px);
}
body.page-contact .contact-intro {
  padding: 0 var(--page-pad) 40px;
}
body.page-contact .page-title {
  font-size: clamp(2.75rem, 6vw, 4rem);
  margin: 0 0 12px;
}
body.page-contact .promise {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  color: var(--brown);
  margin: 0;
  max-width: 18ch;
}
body.page-contact .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 0 var(--page-pad) 72px;
  align-items: start;
}
body.page-contact .company {
  font-family: var(--display);
  font-weight: 800;
  font-variation-settings: "wght" 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.15rem, 2vw, 1.25rem);
  margin: 0 0 4px;
}
body.page-contact .web {
  font-size: 1rem;
  color: var(--brown-soft);
  margin: 0 0 24px;
}
body.page-contact .details {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}
body.page-contact .details li {
  font-size: 1rem;
  color: var(--brown);
  margin: 0 0 6px;
  max-width: 28ch;
}
body.page-contact .details a { color: var(--brown); }
@media (hover: hover) and (pointer: fine) {
  body.page-contact .details a:hover,
  body.page-contact .details a:focus-visible,
  body.page-contact .wa:hover,
  body.page-contact .wa:focus-visible { color: var(--brown); }
}
body.page-contact .wa {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--burnt);
}
body.page-contact .enquiry .label-path { margin-bottom: 20px; }
body.page-contact .field { margin: 0 0 20px; }
body.page-contact .field label,
body.page-contact .field legend {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burnt);
  margin: 0 0 8px;
  padding: 0;
  border: 0;
}
body.page-contact .types {
  border: 0;
  margin: 0 0 20px;
  padding: 0;
  min-width: 0;
}
body.page-contact .field input,
body.page-contact .field textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--brown);
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: var(--brown);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  padding: 8px 0;
}
body.page-contact .field textarea {
  min-height: 132px;
  resize: vertical;
}
body.page-contact .field input:focus-visible,
body.page-contact .field textarea:focus-visible {
  border-bottom-width: 2px;
  border-bottom-color: var(--burnt);
}
body.page-contact .type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: baseline;
}
body.page-contact .type-row label {
  display: inline;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brown-soft);
  cursor: pointer;
}
body.page-contact .type-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.page-contact .type-row input:checked + span {
  color: var(--burnt);
  box-shadow: inset 0 -2px 0 var(--burnt);
}
body.page-contact .type-row input:focus-visible + span {
  box-shadow: inset 0 -2px 0 var(--burnt);
}
body.page-contact .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  background: var(--orange);
  color: var(--brown);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: default;
}

@media (max-width: 839px) {
  body.page-contact .contact-intro { padding-bottom: 28px; }
  body.page-contact .split {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 48px;
  }
  body.page-contact .details li { max-width: none; }
}
