@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url(fonts/inter-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 400 800;
  font-display: block;
  src: url(fonts/urbanist-latin.woff2) format("woff2");
}

:root {
  --page: #cfcecf;        /* lighter tint of the hero greys, frames the card */
  --ink: #161616;
  --ink-2: #262626;
  --muted: #4a4a4a;
  --white: #ffffff;
  --emerald: #18a062;     /* hover glow core */
  --lime: #d9ec8a;        /* pale lime from the glow rim */
  --reel: #151716;
  --gap: 16px;
  --radius: 28px;
  --topbar: 76px;
  --peek: 112px;          /* how much of the card row shows under the hero */
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  overflow-x: clip;
  background: var(--page);
}

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 999px; }

/* ------------------------------------------------------------ top bar */
.topbar {
  height: var(--topbar);
  padding: 0 calc(var(--gap) + 16px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo sup { font-size: 9px; font-weight: 500; vertical-align: 9px; margin-left: -9px; }
.logo-mark {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 5px solid var(--ink);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  right: -5px; top: 3px;
  width: 8px; height: 6px;
  background: var(--page);
}

.nav {
  display: flex;
  gap: 34px;
  font-size: 15px;
  font-weight: 450;
  color: var(--ink-2);
}
.nav a { padding: 6px 2px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #000; font-weight: 550; }

.topbar-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.clock {
  height: 42px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  white-space: nowrap;
}
.clock-label { color: var(--muted); }
.clock-time { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.btn-dark {
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s;
}
.btn-dark:hover { background: #000; }

/* ------------------------------------------------------------ hero card */
.hero {
  position: relative;
  margin: 0 var(--gap);
  height: calc(100svh - var(--topbar) - var(--peek));
  min-height: 560px;
  max-height: 920px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg,
    #c3c2c3 0%,
    #c1bfc0 16.7%,
    #b9b8b8 27.8%,
    #b1b1b1 50%,
    #acacac 66.7%,
    #acacac 72.2%,
    #b6b5b5 94.4%,
    #b8b7b7 100%);
}

/* 924x900 design stage holding the portrait and the hover effect. app.js scales it to
   the card and pins it to the right edge (bottom on narrow screens). */
.stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 924px;
  height: 900px;
  transform-origin: 0 0;
  z-index: 0;
}

.portrait-fallback {
  position: absolute;
  left: 0;
  top: -12px;
  width: 1103px;
  height: 1103px;
  filter: grayscale(0.75) brightness(1.05);
  user-select: none;
  pointer-events: none;
}
.fx-ready .portrait-fallback { visibility: hidden; }

.fx {
  position: absolute;
  left: -480px;
  top: 0;
  width: 1884px;
  height: 900px;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(40px, 4.4vw, 64px) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.hero-copy a { pointer-events: auto; }

.headline {
  margin: 0;
  font-family: "Urbanist", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(44px, min(5.3vw, 10.4svh), 96px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.headline .line { display: flex; align-items: center; white-space: nowrap; }
.headline .line + .line { margin-top: 0.06em; }

.chips {
  display: inline-flex;
  align-items: center;
  margin-right: 0.22em;
}
.chips img, .chip-plus {
  width: 0.78em;
  height: 0.78em;
  border-radius: 50%;
  flex: none;
}
.chips img { border: 3px solid rgba(255, 255, 255, 0.85); object-fit: cover; background: #b6b6b6; }
.chips img + img { margin-left: -0.2em; }
.chip-plus {
  margin-left: 0.1em;
  background: var(--white);
  position: relative;
}
.chip-plus::before, .chip-plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0.3em; height: 0.045em;
  min-height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.chip-plus::after { transform: translate(-50%, -50%) rotate(90deg); }


.lede {
  margin: auto 0 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}

.cta-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-light {
  height: 52px;
  padding: 0 8px 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s;
}
.btn-light:hover { transform: translateY(-1px); }
.btn-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  flex: none;
}
.btn-arrow::before {
  content: "";
  position: absolute;
  left: 11px; top: 17px;
  width: 13px; height: 2px;
  background: var(--white);
}
.btn-arrow::after {
  content: "";
  position: absolute;
  left: 17px; top: 13px;
  width: 7px; height: 7px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(45deg);
}

.btn-round {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform .2s;
}
.btn-round:hover { transform: translateY(-1px); }
.btn-round-sm { width: 40px; height: 40px; }
.play {
  width: 0; height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--white);
}

/* floating tags, placed in stage units on top of the portrait */
.tag {
  position: absolute;
  z-index: 3;
  left: calc(var(--sx, 0px) + var(--tx) * var(--s, 1));
  top: calc(var(--sy, 0px) + var(--ty) * var(--s, 1));
  height: 38px;
  padding: 0 16px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  pointer-events: none;
}
.tag-a { --tx: 28px; --ty: 330px; }
.tag-b { --tx: 610px; --ty: 640px; }
.tag-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--emerald);
  position: relative;
}
.tag-dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--white);
}

/* ------------------------------------------------------------ card row */
.cards {
  margin: var(--gap);
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: var(--gap);
}

.card {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 28px;
}
.card-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.card-title {
  margin: 12px 0 0;
  max-width: 16ch;
  font-family: "Urbanist", "Inter", sans-serif;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card-text {
  margin: 14px 0 0;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.card-reel {
  display: flex;
  align-items: flex-end;
  background: var(--reel);
  color: var(--white);
}
.reel-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  background: var(--reel);
}
.card-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 55%);
}
.card-reel-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.card-reel-label .btn-round { background: var(--white); }
.card-reel-label .play { border-left-color: var(--ink); }
.card-reel:focus-visible { outline-offset: 3px; border-radius: var(--radius); }

.card-soft { background: rgba(255, 255, 255, 0.55); }

.card-lime {
  background: var(--lime);
  display: flex;
  flex-direction: column;
}
.card-lime .card-kicker { color: #3f4a1a; }
.card-link {
  margin-top: auto;
  align-self: flex-start;
  height: 48px;
  padding: 0 6px 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* ------------------------------------------------------------ narrow screens */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .clock { display: none; }
}

@media (max-width: 819px) {
  :root { --gap: 12px; --topbar: 68px; --radius: 24px; }
  .topbar { grid-template-columns: 1fr auto; padding: 0 20px; }
  .nav { display: none; }

  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    /* room for the portrait under the copy */
    padding-bottom: calc((100vw - 2 * var(--gap)) * 1.08);
  }
  .hero-copy { height: auto; padding: 32px 22px 0; }
  .headline { font-size: clamp(30px, 8.6vw, 60px); }
  .lede { margin-top: 20px; font-size: 15px; }
  .cta-row { margin-top: 20px; }

  .tag { height: 34px; font-size: 12px; padding-right: 13px; }
  .tag-dot { width: 18px; height: 18px; }
  .tag-dot::after { inset: 6px; }
  .tag-a { --tx: 130px; --ty: 250px; }
  .tag-b { --tx: 470px; --ty: 700px; }

  .cards { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .card-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav a, .btn-dark, .btn-light, .btn-round { transition: none; }
  .btn-light:hover, .btn-round:hover { transform: none; }
}
