/* Ebenline Studio.
   Same parent brand as the church pages: black, white, Instrument Sans, round corners, calm.
   What the Studio adds: stone grey, a chalk-blue line that everything is set to, the typeface's
   narrow width at very large sizes, and a serif for the sentences that carry the argument. */

@font-face { font-family: "Instrument Sans V"; src: url("/fonts/instrument-sans-wdth.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: block; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }

:root {
  --stone: #e8e9ea;
  --stone-2: #d6d8da;
  --ink: #000;
  --on-ink: #fff;
  --mute: #55575d;
  --chalk: #2743f0;
  --sans: "Instrument Sans V", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --gap: clamp(16px, 2vw, 28px);
  --r: clamp(16px, 1.8vw, 28px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: light;
}
.st-dark { --stone: #000; --stone-2: #1b1c1e; --ink: #fff; --on-ink: #000; --mute: #a9abb1; --chalk: #6f86ff; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
img, svg, video, iframe { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--chalk); color: #fff; }
:focus-visible { outline: 2.5px solid var(--chalk); outline-offset: 4px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 16px; }
.st-preview { background: var(--chalk); color: #fff; text-align: center; padding: 8px 16px; font-size: 14.5px; font-weight: 550; }

/* ---------- The line ---------- */
.snap { position: relative; height: 56px; margin: -28px 0; pointer-events: auto; touch-action: pan-y; z-index: 2; }
.snap::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--chalk); }
.snap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: none; }
.snap path { fill: none; stroke: var(--chalk); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.snap.live::before { display: none; }
.snap.live svg { display: block; }
.snap-hero path { stroke-width: 3; }
.snap-hero::before { height: 3px; }

/* ---------- Type ---------- */
.hero-h, .page-h { font-weight: 600; font-stretch: 77%; letter-spacing: -0.045em; word-spacing: 0.07em; line-height: 0.9; text-wrap: balance; overflow-wrap: anywhere; }
.hero-h { font-size: clamp(54px, 11.4vw, 212px); max-width: 16ch; }
.page-h { font-size: clamp(64px, 14.5vw, 270px); }
.page-h-s { font-size: clamp(52px, 9.4vw, 176px); }
.page-h-xs { font-size: clamp(44px, 6.8vw, 128px); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.04em 0.14em; margin: -0.06em -0.04em -0.14em; }
.wi { display: inline-block; }
.statement { font-family: var(--serif); font-size: clamp(28px, 3.9vw, 64px); line-height: 1.06; letter-spacing: -0.012em; text-wrap: pretty; }
.stretch { font-stretch: 75%; transition: font-stretch 0.55s var(--ease); }
.more { display: inline-block; font-weight: 550; text-decoration: none; padding-bottom: 5px; background: linear-gradient(var(--chalk), var(--chalk)) 0 100% / 100% 2px no-repeat; transition: background-size 0.45s var(--ease); }
.more-back { background-size: 0 2px; }
a.more:hover, a:hover .more { background-size: 0 2px; background-position: 100% 100%; }
a.more-back:hover { background-size: 100% 2px; background-position: 0 100%; }
.tagline { font-size: 14.5px; color: var(--mute); margin-left: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 550; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.btn-solid { background: var(--ink); color: var(--on-ink); }
.btn-solid:hover { background: var(--chalk); color: #fff; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover, .btn-line[aria-current] { background: var(--ink); color: var(--on-ink); }
.btn-big { min-height: 64px; padding: 0 40px; font-size: 18px; }

/* ---------- Header ---------- */
.st-head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: 14px var(--pad); background: var(--stone); transition: transform 0.4s var(--ease); }
.st-head.is-away { transform: translateY(-101%); }
.st-brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; margin-right: auto; }
.st-mark { width: 26px; height: 26px; }
.st-word { font-size: 21px; font-weight: 600; letter-spacing: -0.035em; }
.st-div { font-family: var(--serif); font-size: 24px; line-height: 1; padding-left: 10px; margin-left: 2px; border-left: 2px solid var(--chalk); }
.st-nav { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: 16px; font-weight: 500; }
.st-nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--chalk), var(--chalk)) 0 100% / 0 2px no-repeat; transition: background-size 0.4s var(--ease); }
.st-nav a:hover, .st-nav a[aria-current] { background-size: 100% 2px; }
.st-cross { color: var(--mute); }
.st-start { min-height: 44px; padding: 0 20px; font-size: 15px; }
.st-burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.st-burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--on-ink); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.st-burger i:first-of-type { top: 18px; } .st-burger i:last-of-type { top: 25px; }
.st-burger[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.st-burger[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
.st-menu { position: fixed; inset: 0; z-index: 40; background: var(--stone); padding: 110px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.st-menu[hidden] { display: none; }
.st-menu nav { display: grid; }
.st-menu nav a { font-size: clamp(52px, 16vw, 96px); font-weight: 600; font-stretch: 75%; letter-spacing: -0.045em; line-height: 1; text-decoration: none; padding: 10px 0; border-bottom: 2px solid var(--chalk); }
.st-menu nav a[aria-current] { color: var(--chalk); }
.st-menu p { display: grid; gap: 10px; font-size: 18px; margin-top: 32px; }

/* ---------- Home ---------- */
.hero { padding: clamp(28px, 5vw, 88px) var(--pad) clamp(56px, 7vw, 112px); }
.hero .snap-hero { margin-top: clamp(-8px, 0.6vw, 8px); margin-inline: calc(var(--pad) * -1); }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px clamp(24px, 6vw, 96px); padding-top: clamp(24px, 3vw, 44px); }
.hero-sub { font-size: clamp(18px, 1.55vw, 23px); line-height: 1.4; max-width: 40ch; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); padding: clamp(40px, 7vw, 120px) var(--pad) clamp(72px, 10vw, 168px); }
.intro .statement { grid-column: 4 / -1; max-width: 24ch; }

.sec { padding: 0 var(--pad) clamp(72px, 10vw, 168px); }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: clamp(28px, 3.4vw, 52px); }
.sec-h h2 { font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; letter-spacing: -0.015em; }

