@font-face { font-family: Inter; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Fredoka; src: url(fonts/fredoka-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Fredoka; src: url(fonts/fredoka-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --red: #ab454b; --red-deep: #8a3439; --red-bright: #e8674f; --orange: #c56d3e; --peach: #e3a769; --green: #bda151;
  --night: #1c1714; --cream: #fbf4ea; --paper: #f3ead9; --muted: #6b5d52;
  --hard: 4px 4px 0 var(--night);
  --gutter: clamp(20px, 5vw, 72px);
  --display: Fredoka, 'Arial Rounded MT Bold', system-ui, sans-serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--sans); color: var(--night); -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-color: var(--peach);
  background-image:
    linear-gradient(to right, rgb(251 244 234 / 0.45) 1px, transparent 1px), linear-gradient(to bottom, rgb(251 244 234 / 0.45) 1px, transparent 1px),
    linear-gradient(to right, rgb(251 244 234 / 0.25) 1px, transparent 1px), linear-gradient(to bottom, rgb(251 244 234 / 0.25) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--night); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--cream); padding: 10px 16px; border: 3px solid var(--night); border-radius: 10px; z-index: 10; font-weight: 600; }
.skip:focus { top: 12px; }

.top { position: sticky; top: 0; z-index: 5; background: rgb(251 244 234 / 0.92); backdrop-filter: blur(8px); border-bottom: 3px solid var(--night); }
.top__in { max-width: 1160px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.top__name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-decoration: none; letter-spacing: -0.01em; }
.top__name span { color: var(--red); font-weight: 600; }
.top nav { display: flex; gap: 8px 20px; flex-wrap: wrap; font-weight: 600; font-size: 0.95rem; }
.top nav a { text-underline-offset: 4px; }
.top nav a:hover { color: var(--red-deep); }
@media (max-width: 520px) { .top__name span { display: none; } }

main { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding-top: clamp(28px, 4vw, 52px); }
.intro { display: grid; gap: 16px; justify-items: start; padding-top: clamp(32px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--red); border: 2px solid var(--night); border-radius: 50%; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 8vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
h1 span { display: block; color: var(--red); font-size: 0.5em; margin-top: 6px; letter-spacing: 0; font-weight: 600; }
.lede { max-width: 44rem; font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.55; }
.lede + .lede { font-size: 1rem; }
.contact { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; }
.contact a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.contact a:hover { color: var(--red-deep); }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 2.3rem); letter-spacing: -0.01em; margin-bottom: 20px; }

.feat, .grid, .steps { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.feat > li, .grid > li, .steps > li { min-width: 0; }
@media (min-width: 700px) { .grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wide, .site { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
}

.card { background: var(--cream); border: 3px solid var(--night); border-radius: 18px; box-shadow: var(--hard); display: flex; flex-direction: column; overflow: hidden; }
.body { display: grid; gap: 10px; align-content: start; padding: 20px 20px 22px; flex: 1; }
.body h3 { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.005em; }
.body p { line-height: 1.5; }
.what { font-weight: 600; }

.clip { position: relative; width: 100%; max-height: 380px; margin-inline: auto; background: var(--night); border-bottom: 3px solid var(--night); overflow: hidden; }
.clip video { display: block; width: 100%; height: 100%; object-fit: contain; }
.clip--feat { aspect-ratio: 4 / 5 !important; max-height: none; }
.clip--feat video { object-fit: cover; }
.card > .clip:not(.clip--feat) { background: var(--paper); }
.trio { display: flex; background: var(--paper); border-bottom: 3px solid var(--night); }
.trio .clip { flex: 1 1 0; min-width: 0; border-bottom: 0; border-right: 3px solid var(--night); max-height: 460px; }
.trio .clip:last-child { border-right: 0; }
.sound {
  position: absolute; right: 10px; bottom: 10px; min-height: 40px; padding: 0 14px; cursor: pointer;
  font: 600 0.85rem var(--sans); background: var(--cream); color: var(--night);
  border: 3px solid var(--night); border-radius: 999px; box-shadow: 3px 3px 0 var(--night);
}
.sound[aria-pressed='true'] { background: var(--red); color: var(--cream); }

.stat { display: grid; gap: 2px; padding: 12px 14px; background: var(--paper); border: 2px dashed var(--night); border-radius: 12px; }
.stat strong { font-family: var(--display); font-size: 1.8rem; line-height: 1.1; color: var(--red-deep); }
.stat span { font-size: 0.9rem; line-height: 1.4; color: var(--muted); }

.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: auto; padding-top: 6px; }
.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-weight: 600; font-size: 0.95rem; text-decoration: none;
  background: var(--red); color: var(--cream); border: 3px solid var(--night); border-radius: 16px; box-shadow: var(--hard); transition: transform 0.12s, box-shadow 0.12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--night); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--night); }
.code { font-weight: 600; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.code--soon { text-decoration: none; color: var(--muted); border: 2px dashed var(--muted); border-radius: 999px; padding: 4px 12px; }
.note { font-size: 0.85rem; color: var(--muted); }

.lens { display: grid; gap: 8px; padding: 20px 16px; background: var(--paper); border-bottom: 3px solid var(--night); }
.lens__row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--night); color: var(--cream); border-radius: 10px; font-size: 0.85rem; }
.lens__row i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.lens__row b { margin-right: auto; font-weight: 600; }
.lens__row span { color: var(--peach); }
.lens__row em { font-style: normal; font-weight: 600; background: var(--red-bright); color: var(--night); border-radius: 6px; padding: 2px 8px; }

.steps > li { padding: 20px; display: grid; gap: 8px; align-content: start; justify-items: start; }
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.steps p { line-height: 1.5; }
.n { display: grid; place-items: center; width: 42px; height: 42px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; background: var(--orange); color: var(--cream); border: 3px solid var(--night); border-radius: 50%; }
.also { margin-top: 20px; line-height: 1.5; font-weight: 600; }
.client { padding: 16px 20px; background: var(--cream); border: 3px dashed var(--night); border-radius: 16px; line-height: 1.55; }

footer { margin-top: clamp(40px, 6vw, 72px); background: var(--night); color: var(--cream); }
footer .in { max-width: 1160px; margin: 0 auto; padding: 22px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.9rem; }
footer .in div { display: flex; gap: 8px 20px; flex-wrap: wrap; }
footer a { text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
