/* 21R6 Studio — shared styles

   The site is a small gallery. The page is a plaster wall, the example sites hang on it in frames
   with a label underneath, and you can step inside any frame to see the real page running.

   Colour: warm grey wall, near-black ink, paper-white labels. Red is used once, as a small dot,
   the way a gallery marks a work that has been sold. Here it marks the full stop of the headline,
   the "Get a quote" button, and the clients who are real. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --wall: #DEDAD2;
  --wall-deep: #CDC8BE;
  --paper: #F8F6F1;
  --ink: #1B1B1A;
  --grey: #57544E;
  --rule: rgba(27, 27, 26, 0.3);
  --red: #E10A0A;
  --red-dark: #B80808;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 96rem;
  --gutter: clamp(1.25rem, 3.6vw, 3.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* The logo sets the width of the label column on the left of text sections. */
  --logo-w: clamp(11rem, 15vw, 14.5rem);
  --head-pad: clamp(1.1rem, 2.1vw, 1.9rem);
  --rail: calc(var(--logo-w) * 0.5132);
  --gap: clamp(1.5rem, 3vw, 3rem);

  --frame: 0 1px 1px rgba(27, 27, 26, 0.3), 0 0.5rem 0.9rem -0.4rem rgba(27, 27, 26, 0.38), 0 1.8rem 2.6rem -1.4rem rgba(27, 27, 26, 0.42);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--wall); }
body {
  margin: 0; color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* A soft pool of light from above, over a fine plaster grain */
  background-color: var(--wall);
  background-image:
    radial-gradient(90rem 48rem at 50% -8rem, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n' x='0' y='0' width='100%25' height='100%25'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.09  0 0 0 0.11 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-repeat: no-repeat, repeat;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.wrap { display: block; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

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

/* The red dot. As a full stop it sits on the line of type it follows. */
.dot { display: inline-block; width: 0.17em; height: 0.17em; border-radius: 50%; background: var(--red); margin-left: 0.05em; }

/* ---------- Text sections: a narrow label column, then the words ---------- */

.rail-grid { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.rail-grid > * { grid-column: 2; padding-left: var(--gap); min-width: 0; }
.rail-grid > .rail {
  grid-column: 1; padding-left: 0; padding-right: 1rem; text-align: right;
  font: 500 0.8125rem/1.3 var(--sans); color: var(--grey);
  padding-top: 0.65rem;
}
.spined { position: relative; }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 20; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: calc(var(--head-pad) * 2 + var(--logo-w) * 0.25694);
}
.brand { display: block; flex: none; }
.brand img { width: var(--logo-w); }
.nav ul { display: flex; gap: clamp(1.4rem, 3vw, 3rem); }
.nav a { font-weight: 500; font-size: 0.9375rem; text-decoration: none; padding: 0.5rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 0.6rem 0; margin: 0; cursor: pointer;
  font: 500 0.9375rem/1 var(--sans); color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}

/* ---------- The red dot that is also the "Get a quote" button ---------- */

.disc {
  position: fixed; z-index: 30; right: var(--gutter); bottom: 1.25rem;
  width: 6.25rem; height: 6.25rem; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--red); color: #fff; text-decoration: none;
  font: 500 1.45rem/0.92 var(--serif); letter-spacing: -0.005em;
  box-shadow: 0 0.6rem 1.4rem -0.7rem rgba(120, 0, 0, 0.7);
  transition: transform 0.3s var(--ease), opacity 0.2s, visibility 0s;
}
.disc span { display: block; padding-bottom: 0.1em; }
.disc em { font-weight: 500; }
.disc:hover { transform: scale(1.08); }
.disc:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.disc.is-away { opacity: 0; transform: scale(0.5); pointer-events: none; visibility: hidden; transition: transform 0.3s var(--ease), opacity 0.2s, visibility 0s 0.3s; }

/* ---------- Home: the headline and the first wall ---------- */

.hero { padding-top: clamp(1rem, 2.4vw, 2.5rem); }
.hero-head { container-type: inline-size; }
.hero-title {
  font: 300 min(calc(100cqw / 10.8), 10.5svh) / 0.95 var(--serif);
  letter-spacing: -0.02em; white-space: nowrap;
}
.hero-title .l { display: block; }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 36rem) minmax(0, 20rem); justify-content: space-between; gap: 1.5rem 3rem;
  margin-top: clamp(2.25rem, 4.5vw, 4.25rem); padding-bottom: var(--section);
}
.hero-lede { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.5; }
.hero-note { font: italic 400 1.1875rem/1.35 var(--serif); font-weight: 500; color: var(--grey); align-self: end; }

