/* h1 Golden hour. Tokens: assets/tokens.css (kit-r2 curb-relief, unedited copy). */
:root {
  /* Lead brand cyan sampled from Red's logo art (brand/red-gpt-2026-11-13), set by the coordinator 2026-11-13.
     Ink text on it 6.19:1; never white text on it (2.41:1). */
  --logo-cyan: #06B6D9;
  --scrim: color-mix(in srgb, var(--cr-ink) 92%, transparent);
  --glass: color-mix(in srgb, var(--cr-white) 12%, transparent);
  --hair: color-mix(in srgb, var(--cr-white) 22%, transparent);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cr-ink); color: var(--cr-white); font-family: var(--font-body); font-size: var(--text-body); line-height: var(--leading-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--cr-ink), 0 0 0 6px var(--logo-cyan); border-radius: var(--radius-sm); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--cr-white); color: var(--cr-ink); padding: 12px 16px; border-radius: var(--radius-sm); }
.skip:focus { left: 16px; }

/* ---------- hero frame: height follows the photo's 16:9-ish ratio so the pins stay on the bins ---------- */
.hero { position: relative; isolation: isolate; min-height: 700px; height: max(700px, 56.55vw); max-height: 1100px; display: flex; flex-direction: column; overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 50%; z-index: -2; animation: settle 2.4s var(--hover-ease) both; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, color-mix(in srgb, var(--cr-ink) 55%, transparent) 0%, transparent 18%),
    linear-gradient(to top, var(--scrim) 0%, color-mix(in srgb, var(--cr-ink) 72%, transparent) 22%, color-mix(in srgb, var(--cr-ink) 12%, transparent) 48%, transparent 60%),
    radial-gradient(75% 72% at 0% 100%, color-mix(in srgb, var(--cr-ink) 82%, transparent) 0%, color-mix(in srgb, var(--cr-ink) 66%, transparent) 45%, transparent 100%); }
@keyframes settle { from { transform: scale(1.06); filter: saturate(.85) brightness(.9); } to { transform: scale(1); filter: none; } }

/* ---------- nav ---------- */
.nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 22px var(--gutter); }
.nav__brand { display: inline-flex; border-radius: var(--radius-sm); transition: opacity var(--hover-dur) var(--hover-ease), transform var(--hover-dur) var(--hover-ease); }
.nav__brand img { height: 60px; width: auto; filter: drop-shadow(0 1px 8px color-mix(in srgb, var(--cr-ink) 45%, transparent)); }
.nav__brand:hover { transform: translateY(-1px); opacity: .92; }
.nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--cr-white); text-decoration: none; font-size: var(--text-small); font-weight: 500; letter-spacing: .01em; border-radius: 999px; transition: background-color var(--hover-dur) var(--hover-ease); text-shadow: 0 1px 10px color-mix(in srgb, var(--cr-ink) 60%, transparent); }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 2px; background: var(--logo-cyan); transform: scaleX(0); transform-origin: left; transition: transform var(--hover-dur) var(--hover-ease); }
.nav__links a:hover { background: var(--glass); }
.nav__links a:hover::after { transform: scaleX(1); }

/* ---------- copy ---------- */
.hero__inner { pointer-events: none; position: relative; z-index: 2; flex: 1; display: flex; align-items: flex-end; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) 28px; }
.hero__copy { pointer-events: auto; max-width: 820px; animation: rise .9s .25s var(--hover-ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--font-display); font-size: var(--text-small); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cr-white); text-shadow: 0 1px 12px color-mix(in srgb, var(--cr-ink) 85%, transparent); }
.eyebrow__rule { width: 36px; height: 2px; background: var(--logo-cyan); }
.display { text-shadow: 0 2px 24px color-mix(in srgb, var(--cr-ink) 50%, transparent); margin: 0 0 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 1.2rem + 2.9vw, 4.25rem); /* trimmed 2026-11-13 for the longer H1 so it clears the photo pins */ line-height: 1.0; letter-spacing: -0.03em; text-wrap: balance; }
.display__accent { color: var(--logo-cyan); }
.lead { margin: 0 0 30px; max-width: 33em; font-size: var(--text-body); line-height: 1.55; color: color-mix(in srgb, var(--cr-white) 90%, transparent); }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { --bg: transparent; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--tap); padding: 0 26px; border: 0; border-radius: 999px; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: .005em; text-decoration: none; cursor: pointer; background: var(--bg); overflow: hidden;
  transition: transform var(--hover-dur) var(--hover-ease), background-color var(--hover-dur) var(--hover-ease), color var(--hover-dur) var(--hover-ease), border-color var(--hover-dur) var(--hover-ease); }
