/* assets/v4.css — Cordobes Digital, the v4 look (2026-11-27).

   Shea, 2026-11-27: "take a look at hyros.com for inspiration on how the website should
   feel. I love the animations they have." Then: "Don't aim it at anyone specifically right
   now. Just show our work. This will show our style and we should describe how we develop
   websites that convert on metrics our clients care about."

   What was taken from Hyros is the FEEL, not the code, art or words: a warm paper ground
   with one strong accent, a serif display face over a clean sans, small monospace labels,
   a live "window" in the hero, drafting-sheet sections with rulers and figure labels,
   numbers that count up, a log that writes itself, big-type comparison rows and a
   floating button. Every rule here is ours. Cobalt stays: it is the Cordobes colour.

   Loaded after site.css on the marketing chrome only. Everything below is keyed on
   html[data-v4] so it outranks the palette aliases in themes/palettes.css without
   touching the theme system, and so the dashboard and the card never see it.

   Motion is in assets/v4.js. With JavaScript off, or with reduced motion asked for,
   every element below is visible in its finished state. */

html[data-v4] {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #efede6;
  --fg: #18191c;
  --muted: #5a5c61;
  --accent: #3156c4;
  --accent-fg: #ffffff;
  --line: #e2dfd6;
  --ink-soft: #2b2d33;
  --grid: color-mix(in oklab, var(--accent) 9%, transparent);
  --display-font: "Fraunces", Georgia, "Times New Roman", serif;
  --body-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --radius: 14px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-ease: var(--ease);
  --shadow-win: 0 1px 0 rgb(0 0 0 / 0.02), 0 24px 60px -24px rgb(24 25 28 / 0.28);
}

html[data-v4] body { background: var(--bg); }
html[data-v4] h1, html[data-v4] h2, html[data-v4] h3 {
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-weight: 400;
}
html[data-v4] .eyebrow { font-family: var(--mono); font-weight: 500; letter-spacing: 0.14em; font-size: 0.74rem; }
html[data-v4] .site-head { background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
html[data-v4] .btn--primary { background: var(--fg); border-color: var(--fg); color: var(--bg); }
html[data-v4] .btn--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
html[data-v4] .btn { border-radius: 10px; }

/* ------------------------------------------------------------ shared bits */

.v4-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.v4-ruled {
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
  margin: 0 0 18px;
}
.v4-ruled::before, .v4-ruled::after {
  content: ""; height: 9px; flex: 0 1 180px;
  border-top: 1px solid color-mix(in oklab, var(--fg) 40%, transparent);
  border-inline: 1px solid color-mix(in oklab, var(--fg) 40%, transparent);
  transform: translateY(4px);
}
.v4-mark {
  background: var(--accent); color: var(--accent-fg);
  border-radius: 10px; padding: 0 0.16em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.v4-accent { color: var(--accent); }
.v4-sec { padding-block: clamp(56px, 8vw, 112px); }
.v4-sec + .v4-sec { padding-top: clamp(24px, 4vw, 56px); }
.v4-center { text-align: center; }
.v4-center p { margin-inline: auto; }
.v4-h2 { font-size: clamp(2rem, calc(1rem + 3.4vw), 3.6rem); line-height: 1.04; }
.v4-sub { color: var(--muted); font-size: clamp(1rem, calc(0.94rem + 0.3vw), 1.14rem); max-width: 54ch; }

/* ------------------------------------------------------------------- hero */

.v4-hero { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 72px); }
.v4-hero-in { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .v4-hero-in { grid-template-columns: 0.92fr 1.08fr; } }

.v4-hero h1 {
  font-size: clamp(2.5rem, calc(1rem + 4.6vw), 4.6rem);
  line-height: 1.02;
  margin-bottom: 22px;
}
.v4-hero .v4-sub { margin-bottom: 28px; }

/* The cycling word. Every word is stacked in the same grid cell, so the line is always
   as wide as the longest word and nothing after it ever reflows. */
.v4-cycle { display: inline-grid; vertical-align: bottom; color: var(--accent); }
.v4-cycle > span { grid-area: 1 / 1; white-space: nowrap; }
.v4-cycle > span:not(:first-child) { visibility: hidden; }
.v4-js .v4-cycle > span { visibility: visible; transition: opacity 520ms var(--ease), transform 620ms var(--ease); }
.v4-js .v4-cycle > span:not(.is-on) { opacity: 0; transform: translateY(0.42em); }
.v4-js .v4-cycle > span.is-off { transform: translateY(-0.42em); }

.v4-cta-card {
  display: grid; gap: 10px;
  max-width: 400px;
  padding: 0 14px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px -26px rgb(24 25 28 / 0.35);
}
.v4-cta-card .btn { width: 100%; justify-content: center; }
.v4-cta-top {
  display: flex; align-items: center; gap: 10px;
  margin: 0 -14px 4px; padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--accent) 7%, var(--surface));
  border-radius: 16px 16px 0 0;
  font-family: var(--mono); font-size: 0.82rem; color: var(--ink-soft);
}
.v4-cta-top::after {
  content: ""; width: 8px; height: 1.05em; background: var(--accent);
  animation: v4-caret 1.1s steps(1) infinite;
}
@keyframes v4-caret { 50% { opacity: 0; } }
.v4-dot { width: 9px; height: 9px; border-radius: 99px; background: #24a26b; box-shadow: 0 0 0 4px color-mix(in oklab, #24a26b 18%, transparent); flex: none; }
.v4-hero-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }
.v4-hero-note b { color: var(--fg); font-weight: 600; }

