/* Emerald Web Studio. Direction: "The sentence is the layout" (tasteskill seed 551987360). */

@font-face { font-family: "Zodiak"; src: url("/fonts/zodiak-100.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/fonts/zodiak-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --accent: #50c878;          /* emerald: the subject's own colour, in the dealt lime's role */
  --accent-hover: #6fd894;
  --accent-ink: #0f0f0f;
  --gold: #e3b453;            /* gold: the setting the stone sits in (Jewellery Quarter); highlights only */
  --deep: #0b3d26;            /* deep emerald field */
  --forest: #0c2219;          /* darkest green, for the process field */
  --light: #ffffff;  --light-ink: #0f0f0f;  --light-muted: #555555;  --light-step: #f0f0ee;

  --display: "Zodiak", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  --step-head: clamp(2.25rem, 1.2rem + 3vw, 4rem);
  --step-display: clamp(3.5rem, 1rem + 7.4vw, 8.25rem);

  --m: clamp(16px, 2.2vw, 32px);
  --gap: 24px;
  --section: clamp(120px, 14vw, 200px);
  --cut: clamp(10px, 1.5vw, 26px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --bar: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.55 var(--text);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #0f0f0f; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.field-light :focus-visible, .field-accent :focus-visible { outline-color: var(--light-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--m); top: -60px; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.head { font: 300 var(--step-head)/1 var(--display); letter-spacing: -0.01em; }

/* The emerald cut: a rectangle with its corners stepped off, as on the stone. */
.cut { clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.cut-soft { --cut: clamp(14px, 2vw, 36px); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 0;
  font: 500 var(--step-body)/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .25s, transform .35s var(--ease);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--step-small); }
.btn--ink { background: var(--light-ink); color: var(--accent); }
.btn--ink:hover { background: #262626; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link { text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; transition: text-decoration-thickness .2s, color .2s; }
.link:hover { text-decoration-thickness: 2px; text-decoration-color: var(--gold); }

/* Bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--bar);
  display: flex; align-items: center; gap: 32px; padding: 0 var(--m);
  background: var(--bg); transition: transform .45s var(--ease);
}
.bar.is-hidden { transform: translateY(-100%); }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: var(--step-body); margin-right: auto; min-height: 44px; }
.mark__gem { width: 26px; height: 21px; fill: var(--accent); transition: transform .6s var(--ease); }
.mark:hover .mark__gem { transform: rotate(180deg); fill: var(--gold); }
.bar__nav { display: flex; gap: 28px; }
.bar__nav a { text-decoration: none; font-size: var(--step-small); padding: 12px 0; position: relative; }
.bar__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.bar__nav a:hover::after { transform: scaleX(1); }
.bar__menu { display: none; background: none; border: 0; padding: 0 4px; min-height: 44px; font-size: var(--step-body); cursor: pointer; }

.menu { position: fixed; inset: var(--bar) 0 0; z-index: 39; background: var(--bg); padding: 24px var(--m) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 300 var(--step-head)/1.15 var(--display); text-decoration: none; padding: 6px 0; }
.menu__foot a { font-size: var(--step-lead); }


/* Hero: a full-screen stone that cuts itself down into the first frame of the reel */
.hero { position: relative; }
.motion .hero { height: 360vh; }
.hero__stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); }
.motion .hero__stage { position: sticky; top: 0; }
.hero__cover { position: absolute; inset: 0; z-index: 1; will-change: clip-path, transform; }
.hero__cover picture, .hero__cover img { display: block; width: 100%; height: 100%; }
.hero__cover img { object-fit: cover; object-position: 50% 55%; }
.hero__title { position: absolute; inset: 0; z-index: 3; pointer-events: none; font: 300 clamp(2.25rem, 3.7vw, 5rem)/1 var(--display); letter-spacing: -0.015em; }
.hero__a, .hero__b { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; }
.hero__a { left: var(--m); }
.hero__b { right: var(--m); }
.reel { --fw: 42vw; --fh: calc(var(--fw) * 9 / 16); --sliver: 60px;
  position: absolute; left: 50%; top: 50%; z-index: 0; width: var(--fw); height: calc(var(--fh) + 2 * (var(--gap) + var(--sliver)));
  transform: translate(-50%, -50%); overflow: hidden; }
.reel__strip { display: flex; flex-direction: column; gap: var(--gap); padding-top: calc(var(--gap) + var(--sliver)); will-change: transform; }
.reel__frame { margin: 0; width: var(--fw); height: var(--fh); flex: none; background: var(--surface); }
.reel__slot { background: transparent; }
.reel__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__foot { position: absolute; z-index: 3; left: var(--m); bottom: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: min(36ch, 28vw); }
.hero__sub { line-height: 1.45; }
.hero__hint { position: absolute; z-index: 3; right: var(--m); bottom: 40px; color: var(--muted); }
.hero__hint::after { content: ""; display: inline-block; width: 1px; height: 28px; margin-left: 12px; vertical-align: middle; background: var(--gold); } /* taste-skill-ignore: scroll cue, not a divider */

/* Work: one oversized picture, a small cluster beside it */
.work { padding: var(--section) var(--m) 0; }
.work__title { margin-bottom: 72px; }
.proj { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; margin-bottom: 140px; }
.proj__big { position: relative; grid-column: 1 / 8; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.proj__big img { width: 100%; height: 100%; object-fit: cover; }
.proj__side { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.proj__name { font: 300 var(--step-lead)/1.2 var(--display); }
.proj__cluster { display: grid; grid-template-columns: 0.46fr 1fr; gap: 12px; align-items: end; margin: 10px 0; }
.proj__cluster img { width: 100%; object-fit: cover; background: var(--surface); }
.proj__cluster img:first-child { aspect-ratio: 390 / 844; }
.proj__cluster img:last-child { aspect-ratio: 1; }
.proj--flip .proj__big { grid-column: 6 / 13; grid-row: 1; }
.proj--flip .proj__side { grid-column: 1 / 5; grid-row: 1; }
.proj__next { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; padding-bottom: var(--section); }
.proj__next p { grid-column: 1 / 8; }
.proj__next-act { grid-column: 8 / 13; justify-self: end; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }

/* Rough in, cut out: a big frame on the left, the words on the right, three stages */
.rough { position: relative; --rf: min(46vw, 78svh); }
.rough__stage { position: relative; min-height: 100svh; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(40px, 6vw, 120px); padding: calc(var(--bar) + 24px) var(--m) 32px; }
.motion .rough { height: 320vh; }
.motion .rough__stage { position: sticky; top: 0; height: 100svh; }
.rough__frame { position: relative; width: var(--rf); aspect-ratio: 1; background: var(--surface); }
.rough__frame img, .rough__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.rough__frame .is-on { opacity: 1; transform: scale(1); }
.rough__words { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 56px); }
.rough__title { font: 100 min(8.6vw, 20svh)/0.95 var(--display); letter-spacing: -0.02em; }
.rough__a, .rough__b { display: block; }
.rough__b { color: var(--accent); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .rough:not(.at-1):not(.at-2) .rough__b { opacity: 0.14; }
.rough__notes { position: relative; list-style: none; margin: 0; padding: 0; min-height: 4.2em; max-width: 30ch; font: 300 clamp(1.375rem, 1rem + 0.9vw, 2rem)/1.25 var(--display); }
.rough__notes b { display: block; font: 500 var(--step-small)/1 var(--text); color: var(--gold); margin-bottom: 14px; }
.motion .rough__notes li { position: absolute; top: 0; left: 0; opacity: 0; visibility: hidden; translate: 0 18px; transition: opacity .6s var(--ease), translate .6s var(--ease), visibility 0s .6s; }
.motion .rough__notes li.is-on { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.rough__marks { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); pointer-events: none; }

/* Process: four lines that step down, and a stone drawn facet by facet beside them */
.field-light { background: var(--light); color: var(--light-ink); }
.field-light .muted { color: var(--light-muted); }
.field-accent { background: var(--accent); color: var(--accent-ink); }
.field-forest { background: var(--forest); color: var(--ink); }
.field-deep { background: #151515; color: var(--ink); }
.field-emerald { background: var(--deep); color: var(--ink); }
.process { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: var(--section) var(--m); }
.stairs { grid-column: 1 / 9; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.stairs li:nth-child(2) { margin-left: 8%; }
.stairs li:nth-child(3) { margin-left: 16%; }
.stairs li:nth-child(4) { margin-left: 24%; }
.stairs__line { font: 300 var(--step-head)/1.02 var(--display); letter-spacing: -0.01em; }
.stairs__line + p { margin-top: 16px; max-width: 36ch; color: #c7d6ce; font-size: var(--step-lead); line-height: 1.4; }
.stairs__line--go { color: var(--gold); }
.facet { grid-column: 9 / 13; align-self: start; position: sticky; top: calc(50svh - 12vw); }
.facet svg { width: 100%; overflow: visible; }
.facet .f { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.facet .f1 { stroke: var(--accent); stroke-width: 2; }
.facet .f2 { stroke: var(--accent); stroke-width: 1.4; }
.facet .f3 { stroke: #2f8f5b; stroke-width: 1.2; }
.facet .f4 { stroke: var(--gold); stroke-width: 2; fill: rgba(227, 180, 83, 0); transition: fill 1s var(--ease); }
.facet.is-done .f4 { fill: rgba(227, 180, 83, .16); }

/* Concept: the live preview and the form are one thing */
.concept { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: var(--section) var(--m); }
.concept__text { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 24px; }
.concept__preview { grid-column: 8 / 13; align-self: start; position: sticky; top: calc(var(--bar) + 32px); display: flex; flex-direction: column; gap: 14px; }
.form { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__row { display: flex; flex-direction: column; gap: 8px; }
.form label { font-size: var(--step-body); }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--surface); border: 1px solid #3a3a3a; border-radius: 0; font-size: var(--step-body);
  transition: border-color .2s, background-color .2s;
}
.form textarea { resize: vertical; min-height: 96px; }
.form select { appearance: none; background-image: none; cursor: pointer; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #5a5a5a; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: 1px solid var(--gold); outline-offset: -2px; background: #202020; }
.form [aria-invalid="true"] { border-color: #ff7a6b; }
.form__err { color: #ff9d91; font-size: var(--step-small); }
.form__check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-body); cursor: pointer; }
.form__check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: off-screen honeypot, not a rule */
.form .btn { align-self: flex-start; }
.form__status { min-height: 1.5em; }
.form__status.is-ok { color: var(--accent); }
.form__status.is-bad { color: #ff9d91; }
.form__status a { color: inherit; }

/* The live preview: a real fragment of the homepage we would build */
.mini { --m-bg: #ecebe7; --m-ink: #2a2118; --m-acc: #2f5d46;
  position: relative; aspect-ratio: 4 / 3.4; background: var(--m-bg); color: var(--m-ink); padding: 6% 7%; overflow: hidden;
  display: flex; flex-direction: column; transition: background-color .6s var(--ease), color .6s var(--ease); }
.mini__bar { display: flex; justify-content: space-between; align-items: center; font: 500 .875rem/1 var(--text); margin-bottom: auto; gap: 12px; }
.mini__mark { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini__cta { white-space: nowrap; }
.mini__name { font: 300 clamp(2.25rem, 5vw, 4.5rem)/0.95 var(--display); letter-spacing: -0.02em; margin: 24px 0 16px; overflow-wrap: anywhere; }
.mini__name .ch { display: inline-block; }
.mini__line { font-size: 1rem; line-height: 1.4; max-width: 30ch; }
.mini__btn { align-self: flex-start; margin-top: 20px; background: var(--m-acc); color: var(--m-bg); padding: 12px 16px; font: 500 .875rem/1 var(--text); transition: background-color .6s var(--ease); }
.mini[data-trade="roofing"]   { --m-bg: #e6eaed; --m-ink: #1f2a33; --m-acc: #b0392b; }
.mini[data-trade="barber"]    { --m-bg: #141414; --m-ink: #f2f2f2; --m-acc: #d8a840; }
.mini[data-trade="cafe"]      { --m-bg: #fbf7ef; --m-ink: #1d3b2a; --m-acc: #1d3b2a; }
.mini[data-trade="solicitor"] { --m-bg: #f3f4f6; --m-ink: #14213d; --m-acc: #14213d; }
.mini[data-trade="trades"]    { --m-bg: #ffd23f; --m-ink: #111111; --m-acc: #111111; }
.mini[data-trade="other"]     { --m-bg: #0f2a1d; --m-ink: #ffffff; --m-acc: #50c878; }

/* Pricing: one plan as a sentence */
.pricing { min-height: 80svh; padding: var(--section) var(--m); display: flex; flex-direction: column; justify-content: center; }
.pricing__line { font: 100 var(--step-display)/0.95 var(--display); letter-spacing: -0.01em; max-width: 11ch; }
.pricing__price { display: inline-block; background: var(--light-ink); color: var(--gold); padding: 0 .15em; line-height: 1; }
.pricing__foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); margin-top: 64px; align-items: end; }
.pricing__foot > p { grid-column: 1 / 7; font-size: var(--step-lead); line-height: 1.45; }
.pricing__act { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* About: the picture as a drop capital */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: 140px var(--m); }
.about__facts { grid-column: 1 / 3; margin: 0; display: flex; flex-direction: column; gap: 18px; font-size: var(--step-small); }
.about__facts dt { color: var(--muted); }
.about__facts dd { margin: 0; }
.about__text { grid-column: 3 / 13; display: flex; flex-direction: column; gap: 1em; font-size: clamp(1.25rem, 0.9rem + 1vw, 1.75rem); line-height: 1.3; max-width: 46ch; }
.about__p strong { font-weight: 500; color: var(--gold); }
.about__facts a { color: var(--ink); }
.about__cap { float: left; width: 3.75em; height: 3.75em; object-fit: cover; margin: .18em .5em 0 0; }

/* The one rest: the Quarter from the air */
.place { margin: 0; position: relative; aspect-ratio: 3 / 1; overflow: hidden; }
.place img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; }
.place figcaption { position: absolute; left: var(--m); bottom: 20px; background: var(--bg); padding: 8px 12px; }

/* FAQ: wide heading, indented questions */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 80px var(--gap); padding: var(--section) var(--m); }
.faq__title { grid-column: 1 / -1; }
.faq__list { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 12px 24px; margin: 0 -24px; transition: background-color .3s; }
.faq details[open] { background: var(--surface); padding-bottom: 24px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: var(--step-lead); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--gold); }
.faq details[open] summary { color: var(--gold); }
.faq details p { margin-top: 12px; max-width: 48ch; }

/* Contact: the address as display type */
.contact { min-height: 72svh; padding: calc(var(--bar) + 48px) var(--m) 40px; display: flex; flex-direction: column; }
.contact__lead { font: 400 var(--step-lead)/1.35 var(--text); max-width: 26ch; }
.contact__mail { margin-top: auto; margin-bottom: 12vh; font: 300 7.1vw/1 var(--display); letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; transition: color .3s; }
.contact__mail:hover { color: var(--gold); }
.contact__foot { display: flex; justify-content: space-between; gap: 24px; }
.contact__foot a { text-decoration: underline; text-underline-offset: .2em; }
.contact__right { text-align: right; }

/* Footer: invitation over a cropped name */
.foot { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto auto; gap: 0 var(--gap); padding: 96px var(--m) 0; }
.foot__top { grid-column: 1 / 8; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.foot__invite { font: 300 var(--step-head)/1 var(--display); letter-spacing: -0.01em; max-width: 9ch; }
.foot__links { grid-column: 10 / 13; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.foot__links a { display: inline-block; padding: 8px 0; text-decoration: none; }
.foot__links a:hover { color: var(--gold); }
.foot__legal { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; gap: 32px; padding-bottom: 12px; color: var(--muted); }
.foot__legal p:first-child { white-space: nowrap; }
.foot__legal .credits { max-width: 92ch; text-align: right; }
.foot__legal a { color: var(--ink); }
.foot__word { grid-column: 1 / -1; grid-row: 4; font: 100 23.5vw/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; margin: 0 0 0 -0.04em; padding-bottom: 0.06em; color: var(--accent); }
.foot__word::after { content: "."; color: var(--gold); }

/* Legal pages */
.doc { max-width: 70ch; margin: 0 auto; padding: calc(var(--bar) + 80px) var(--m) 120px; }
.doc h1 { font: 300 var(--step-head)/1 var(--display); margin-bottom: 40px; }
.doc h2 { font: 500 1.25rem/1.3 var(--text); margin: 40px 0 12px; }
.doc p, .doc li { margin: 0 0 14px; }
.doc a { text-underline-offset: .2em; }
.doc .bar { position: fixed; }
.oops { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: var(--bar) var(--m) 64px; }
.oops h1 { font: 100 var(--step-display)/0.95 var(--display); max-width: 12ch; }

/* Entrances (motion only, set from JS so content stays visible without it) */
.motion [data-rise] { will-change: transform, opacity; }

/* Tablet */
@media (max-width: 1100px) {
  .proj__side { grid-column: 8 / 13; }
  .proj--flip .proj__side { grid-column: 1 / 6; }
  .proj--flip .proj__big { grid-column: 7 / 13; }
  .faq__list { grid-column: 3 / 13; }
}

/* Narrow: the staircase and the concept stack */
@media (max-width: 1000px) {
  .concept { display: flex; flex-direction: column; gap: 40px; }
  .concept__preview { position: static; width: min(100%, 560px); order: 3; }
  .concept__text { display: contents; }
  .concept__text > h2 { order: 1; }
  .concept__text > .lead { order: 2; margin-top: -16px; }
  .concept__text > .form { order: 4; margin-top: 0; }

  .motion .hero { height: auto; }
  .hero__stage, .motion .hero__stage { position: relative; height: auto; min-height: 0; overflow: visible; display: flex; flex-direction: column; }
  .hero__cover { position: relative; order: -1; height: 100svh; min-height: 600px; }
  .hero__title { inset: calc(var(--bar) + 24px) var(--m) auto; font-size: min(11vw, 5.5rem); line-height: 1.02; }
  .hero__a, .hero__b { position: static; transform: none; display: block; }
  .hero__b { text-align: right; }
  .hero__foot { left: var(--m); right: var(--m); bottom: auto; top: calc(max(100svh, 600px) - 32px); transform: translateY(-100%); max-width: 46ch; }
  .hero__hint { display: none; }
  .reel__slot { display: none; }
  .reel { height: calc(var(--fh) + 2 * (var(--gap) + var(--sliver))); }
  .reel { --fw: calc(100vw - 2 * var(--m)); --fh: calc(var(--fw) * 9 / 16); --sliver: 28px; position: relative; left: auto; top: auto; transform: none; margin: 64px var(--m) 0; }
  .rough { --rf: min(64vw, 46svh); }
  .rough__stage { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 28px; text-align: center; }
  .rough__words { align-items: center; gap: 20px; }
  .rough__title { font-size: min(12vw, 9svh); }
  .rough__a, .rough__b { display: inline; }
  .rough__notes { min-height: 5.2em; width: 100%; max-width: 34ch; }
  .rough__notes li { left: 0; right: 0; }
  .process { display: flex; flex-direction: column-reverse; gap: 56px; }
  .facet { position: static; width: min(60vw, 320px); }
  .stairs li:nth-child(2) { margin-left: 6vw; }
  .stairs li:nth-child(3) { margin-left: 12vw; }
  .stairs li:nth-child(4) { margin-left: 18vw; }

  .contact { min-height: min(100svh, 820px); }
  .foot { min-height: min(100svh, 760px); }
}
@media (max-width: 1100px) {
  .faq details { margin: 0; padding: 10px 16px; }
}

/* Phone */
@media (max-width: 760px) {
  :root { --bar: 56px; --gap: 16px; --step-display: 12vw; --step-head: 2.25rem; }
  .bar__nav, .bar__cta { display: none; }
  .bar__menu { display: block; }

  .reel { --fh: calc(var(--fw) * 3 / 4); margin-top: 48px; }
  .hero__foot { max-width: none; }
  .hero__foot .btn { width: 100%; }

  .work__title { margin-bottom: 40px; }
  .proj, .proj__next { display: flex; flex-direction: column; gap: 20px; margin-bottom: 88px; }
  .proj__big, .proj--flip .proj__big { margin: 0 calc(var(--m) * -1); width: calc(100% + 2 * var(--m)); }
  .proj__next-act { justify-content: flex-start; }

  .rough { --rf: min(70vw, 42svh); }
  .rough__notes { font-size: 1.25rem; }

  .form__pair { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }

  .pricing__price { display: table; margin: .06em 0; }
  .pricing__foot { display: flex; flex-direction: column; align-items: stretch; gap: 24px; margin-top: 40px; }
  .pricing__foot > p { font-size: 1.0625rem; }
  .pricing__act { align-items: stretch; }

  .about { display: flex; flex-direction: column-reverse; gap: 40px; padding: 96px var(--m); }
  .about__text { font-size: 1.375rem; }
  .about__cap { width: 4.9em; height: 4.9em; }
  .about__facts { flex-direction: row; justify-content: space-between; font-size: .8125rem; }

  .place { aspect-ratio: auto; height: 46svh; }

  .faq { display: flex; flex-direction: column; gap: 40px; }
  .faq details { margin: 0 calc(var(--m) * -1); padding: 8px var(--m); }
  .faq summary { font-size: 1.1875rem; }
  .faq details p { font-size: 1rem; }

  .contact { min-height: 86svh; }
  .contact__mail { font-size: 7.2vw; white-space: normal; margin-bottom: 8vh; line-height: 1.05; }
  .contact__foot { flex-direction: column; gap: 12px; }
  .contact__right { text-align: left; }

  .foot { display: flex; flex-direction: column; gap: 32px; padding-top: 72px; min-height: 92svh; }
  .foot__top .btn { align-self: stretch; }
  .foot__links { flex-direction: row; flex-wrap: wrap; gap: 0 20px; }
  .foot__legal { flex-direction: column; gap: 10px; margin-top: auto; }
  .foot__legal .credits { text-align: left; }
  .foot__legal p:first-child { white-space: normal; }
  .foot__word { font-size: 23vw; margin-top: 0; }

  /* Always-reachable call and concept on the phone */
  .dock { display: grid; }
}

.dock { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; grid-template-columns: 1fr 1.4fr; background: var(--bg); padding: 8px var(--m) calc(8px + env(safe-area-inset-bottom)); gap: 8px; transition: transform .45s var(--ease); }
.dock.is-hidden { transform: translateY(110%); }
.dock a { min-height: 48px; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 500; }
.dock__call { background: var(--surface); }

@media (prefers-reduced-motion: reduce) {
  html:not(.motion) *, html:not(.motion) *::before, html:not(.motion) *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
