/* collinmallery.com's homepage only (routes/home.ts), on top of site.css (the fonts, colors, base, header,
   menu and footer every ink page shares). High Desert on ink (design handoff "CollinMallery Home", 2026). */

/* Held while the street loads (home-hold.js adds and always removes this class). */
html.h-hold { overflow: hidden; overscroll-behavior: none; }

/* ---------- Hero / street drive ---------- */
.h-hero { position: relative; margin-top: calc(-1 * var(--nav-h)); }
/* The drive: a tall scroll track around a sticky stage. Only ever set while scrolling is held (home-hold.js). */
html.h-drive .h-hero { height: 2400vh; }
@media (pointer: coarse) and (max-width: 860px) { html.h-drive .h-hero { height: 1400vh; } }
/* The static storefront cards wait out the hold (so their images don't load for the drive) and stay gone with it. */
html.h-drive .h-shops, html.h-hold .h-shops { display: none; }
.h-stage { position: relative; top: 0; height: 100vh; min-height: 640px; overflow: hidden; background: var(--ink-900); }
html.h-drive .h-stage { position: sticky; }
.h-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.h-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.h-canvas.is-on { opacity: 1; }
.h-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(22,18,15,.86) 0%, rgba(22,18,15,.55) 40%, rgba(22,18,15,.12) 68%, rgba(22,18,15,0) 80%); }
.h-over { position: absolute; inset: 0; pointer-events: none; padding: 104px var(--gutter) 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.h-intro { display: flex; flex-direction: column; gap: 26px; max-width: 980px; pointer-events: auto; }
.h-h1 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 7.6vw, 128px); line-height: .88; letter-spacing: -.005em; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.h-h1__line { display: block; overflow: hidden; }
.h-h1__line > span { display: block; }
.h-h1__line--last { padding-bottom: .04em; }
html.h-rise .h-h1__line > span { animation: hRise .75s var(--ease) backwards; }
html.h-rise .h-h1__line:nth-child(2) > span { animation-delay: .12s; }
html.h-rise .h-h1__line:nth-child(3) > span { animation-delay: .24s; }
.h-h1 em { font-style: normal; color: var(--rust-400); }
.h-lead { margin: 0; max-width: 520px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--sand-100); text-shadow: 0 1px 12px rgba(0,0,0,.6); text-wrap: pretty; }
.h-row { display: flex; gap: 12px; flex-wrap: wrap; }
.h-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.h-chip { border-radius: 18px; background: rgba(44,38,33,.42); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: inset 0 0 0 1px rgba(243,236,224,.16), inset 0 1px 0 rgba(255,255,255,.18), 0 20px 40px -24px rgba(0,0,0,.6); }
/* The place chip and its progress only show once the drive is on; until then they hold their space. */
.h-place { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px; min-width: min(260px, 100%); visibility: hidden; }
html.h-drive .h-place { visibility: visible; animation: hPop .5s var(--ease); }
.h-place__name { font: 600 11px var(--mono); letter-spacing: .14em; color: var(--sand-100); }
.h-place__track { display: block; height: 3px; border-radius: 3px; background: rgba(243,236,224,.16); overflow: hidden; }
.h-place__track span { display: block; height: 100%; background: var(--rust-400); transform-origin: 0 50%; transform: scaleX(0); }
.h-seo { max-width: 320px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; opacity: 0; transition: opacity .4s var(--ease); }
html.h-static .h-seo { opacity: 1; }
.h-seo__k { font: 600 10.5px var(--mono); letter-spacing: .12em; color: var(--rust-400); }
.h-hint { display: grid; justify-items: end; font: 600 11px var(--mono); letter-spacing: .14em; color: var(--ink-200); }
.h-hint > span { grid-area: 1 / 1; }
.h-hint__drive { visibility: hidden; }
html.h-drive .h-hint__drive { visibility: visible; }
html.h-drive .h-hint__static { visibility: hidden; }
/* The loading bar along the bottom of the hero, while scrolling is held. */
.h-load { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 3px; background: var(--ink-900); opacity: 0; transition: opacity .5s ease .1s; pointer-events: none; }
.h-load i { display: block; height: 100%; background: var(--rust-400); transform-origin: 0 50%; transform: scaleX(1); }
html.h-hold .h-load { opacity: 1; transition: none; }
html.h-hold .h-load i { animation: hLoad var(--h-hold, 2s) linear forwards; }

