/* Owner's Copy. Layout concept: one confident display scale, hairlines instead of boxes, project imagery as the content,
   and a few choreographed moments that end in a settled state. The Work Order thread survives as mono chapter labels,
   the cream ticket and the stamp. Shared by the homepage, the case study and the privacy page. */

:root {
  --ground: #edf0ef; --paper: #ffffff; --paper-2: #f5f7f6;
  --ink: #17212a; --ink-2: #51606a; --rule: #d2d9d8; --rule-2: #c0c9c7;
  --accent: #0d6e5f; --accent-ink: #ffffff; --accent-wash: #e0eeeb;
  --band: #17212a; --band-ink: #eef3f1; --band-ink-2: #a9b8b5; --band-rule: rgba(238,243,241,.16);
  --carbon: #f7f3e3; --carbon-ink: #2b2f5a;
  /* orange: the secondary accent. --orange-ink is text-safe on the surface it sits on (AA, 4.5:1+);
     --orange is a brighter decoration-only tone (rules, underlines), never text on light surfaces.
     --orange-on-carbon is the text-safe orange for the cream ticket, which keeps its own surface inside the band. */
  --orange: #e8762c; --orange-ink: #b4420c; --orange-on-carbon: #b4420c; --stamp: #b4420c;
  --f-display: "Newsreader", Georgia, "Times New Roman", serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  /* type scale */
  --d1: clamp(3rem, 6.2vw, 5.5rem);     /* hero */
  --d2: clamp(2.1rem, 3.8vw, 3.5rem);       /* section statements */
  --d3: 1.2rem;                             /* row titles */
  --body: 1.0625rem;
  --label: .72rem;
  /* spacing and grid */
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1360px;
  --sec: clamp(60px, 6.5vw, 96px);
  --gap: clamp(16px, 2vw, 28px);
  --r: 6px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --expo: cubic-bezier(.22,1,.36,1);
  color-scheme: light;
}
/* Mixed light content and dark bands are the default; dark is opt-in. */
:root[data-theme="dark"] {
  --ground: #101519; --paper: #182025; --paper-2: #1e272d; --ink: #e6ecea; --ink-2: #9cabab; --rule: #2d393f; --rule-2: #3a474e;
  --accent: #53c2ab; --accent-ink: #0a1f1b; --accent-wash: #143029; --band: #0b0f12; --band-ink: #e6ecea; --band-ink-2: #8d9c9b;
  --carbon: #23242b; --carbon-ink: #b9bdf0;
  --orange: #f2a65a; --orange-ink: #f2a65a; --orange-on-carbon: #f2a65a; --stamp: #f2a65a;
  color-scheme: dark;
}
.band { --accent: #53c2ab; --accent-ink: #0a1f1b; --orange-ink: #f2a65a; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: var(--body)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 3px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: var(--r); z-index: 20; }
.skip:focus { left: 8px; }

/* type */
.display { font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; font-size: var(--d1); line-height: 1.04; letter-spacing: -.035em; }
.display-2 { font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; font-size: var(--d2); line-height: 1.02; letter-spacing: -.028em; }
.display-2 em { font-style: normal; color: var(--accent); }
.label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; line-height: 1.5; margin: 0 0 clamp(28px, 4vw, 48px); font: 600 var(--label)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.label .no { color: var(--orange-ink); }
.label .no::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--rule-2); margin-left: 14px; vertical-align: middle; }
.band .label { color: var(--band-ink-2); }
.band .label .no::after { background: var(--band-rule); }

/* buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: var(--r); font: 650 1rem/1.2 var(--f-body); text-decoration: none; border: 1px solid transparent; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); } }
.btn:active { transform: scale(.97); transition-duration: .12s; }  /* press feedback on every device (emil-design-eng) */
.btn.big { padding: 16px 24px; font-size: 1.05rem; }
.btn .arrow { display: inline-block; transition: transform .25s var(--expo); }
.btn:focus-visible .arrow { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arrow { transform: translateX(4px); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: inherit; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 10px) / 100% 1px; transition: background-size .3s var(--expo); }
.link-arrow::after { content: "→"; transition: transform .25s var(--expo); }
.link-arrow.ext::after { content: "↗"; }
.link-arrow:focus-visible { background-size: 0 1px; background-position: 100% calc(100% - 10px); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); } }
.link-arrow:focus-visible::after { transform: translateX(4px); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { transform: translateX(4px); } }
@media (hover: hover) and (pointer: fine) { .link-arrow.ext:hover::after { transform: translate(3px, -3px); } }

/* ---------- band: nav + hero ---------- */
.band { background: var(--band); color: var(--band-ink); }
.nav { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--band-ink); text-decoration: none; font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; font-size: 1.8rem; letter-spacing: -.045em; white-space: nowrap; }
.wordmark img { width: 56px; height: 56px; flex: none; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0 8px 0 auto; padding: 0; }
.nav ul a { display: inline-block; padding-block: 10px; color: var(--band-ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 calc(100% - 7px) / 0 1.5px; transition: color .18s var(--ease), background-size .25s var(--expo); }
.nav ul a:focus-visible { color: var(--band-ink); background-size: 100% 1.5px; }
@media (hover: hover) and (pointer: fine) { .nav ul a:hover { color: var(--band-ink); background-size: 100% 1.5px; } }
.nav .btn { padding: 10px 16px; font-size: .92rem; white-space: nowrap; }

.hero { padding-block: clamp(40px, 6vw, 72px) 0; }
.hero-label { margin-bottom: clamp(20px, 3vw, 36px); }
.hero h1 { max-width: 14ch; }
.line { display: block; overflow: hidden; padding: .08em .04em .18em 0; margin: -.08em -.04em -.18em 0; }
.line-in { display: inline-block; }
.line-in.accent { color: var(--accent); }
.hero-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: start; margin-top: clamp(28px, 4vw, 48px); }
.hero-copy { padding-top: clamp(8px, 2vw, 32px); padding-bottom: clamp(48px, 7vw, 96px); }
.lead { color: var(--band-ink-2); font-size: 1.12rem; max-width: 34ch; }
.ctas { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ctas .link-arrow { color: var(--band-ink); }
.fine { margin-top: 18px; font-size: .9rem; color: var(--band-ink-2); }

/* the hero exhibit: the ownership ticket, set like a printed form. Sized so the whole ticket, stamp included,
   sits beside the headline inside the first screen on common desktops; compact on phones. */
.hero-ticket { display: grid; justify-items: end; align-self: start; padding: clamp(2px, .6vw, 10px) 12px 0 0; }
.ticket { --tilt: 1deg; position: relative; width: min(100%, clamp(296px, 24vw, 344px)); background: var(--carbon); color: var(--carbon-ink); border-radius: 3px; padding: 18px 20px 52px; font: 500 .78rem/1.45 var(--f-mono); transform: rotate(var(--tilt)); border: 1px solid color-mix(in srgb, var(--carbon-ink) 24%, transparent); box-shadow: 0 1px 0 rgba(0,0,0,.25), 0 22px 36px -26px rgba(0,0,0,.6); }
/* perforated tear-off edge: evenly punched half-circles in the band colour */
.ticket::before { content: ""; position: absolute; left: 4px; right: 4px; top: -1px; height: 6px; background: radial-gradient(circle at 5px 0, var(--band) 2.8px, transparent 3.4px) repeat-x; background-size: 10px 6px; }
.ticket header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; padding-bottom: 8px; border-bottom: 1px solid currentColor; }
.ticket header b { font-weight: 600; font-size: .8rem; letter-spacing: .18em; }
.ticket header span { font-weight: 600; font-size: .7rem; letter-spacing: .1em; color: var(--orange-on-carbon); }
.ticket dl { margin: 10px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; align-items: baseline; }
.ticket dt { display: flex; align-items: baseline; gap: 8px; color: color-mix(in srgb, currentColor 82%, transparent); }
.ticket dt::after { content: ""; flex: 1; min-width: 14px; border-bottom: 1px dotted color-mix(in srgb, currentColor 55%, transparent); transform: translateY(-.3em); }
.ticket dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket .total { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed currentColor; font-weight: 600; letter-spacing: .04em; }
.ticket .sig { display: flex; justify-content: space-between; gap: 14px; margin-top: 26px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, currentColor 72%, transparent); }
.ticket .sig span { flex: 1; padding-top: 5px; border-top: 1px solid color-mix(in srgb, currentColor 75%, transparent); }
.stamp { position: absolute; right: 18px; bottom: 12px; transform: rotate(-6deg); border: 2px solid var(--stamp); color: var(--stamp); font: 700 .74rem/1 var(--f-mono); letter-spacing: .14em; padding: 6px 8px; border-radius: 3px; text-transform: uppercase; opacity: .9; mix-blend-mode: multiply; }