.btn__icon { width: 20px; height: 20px; transition: transform var(--hover-dur) var(--hover-ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn--primary { --bg: var(--logo-cyan); color: var(--cr-ink); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--cr-white) 45%, transparent) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--hover-ease); }
.btn--primary:hover { --bg: var(--cr-cyan-200); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary[aria-expanded="true"] { --bg: var(--cr-cyan-200); }
.btn--ghost { color: var(--cr-white); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cr-white) 55%, transparent); backdrop-filter: blur(6px); background: color-mix(in srgb, var(--cr-ink) 25%, transparent); }
.btn--ghost:hover { background: var(--cr-white); color: var(--cr-ink); box-shadow: inset 0 0 0 1.5px var(--cr-white); }
.btn--small { min-height: var(--tap); padding: 0 22px; --bg: var(--cr-white); color: var(--cr-ink); }
.btn--small:hover { --bg: var(--logo-cyan); }

/* ---------- ZIP check ---------- */
.zip { margin-top: 18px; max-width: 460px; padding: 18px; border-radius: var(--radius); background: color-mix(in srgb, var(--cr-ink) 70%, transparent); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--hair); animation: rise .35s var(--hover-ease) both; }
.zip[hidden] { display: none; }
.zip__label { display: block; margin-bottom: 8px; font-size: var(--text-small); font-weight: 600; }
.zip__row { display: flex; gap: 10px; }
.zip input { flex: 1 1 0; width: 0; min-width: 0; min-height: var(--tap); padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--hair); background: color-mix(in srgb, var(--cr-white) 8%, transparent); color: var(--cr-white); font: 600 1.25rem/1 var(--font-display); letter-spacing: .08em; transition: border-color var(--hover-dur) var(--hover-ease), background-color var(--hover-dur) var(--hover-ease); }
.zip input::placeholder { color: color-mix(in srgb, var(--cr-white) 45%, transparent); }
.zip input:hover { border-color: color-mix(in srgb, var(--cr-white) 50%, transparent); }
.zip input:focus-visible { border-color: var(--logo-cyan); border-radius: 999px; }
.zip input[aria-invalid="true"] { border-color: var(--cr-error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cr-error) 45%, transparent); }
.zip__msg { margin: 10px 0 0; min-height: 0; font-size: var(--text-small); line-height: 1.45; }
.zip__msg:empty { display: none; }
.zip[data-state="ok"] .zip__msg { color: var(--cr-cyan-200); }
.zip[data-state="error"] .zip__msg { color: var(--cr-white); }
.zip[data-state="error"] .zip__msg::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--cr-error); box-shadow: 0 0 0 2px var(--cr-white); }

