/* Shared SQUAD Studio marketing theme (body.cv): logo-cyan field, rounded photo panels, frosted pills, Inter.
   Desktop sizes are written in comp pixels: --u is one pixel of the 1536-wide approved Canvas comp.
   Canvas adds its own first viewport in canvas.css; interior pages use the cover and text rooms below. */
@font-face {
  font-family: Inter;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

.cv {
  --cyan: #01c6d2;
  --cyan-hi: #5fe3ea;
  --cyan-wash: #d9f6f8;
  --ink: #081113;
  --panel: #0e1b1e;
  --panel-2: #132427;
  --rule: #23383b;
  --paper: #ffffff;
  --mist: #f1f5f5;
  --text: #f4f8f7;
  --text-2: #b7c9c7;
  --text-3: #8fa6a4;
  --dark-text: #0b1618;
  --dark-text-2: #4c5f61;
  --ink-hover: #17302f;
  --cyan-ink: #0b3438;
  --cyan-deep: #006870;
  --photo-mist: #c9d6dc;
  --hairline: #e3eaea;
  --track: #dfe6e7;
  --ember: #6b2a22;
  --error: #ffbab0;
  --u: calc(100vw / 1536);
  /* Type unit: equals --u at the 1536px comp, but keeps a fixed share so text still grows with browser zoom. */
  --t: calc(.4px + .6 * var(--u));
  --gut: calc(39 * var(--u));
  --r-xl: calc(30 * var(--u));
  --r-lg: calc(22 * var(--u));
  --r-md: calc(14 * var(--u));
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.cv *, .cv *::before, .cv *::after { box-sizing: border-box; }
.cv { -webkit-tap-highlight-color: transparent; }
.cv p { text-wrap: pretty; }
.cv img { display: block; max-width: 100%; height: auto; }
.cv h1, .cv h2, .cv h3, .cv p, .cv figure, .cv ol { margin: 0; }
.cv h1, .cv h2, .cv h3 { font-weight: 500; letter-spacing: -.04em; text-wrap: balance; }
.cv a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.cv ::selection { background: var(--cyan); color: var(--ink); }
.cv :focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }
.cv code { font: 500 .92em/1 Inter, sans-serif; padding: .12em .45em; border-radius: 999px; background: var(--panel-2); color: var(--cyan-hi); }
.cv .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cv .skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 500; }
.cv .skip-link:focus { top: 12px; }
html:has(body.cv) { scrollbar-color: var(--rule) var(--ink); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.cv) { scroll-behavior: auto; } }

/* Pills and arrow chips */
.cv .cv-btn, .cv .nav-cta {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 6px 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s cubic-bezier(.16, 1, .3, 1), transform .25s cubic-bezier(.16, 1, .3, 1);
}
.cv .cv-chip { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; }
.cv .cv-chip svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.cv a:hover > .cv-chip svg { transform: translateX(2px); }
.cv .cv-btn-cyan { background: var(--cyan); color: var(--ink); }
.cv .cv-btn-cyan .cv-chip { background: var(--ink); color: var(--paper); }
.cv .cv-btn-cyan:hover { background: var(--cyan-hi); }
.cv .cv-btn-white { background: var(--paper); color: var(--ink); }
.cv .cv-btn-white .cv-chip { background: var(--cyan); color: var(--ink); }
.cv .cv-btn-white:hover { background: var(--cyan-wash); }

/* Navigation: frosted pill floating inside the hero panel */
.cv .nav { position: absolute; z-index: 20; top: calc(24 * var(--u)); left: var(--gut); width: var(--nav-w, calc(1458 * var(--u))); }
.cv .nav-inner { position: relative; display: flex; align-items: center; gap: 16px; padding: calc(26 * var(--u)) calc(77 * var(--u)) 0 calc(49 * var(--u)); }
.cv .brand { display: flex; align-items: flex-start; flex: none; margin-right: auto; text-decoration: none; }
.cv .brand-tm { margin: 1px 0 0 2px; color: var(--paper); font: 400 9px/1 Inter, sans-serif; opacity: .8; }
.cv .brand img { width: calc(150 * var(--u)); min-width: 104px; height: auto; }
.cv .nav-links {
  display: flex; flex: none; align-items: center; gap: max(22px, calc(30 * var(--u)));
  height: max(44px, calc(47 * var(--u))); padding: 0 188px 0 max(26px, calc(36 * var(--u)));
  border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px;
  background: rgba(255, 255, 255, .13); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.cv .nav-links > a, .cv .nav-group-btn {
  text-shadow: 0 1px 10px rgba(30, 10, 8, .45);
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0;
  border: 0; background: none; color: var(--paper); font: 400 13.5px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.cv .nav-group-btn svg { width: 12px; height: 12px; opacity: .7; }
.cv .nav-links > a:hover, .cv .nav-group-btn:hover { text-decoration: underline; }
.cv .nav-group { position: relative; }
.cv .nav-panel {
  display: none; position: absolute; top: calc(100% + 8px); left: -14px; min-width: 220px; padding: 8px;
  border-radius: 18px; background: rgba(8, 17, 19, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
}
.cv .nav-group.is-open .nav-panel { display: block; }
.cv .nav-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: var(--text); font-size: 15px; text-decoration: none; }
.cv .nav-panel a:hover, .cv .nav-panel a[aria-current="page"] { background: var(--panel-2); color: var(--cyan-hi); }
.cv .nav-cta { position: absolute; right: calc(77 * var(--u) + 4px); top: calc(26 * var(--u) + (max(44px, 47 * var(--u)) - 38px) / 2); min-height: 38px; height: 38px; padding: 0 20px; background: var(--paper); color: var(--ink); font-size: 13.5px; }
.cv .nav-cta:hover { background: var(--cyan-wash); }
/* Between the stacked layout and ~1250px the comp-scaled pill runs out of room; tighten it so links stay on one line and clear the CTA. */
@media (min-width: 1100px) and (max-width: 1249px) {
  .cv .nav-links { gap: 14px; padding: 0 182px 0 20px; }
  .cv .nav-cta { padding: 0 16px; }
}
.cv .nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%; background: rgba(8, 17, 19, .5); color: var(--paper); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cv .nav-toggle svg { width: 24px; height: 24px; }
.cv .nav-toggle[aria-expanded="true"] { background: var(--paper); color: var(--ink); }

.cv .cv-actions { display: flex; gap: calc(16 * var(--u)); margin-top: calc(26 * var(--u)); }

/* Frosted caption cards (photo with a glass label) */
.cv .cv-glass-card { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--photo-mist); }
.cv .cv-glass-card > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.cv .cv-glass-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: calc(12 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u));
  border-radius: 0 0 var(--r-md) var(--r-md); border-top: 1px solid rgba(255, 255, 255, .35);
  background: rgba(34, 42, 50, .58); backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1);
  color: var(--paper); font-size: max(12px, calc(13 * var(--u))); line-height: 1.4; text-shadow: 0 1px 8px rgba(0, 0, 0, .2);
}
.cv .cv-glass-card figcaption strong { display: block; margin-bottom: 4px; font-size: max(12px, calc(16.5 * var(--u))); white-space: nowrap; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }

/* A photo pill set inside a sentence */
.cv .cv-pill { display: inline-block; vertical-align: middle; width: calc(128 * var(--u)); height: calc(54 * var(--u)); margin: calc(-8 * var(--u)) calc(4 * var(--u)) 0; border-radius: 999px; overflow: hidden; background: var(--photo-mist); }
.cv .cv-pill img { width: 100%; height: 100%; object-fit: cover; }

/* Below the top: "Statement" bands. Each opens with one big centred sentence holding a photo pill,
   then a wide rounded panel beside short copy, then pill facts. Bands alternate ink and logo cyan. */
.cv .cv-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cv .cv-band { padding: clamp(48px, calc(64 * var(--u)), 76px) var(--gut) clamp(48px, calc(64 * var(--u)), 76px); background: var(--ink); color: var(--text); }
.cv .cv-band-cyan { background: var(--cyan); color: var(--ink); }
.cv .cv-band-cyan ::selection { background: var(--ink); color: var(--cyan); }
.cv .cv-band-cyan :focus-visible { outline-color: var(--ink); }
.cv .cv-say { max-width: calc(1360 * var(--u)); margin: 0 auto clamp(28px, calc(44 * var(--u)), 52px); font-size: calc(66 * var(--u)); line-height: 1.12; letter-spacing: -.045em; text-align: center; }
.cv .cv-say .cv-pill { width: 1.9em; height: .94em; margin: -.14em .06em 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 10px 22px -14px rgba(0, 0, 0, .7); }
.cv .cv-say .cv-pill img { border-radius: inherit; }

.cv .cv-stage { display: grid; grid-template-columns: minmax(0, 330fr) minmax(0, 1096fr); gap: calc(44 * var(--u)); align-items: center; }
.cv .cv-stage-flip { grid-template-columns: minmax(0, 1096fr) minmax(0, 330fr); }
/* Longer explanations beside a single picture get a wider reading column. */
@media (min-width: 1100px) { .cv .cv-stage-balanced { grid-template-columns: minmax(0, 520fr) minmax(0, 880fr); } }
.cv .cv-stage-wide { grid-template-columns: minmax(0, 1fr) auto; gap: calc(64 * var(--u)); }
.cv .cv-stage-tiles { margin-top: calc(72 * var(--u)); }
.cv .cv-band > .cv-stage-tiles:first-child { margin-top: 0; }
.cv .cv-stage-tiles h3 { font-size: max(22px, calc(32 * var(--u))); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; color: var(--text); margin: 0 0 14px; }
.cv .cv-copy { padding-left: calc(18 * var(--u)); }
.cv .cv-stage-flip > .cv-copy { padding: 0 0 0 calc(6 * var(--u)); }
/* The copy column is narrow between 1100 and 1300px; there a long pill label wraps instead of overflowing the page. */
.cv .cv-copy .cv-actions { flex-wrap: wrap; }
.cv .cv-copy .cv-btn { flex: none; max-width: 100%; }
@media (max-width: 1299px) { .cv .cv-copy .cv-btn { white-space: normal; line-height: 1.25; } }
.cv .cv-copy p { max-width: 58ch; font-size: max(15px, calc(16 * var(--u))); line-height: 1.55; color: var(--text-2); }
.cv .cv-copy p:first-child, .cv .cv-copy .cv-copy-lead { font-size: max(18px, calc(23 * var(--u))); line-height: 1.32; letter-spacing: -.02em; color: var(--text); }
.cv .cv-copy p + p { margin-top: 14px; }
.cv .cv-copy a:not(.cv-btn) { color: var(--cyan-hi); }
.cv .cv-copy .cv-btn { margin-top: calc(30 * var(--u)); height: max(46px, calc(50 * var(--u))); font-size: max(15px, calc(17 * var(--u))); padding-left: calc(26 * var(--u)); gap: max(12px, calc(14 * var(--u))); }
.cv .cv-copy .cv-chip { width: 34px; height: 34px; }
.cv .cv-btn-ink { background: var(--ink); color: var(--paper); }
.cv .cv-btn-ink .cv-chip { background: var(--cyan); color: var(--ink); }
.cv .cv-btn-ink:hover { background: var(--ink-hover); }
.cv .cv-band-cyan .cv-stage > .cv-copy p { color: var(--cyan-ink); }
.cv .cv-band-cyan .cv-stage > .cv-copy p:first-child { color: var(--ink); }
.cv .cv-band-cyan .cv-stage > .cv-copy a:not(.cv-btn) { color: var(--ink); text-decoration-thickness: 1.5px; }
.cv .cv-band-cyan code { background: var(--ink); color: var(--cyan-hi); }

/* The wide rounded panel */
.cv .cv-panel { position: relative; margin: 0; padding: calc(8 * var(--u)); border: 1px solid rgba(255, 255, 255, .14); border-radius: calc(24 * var(--u)); background: var(--panel); box-shadow: 0 34px 50px -40px rgba(0, 0, 0, .9); }
.cv .cv-band-cyan .cv-panel { border-color: rgba(8, 17, 19, .5); background: var(--ink); box-shadow: 0 34px 60px -36px rgba(0, 62, 68, .75); }
.cv .cv-panel img { width: 100%; border-radius: calc(17 * var(--u)); }
.cv .cv-panel figcaption, .cv .cv-ui figcaption { font-size: max(13px, calc(14 * var(--u))); line-height: 1.45; }
.cv .cv-ui { margin: 0; }
.cv .cv-ui figcaption:not(.sr-only) { margin-top: 10px; padding: 0 6px 4px; color: var(--text-2); }
.cv .cv-frost {
  padding: calc(16 * var(--u)) calc(20 * var(--u)); border: 1px solid rgba(255, 255, 255, .2); border-radius: calc(16 * var(--u));
  background: rgba(30, 40, 46, .66); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15);
  color: rgba(255, 255, 255, .84);
}
.cv .cv-frost strong { display: block; margin-bottom: 8px; color: var(--paper); font-size: max(16px, calc(21 * var(--u))); font-weight: 500; letter-spacing: -.03em; line-height: 1.18; }
.cv .cv-frost p { font-size: max(13px, calc(15 * var(--u))); line-height: 1.42; }
.cv .cv-frost a { color: var(--cyan-hi); }
.cv .cv-panel-shot .cv-frost { position: absolute; left: calc(26 * var(--u)); bottom: calc(26 * var(--u)); max-width: calc(400 * var(--u)); }
.cv .cv-panel-side { display: grid; grid-template-columns: minmax(0, 1fr) calc(230 * var(--u)); gap: calc(8 * var(--u)); align-items: center; }
.cv .cv-panel-side .cv-frost { position: static; max-width: none; margin: 0 calc(6 * var(--u)); }
.cv .cv-stage-wide .cv-panel-side { grid-template-columns: calc(470 * var(--u)) calc(250 * var(--u)); }