.proj { position: relative; }
.proj-link { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); padding: clamp(28px, 3.4vw, 52px) 0 clamp(64px, 8vw, 128px); text-decoration: none; }
.proj-text { display: contents; }
.proj-title { grid-column: 1 / span 10; grid-row: 1; font-size: clamp(42px, 7.4vw, 136px); font-weight: 600; letter-spacing: -0.045em; word-spacing: 0.07em; line-height: 0.92; overflow-wrap: anywhere; }
.proj-meta { grid-column: 11 / -1; grid-row: 1; justify-self: end; align-self: start; padding-top: 0.6em; color: var(--mute); font-size: 16px; text-align: right; }
.plate { grid-column: 1 / span 8; grid-row: 2 / span 2; margin-top: clamp(20px, 2.6vw, 40px); aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--accent, var(--stone-2)); position: relative; }
.plate img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.plate-type { display: flex; align-items: flex-end; }
.plate-type span { font-size: clamp(120px, 27vw, 500px); font-weight: 700; font-stretch: 75%; letter-spacing: -0.06em; line-height: 0.74; white-space: nowrap; margin: 0 0 -0.04em -0.03em; color: color-mix(in srgb, var(--accent, var(--stone-2)) 82%, #000); transition: transform 1.1s var(--ease); }
.proj-sum { grid-column: 9 / -1; grid-row: 2; align-self: end; margin-top: clamp(20px, 2.6vw, 40px); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; text-wrap: pretty; }
.proj .more { grid-column: 9 / -1; grid-row: 3; justify-self: start; align-self: end; margin-top: 20px; }
.proj-flip .plate { grid-column: 5 / -1; }
.proj-flip .proj-sum, .proj-flip .more { grid-column: 1 / span 4; }
.proj[hidden] { display: none; }
@media (hover: hover) {
  .proj-link:hover .stretch, .svc-list a:hover .stretch, .cta-link:hover, .next a:hover .stretch { font-stretch: 100%; }
  .proj-link:hover .plate img { transform: scale(1.035); }
  .proj-link:hover .plate-type span { transform: translateX(-3%); }
}
.empty { position: relative; padding: clamp(40px, 5vw, 72px) 0 0; display: grid; gap: 32px; justify-items: start; }
.empty .statement { max-width: 24ch; font-size: clamp(26px, 3vw, 46px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: clamp(28px, 3.4vw, 52px); }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 15.5px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

.svc-list li { position: relative; }
.svc-list a { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px var(--gap); align-items: baseline; padding: clamp(22px, 2.6vw, 40px) 0 clamp(24px, 3vw, 48px); text-decoration: none; }
.svc-name { word-spacing: 0.07em; grid-column: 1 / span 7; font-size: clamp(38px, 6vw, 108px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; }
.svc-line { grid-column: 8 / -1; font-family: var(--serif); font-size: clamp(21px, 2vw, 32px); line-height: 1.15; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(32px, 3vw, 44px) var(--gap); counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { position: relative; padding-top: 40px; counter-increment: step; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 16px; background: var(--ink); }
.steps li::after { content: counter(step); position: absolute; left: 12px; top: 3px; font-size: 14px; font-weight: 600; }
.steps h3 { font-size: clamp(26px, 2.5vw, 40px); font-weight: 600; font-stretch: 80%; letter-spacing: -0.035em; line-height: 1; margin-bottom: 12px; }
.steps p { color: var(--mute); max-width: 34ch; text-wrap: pretty; }
.note { margin-top: clamp(40px, 5vw, 72px); font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.15; max-width: 28ch; }

.purpose { margin: 0 clamp(8px, 1.1vw, 16px); border-radius: clamp(24px, 3vw, 40px); background: #000; color: #fff; padding: clamp(72px, 10vw, 168px) calc(var(--pad) - clamp(8px, 1.1vw, 16px)); --chalk: #6f86ff; --mute: #a9abb1; }
.purpose-in { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gap); align-items: end; }
.purpose h2 { word-spacing: 0.07em; grid-column: 1 / span 7; font-size: clamp(46px, 7.4vw, 136px); font-weight: 600; font-stretch: 75%; letter-spacing: -0.045em; line-height: 0.92; text-wrap: balance; }
.purpose-in > div { grid-column: 8 / -1; display: grid; gap: 24px; justify-items: start; }
.purpose .statement { font-size: clamp(22px, 2.1vw, 33px); line-height: 1.16; }

.cta { position: relative; padding: clamp(72px, 10vw, 168px) var(--pad) clamp(56px, 7vw, 112px); }
.cta-lead { font-family: var(--serif); font-size: clamp(26px, 3vw, 48px); line-height: 1.1; }
.cta-link { display: inline-block; word-spacing: 0.07em; margin: 0.06em 0 0.14em; font-size: clamp(60px, 15.4vw, 290px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.9; text-decoration: none; border-bottom: clamp(3px, 0.5vw, 8px) solid var(--chalk); padding-bottom: 0.06em; }
.cta-text { color: var(--mute); max-width: 40ch; font-size: clamp(17px, 1.3vw, 20px); margin-top: 20px; }

/* ---------- Inner pages ---------- */
.page-top { padding: clamp(28px, 5vw, 88px) var(--pad) clamp(48px, 6vw, 96px); }
.page-top .snap-hero, .cs-top .snap-hero { margin-top: clamp(-8px, 0.6vw, 8px); margin-inline: calc(var(--pad) * -1); }
.page-top .hero-sub { padding-top: clamp(24px, 3vw, 44px); }
.page-top .hero-cta { padding-top: 28px; }

.sv-list { padding: 0 var(--pad); }
.sv { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px var(--gap); padding: clamp(32px, 4vw, 64px) 0 clamp(64px, 8vw, 128px); scroll-margin-top: 80px; }
.sv > .snap { grid-column: 1 / -1; align-self: start; margin-top: calc(-28px - clamp(32px, 4vw, 64px)); margin-bottom: calc(clamp(32px, 4vw, 64px) - 28px - 24px); }
.sv-name { word-spacing: 0.07em; grid-column: 1 / span 5; font-size: clamp(40px, 5.2vw, 96px); font-weight: 600; font-stretch: 75%; letter-spacing: -0.045em; line-height: 0.94; text-wrap: balance; }
.sv-body { grid-column: 7 / -1; display: grid; gap: clamp(20px, 2.4vw, 36px); }
.sv-body .statement { font-size: clamp(26px, 3vw, 48px); }
.sv-desc { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; max-width: 52ch; text-wrap: pretty; }
.sv-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding-top: 8px; }
.sv-cols h3 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.sv-cols li { padding: 9px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.sv-cols p, .sv-cols li { color: var(--mute); }
.sv-cols p { padding-top: 9px; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); text-wrap: pretty; }

/* Case study */
.cs-top { padding: clamp(20px, 3vw, 48px) var(--pad) 0; }
.cs-back { padding-bottom: clamp(20px, 3vw, 48px); }
.cs-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gap); padding: clamp(28px, 3.6vw, 56px) 0 clamp(48px, 6vw, 96px); }
.cs-intro .statement { grid-column: 1 / span 7; font-size: clamp(26px, 3.1vw, 50px); }
.facts { grid-column: 9 / -1; display: grid; align-content: start; font-size: 16px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.facts dt { color: var(--mute); }
.cs-cover { padding: 0 var(--pad); }
.cs-cover .plate { margin: 0; aspect-ratio: 16 / 9; }
.cs-body { padding: clamp(56px, 8vw, 136px) var(--pad) clamp(32px, 4vw, 64px); display: grid; gap: clamp(56px, 7vw, 120px); }
.cs-sec { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--gap); }
.cs-sec h2 { grid-column: 1 / span 4; font-size: clamp(26px, 2.6vw, 42px); font-weight: 600; font-stretch: 78%; letter-spacing: -0.035em; line-height: 1; }
.cs-text, .cs-results ul { grid-column: 6 / span 6; }
.cs-text { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.55; }
.cs-text p + p { margin-top: 1em; }
.cs-results li { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.12; padding: 18px 0; border-top: 2px solid var(--chalk); }
.shots { display: grid; gap: var(--gap); }
.shots-2 { grid-template-columns: 1fr 1fr; }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; border-radius: var(--r); background: var(--accent, var(--stone-2)); }
.shot-tall img { aspect-ratio: 3 / 4; }
.shot figcaption { padding-top: 12px; font-size: 15px; color: var(--mute); }
.cs-video { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.cs-video iframe, .cs-video video { width: 100%; height: 100%; border: 0; }
.next { position: relative; padding: 0 var(--pad); }
.next a { display: grid; gap: 8px; padding: clamp(32px, 4vw, 64px) 0 clamp(48px, 6vw, 96px); text-decoration: none; }
.next a > span:first-child { color: var(--mute); }
.next-title { word-spacing: 0.07em; font-size: clamp(44px, 9vw, 168px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.92; overflow-wrap: anywhere; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px var(--gap); padding: clamp(28px, 5vw, 88px) var(--pad) clamp(72px, 10vw, 168px); align-items: start; }
.contact-say { grid-column: 1 / span 6; display: grid; gap: clamp(20px, 2.4vw, 36px); position: sticky; top: 96px; }
.contact-say .statement { font-size: clamp(24px, 2.6vw, 40px); max-width: 22ch; }
.contact-direct a { font-weight: 550; text-decoration-color: var(--chalk); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-where { color: var(--mute); }
.form { grid-column: 8 / -1; display: grid; gap: clamp(24px, 2.6vw, 36px); }
.f { display: grid; gap: 4px; }
.f label, .chips legend { font-size: 15px; font-weight: 600; }
.opt { font-weight: 400; color: var(--mute); margin-left: 6px; }
.f input, .f textarea { width: 100%; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; padding: 10px 0 12px; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.3; outline: 0; transition: border-color 0.2s; }
.f textarea { resize: vertical; min-height: 3.2em; }
.f input:focus-visible, .f textarea:focus-visible { border-bottom-color: var(--chalk); box-shadow: 0 2px 0 var(--chalk); border-radius: 0; }
.f [aria-invalid="true"] { border-bottom-style: dashed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding-bottom: 12px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 16px; font-weight: 500; transition: background 0.2s, color 0.2s; }
.chips input:checked + span { background: var(--ink); color: var(--on-ink); }
.chips input:focus-visible + span { outline: 2.5px solid var(--chalk); outline-offset: 3px; }
.more-fields summary { cursor: pointer; font-weight: 550; list-style: none; display: inline-block; padding-bottom: 5px; border-bottom: 2px solid var(--chalk); }
.more-fields summary::-webkit-details-marker { display: none; }
.more-fields[open] summary { margin-bottom: clamp(24px, 2.6vw, 36px); }
.more-fields[open] { display: grid; gap: clamp(24px, 2.6vw, 36px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-weight: 550; min-height: 1.5em; }
.form-msg:empty { display: none; }
.form .btn { justify-self: start; }
.form-fine { font-size: 14.5px; color: var(--mute); }
.form-done { grid-column: 8 / -1; display: grid; gap: 20px; justify-items: start; }
.form-done .statement { font-size: clamp(30px, 3.6vw, 56px); }

/* ---------- Footer ---------- */
.st-foot { position: relative; padding: 0 var(--pad) 32px; }
.st-foot > .snap { margin-inline: calc(var(--pad) * -1); }
.st-foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px var(--gap); padding: clamp(40px, 5vw, 72px) 0; }
.st-foot-brand p { font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.15; max-width: 18ch; margin-top: 20px; }
.st-foot h2 { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.st-foot nav, .st-foot-in > div:last-child { display: grid; gap: 8px; align-content: start; justify-items: start; }
.st-foot nav a, .st-foot-in > div:last-child a { text-decoration: none; }
.st-foot nav a:hover, .st-foot-in > div:last-child a:hover { text-decoration: underline; text-decoration-color: var(--chalk); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.st-foot-in p { color: var(--mute); }
.st-foot-brand .st-brand { margin: 0; }
.st-legal { font-size: 14px; color: var(--mute); }

/* ---------- Motion: only with scripting on, and only when the visitor has not asked for less ---------- */
/* Until the typefaces have arrived, hold the page back so nothing reflows under the reader. */
.js:not(.ft) main, .js:not(.ft) .st-foot { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js .wi { transform: translateY(112%); }
  .js.ft .wi { animation: rise 0.95s var(--ease) forwards; animation-delay: calc(var(--i) * 42ms + 80ms); }
  .js .snap-hero { clip-path: inset(-40px 100% -40px 0); }
  .js.ft .snap-hero { animation: draw 1.1s var(--ease) 0.2s forwards; }
  .js .hero-foot, .js .page-top .hero-sub, .js .page-top .hero-cta, .js .cs-intro, .js .contact-say .statement, .js .contact-say p, .js .form { opacity: 0; }
  .js.ft .hero-foot, .js.ft .page-top .hero-sub, .js.ft .page-top .hero-cta, .js.ft .cs-intro, .js.ft .contact-say .statement, .js.ft .contact-say p, .js.ft .form { animation: fade 0.9s var(--ease) 0.7s forwards; }
  .js .rv { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  html { scroll-behavior: smooth; }
}
@keyframes rise { to { transform: none; } }
@keyframes draw { to { clip-path: inset(-40px 0 -40px 0); } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .intro .statement { grid-column: 2 / -1; }
  .proj-title { grid-column: 1 / -1; }
  .proj-meta { grid-column: 1 / -1; grid-row: 2; justify-self: start; text-align: left; padding-top: 12px; }
  .plate, .proj-flip .plate { grid-column: 1 / -1; grid-row: 3; }
  .proj-sum, .proj-flip .proj-sum { grid-column: 1 / span 8; grid-row: 4; }
  .proj .more, .proj-flip .more { grid-column: 1 / -1; grid-row: 5; }
  .svc-name { grid-column: 1 / -1; } .svc-line { grid-column: 1 / -1; }
  .purpose h2, .purpose-in > div { grid-column: 1 / -1; }
  .sv-name, .sv-body { grid-column: 1 / -1; }
  .cs-intro .statement, .facts { grid-column: 1 / -1; }
  .cs-sec h2, .cs-text, .cs-results ul { grid-column: 1 / -1; }
  .contact-say, .form, .form-done { grid-column: 1 / -1; position: static; }
  .st-foot-in { grid-template-columns: 1fr 1fr; }
}
/* ---------- Phone: laid out for the hand, not shrunk from the desktop ---------- */
@media (max-width: 720px) {
  .st-nav, .st-start { display: none; }
  .st-burger { display: block; }
  .st-head { padding-block: 10px; }
  .hero-h { max-width: none; font-size: clamp(54px, 15.6vw, 96px); }
  .hero-cta { width: 100%; } .hero-cta .btn { flex: 1 1 auto; }
  .intro .statement { grid-column: 1 / -1; }
  .plate { aspect-ratio: 4 / 3.3; margin-inline: calc(var(--pad) * -0.5); border-radius: 18px; }
  .cs-cover .plate { aspect-ratio: 4 / 3.3; margin: 0; }
  .proj-sum, .proj-flip .proj-sum { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); gap: 36px; }
  .steps li { padding: 24px 0 0 28px; }
  .steps li::before { left: 0; top: 9px; width: 16px; height: 2px; }
  .steps li::after { left: 28px; top: 0; color: var(--mute); }
  .sv-cols, .shots-2 { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 96px 1fr; }
  .st-foot-in { grid-template-columns: 1fr 1fr; }
  .st-foot-brand { grid-column: 1 / -1; }
  .btn-big { width: 100%; }
  .snap { height: 44px; margin: -22px 0; }
}