/* The window: a browser frame that plays the real sites we built, one after another. */
.v4-stage {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  border-radius: 22px;
  border: 1px solid color-mix(in oklab, var(--accent) 22%, var(--line));
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in oklab, var(--accent) 16%, transparent), transparent 60%),
    repeating-linear-gradient(-12deg, color-mix(in oklab, var(--accent) 7%, transparent) 0 26px, transparent 26px 58px),
    color-mix(in oklab, var(--accent) 5%, var(--bg));
}
.v4-win {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-win);
}
.v4-win-bar {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.76rem; color: var(--muted);
}
.v4-win-dots { display: flex; gap: 6px; }
.v4-win-dots i { width: 9px; height: 9px; border-radius: 99px; background: var(--surface-2); }
.v4-win-url { text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4-win-url b { color: var(--fg); font-weight: 500; }
.v4-win-live { color: #1d8a5a; display: inline-flex; align-items: center; gap: 6px; }
.v4-win-live::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; }
.v4-win-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.v4-win-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.v4-slide { position: absolute; inset: 0; }
.v4-slide:not(:first-child) { display: none; }
.v4-js .v4-slide { display: block; transition: opacity 700ms var(--ease); }
.v4-js .v4-slide:not(.is-on) { opacity: 0; }
.v4-js .v4-slide.is-on img { animation: v4-pan 6.4s var(--ease) both; }
@keyframes v4-pan { from { transform: scale(1.06) translateY(1.5%); } to { transform: scale(1) translateY(0); } }

.v4-phone {
  position: absolute; right: clamp(-6px, -1vw, 0px); bottom: clamp(-26px, -2.5vw, -14px);
  width: clamp(82px, 17%, 128px); aspect-ratio: 1 / 2;
  border-radius: 18px; padding: 5px;
  background: var(--fg);
  box-shadow: 0 26px 50px -20px rgb(0 0 0 / 0.5);
}
.v4-phone-in { position: relative; width: 100%; height: 100%; border-radius: 13px; overflow: hidden; background: var(--surface-2); }
.v4-phone-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.v4-win-foot {
  display: grid; gap: 4px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  min-height: 74px;
}
.v4-win-foot .v4-label { font-size: 0.68rem; }
.v4-caps { display: grid; }
.v4-caps > span { grid-area: 1 / 1; }
.v4-caps > span:not(:first-child) { visibility: hidden; }
.v4-js .v4-caps > span { visibility: visible; transition: opacity 500ms var(--ease); }
.v4-js .v4-caps > span:not(.is-on) { opacity: 0; }

.v4-tabs { display: flex; gap: 8px; margin-top: 16px; }
.v4-tab {
  flex: 1; min-width: 0;
  display: grid; gap: 7px; text-align: left;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  min-height: 44px;
}
.v4-tab[aria-pressed="true"] { color: var(--fg); }
.v4-tab-bar { height: 3px; border-radius: 3px; background: color-mix(in oklab, var(--accent) 16%, transparent); overflow: hidden; }
.v4-tab-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.v4-tab[aria-pressed="true"] .v4-tab-bar i { width: 100%; }
.v4-js .v4-tab[aria-pressed="true"] .v4-tab-bar i { animation: v4-fill var(--dwell, 6s) linear both; }
.v4-js .v4-stage[data-paused] .v4-tab[aria-pressed="true"] .v4-tab-bar i { animation-play-state: paused; }
@keyframes v4-fill { from { width: 0; } to { width: 100%; } }
.v4-tabs-note { display: none; }

/* --------------------------------------------------------------- live strip */

.v4-strip { padding-block: 8px 0; text-align: center; }
.v4-strip p { margin: 0 auto 14px; color: var(--muted); font-size: 0.92rem; }
.v4-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.v4-pills a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--fg); text-decoration: none; font-size: 0.92rem;
  transition: border-color 240ms var(--ease), transform 240ms var(--ease);
}
.v4-pills a:hover { border-color: var(--accent); transform: translateY(-2px); }
.v4-pills a::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: #24a26b; }
.v4-pills a[data-concept]::before { background: var(--muted); }

