/* Rabetta, Version B, "Studio" direction, with a design-engineering pass (emil-design-eng skill): the calm Apple-style layout with poster-style hard shadows,
   ivory panels and a camera REC light and timecode. One coral accent, motion that responds to you. */

:root {
  /* brand colours */
  --ink: #141414;
  --coral: #F2452E;
  --white: #FFFFFF;
  /* supporting shades of the brand ink */
  --ink-2: #3b3b3d;
  --muted: #6e6e73;
  --line: #e3e3e6;
  --mist: #f5f5f7;
  --coral-press: #d93a25;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-dark: rgba(20, 20, 20, 0.72);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", sans-serif;

  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(242, 69, 46, 0.18); }

/* type scale: tracking tightens as size grows, leading tightens too */
.display { font-size: clamp(2.9rem, 7.4vw, 6.4rem); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; }
.headline { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.title { font-size: clamp(1.35rem, 1.6vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink-2); }
.body { color: var(--ink-2); }
.small { font-size: 0.9375rem; color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * 0.6); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.stack > * + * { margin-top: 20px; }
.measure { max-width: 30ch; }
.measure-wide { max-width: 42ch; }

/* ---------- top bar: translucent glass, content scrolls underneath ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav::after { /* scroll edge: a soft fade, shown only once content is underneath */
  content: ""; position: absolute; inset: 100% 0 auto; height: 1px;
  background: var(--line); opacity: 0; transition: opacity 200ms ease;
}
.nav.scrolled::after { opacity: 1; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav .logo img { height: 30px; width: auto; }
.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav .links a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-size: 0.9375rem; color: var(--ink-2);
  transition: background-color 160ms ease, color 160ms ease;
}
.nav .links a:hover { background: rgba(20, 20, 20, 0.05); color: var(--ink); }
.nav .links a:active { background: rgba(20, 20, 20, 0.09); }
.nav .links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .links a.btn { color: var(--white); background: var(--coral); padding: 0 16px; height: 36px; min-height: 36px; margin-left: 10px; font-weight: 600; }
.nav .links a.btn:hover { background: var(--coral-press); }
.nav .links a.btn:active { transform: scale(0.97); }
.menu-btn { display: none; }

@media (max-width: 760px) {
  .nav .links li:not(:last-child) { display: none; }
  .nav .links a.btn { margin-left: 0; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px;
    background: transparent; cursor: pointer; transition: background-color 160ms ease, transform 100ms ease-out;
  }
  .menu-btn:active { transform: scale(0.94); background: rgba(20, 20, 20, 0.07); }
  .menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform 240ms var(--ease-out); }
  .menu-btn span::before { content: ""; position: absolute; top: 6px; }
  .menu-btn span { transform: translateY(-3px); }
  .nav.open .menu-btn span { transform: translateY(0) rotate(45deg); }
  .nav.open .menu-btn span::before { transform: translateY(-6px) rotate(-90deg); }
  .nav-right { display: flex; align-items: center; gap: 4px; }
}

/* mobile menu sheet, grows from the menu button (top right) and goes back the same way */
.sheet {
  position: absolute; top: 64px; right: 12px; left: 12px;
  padding: 10px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 24px 60px rgba(20, 20, 20, 0.16), 0 0 0 1px rgba(20, 20, 20, 0.06);
  transform-origin: top right;
  transform: scale(0.92) translateY(-6px); opacity: 0; visibility: hidden;
  transition: transform 280ms var(--ease-out), opacity 200ms ease, visibility 0s linear 280ms;
}
.nav.open .sheet { transform: none; opacity: 1; visibility: visible; transition: transform 320ms var(--ease-out), opacity 160ms ease; }
.sheet a { display: flex; align-items: center; height: 52px; padding: 0 16px; border-radius: var(--radius-sm); text-decoration: none; font-size: 1.125rem; font-weight: 600; }
.sheet a:active { background: rgba(20, 20, 20, 0.06); }
@media (min-width: 761px) { .sheet { display: none; } }