.cv .cv-panel-layers { display: grid; grid-template-columns: calc(330 * var(--u)) minmax(0, 1fr) calc(210 * var(--u)); gap: calc(8 * var(--u)); align-items: stretch; }
.cv .cv-panel-layers .cv-ui { align-self: center; }
@media (min-width: 761px) { .cv .cv-panel > .cv-read { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cv .cv-pair-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-height: 100%; }
.cv .cv-pair-photos img { height: 100%; object-fit: cover; object-position: 50% 32%; }
.cv .cv-pair-photos img:first-child { border-radius: calc(17 * var(--u)) 0 0 calc(17 * var(--u)); }
.cv .cv-pair-photos img:last-child { border-radius: 0 calc(17 * var(--u)) calc(17 * var(--u)) 0; }
.cv .cv-panel-layers > .cv-frost, .cv .cv-panel-strip > .cv-frost, .cv .cv-panel-tall > .cv-frost, .cv .cv-panel-prov > .cv-frost { align-self: center; margin: 0 calc(6 * var(--u)); }

.cv .cv-panel-strip { display: grid; grid-template-columns: minmax(0, 1fr) calc(230 * var(--u)); gap: calc(14 * var(--u)); align-items: center; padding: calc(16 * var(--u)); }
.cv .cv-panel-strip .cv-ui img { max-width: 810px; }

.cv .cv-panel-brushes { display: grid; grid-template-columns: calc(250 * var(--u)) minmax(0, 1fr); gap: calc(8 * var(--u)); }
.cv .cv-panel-tall { display: grid; grid-template-columns: auto calc(280 * var(--u)); gap: calc(8 * var(--u)); align-items: center; }
.cv .cv-panel-tall .cv-ui img { width: auto; height: calc(560 * var(--u)); }
.cv .cv-panel-prov { display: grid; grid-template-columns: calc(420 * var(--u)) calc(250 * var(--u)); gap: calc(8 * var(--u)); align-items: center; }

.cv .cv-panel-inset { display: grid; grid-template-columns: calc(290 * var(--u)) minmax(0, 1fr) calc(300 * var(--u)); gap: calc(48 * var(--u)); align-items: center; padding: calc(14 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)) calc(14 * var(--u)); }
.cv .cv-panel-inset .cv-copy { padding: 0; }
.cv .cv-panel-inset > .cv-frost { margin-right: calc(10 * var(--u)); }

.cv .cv-panel-row { display: grid; gap: calc(8 * var(--u)); margin-top: calc(20 * var(--u)); }
.cv .cv-row-frames { grid-template-columns: 1fr 1.79fr 1fr 1fr 1fr; height: calc(300 * var(--u)); }
.cv .cv-row-recipes { grid-template-columns: 0.8fr 1fr 1fr; align-items: start; padding: calc(14 * var(--u)); }
.cv .cv-tile { border-radius: calc(17 * var(--u)); height: 100%; }
.cv .cv-tile > img { border-radius: 0; }
.cv .cv-tile figcaption { font-size: max(12.5px, calc(13.5 * var(--u))); }
.cv .cv-tile figcaption strong { white-space: normal; font-size: max(15px, calc(17 * var(--u))); }
.cv .cv-row-recipes .cv-tile { aspect-ratio: 1.15; height: auto; }
.cv .cv-row-recipes .cv-tile > img { object-position: 50% 100%; }
@media (min-width: 761px) { .cv .cv-row-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.cv .cv-copy p.cv-set-caption { font-size: max(14px, calc(15 * var(--u))); line-height: 1.5; letter-spacing: 0; color: var(--text-2); }

/* Pill facts */
.cv .cv-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: clamp(20px, calc(26 * var(--u)), 30px) 0 0; padding: 0; list-style: none; }
.cv .cv-facts li { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 48px; padding: 8px 24px 8px 14px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 26px; font-size: max(13.5px, calc(15 * var(--u))); line-height: 1.35; letter-spacing: -.01em; }
.cv .cv-facts svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cv .cv-facts strong { flex: none; font-weight: 500; color: var(--paper); }
.cv .cv-facts span { color: var(--text-2); padding-left: 10px; }
.cv .cv-facts a { color: var(--cyan-hi); }
.cv .cv-band-cyan .cv-facts li { border-color: transparent; background: var(--ink); color: var(--text); }

/* Close */
.cv .cv-download .cv-actions { flex-direction: column; margin-top: 0; }
.cv .cv-download .cv-actions .cv-btn { justify-content: space-between; }
.cv .cv-download > p:last-child { margin-top: 12px; }
.cv .cv-download > p > a { color: var(--cyan-hi); }
.cv .cv-close-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, calc(56 * var(--u)), 64px); align-items: center; max-width: calc(1100 * var(--u)); margin: 0 auto; padding: clamp(28px, calc(44 * var(--u)), 52px); border: 1px solid rgba(255, 255, 255, .14); border-radius: calc(26 * var(--u)); background: var(--panel); }
.cv .cv-close-copy p { max-width: 46ch; color: var(--text); font-size: max(17px, calc(20 * var(--u))); line-height: 1.4; letter-spacing: -.015em; }
.cv .cv-micro { display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 16px; background: var(--panel-2); color: var(--text-2); font-size: 13.5px; }
.cv .cv-close form { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); }
.cv .cv-close input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: 400 16px Inter, sans-serif; }
.cv .cv-close input[type="email"]::placeholder { color: var(--text-3); }
.cv .cv-close input[type="email"]:focus-visible { outline-offset: 0; }
.cv .cv-close button { min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--cyan); color: var(--ink); font: 500 15px Inter, sans-serif; cursor: pointer; }
.cv .cv-close button:hover { background: var(--cyan-hi); }
.cv .cv-close button:disabled { opacity: .6; cursor: progress; }
.cv .waitlist-error { flex-basis: 100%; padding: 0 16px 6px; color: var(--error); font-size: 14px; }
/* With an error line under the field, the pill becomes a rounded panel so the message is not squeezed into an oval. */
.cv .cv-close form:has(.waitlist-error:not(:empty)) { border-radius: 26px; }
.cv .waitlist-error:empty { display: none; }
.cv .waitlist-success { color: var(--text); font-size: 18px; }

/* Footer */
.cv .footer { padding: 56px var(--gut) 36px; background: var(--ink); color: var(--text); }
main:has(> .cv-close:last-child:not(.cv-band-cyan)) + .footer { border-top: 1px solid var(--rule); }
.cv .footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1440px; margin: 0 auto; padding-inline: calc(18 * var(--u)); }
.cv .footer-col { display: flex; flex-direction: column; gap: 2px; }
.cv .footer-title { margin-bottom: 6px; color: var(--text-3); font-size: 14px; font-weight: 500; }
.cv .footer-col a { display: flex; align-items: center; min-height: 44px; font-size: 15px; text-decoration: none; text-wrap: balance; }
.cv .footer-col a:hover { color: var(--cyan-hi); }
.cv .footer-bottom { display: flex; justify-content: space-between; gap: 16px; max-width: 1440px; margin: 40px auto 0; padding: 22px calc(18 * var(--u)) 0; border-top: 1px solid var(--rule); color: var(--text-3); font-size: 13.5px; }