:root[data-theme="dark"] .stamp { mix-blend-mode: normal; }
.label a { color: inherit; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .label a:hover { color: var(--accent); } }
/* sub-page breadcrumb: plain text face, links with a 44px tap height */
.crumbs { font: 500 .95rem/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--band-ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--band-ink); text-decoration: underline; text-decoration-color: var(--band-rule); text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--accent); text-decoration-color: currentColor; } }
.crumbs .sep { padding-inline: 8px; }

/* sub-page hero (case study, privacy): same band, smaller display */
.page-hero { padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 88px); display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.4rem); max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero .meta { font: 600 var(--label)/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--band-ink-2); }
.band .facts { border-top-color: var(--band-rule); margin-bottom: 0; margin-top: clamp(16px, 3vw, 32px); }
.band .facts b { color: var(--band-ink); }
.band .facts span { color: var(--band-ink-2); }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); scroll-margin-top: 24px; }
.sec + .sec { padding-top: 0; }
.sec:nth-of-type(even) { background: var(--paper-2); }
.sec:nth-of-type(even), .sec:nth-of-type(even) + .sec { padding-top: var(--sec); }
.statement { display: grid; gap: 20px; max-width: 1040px; margin-bottom: clamp(40px, 6vw, 80px); }
.statement h2 { max-width: 26ch; }
.statement p { color: var(--ink-2); font-size: 1.1rem; max-width: 56ch; }
.statement.split { max-width: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; }
.statement.split h2 { max-width: 24ch; }
.statement.split p { max-width: 44ch; padding-bottom: .35em; }
.note { margin-top: 16px; font-size: .86rem; color: var(--ink-2); max-width: 70ch; }

/* compare: hairline ledger, no box */
.compare { border-top: 1px solid var(--ink); }
.compare .row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: var(--gap); padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.compare .row.head { padding: 12px 0; font: 600 var(--label)/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.compare .row.head .us { color: var(--accent); }
.compare [role="rowheader"] { font-weight: 600; }
.compare [role="cell"] { color: var(--ink-2); }
.compare [role="cell"].us { color: var(--ink); font-weight: 600; }
.compare .row:not(.head) .us::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 12px; vertical-align: 1px; }

