/* Pizza With A Passport — single links page
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --ink: #050607;          /* page background */
  --ink-2: #0c0f12;        /* card background */
  --bone: #e9ecef;         /* text */
  --bone-dim: #9aa3ab;     /* secondary text */
  --teal: #2fd3e6;         /* her hair */
  --chrome: #c6cbd2;       /* molten metal highlight */
  --pink: #ff4fa3;         /* used once, on the work-with-me button */
  --rule: rgba(198, 203, 210, 0.16);

  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --radius: 28px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: var(--gutter);
}

/* subtle grain so the black is not a flat void */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

img { max-width: 100%; display: block; }

/* ---------- card ---------- */

.card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  background: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 1.4rem;
}

/* photo fills the top, fades into the card */
.cover {
  position: relative;
  aspect-ratio: 1 / 1.42;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 7, 0) 46%,
    rgba(5, 6, 7, 0.7) 68%,
    var(--ink) 84%,
    var(--ink) 100%
  );
}
.cover-text {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  text-align: center;
  padding: 0 1.25rem 0;
}

.wordmark {
  margin: 0 auto;
  width: min(100%, 250px);
}
.wordmark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18));
}

/* one orchestrated motion: the wordmark pours in on load */
@media (prefers-reduced-motion: no-preference) {
  .wordmark { animation: pour 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
  @keyframes pour {
    from { opacity: 0; translate: 0 10px; }
    to   { opacity: 1; translate: 0 0; }
  }
}

.cover-text p {
  color: var(--bone-dim);
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.socials {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  color: var(--bone);
  transition: color 150ms, background-color 150ms;
}
.socials a:hover,
.socials a:focus-visible { color: var(--teal); background: rgba(47, 211, 230, 0.1); }
.socials svg { width: 1.4rem; height: 1.4rem; fill: currentColor; }

/* ---------- video carousel ---------- */

.carousel {
  position: relative;
  margin: 0;
  --gap: 6px;
  --peek: 44%;
}
.track { overflow: hidden; padding: 0 0.6rem; }
.reel {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--gap);
  transition: translate 520ms cubic-bezier(0.2, 0, 0, 1);
  will-change: translate;
}
.reel.no-anim { transition: none; }
.reel li { flex: 0 0 var(--peek); }
.reel a {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink);
}
.reel .poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel a:active { scale: 0.96; }
.reel .views {
  position: absolute;
  left: 8px; bottom: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.reel .views::before {
  content: "";
  display: inline-block;
  width: 0; height: 0;
  margin-right: 4px;
  border-left: 7px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.car-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  width: 36px; height: 36px;
  border: 1.5px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, #1a1f25, #07090b 70%) padding-box,
    conic-gradient(from 210deg, #ffffff, #7c858f 25%, #e9ecef 45%, #2fd3e6 60%, #c6cbd2 80%, #ffffff) border-box;
  color: var(--bone);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: box-shadow 150ms, color 150ms;
}
.car-btn:hover, .car-btn:focus-visible { color: var(--teal); box-shadow: 0 0 0 1px var(--teal), 0 0 14px rgba(47, 211, 230, 0.5); }
.car-btn svg { width: 20px; height: 20px; }
.car-btn.prev { left: 2px; }
.car-btn.next { right: 2px; }

/* ---------- brands marquee ---------- */

.brands {
  margin: 1.1rem 0 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands-title {
  margin: 0 0 0.7rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--bone-dim);
}
.marquee {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.brands:hover .marquee { animation-play-state: paused; }
.marquee li { flex: 0 0 auto; }
.marquee a { display: block; }
.marquee a:hover img, .marquee a:focus-visible img { opacity: 1; }
.marquee img {
  height: 30px;
  width: auto;
  opacity: 0.85;
}
.marquee img.badge { height: 52px; opacity: 1; }
@keyframes marquee {
  from { translate: 0 0; }
  to   { translate: calc(-50% - 1.2rem) 0; }  /* half the gap: second copy lands exactly on the first */
}
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee li:nth-child(n + 9) { display: none; }
}

.and-more { margin: 0.7rem 0 0; text-align: center; font-size: 0.82rem; font-weight: 500; color: var(--bone-dim); }

/* ---------- work with me ---------- */

.cta {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 1.25rem 0;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--pink);
  border-radius: 999px;
  color: var(--bone);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  text-align: center;
  transition: border-color 160ms, background-color 160ms, color 160ms, scale 120ms;
}
.cta:hover,
.cta:focus-visible { color: var(--bone); background: rgba(255, 79, 163, 0.1); }
.cta:active { scale: 0.96; }
.cta svg { width: 1.35rem; height: 1.35rem; fill: currentColor; }
.cta small { display: block; color: var(--bone-dim); font-weight: 400; font-size: 0.82rem; }

.cta-secondary {
  display: block;
  width: fit-content;
  margin: 0.8rem auto 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 150ms, background-color 150ms;
}
.cta-secondary:hover, .cta-secondary:focus-visible { color: var(--teal); background: rgba(47, 211, 230, 0.08); }

/* ---------- collab page: poster direction ---------- */

.kit { display: flex; flex-direction: column; }
.kit > * { flex-shrink: 0; }

.kit-hero { position: relative; height: 420px; overflow: hidden; }
.kit-hero > picture img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 15%;
  filter: grayscale(1) contrast(1.15);
  opacity: 0.55;
}
.kit-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(47, 211, 230, 0.35) 0%, rgba(5, 6, 7, 0.2) 55%, var(--ink) 100%);
}
.kit-hero .back {
  position: absolute; left: 0.9rem; top: 0.9rem; z-index: 2;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--bone);
  background: rgba(5, 6, 7, 0.55);
}
.kit-hero .back:hover { background: var(--teal); color: var(--ink); }
.kit-hero .back svg { width: 20px; height: 20px; }
.kit-hero-text { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.kit-hero-text .wordmark { margin: 0; width: 230px; }
.kit-hero-text p { margin: 0; font-size: 13px; color: var(--chrome); letter-spacing: 0.02em; }

.kit-lead { padding: 26px 20px 0; }
.kit-big { margin: 0; font-size: clamp(84px, 26vw, 104px); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; color: #fff; }
.kit-big-label { margin: 4px 0 0; font-size: 15px; color: var(--bone-dim); }

.ledger { margin: 26px 20px 0; border-top: 1px solid rgba(198, 203, 210, 0.22); }
.ledger > div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(198, 203, 210, 0.14); }
.ledger dt { margin: 0; font-size: 13px; color: var(--bone-dim); }
.ledger dd { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--bone); }
.ledger dd.accent { color: var(--teal); }