/* ----------------------------------------------------------- work sheets */

.v4-work-head { margin-bottom: clamp(28px, 4vw, 56px); }
.v4-sheet {
  display: grid; gap: clamp(22px, 3.5vw, 48px); align-items: center;
  padding-block: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.v4-sheet:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .v4-sheet { grid-template-columns: 1.15fr 0.85fr; }
  .v4-sheet:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
  .v4-sheet:nth-child(even) .v4-sheet-art { order: 2; }
}
.v4-sheet-art { position: relative; padding-bottom: 18px; padding-right: 10px; }
.v4-sheet-art .v4-win { text-decoration: none; color: inherit; display: block; }
.v4-sheet-art .v4-win-view img { transition: transform 900ms var(--ease); }
.v4-sheet-art a.v4-win:hover .v4-win-view img { transform: scale(1.025); }
.v4-sheet-art .v4-phone { right: -4px; bottom: -6px; width: clamp(74px, 18%, 120px); }
.v4-fig { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.v4-fig span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.v4-fig b { color: var(--accent); font-weight: 600; }
.v4-sheet h3 { font-size: clamp(1.7rem, calc(1rem + 1.8vw), 2.5rem); line-height: 1.05; margin-bottom: 12px; }
.v4-sheet-copy > p { color: var(--muted); }
.v4-goal {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline;
  margin: 18px 0; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.v4-goal dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.v4-goal dd { margin: 0; font-weight: 500; }
.v4-built { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.v4-built li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.v4-built li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.v4-open { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--fg); text-decoration: none; min-height: 44px; }
.v4-open span { transition: transform 260ms var(--ease); color: var(--accent); }
.v4-open:hover span { transform: translate(3px, -3px); }
.v4-note { font-size: 0.86rem; color: var(--muted); }

/* ------------------------------------------- the drafting sheet (process) */

.v4-draft {
  position: relative;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.v4-ruler {
  position: absolute; left: 0; right: 0; top: 0; height: 22px;
  border-bottom: 1px solid color-mix(in oklab, var(--fg) 22%, transparent);
  background:
    repeating-linear-gradient(90deg, color-mix(in oklab, var(--fg) 35%, transparent) 0 1px, transparent 1px 14px) bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in oklab, var(--fg) 45%, transparent) 0 1px, transparent 1px 140px) bottom / 100% 12px no-repeat,
    var(--surface);
}
.v4-ruler--side {
  right: auto; bottom: 0; width: 22px; height: auto;
  border-bottom: 0; border-right: 1px solid color-mix(in oklab, var(--fg) 22%, transparent);
  background:
    repeating-linear-gradient(0deg, color-mix(in oklab, var(--fg) 35%, transparent) 0 1px, transparent 1px 14px) right / 6px 100% no-repeat,
    repeating-linear-gradient(0deg, color-mix(in oklab, var(--fg) 45%, transparent) 0 1px, transparent 1px 140px) right / 12px 100% no-repeat,
    var(--surface);
}
.v4-draft .wrap { position: relative; padding-left: max(44px, 5vw); }
.v4-draft-in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 960px) { .v4-draft-in { grid-template-columns: 0.9fr 1.1fr; } }
.v4-draft h2 { font-size: clamp(2rem, calc(1rem + 3vw), 3.3rem); line-height: 1.04; }
.v4-cross {
  position: absolute; width: 22px; height: 22px;
  border: 1px solid color-mix(in oklab, var(--fg) 45%, transparent); border-radius: 99px;
}
.v4-cross::before, .v4-cross::after { content: ""; position: absolute; background: color-mix(in oklab, var(--fg) 45%, transparent); }
.v4-cross::before { left: 50%; top: -8px; bottom: -8px; width: 1px; }
.v4-cross::after { top: 50%; left: -8px; right: -8px; height: 1px; }