/* facts and project showcase */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--ink); margin-bottom: clamp(40px, 6vw, 80px); }
.facts div { padding-top: 16px; border-top: 0; }
.facts b { display: block; font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .95rem; max-width: 26ch; }
.showcase { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); row-gap: clamp(28px, 4vw, 56px); align-items: start; }
.piece { margin: 0; }
.piece .img { overflow: hidden; border-radius: 8px; background: var(--paper); border: 1px solid var(--rule); will-change: transform; }
.piece .img img { width: 100%; transition: transform .6s var(--expo); }
.piece figcaption { margin-top: 14px; font-size: .92rem; color: var(--ink-2); max-width: 40ch; }
.piece figcaption span { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .piece .img:hover img { transform: scale(1.02); } }
.piece figcaption .full { display: block; width: fit-content; margin-top: 6px; color: var(--accent); font-weight: 600; text-decoration: none; padding-block: 4px; }
@media (hover: hover) and (pointer: fine) { .piece figcaption .full:hover { text-decoration: underline; } }
.piece.phone .img { border-radius: 26px; border: 6px solid var(--band); background: var(--band); }
.piece.phone figcaption { max-width: none; }
/* width and start classes compose each stagger */
.w3 { grid-column: auto / span 3; } .w4 { grid-column: auto / span 4; } .w5 { grid-column: auto / span 5; } .w6 { grid-column: auto / span 6; } .w7 { grid-column: auto / span 7; } .w8 { grid-column: auto / span 8; } .w12 { grid-column: auto / span 12; }
.s6 { grid-column-start: 6; } .s7 { grid-column-start: 7; } .s8 { grid-column-start: 8; } .s9 { grid-column-start: 9; } .s10 { grid-column-start: 10; }
.down { margin-top: clamp(60px, 10vw, 140px); }
.down-sm { margin-top: clamp(24px, 5vw, 72px); }
.up { margin-top: calc(-1 * clamp(0px, 4vw, 60px)); }
.showcase.solo { margin-top: clamp(40px, 6vw, 72px); }
.work-links { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 8px 40px; }

/* services: compact ledger */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.services li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2fr); gap: var(--gap); padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; position: relative; }
.services li::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); transition: width .45s var(--expo); }
@media (hover: hover) and (pointer: fine) { .services li:hover::before { width: 100%; } }
.services h3 { font: 600 var(--d3)/1.3 var(--f-body); letter-spacing: -.01em; }
.services p { color: var(--ink-2); }
.cost { font: 600 var(--label)/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-align: right; white-space: nowrap; }
.cost.add { color: var(--accent); }

/* pricing: three columns on hairlines, no cards */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.tier { padding: 28px clamp(16px, 2.4vw, 36px) 36px 0; }
.tier + .tier { border-left: 1px solid var(--rule); padding-left: clamp(16px, 2.4vw, 36px); }
.tier h3 { font: 600 var(--label)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tier .amt { margin-top: 14px; font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tier { position: relative; }
.tier:nth-child(2)::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--accent); }
.tier:nth-child(2) .amt { color: var(--accent); }
.tier ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: .98rem; }
.tier li:last-child { margin-top: 6px; color: var(--ink); font-weight: 600; }
.lines { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); }
.lines h3 { font: 600 var(--label)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.lines dl { margin: 0; }
.lines dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.lines dt, .lines dd { padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.lines dt { color: var(--ink-2); padding-right: 16px; }
.lines dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.price-cta { margin-top: clamp(32px, 4vw, 48px); max-width: 60ch; color: var(--ink-2); }
.price-cta .link-arrow { color: var(--accent); margin-left: 4px; }

/* steps: numbered rail */
.steps { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); border-top: 1px solid var(--ink); counter-reset: s; }
.steps li { padding-top: 20px; position: relative; }
.steps li + li::before { content: ""; position: absolute; left: calc(-.5 * var(--gap)); top: 20px; bottom: 0; width: 1px; background: var(--rule); }
.steps h3 { margin-top: 0; font: 600 var(--d3)/1.3 var(--f-body); letter-spacing: -.01em; max-width: 16ch; }
.steps p { margin-top: 8px; color: var(--ink-2); max-width: 30ch; }

/* who: a run of type instead of chips */
.run { font-family: var(--f-body); letter-spacing: -.02em; max-width: 58ch; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 400; line-height: 1.8; }
.run i { font-style: normal; color: var(--accent); padding-inline: .15em; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); align-items: start; }
.faq-wrap .display-2 { position: sticky; top: 32px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 600 1.1rem/1.35 var(--f-body); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--rule-2); font: 500 1.2rem/1 var(--f-mono); color: var(--accent); transition: transform .3s var(--expo), background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent-wash); }
@media (hover: hover) and (pointer: fine) { .faq summary:hover::after { background: var(--accent-wash); } }
.faq p { padding: 0 48px 22px 0; color: var(--ink-2); max-width: 64ch; }

