/* ==========================================================================
   Howell'n
   ========================================================================== */

:root {
  --bg: #f7f7f7;
  --fg: #000;
  --muted: #9b9c96;
  --muted-2: #767773;
  --pill: #ebebeb;
  --blank: #e8e8e6;
  --line: #000;

  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 2.3vw, 34px);
  --fs-sm: 12px;
  --fs-base: clamp(16px, 1.39vw, 20px);
  --fs-lg: clamp(30px, 4.3vw, 62px);
  --fs-logo: clamp(28px, 3.05vw, 44px);
  --lh-display: 0.95; /* leading for the big headlines */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 0.95;
  letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
h1, h2, h3, p, ul { margin: 0; padding: 0; font-weight: 400; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

a, button { transition: color 0.25s ease, opacity 0.25s ease; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--fg); color: var(--bg); padding: 10px 14px;
}
.skip-link:focus { top: 10px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, #262626 0%, #0b0b0b 38%, #000 70%);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loader span {
  color: #fff; font-size: var(--fs-logo); font-weight: 500; line-height: 0.88; letter-spacing: -0.03em;
  animation: pulse 1.6s ease-in-out infinite;
}
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
body.is-loading { overflow: hidden; }

@keyframes pulse { 50% { opacity: 0.55; transform: scale(0.97); } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: start;
  padding: var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}
.header a { pointer-events: auto; }

.header-logo {
  font-size: var(--fs-logo); line-height: 0.88; letter-spacing: -0.03em; font-weight: 500;
  justify-self: start;
}

.header-nav { display: flex; gap: 1.1em; padding-top: 0.15em; }
.header-nav a:hover, .header-contact:hover { opacity: 0.5; }

.header-right { justify-self: end; display: flex; gap: 1.1em; padding-top: 0.15em; }
.header-right a:hover { opacity: 0.5; }
.header-right a[aria-current="page"] { opacity: 0.5; }

/* "Contact" → "Copied" swap */
.copy-email { position: relative; display: inline-grid; }
.copy-email .copy, .copy-email .copied { grid-area: 1 / 1; transition: opacity 0.3s ease, transform 0.4s var(--ease); }
.copy-email .copied { opacity: 0; transform: translateY(40%); }
.copy-email.is-copied .copy { opacity: 0; transform: translateY(-40%); }
.copy-email.is-copied .copied { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
/* The headline sits centred (top to bottom) in the space between the header and
   the first project. */
.hero {
  display: flex; align-items: center;
  min-height: clamp(280px, 46vh, 520px);
  padding: calc(var(--gutter) * 2 + var(--fs-logo)) var(--gutter) 0;
}
.hero-title {
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: var(--lh-display);
  letter-spacing: -0.035em;
  max-width: 16em;
}
.hero-title span { color: var(--muted); }

.hero-media {
  width: 76%;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: radial-gradient(circle at 50% 50%, #2a2a2a 0%, #0d0d0d 42%, #000 75%);
  display: grid; place-items: center;
  overflow: hidden;
}
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-mark { color: #fff; font-size: var(--fs-lg); font-weight: 500; line-height: var(--lh-display); letter-spacing: -0.035em; }

.statement {
  margin-top: clamp(40px, 5.5vw, 80px);
  font-size: var(--fs-lg);
  line-height: var(--lh-display);
  letter-spacing: -0.035em;
  max-width: 22em;
}
.statement a { color: var(--muted); }
.statement a:hover { color: var(--fg); }

/* ---------- Work ---------- */
.work { padding: clamp(80px, 10vw, 150px) var(--gutter) 0; }
.hero + .work { padding-top: 0; }

.work-head:has(.filters[hidden]) { display: none; }
.work-head {
  position: sticky; top: calc(var(--gutter) + var(--fs-logo) + 8px);
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 90px);
  pointer-events: none;
}
.work-head > * { pointer-events: auto; }
.work-title { font-size: var(--fs-lg); line-height: var(--lh-display); letter-spacing: -0.035em; max-width: 4em; }
.work-all { color: var(--muted); grid-column: 2; padding-top: 0.3em; }
.work-all:hover, .work-all.is-active { color: var(--fg); }

.filters { grid-column: 3 / 5; display: grid; grid-template-columns: 1fr 1fr; padding-top: 0.3em; }
.filter-list button { color: var(--muted); line-height: 0.95; text-align: left; }
.filter-list button:hover, .filter-list button.is-active { color: var(--fg); }

.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(56px, 7vw, 110px);
}

.work-card[hidden] { display: none; }

.work-media {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--fg);
}
.work-media img, .work-media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.work-media:hover img, .work-media:hover video { transform: scale(1.025); }
/* a logo held still over the cover (mark in projects.js) */
.work-media img.work-mark, .work-media:hover img.work-mark {
  position: absolute; left: 50%; top: 50%; width: auto; height: 58%;
  transform: translate(-50%, -50%); pointer-events: none;
}