/* Interior pages: a cover panel in the cyan field, text rooms and notes */
.cv .cv-cover-top { padding: calc(24 * var(--u)) var(--gut); background: var(--cyan); }
.cv .cv-cover { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(640 * var(--u)); padding: calc(150 * var(--u)) calc(56 * var(--u)) calc(52 * var(--u)); border-radius: var(--r-xl); overflow: hidden; isolation: isolate; color: var(--paper); background: var(--panel); }
.cv .cv-cover::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(8, 17, 19, .8) 0%, rgba(8, 17, 19, .55) 34%, rgba(8, 17, 19, 0) 60%), linear-gradient(0deg, rgba(8, 17, 19, .45) 0%, rgba(8, 17, 19, 0) 34%); }
.cv .cv-cover-copy { position: relative; max-width: calc(660 * var(--u)); }
.cv .cv-cover h1 { font-size: calc(76 * var(--u)); line-height: 1; letter-spacing: -.045em; }
.cv .cv-cover h1 .line { display: block; }
.cv .cv-cover-copy > p:first-of-type { margin-top: calc(20 * var(--u)); max-width: 46ch; font-size: max(17px, calc(20 * var(--u))); line-height: 1.42; letter-spacing: -.015em; color: rgba(255, 255, 255, .9); }
.cv .cv-cover .cv-actions { margin-top: calc(32 * var(--u)); }
.cv .cv-cover-note { margin-top: calc(16 * var(--u)); font-size: max(13px, calc(14 * var(--u))); color: rgba(255, 255, 255, .8); }
.cv .cv-cover-art { margin: 0; }
.cv .cv-cover-art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--art-pos, 50% 40%); }
.cv .cv-cover-art figcaption { position: absolute; right: calc(28 * var(--u)); bottom: calc(28 * var(--u)); max-width: calc(300 * var(--u)); }
.cv .cv-frost .cv-frost-kind { display: block; margin-bottom: 4px; color: var(--cyan-hi); font-size: max(12px, calc(13 * var(--u))); letter-spacing: .01em; }

.cv .cv-read { display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 720fr); gap: calc(88 * var(--u)); max-width: none; margin: 0 auto; align-items: start; }
/* A reading row with nothing in its second column centres its single text block under the band statement. */
.cv .cv-read:has(> .cv-notes:empty) { grid-template-columns: minmax(0, 1fr); }
.cv .cv-read:has(> .cv-notes:empty) > .cv-notes:empty { display: none; }
.cv .cv-read:has(> .cv-notes:empty) > .cv-copy { width: 100%; max-width: 760px; margin-inline: auto; }
.cv .cv-read:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.cv .cv-read > :only-child { width: 100%; max-width: 760px; margin-inline: auto; }
/* A stage whose picture was removed falls back to one centred reading column. */
.cv .cv-stage:not(:has(> figure, > .cv-panel)) { grid-template-columns: minmax(0, 1fr); }
.cv .cv-stage:not(:has(> figure, > .cv-panel)) > .cv-copy { width: 100%; max-width: 760px; margin-inline: auto; padding: 0; }
.cv .cv-read > .cv-copy { padding: 0; }
.cv .cv-notes p { max-width: 62ch; font-size: max(16px, calc(17 * var(--u))); line-height: 1.6; color: var(--text-2); }
.cv .cv-notes > p + p { margin-top: 16px; }
.cv .cv-notes a:where(:not(.cv-btn)) { color: var(--cyan-hi); }
.cv .cv-note { padding-top: 22px; border-top: 1px solid var(--rule); }
.cv .cv-note + .cv-note, .cv :is(.cv-notes, .cv-copy) > p + .cv-note { margin-top: 28px; }
.cv .cv-note p + p { margin-top: 12px; }
.cv .cv-copy .cv-note:first-child { margin-top: 0; }
.cv .cv-notes p.cv-note-tag { font-size: max(14px, calc(15 * var(--u))); font-weight: 600; letter-spacing: .01em; }
.cv .cv-copy .cv-note { margin-top: 28px; }
.cv .cv-note h3 { margin-bottom: 10px; color: var(--text); font-size: max(19px, calc(23 * var(--u))); line-height: 1.25; letter-spacing: -.025em; }
.cv .cv-band-cyan .cv-notes p { color: var(--cyan-ink); }
.cv .cv-band-cyan .cv-notes a:where(:not(.cv-btn)) { color: var(--ink); text-decoration-thickness: 1.5px; }
.cv .cv-band-cyan .cv-note { border-top-color: rgba(8, 17, 19, .24); }
.cv .cv-band-cyan .cv-note h3 { color: var(--ink); }
.cv .cv-band-cyan .cv-panel :focus-visible, .cv .cv-band-cyan .cv-close-panel :focus-visible { outline-color: var(--cyan); }
.cv .cv-band-cyan .cv-close-panel ::selection { background: var(--cyan); color: var(--ink); }

