/* squatch.cc home: what we build, and the work in its devices.
 * Loads after dist/output.css and delight.css and reuses their --c-* tokens. Every movement lives inside
 * @media (prefers-reduced-motion: no-preference); with reduced motion, or without script, everything is in place.
 * Nothing a reader needs waits for a hover: the only thing a pointer reveals is a decorative picture (alt=""). */

:root {
  --hw-ink: #1C160E;          /* the showcase ground (delight.css --void-warm) */
  --hw-ink-2: #2E261B;        /* browser chrome */
  --hw-paper: #F7F5F0;
  --hw-body: #E6DDCB;         /* body text on the ink: 12.9:1 */
  --hw-gold: #F0DCA6;         /* accent text on the ink: 13.5:1 */
  --hw-rule: rgba(240, 220, 166, .16);
  --hw-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ── the hero: the same woods, a tenth of the bytes (the 1.2 MB JPEG becomes a 470 KB WebP, and the leaves in front of the
   Founder are cut from that same file, so both layers line up and only one picture downloads) ── */
.hero-art__fore { background:
    linear-gradient(92deg, rgba(28,20,12,.90) 0%, rgba(28,20,12,.60) 40%, rgba(28,20,12,.16) 72%, transparent 100%),
    linear-gradient(0deg, rgba(28,20,12,.78) 0%, transparent 50%),
    url("../../img/forest/IMG_3471-1200.webp") 50% 38% / cover no-repeat; }
/* the leaves in front of him pick the same width the <img> behind does, so both layers keep the same detail on a large or retina screen */
@media (min-width: 900px) { .hero-art__fore { background-image:
    linear-gradient(92deg, rgba(28,20,12,.90) 0%, rgba(28,20,12,.60) 40%, rgba(28,20,12,.16) 72%, transparent 100%),
    linear-gradient(0deg, rgba(28,20,12,.78) 0%, transparent 50%),
    url("../../img/forest/IMG_3471-1920.webp"); } }
@media (min-width: 1921px), (min-width: 960px) and (min-resolution: 2dppx) { .hero-art__fore { background-image:
    linear-gradient(92deg, rgba(28,20,12,.90) 0%, rgba(28,20,12,.60) 40%, rgba(28,20,12,.16) 72%, transparent 100%),
    linear-gradient(0deg, rgba(28,20,12,.78) 0%, transparent 50%),
    url("../../img/forest/IMG_3471-2880.webp"); } }

/* on a phone the Founder still walks the woods: below the buttons, at the right, never behind a word */
@media (max-width: 52em) {
  .hero-art { padding-bottom: calc(clamp(3rem, 8vw, 6rem) + 10.5rem); }
  .hero-art::after {     /* a phone's copy spans the whole width, so the scrim is even under the words, lighter where he walks */
    background: linear-gradient(180deg, rgba(28,20,12,.74) 0%, rgba(28,20,12,.64) 34%, rgba(28,20,12,.62) 66%, rgba(28,20,12,.18) 86%, rgba(28,20,12,.42) 100%); }
  .hero-art__founder { display: block; height: 13.5rem; right: max(.75rem, 4vw); filter: brightness(.7) saturate(.75) sepia(.14) blur(.3px); opacity: 1; }
}

/* the eyebrow: on a phone the place and the year take their own line together, never a stray "· Est. 2025" */
.hero-eyebrow__b, .feat__kind .nw { white-space: nowrap; }
@media (max-width: 47.99em) { .hero-eyebrow__a { display: block; } .hero-eyebrow__sep { display: none; } }

/* ── the ticker: true facts, a real list, and a pause button ──────────────────────────────────────────── */
.capstrip__track { margin: 0; padding: 0; list-style: none; max-width: none; }
.capstrip__seq { list-style: none; }
.capstrip__pause {
  flex: 0 0 auto; margin-right: max(1rem, calc((100vw - min(72rem, 92vw)) / 2));
  min-height: 2rem; padding: 0 .85rem; border-radius: 999px; cursor: pointer;
  font: 600 .7rem/1 var(--hw-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-gold-hi); background: transparent; border: 1px solid rgba(240, 220, 166, .5);
}
.capstrip__pause[aria-pressed="true"] { background: var(--c-gold-hi); color: #2A2116; }
.capstrip.is-paused .capstrip__track { animation-play-state: paused; }
html.ink-on .capstrip__track { animation-play-state: paused; }     /* it opens on the first fact, not mid-word */
@media (max-width: 40em) {     /* a phone gives the facts the whole strip: the label is decoration (aria-hidden) */
  .capstrip__label { display: none; }
  .capstrip__viewport { margin-left: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {     /* nothing moves, so every fact is simply there, wrapped */
  .capstrip__pause { display: none; }
  .capstrip { flex-wrap: wrap; row-gap: .35rem; padding-inline: max(1.5rem, calc((100vw - min(72rem, 92vw)) / 2)); }
  .capstrip__label { flex: 1 1 100%; padding-left: 0; }
  .capstrip__viewport { flex: 1 1 100%; overflow: visible; mask-image: none; }
  .capstrip__track { width: auto; flex-wrap: wrap; }
  .capstrip__seq { white-space: normal; padding-block: .2rem; }
  .capstrip__seq[aria-hidden="true"] { display: none; }
  .capstrip__end { display: none; }
  .capstrip__viewport { margin-left: 0; }
}

/* ── what we build ───────────────────────────────────────────────────────────────────────────────────── */
.build { border-top: 0; }
.build h2 { max-width: 20ch; }
.hl { color: var(--c-accent-text); }
.svc { list-style: none; margin: clamp(2rem, 1.5rem + 2vw, 3rem) 0 0; padding: 0; max-width: none; counter-reset: none;
  border-top: 1px solid var(--c-hairline); }
.svc__item {
  position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); column-gap: 1rem; row-gap: .35rem;
  padding: 1.1rem .75rem 1.1rem .5rem; border-bottom: 1px solid var(--c-hairline); isolation: isolate;
}
.svc__item::before {             /* the gold wash a pointer brings in */
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(201, 168, 76, .16), rgba(201, 168, 76, .04));
  transform: scaleX(0); transform-origin: 0 50%;
}
.svc__n { font: 600 .8rem/1.9 var(--hw-mono); color: var(--c-accent-text); letter-spacing: .06em; padding-top: .2rem; }
.svc__text { min-width: 0; }
.svc__title { font-size: var(--step-1); font-weight: 750; line-height: 1.25; }
.svc__link { color: var(--c-text); text-decoration: none; }
.svc__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }     /* the whole row is the link */
.svc__link:focus-visible { box-shadow: none; }
.svc__item:focus-within { box-shadow: inset 0 0 0 3px rgba(184, 134, 11, .6); border-radius: 6px; }
.svc__text p { margin: .3rem 0 0; color: var(--c-text-soft); font-size: 1rem; line-height: 1.55; max-width: 60ch; }
.svc__go { display: inline-block; margin-top: .55rem; font: 600 .875rem/1.2 var(--font-heading); color: var(--c-accent-text); white-space: nowrap; }
.svc__arrow { display: inline-block; }
.build__all { margin: 1.75rem 0 0; font-family: var(--font-heading); font-weight: 600; }
.build__all a { color: var(--c-accent-text); text-underline-offset: .2em; }

/* the art on every row: the real screen, painted into a brush swath (img/home/art/swath.svg, the house brush), over a
   wash of the project's own colour, with its tokens and a measured note as annotations. Always there, phones too. */
.svc__item { grid-template-areas: "art art" "n text"; }
.svc__n { grid-area: n; }
.svc__text { grid-area: text; }
.svc__art { grid-area: art; margin: 0 0 .9rem; width: 100%; max-width: 30rem; }
.art { position: relative; isolation: isolate; aspect-ratio: 16 / 8.5; --wash: #C9A84C; }
.art--ink { --wash: #6B5B3E; }
.art--leaf { --wash: #2F6B4F; }
.art--navy { --wash: #2C3E6B; }
.art__wash { position: absolute; inset: 16% -5% -9% 10%; z-index: 0; background: var(--wash); opacity: .55;
  -webkit-mask: url("../../img/home/art/wash.svg") center / 100% 100% no-repeat; mask: url("../../img/home/art/wash.svg") center / 100% 100% no-repeat; }
.art__shot { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; border-radius: 0;
  -webkit-mask: url("../../img/home/art/swath.svg") center / 100% 100% no-repeat; mask: url("../../img/home/art/swath.svg") center / 100% 100% no-repeat; }
.art__tokens { position: absolute; z-index: 2; top: .45rem; right: .45rem; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem; max-width: 80%; }
.art__tokens span { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .5rem .18rem .22rem; border-radius: 999px;
  font: 600 .68rem/1.2 var(--hw-mono); color: #1C160E; background: rgba(252, 251, 248, .95); box-shadow: 0 4px 12px -6px rgba(28, 22, 14, .5); }
.art__tokens i { width: .8rem; height: .8rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(28, 22, 14, .25); }
.art__note { position: absolute; z-index: 2; left: .35rem; bottom: .35rem; display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .6rem;
  border-radius: 4px; font: 500 .74rem/1.2 var(--hw-mono); color: #F7F1E3; background: #1C160E; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); }
.art__note::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #F0DCA6; flex: 0 0 auto; }
.art__note b { color: #F0DCA6; font-weight: 700; }
.art--phones .art__phone { position: absolute; z-index: 1; top: 3%; height: 94%; width: auto; object-fit: contain; border-radius: 13% / 6%;
  border: 3px solid #0E0B07; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .7); background: #0E0B07; }
.art--phones .art__phone:nth-of-type(1) { left: 14%; transform: rotate(-7deg); }
.art--phones .art__phone:nth-of-type(2) { left: 50%; translate: -50% 0; z-index: 2; }
.art--phones .art__phone:nth-of-type(3) { right: 14%; transform: rotate(7deg); }
.art--phones .art__note { z-index: 3; }
.art--study { display: grid; place-items: center; }
.art--study .watch-study { position: relative; z-index: 1; height: 100%; width: auto; }
.art__study { position: absolute; z-index: 2; left: .35rem; top: .35rem; padding: .25rem .55rem; border-radius: 4px;
  font: 700 .7rem/1.2 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; color: #5A4C33; background: #FCFBF8;
  box-shadow: inset 0 0 0 1px #D4C9B4; }
@media (min-width: 52em) {
  .svc__item { grid-template-columns: 3.5rem minmax(0, 1fr) clamp(15rem, 36%, 21rem); grid-template-areas: "n text art";
    align-items: center; column-gap: 1.5rem; padding: 1.35rem 1rem 1.35rem .75rem; }
  .svc__art { margin: 0; max-width: none; }
  .art { aspect-ratio: 16 / 9.5; }
}
/* annotations never sit on a screen's own words: the tokens get a strip above the screen and the note a strip below
   (the box grows by exactly those strips, so the screen keeps its size), and the brush only roughens the screen's
   outer edge: a solid core is added to the swath mask, so no streak runs through a face, a photo or a line of text */
.art { aspect-ratio: 16 / 11.1; }
.art__shot { inset: 1.7rem 0 1.85rem 0; height: auto;
  -webkit-mask: url("../../img/home/art/swath.svg") center / 100% 100% no-repeat, linear-gradient(90deg, #000 0 93%, transparent) 25% 50% / 96% 84% no-repeat;
          mask: url("../../img/home/art/swath.svg") center / 100% 100% no-repeat, linear-gradient(90deg, #000 0 93%, transparent) 25% 50% / 96% 84% no-repeat; }
.art__tokens { top: 0; right: 0; max-width: 100%; }
.art__note { left: 0; bottom: 0; }
.art--phones .art__phone { top: 0; height: calc(100% - 2.2rem); }
.art--study .watch-study { height: calc(100% - .5rem); }
@media (min-width: 52em) { .art { aspect-ratio: 16 / 12.1; } }

@media (hover: hover) and (pointer: fine) and (min-width: 52em) {
  .svc__item:hover::before, .svc__item:focus-within::before { transform: none; }
  .svc__item:hover .svc__arrow, .svc__item:focus-within .svc__arrow { transform: translateX(5px); }
  .svc__item:hover .svc__link { color: var(--c-mark); }
  .svc__item:hover .art__shot, .svc__item:focus-within .art__shot { transform: scale(1.035); }
  .svc__item:hover .art__wash, .svc__item:focus-within .art__wash { transform: translate(-4%, 3%) rotate(-2deg); }
}

/* ── brand systems: the token demo (colours and type come from assets/home/system.css) ─────────────── */
.sys { padding-block: var(--stack); background: var(--c-bg-2); border-top: 1px solid var(--c-hairline); }
.sys h2 { max-width: 22ch; }
.sys .lede { max-width: 62ch; }
.sys h2 + .lede, #goods h2 + .lede { margin-top: clamp(.9rem, .6rem + .8vw, 1.25rem); }     /* room between a heading and its lede */
.sys__controls { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; margin: 1.75rem 0 1.25rem; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { padding: 0; margin: 0 0 .45rem; font: 700 .72rem/1 var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--c-mark); }
.seg input { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.seg label { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.05rem; margin: 0 .3rem .3rem 0; border-radius: 999px; cursor: pointer;
  font: 600 .9rem/1 var(--font-heading); color: var(--c-text); background: #FCFBF8; border: 1px solid var(--c-hairline); }
.seg label:hover { border-color: var(--c-mark); }
.seg input:checked + label { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }
.seg input:checked + label::before { content: "✓"; margin-right: .4rem; font-weight: 700; }
.seg input:focus-visible + label { box-shadow: var(--ring); outline: 2px solid var(--c-accent-text); outline-offset: 2px; }

.sys__stage { border-radius: 18px; padding: clamp(1rem, .6rem + 2vw, 2rem); background: var(--sq-sys-color-surface-canvas);
  color: var(--sq-sys-color-text-primary); border: 1px solid var(--sq-sys-color-line-rule); font-family: var(--sq-sys-font-ui); }
.sys__state { margin: 0 0 1rem; max-width: none; font: var(--sq-sys-type-legend-font-weight) 11px/1.3 var(--sq-sys-type-legend-font-family);
  letter-spacing: var(--sq-sys-type-legend-letter-spacing); text-transform: uppercase; color: var(--sq-sys-color-text-secondary); }
.sys__grid { display: grid; gap: 1rem; }
@media (min-width: 40em) { .sys__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sys__tokens { grid-column: 1 / -1; } }
@media (min-width: 64em) { .sys__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr); } .sys__tokens { grid-column: auto; } }
.sys__pedal, .sys-watch, .sys-card, .sys__tokens { margin: 0; border-radius: var(--sq-sys-radius-md); border: 1px solid var(--sq-sys-color-line-rule); }
.sys__pedal { display: grid; justify-items: center; align-content: start; gap: .75rem; padding: 1.25rem 1rem 1rem; background: var(--sq-sys-color-surface-page); }
.pedal { width: min(15rem, 100%); height: auto; display: block; }
.pedal text { fill: var(--sq-comp-legend-color); font-family: var(--sq-comp-legend-type-font-family); }
.sk-brush .pd-legend { font-size: 3.4px; font-style: italic; }
.sk-machined .pd-legend { font-size: 2.3px; font-weight: 600; letter-spacing: .3px; }
.pedal .pd-name { fill: var(--sq-sys-color-text-primary); font-family: var(--sq-sys-type-name-font-family); font-style: var(--sq-sys-type-name-font-style); font-weight: var(--sq-sys-type-name-font-weight); }
.sys__pedal figcaption, .sys-watch figcaption { font: var(--sq-sys-type-body-font-weight) 13px/1.45 var(--sq-sys-type-body-font-family); color: var(--sq-sys-color-text-secondary); text-align: center; }
.sys__parts { display: grid; gap: 1rem; align-content: start; }
.sys-card { display: grid; grid-template-columns: minmax(6rem, 38%) 1fr; overflow: hidden; background: var(--sq-sys-color-surface-raised); box-shadow: var(--sq-sys-elevation-raised); }
.sys-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; background: #EAE3D6; }
.sys-card__body { padding: 1rem; }
@media (max-width: 30em) {     /* a phone: the tee on top at a real size, and each token row as a label over its value */
  .sys-card { grid-template-columns: 1fr; }
  .sys-card img { height: auto; aspect-ratio: 360 / 298; }
  .tokrows div { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .tokrows dd, .tokrows dd .sysr { text-align: left; } .tokrows div dd { text-align: left; }
}
.sys-legend { margin: 0 0 .35rem; font-family: var(--sq-sys-type-legend-font-family); font-size: 11px; font-weight: var(--sq-sys-type-legend-font-weight);
  letter-spacing: var(--sq-sys-type-legend-letter-spacing); line-height: 1.2; text-transform: uppercase; color: var(--sq-sys-color-text-secondary); }
.sys-name { margin: 0 0 .3rem; font-family: var(--sq-sys-type-name-font-family); font-size: var(--sq-sys-type-name-font-size); font-style: var(--sq-sys-type-name-font-style);
  font-weight: var(--sq-sys-type-name-font-weight); line-height: var(--sq-sys-type-name-line-height); letter-spacing: 0; color: var(--sq-sys-color-text-primary); }
.sys-name--sm { font-size: 16px; margin: 0; }
.sys-body { margin: 0 0 .9rem; font-family: var(--sq-sys-type-body-font-family); font-size: var(--sq-sys-type-body-font-size); line-height: var(--sq-sys-type-body-line-height); color: var(--sq-sys-color-text-secondary); }
.sys-readout { font-family: var(--sq-sys-type-readout-font-family); font-variant-numeric: tabular-nums; color: var(--sq-sys-color-text-primary); }
.sys-button { display: inline-flex; align-items: center; min-height: var(--sq-sys-size-target); padding: 0 1rem; border-radius: var(--sq-sys-radius-control);
  font: 700 1.2rem/1.1 var(--sq-sys-font-ui); color: var(--sq-sys-color-text-on-accent); background: var(--sq-sys-color-accent); text-decoration: none; }
.sys-button:hover { color: var(--sq-sys-color-text-on-accent); box-shadow: 0 0 0 2px var(--sq-sys-color-surface-raised), 0 0 0 4px var(--sq-sys-color-accent); }
.sys-button:focus-visible { outline: var(--sq-sys-stroke-focus) solid var(--sq-sys-color-focus); outline-offset: 3px; box-shadow: none; color: var(--sq-sys-color-text-on-accent); }
.sys-watch { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: center; padding: 1rem; background: var(--sq-sys-color-surface-page); }
.sys-watch figcaption { text-align: left; }
.sys-watch .sys-legend { display: block; }
.watch-study { width: 100%; height: auto; display: block; }
.watch-study .wf-time { font-family: var(--sq-sys-font-ui, Inter, sans-serif); font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; fill: var(--sq-sys-color-text-primary, #1C160E); }
.watch-study .wf-legend { font-family: var(--sq-sys-font-ui, Inter, sans-serif); font-size: 7.5px; font-weight: 700; letter-spacing: 1.2px; fill: var(--sq-sys-color-text-secondary, #6B5B3E); }
.sys__tokens { padding: 1rem 1.1rem; background: var(--sq-sys-color-surface-raised); }
.sys__tokens-h { margin-bottom: .8rem; }
.swatches { list-style: none; margin: 0 0 1rem; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: .7rem .9rem; }
.swatches li { display: grid; grid-template-columns: 1.75rem 1fr; column-gap: .55rem; align-items: start; font: 12px/1.35 var(--sq-sys-font-ui); }
.swatches i { grid-row: span 3; width: 1.75rem; height: 1.75rem; border-radius: var(--sq-sys-radius-sm); box-shadow: inset 0 0 0 1px var(--sq-sys-color-line-faint); }
.swatches b { font-weight: 600; color: var(--sq-sys-color-text-primary); }
.sysr { font-family: var(--sq-sys-font-mono); font-size: 12px; color: var(--sq-sys-color-text-secondary); }
.sysr.cr { color: var(--sq-sys-color-text-primary); font-weight: 600; }
.sys__state .sysr { font: inherit; color: inherit; }
.tokrows { margin: 0; }
.tokrows div { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--sq-sys-color-line-rule); }
.tokrows dt { font: var(--sq-sys-type-legend-font-weight) 11px/1.2 var(--sq-sys-type-legend-font-family); letter-spacing: var(--sq-sys-type-legend-letter-spacing); text-transform: uppercase; color: var(--sq-sys-color-text-secondary); }
.tokrows dd { margin: 0; text-align: right; color: var(--sq-sys-color-text-primary); }
.tokrows dt { white-space: nowrap; }
.tokrows dd .sysr { white-space: nowrap; display: inline-block; }
@media (max-width: 30em) { .tokrows div dd { text-align: left; } }     /* a value wraps whole, never mid-name */
.radii i { display: inline-block; width: 1.2rem; height: 1.2rem; margin-left: .25rem; vertical-align: middle; border: 1.5px solid var(--sq-sys-color-text-secondary); border-left: 0; border-bottom: 0; }
.radii .r-sm { border-top-right-radius: var(--sq-sys-radius-sm); }
.radii .r-md { border-top-right-radius: var(--sq-sys-radius-md); }
.radii .r-ctl { border-top-right-radius: var(--sq-sys-radius-control); }
.sys-pass { display: inline-block; margin-left: .35rem; padding: .12rem .45rem; border-radius: 999px; font: 700 11px/1.2 var(--sq-sys-font-ui); color: var(--sq-sys-color-surface-page); background: var(--sq-sys-color-text-primary); }
.sysr[data-r="state"]::after { content: var(--sysr-state); }
.sysr[data-r="skin"]::after { content: var(--sysr-skin); }
.sysr[data-r="hex-page"]::after { content: var(--sysr-hex-page); }
.sysr[data-r="hex-raised"]::after { content: var(--sysr-hex-raised); }
.sysr[data-r="hex-text"]::after { content: var(--sysr-hex-text); }
.sysr[data-r="hex-label"]::after { content: var(--sysr-hex-label); }
.sysr[data-r="hex-accent"]::after { content: var(--sysr-hex-accent); }
.sysr[data-r="hex-limit"]::after { content: var(--sysr-hex-limit); }
.sysr[data-r="cr-text"]::after { content: var(--sysr-cr-text); }
.sysr[data-r="cr-label"]::after { content: var(--sysr-cr-label); }
.sysr[data-r="cr-accent"]::after { content: var(--sysr-cr-accent); }
.sysr[data-r="cr-limit"]::after { content: var(--sysr-cr-limit); }
.sysr[data-r="type-name"]::after { content: var(--sysr-type-name); }
.sysr[data-r="type-body"]::after { content: var(--sysr-type-body); }
.sysr[data-r="type-readout"]::after { content: var(--sysr-type-readout); }
.sysr[data-r="radius"]::after { content: var(--sysr-radius); }
.sysr[data-r="motion"]::after { content: var(--sysr-motion); }
.sysr[data-r="brush"]::after { content: var(--sysr-brush); }
.sysr[data-r="worst"]::after { content: var(--sysr-worst); }
.swatches .sysr { display: block; }

/* ── the work ───────────────────────────────────────────────────────────────────────────────────────── */
.showcase {
  position: relative; overflow: hidden; padding-block: var(--stack) calc(var(--stack) * 1.15); color: var(--hw-body);
  background:
    radial-gradient(60rem 30rem at 85% -5%, rgba(201, 168, 76, .18), transparent 70%),
    radial-gradient(40rem 26rem at 0% 45%, rgba(107, 91, 62, .30), transparent 70%),
    var(--hw-ink);
}
.showcase .eyebrow { color: var(--hw-gold); }
.showcase h2 { color: var(--hw-paper); max-width: 18ch; }
.showcase .hl { color: var(--hw-gold); }
.showcase h3, .showcase h4 { color: var(--hw-paper); }
.showcase p { color: var(--hw-body); }
.showcase a { color: var(--hw-gold); }

.feat { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: center; margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.feat__stage { position: relative; padding: 0 clamp(2.5rem, 9vw, 4.5rem) clamp(2rem, 6vw, 3.25rem) 0; }
.feat--flip .feat__stage { padding: 0 0 clamp(2rem, 6vw, 3.25rem) clamp(2.5rem, 9vw, 4.5rem); }
.feat__stage > .plx { position: absolute; right: 0; bottom: 0; width: clamp(6.25rem, 24%, 10.5rem); z-index: 1; }
.feat--flip .feat__stage > .plx { right: auto; left: 0; }
/* the store's headline sits at the left of its screen, so this phone only overlaps the frame's edge */
.feat--flip .feat__stage { padding-left: calc(clamp(6.25rem, 24%, 10.5rem) - 1.75rem); }
.feat__shot { display: block; color: inherit; text-decoration: none; border-radius: 12px; }
.feat__copy h3 { font-size: var(--step-3); margin-bottom: .6rem; text-wrap: balance; }
.feat__copy p { max-width: 46ch; line-height: 1.6; text-wrap: pretty; }
.feat__kind { font: 600 .72rem/1.3 var(--hw-mono) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--hw-gold) !important; margin: 0 0 .7rem; }
.feat__links { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; }
.feat__links a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border-radius: 999px;
  font: 600 .9rem/1 var(--font-heading); text-decoration: none; color: var(--hw-gold); border: 1px solid rgba(240, 220, 166, .45);
}
.feat__links a:hover, .feat__links a:focus-visible { background: var(--hw-gold); color: #2A2116; border-color: var(--hw-gold); }
@media (min-width: 60em) {
  .feat { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .feat--flip .feat__stage { order: 2; }
}

/* our sound tools: three pedals as the rig draws them, the middle one drifting with the phones; and a render in a plain frame */
.feat__stage--bare, .feat--flip .feat__stage--bare { padding: 0; }
.pedals3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.25rem); align-items: center; margin: 0;
  max-width: 34rem; margin-inline: auto; }
.pedals3 img { width: 100%; height: auto; display: block; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .45)); }
.pedals3 .plx { margin-top: -1.5rem; }
.render-frame { position: relative; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
  border: 1px solid rgba(240, 220, 166, .18); }
.render-frame img { display: block; width: 100%; height: auto; }
.render-frame figcaption { position: absolute; left: .75rem; top: .75rem; font: 600 .62rem/1 var(--hw-mono); letter-spacing: .14em;
  text-transform: uppercase; padding: .35rem .5rem; border-radius: 4px; background: rgba(20, 16, 10, .82); color: var(--hw-paper); }

.pair { display: grid; gap: clamp(2.75rem, 2rem + 3vw, 3.5rem); margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.card-web { position: relative; }
.card-web .dev { margin-bottom: 1.6rem; }
.card-web h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.card-web p { max-width: 50ch; line-height: 1.6; }
@media (min-width: 60em) { .pair { grid-template-columns: 1fr 1fr; } }

.apps { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.apps__head h3 { font-size: var(--step-2); max-width: 24ch; }
.shelf { list-style: none; padding: 0; margin: 2.5rem 0 0; max-width: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, 4vw, 2.5rem); }
.shelf__item { position: relative; }
.shelf__item .plx { width: min(100%, 11.5rem); margin-inline: auto; }
.shelf__item h4 { font-size: var(--step-1); margin: 2.25rem 0 .35rem; }     /* room for the phone's 18px drift */
.shelf__item h4 a { color: var(--hw-paper); text-decoration: underline; text-decoration-color: rgba(240, 220, 166, .45); text-underline-offset: .22em; }
.shelf__item h4 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }      /* the whole phone is the link */
.shelf__item h4 a:hover { text-decoration-color: var(--hw-gold); }
.shelf__item h4 a:focus-visible { box-shadow: none; }
.shelf__item:focus-within { box-shadow: 0 0 0 3px rgba(240, 220, 166, .7); border-radius: 14px; }
.shelf__item p { font-size: .95rem; line-height: 1.55; margin: 0; }
@media (min-width: 60em) {
  .shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shelf__item:nth-child(even) { margin-top: 3rem; }      /* a staggered shelf, like phones set down on a table */
}

/* ── the devices (drawn in CSS; the screens are real) ───────────────────────────────────────────────── */
.dev { margin: 0; position: relative; }
.dev__screen { overflow: hidden; background: #EDE6D8; }
.dev__screen img { display: block; width: 100%; height: auto; border-radius: 0; }
.dev--web { border-radius: 12px; overflow: hidden; background: var(--hw-ink-2);
  box-shadow: 0 0 0 1px rgba(240, 220, 166, .14), 0 40px 70px -32px rgba(0, 0, 0, .85); }
.dev__bar { display: flex; align-items: center; gap: .38rem; height: 2rem; padding: 0 .75rem; background: var(--hw-ink-2); }
.dev__bar i { width: .55rem; height: .55rem; border-radius: 50%; background: #6B5B3E; flex: 0 0 auto; }
.dev__bar i:first-child { background: #B8942E; }
.dev__url { margin-left: .65rem; flex: 0 1 18rem; min-width: 0; height: 1.3rem; padding: 0 .65rem; border-radius: 6px;
  font: 500 .7rem/1.3rem var(--hw-mono); color: #D9CFB8; background: var(--hw-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev--phone { padding: 3.2%; border-radius: 15% / 7%; background: #0E0B07;
  box-shadow: inset 0 0 0 1px rgba(240, 220, 166, .22), 0 0 0 1px #000, 0 34px 60px -26px rgba(0, 0, 0, .9); }
.dev--phone .dev__screen { border-radius: 12% / 5.6%; }
.dev--watch { padding: 6%; border-radius: 26% / 22%; background: #0E0B07;
  box-shadow: inset 0 0 0 1px rgba(240, 220, 166, .22), 0 0 0 1px #000, 0 30px 50px -24px rgba(0, 0, 0, .9); }
.dev--watch .dev__screen { border-radius: 20% / 17%; background: #000; }
.shelf__item--watch .plx { width: min(78%, 10rem); }

/* ── talk: email, and the text line with its disclosure beside it ───────────────────────────────────── */
.talk__grid { display: grid; gap: 2rem; align-items: center; }
.talk__ways { display: grid; gap: 1.1rem; justify-items: start; }
.textline { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-start; }
.textline .btn { flex: 0 0 auto; }
.section--mark p.disclosure { flex: 1 1 16rem; margin: 0; max-width: 30rem; font-size: .85rem; line-height: 1.5; color: #F7F1E3; }
@media (min-width: 60em) { .talk__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
main:has(> .talk:last-child) + .site-footer { margin-top: 0; }
.site-footer .footer-text { font-size: .8rem; line-height: 1.45; max-width: 19rem; }
.site-footer .footer-text a, .site-footer .footer-bottom p a { text-decoration: underline; text-underline-offset: 2px; }   /* links inside a sentence look like links */

/* ── motion: only here, only when asked for ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .svc__item::before { transition: transform 420ms var(--ease-out, ease-out); }
  .svc__arrow, .svc__link { transition: transform 240ms var(--ease-out, ease-out), color 240ms ease; }
  .art__shot, .art__wash { transition: transform 600ms var(--ease-out, ease-out); }
  /* the theme switch moves at the motion tokens' own pace; with reduced motion it is instant */
  .sys__stage, .sys__stage :is(article, figure, div, p, h3, a, i, span, b) { transition: background-color var(--sq-sys-motion-duration-med) var(--sq-sys-motion-easing-standard),
    color var(--sq-sys-motion-duration-med) var(--sq-sys-motion-easing-standard), border-color var(--sq-sys-motion-duration-med) var(--sq-sys-motion-easing-standard); }
  .seg label { transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
  .feat__links a { transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }

  /* screens settle into their frames as they arrive (html.hw-motion is set by home.js, so no script means no offset) */
  .hw-motion .showcase .dev { transform: translateY(2.25rem); transition: transform 900ms var(--ease-out, ease-out); }
  .hw-motion .showcase .dev .dev__screen img { transform: scale(1.09) translateY(-2.5%); transform-origin: 50% 0;
    transition: transform 1200ms var(--ease-out, ease-out) 120ms; }
  .hw-motion .showcase .dev--over { transition-delay: 180ms; }
  .hw-motion .showcase .shelf__item:nth-child(2) .dev { transition-delay: 90ms; }
  .hw-motion .showcase .shelf__item:nth-child(3) .dev { transition-delay: 180ms; }
  .hw-motion .showcase .shelf__item:nth-child(4) .dev { transition-delay: 270ms; }
  .hw-motion .showcase .dev.is-in, .hw-motion .showcase .dev.is-in .dev__screen img { transform: none; }

  /* a gentle parallax: the phones drift a few pixels against the page (home.js writes --py, clamped to 18px) */
  .hw-motion .plx { transform: translate3d(0, var(--py, 0px), 0); }
}