/* ---------- The hang: frames on a centre line, labels on a line below ---------- */

.hang {
  container-type: inline-size;
  --unit: min(1cqw, 1.55svh);
  display: grid; grid-auto-flow: column; grid-template-rows: auto auto;
  justify-content: space-between; column-gap: 2rem; align-items: start;
  margin-top: clamp(2rem, 4.5vw, 4.5rem);
}
.hero .hang { margin-top: clamp(1.75rem, 3.6vw, 3.5rem); }
.hang-item { display: contents; }

.frame {
  position: relative; display: block; align-self: center;
  width: calc(var(--w) * var(--unit));
  padding: calc(0.9 * var(--unit)); border: calc(0.35 * var(--unit)) solid var(--ink);
  background: #fff; box-shadow: var(--frame); text-decoration: none;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.frame:hover, .frame:focus-visible { transform: translateY(-0.2rem); box-shadow: 0 1px 1px rgba(27, 27, 26, 0.3), 0 0.9rem 1.2rem -0.5rem rgba(27, 27, 26, 0.4), 0 2.4rem 3rem -1.4rem rgba(27, 27, 26, 0.5); }
.frame:focus-visible { outline-offset: 7px; }
/* The red dot arrives beside a picture you are looking at, as it would in a gallery */
.frame::after {
  content: ""; position: absolute; right: calc(-1.2 * var(--unit)); top: calc(-1.2 * var(--unit));
  width: calc(2 * var(--unit)); min-width: 0.9rem; aspect-ratio: 1; border-radius: 50%; background: var(--red);
  transform: scale(0); transition: transform 0.3s var(--ease);
}
.frame:hover::after, .frame:focus-visible::after, .frame--empty::after { transform: scale(1); }

.view { position: relative; display: block; overflow: hidden; background: #fff; aspect-ratio: 1440 / 900; }
.view[data-view="phone"] { aspect-ratio: 390 / 760; }
.view img { width: 100%; height: 100%; object-fit: cover; }
.view iframe {
  position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0;
  transform-origin: 0 0; transform: scale(var(--k, 1));
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.view[data-view="phone"] iframe { width: 390px; height: 760px; }
.view iframe.is-live { opacity: 1; }

/* The empty frame is the invitation. It already carries a red dot, as if reserved. */
.empty {
  display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1.3 / 1;
  padding: calc(1.6 * var(--unit)); background: #EFECE5; color: var(--ink);
}
.empty-say { font: 300 calc(4.2 * var(--unit)) / 0.95 var(--serif); letter-spacing: -0.02em; }
.empty-do { font-weight: 500; font-size: 0.9375rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }

/* The label under each picture */
.plaque {
  align-self: start; width: 0; min-width: 100%;
  margin-top: calc(2.2 * var(--unit)); padding: 0.7rem 0.85rem 0.8rem;
  background: var(--paper); box-shadow: 0 1px 0 rgba(27, 27, 26, 0.2), 0 0.35rem 0.6rem -0.45rem rgba(27, 27, 26, 0.4);
}
.plaque-name { font: 500 1.3rem/1.1 var(--serif); font-style: italic; letter-spacing: -0.005em; }
.plaque-meta { margin-top: 0.2rem; font-size: 0.75rem; line-height: 1.35; color: var(--grey); }
.plaque-text { margin-top: 0.55rem; font-size: 0.8125rem; line-height: 1.4; }

/* ---------- The exhibition title (wall text) ---------- */

.exhibition { padding-top: var(--section); }
.say {
  font: 300 clamp(2.6rem, 5.6vw, 5.8rem) / 0.98 var(--serif);
  letter-spacing: -0.025em; max-width: 15em; text-wrap: balance;
}
.say em, .page-title em { display: block; font-style: italic; }
.section-note { max-width: 36rem; margin-top: clamp(1.25rem, 2.4vw, 2rem); font-size: 1.125rem; line-height: 1.5; }
.exhibition .hang { margin-top: clamp(2.5rem, 5vw, 5rem); }

/* ---------- How it works ---------- */

.deal, .packages, .work { padding-top: var(--section); }
.work { padding-bottom: var(--section); }
.deal-note { max-width: 32rem; margin-top: clamp(1.25rem, 2.4vw, 2rem); font-size: 1.125rem; line-height: 1.5; }

.deal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem clamp(2.5rem, 6vw, 7rem); align-items: start; }
.steps { counter-reset: step; border-bottom: 1px solid var(--ink); }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 0 0.5rem; padding: 1.35rem 0 1.5rem; border-top: 1px solid var(--ink);
}
.steps li::before { content: counter(step); grid-row: 1 / span 2; font: italic 300 2.6rem/0.95 var(--serif); }
.steps h3 { font: 500 1.0625rem/1.3 var(--sans); }
.steps p { margin-top: 0.3rem; color: var(--grey); font-size: 0.975rem; line-height: 1.5; max-width: 26rem; }

/* ---------- The price list: a sheet taped to the wall ---------- */

.packages-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 3rem clamp(2.5rem, 6vw, 7rem); align-items: start; }
.sheet {
  position: relative; background: var(--paper); transform: rotate(-0.7deg);
  padding: clamp(1.25rem, 2.6vw, 2.25rem) clamp(1.25rem, 2.6vw, 2.5rem) clamp(0.5rem, 1.2vw, 1rem);
  box-shadow: 0 1px 1px rgba(27, 27, 26, 0.25), 0 0.7rem 1rem -0.6rem rgba(27, 27, 26, 0.4), 0 2rem 3rem -1.8rem rgba(27, 27, 26, 0.45);
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; top: -0.85rem; width: 5.5rem; height: 1.7rem;
  background: rgba(233, 224, 188, 0.72); box-shadow: 0 0 0 1px rgba(27, 27, 26, 0.04);
}
.sheet::before { left: 8%; transform: rotate(-4deg); }
.sheet::after { right: 8%; transform: rotate(3deg); }
.sheet-title { font: 500 1.0625rem/1.2 var(--sans); padding-bottom: 0.9rem; }
.sheet-title span { font-weight: 400; color: var(--grey); }
.pk-list { border-bottom: 1px solid var(--ink); }
.pk-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 1.5rem; align-items: baseline;
  padding: 1.25rem 0 1.35rem; border-top: 1px solid var(--ink); text-decoration: none;
  transition: background-color 0.2s, color 0.2s, padding 0.3s var(--ease);
}
.pk-name, .pk-price { font: 300 clamp(1.9rem, 3vw, 2.75rem) / 1 var(--serif); letter-spacing: -0.015em; }
.pk-desc { grid-column: 1 / -1; grid-row: 2; color: var(--grey); max-width: 30rem; font-size: 0.95rem; line-height: 1.45; transition: color 0.2s; }
.pk-price { text-align: right; white-space: nowrap; }
.pk-price small { display: block; margin-top: 0.3rem; font: 500 0.8125rem/1.3 var(--sans); letter-spacing: 0; color: var(--grey); transition: color 0.2s; }
.sheet-foot { padding: 1rem 0 1.1rem; font-size: 0.875rem; line-height: 1.45; color: var(--grey); max-width: 34rem; }
.pk-list a:hover, .pk-list a:focus-visible { background: var(--ink); color: var(--paper); padding-inline: 0.9rem; }
.pk-list a:hover .pk-desc, .pk-list a:hover small, .pk-list a:focus-visible .pk-desc, .pk-list a:focus-visible small { color: #D9D5CC; }
.pk-list a:hover .pk-name, .pk-list a:focus-visible .pk-name { font-style: italic; }
.pk-list a:focus-visible { outline-offset: 3px; }

/* ---------- Clients: a red dot beside each one, because they are real ---------- */

.work-list { margin-top: clamp(2.25rem, 4.5vw, 4rem); border-bottom: 1px solid var(--ink); }
.work-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); align-items: end; gap: 0.5rem 2rem;
  padding: clamp(1rem, 2vw, 1.6rem) 0 clamp(1.1rem, 2.2vw, 1.9rem); border-top: 1px solid var(--ink); text-decoration: none;
}
.work-name { font: 300 clamp(2.9rem, 7.6vw, 7.5rem) / 0.95 var(--serif); letter-spacing: -0.03em; }
.work-name .dot { width: 0.14em; height: 0.14em; margin-left: 0.14em; vertical-align: 0.5em; }
.work-desc { color: var(--grey); font-size: 0.975rem; line-height: 1.45; padding-bottom: 0.55rem; }
.work-list a:hover .work-name, .work-list a:focus-visible .work-name { font-style: italic; }
.legend { margin-top: 1rem; font-size: 0.8125rem; color: var(--grey); display: flex; align-items: center; gap: 0.5rem; }
.legend .dot { width: 0.6rem; height: 0.6rem; margin: 0; }