/* The interior cover copy settles in on load, matching the Canvas hero. */
@media (prefers-reduced-motion: no-preference) {
  .cv .cv-cover-copy { animation: cv-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes cv-rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
}

/* Narrower desktops keep the comp proportions down to 1100px; below that the collage stacks. */
@media (max-width: 1099px) {
  .cv { --u: calc(1100px / 1536); --gut: 16px; --r-xl: 26px; --r-lg: 20px; --r-md: 14px; }
  .cv .nav { top: 12px; left: 16px; right: 16px; width: auto; }
  .cv .nav-inner { padding: 14px 14px 0 22px; }
  .cv .brand img { width: 120px; }
  /* Hold contrast behind the white home link, then fade back into the photograph. */
  .cv .cv-cover:not(.cv-cover-plain)::after, .cv .cv-hero::before {
    content: ''; position: absolute; inset: 0 0 auto; height: 120px; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 17, 19, .55) 0 64px, rgba(8, 17, 19, 0) 120px);
  }
  .cv .nav .nav-toggle { background: var(--ink); color: var(--paper); }
  .cv .nav.nav-ready .nav-toggle { display: inline-flex; }
  .cv .nav.nav-ready .nav-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 18px 16px; border-radius: 22px; background: rgba(8, 17, 19, .94);
  }
  .cv .nav.is-open .nav-links { display: flex; }
  .cv .nav.nav-ready .nav-links > a, .cv .nav.nav-ready .nav-group-btn { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .cv .nav.nav-ready .nav-links > a:last-child { border-bottom: 0; }
  .cv .nav.nav-ready .nav-panel { position: static; padding: 0 0 8px 10px; background: none; box-shadow: none; backdrop-filter: none; }
  .cv .nav:not(.nav-ready) .nav-inner { flex-wrap: wrap; }
  .cv .nav:not(.nav-ready) .nav-links { flex-wrap: wrap; height: auto; padding: 6px 18px; }
  .cv .nav-cta { position: static; height: 44px; min-height: 44px; padding: 0 18px; font-size: 14px; }

  .cv .cv-actions { flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .cv .cv-glass-card figcaption { font-size: 13px; padding: 12px 14px 14px; }
  .cv .cv-glass-card figcaption strong { font-size: 17px; white-space: normal; }
  .cv .footer-inner, .cv .footer-bottom { padding-inline: 8px; }
  .cv .cv-band { padding: 64px 16px 64px; }
  .cv .cv-say { max-width: 20ch; font-size: clamp(36px, 5.6vw, 52px); }
  .cv .cv-stage, .cv .cv-stage-flip, .cv .cv-stage-wide { grid-template-columns: 1fr; gap: 28px; }
  .cv .cv-stage-flip > .cv-copy { order: -1; }
  .cv .cv-copy, .cv .cv-stage-flip > .cv-copy { padding: 0 4px; }
  .cv .cv-panel { padding: 8px; border-radius: 22px; }
  .cv .cv-panel img, .cv .cv-tile { border-radius: 15px; }
  .cv .cv-stage-wide .cv-panel { justify-self: start; }
  .cv .cv-stage-wide .cv-panel-side { grid-template-columns: minmax(0, 1fr) 240px; }
  /* Keep the shrink-wrapped screenshot panel stable before its image loads. */
  .cv .cv-stage-wide .cv-panel-side > img { width: 656px; }
  .cv .cv-panel-side { grid-template-columns: minmax(0, 1fr) 230px; }
  .cv .cv-panel-prov { grid-template-columns: minmax(0, 420px) 250px; }
  .cv .cv-panel-tall { grid-template-columns: auto 280px; }
  .cv .cv-panel-tall .cv-ui img { height: 520px; }
  .cv .cv-panel-inset { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 14px; }
  .cv .cv-panel-inset > .cv-frost { grid-column: 1 / -1; margin: 0; }
  .cv .cv-panel-layers { grid-template-columns: 260px minmax(0, 1fr); }
  .cv .cv-panel-layers > .cv-frost { grid-column: 1 / -1; margin: 4px 0 0; }
  .cv .cv-panel-brushes { grid-template-columns: 240px minmax(0, 1fr); }
  .cv .cv-frost { padding: 16px 18px; border-radius: 16px; }
  .cv .cv-panel-shot .cv-frost { left: 22px; bottom: 22px; max-width: 360px; }
  .cv .cv-row-frames { grid-template-columns: 1fr 1fr; height: auto; }
  .cv .cv-row-frames .cv-tile { aspect-ratio: 4 / 3; }
  .cv .cv-close-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .cv .nav-cta { display: none; }
  .cv .cv-actions .cv-btn { flex: 1 1 100%; justify-content: space-between; }
  .cv .footer-inner { grid-template-columns: 1fr 1fr; }
  .cv .footer-bottom { flex-direction: column; }
  .cv .cv-band { padding: 56px 12px; }
  .cv .cv-say { max-width: none; font-size: clamp(30px, 8.6vw, 38px); line-height: 1.16; }
  .cv .cv-panel-side, .cv .cv-stage-wide .cv-panel-side, .cv .cv-panel-prov, .cv .cv-panel-tall, .cv .cv-panel-inset, .cv .cv-panel-layers, .cv .cv-panel-brushes, .cv .cv-panel-strip, .cv .cv-row-frames, .cv .cv-row-recipes { grid-template-columns: 1fr; }
  .cv .cv-stage-wide .cv-panel { justify-self: stretch; }
  .cv .cv-stage-wide .cv-panel-side > img { width: 100%; }
  .cv .cv-panel-shot .cv-frost { position: static; max-width: none; margin-top: 8px; }
  .cv .cv-panel-side .cv-frost, .cv .cv-panel-layers > .cv-frost, .cv .cv-panel-strip > .cv-frost, .cv .cv-panel-tall > .cv-frost, .cv .cv-panel-prov > .cv-frost, .cv .cv-panel-inset > .cv-frost { margin: 0; }
  .cv .cv-pair-photos { aspect-ratio: 3 / 2; }
  /* Capped images need their declared ratio to reserve their width before lazy loading. */
  .cv .cv-panel-tall .cv-ui img, .cv .cv-panel-brushes .cv-ui img, .cv .cv-panel-inset .cv-ui img { width: min(100%, calc(520px * var(--image-ratio))); height: auto; max-height: 520px; margin-inline: auto; }
  .cv .cv-panel-inset .cv-copy { padding: 4px 6px; }
  .cv .cv-row-frames .cv-tile { aspect-ratio: 1 / 1; }
  .cv .cv-row-frames .cv-tile:nth-child(2) { aspect-ratio: 16 / 10; }
  .cv .cv-row-recipes .cv-tile { aspect-ratio: 4 / 3; }
  .cv .cv-facts { justify-content: stretch; }
  .cv .cv-facts li { width: 100%; align-items: flex-start; flex-wrap: wrap; row-gap: 2px; padding: 14px 18px; border-radius: 20px; }
  .cv .cv-facts strong { flex: 1 1 0; min-width: 0; }
  .cv .cv-facts span { flex-basis: 100%; padding-left: 36px; }
  .cv .cv-close-panel { padding: 24px 20px; border-radius: 22px; }
  .cv .cv-close form { border-radius: 26px; }
  .cv .cv-close button { flex: 1 1 100%; }
}

@media (max-width: 1099px) {
  .cv .cv-cover-top { padding: 12px 16px; }
  .cv .cv-cover { min-height: min(80vh, 760px); padding: 120px 28px 32px; }
  .cv .cv-cover::before { background: linear-gradient(0deg, rgba(8, 17, 19, .92) 0%, rgba(8, 17, 19, .74) 48%, rgba(8, 17, 19, .3) 72%, rgba(8, 17, 19, 0) 88%); }
  .cv .cv-cover h1 { font-size: clamp(42px, 7vw, 64px); }
  .cv .cv-cover-copy { max-width: 620px; }
  .cv .cv-cover-copy > p:first-of-type { font-size: 18px; }
  .cv .cv-cover-art figcaption { position: relative; right: auto; bottom: auto; display: inline-block; max-width: 340px; margin-top: 24px; }
  .cv .cv-read { grid-template-columns: 1fr; gap: 28px; max-width: 760px; margin: 0; }
  .cv .cv-read > .cv-copy { padding: 0 4px; }
  .cv .cv-notes { padding: 0 4px; }
}

@media (max-width: 760px) {
  .cv .cv-cover { min-height: 0; padding: 300px 20px 24px; }
  .cv .cv-cover-art img { object-position: var(--art-pos-sm, var(--art-pos, 50% 40%)); }
  .cv .cv-cover h1 { font-size: clamp(40px, 12vw, 52px); }
  .cv .cv-cover-copy > p:first-of-type { font-size: 17px; }
  .cv .cv-cover-art figcaption { display: block; max-width: none; }
}

/* Plans: one rounded panel holding plan columns divided by rules. The featured column is filled cyan,
   like a photo set inside a panel. Each column shares row tracks so names, prices and buttons line up. */
.cv .cv-lede { max-width: 62ch; margin: 0 auto; text-align: center; color: var(--text-2); font-size: max(17px, calc(20 * var(--u))); line-height: 1.45; letter-spacing: -.015em; }
.cv .cv-band-cyan .cv-lede { color: var(--cyan-ink); }
.cv .cv-lede ~ .cv-actions { justify-content: center; }
.cv .cv-plans {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto);
  max-width: none; margin: clamp(28px, calc(44 * var(--u)), 52px) auto 0; padding: calc(8 * var(--u));
  border: 1px solid rgba(255, 255, 255, .14); border-radius: calc(24 * var(--u)); background: var(--panel); box-shadow: 0 34px 50px -40px rgba(0, 0, 0, .9);
}
.cv .cv-plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; padding: calc(34 * var(--u)) calc(34 * var(--u)) calc(38 * var(--u)); }
.cv .cv-plan + .cv-plan { border-left: 1px solid var(--rule); }
.cv .cv-plan-featured, .cv .cv-plan-featured + .cv-plan { border-left-color: transparent; }
.cv .cv-plan-featured { border-radius: calc(17 * var(--u)); background: var(--cyan); color: var(--ink); }
.cv .cv-plan h2 { font-size: max(24px, calc(30 * var(--u))); line-height: 1.1; letter-spacing: -.035em; }
.cv .cv-plan-who { margin-top: 8px; color: var(--text-2); font-size: max(15px, calc(16 * var(--u))); line-height: 1.45; }
.cv .cv-plan-price { margin-top: calc(30 * var(--u)); font-size: max(52px, calc(80 * var(--u))); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
.cv .cv-plan-price small { display: block; margin-top: 12px; color: var(--text-2); font-size: max(14px, calc(15 * var(--u))); font-weight: 400; line-height: 1.4; letter-spacing: -.01em; }
.cv .cv-plan .cv-btn { justify-content: space-between; width: 100%; height: max(46px, calc(50 * var(--u))); margin-top: calc(28 * var(--u)); }
.cv .cv-plan-list { margin: calc(30 * var(--u)) 0 0; padding: 0; list-style: none; }
.cv .cv-plan-list li { position: relative; padding: 11px 0 11px 28px; border-top: 1px solid var(--rule); font-size: max(15px, calc(16 * var(--u))); line-height: 1.45; }
.cv .cv-plan-list li::before { content: ''; position: absolute; left: 5px; top: calc(11px + .36em); width: 6px; height: 11px; border: solid var(--cyan); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.cv .cv-plan-list a { color: var(--cyan-hi); }
.cv .cv-plan-note { margin-top: 24px; padding: 16px 18px; border-radius: 14px; background: var(--panel-2); color: var(--text-2); font-size: max(14px, calc(14.5 * var(--u))); line-height: 1.5; }
.cv .cv-plan-featured .cv-plan-who, .cv .cv-plan-featured .cv-plan-price small { color: var(--cyan-ink); }
.cv .cv-plan-featured .cv-plan-list li { border-top-color: rgba(8, 17, 19, .22); }
.cv .cv-plan-featured .cv-plan-list li::before { border-color: var(--ink); }
.cv .cv-plan-featured .cv-plan-list a { color: var(--ink); text-decoration-thickness: 1.5px; }
.cv .cv-plan-featured ::selection { background: var(--ink); color: var(--cyan); }
.cv .cv-plan-featured :focus-visible { outline-color: var(--ink); }

/* Plan labels inside note headings, and notes set in two columns */
.cv .cv-tag { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 999px; background: var(--panel-2); color: var(--cyan-hi); font-size: 13.5px; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.cv .cv-band-cyan .cv-tag { background: var(--ink); }
.cv .cv-lede + .cv-notes-grid { margin-top: clamp(28px, calc(44 * var(--u)), 52px); }
.cv .cv-notes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 calc(88 * var(--u)); max-width: none; margin: 0 auto; }
.cv .cv-notes-grid > .cv-note, .cv .cv-notes-grid > p { margin: 0; padding-bottom: 34px; }
.cv .cv-notes-grid > p { padding-top: 22px; border-top: 1px solid var(--rule); }
.cv .cv-band-cyan .cv-notes-grid > p { border-top-color: rgba(8, 17, 19, .24); }
/* A closing paragraph in a notes grid is a footnote for the whole grid, not an unlabelled cell. */
.cv .cv-notes-grid > p:last-child { grid-column: 1 / -1; max-width: 72ch; padding-top: 6px; border-top: 0; font-size: max(14px, calc(15 * var(--u))); }

@media (max-width: 1099px) {
  .cv .cv-notes-grid { gap: 0 28px; max-width: none; padding: 0 4px; }
}
@media (max-width: 900px) {
  .cv .cv-plans { grid-template-columns: 1fr; grid-template-rows: none; padding: 8px; border-radius: 22px; }
  .cv .cv-plan { display: block; grid-row: auto; padding: 26px 20px 28px; }
  .cv .cv-plan + .cv-plan { border-left: 0; border-top: 1px solid var(--rule); }
  .cv .cv-plan-featured, .cv .cv-plan-featured + .cv-plan { border-top-color: transparent; }
  .cv .cv-plan-featured { border-radius: 15px; }
  .cv .cv-plan-price { margin-top: 22px; }
  .cv .cv-plan .cv-btn { margin-top: 22px; }
  .cv .cv-plan-list { margin-top: 22px; }
}
@media (max-width: 760px) {
  .cv .cv-notes-grid { grid-template-columns: 1fr; }
  .cv .cv-lede { padding: 0 4px; text-align: left; }
}

/* Plain covers (no photo) for the utility and legal pages, the long-reading column and the invitation */
.cv [hidden] { display: none !important; }
.cv .cv-cover-plain { min-height: calc(560 * var(--u)); }
.cv .cv-cover-plain::before { content: none; }
.cv .cv-cover-copy > p.cv-cover-status { color: var(--cyan-hi); font-size: max(15px, calc(17 * var(--u))); letter-spacing: -.01em; }
.cv .cv-cover-copy > .cv-cover-lead { margin-top: calc(14 * var(--u)); max-width: 46ch; font-size: max(17px, calc(20 * var(--u))); line-height: 1.42; letter-spacing: -.015em; color: rgba(255, 255, 255, .9); }
.cv .cv-actions-links { flex-wrap: wrap; align-items: center; column-gap: calc(28 * var(--u)); }
.cv .cv-actions-links > a:not(.cv-btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); font-size: 15px; }
.cv .cv-actions-links > a:not(.cv-btn):hover { color: var(--cyan-hi); }
.cv .cv-actions-links > .cv-btn { margin-right: calc(4 * var(--u)); }
.cv .cv-upsell { margin-top: calc(34 * var(--u)); }
.cv .cv-upsell p { margin-bottom: 14px; color: var(--text-2); font-size: max(15px, calc(16 * var(--u))); }
.cv .cv-upsell:empty { display: none; }

.cv .cv-cover-doc { min-height: calc(420 * var(--u)); }
.cv .cv-cover-doc .cv-cover-copy { width: 100%; max-width: 760px; margin-inline: auto; }
.cv .cv-cover .legal-meta { margin-top: 18px; color: var(--text-2); font-size: 14.5px; }

.cv .legal-wrap { --fg-mute: var(--text-3); max-width: 760px; margin: 0 auto; padding: clamp(48px, calc(80 * var(--u)), 88px) 0 clamp(72px, calc(120 * var(--u)), 128px); color: var(--text-2); }
.cv .legal-wrap > * + * { margin-top: 18px; }
.cv .legal-wrap :is(h2, h3) { text-wrap: pretty; }
.cv .legal-wrap p, .cv .legal-wrap li { font-size: 17px; line-height: 1.72; }
.cv .legal-wrap strong { color: var(--text); font-weight: 600; }
.cv .legal-wrap a { color: var(--cyan-hi); }
.cv .legal-wrap ul { margin-bottom: 0; padding-left: 1.25em; }
.cv .legal-wrap li + li { margin-top: 8px; }
.cv .legal-wrap li::marker { color: var(--cyan); }
.cv .legal-wrap h2 { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--rule); color: var(--text); font-size: max(26px, calc(34 * var(--u))); line-height: 1.15; letter-spacing: -.03em; }
.cv .legal-wrap h3 { margin-top: 36px; color: var(--text); font-size: max(19px, calc(21 * var(--u))); line-height: 1.3; letter-spacing: -.02em; }
.cv .legal-wrap h2 + *, .cv .legal-wrap h3 + * { margin-top: 14px; }
.cv .legal-wrap .tldr { padding: 26px 30px 28px; border-radius: var(--r-lg); background: var(--cyan); color: var(--cyan-ink); }
.cv .legal-wrap .tldr strong { color: var(--ink); }
.cv .legal-wrap .tldr ::selection { background: var(--ink); color: var(--cyan); }
.cv .legal-wrap .callout { margin-top: 24px; padding: 22px 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); background: var(--panel); font-size: 17px; line-height: 1.65; }
.cv .legal-wrap table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 14.5px; line-height: 1.5; }
.cv .legal-wrap th { padding: 0 16px 12px 0; border-bottom: 1px solid var(--rule); color: var(--text-3); font-size: 13.5px; font-weight: 500; text-align: left; }
.cv .legal-wrap td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cv .legal-wrap td:first-child { color: var(--text); }