/* sub-page prose, spec ledger and policy */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { display: grid; gap: 16px; max-width: 60ch; }
.prose h2 { font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose .label { margin-bottom: 4px; }
table.spec { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.spec th, .spec td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec th { width: 30%; font-weight: 600; padding-right: var(--gap); }
.spec td { color: var(--ink-2); }
.policy .spec tr:last-child th, .policy .spec tr:last-child td { border-bottom: 0; }
.policy { max-width: 760px; }
.policy section { padding-block: clamp(28px, 4vw, 40px); border-top: 1px solid var(--rule); display: grid; gap: 14px; }
.policy section:first-child { border-top: 0; padding-top: 0; }
.policy h2 { font-family: var(--f-display); font-weight: 500; font-optical-sizing: auto; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.15; letter-spacing: -.02em; }
.policy p, .policy li { color: var(--ink-2); }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.policy strong { color: var(--ink); }
.short ul { list-style: none; padding: 0; gap: 10px; }
.short li { padding-left: 30px; position: relative; color: var(--ink); font-size: 1.08rem; }
.short li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font: 700 1.1rem/1.55 var(--f-mono); }

/* closing band and footer */
.cta { padding-block: var(--sec); }
.cta .display-2 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 16ch; }
.cta-row { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap); align-items: center; }
.cta-row p { color: var(--band-ink-2); font-size: 1.1rem; max-width: 46ch; }
.cta-row .btn { justify-self: start; }
.foot { border-top: 1px solid var(--band-rule); padding-block: 28px; font-size: .88rem; color: var(--band-ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; align-items: baseline; }
.foot a { color: var(--band-ink); text-decoration: none; display: inline-block; padding-block: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--accent); } }