/* An example site as a glass storefront card (the drive's stop card and the static list). */
.h-site { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 22px; color: var(--sand-100); background: rgba(44,38,33,.42); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: inset 0 0 0 1px rgba(243,236,224,.18), inset 0 1px 0 rgba(255,255,255,.2), 0 40px 80px -30px rgba(0,0,0,.8); }
.h-site:hover { color: var(--sand-100); }
.h-site__url { display: flex; align-items: center; gap: 8px; padding: 0 6px; font: 600 10.5px var(--mono); letter-spacing: .12em; color: var(--ink-200); min-width: 0; }
.h-site__url .h-dot { width: 7px; height: 7px; }
.h-site__url span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h-site__shot { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 12px; display: block; background: var(--ink-800); }
.h-site__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 6px 4px; }
.h-site__name { font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: .9; color: var(--sand-100); }
.h-site__go { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--rust-400); white-space: nowrap; text-transform: uppercase; }
.h-site:hover .h-site__go { color: var(--sand-50); }
/* The drive's card at each stop: off until home.js adds .is-on, sliding in from its side (left or right). */
.h-site--stop { position: absolute; top: 50%; z-index: 3; width: min(44vw, 620px); --dx: -60px; --ry: 12deg; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(var(--dx), -50%) scale(.92) rotateY(var(--ry)); transition: opacity .52s var(--ease), transform .52s var(--ease), visibility 0s linear .52s; }
.h-site--stop.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%); transition: opacity .52s var(--ease), transform .52s var(--ease), visibility 0s; }
.h-site--stop.is-left { left: var(--gutter); }
.h-site--stop.is-right { right: var(--gutter); --dx: 60px; --ry: -12deg; }
.h-shops { padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 24px; }
.h-shops__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
@media (max-width: 860px) {
  .h-scrim { background: linear-gradient(180deg, rgba(22,18,15,.82) 0%, rgba(22,18,15,.72) 55%, rgba(22,18,15,.35) 80%, rgba(22,18,15,.55) 100%); }
  .h-over { padding-top: 92px; }
  .h-seo { display: none; }
  .h-site--stop { width: auto; top: 58%; }
  .h-site--stop.is-left, .h-site--stop.is-right { left: 16px; right: 16px; }
  .h-site__name { font-size: 26px; }
}

/* ---------- Example names ---------- */
.h-marquee { padding: 34px 0; border-bottom: 1px solid rgba(243,236,224,.12); overflow: hidden; display: flex; align-items: center; gap: 40px; }
.h-marquee__k { flex: none; margin: 0; padding-left: var(--gutter); font: 600 11px var(--mono); letter-spacing: .16em; color: var(--ink-400); text-transform: uppercase; line-height: 1.5; }
.h-marquee__mask { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h-marquee__row { display: flex; width: max-content; gap: 64px; padding-right: 64px; animation: hMarquee 38s linear infinite; }
.h-marquee__row span { font-family: var(--display); font-size: 30px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-400); white-space: nowrap; }

/* ---------- Sections ---------- */
.h-sec { position: relative; padding: var(--section-y) var(--gutter); }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.h-head__t { display: flex; flex-direction: column; gap: 20px; }
.h-h2 { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(42px, 6vw, 96px); line-height: .88; }
.h-head__aside { margin: 0; max-width: 400px; font-size: 17px; line-height: 1.5; color: var(--ink-200); text-wrap: pretty; }
.h-head__aside--narrow { max-width: 380px; }
.h-head__aside--mono { font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.h-anchor { display: block; height: 0; }

/* ---------- Features ---------- */
/* The photo loads when the section comes near (home.js adds .is-near); without JavaScript it's there from the start. */
.h-features { background-color: var(--ink-900); background-size: cover; background-position: center; }
html:not(.h-js) .h-features, .h-features.is-near { background-image: linear-gradient(rgba(31,26,22,.86), rgba(31,26,22,.94)), url("/_cm/truckee-river-800.webp?v=7db1812595"); }
@media (min-width: 861px) { html:not(.h-js) .h-features, .h-features.is-near { background-image: linear-gradient(rgba(31,26,22,.86), rgba(31,26,22,.94)), url("/_cm/truckee-river-1280.webp?v=3b2d6daa0a"); } }
@media (min-width: 861px) and (hover: hover) { .h-features { background-attachment: fixed; } }
/* Eight cards, then the two full-width ones: always a balanced grid (4 + 4 wide, 2 across on tablets, 1 on phones). */
.h-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1239px) { .h-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .h-grid { grid-template-columns: 1fr; } }
.h-card { padding: 24px; border-radius: 22px; display: flex; flex-direction: column; gap: 16px; background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 0 0 1px rgba(243,236,224,.14), inset 0 1px 0 rgba(255,255,255,.12); min-width: 0; }
.h-card--list { gap: 6px; }
.h-card[data-post], .h-card:has(.h-photos), .h-card:has(.h-bars) { gap: 14px; }
.h-card--open { gap: 18px; min-height: 280px; transition: background .2s; background: rgba(95,110,83,.72); box-shadow: inset 0 0 0 1px rgba(243,236,224,.16), inset 0 1px 0 rgba(255,255,255,.16); }
.h-card--open.is-closed { background: rgba(194,70,31,.62); }
.h-card--wide { grid-column: 1 / -1; }
.h-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.h-card__row--wrap { flex-wrap: wrap; }
.h-card__row--gap { margin-bottom: 8px; }
.h-card__note { margin: 0; font-size: 13px; color: var(--ink-200); border-top: 1px solid rgba(243,236,224,.16); padding-top: 14px; }
.h-card__note--end { margin-top: auto; border-top-color: rgba(243,236,224,.14); }
.h-card__note--plain { margin-top: auto; border-top: 0; padding-top: 10px; }