.cv .cv-cover-invite .cv-cover-copy { max-width: 680px; }
.cv .cv-invite-fallback { margin-top: calc(40 * var(--u)); padding: 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); }
.cv .cv-invite-fallback p { color: var(--text-2); font-size: 16px; line-height: 1.55; }
.cv .cv-invite-fallback .cv-btn { margin-top: 18px; }
.cv .cv-invite-fallback textarea { display: block; width: 100%; min-height: 88px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--ink); color: var(--text); font: 400 15px/1.5 Inter, sans-serif; resize: vertical; }
.cv .cv-invite-fallback textarea:focus-visible { outline-offset: 2px; }
.cv .cv-btn-line { margin-top: 12px; padding: 0 22px; border: 1px solid rgba(255, 255, 255, .34); background: transparent; color: var(--paper); font-family: Inter, sans-serif; cursor: pointer; }
.cv .cv-btn-line:hover { background: rgba(255, 255, 255, .08); }
.cv .cv-invite-fallback [role="status"] { min-height: 1.5em; margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
.cv .cv-invite-invalid { margin-top: 22px; color: var(--paper); font-size: max(17px, calc(19 * var(--u))); }

/* Standalone legal pages carry a nav with no call-to-action, so the pill needs no room for one. */
.cv .nav-links:last-child { padding-right: max(26px, calc(36 * var(--u))); }

@media (max-width: 1099px) {
  .cv .cv-cover-plain { min-height: 0; }
  .cv .cv-cover-copy > .cv-cover-lead { font-size: 18px; }
  .cv .cv-cover-doc .cv-cover-copy { max-width: 760px; }
  .cv .legal-wrap { width: calc(100% - 88px); }
}

@media (max-width: 760px) {
  .cv .cv-cover-plain { padding-top: 120px; }
  .cv .cv-cover-copy > .cv-cover-lead { font-size: 17px; }
  .cv .cv-actions-links > a:not(.cv-btn) { flex: none; }
  .cv .legal-wrap { width: calc(100% - 2 * var(--gut)); }
  .cv .legal-wrap h2 { margin-top: 52px; }
  .cv .legal-wrap .tldr, .cv .legal-wrap .callout { padding: 20px; border-radius: 18px; }
  .cv .cv-invite-fallback { padding: 18px; }
  .cv .cv-invite-fallback .cv-btn, .cv .cv-btn-line { width: 100%; justify-content: space-between; }
  .cv .cv-btn-line { justify-content: center; }
}

/* Small screens: each table row becomes a labelled card. */
@media (max-width: 640px) {
  .cv .legal-wrap table, .cv .legal-wrap tbody, .cv .legal-wrap tr, .cv .legal-wrap td { display: block; width: 100%; }
  .cv .legal-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cv .legal-wrap tbody { display: grid; gap: 16px; }
  .cv .legal-wrap tr { padding-top: 6px; border-top: 1px solid var(--rule); }
  .cv .legal-wrap td { position: relative; padding: 12px 0 12px calc(38% + 10px); border-bottom: 0; overflow-wrap: anywhere; }
  .cv .legal-wrap td::before { content: attr(data-label); position: absolute; top: 14px; left: 0; width: 38%; color: var(--text-3); font: 500 12px/1.5 Inter, sans-serif; }
}

/* Pale cover art: body class cv-nav-solid gives the nav a solid ground, and cv-cover-deep (on .cv-cover)
   darkens the scrim behind the stacked copy below 1100px. */
.cv.cv-nav-solid .nav-links, .cv.cv-nav-solid .nav-toggle { background: var(--ink); }

/* cv-reading keeps these reading overrides off existing page layouts.
   Brand teams and Compare: a cover eyebrow, wide panels for screenshots and artwork, a row of works with
   captions, reading headings beside notes, linked notes, and a three-column list of notes. */
.cv .cv-after { margin-top: clamp(32px, calc(56 * var(--u)), 64px); }
.cv .cv-panel-wide { max-width: none; margin-inline: auto; }
.cv .cv-panel-side.cv-panel-wide { grid-template-columns: minmax(0, 1fr) calc(280 * var(--u)); }
.cv:where(.cv-reading) .cv-frost h3 { margin-bottom: 8px; color: var(--paper); font-size: max(16px, calc(21 * var(--u))); line-height: 1.18; letter-spacing: -.03em; }
.cv:where(.cv-reading) .cv-frost .cv-frost-kind + p, .cv:where(.cv-reading) .cv-frost p + p { margin-top: 8px; }

.cv .cv-row-works { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(14 * var(--u)); max-width: none; margin: 0 auto; padding: calc(14 * var(--u)); }
.cv:where(.cv-reading) .cv-ui .cv-frost-kind { display: block; margin-bottom: 2px; color: var(--cyan-hi); font-size: max(12px, calc(13 * var(--u))); letter-spacing: .01em; }
.cv:where(.cv-reading) .cv-ui figcaption strong { display: block; color: var(--text); font-size: max(15px, calc(17 * var(--u))); font-weight: 500; letter-spacing: -.015em; }
.cv:where(.cv-reading) .cv-ui figcaption p { margin-top: 4px; }

.cv:where(.cv-reading) .cv-read > .cv-copy > h3 { margin-bottom: 18px; font-size: max(26px, calc(40 * var(--u))); line-height: 1.1; letter-spacing: -.035em; }
.cv:where(.cv-reading) .cv-notes > p + .cv-note { margin-top: 28px; }
.cv:where(.cv-reading) .cv-band-cyan .cv-read > .cv-copy p { color: var(--cyan-ink); }
.cv:where(.cv-reading) .cv-band-cyan .cv-read > .cv-copy p:first-child, .cv:where(.cv-reading) .cv-band-cyan .cv-read > .cv-copy .cv-copy-lead { color: var(--ink); }
.cv:where(.cv-reading) .cv-band-cyan .cv-read > .cv-copy a:where(:not(.cv-btn)) { color: var(--ink); text-decoration-thickness: 1.5px; }

.cv .cv-note-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; color: var(--cyan-hi); font-size: max(15px, calc(16 * var(--u))); font-weight: 500; text-decoration: none; }
.cv .cv-note-link:hover { text-decoration: underline; }
.cv ul.cv-notes-grid { padding-inline: 0; list-style: none; }
.cv .cv-notes-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, calc(64 * var(--u)), 72px); }