/* ---------- photo pins (Glow Forward pattern) ---------- */
.pins { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pin { position: absolute; left: var(--x); top: var(--y); }
.pin__dot { pointer-events: auto; position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 2px solid var(--cr-white); background: var(--logo-cyan); color: var(--cr-ink); font: 700 1.05rem/1 var(--font-display); cursor: pointer; box-shadow: 0 0 0 0 color-mix(in srgb, var(--logo-cyan) 60%, transparent); animation: ping 2.6s 1.4s infinite; transition: transform var(--hover-dur) var(--hover-ease), background-color var(--hover-dur) var(--hover-ease); }
.pin__dot::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: var(--line, 90px); background: linear-gradient(to top, var(--cr-white), color-mix(in srgb, var(--cr-white) 30%, transparent)); transform: translateX(-50%); pointer-events: none; }
.pin__label { position: absolute; left: 0; bottom: calc(var(--line, 90px) + 18px); transform: translateX(-50%); white-space: nowrap; padding: 9px 14px 10px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--cr-ink) 82%, transparent); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--hair); font-size: 1.0625rem; line-height: 1.3; text-align: center; transition: transform var(--hover-dur) var(--hover-ease), background-color var(--hover-dur) var(--hover-ease); }
.pin__label b { display: block; font-family: var(--font-display); font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--logo-cyan); }
.pin--right .pin__label { left: auto; right: -22px; transform: none; text-align: right; }
.pin:hover .pin__dot, .pin__dot:focus-visible { transform: translate(-50%, -50%) scale(1.14); background: var(--cr-white); border-radius: 50%; }
.pin:hover .pin__label, .pin:focus-within .pin__label { transform: translateX(-50%) translateY(-4px); background: var(--cr-ink); }
.pin--right:hover .pin__label, .pin--right:focus-within .pin__label { transform: translateY(-4px); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--logo-cyan) 65%, transparent); } 70%,100% { box-shadow: 0 0 0 16px transparent; } }

/* ---------- trust row ---------- */
.trust { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 34px; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 20px var(--gutter) 26px; list-style: none; border-top: 1px solid var(--hair); font-size: var(--text-small); color: color-mix(in srgb, var(--cr-white) 88%, transparent); }
.trust li { display: inline-flex; align-items: center; gap: 10px; }
.trust svg { color: var(--logo-cyan); }
.trust__key { color: var(--cr-white); font-weight: 700; }
.fineprint { margin: 0; padding: 14px var(--gutter) 18px; text-align: center; font-size: var(--text-small); color: color-mix(in srgb, var(--cr-white) 70%, transparent); background: var(--cr-ink); }

/* ---------- pins only where the frame keeps the photo's ratio ---------- */
@media (max-width: 1199px) { .pins { display: none; } }

/* ---------- phones and small tablets: photo band, copy below ---------- */
@media (max-width: 899px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__media { position: relative; inset: auto; height: auto; aspect-ratio: 1100 / 1068; max-height: 62svh; }
  .hero__media img { position: absolute; object-position: 50% 60%; }
  .hero__scrim { bottom: auto; height: auto; aspect-ratio: 1100 / 1068; max-height: 62svh; width: 100%;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--cr-ink) 70%, transparent) 0%, transparent 28%, transparent 55%, var(--cr-ink) 100%); }
  .nav { position: absolute; top: 0; left: 0; right: 0; padding: 14px 16px; }
  .nav__brand img { height: 46px; }
  .nav__links { display: none; }
  .hero__inner { margin-top: -36px; padding: 0 16px 8px; }
  .eyebrow { font-size: 1rem; letter-spacing: .1em; gap: 10px; margin-bottom: 14px; }
  .eyebrow__rule { width: 22px; }
  .display { font-size: clamp(2.2rem, 9.3vw, 3.25rem); }
  .display__accent { white-space: normal; } /* longer H1 (2026-11-13) must wrap at phone width */
  .lead { margin-bottom: 24px; }
  .ctas { flex-direction: column; }
  .btn { width: 100%; }
  .zip__row .btn { width: auto; }
  .trust { flex-direction: column; gap: 14px; padding: 22px 16px 24px; margin-top: 24px; }
  .trust li { align-items: flex-start; }
  .fineprint { text-align: left; padding: 0 16px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}
.eyebrow__short { display: none; }
@media (max-width: 899px) { .eyebrow__long { display: none; } .eyebrow__short { display: inline; } .eyebrow { white-space: nowrap; } }