/* ---------- Closing line ---------- */

.closing { display: block; border-top: 1px solid var(--rule); padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3rem, 7vw, 6rem); text-decoration: none; }
.closing-main { display: block; container-type: inline-size; }
.closing-say { display: block; max-width: 24rem; font-size: 1.125rem; line-height: 1.45; }
.closing-cta { display: block; margin-top: 0.1em; font: 300 calc(100cqw / 6.4) / 0.95 var(--serif); letter-spacing: -0.03em; white-space: nowrap; }
.closing:hover .closing-cta { font-style: italic; }
.closing:focus-visible { outline-offset: -8px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--wall-deep); padding: clamp(2.75rem, 5.5vw, 4.5rem) 0 2.5rem; font-size: 0.9375rem; }
.footer-inner { display: grid; grid-template-columns: calc(var(--rail) + var(--gap)) minmax(0, 1fr) auto; gap: 2rem 0; align-items: start; }
.footer-logo { width: calc(var(--rail) - 0.25rem); }
.site-footer nav ul { display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-area { display: block; margin-bottom: 0.6rem; }
.footer-labs { max-width: 17rem; }
.footer-labs a, .footer-legal a { text-decoration: underline; }
.footer-legal { grid-column: 2 / -1; color: var(--grey); font-size: 0.875rem; }
.footer-legal a { margin-left: 0.9rem; }

/* ---------- The viewing room ---------- */

.room {
  padding: 0; border: 0; margin: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none;
  color: var(--ink); background-color: var(--wall);
  background-image: radial-gradient(70rem 40rem at 50% 0, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 70%);
}
.room[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.room::backdrop { background: var(--wall); }
html.room-is-open { overflow: hidden; }
.room-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 2rem; padding: 1rem var(--gutter); }
.room-title { flex: 1 1 14rem; min-width: 0; }
.room-name { font: 500 1.7rem/1.05 var(--serif); font-style: italic; }
.room-kind { margin-top: 0.15rem; font-size: 0.8125rem; color: var(--grey); }
.room-modes { display: flex; border: 1px solid var(--ink); }
.room-modes button { background: none; border: 0; padding: 0.55rem 1rem; font: 500 0.875rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.room-modes button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.room-links { display: flex; align-items: center; gap: 1.25rem; font-size: 0.9375rem; }
.room-links a, .room-links button { background: none; border: 0; padding: 0.4rem 0; font: 500 0.9375rem/1.2 var(--sans); color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.room-links .room-quote { text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.room-links .room-quote::after { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--red); }
.room-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0.5rem var(--gutter) 1.5rem; }
.room-device { padding: 0.7rem; border: 0.3rem solid var(--ink); background: #fff; box-shadow: var(--frame); }
.room-screen { position: relative; overflow: hidden; background: #fff; }
.room-screen iframe { position: absolute; left: 0; top: 0; border: 0; background: #fff; transform-origin: 0 0; }
.room-loading { position: absolute; inset: 0; display: grid; place-items: center; font: italic 500 1.5rem/1 var(--serif); color: var(--grey); pointer-events: none; }

/* ---------- Inner pages and the quote form ---------- */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 0; cursor: pointer;
  padding: 1.05rem 1.9rem; font: 500 1.0625rem/1 var(--sans); text-decoration: none;
  transition: background-color 0.2s;
}
.button::after { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--red); }
.button:hover { background: #000; }
.button[disabled] { opacity: 0.6; cursor: progress; }

.page-intro { padding-top: clamp(1.5rem, 4vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.page-title { font: 300 clamp(2.9rem, 6.6vw, 6.75rem) / 0.95 var(--serif); letter-spacing: -0.03em; max-width: 13em; text-wrap: balance; }
.lede { max-width: 34rem; margin-top: clamp(1.5rem, 2.6vw, 2.25rem); font-size: 1.125rem; line-height: 1.5; }
.page-intro .rail { padding-top: clamp(0.9rem, 1.8vw, 1.9rem); }

.quote { padding-bottom: var(--section); }
.quote .rail { padding-top: 0.2rem; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 38rem) minmax(0, 21rem); justify-content: space-between; gap: 3rem clamp(2.5rem, 6vw, 6rem); align-items: start; }

.field { margin: 0 0 1.75rem; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.optional { font-weight: 400; color: var(--grey); }
.quote-form input[type="text"], .quote-form input[type="email"], .quote-form input[type="tel"],
.quote-form select, .quote-form textarea {
  display: block; width: 100%; margin: 0; padding: 0.85rem 0.9rem;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: 0;
  font: 400 1.0625rem/1.35 var(--sans); -webkit-appearance: none; appearance: none;
}
.quote-form textarea { resize: vertical; line-height: 1.5; }
.quote-form select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%231B1B1A' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.quote-form input:focus-visible, .quote-form select:focus-visible, .quote-form textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 2px;
}
.quote-form [aria-invalid="true"] { border-color: var(--red-dark); box-shadow: inset 0 0 0 1px var(--red-dark); }
.field.is-revealed { animation: drop 0.3s ease both; }
.choices { display: grid; gap: 0.15rem; }
.choices-inline { grid-auto-flow: column; justify-content: start; gap: 1.75rem; }
.field .choice { display: flex; align-items: center; gap: 0.65rem; font-weight: 400; margin: 0; min-height: 2.5rem; cursor: pointer; }
.choice input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--ink); }
.field-hint { color: var(--grey); font-size: 0.9rem; margin-top: 0.5rem; }
.field-error { color: var(--red-dark); font-size: 0.95rem; font-weight: 500; margin-top: 0.5rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { color: var(--grey); font-size: 0.9rem; margin-bottom: 1.5rem; }
.consent a:hover { text-decoration-thickness: 2px; }
.form-status { margin-top: 1.5rem; }
.form-status:empty { display: none; }
.form-status.is-ok, .form-status.is-error { padding: 1rem 1.15rem; background: var(--paper); }
.form-status.is-error { border: 1px solid var(--red-dark); }
.form-status:focus { outline: none; }

.quote-aside { background: var(--paper); padding: clamp(1.5rem, 2.4vw, 2rem); box-shadow: 0 1px 0 rgba(27, 27, 26, 0.2), 0 0.9rem 1.2rem -0.9rem rgba(27, 27, 26, 0.45); }
.quote-aside h2 { font: 400 clamp(1.8rem, 2.4vw, 2.2rem) / 1.05 var(--serif); letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.next-list { counter-reset: next; display: grid; gap: 1.1rem; }
.next-list li { counter-increment: next; display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); font-size: 0.975rem; line-height: 1.5; }
.next-list li::before { content: counter(next); font: italic 400 1.6rem/0.95 var(--serif); }
.aside-alt { margin-top: 1.5rem; font-size: 0.975rem; }

/* ---------- Inner pages: work, packages, labs, about, legal ---------- */

.block { padding-bottom: var(--section); }
.block .say { font-size: clamp(2.4rem, 4.6vw, 4.5rem); }
.block .section-note { margin-top: clamp(1.25rem, 2.2vw, 2rem); }
.block .rail { padding-top: clamp(0.4rem, 0.9vw, 0.95rem); }
.status { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.6rem; font-weight: 500; }
.status::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--red); }

.client-list { margin-top: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--ink); }
.client-list li { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 0.75rem clamp(1.5rem, 4vw, 4rem); align-items: end; padding: clamp(1.25rem, 2.4vw, 2rem) 0; border-top: 1px solid var(--ink); }
.client-list h3 { font: 300 clamp(2.4rem, 5.2vw, 5.2rem) / 0.95 var(--serif); letter-spacing: -0.03em; }
.client-list h3::after { content: ""; display: inline-block; width: 0.14em; height: 0.14em; margin-left: 0.14em; border-radius: 50%; background: var(--red); vertical-align: 0.5em; }
.client-list p { max-width: 28rem; padding-bottom: 0.5rem; color: var(--grey); }
.ex-list { margin-top: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--ink); }
.ex-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.25rem, 2.4vw, 2rem) 0; border-top: 1px solid var(--ink); text-decoration: none; }
.ex-row img { width: 100%; height: auto; padding: 0.7rem; border: 0.25rem solid var(--ink); background: #fff; box-shadow: var(--frame); }
.ex-text { display: block; }
.ex-name { display: block; font: 300 clamp(2rem, 3.4vw, 3.2rem) / 1 var(--serif); letter-spacing: -0.02em; }
.ex-kind { display: block; margin-top: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.ex-desc { display: block; margin-top: 0.4rem; color: var(--grey); max-width: 26rem; }
.ex-row:hover .ex-name, .ex-row:focus-visible .ex-name { font-style: italic; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.25rem, 2.5vw, 2.5rem); margin-top: clamp(0.5rem, 1.5vw, 1.5rem); }
.tier { background: var(--paper); padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(27, 27, 26, 0.2), 0 0.9rem 1.2rem -0.9rem rgba(27, 27, 26, 0.45); }
.tier h3 { font: 300 clamp(2rem, 3vw, 2.75rem) / 1 var(--serif); letter-spacing: -0.02em; }
.tier-price { margin-top: 1.25rem; font: 300 clamp(2.25rem, 3.4vw, 3.25rem) / 1 var(--serif); letter-spacing: -0.02em; }
.tier-price small { display: block; margin-top: 0.4rem; font: 500 0.875rem/1.3 var(--sans); letter-spacing: 0; color: var(--grey); }
.tier-sub { margin-top: 1.25rem; min-height: 3em; }
.tier-list { margin: 1.25rem 0 1.75rem; }
.tier-list li { padding: 0.55rem 0; border-top: 1px solid var(--rule); font-size: 0.975rem; }
.tier-link { margin-top: auto; font-weight: 600; align-self: flex-start; }
.tier-link:hover { text-decoration-thickness: 2px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.two-col h3 { font: 400 clamp(1.7rem, 2.4vw, 2.2rem) / 1.05 var(--serif); letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.two-col p { max-width: 28rem; color: var(--grey); }
.faq { margin-top: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--ink); max-width: 46rem; }
.faq details { border-top: 1px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font: 400 clamp(1.5rem, 2vw, 1.85rem) / 1.15 var(--serif); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.95rem; font: 300 1.75rem/1 var(--sans); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { font-style: italic; }
.faq details p { padding: 0 2.5rem 1.4rem 0; max-width: 36rem; color: var(--grey); }
.faq details[open] p { animation: drop 0.25s ease both; }

.promises { counter-reset: p; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.promises li { counter-increment: p; border-top: 1px solid var(--ink); padding-top: 1rem; }
.promises li::before { content: counter(p); display: block; margin-bottom: 0.5rem; font: italic 300 clamp(2.6rem, 4vw, 3.6rem) / 1 var(--serif); }
.promises h3 { font: 400 clamp(1.8rem, 2.6vw, 2.4rem) / 1.05 var(--serif); letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.promises p { color: var(--grey); max-width: 24rem; }

.prose { max-width: 40rem; }
.prose h2 { font: 400 clamp(1.8rem, 2.4vw, 2.2rem) / 1.1 var(--serif); letter-spacing: -0.01em; margin: 2.5rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.75rem; }
.prose a { text-decoration: underline; }

/* ---------- One moment of movement: the red dot lands on the headline ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-title { animation: fade 0.9s ease 0.05s both; }
  .hero-title .dot { animation: land 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) 0.8s both; transform-origin: 50% 100%; }
  .hero .hang .frame { animation: hang 0.9s var(--ease) both; }
  .hero .hang-item:nth-child(2) .frame { animation-delay: 0.1s; }
  .hero .hang-item:nth-child(3) .frame { animation-delay: 0.2s; }
  .disc { animation: pop 0.6s var(--ease) 1.2s both; }
  .page-title { animation: fade 0.8s ease 0.1s both; }
  .room[open] { animation: fade 0.25s ease both; }
}
@keyframes land { from { transform: translateY(-3.5em) scale(0.4); opacity: 0; } 60% { opacity: 1; } }
@keyframes hang { from { opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-0.4rem); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(0); } }

/* ---------- Tablets ---------- */

@media (max-width: 68rem) {
  .deal-grid, .packages-grid { grid-template-columns: minmax(0, 1fr); }
  .tiers { grid-template-columns: minmax(0, 1fr); max-width: 34rem; }
  .tier-sub { min-height: 0; }
  .quote-layout { grid-template-columns: minmax(0, 1fr); }
  .quote-aside { order: -1; max-width: 38rem; }
  .footer-inner { grid-template-columns: calc(var(--rail) + var(--gap)) minmax(0, 1fr); }
  .footer-area, .footer-labs { grid-column: 2; }
  .hero-foot { grid-template-columns: minmax(0, 36rem); }
}

/* ---------- Phones: no side column, and the hang becomes a row you swipe along ---------- */

@media (max-width: 50rem) {
  :root { --logo-w: 9.75rem; --head-pad: 1rem; }

  .rail-grid { display: block; }
  .rail-grid > * { padding-left: 0; }
  .rail-grid > .rail { display: none; }

  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--wall); border-bottom: 1px solid var(--ink); padding: 0.5rem var(--gutter) 1.5rem;
  }
  .nav.is-open { display: block; }
  .nav ul { display: block; }
  .nav a { display: block; background: none; font: 300 2.4rem/1.1 var(--serif); letter-spacing: -0.02em; padding: 0.45rem 0; }

  .disc { width: 4.9rem; height: 4.9rem; font-size: 1.15rem; right: 0.9rem; bottom: 0.9rem; }

  .hero-title { white-space: normal; font: 300 min(calc(100cqw / 7.6), 15svh) / 0.95 var(--serif); }
  .hero-foot { margin-top: 2rem; }

  .hang {
    container-type: normal; --unit: 1rem;
    overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0.5rem var(--gutter) 1.5rem;
    justify-content: start; column-gap: 1.4rem; scrollbar-width: none;
  }
  .hang::-webkit-scrollbar { display: none; }
  .frame { width: calc(var(--wm) * 1rem); scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .frame { padding: 0.55rem; border-width: 0.22rem; }
  .plaque { margin-top: 1.1rem; }
  .empty-say { font-size: 2.6rem; }
  .empty { padding: 1rem; }

  .steps li { grid-template-columns: 3rem minmax(0, 1fr); }
  .pk-list a:hover, .pk-list a:focus-visible { padding-inline: 0.6rem; }
  .sheet { transform: none; }
  .client-list li, .ex-row, .two-col, .promises { grid-template-columns: minmax(0, 1fr); }
  .client-list p { padding-bottom: 0; }
  .work-list a { grid-template-columns: minmax(0, 1fr); }
  .work-desc { padding-bottom: 0; max-width: 22rem; }

  .closing { padding: 3.25rem 0 3.5rem; }
  .closing-cta { font-size: calc(100cqw / 4.3); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .footer-logo { width: 6.75rem; }
  .footer-area, .footer-labs, .footer-legal { grid-column: 1; }
  .site-footer { padding-bottom: 7.5rem; }

  .room-bar { gap: 0.5rem 1rem; padding-block: 0.75rem; }
  .room-name { font-size: 1.4rem; }
  .room-links { gap: 1rem; }
  .room-stage { padding-bottom: 0.9rem; }
}

@media (max-width: 30rem) {
  .choices-inline { grid-auto-flow: row; gap: 0.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