/* The 3D object and its placeholder (a soft glow and shadow) until it loads. */
.h-obj { display: block; position: relative; height: 170px; margin: -12px -12px -4px; cursor: grab; }
.h-obj__ph { position: absolute; inset: 0; background: radial-gradient(ellipse 30% 9% at 50% 86%, rgba(0,0,0,.32), transparent 70%), radial-gradient(ellipse 26% 30% at 50% 48%, rgba(243,236,224,.09), transparent 72%); transition: opacity .5s; }
.cm-obj__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s; }
.h-obj.is-live .cm-obj__canvas { opacity: 1; }
.h-obj.is-live .h-obj__ph { opacity: 0; }
.h-obj--phone { height: 220px; margin: -8px -12px 0; }
.h-obj--gears { flex: 0 1 260px; min-width: 200px; height: 200px; margin: -12px 0; }

.h-switch { position: relative; width: 48px; height: 28px; flex: none; border: 0; padding: 0; border-radius: 999px; background: var(--sand-600); cursor: pointer; transition: background .2s; }
.h-switch[aria-checked="true"] { background: rgba(251,247,240,.35); }
.h-switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--sand-50); transition: left .18s var(--ease); }
.h-switch[aria-checked="true"] span { left: 23px; }
.h-open__copy { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.h-open__title { font-family: var(--display); text-transform: uppercase; font-size: 64px; line-height: .88; }
.h-open__sub { font-size: 15px; color: var(--sand-300); }

.h-seg { display: inline-flex; gap: 2px; background: var(--ink-800); border-radius: 999px; padding: 4px; flex: none; }
.h-seg button { border: 0; padding: 6px 12px; border-radius: 999px; font: 600 12.5px var(--body); cursor: pointer; white-space: nowrap; background: transparent; color: var(--ink-200); }
.h-seg button[aria-pressed="true"] { background: var(--ink-900); color: var(--sand-100); }
.h-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.h-slot { height: 44px; border: 0; border-radius: 999px; font: 600 13px var(--body); cursor: pointer; transition: transform .15s, background .15s; background: rgba(243,236,224,.08); color: var(--sand-100); }
.h-slot.is-on { background: var(--rust-600); color: var(--sand-50); transform: scale(1.04); }
.h-slot.is-taken { background: transparent; color: var(--ink-500); text-decoration: line-through; cursor: default; }

.h-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(243,236,224,.12); }
.h-item--between { justify-content: space-between; }
.h-item__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--rust-600); }
.h-item.is-done .h-item__dot { background: transparent; }
.h-item__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.h-item__t strong { font-weight: 600; font-size: 14px; }
.h-item__t span { font-size: 12.5px; color: var(--ink-300); }
.h-item__name { flex: 1; font-weight: 600; font-size: 14px; }
.h-item--between .h-item__name { flex: 0 1 auto; font-weight: 500; }
.h-item__price { font: 500 13px var(--mono); color: var(--ink-200); }

.h-msg { padding: 16px; border-radius: 12px; background: rgba(31,26,22,.6); box-shadow: inset 0 0 0 1px rgba(243,236,224,.14); font-size: 15px; line-height: 1.45; min-height: 66px; }
.h-post__note { font: 500 12px var(--mono); color: var(--ink-400); }
.h-post__note.is-posted { color: var(--sage-400); }