/* ---------- buttons: feedback on press, instantly ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--coral); color: var(--white);
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: transform 100ms ease-out, background-color 160ms ease;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.btn:hover { background: var(--coral-press); }
.btn:active, .btn.pressed { transform: scale(0.97); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 0.9375rem; }
.btn.dark { background: var(--ink); }
.btn.dark:hover { background: #2b2b2d; }
.btn.light { background: var(--white); color: var(--ink); }
.btn.light:hover { background: var(--mist); }
.textlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: none; touch-action: manipulation;
}
.textlink svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.textlink:hover svg { transform: translateX(3px); }
.textlink:hover { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1.5px; }
.textlink:active { opacity: 0.6; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.center .actions { justify-content: center; }

/* ---------- the viewfinder: four camera corners, the logo's idea ---------- */
.corners { position: absolute; inset: 0; pointer-events: none; }
.corners i { position: absolute; width: var(--c, 44px); height: var(--c, 44px); border: 0 solid var(--ink); }
.corners i:nth-child(1) { top: 0; left: 0; border-top-width: var(--t, 4px); border-left-width: var(--t, 4px); }
.corners i:nth-child(2) { top: 0; right: 0; border-top-width: var(--t, 4px); border-right-width: var(--t, 4px); }
.corners i:nth-child(3) { bottom: 0; right: 0; border-bottom-width: var(--t, 4px); border-right-width: var(--t, 4px); }
.corners i:nth-child(4) { bottom: 0; left: 0; border-bottom-width: var(--t, 4px); border-left-width: var(--t, 4px); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: calc(100svh - 68px); padding-block: 40px 56px; }
.viewfinder {
  position: relative; width: min(100%, 980px);
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 88px);
  text-align: center;
}
.viewfinder .corners { --c: clamp(32px, 5vw, 64px); --t: clamp(4px, 0.5vw, 6px); }
.viewfinder .corners i { will-change: transform; }
.rec { position: absolute; top: clamp(18px, 2.4vw, 30px); left: clamp(18px, 2.4vw, 30px); width: clamp(14px, 1.5vw, 20px); aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.hero .lead { max-width: 34ch; margin: 26px auto 0; }
.hero .actions { margin-top: 36px; }
.viewfinder .actions { justify-content: center; }

/* entrance: corners close in on the headline, like a camera finding focus */
.js .viewfinder .corners { transition: transform 900ms var(--ease-out), opacity 500ms ease; }
.js .hero:not(.ready) .viewfinder .corners { transform: scale(1.06); opacity: 0; }
.js .hero-copy > * { transition: transform 800ms var(--ease-out), opacity 600ms ease; }
.js .hero:not(.ready) .hero-copy > * { transform: translateY(14px); opacity: 0; }
.js .hero-copy > :nth-child(2) { transition-delay: 70ms; }
.js .hero-copy > :nth-child(3) { transition-delay: 140ms; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(72px, 10vw, 140px) clamp(48px, 6vw, 88px); }
.page-head .viewfinder { margin-inline: auto; padding-block: clamp(48px, 6vw, 84px); }
.page-head .lead { max-width: 36ch; margin: 24px auto 0; }

/* ---------- cards (grey tiles, Apple style) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile {
  background: var(--mist); border-radius: var(--radius-lg); padding: 36px 32px 40px;
  display: flex; flex-direction: column; gap: 14px; min-height: 300px;
}
.tile .num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); margin-bottom: auto; }
.tile .title { margin-top: 40px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } .tile .title { margin-top: 24px; } }

/* ---------- film strip: drag, flick, it lands where you threw it ---------- */
.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip-controls { display: flex; gap: 10px; }
.round {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--mist); color: var(--ink); cursor: pointer;
  transition: transform 100ms ease-out, background-color 160ms ease, opacity 200ms ease;
  touch-action: manipulation;
}
.round:hover { background: var(--line); }
.round:active { transform: scale(0.92); }
.round[disabled] { opacity: 0.35; cursor: default; }
.round svg { width: 18px; height: 18px; }
.strip { margin-top: 48px; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.strip.dragging { cursor: grabbing; }
.strip-track { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0 var(--gutter); will-change: transform; }
@media (min-width: 1120px) { .strip-track { padding-inline: calc((100vw - var(--container)) / 2 + var(--gutter)); } }
.frame-card {
  position: relative; flex: 0 0 min(78vw, 400px); aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); background: var(--ink); color: var(--white);
  padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
}
.frame-card .corners { inset: 28px; --c: 30px; --t: 3px; }
.frame-card .corners i { border-color: rgba(255, 255, 255, 0.9); }
.frame-card .step { position: absolute; top: 44px; left: 48px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.62); }
.frame-card h3 { color: var(--white); font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; padding-inline: 12px; }
.frame-card p { color: rgba(255, 255, 255, 0.74); padding: 0 12px 12px; }
.frame-card:nth-child(4) { background: var(--coral); }
.frame-card:nth-child(4) p, .frame-card:nth-child(4) .step { color: rgba(255, 255, 255, 0.86); }
.strip-foot { margin-top: 28px; }