/* Editorial composition: the ticket shares the headline's space, with compact supporting copy. */
.nav { border-bottom: 1px solid var(--band-rule); padding-block: 22px; }
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 88px); padding-block: clamp(40px, 5vw, 72px) clamp(60px, 7vw, 96px); }
.hero-label { grid-column: 1 / -1; }
.hero h1 { grid-column: 1; grid-row: 2; max-width: 13ch; }
.hero-row { display: contents; }
.hero-copy { grid-column: 1; grid-row: 3; padding: 28px 0 0; }
.hero-copy .lead { max-width: 42ch; font-size: 1.03rem; }
.hero-copy .fine { max-width: 48ch; font-size: .82rem; }
.hero-ticket { grid-column: 2; grid-row: 2 / 4; margin: 0; }
.statement { margin-bottom: clamp(28px, 4vw, 48px); }
.label { margin-bottom: 24px; letter-spacing: .08em; }
.services h3 { font-weight: 500; }
.tier .amt { font-size: clamp(2.8rem, 4.5vw, 4.2rem); }
.tier h3 { color: var(--ink); }
.steps h3 { font-size: 1.05rem; }
.steps p { font-size: .95rem; }
@media (min-width: 1101px) {
  #services > .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; }
  #services .label { grid-column: 1 / -1; }
  #services .statement.split { display: block; }
  #services .statement p { margin-top: 20px; font-size: 1rem; }
  #services .services li { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; }
  #services .services p { grid-column: 1; font-size: .95rem; }
  #services .cost { grid-column: 2; grid-row: 1 / 3; align-self: start; padding-top: 5px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero-row { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
@media (max-width: 920px) {
  .hero { display: block; padding-bottom: 0; }
  .hero-row { display: grid; }
  .hero-copy, .hero-ticket { grid-column: auto; grid-row: auto; }
  .hero-copy { padding-top: 0; }
  .nav { flex-wrap: wrap; gap: 8px 16px; }
  .nav ul { order: 3; width: 100%; margin: 0; gap: 20px; }
  .nav .btn { margin-left: auto; }
  .hero-row { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 0; }
  .hero-ticket { justify-items: start; padding: 0 0 56px; margin-top: 32px; }
  .ticket { width: min(100%, 360px); }
  .statement.split { grid-template-columns: 1fr; align-items: start; }
  .statement.split p { padding-bottom: 0; }
  .w8, .w7, .w12 { grid-column: 1 / span 12; }
  .w5, .w6 { grid-column: auto / span 6; }
  .w3, .w4 { grid-column: 9 / span 4; }
  .s6, .s7, .s8, .s10 { grid-column-start: auto; }
  .w3.s10, .w4.s10 { grid-column-start: 9; }
  .down, .down-sm, .up { margin-top: 0; }
  .two { grid-template-columns: 1fr; }
  .services li { grid-template-columns: minmax(0, 1fr) auto; }
  .services p { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps li:nth-child(3)::before { display: none; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .display-2 { position: static; margin-bottom: 24px; }
  .cta-row { grid-template-columns: 1fr; }
}
/* tablet: the ticket sits beside the lead copy, under the headline */
@media (min-width: 740px) and (max-width: 920px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) minmax(270px, 320px); column-gap: 28px; align-items: start; }
  .hero-copy { padding-bottom: 56px; }
  .hero-ticket { justify-items: end; margin-top: 4px; }
  .ticket { width: 100%; }
}
@media (max-width: 600px) {
  .wordmark { font-size: 1.45rem; gap: 5px; }
  .wordmark img { width: 44px; height: 44px; }
  .nav .btn { font-size: .8rem; padding-inline: 10px; min-height: 44px; }
  .hero h1 { max-width: none; }
  .hero-ticket { justify-items: stretch; padding-bottom: 44px; margin-top: 28px; }
  .ticket { --tilt: 0deg; width: 100%; font-size: .74rem; padding: 16px 14px 48px; }
  .ticket dl { gap: 4px 10px; }
  .ticket .sig { margin-top: 20px; }
  .stamp { font-size: .68rem; right: 12px; }
  .compare .row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .compare .row.head { display: none; }
  .compare .row [role="cell"] { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 8px; align-items: baseline; }
  .compare .row [role="cell"]::before { content: "Builder"; font: 600 .66rem/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
  .compare .row:not(.head) .us::before { content: "Us"; width: auto; height: auto; border-radius: 0; background: none; margin: 0; color: var(--accent); }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts div { padding-block: 14px; border-bottom: 1px solid var(--rule); }
  .facts span { max-width: none; }
  .w3, .w4, .w5, .w6, .w7, .w8, .w12 { grid-column: 1 / -1; }
  .w3.s10, .w4.s10 { grid-column: 1 / -1; }
  .piece.phone { justify-self: center; width: 62%; }
  .band .facts div { border-bottom-color: var(--band-rule); }
  .spec tr { display: block; border-bottom: 1px solid var(--rule); }
  .spec th, .spec td { display: block; width: auto; border: 0; padding: 14px 0 0; }
  .spec td { padding: 4px 0 14px; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .lines { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li::before { display: none; }
  .steps li { border-top: 1px solid var(--rule); }
  .steps li:first-child { border-top: 0; }
  .run { max-width: none; }
  .foot .wrap { flex-direction: column; align-items: start; gap: 8px; }
  .foot-links { gap: 0 18px; }
}

/* ---------- motion ----------
   Defaults above are the settled state. Motion runs only with html.js (set inline in <head>, removed by site.js
   under reduced motion), never under prefers-reduced-motion. Each moment has a beginning and a resting state; nothing loops. */
@media (prefers-reduced-motion: no-preference) {
  /* hero choreography (~1.9s total) */
  .js .nav { animation: fade .5s var(--ease) both; }
  .js .hero-label { animation: rise .6s var(--expo) .1s both; }
  .js .line-in { animation: mask-up .95s var(--expo) both; }
  .js .line:nth-child(1) .line-in { animation-delay: .15s; }
  .js .line:nth-child(2) .line-in { animation-delay: .27s; }
  .js .hero-copy > * { animation: rise .6s var(--expo) both; }
  .js .hero-copy > :nth-child(1) { animation-delay: .5s; }
  .js .hero-copy > :nth-child(2) { animation-delay: .58s; }
  .js .hero-copy > :nth-child(3) { animation-delay: .66s; }
  .js .ticket { animation: ticket-settle .7s var(--ease-out) .55s both; }
  .js .stamp { animation: stamp-land .32s cubic-bezier(.2,1.4,.4,1) 1.2s both; }

  /* sub-page hero: a shorter version of the same entrance */
  .js .page-hero > * { animation: rise .6s var(--expo) both; }
  .js .page-hero > :nth-child(2) { animation-delay: .1s; }
  .js .page-hero > :nth-child(3) { animation-delay: .2s; }
  .js .page-hero > :nth-child(4) { animation-delay: .3s; }

  /* scroll reveals: a short rise for text, a mask + scale for project images */
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--expo), transform .8s var(--expo); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .piece[data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .piece .img { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--expo); }
  .js .piece .img img { transform: scale(1.08); transition: transform 1.3s var(--expo); }
  .js .piece.in .img { clip-path: inset(0 0 0 0); }
  .js .piece.in .img img { transform: scale(1); }
  @media (hover: hover) and (pointer: fine) { .js .piece.in .img:hover img { transform: scale(1.02); transition-duration: .6s; } }
  .js .piece figcaption { opacity: 0; transition: opacity .6s var(--ease) .35s; }
  .js .piece.in figcaption { opacity: 1; }
  /* keyboard focus inside a block shows it at once, so a focus ring never sits on invisible text */
  .js [data-reveal]:focus-within, .js .piece:focus-within figcaption { opacity: 1; transform: none; transition: none; }

  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes mask-up { from { transform: translateY(108%); } to { transform: none; } }
  /* --tilt is the ticket's resting rotation (1deg; 0 on phones), so one keyframe serves every breakpoint */
  @keyframes ticket-settle { 0% { opacity: 0; transform: translateY(-22px) rotate(calc(var(--tilt) + 2.5deg)); } 60% { opacity: 1; transform: translateY(3px) rotate(calc(var(--tilt) - .6deg)); } 100% { opacity: 1; transform: translateY(0) rotate(var(--tilt)); } }
  @keyframes stamp-land { 0% { opacity: 0; transform: rotate(-6deg) scale(1.5); } 100% { opacity: .9; transform: rotate(-6deg) scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-parallax] { transform: none !important; }
}

@media (max-width: 380px) {
  .nav { column-gap: 8px; }
  .wordmark { font-size: 1.3rem; }
  .nav .btn { font-size: .75rem; padding-inline: 8px; }
}


/* 2026-10-19 polish from Emil Kowalski's mobile-native and break-ui skills:
   no gray tap flash, no double-tap delay on controls, no text selection when a button is long-pressed,
   long words in headings wrap instead of pushing the page sideways, and phone-menu links are easier to hit. */
html { -webkit-tap-highlight-color: transparent; }
a, button, .btn, summary, label, [role="button"] { touch-action: manipulation; }
.btn, button, summary { -webkit-user-select: none; user-select: none; }
h1, h2, h3, .display-2 { overflow-wrap: break-word; }
.page-hero > *, .case-intro > *, .studio-hero > *, .statement > *, .studio-row > *, .ownership-layout > *, .studio-about > * { min-width: 0; }  /* grid columns may shrink so long words wrap */
@media (max-width: 920px) { .nav ul a { padding-inline: 8px; margin-inline: -8px; } }