.h-visits { display: flex; align-items: baseline; gap: 12px; }
.h-visits__n { font-family: var(--display); font-size: 72px; line-height: .88; }
.h-visits__up { font: 600 12px var(--mono); color: var(--sage-400); }
.h-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.h-bars span { flex: 1; min-height: 6px; border-radius: 5px; background: var(--sand-500); }
.h-bars span:nth-child(1) { height: 36.5%; } .h-bars span:nth-child(2) { height: 50%; } .h-bars span:nth-child(3) { height: 39.4%; }
.h-bars span:nth-child(4) { height: 57.7%; } .h-bars span:nth-child(5) { height: 69.2%; } .h-bars span:nth-child(6) { height: 46.2%; }
.h-bars span:nth-child(7) { height: 52.9%; } .h-bars span:nth-child(8) { height: 63.5%; } .h-bars span:nth-child(9) { height: 77.9%; }
.h-bars span:nth-child(10) { height: 67.3%; } .h-bars span:nth-child(11) { height: 61.5%; } .h-bars span:nth-child(12) { height: 84.6%; }
.h-bars span:nth-child(13) { height: 88.5%; } .h-bars span:nth-child(14) { height: 100%; background: var(--rust-600); }

.h-photos { flex: 1; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; min-height: 130px; }
.h-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; min-height: 0; }
.h-photos__big { grid-row: span 2; }