/* ---------- dark band: why Rabetta ---------- */
.band { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); margin-inline: clamp(8px, 1.5vw, 20px); }
.band h2, .band h3 { color: var(--white); }
.band .body, .band .lead { color: rgba(255, 255, 255, 0.72); }
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.reasons > div { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- creators strip ---------- */
.creators-strip { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--mist); }

/* ---------- final call to action ---------- */
.final .viewfinder { margin-inline: auto; }

/* ---------- steps list (How it works) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.steps > li {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--mist);
}
.steps .step-name { display: flex; align-items: baseline; gap: 18px; }
.steps .step-name span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.steps h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.steps p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.45; color: var(--ink-2); }
.steps > li:last-child { background: var(--ink); }
.steps > li:last-child h2 { color: var(--white); }
.steps > li:last-child p { color: rgba(255, 255, 255, 0.76); }
.steps > li:last-child span { color: rgba(255, 255, 255, 0.6); }
@media (max-width: 760px) { .steps > li { grid-template-columns: 1fr; gap: 16px; } }

.todo { display: inline; padding: 1px 8px; border-radius: 6px; background: rgba(242, 69, 46, 0.12); color: #b4301d; font-size: 0.875em; font-weight: 600; white-space: normal; }

/* ---------- plain list with rules ---------- */
.rules { list-style: none; margin: 0; padding: 0; }
.rules > li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; padding-block: 32px; border-top: 1px solid var(--line); }
.rules > li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .rules > li { grid-template-columns: 1fr; gap: 8px; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- contact: segmented control ---------- */
.segmented {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: var(--mist); margin-inline: auto;
}
.segmented .thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--white); box-shadow: 0 2px 8px rgba(20, 20, 20, 0.08), 0 0 0 0.5px rgba(20, 20, 20, 0.06);
  will-change: transform;
}
.segmented button {
  position: relative; z-index: 1; min-width: 150px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  background: transparent; font-weight: 600; color: var(--muted); cursor: pointer; touch-action: manipulation;
  transition: color 200ms ease, transform 100ms ease-out;
}
.segmented button[aria-selected="true"] { color: var(--ink); }
.segmented button:active { transform: scale(0.97); }
.no-js .segmented .thumb { display: none; }
.no-js .segmented button[aria-selected="true"] { background: var(--white); }
@media (max-width: 420px) { .segmented button { min-width: 0; } }