/* Blank slot — ready for artwork */
.work-media.is-blank { background: var(--blank); }
.work-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #b9b9b5;
  font-size: var(--fs-base);
}
.work-placeholder::before,
.work-placeholder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), #dcdcd9 50%, transparent calc(50% + 0.5px));
}
.work-placeholder::after { transform: scaleX(-1); }
.work-placeholder span { position: relative; z-index: 1; background: var(--blank); padding: 0.4em 0.7em; }

.work-info { padding-top: 12px; }
.work-card-title { font-size: var(--fs-base); }
.work-card-summary { color: var(--muted-2); margin-top: 6px; line-height: 1.1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.work-tags:empty { display: none; }
.work-tags button {
  font-size: var(--fs-sm); letter-spacing: -0.04em; line-height: 0.9;
  color: var(--muted-2); background: var(--pill);
  padding: 5px 7px 4px; border-radius: 3px;
}
.work-tags button:hover, .work-tags button.is-active { background: var(--fg); color: var(--bg); }

/* ---------- Section title ---------- */
.section-title {
  font-size: var(--fs-lg); line-height: var(--lh-display); letter-spacing: -0.035em;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- Studio stack (full-screen panels, stack as you scroll) ---------- */
.studio-stack { position: relative; margin-top: clamp(120px, 16vw, 240px); }
.studio-stack-bleed { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }

/* Panels scroll normally; each one clips its own fixed text, so the list holds still
   while the photos pass underneath and the active name switches at the photo edge. */
.ss-panel {
  position: relative;
  height: 100vh; height: 100svh;
  clip-path: inset(0);
  color: #fff;
  background: #111;
}
.ss-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ss-panel[data-link] { cursor: pointer; }
.ss-panel::after { /* keeps white type readable on any photo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0) 60%);
  pointer-events: none;
}
.ss-panel.is-shaded::after { /* stronger shade for bright photos (shade: true in projects.js) */
  background:
    linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0) 30%),
    linear-gradient(90deg, rgba(0,0,0,0.5), rgba(0,0,0,0.12) 80%);
}
/* Round project badge + "See work" that follow the mouse (hover in projects.js) */
.ss-cursor {
  position: fixed; left: 0; top: 0; z-index: 2;
  width: clamp(170px, 14vw, 240px);
  display: none; flex-direction: column; align-items: center; gap: 12px;
  transform: translate(calc(var(--mx, 50vw) - 50%), calc(var(--my, 50vh) - clamp(170px, 14vw, 240px) / 2));
  scale: 0.6; opacity: 0; pointer-events: none;
  transform-origin: 50% calc(clamp(170px, 14vw, 240px) / 2);
  transition: opacity 0.3s ease, scale 0.4s var(--ease);
}
.ss-cursor img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.ss-cursor span {
  font-size: var(--fs-base); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
@media (hover: hover) and (pointer: fine) {
  .ss-cursor { display: flex; }
  .ss-panel:hover .ss-cursor { opacity: 1; scale: 1; }
  .ss-panel:has(a:hover) .ss-cursor { opacity: 0; }
}
.ss-blank { display: grid; place-items: end end; }
.ss-blank span { font-size: var(--fs-sm); color: rgba(255,255,255,0.35); padding: var(--gutter); }
.ss-tone-1 { background: radial-gradient(circle at 70% 40%, #3b3b3b, #0c0c0c 70%); }
.ss-tone-2 { background: radial-gradient(circle at 30% 70%, #4a4a46, #141414 70%); }
.ss-tone-3 { background: radial-gradient(circle at 60% 60%, #5c5c58, #1b1b1a 75%); }
.ss-tone-4 { background: radial-gradient(circle at 50% 30%, #2e2e2e, #050505 70%); }

.ss-inner {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--fs-logo) + var(--gutter) * 2) var(--gutter) var(--gutter);
}
.ss-label { font-weight: 500; font-size: var(--fs-base); }
.ss-list { margin-top: clamp(32px, 4vw, 60px); }
.ss-list a {
  display: inline-block;
  font-size: clamp(38px, 5.2vw, 76px); font-weight: 500;
  line-height: 0.98; letter-spacing: -0.035em;
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.ss-list a:hover, .ss-list a.is-active { opacity: 1; }
.ss-detail {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
  display: flex; justify-content: space-between; align-items: end; gap: var(--gutter);
  font-size: var(--fs-sm); line-height: 1.25; letter-spacing: -0.02em;
}
.ss-detail p { max-width: 30em; }
.ss-link { white-space: nowrap; border-bottom: 1px solid currentColor; }
.ss-link-mob { display: none; }
/* Phones and touch screens: no mouse badge, so "See work" is a solid button above the services line */
@media (max-width: 768px), (hover: none) {
  .ss-detail { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .ss-link {
    border: 0; background: #fff; color: #111;
    padding: 12px 22px; border-radius: 999px;
    font-size: var(--fs-base); font-weight: 500; letter-spacing: -0.02em;
  }
  .ss-link-desk { display: none; }
  .ss-link-mob { display: inline; }
}

/* ---------- Contact ---------- */
.contact {
  margin: clamp(120px, 16vw, 240px) var(--gutter) 0;
  padding-top: 14px;
  border-top: 1px solid var(--muted);
  font-size: var(--fs-lg); line-height: var(--lh-display); letter-spacing: -0.035em;
}
.contact-title { font-size: inherit; }
.contact-link { display: block; color: var(--muted); width: fit-content; }
.contact-link:hover { color: var(--fg); }

/* ---------- Footer ---------- */
.footer { padding: clamp(100px, 14vw, 220px) var(--gutter) var(--gutter); }
.footer-wordmark { width: 100%; overflow: hidden; }
.footer-wordmark span {
  display: inline-block; white-space: nowrap;
  font-weight: 500; line-height: 0.8; letter-spacing: -0.06em;
  font-size: 22vw; /* refined by JS to fit */
  padding-bottom: 0.04em;
}
.footer-meta {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gutter);
  margin-top: clamp(20px, 2.5vw, 36px);
  font-size: var(--fs-sm); line-height: 1.15; letter-spacing: -0.02em;
}
.footer-meta a:hover { color: var(--muted); }

/* ==========================================================================
   Project profile (project.html)
   ========================================================================== */
.page-project main { padding: 0 var(--gutter); }

.project-head { padding-top: calc(var(--gutter) * 2 + var(--fs-logo) + 24px); }
.project-title {
  font-size: var(--fs-lg); line-height: var(--lh-display); letter-spacing: -0.035em; font-weight: 500;
  max-width: 13em;
}
.project-title a { color: var(--muted); }

.project-meta {
  display: grid; grid-template-columns: 1fr 1fr 2fr;
  margin: clamp(80px, 11vw, 160px) 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--muted);
  font-size: var(--fs-sm); line-height: 1.15; letter-spacing: -0.02em;
}
.project-meta dt { color: var(--muted-2); }
.project-meta dd { margin: 0; }
@media (min-width: 769px) { .project-meta { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.25; } } /* same as Studio Information */

.project-hero { margin-top: clamp(24px, 3vw, 40px); }

/* media slot */
.pm { position: relative; margin: 0; width: 100%; overflow: hidden; background: var(--fg); }
.pm img, .pm video { width: 100%; height: 100%; object-fit: cover; }
.pm.is-blank { background: var(--blank); }

/* blocks */
.project-blocks { display: grid; gap: clamp(8px, 0.7vw, 10px); }

/* Case-study layout (layout: "case" in projects.js) — carried over from the
   portfolio case pages so a project reads the same in both places. */
.project-blocks.is-case {
  display: block; margin-top: clamp(24px, 3vw, 40px);
  --cs-space: clamp(44px, 5.5vw, 88px); --cs-r: 24px; --cs-gap: 12px; --cs-fg: #111110;
}
.cs-statement {
  font-size: clamp(20px, 2.5vw, 34px); font-weight: 400;
  line-height: 1.32; letter-spacing: -0.015em;
  max-width: 52ch; margin: 64px 0 72px; color: rgba(17, 17, 16, 0.78);
}
.cs-statement .lead { font-weight: 700; color: var(--cs-fg); }
.cs-bleed { margin: 0 calc(var(--gutter) * -1) var(--cs-space); }
.cs-bleed img { width: 100%; height: auto; display: block; }
.cs-full { margin: 0 0 var(--cs-space); }
.cs-full img { width: 100%; height: auto; display: block; border-radius: var(--cs-r); }
.cs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--cs-gap); margin-bottom: var(--cs-space); }
.cs-pair figure { margin: 0; }
.cs-pair img { width: 100%; height: auto; display: block; border-radius: var(--cs-r); }
.cs-trio {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3.4vw, 64px);
  max-width: 78%; margin: 0 auto var(--cs-space);
}
.cs-trio img { width: 100%; height: auto; display: block; border-radius: var(--cs-r); }

/* motion panel — a portrait clip rotated to fill a 16:9 frame, line set over it.
   The video's width is the frame's height (9/16 of its width); rotating 90deg
   swaps the two, so it lands exactly with no crop. */
.cs-motion {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; border-radius: var(--cs-r);
  background: #000; margin-bottom: var(--cs-space);
}
.cs-motion video {
  position: absolute; left: 50%; top: 50%;
  width: calc(100% * 9 / 16); height: auto;
  transform: translate(-50%, -50%) rotate(90deg);
}
.cs-motion .mo-copy {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(18px, 3vw, 44px); text-align: center; padding: 6%;
  pointer-events: none;
}
.cs-motion .mo-line { font-size: clamp(26px, 5vw, 72px); line-height: 1.05; color: #70CDDF; margin: 0; }
.cs-motion img.mo-line { width: min(62%, 620px); height: auto; display: block; }
.cs-motion .mo-mark { width: clamp(110px, 13vw, 230px); height: auto; display: block; }

/* packaging — label flat on the left, bottle with live Square Peg callouts on
   the right. The right column keeps the Figma frame's 937x713 ratio so the
   callout percentages stay valid at any width. */
.cs-pack { position: relative; width: 100%; aspect-ratio: 1920 / 860; margin-bottom: var(--cs-space); }
.pk-label { position: absolute; left: 7.08%; top: 0; width: 31.41%; height: auto; }
.pk-bot {
  position: absolute; left: 45.47%; top: 8.55%; width: 48.80%;
  aspect-ratio: 936.97 / 713.2; container-type: inline-size;
}
.bo-head { position: absolute; left: 6.70%; top: 0; width: 79.82%; height: auto; }
.bo-bottle { position: absolute; left: 0; top: 34.30%; width: 100%; height: auto; }
.bo-note {
  position: absolute; left: var(--x); top: var(--y); width: var(--w);
  font-family: "Square Peg", var(--font); font-weight: 400;
  font-size: 5.4cqw; line-height: 1.1; letter-spacing: 0; color: var(--cs-fg);
  white-space: nowrap; transform-origin: left center;
  transform: rotate(var(--r)) translate(0, 0);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bo-note:hover { transform: rotate(var(--r)) translate(0, -6px) scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .bo-note, .bo-note:hover { transition: none; transform: rotate(var(--r)); }
}
/* red panel — screens framed in brand red */
.cs-red {
  background: #D8232A; border-radius: var(--cs-r);
  padding: clamp(22px, 3vw, 54px); margin-bottom: var(--cs-space);
}
.cs-red video, .cs-red img { width: 100%; height: auto; display: block; border-radius: 8px; }
/* colour panel with the piece inset */
.cs-panel {
  border-radius: var(--cs-r); margin-bottom: var(--cs-space);
  padding: clamp(28px, 4.5vw, 90px) clamp(24px, 6vw, 180px);
}
.cs-panel img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* a row of screens on a panel; width follows the count so N fit across */
.cs-screens {
  background: var(--screens-bg, #261406); border-radius: var(--cs-r);
  margin-bottom: var(--cs-space);
  padding: clamp(36px, 5vw, 96px) clamp(20px, 4vw, 64px);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  --sgap: clamp(18px, 3vw, 64px); gap: var(--sgap);
}
.cs-screens img {
  width: min(300px, calc((100% - (var(--screens-n, 3) - 1) * var(--sgap)) / var(--screens-n, 3)));
  height: auto; display: block;
}

/* colour swatches — hover unfolds tints/shades + the breakdown */
.cs-swatches {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 28px); margin: 0 auto var(--cs-space);
}
.cs-swatch {
  position: relative; aspect-ratio: 1 / 1.7; overflow: hidden;
  border-radius: var(--cs-r); outline: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cs-swatch:hover, .cs-swatch:focus-visible { transform: translateY(-6px); }
.sw-ref {
  position: absolute; top: 13px; left: 13px; z-index: 3;
  width: 36%; aspect-ratio: 1; border-radius: 6px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.sw-ref img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-steps { position: absolute; inset: 0; display: flex; flex-direction: column; }
.sw-steps i { flex: 1; display: block; opacity: 0; transition: opacity 0.45s ease; }
.cs-swatch:hover .sw-steps i, .cs-swatch:focus-visible .sw-steps i { opacity: 1; }
.sw-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 14px 15px;
  display: flex; flex-direction: column; gap: 3px;
  color: #FBF5EB; line-height: 1.2; letter-spacing: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: 0.12s;
}
.cs-swatch.on-light .sw-info { color: #111110; background: linear-gradient(to top, rgba(255, 255, 255, 0.6), transparent); }
.cs-swatch:hover .sw-info, .cs-swatch:focus-visible .sw-info { opacity: 1; transform: none; }
.sw-name { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 2px; }
.sw-val { font-size: 11px; letter-spacing: 0.06em; opacity: 0.85; }

/* square: true in projects.js — no rounded corners anywhere in the case */
.project-blocks.is-case.is-square { --cs-r: 0; }
.is-square .cs-red video, .is-square .cs-red img,
.is-square .cs-panel img, .is-square .sw-ref { border-radius: 0; }

/* tinted clip with the mark held still over it */
.cs-clip {
  position: relative; width: 100%; aspect-ratio: 1929 / 1187;
  overflow: hidden; border-radius: var(--cs-r);
  margin-bottom: var(--cs-space); background: #161d11;
}
.cs-clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cl-mark { position: absolute; left: 50%; top: 50%; width: 28.8%; transform: translate(-50%, -50%); display: block; z-index: 2; }

/* slide: a row that never stops, and can be dragged */
.cs-slide {
  position: relative; overflow: hidden; margin-bottom: var(--cs-space);
  cursor: grab; touch-action: pan-y;
}
.cs-slide.is-dragging { cursor: grabbing; }
.sl-track {
  display: flex; width: max-content;
  animation: sl-run var(--sl-dur, 46s) linear infinite;
  will-change: transform;
}
.sl-track img {
  width: clamp(240px, 27vw, 340px); height: auto; display: block;
  border-radius: var(--cs-r); margin-right: 14px;
  user-select: none; -webkit-user-drag: none;
}
@keyframes sl-run { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* a wall of patterns, each cell mid-change */
.cs-patterns {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 22px); margin-bottom: var(--cs-space);
}
.pt-cell {
  position: relative; aspect-ratio: var(--pt-ratio, 565.34 / 443.5);
  border-radius: var(--cs-r); overflow: hidden; background: #1d2418;
}
.pt-cell img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; opacity: 0;
  animation-duration: var(--pt-dur, 13.2s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: opacity;
}
@media (prefers-reduced-motion: reduce) {
  .sl-track { animation: none; }
  .cs-slide { overflow-x: auto; }
  .pt-cell img { animation: none; }
  .pt-cell img:first-child { opacity: 1; }
}

@media (max-width: 768px) {
  .sl-track img { width: min(70vw, 290px); margin-right: 10px; }
  .cs-panel { padding: 20px 16px; }
  .cs-screens { padding: 26px 16px; gap: 14px; }
  .cs-screens img { width: calc(50% - 7px); }
  .cs-swatches { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sw-info, .sw-steps i { opacity: 1; transform: none; } /* no hover on touch */
  .cs-patterns { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .project-blocks.is-case { --cs-space: clamp(30px, 7vw, 52px); --cs-r: 18px; --cs-gap: 8px; }
  .cs-statement { margin: 40px 0 46px; }
  .cs-pair { grid-template-columns: 1fr; }
  .cs-trio { grid-template-columns: 1fr; gap: 18px; max-width: 100%; }
  .cs-motion { aspect-ratio: 4 / 5; }
  .cs-motion video { width: calc(100% * 5 / 4); }
  .cs-pack { aspect-ratio: auto; display: flex; flex-direction: column; gap: 26px; }
  .pk-label { position: static; width: 72%; margin: 0 auto; }
  .pk-bot { position: relative; left: auto; top: auto; width: 100%; }
}
.pb + .pb { margin-top: clamp(0px, 0vw, 0px); }
.pb-split-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 0.7vw, 10px); align-items: start; }
.pb-split.wide-left .pb-split-row { grid-template-columns: 2fr 1fr; }
.pb-split.wide-right .pb-split-row { grid-template-columns: 1fr 2fr; }
.pb-grid-row { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(8px, 0.7vw, 10px); }

.p-caption {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 12px 0 clamp(40px, 5vw, 72px);
}
.p-caption-label { color: var(--muted); }

.pb-statement {
  text-align: center;
  padding: clamp(100px, 14vw, 210px) 0;
}
.pb-statement h2 {
  font-size: clamp(32px, 5vw, 72px); line-height: var(--lh-display); letter-spacing: -0.035em; font-weight: 500;
  max-width: 13em; margin: 0 auto;
}
.pb-more { margin-top: 24px; color: var(--muted); }
.pb-more:hover { color: var(--fg); }
.pb-more-text { max-width: 34em; margin: 20px auto 0; line-height: 1.1; }

.pb-carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; cursor: e-resize;
}
.pb-carousel-track::-webkit-scrollbar { display: none; }
.pb-slide { flex: 0 0 100%; scroll-snap-align: start; }
.pb-carousel-ui {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; font-size: var(--fs-sm); color: var(--muted-2);
}
.pb-carousel-ui button { color: var(--muted-2); }
.pb-carousel-ui button:hover { color: var(--fg); }
.pb-carousel .p-caption { padding-top: 4px; }

.pb-text { display: grid; grid-template-columns: 1fr 1fr; padding: clamp(60px, 8vw, 120px) 0; }
.pb-text h2 { font-size: var(--fs-lg); line-height: var(--lh-display); letter-spacing: -0.035em; }
.pb-text p + p { margin-top: 1em; }
.pb-text p { line-height: 1.1; }

/* overview + team */
.project-overview {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: clamp(120px, 16vw, 240px);
  border-top: 1px solid var(--line);
}
.project-overview .section-title { border-top: 0; }
.project-overview-body { padding-top: 14px; }
.project-overview-body p { line-height: 1.1; max-width: 34em; }
.project-overview-body p + p { margin-top: 1em; }

.project-team {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: clamp(64px, 8vw, 120px);
  font-size: var(--fs-sm); line-height: 1.15; letter-spacing: -0.02em;
}
.project-team h2 { font-size: var(--fs-base); }
.project-team dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px var(--gutter); }
.project-team dt { color: var(--muted-2); }
.project-team dd { margin: 0; }

.project-pager {
  display: flex; justify-content: space-between; gap: var(--gutter);
  margin-top: clamp(100px, 14vw, 200px);
  padding-top: 14px;
  border-top: 1px solid var(--muted);
  font-size: var(--fs-lg); line-height: var(--lh-display); letter-spacing: -0.035em;
}
.project-pager a:last-child { text-align: right; }
.project-pager span { color: var(--muted); }
.project-pager a:hover span { color: var(--fg); }

@media (max-width: 720px) {
  .project-meta { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .project-meta > div:last-child { grid-column: 1 / -1; }
  .pb-split-row, .pb-split.wide-left .pb-split-row, .pb-split.wide-right .pb-split-row { grid-template-columns: 1fr; }
  .pb-grid-row { grid-template-columns: repeat(2, 1fr); }
  .p-caption, .pb-text, .project-overview, .project-team { grid-template-columns: 1fr; row-gap: 6px; }
  .project-team dl { grid-template-columns: 1fr; margin-top: 12px; }
  .project-pager { font-size: 26px; flex-direction: column; }
  .project-pager a:last-child { text-align: left; }
}

/* ==========================================================================
   Studio (studio.html) — dark page
   ========================================================================== */
.page-studio {
  --bg: #000;
  --fg: #fff;
  --muted: #8b8c86;
  --muted-2: #a5a6a0;
  --line: #3a3a3a;
  --blank: #141414;
}
.page-studio .work-placeholder { color: #4a4a48; }
.page-studio .work-placeholder::before,
.page-studio .work-placeholder::after { background: linear-gradient(to top right, transparent calc(50% - 0.5px), #262626 50%, transparent calc(50% + 0.5px)); }
.page-studio .work-placeholder span { background: var(--blank); }
.header-nav a[aria-current="page"] { opacity: 0.5; }

.studio-page { padding: 0 var(--gutter); }

.st-intro { padding-top: calc(var(--gutter) * 2 + var(--fs-logo) + 4px); }
.st-intro h1,
.st-indent,
.st-title {
  font-size: var(--fs-lg); line-height: var(--lh-display); letter-spacing: -0.035em; font-weight: 500;
}
.st-indent { text-indent: 50%; }
.st-intro .st-indent { margin-top: calc(var(--lh-display) * -1em); } /* first line sits beside the title's last line */

.st-section {
  position: relative;
  margin-top: clamp(120px, 16vw, 240px);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.st-title-inline { position: absolute; top: 14px; left: 0; }

/* Information */
.st-info { display: grid; grid-template-columns: 1fr 1fr; }
.st-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gutter); }
.st-block {
  font-size: var(--fs-sm); line-height: 1.2; letter-spacing: -0.02em;
  padding: 0 0 clamp(48px, 6vw, 80px);
}
.st-block:nth-child(n + 3) { border-top: 1px solid var(--line); padding-top: 14px; }
.st-block h3 { font-weight: 500; margin-bottom: 14px; }
.st-block li, .st-block dd { color: var(--muted-2); }
.st-block dt { font-weight: 500; }
.st-block dd { margin: 0 0 12px; }
@media (min-width: 769px) { .st-block { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.25; } }
.st-block a:hover { color: var(--fg); }

/* Approach */
.st-stages {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter);
  margin-top: clamp(80px, 10vw, 150px);
}
.st-stage h3 { font-size: var(--fs-sm); font-weight: 500; margin-top: 12px; }
.st-stage p {
  font-size: var(--fs-sm); line-height: 1.25; letter-spacing: -0.02em;
  color: var(--muted-2); margin-top: 8px; max-width: 26em;
}

.page-studio .studio-stack + .contact { margin-top: clamp(80px, 10vw, 150px); }
.page-studio .contact { border-top-color: var(--line); }

/* Floating reel */
.st-reel {
  position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 90;
  width: clamp(120px, 11vw, 160px); aspect-ratio: 16 / 9;
  background: #1a1a1a; overflow: hidden;
  display: grid; place-items: end start;
}
.st-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-reel span { position: relative; font-size: 10px; letter-spacing: -0.01em; color: #fff; padding: 6px 7px; }

@media (max-width: 1024px) {
  .st-stages { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 720px) {
  .st-indent { text-indent: 0; }
  .st-intro .st-indent { margin-top: 0.3em; }
  .st-title-inline { position: static; margin-bottom: 0.3em; }
  .st-info { grid-template-columns: 1fr; row-gap: 24px; }
  .st-reel { display: none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .loader img { animation: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .header { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .hero-media { width: 100%; }
  .statement { max-width: none; }

  .work-head { position: static; grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .work-all { grid-column: 2; justify-self: end; }
  .filters { grid-column: 1 / -1; grid-template-columns: 1fr 2fr; }


  .contact-link { font-size: 0.62em; line-height: 1; margin-top: 0.2em; }
  .footer-meta { grid-template-columns: 1fr 1fr; row-gap: 16px; }
}

/* ---------- Contact page (white, with the enquiry form) ---------- */
.page-contact { background: #fff; }
.contact-page .hero { min-height: clamp(260px, 42vh, 480px); }
.cf {
  max-width: 720px;
  padding: 0 var(--gutter) clamp(100px, 12vw, 180px);
  font-size: var(--fs-base); line-height: 1.2; letter-spacing: -0.02em;
}
.cf fieldset { border: 0; margin: 0 0 clamp(28px, 3vw, 40px); padding: 0; min-width: 0; }
.cf-field { margin-bottom: clamp(28px, 3vw, 40px); }
.cf legend, .cf-field > label, .cf-row > label { display: block; font-weight: 500; }
.cf legend { margin-bottom: 14px; padding: 0; }
.cf em { font-style: normal; font-weight: 400; color: var(--muted-2); margin-left: 4px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-row > label { font-weight: 400; }
.cf input[type="text"], .cf input[type="email"], .cf input[type="tel"], .cf select, .cf textarea {
  display: block; width: 100%; margin-top: 10px;
  font: inherit; font-weight: 400; letter-spacing: inherit; color: var(--fg);
  background: #fff; border: 1px solid #8e8e8a; border-radius: 6px;
  padding: 14px 16px;
  transition: border-color 0.2s ease;
}
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: var(--fg); box-shadow: 0 0 0 1px var(--fg); }
.cf.was-checked input:invalid { border-color: #c0392b; }
.cf select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10' viewBox='0 0 18 10'%3E%3Cpath d='M1 1l8 8 8-8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding-right: 48px;
}
.cf select:invalid, .cf select option[value=""] { color: var(--muted-2); }
.cf textarea { resize: vertical; min-height: 160px; }
.cf-check { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-weight: 400; cursor: pointer; }
.cf-check input { width: 18px; height: 18px; margin: 0; accent-color: #000; }
.cf-money { position: relative; display: block; max-width: 360px; }
.cf-money > span { position: absolute; left: 16px; top: calc(50% + 5px); transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.cf-money input { padding-left: 34px !important; }
.cf-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.cf-pills label { cursor: pointer; }
.cf-pills input { position: absolute; opacity: 0; pointer-events: none; }
.cf-pills span {
  display: inline-block; padding: 9px 18px;
  border: 1px solid #8e8e8a; border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cf-pills label:hover span { border-color: var(--fg); }
.cf-pills input:checked + span { background: var(--fg); color: #fff; border-color: var(--fg); }
.cf-pills input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.cf-submit {
  font: inherit; font-weight: 500; letter-spacing: inherit;
  background: #000; color: #fff; border: 0; border-radius: 6px;
  padding: 16px 44px; cursor: pointer;
  transition: opacity 0.2s ease;
}
.cf-submit:hover { opacity: 0.8; }
.cf-status { margin-top: 16px; color: var(--muted-2); min-height: 1.2em; }
@media (max-width: 600px) {
  .cf-row { grid-template-columns: 1fr; gap: 20px; }
}


/* ---------- Hot Kini: bottle over the surf photo, labels blinking ---------- */
.cs-bottle {
  position: relative; width: 100%; aspect-ratio: 1695 / 1156;
  border-radius: var(--cs-r); overflow: hidden; margin-bottom: var(--cs-space);
  background: #3a3a3a;
}
.cs-bottle .bt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* where the bottle sits in the Figma section (71:8726) */
.bt-labels { position: absolute; left: 48.26%; top: 12.28%; width: 43.06%; aspect-ratio: 1460 / 1743; }
.bt-labels img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.bt-labels img.is-under { opacity: 1; z-index: 1; }
.bt-labels img.is-on { opacity: 1; z-index: 2; }
/* a board exported with its own edges: no rounding, full width on phones */
.cs-narrow img { border-radius: 0; }
@media (max-width: 768px) { .cs-narrow { width: 100% !important; } }

/* ---------- GRECK case, carried over from the portfolio ----------
   Runs on the GRECK site's paper (bg in projects.js). Sizes are cqw off the
   1920 Figma frame, so each block scales with the page width. */
.cs-ticker, .cs-note, .cs-phones, .cs-tags, .cs-site {
  margin: 0 calc(var(--gutter) * -1) var(--cs-space);
}
.cs-ticker, .cs-note, .cs-phones, .cs-site { container-type: inline-size; }

/* ticker: words and painted dots running left, paused on hover */
.gk-ticker {
  overflow: hidden; border-block: 1px solid #000; padding: 2.03cqw 0;
  font-family: "42dot Sans", "Inter Tight", sans-serif; font-weight: 600;
  font-size: max(10px, 2.6cqw); line-height: 1.2; text-transform: uppercase; color: #000;
}
.gk-track {
  display: flex; align-items: center; gap: 0.86em; width: max-content; padding-right: 0.86em;
  animation: gk-tick 40s linear infinite;
}
.gk-track span { white-space: nowrap; }
.gk-track img { height: 1.03em; width: auto; transition: rotate 0.4s cubic-bezier(.2,.7,.1,1); }
.gk-ticker:hover .gk-track { animation-play-state: paused; }
.gk-ticker:hover .gk-track img { rotate: 20deg; }
@keyframes gk-tick { to { transform: translateX(-50%); } }

/* note: the "Her practice" block */
.cs-note {
  display: grid; grid-template-columns: 14.43cqw 37.12cqw; padding: 0 0 0 28.02cqw;
  color: #0E0E0E;
}
.cs-note .nt-label, .cs-note .nt-foot {
  font-family: "Roboto Mono", ui-monospace, monospace; font-size: max(10px, 0.625cqw);
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
}
.cs-note .nt-label { color: #6F6A64; padding-top: 0.31cqw; }
.cs-note p {
  margin: 0; font-family: "Inter", "Inter Tight", sans-serif; font-weight: 300;
  font-size: max(18px, 1.65cqw); line-height: 1.3; letter-spacing: -0.01em;
}
.cs-note .nt-foot { display: block; margin-top: 2.6cqw; }

/* phones: the row drifts left (paused on hover) while each page scrolls inside
   its phone. Sizes are the Figma row's: 390 wide, 55 apart */
.cs-phones { overflow: hidden; }
.ph-run { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.ph-run:active { cursor: grabbing; }
.ph-track { display: flex; gap: 2.86cqw; width: max-content; padding-right: 2.86cqw; will-change: transform; }
.ph { position: relative; flex: none; width: 20.31cqw; aspect-ratio: 390 / 844; overflow: hidden; background: #FBF9F5; }
.ph img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto; display: block; pointer-events: none;
  animation: ph-scroll var(--d) ease-in-out var(--dl) infinite alternate;
}
.cs-phones .ph-dots { display: block; width: 53.02cqw; height: auto; margin: 9.4cqw auto 0; }
@keyframes ph-scroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(var(--end)); } }

/* tags: dropped in one at a time, each landing on the last */
.cs-tags { position: relative; }
.cs-tags .tg-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cs-tags .tg {
  position: absolute; height: auto; display: block;
  opacity: 0; transform: translateY(-55%) rotate(var(--r));
  transition: transform 0.75s cubic-bezier(.3,1.35,.45,1), opacity 0.3s ease;
  transition-delay: calc(var(--i) * 0.32s);
}
.cs-tags.is-in .tg { opacity: 1; transform: none; }

/* site: the desktop pages play through one window, sized like the Figma frame (1440 of 1920) */
.cs-site .st-view { position: relative; width: 75cqw; margin: 0 auto; overflow: hidden; background: #FBF9F5; }
.cs-site .st-view img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto; display: block;
  opacity: 0; transition: opacity 0.6s ease;
}
.cs-site .st-view img.is-on { opacity: 1; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .gk-track, .ph img { animation: none; }
  .cs-tags .tg { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 768px) {
  .gk-ticker { font-size: 4.17cqw; padding: 3.25cqw 0; }
  .cs-note { grid-template-columns: 1fr; gap: 14px; padding: 0 var(--gutter); }
  .cs-note .nt-foot { margin-top: 18px; }
  .ph { width: 46cqw; }
  .ph-track { gap: 5cqw; padding-right: 5cqw; }
  .cs-phones .ph-dots { width: 80cqw; margin-top: 12cqw; }
  .cs-site .st-view { width: 100cqw; }
}

/* ---------- "Reserve your spot" pill (window.BOOKING) ----------
   Takes the place of the header's Contact link, top right. It sits outside the
   header, which inverts its colours (mix-blend-mode), so it keeps its own white;
   main.js gives the header a --booking-w gap so Studio stays clear of it. */
.booking {
  position: fixed; z-index: 99;
  top: calc(var(--gutter) + var(--fs-logo) * 0.44); right: var(--gutter);
  display: flex; align-items: center; gap: 12px;
  padding: 6px 22px 6px 6px;
  background: #fff; color: #000;
  border: 1px solid #e4e4e1; border-radius: 999px;
  transform: translateY(-50%);
  transition: transform 0.45s var(--ease), border-color 0.3s ease, box-shadow 0.45s var(--ease);
  animation: booking-in 0.9s var(--ease) 0.2s backwards; /* backwards, so hover can still move it afterwards */
}
body.is-loading .booking { animation-play-state: paused; }
.booking:hover {
  transform: translateY(calc(-50% - 2px)) scale(1.03);
  border-color: #c9c9c5; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.booking[aria-current="page"] { border-color: #c9c9c5; }
.booking-icon {
  position: relative; flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: #e8e8e4;
}
/* a soft ring that leaves the icon every few seconds, with the bolt flashing */
.booking-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid #000; opacity: 0;
  animation: booking-ring 4s ease-out 1.6s infinite;
}
.booking-icon svg { animation: booking-flash 4s ease-in-out 1.6s infinite; }
.booking:hover .booking-icon svg { animation: booking-zap 0.5s ease-in-out; }
.booking-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.booking-title { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.booking-note { font-size: 13px; color: var(--muted-2); }

@keyframes booking-in {
  from { opacity: 0; transform: translateY(calc(-50% - 14px)) scale(0.94); }
  to   { opacity: 1; transform: translateY(-50%); }
}
@keyframes booking-ring {
  0%   { opacity: 0.35; transform: scale(1); }
  30%  { opacity: 0; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(1.6); }
}
@keyframes booking-flash {
  0%, 14%, 100% { opacity: 1; transform: none; }
  4%  { opacity: 0.25; transform: scale(0.85); }
  8%  { opacity: 1; transform: scale(1.15) rotate(-8deg); }
}
@keyframes booking-zap {
  0%, 100% { transform: none; }
  25% { transform: rotate(-14deg) scale(1.15); }
  50% { transform: rotate(10deg) scale(1.15); }
  75% { transform: rotate(-6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .booking, .booking-icon::after, .booking-icon svg, .booking:hover .booking-icon svg { animation: none; }
  .booking:hover { transform: translateY(-50%); }
}
@media (max-width: 720px) {
  .booking { gap: 8px; padding: 4px 14px 4px 4px; }
  .booking-icon { width: 30px; height: 30px; }
  .booking-icon svg { width: 12px; height: 12px; }
  .booking-title { font-size: 13px; }
  .booking-note { font-size: 11px; }
}
@media (max-width: 370px) {
  .booking { padding-left: 12px; }
  .booking-icon { display: none; }
}
/* room for the pill at the end of the header row */
.has-booking .header-right { padding-right: calc(var(--booking-w, 0px) + 1.1em); }