.h-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; align-items: stretch; }
.h-social__a, .h-social__b, .h-social__c { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.h-social__b, .h-social__c { justify-content: center; }
.h-social__c { gap: 10px; }
.h-social__k { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.h-pill { padding: 3px 9px; border-radius: 999px; background: var(--sage-400); color: var(--ink-900); font: 700 10.5px var(--mono); letter-spacing: .1em; }
.h-social__title { font-family: var(--display); text-transform: uppercase; font-size: 40px; line-height: .9; }
.h-social__p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-200); }
.h-nets { display: flex; gap: 8px; flex-wrap: wrap; }
.h-net { border: 0; cursor: pointer; padding: 7px 13px; border-radius: 999px; font: 600 11.5px var(--mono); letter-spacing: .08em; background: transparent; color: var(--ink-300); }
.h-net.is-on { background: var(--sand-100); color: var(--ink-900); }
.h-draft { padding: 14px; border-radius: 14px; background: rgba(31,26,22,.6); box-shadow: inset 0 0 0 1px rgba(243,236,224,.14); display: flex; gap: 12px; align-items: flex-start; }
.h-draft img { width: 64px; height: 80px; object-fit: cover; border-radius: 8px; flex: none; }
.h-draft div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.h-draft p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.h-draft .h-draft__tags { font-size: 13px; color: var(--rust-400); }
.h-social__go { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.h-social__status { font: 600 11px var(--mono); letter-spacing: .1em; color: var(--sage-400); }
.h-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.h-week__d { padding: 10px 0 12px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; background: rgba(31,26,22,.5); box-shadow: inset 0 0 0 1px rgba(243,236,224,.1); }
.h-week__d span { font: 600 10px var(--mono); letter-spacing: .08em; color: var(--ink-300); }
.h-week__d i { width: 8px; height: 8px; border-radius: 50%; background: rgba(243,236,224,.15); }
.h-week__d.is-planned i { background: var(--sage-400); }
.h-week__d.is-mine { background: var(--rust-600); }
.h-week__d.is-mine span { color: var(--sand-50); }
.h-week__d.is-mine i { background: var(--sand-50); }
.h-social__list { display: flex; flex-direction: column; font-size: 14px; color: var(--ink-200); }
.h-social__list span { padding: 8px 0; border-top: 1px solid rgba(243,236,224,.1); }
.h-link { font: 600 11.5px var(--mono); letter-spacing: .1em; color: var(--rust-400); }
.h-link:hover { color: var(--sand-50); }

.h-custom { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 32px; background: var(--rust-600); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.h-custom__t { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.h-custom .h-k--sand { color: var(--sand-100); }
.h-custom__title { font-family: var(--display); text-transform: uppercase; font-size: 48px; line-height: .9; }
.h-custom p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--sand-50); }

.h-specs { margin-top: 64px; border-top: 1.5px solid rgba(243,236,224,.24); padding-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.h-specs__g { display: flex; flex-direction: column; }
.h-specs h3 { margin: 0; padding-bottom: 10px; font: 600 11px var(--mono); letter-spacing: .16em; color: var(--rust-400); text-transform: uppercase; }
.h-specs p { margin: 0; display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(243,236,224,.1); font-size: 14px; color: var(--ink-200); }
.h-specs p span { color: var(--sage-400); }

/* ---------- Work ---------- */
.h-work { overflow-x: clip; }
.h-deck { position: relative; height: clamp(230px, 44vw, 680px); perspective: 2000px; perspective-origin: 50% 45%; touch-action: pan-y; -webkit-user-select: none; user-select: none; margin: 0 calc(-1 * var(--gutter)); }
.h-deck__card { position: absolute; left: 50%; top: 50%; width: clamp(300px, 64vw, 1000px); aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--ink-800); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(243,236,224,.1); cursor: pointer; transition: transform .7s cubic-bezier(.2,.75,.2,1), opacity .5s, filter .6s; opacity: 0; pointer-events: none; z-index: 15; }
.h-deck__card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.h-deck__cap { position: absolute; inset: auto 0 0 0; padding: 80px 22px 22px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, rgba(22,18,15,0) 0%, rgba(22,18,15,.82) 45%, rgba(22,18,15,.96) 100%); transition: opacity .5s .15s, transform .6s .15s cubic-bezier(.2,.75,.2,1); opacity: 0; transform: translateY(16px); }
.h-deck__k { display: flex; align-items: center; gap: 10px; font: 600 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-400); }
.h-deck__k i { width: 24px; height: 1px; background: currentColor; }
.h-deck__k span:last-child { color: var(--sand-100); }
.h-deck__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.h-deck__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3.4vw, 52px); line-height: .88; color: var(--sand-50); text-wrap: balance; }
.h-deck__go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rust-600); color: var(--sand-50); font-size: 18px; }
.h-deck__go:hover { background: var(--rust-400); color: var(--sand-50); }
/* The card in front and its neighbors fanned out behind it (home.js moves the classes). */
.h-deck__card.is-on { transform: translate(-50%, -50%); opacity: 1; z-index: 20; pointer-events: auto; cursor: default; }
.h-deck__card.is-on .h-deck__cap { opacity: 1; transform: none; }
.h-deck__card.is-r1 { transform: translate(-50%, -50%) translateX(62%) translateZ(-220px) rotateY(-22deg); opacity: 1; z-index: 19; filter: brightness(.6); pointer-events: auto; }
.h-deck__card.is-l1 { transform: translate(-50%, -50%) translateX(-62%) translateZ(-220px) rotateY(22deg); opacity: 1; z-index: 19; filter: brightness(.6); pointer-events: auto; }
.h-deck__card.is-r2 { transform: translate(-50%, -50%) translateX(96%) translateZ(-440px) rotateY(-44deg); opacity: .55; z-index: 18; filter: brightness(.4); pointer-events: auto; }
.h-deck__card.is-l2 { transform: translate(-50%, -50%) translateX(-96%) translateZ(-440px) rotateY(44deg); opacity: .55; z-index: 18; filter: brightness(.4); pointer-events: auto; }
.h-deck__card.is-r3 { transform: translate(-50%, -50%) translateX(130%) translateZ(-660px) rotateY(-44deg); z-index: 17; filter: brightness(.4); }
.h-deck__card.is-l3 { transform: translate(-50%, -50%) translateX(-130%) translateZ(-660px) rotateY(44deg); z-index: 17; filter: brightness(.4); }
.h-deck__card.is-r4 { transform: translate(-50%, -50%) translateX(164%) translateZ(-880px) rotateY(-44deg); z-index: 16; filter: brightness(.4); }
@media (max-width: 860px) {
  .h-deck__card.is-r1 { transform: translate(-50%, -50%) translateX(74%) translateZ(-220px) rotateY(-22deg); }
  .h-deck__card.is-l1 { transform: translate(-50%, -50%) translateX(-74%) translateZ(-220px) rotateY(22deg); }
  .h-deck__card.is-r2 { transform: translate(-50%, -50%) translateX(104%) translateZ(-440px) rotateY(-44deg); }
  .h-deck__card.is-l2 { transform: translate(-50%, -50%) translateX(-104%) translateZ(-440px) rotateY(44deg); }
  .h-deck__card.is-r3 { transform: translate(-50%, -50%) translateX(134%) translateZ(-660px) rotateY(-44deg); }
  .h-deck__card.is-l3 { transform: translate(-50%, -50%) translateX(-134%) translateZ(-660px) rotateY(44deg); }
  .h-deck__cap { padding: 48px 16px 16px; gap: 10px; }
  .h-deck__go { width: 40px; height: 40px; }
}
.h-work__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.h-work__meta { display: flex; gap: 28px; flex-wrap: wrap; }
.h-work__meta div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.h-work__meta div span:first-child { font: 600 10.5px var(--mono); letter-spacing: .1em; color: var(--ink-400); }
.h-work__nav { display: flex; align-items: center; gap: 14px; font: 600 12px var(--mono); letter-spacing: .12em; color: var(--ink-300); }
.h-arrows { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--ink-800); box-shadow: inset 0 0 0 1px rgba(243,236,224,.12); }
.h-arrows button { width: 48px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--sand-50); font-size: 18px; cursor: pointer; }
.h-arrows button:hover { background: rgba(243,236,224,.1); }
.h-arrows button:last-child { background: var(--rust-600); }
.h-arrows button:last-child:hover { background: var(--rust-400); }