.form-card { max-width: 760px; margin: 48px auto 0; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--mist); }
.form-card h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 800; margin-bottom: 32px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid transparent; background: var(--white); font-size: 1rem; /* 16px+ so phones don't zoom */
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 160ms ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a1a1a6; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: 0 0 0 1px #c7c7cc; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--ink); }
.field.invalid input, .field.invalid select { box-shadow: 0 0 0 2px var(--coral); }
.field .error { font-size: 0.875rem; color: #b4301d; min-height: 0; display: none; }
.field.invalid .error { display: block; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.panel[hidden] { display: none; }
.thanks { text-align: center; padding-block: 24px; }
.thanks .check { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .check svg { width: 28px; height: 28px; }
.thanks .check path { stroke-dasharray: 30; stroke-dashoffset: 0; transition: stroke-dashoffset 500ms var(--ease-out) 120ms; }
.thanks.enter .check path { stroke-dashoffset: 30; }
.send-error { color: #b4301d; font-size: 0.9375rem; }

/* ---------- footer ---------- */
.footer { padding-block: 64px 40px; margin-top: 24px; border-top: 1px solid var(--line); }
.footer .grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer .logo img { height: 40px; width: auto; margin-bottom: 16px; }
.footer h2 { font-family: var(--font); font-size: 0.875rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer ul a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--ink-2); font-size: 0.9375rem; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.footer .copy { margin-top: 56px; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 760px) { .footer .grid { grid-template-columns: 1fr 1fr; } .footer .grid > :first-child { grid-column: 1 / -1; } }

/* ---------- gentle reveal as sections arrive (content is visible without scripts) ---------- */
.js .reveal { transition: transform 900ms var(--ease-out), opacity 700ms ease; }
.js .reveal:not(.in) { transform: translateY(24px); opacity: 0; }

/* ---------- accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; transition-delay: 0ms !important; animation: none !important; }
  .js .reveal:not(.in), .js .hero:not(.ready) .hero-copy > *, .js .hero:not(.ready) .viewfinder .corners { transform: none; }
  .btn:active, .round:active, .segmented button:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .sheet { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --muted: #48484a; --line: #8e8e93; }
  .nav { background: var(--white); border-bottom: 1px solid var(--ink); }
  .tile, .form-card, .creators-strip, .steps > li { box-shadow: 0 0 0 1px var(--ink); }
}

/* ---------- static row of frame cards (For creators) ---------- */
.frame-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 56px 0 0; padding: 0; }
.frame-row .frame-card { flex: none; aspect-ratio: auto; min-height: 400px; }
.frame-row .frame-card h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.08; letter-spacing: -0.035em; }
.frame-row .frame-card:nth-child(3) { background: var(--coral); }
.frame-row .frame-card:nth-child(3) p, .frame-row .frame-card:nth-child(3) .step { color: rgba(255, 255, 255, 0.86); }
.frame-row .frame-card:nth-child(4) { background: var(--ink); }
@media (max-width: 860px) { .frame-row { grid-template-columns: 1fr; } .frame-row .frame-card { min-height: 250px; } }
.band .lead.measure-wide { margin-top: 28px; }
.cta-note { margin-top: 14px; }


/* ---------- Studio layer: hard shadows, ivory panels, REC light and timecode ---------- */
:root { --mist: #FBF5E9; --shadow: 6px 6px 0 var(--ink); }
.btn { box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--ink); transition: transform 120ms ease-out, box-shadow 120ms ease-out, background-color 160ms ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--ink); }
.btn:active, .btn.pressed { transform: translate(4px, 4px); box-shadow: 0 0 0 2px var(--ink), 0 0 0 2px var(--ink); }
.nav .links a.btn { margin-right: 6px; }
.btn.dark { box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--coral); }
.btn.dark:hover { box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 2px var(--coral); }
.tile { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.tile .num { box-shadow: 0 0 0 2px var(--ink); }
.frame-card { box-shadow: 8px 8px 0 var(--coral); }
.frame-card:nth-child(4) { box-shadow: 8px 8px 0 var(--ink); }
.strip { padding-bottom: 12px; }
.creators-strip { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--coral); }
.round { box-shadow: 0 0 0 2px var(--ink); background: var(--white); }
.rec-label { position: absolute; top: clamp(18px, 2.4vw, 30px); left: clamp(22px, 3vw, 36px); display: flex; align-items: center; gap: 10px; font: 600 0.8125rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }
.rec-label b { width: 14px; height: 14px; border-radius: 50%; background: var(--coral); animation: blink 1.6s steps(1) infinite; }
.tc { position: absolute; top: clamp(18px, 2.4vw, 30px); right: clamp(22px, 3vw, 36px); font: 600 0.8125rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); font-variant-numeric: tabular-nums; }
@keyframes blink { 50% { opacity: 0.15; } }

/* 1. the same outline and hard shadow on every panel */
.steps > li { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.steps > li:last-child { box-shadow: 8px 8px 0 var(--coral); }
.form-card { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.segmented { background: var(--mist); box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--ink); }
.segmented .thumb { background: var(--ink); box-shadow: none; }
.segmented button[aria-selected="true"] { color: var(--white); }
.no-js .segmented button[aria-selected="true"] { background: var(--ink); }
.thanks .check { box-shadow: 4px 4px 0 var(--coral); }

/* 2. a coral card gets a black shadow, so the shadow always shows */
.frame-row .frame-card:nth-child(3) { box-shadow: 8px 8px 0 var(--ink); }

/* 3. the reasons in the dark band become ivory cards, like "What we handle" */
.band .reasons { border-top: 0; padding-top: 0; gap: 20px; margin-top: 56px; }
.band .reasons > div { background: var(--mist); border-radius: var(--radius-lg); padding: 32px 30px 36px; box-shadow: 8px 8px 0 var(--coral); gap: 12px; }
.band .reasons h3 { color: var(--ink); }
.band .reasons .body { color: var(--ink-2); }
@media (max-width: 860px) { .band .reasons { gap: 28px; } }

/* 4. less empty space under the top section */
.hero { min-height: min(calc(100svh - 68px), 820px); }
@media (max-width: 860px) { .hero { min-height: 0; padding-block: 28px 8px; } .section.tight { padding-block: 64px; } }

/* 5. bolder form fields */
.field input, .field select, .field textarea { box-shadow: 0 0 0 2px var(--ink); }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: 0 0 0 2px var(--ink), 3px 3px 0 2px var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--coral); }
.field.invalid input, .field.invalid select { box-shadow: 0 0 0 2px var(--coral); }

