/* Craics placeholder. One screen on the hero video ground.
   Tokens and rules are taken by value from the full site stylesheet. Hero, header, wordmark and pills only. */

:root {
  --c-paper: oklch(0.99 0.002 150);
  --c-ink: oklch(0.23 0.015 250);
  --c-iron: oklch(0.42 0.09 250);
  --c-iron-deep: oklch(0.30 0.07 252);
  --c-hero-btn-base: oklch(0.30 0.07 252 / 0.5); /* deep iron under the pill fill, so the lit pill holds 4.5 to 1 over white footage */
  --c-hero-btn: oklch(0.99 0.002 150 / 0.1);
  --c-hero-btn-lit: oklch(0.99 0.002 150 / 0.2);
  --c-hero-btn-dot: oklch(0.99 0.002 150 / 0.12); /* 0.16 on the full site. One step lower so the arrow holds 4.5 to 1 over white footage */
  --c-scrim: oklch(0.30 0.07 252 / 0.6);
  --c-scrim-clear: oklch(0.30 0.07 252 / 0);
  --c-hero-patch: oklch(0.30 0.07 252 / 0.5); /* soft darker patch behind the copy */
  --c-nav-grad-hold: oklch(0.30 0.07 252 / 0.8);
  --c-nav-grad-mid: oklch(0.30 0.07 252 / 0.35);
  --wash-opacity: 0.6;
  --patch-blur: 48px;
  --patch-bleed-x: 96px;
  --patch-bleed-y: 64px;
  --patch-radius: 120px;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Archivo", system-ui, sans-serif;
  --fs-hero: clamp(76px, 6.667vw, 104px);
  --fs-lead: 20px;
  --gutter: 40px;
  --nav-h: 69px;
  --hero-drop: 0px; /* extra top padding from 768 wide. Sets the middle of the copy 40 below the middle of the screen */
  --wordmark-w: 118px;
  --hero-btn-h: 42px;
  --hero-btn-py: 9px;
  --ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
}

/* Phones */
@media (max-width: 767px) {
  :root {
    --fs-hero: clamp(34px, 10.6vw, 76px);
    --fs-lead: 18px;
    --wash-opacity: 0.72;
    --c-hero-patch: oklch(0.30 0.07 252 / 0.4);
    --patch-bleed-x: 48px;
    --patch-bleed-y: 48px;
    --patch-blur: 32px;
    --gutter: 24px;
    --wordmark-w: 92px;
    --hero-btn-h: 44px;
    --hero-btn-py: 10px;
  }
}

/* Base. The hex pair is the fallback where oklch is not read */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0f2f50; color: #fbfcfb; font-family: var(--font-sans); font-size: 18px; line-height: 1.3; font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
:focus-visible { outline: 2px solid var(--c-paper); outline-offset: 3px; }

.page { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--c-iron-deep); color: var(--c-paper); }
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

/* Ground. Poster, then the clip once it plays, then the wash, the scrim and the strip behind the bar. No linework */
.ground { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ground__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ground__clip { opacity: 0; transition: opacity 900ms; }
.ground__clip.is-playing { opacity: 1; }
.ground__wash { position: absolute; inset: 0; background: var(--c-iron); opacity: var(--wash-opacity); }
.ground__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-scrim), var(--c-scrim-clear) 28%, var(--c-scrim-clear) 62%, var(--c-scrim)); }
.ground__strip { position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(180deg, var(--c-iron-deep), var(--c-nav-grad-hold) 48px, var(--c-nav-grad-mid) 80px, var(--c-scrim-clear)); }

/* Header. Wordmark left, Login right, at every width */
.header { position: absolute; inset: 0 0 auto 0; z-index: 1; }
.header__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); }
.wordmark { display: block; width: var(--wordmark-w); aspect-ratio: 1872 / 420; background: currentColor; -webkit-mask: url("../img/wordmark-ink.png") left center / contain no-repeat; mask: url("../img/wordmark-ink.png") left center / contain no-repeat; transform: translateY(calc(var(--wordmark-w) * 0.00187)); }