.v4-titleblock {
  display: inline-grid; grid-auto-flow: column; margin-top: 26px;
  border: 1px solid color-mix(in oklab, var(--fg) 30%, transparent); background: var(--surface);
  font-size: 0.82rem;
}
.v4-titleblock > div { padding: 8px 12px; border-left: 1px solid color-mix(in oklab, var(--fg) 30%, transparent); display: grid; gap: 2px; }
.v4-titleblock > div:first-child { border-left: 0; }
.v4-titleblock em { font-style: normal; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* The build log. Each line is complete in the markup; v4.js only reveals them in turn. */
.v4-log {
  background: #17181b; color: #e9e8e3;
  border-radius: 16px;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.55);
  overflow: hidden;
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.55;
}
.v4-log-bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #2b2c31; color: #9d9c97; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.v4-log-bar b { color: #b9c7ff; font-weight: 500; }
.v4-log ol { list-style: none; margin: 0; padding: 14px 0 18px; counter-reset: ln; }
.v4-log li { display: grid; grid-template-columns: 44px 18px 1fr; gap: 6px; padding: 5px 16px 5px 10px; max-width: none; }
.v4-log li::before { counter-increment: ln; content: counter(ln, decimal-leading-zero); color: #5f6066; text-align: right; padding-right: 6px; }
.v4-log .k { color: #8aa2ff; }
.v4-log .ok { color: #57d39a; }
.v4-log small { display: block; color: #9d9c97; font-size: 0.8rem; }
.v4-js .v4-log[data-armed] li { opacity: 0; transform: translateY(6px); }
.v4-js .v4-log li { transition: opacity 360ms var(--ease), transform 460ms var(--ease); }
.v4-js .v4-log li.in { opacity: 1; transform: none; }
.v4-log-foot { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #23252b; color: #b9c7ff; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; }
.v4-log-foot i { font-style: normal; background: #b9c7ff; color: #17181b; padding: 2px 6px; border-radius: 3px; font-weight: 600; }

/* The four principles under the sheet. */
.v4-rules { display: grid; gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
@media (min-width: 720px) { .v4-rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .v4-rules { grid-template-columns: repeat(4, 1fr); } }
.v4-rule {
  position: relative; padding: 18px 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.v4-rule:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); box-shadow: 0 20px 36px -26px rgb(24 25 28 / 0.4); }
.v4-rule-n { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.v4-rule-n b { color: var(--accent); font-weight: 600; }
.v4-rule h3 { font-size: 1.32rem; margin-bottom: 8px; }
.v4-rule p { color: var(--muted); font-size: 0.95rem; }

/* --------------------------------------------------------------- numbers */

.v4-nums-frame { position: relative; padding: 26px clamp(14px, 2.4vw, 28px); }
.v4-nums-frame::before, .v4-nums-frame::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--fg);
}
.v4-nums-frame::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.v4-nums-frame::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.v4-nums { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .v4-nums { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .v4-nums { grid-template-columns: repeat(4, 1fr); } }
.v4-num {
  display: grid; gap: 6px; align-content: start;
  padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  max-width: none;
  transition: background-color 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.v4-num-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.v4-num strong { font-family: var(--display-font); font-weight: 400; font-size: clamp(2.6rem, calc(1.4rem + 2.4vw), 3.6rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.v4-num > span:not(.v4-num-top) { color: var(--muted); font-size: 0.94rem; }
.v4-gauge { position: relative; height: 12px; margin-top: 12px; border: 1px solid var(--line); background: var(--bg); border-radius: 3px; overflow: hidden; }
.v4-gauge i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--to, 100%); background: var(--accent); }
.v4-js .v4-gauge i { width: 0; transition: width 1.4s var(--ease) 200ms; }
.v4-js .in .v4-gauge i { width: var(--to, 100%); }
.v4-num.is-hot { background: var(--accent); color: var(--accent-fg); transform: translateY(-4px); box-shadow: 8px 8px 0 color-mix(in oklab, var(--accent) 30%, transparent); }
.v4-num.is-hot .v4-num-top, .v4-num.is-hot > span:not(.v4-num-top) { color: color-mix(in oklab, var(--accent-fg) 80%, transparent); }
.v4-num.is-hot .v4-gauge { background: color-mix(in oklab, var(--accent-fg) 18%, transparent); border-color: transparent; }
.v4-num.is-hot .v4-gauge i { background: var(--accent-fg); }
.v4-nums-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.v4-nums-foot b { color: var(--fg); font-weight: 600; }

/* ------------------------------------------------------- all / all / none */

.v4-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.v4-rows li {
  display: grid; gap: 4px 28px; align-items: baseline;
  padding-block: clamp(18px, 2.6vw, 30px);
  border-bottom: 1px solid var(--line);
  max-width: none;
}
@media (min-width: 720px) { .v4-rows li { grid-template-columns: minmax(150px, 0.34fr) 1fr auto; } }
.v4-rows b {
  font-family: var(--display-font); font-weight: 400;
  font-size: clamp(3.2rem, calc(1.5rem + 5vw), 6rem); line-height: 0.9; letter-spacing: -0.04em;
  color: var(--accent);
}
.v4-rows li:last-child b { color: var(--fg); }
.v4-rows span { font-family: var(--display-font); font-size: clamp(1.3rem, calc(0.9rem + 1.2vw), 2rem); line-height: 1.2; }
.v4-rows em { font-style: normal; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------- the closer */

.v4-close {
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: 22px;
  background:
    radial-gradient(90% 120% at 50% 0%, color-mix(in oklab, var(--accent) 9%, transparent), transparent 60%),
    var(--surface);
}
.v4-close svg { margin: 0 auto 14px; color: var(--fg); }
.v4-close h2 { font-size: clamp(2rem, calc(1rem + 3vw), 3.4rem); line-height: 1.06; margin-bottom: 14px; }
.v4-close .hero-actions { justify-content: center; }
.v4-close .v4-note { margin-top: 18px; }

/* ----------------------------------------------------------- floating pill */

.v4-float {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px;
  background: var(--fg); color: var(--bg);
  font-weight: 600; text-decoration: none;
  box-shadow: 0 16px 34px -12px rgb(0 0 0 / 0.45);
  transform: translate(-50%, 0);
  transition: transform 520ms var(--ease), opacity 420ms var(--ease), background-color 240ms var(--ease);
}
.v4-float:hover { background: var(--accent); color: var(--accent-fg); }
.v4-float span { transition: transform 240ms var(--ease); }
.v4-float:hover span { transform: translateX(3px); }
.v4-js .v4-float:not(.is-on) { transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }

/* --------------------------------------------------------------- reveals */
/* Nothing is hidden without JavaScript, and nothing on screen at load is hidden (v4.js
   marks those .in before the first paint it controls). */

.v4-js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity 760ms var(--ease), transform 900ms var(--ease); }
.v4-js [data-rise].in { opacity: 1; transform: none; }
.v4-js [data-wipe] { clip-path: inset(0 0 100% 0 round 14px); transition: clip-path 1.1s var(--ease); }
.v4-js [data-wipe].in { clip-path: inset(0 0 0 0 round 14px); }
.v4-js [data-slide] { opacity: 0; transform: translateX(40px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.v4-js [data-slide].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .v4-js [data-rise], .v4-js [data-wipe], .v4-js [data-slide], .v4-js .v4-log[data-armed] li { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .v4-js .v4-slide.is-on img, .v4-js .v4-tab[aria-pressed="true"] .v4-tab-bar i, .v4-cta-top::after { animation: none !important; }
  .v4-js .v4-gauge i { width: var(--to, 100%); transition: none; }
}

/* ------------------------------------------------------------- phones */

@media (max-width: 719px) {
  .v4-hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .v4-cta-card { max-width: none; }
  .v4-stage { padding: 12px; border-radius: 18px; }
  .v4-win-bar { grid-template-columns: auto 1fr; }
  .v4-win-live { display: none; }
  .v4-phone { width: 70px; right: -4px; bottom: -18px; border-radius: 13px; padding: 4px; }
  .v4-phone-in { border-radius: 10px; }
  .v4-win-foot { padding-right: 84px; }
  .v4-titleblock { grid-auto-flow: row; }
  .v4-titleblock > div { border-left: 0; border-top: 1px solid color-mix(in oklab, var(--fg) 30%, transparent); }
  .v4-titleblock > div:first-child { border-top: 0; }
  .v4-log { font-size: 0.8rem; }
  .v4-log li { grid-template-columns: 30px 16px 1fr; padding-inline: 4px 12px; }
  .v4-rows li { grid-template-columns: 1fr; }
  .v4-draft .wrap { padding-left: 36px; }
  .v4-float { left: 16px; right: 16px; justify-content: center; transform: none; }
  .v4-js .v4-float:not(.is-on) { transform: translateY(160%); }
  .v4-sheet-art .v4-phone { width: 64px; }
}

/* ---------------------------------------------------------- small fixes */

.v4-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v4-win-url { display: grid; }
.v4-win-url > span { grid-area: 1 / 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v4-win-url > span:not(:first-child) { visibility: hidden; }
.v4-js .v4-stage .v4-win-url > span { visibility: visible; transition: opacity 500ms var(--ease); }
.v4-js .v4-stage .v4-win-url > span:not(.is-on) { opacity: 0; }
.v4-more { margin-top: 28px; }
html[data-v4] .v4-sec h2, html[data-v4] .v4-sec h3, html[data-v4] .v4-hero h1 { margin-top: 0; }
html[data-v4] .v4-sheet h3 { margin-top: 0; }
html[data-v4] .v4-hero h1 { max-width: 14ch; }
html[data-v4] .v4-win-view, html[data-v4] .v4-win-bar, html[data-v4] .v4-win-url { display: block; }
html[data-v4] .v4-win-bar { display: grid; }
html[data-v4] .v4-win-url { display: grid; }
html[data-v4] .v4-win-view { position: relative; }

/* The page hero on the other marketing pages picks up the paper ground and serif. */
html[data-v4] .page-hero h1 { font-size: clamp(2.3rem, calc(1rem + 4vw), 4rem); line-height: 1.04; }
html[data-v4] .v4-sheet h2 { font-size: clamp(1.7rem, calc(1rem + 1.8vw), 2.5rem); line-height: 1.05; margin: 0 0 12px; }
.v4-hero--page { padding-bottom: 0; }
.v4-hero--page .v4-h2 { max-width: none; font-size: clamp(2.4rem, calc(1rem + 4.4vw), 4.4rem); }

/* The phone sits on the stage, over the window's lower right corner, not inside it. */
.v4-stage > .v4-phone { right: clamp(6px, 1.4vw, 16px); bottom: clamp(84px, 7vw, 104px); z-index: 2; }
.v4-stage .v4-win-foot { padding-right: calc(clamp(82px, 17%, 128px) + 10px); }
/* site.css caps every p and li at the reading measure; these are layout pieces, not prose. */
.v4-ruled, .v4-log-foot, .v4-nums-foot, .v4-cta-top, .v4-fig, .v4-rule-n, .v4-strip p, .v4-tabs-note { max-width: none; }
.v4-ruled { white-space: nowrap; }
.v4-log li, .v4-built li, .v4-pills li, .v4-rows li, .v4-num { max-width: none; }
.v4-close p { margin-inline: auto; }
@media (min-width: 720px) { .v4-rows li { grid-template-columns: clamp(170px, 22vw, 300px) 1fr auto; } }

/* 2026-11-27 — one site list (content/sites.json). The badge on a window says what the
   site is: Live, Preview or Concept, never "Live" on something that is not. In the front
   page's window the badges cycle with the site, like the address does. */
.v4-win-live[data-badge="concept"], .v4-win-badges > span[data-badge="concept"] { color: #8a5a12; }
.v4-win-live[data-badge="preview"] { color: var(--accent); }
.v4-win-live.v4-win-badges { display: inline-grid; }
.v4-win-live.v4-win-badges::before { display: none; }
.v4-win-badges > span { grid-area: 1 / 1; color: #1d8a5a; display: inline-flex; align-items: center; gap: 6px; }
.v4-win-badges > span::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; }
.v4-win-badges > span[data-badge="preview"] { color: var(--accent); }
.v4-win-badges > span:not(:first-child) { visibility: hidden; }
.v4-js .v4-stage .v4-win-badges > span { visibility: visible; transition: opacity 500ms var(--ease); }
.v4-js .v4-stage .v4-win-badges > span:not(.is-on) { opacity: 0; }
@media (max-width: 719px) { .v4-win-live.v4-win-badges { display: none; } }
