@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-VF.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --orange: #FF5A2C;
  --orange-ink: #C93A12; /* orange dark enough for text on paper (AA) */
  --bg: #FFF4E6;
  --fg: #17131F;
  --muted: #5E566B;
  --card: #FFFFFF;
  --line: #EADCCB;
  --frame: #17131F;
  --radius: 22px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange-ink: #FF7A52;
    --bg: #17131F;
    --fg: #FFF4E6;
    --muted: #B3AABF;
    --card: #211C2B;
    --line: #322B3F;
    --frame: #2A2436;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.55 "Bricolage Grotesque", system-ui, sans-serif;
  font-variation-settings: "opsz" 14;
  overflow-x: hidden;
}
h1, h2, h3 { font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; margin: 0; font-variation-settings: "opsz" 96; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.brand img { display: block; height: 34px; width: auto; }
.top-cta { font-weight: 600; text-decoration: none; font-size: .95rem; display: none; }
.top-cta:hover { color: var(--orange-ink); }

.hero { display: grid; gap: 28px; padding: 32px 0 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 9vw, 4.6rem); }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin: 20px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--fg); color: var(--bg); border: 2px solid var(--fg);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--orange); border-color: var(--orange); color: #17131F; }
.btn.ghost { background: transparent; color: var(--fg); }
.btn.ghost:hover { background: transparent; border-color: var(--orange); color: var(--fg); }
.btn.big { font-size: clamp(1.05rem, 4.4vw, 1.4rem); padding: 18px 28px; }

.hero-eye { width: min(48vw, 220px); justify-self: center; order: -1; }
.hero-eye .pupil { animation: glance 7s ease-in-out infinite; }
.hero-eye .lid { transform-origin: 50px 50px; animation: blink 7s ease-in-out infinite; }
@keyframes glance {
  0%, 18% { transform: translateX(0); }
  24%, 40% { transform: translateX(-17px); }
  46%, 100% { transform: translateX(0); }
}
@keyframes blink {
  0%, 60%, 64.5%, 100% { transform: scaleY(1); }
  62% { transform: scaleY(0.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eye .pupil, .hero-eye .lid { animation: none; }
  html { scroll-behavior: auto; }
}

section h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 24px; }
.make, .work { padding: 48px 0; border-top: 1px solid var(--line); }

.make-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.make-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.make-grid h3 { font-size: 1.5rem; margin-bottom: 8px; }
.make-grid h3::before {
  content: ""; display: inline-block; width: .42em; height: .42em; border-radius: 50%; background: var(--orange);
  margin-right: .4em; vertical-align: .2em;
}
.make-grid p { margin: 0; color: var(--muted); }

.work-grid { display: grid; gap: 22px; }
.card h3 { font-size: 1.3rem; margin: 14px 0 4px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--frame);
  display: grid; place-items: center;
}
.frame .soon {
  color: #FFF4E6; font-weight: 600; font-size: .9rem; letter-spacing: .02em; padding: 8px 14px 8px 36px;
  border-radius: 999px; background: rgba(255, 244, 230, .08); position: relative;
}
.frame .soon::before { /* a tiny closed eye: "not yet" */
  content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 7px; margin-top: -5px;
  border: 2.5px solid #FFF4E6; border-top: 0; border-radius: 0 0 14px 14px;
}
.frame iframe, .frame .play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame .play { padding: 0; cursor: pointer; background: #000; }
.frame .play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame .play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5l9 5.5-9 5.5z' fill='%2317131F'/%3E%3C/svg%3E") center / 30px no-repeat;
  transition: transform .15s ease;
}
.frame .play:hover::after { transform: scale(1.08); }

.contact {
  margin-top: 24px; margin-bottom: 48px; padding: 44px 24px; border-radius: calc(var(--radius) + 6px);
  background: var(--orange); color: #17131F; text-align: center;
}
.contact h2 { margin-bottom: 14px; }
.contact p { max-width: 32rem; margin: 0 auto 26px; }
.contact .btn { background: #17131F; color: #FFF4E6; border-color: #17131F; }
.contact .btn:hover { background: #FFF4E6; color: #17131F; border-color: #FFF4E6; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 8px 0 40px; color: var(--muted); font-size: .95rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; font-weight: 600; color: var(--fg); }
.foot a:hover { color: var(--orange-ink); }
.foot p { margin: 0; }

@media (min-width: 720px) {
  .top-cta { display: inline; }
  .hero { grid-template-columns: 1.5fr 1fr; padding: 56px 0 88px; gap: 48px; }
  .hero-eye { order: 0; width: 100%; max-width: 340px; }
  .make-grid { grid-template-columns: repeat(3, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .make, .work { padding: 72px 0; }
  .contact { padding: 72px 48px; }
}