.facts { padding: 30px 20px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.facts > div { display: flex; flex-direction: column; }
.facts strong { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.facts strong.pink { color: var(--pink); }
.facts span { font-size: 12px; color: var(--bone-dim); line-height: 1.3; }

.kit-brands { margin-top: 34px; padding: 0.9rem 0; }
.kit .marquee { animation-duration: 14s; }
.kit .marquee img { height: 34px; }
.kit .marquee img.badge { height: 56px; }
.kit-contact { margin-top: auto; padding: 34px 20px 0; display: flex; flex-direction: column; gap: 12px; }
.kit-contact.home { margin-top: 0; padding: 1.1rem 1.25rem 0; }
.kit-cta {
  display: flex; align-items: center; justify-content: center;
  height: 54px; border-radius: 999px;
  background: var(--bone); color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 16px;
  transition: background-color 160ms, scale 120ms;
}
.kit-cta:hover, .kit-cta:focus-visible { background: var(--teal); color: var(--ink); }
.kit-cta:active { scale: 0.96; }
.kit-contact .note { margin: 0; }
.note { font-size: 0.74rem; color: var(--bone-dim); text-align: center; line-height: 1.45; }
.note a { color: var(--bone-dim); }
.and-more { margin: 0.7rem 0 0; text-align: center; font-size: 0.82rem; font-weight: 500; color: var(--bone-dim); }

/* ---------- footer ---------- */

.site-foot { padding: 1.2rem 0 0.3rem; text-align: center; font-size: 0.62rem; line-height: 1; color: var(--bone-dim); opacity: 0.7; }

/* ---------- desktop: the page sits inside an iPhone frame ---------- */

.phone { width: min(100%, 520px); }

@media (min-width: 700px) {
  body { align-items: center; }

  .phone {
    position: relative;
    width: 390px;
    height: min(844px, 100svh - 2 * var(--gutter));
    padding: 12px;
    border-radius: 58px;
    background: #15181c;
    box-shadow:
      0 0 0 2px #2a2f36,
      0 0 0 3px #0a0c0e,
      0 30px 80px rgba(0, 0, 0, 0.7),
      inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
  /* dynamic island */
  .phone::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    width: 118px;
    height: 34px;
    translate: -50% 0;
    border-radius: 20px;
    background: #000;
    z-index: 3;
  }
  /* side buttons */
  .phone::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 190px;
    width: 3px;
    height: 90px;
    border-radius: 2px;
    background: #2a2f36;
    box-shadow:
      -399px -60px 0 #2a2f36,
      -399px 10px 0 #2a2f36,
      -399px 85px 0 #2a2f36;
  }

  .card {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 46px;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .kit-hero .back { top: 4.2rem; left: 1.2rem; }
  .card::-webkit-scrollbar { display: none; }
}