/* 6. an ivory footer with a thick line on top */
.footer { background: var(--mist); border-top: 3px solid var(--ink); }

@media (prefers-reduced-motion: reduce) { .btn:hover, .btn:active, .tile:hover { transform: none; } }


/* ---------- design-engineering pass ---------- */
/* on touch screens a tap fires :hover and leaves things stuck "lifted": undo hover movement there, keep the press */
@media (hover: none), (pointer: coarse) {
  .btn:hover { transform: none; background: var(--coral); box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--ink); }
  .btn.dark:hover { background: var(--ink); box-shadow: 0 0 0 2px var(--ink), 4px 4px 0 2px var(--coral); }
  .btn.light:hover { background: var(--white); }
  .tile:hover { transform: none; box-shadow: 8px 8px 0 var(--ink); }
  .textlink:hover svg { transform: none; }
  .round:hover { background: var(--white); }
  .btn:active, .btn.pressed { transform: translate(4px, 4px); box-shadow: 0 0 0 2px var(--ink), 0 0 0 2px var(--ink); }
}
/* menu sheet: enters from its button, leaves faster than it arrives */
.sheet { transition: transform 180ms var(--ease-out), opacity 140ms ease, visibility 0s linear 180ms; }
.nav.open .sheet { transition: transform 260ms var(--ease-out), opacity 160ms ease; }

/* scroll reveals: shorter, smaller travel, so content never feels like it is waiting */
.js .reveal { transition: transform 600ms var(--ease-out), opacity 500ms ease; }
.js .reveal:not(.in) { transform: translateY(12px); }
/* stagger cards that arrive together (50ms apart) */
.tiles > :nth-child(2), .band .reasons > :nth-child(2), .frame-row > :nth-child(2), .steps > :nth-child(2) { transition-delay: 50ms; }
.tiles > :nth-child(3), .band .reasons > :nth-child(3), .frame-row > :nth-child(3), .steps > :nth-child(3) { transition-delay: 100ms; }
.steps > :nth-child(4) { transition-delay: 150ms; }
/* once revealed, hovering must respond instantly, not wait for the stagger */
.reveal.settled { transition-delay: 0ms !important; }

/* hero entrance: a touch quicker */
.js .viewfinder .corners { transition: transform 700ms var(--ease-out), opacity 400ms ease; }
.js .hero-copy > * { transition: transform 600ms var(--ease-out), opacity 450ms ease; }
.js .hero:not(.ready) .hero-copy > * { transform: translateY(10px); }

/* contact: the form switches with a soft blur crossfade instead of a hard cut */
.panel:not([hidden]) { transition: opacity 220ms ease, transform 260ms var(--ease-out), filter 220ms ease;
  @starting-style { opacity: 0; transform: translateY(6px); filter: blur(2px); } }
/* field errors fade in rather than pop */
.field.invalid .error { transition: opacity 160ms ease, transform 160ms var(--ease-out);
  @starting-style { opacity: 0; transform: translateY(-3px); } }
/* thank-you card arrives from 97%, never from nothing */
.thanks:not([hidden]) { transition: opacity 240ms ease, transform 300ms var(--ease-out);
  @starting-style { opacity: 0; transform: scale(0.97); } }

/* the press shadow returns snappily, presses feel immediate */
.btn:active, .btn.pressed { transition-duration: 60ms; }

/* reduced motion: keep gentle fades that help understanding, drop movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 160ms !important; transition-property: opacity, color, background-color, border-color !important; transition-delay: 0ms !important; }
  .js .reveal:not(.in) { transform: none; }
  .panel:not([hidden]), .thanks:not([hidden]), .field.invalid .error { @starting-style { transform: none; filter: none; } }
}

/* ---------- text pages (privacy policy) ---------- */
.prose { max-width: 68ch; margin-inline: auto; }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.02em; margin: 44px 0 12px; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--ink); text-underline-offset: 0.2em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .updated { font-size: 0.875rem; color: var(--muted); margin-bottom: 0; }