.cv .cv-close-copy .cv-close-note { margin-top: 14px; color: var(--text-2); font-size: max(15px, calc(16 * var(--u))); line-height: 1.5; letter-spacing: 0; }
.cv:where(.cv-reading) .cv-close-copy a { color: var(--cyan-hi); }

@media (max-width: 1099px) {
  .cv .cv-cover.cv-cover-deep::before { background: linear-gradient(0deg, rgba(8, 17, 19, .92) 0%, rgba(8, 17, 19, .8) 58%, rgba(8, 17, 19, .25) 88%, rgba(8, 17, 19, .1) 100%); }
  .cv ul.cv-notes-grid { padding-inline: 4px; }
  .cv .cv-panel-side.cv-panel-wide { grid-template-columns: minmax(0, 1fr) 250px; }
  .cv .cv-row-works { gap: 8px; padding: 8px; }
  .cv .cv-notes-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .cv .cv-panel-side.cv-panel-wide, .cv .cv-row-works, .cv .cv-notes-grid-3 { grid-template-columns: 1fr; }
}

/* Cover side panel: the Canvas hero's overlapping pair, carried to the interior covers.
   The cover narrows to the Canvas hero width and a dark panel with two glass cards
   overlaps its right edge; the panel's height follows the cover. */
.cv .cv-has-side { position: relative; }
.cv .cv-side { color: var(--paper); background: var(--ink); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(0, 40, 44, .55); }
.cv .cv-side h2 { font-size: calc(36 * var(--t)); line-height: 1.06; letter-spacing: -.04em; font-weight: 500; }
.cv .cv-side h2 span { display: block; }
.cv .cv-side-cards { display: grid; grid-template-columns: 1fr 1fr; gap: calc(12 * var(--u)); }
.cv .cv-side .cv-glass-card figcaption { min-height: calc(93 * var(--u)); }
.cv .cv-side .cv-glass-card .cv-frost-kind { display: block; margin-bottom: 4px; color: var(--cyan-hi); font-size: max(11px, calc(12 * var(--u))); letter-spacing: .01em; }
@media (min-width: 1100px) {
  .cv:has(.cv-has-side) { --nav-w: calc(1025 * var(--u)); }
  .cv .cv-has-side .cv-cover { width: calc(1025 * var(--u)); }
  .cv .cv-has-side .cv-cover-copy { max-width: calc(600 * var(--u)); }
  .cv .cv-has-side .cv-cover h1 { font-size: calc(66 * var(--u)); }
  .cv .cv-has-side .cv-cover:not(.cv-cover-plain)::before { background: linear-gradient(90deg, rgba(8, 17, 19, .84) 0%, rgba(8, 17, 19, .62) 42%, rgba(8, 17, 19, 0) 68%), linear-gradient(0deg, rgba(8, 17, 19, .45) 0%, rgba(8, 17, 19, 0) 34%); }
  /* Beside the panel the cover's frosted label becomes the Canvas hero's one-line credit. */
  .cv .cv-has-side .cv-cover-art figcaption { right: calc(78 * var(--u)); bottom: calc(14 * var(--u)); max-width: none; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 12px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(8, 17, 19, .5); }
  .cv .cv-has-side .cv-cover-art figcaption > * { display: inline; margin: 0; font-size: 12px; letter-spacing: 0; line-height: 1.4; }
  .cv .cv-has-side .cv-cover-art figcaption .cv-frost-kind::after { content: ' \00b7 '; color: rgba(255, 255, 255, .7); }
  .cv .cv-side { position: absolute; z-index: 3; top: calc(65 * var(--u)); bottom: calc(63 * var(--u)); left: calc(1001 * var(--u)); width: calc(506 * var(--u)); display: flex; flex-direction: column; padding: calc(50 * var(--u)) calc(22 * var(--u)) calc(24 * var(--u)) calc(24 * var(--u)); }
  .cv .cv-side h2 { padding-left: calc(9 * var(--u)); }
  .cv .cv-side-cards { flex: 1; min-height: 0; margin-top: calc(22 * var(--u)); }
}
/* Narrow desktops: keep each heading line on one line so the cards keep their height. */
@media (min-width: 1100px) and (max-width: 1299px) { .cv .cv-side h2 { font-size: calc(32 * var(--t)); } }
@media (prefers-reduced-motion: no-preference) {
  .cv .cv-side { animation: cv-rise .9s .18s cubic-bezier(.16, 1, .3, 1) both; }
}
@media (max-width: 1099px) {
  .cv .cv-has-side { padding-bottom: 28px; }
  .cv .cv-has-side .cv-cover { padding-bottom: 68px; }
  .cv .cv-side { position: relative; margin: -36px 12px 0; padding: 28px 18px 18px; }
  .cv .cv-side h2 { font-size: clamp(28px, 5vw, 40px); padding-left: 4px; }
  .cv .cv-side-cards { gap: 10px; margin-top: 20px; }
  .cv .cv-side .cv-glass-card { aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
  .cv .cv-side { margin: -28px 8px 0; }
  .cv .cv-has-side .cv-cover { padding-bottom: 52px; }
  .cv .cv-side-cards { grid-template-columns: 1fr; }
  .cv .cv-side .cv-glass-card { aspect-ratio: 5 / 4; }
  .cv .cv-side .cv-glass-card > img { object-position: 50% 25%; }
}

/* Peer notes: when a reading block holds only notes (one on the left, the rest on the right),
   lay them out as one even row (three) or grid (four) instead of a lopsided 1 + n split. */
@media (min-width: 761px) {
  .cv .cv-read:has(> .cv-copy > .cv-note:only-child):has(> .cv-notes > .cv-note):not(:has(> .cv-notes > :not(.cv-note))) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 calc(56 * var(--u)); }
  .cv .cv-read:has(> .cv-copy > .cv-note:only-child):has(> .cv-notes > .cv-note:nth-child(3):last-child):not(:has(> .cv-notes > :not(.cv-note))) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 calc(88 * var(--u)); }
  .cv .cv-read:has(> .cv-copy > .cv-note:only-child):has(> .cv-notes > .cv-note):not(:has(> .cv-notes > :not(.cv-note))) > :is(.cv-copy, .cv-notes) { display: contents; }
  .cv .cv-read:has(> .cv-copy > .cv-note:only-child):has(> .cv-notes > .cv-note):not(:has(> .cv-notes > :not(.cv-note))) .cv-note { margin: 0; padding-bottom: 34px; }
}

/* A row of related links: each link its own arrowed item instead of a run-on paragraph. */
.cv .cv-links { display: flex; flex-wrap: wrap; gap: 4px calc(28 * var(--u)); }
.cv .cv-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; }
.cv .cv-links a::after { content: ''; flex: none; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13m-5-5 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13m-5-5 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s cubic-bezier(.16, 1, .3, 1); }
.cv .cv-links a:hover::after { transform: translateX(2px); }
.cv .cv-read > .cv-copy:only-child > .cv-links:only-child, .cv .cv-read:has(> .cv-notes:empty) > .cv-copy > .cv-links:only-child { justify-content: center; }