/* ---------- Process ---------- */
.h-process { border-top: 1px solid rgba(243,236,224,.12); }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; }
.h-step { border-top: 1.5px solid var(--sand-100); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.h-step__n { font: 600 11px var(--mono); letter-spacing: .16em; color: var(--ink-300); }
.h-step__price { font-family: var(--display); font-size: clamp(80px, 8vw, 104px); line-height: .85; }
.h-step__price--sage { color: var(--sage-400); }
.h-step__price--sand { color: var(--sand-100); }
.h-step__t { font-weight: 600; font-size: 19px; }
.h-step__b { font-size: 15px; line-height: 1.5; color: var(--ink-300); max-width: 340px; }

/* ---------- About ---------- */
.h-about { background: var(--sand-100); color: var(--ink-900); }
.h-about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.h-about__t { display: flex; flex-direction: column; gap: 28px; }
.h-about__p { margin: 0; max-width: 520px; font-size: 18px; line-height: 1.5; color: var(--ink-600); }
.h-stack { border-top: 1.5px solid var(--ink-900); }
.h-stack div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.h-stack span:first-child { font-weight: 600; font-size: 16px; }
.h-stack span:last-child { font: 500 12px var(--mono); letter-spacing: .06em; color: var(--ink-600); text-align: right; }
.h-about__pic { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; }
.h-about__pic > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-about__card { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 20px; border-radius: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--sand-50); background: rgba(31,26,22,.32); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); box-shadow: inset 0 0 0 1px rgba(243,236,224,.24), inset 0 1px 0 rgba(255,255,255,.25); }
.h-about__card div { display: flex; flex-direction: column; gap: 4px; }
.h-about__card strong { font-weight: 600; font-size: 16px; }
.h-about__card span { font: 500 12px var(--mono); color: var(--sand-300); }

/* ---------- Closing call to action ---------- */
.h-cta { position: relative; overflow: hidden; padding: var(--section-y) var(--gutter); background: var(--rust-600); color: var(--sand-50); display: flex; flex-direction: column; gap: 36px; }
.h-confetti { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: block; overflow: hidden; }
.cm-confetti__canvas { width: 100%; height: 100%; display: block; }
.h-cta__top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.h-cta__h { margin: 0; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(60px, 8vw, 128px); line-height: .86; max-width: 1200px; display: flex; flex-direction: column; }
.h-cta__h span { display: block; transform-origin: 0 100%; }
/* The sign's end state (lit) is the default: with reduced motion or no JavaScript, that's what shows. */
.h-sign { padding: 14px 22px; border-radius: 14px; border: 3px solid #f2c14e; font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3.4vw, 52px); line-height: 1; letter-spacing: .04em; color: #f2c14e; transform: rotate(-6deg); transform-origin: 50% 0; text-shadow: 0 0 18px rgba(242,193,78,.9), 0 0 42px rgba(242,193,78,.5); box-shadow: 0 0 24px rgba(242,193,78,.6), inset 0 0 18px rgba(242,193,78,.35); }
.h-cta__go { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.h-cta__fine { font: 600 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.h-cta.is-pre [data-fin-line], .h-cta.is-pre .h-cta__go { opacity: 0; }
.h-cta.is-pre .h-sign { opacity: .18; text-shadow: none; box-shadow: none; }

@keyframes hRise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes hLoad { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .h-marquee__row { animation: none; }
  .h-menu, html.h-drive .h-place { animation: none; }
  .h-deck__card, .h-deck__cap, .h-canvas, .h-card--open, .h-slot, .h-switch span { transition: none; }
}