/* Pills. Paper text on a translucent fill over a deep iron base. Hover and keyboard focus lighten the fill one step, instantly */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(var(--c-hero-btn), var(--c-hero-btn)), var(--c-hero-btn-base); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--c-paper); white-space: nowrap; }
.pill:is(:hover, :focus-visible) { color: var(--c-paper); background: linear-gradient(var(--c-hero-btn-lit), var(--c-hero-btn-lit)), var(--c-hero-btn-base); }
.pill--sm { height: 32px; padding: 0 16px; font-size: 14px; font-weight: 500; line-height: 1.2; }
.pill--sm::after { content: ""; position: absolute; inset: -6px 0; } /* 44 tall touch area */
.pill--lg { gap: 12px; min-height: var(--hero-btn-h); padding: var(--hero-btn-py) 8px var(--hero-btn-py) 20px; font-size: 16px; line-height: 1.5; }
.pill__dot { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c-hero-btn-dot); }
.pill__dot::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--ico-arrow) center / contain no-repeat; mask: var(--ico-arrow) center / contain no-repeat; }
.pill:is(:hover, :focus-visible) .pill__dot { background: var(--c-paper); color: var(--c-ink); } /* the full site lightens the circle. Here it turns paper with an ink arrow, which holds over any footage */

/* Copy. Phones set it toward the foot of the video */
.main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: calc(var(--nav-h) + 24px) var(--gutter) 0; }
.main:last-child { padding-bottom: 88px; }
.copy { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.copy::before { content: ""; position: absolute; z-index: -1; inset: calc(var(--patch-bleed-y) * -1) calc(var(--patch-bleed-x) * -1); background: var(--c-hero-patch); border-radius: var(--patch-radius); filter: blur(var(--patch-blur)); pointer-events: none; }
.title { font-family: var(--font-serif); font-optical-sizing: auto; font-size: var(--fs-hero); font-weight: 300; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; max-width: 1200px; }
.title__line { display: inline; }
.lead { font-size: var(--fs-lead); line-height: 1.3; text-wrap: balance; }
.lead__keep { white-space: nowrap; }
.cta { margin-top: 8px; }

/* Footer line. Under the button on phones */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 24px; padding: 24px var(--gutter) 8px; font-size: 14px; line-height: 1.2; }
.foot__links { display: flex; gap: 24px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* From 768 wide. The copy sits where the full site hero has it and the footer line mirrors the bar at the foot of the screen */
@media (min-width: 768px) {
  .main, .main:last-child { justify-content: center; padding-top: calc(var(--nav-h) + 24px + var(--hero-drop)); padding-bottom: calc(var(--nav-h) + 24px); }
  .copy { gap: 32px; }
  .lead { white-space: nowrap; }
  .foot { position: absolute; inset: auto 0 0 0; min-height: var(--nav-h); padding-block: 0; }
}
@media (min-width: 1100px) {
  .title__line { display: block; white-space: nowrap; }
}

/* Reduced motion. Poster only */
@media (prefers-reduced-motion: reduce) {
  .ground__clip { display: none; }
  * { transition: none !important; animation: none !important; }
}

/* Sean, 2026-11-23. The copy sits in the middle of the screen at every width, phones included */
.main, .main:last-child { justify-content: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: calc(var(--nav-h) + 24px); }
.foot { position: absolute; inset: auto 0 0 0; min-height: var(--nav-h); padding-block: 0; }

/* Privacy and Terms, 2026-11-23. Written here, not in Claude Design. A plain text column on deep iron, no footage */
.page--legal { background: var(--c-iron-deep); }
.legal { flex: 1; width: 100%; max-width: 720px; margin-inline: auto; padding: calc(var(--nav-h) + 64px) var(--gutter) calc(var(--nav-h) + 64px); }
.legal h1 { margin: 0 0 24px; font-family: var(--font-serif); font-optical-sizing: auto; font-size: clamp(48px, 6vw, 72px); font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; }
.legal__intro { margin: 0 0 16px; font-size: var(--fs-lead); line-height: 1.4; }
.legal h2 { margin: 48px 0 12px; font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.84 0.04 250); }
.legal p { margin: 0 0 16px; font-size: 17px; line-height: 1.6; }
.legal a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal .legal__date { margin-top: 56px; font-size: 14px; color: oklch(0.84 0.04 250); }
.foot a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
