/* ============================================================
   Paramount Love — design tokens + components
   Clean rebuild of the Framer site. Fonts load from fonts.css.
   ============================================================ */

:root {
  /* color tokens */
  --bg:        rgb(33, 21, 17);   /* page background (home brown) */
  --bg-deep:   rgb(23, 13, 10);   /* darker band (Passion Projects) */
  --bg-footer: rgb(18, 10, 8);    /* footer */
  --cream:     rgb(236, 231, 217);/* primary text */
  --ink:       rgb(42, 28, 23);   /* text on cream buttons */
  --muted:     rgb(112, 85, 75);  /* de-emphasised labels */
  --gold:      rgb(204, 176, 116);/* key / accents */

  /* type tokens */
  --font-display: "TT Ramillas Trl Variable Roman Variable Regular",
                  "TT Ramillas Trl Variable Roman Variable Regular Placeholder", serif;
  --font-serif:   "Crimson Text", serif;
  --font-serif-2: "Crimson Pro", serif;
  --font-ui:      "Inter", system-ui, sans-serif;

  --header-h: 108px;
  --radius-card: 88px;
  --radius-btn: 8px;

  /* global scale — ruled by Kelsey 2026-08-19: the whole site reads right at
     110% browser zoom, so we bake it in. Every vh-sized element below divides
     by this so full-viewport sections still fit the screen exactly. */
  --page-zoom: 1.1; /* @kind other */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; zoom: var(--page-zoom); }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- type scale ---------- */
.display-1 {          /* hero title */
  font-family: var(--font-display);
  font-size: clamp(44px, 4.5vw, 72px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.display-1 em, .display-italic {
  font-family: "TT Ramillas Trl Variable Italic Variable Regular",
               "TT Ramillas Trl Variable Italic Variable Regular Placeholder", serif;
  font-style: italic;
  font-weight: 400;
}
.display-2 {          /* section headings */
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.heading-3 {          /* card titles */
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.04em;
}
.tagline {            /* italic accents */
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.body-copy { font-size: 20px; line-height: 1.6; letter-spacing: -0.02em; }
.ui-label  { font-family: var(--font-ui); font-size: 14px; font-weight: 500; letter-spacing: -0.02em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: var(--radius-btn);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.9;
  transition: opacity .25s ease, transform .25s ease;
}
.btn:hover { opacity: .85; }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(236, 231, 217, .35);
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 900;
  background: transparent;
  transition: background-color .45s ease;
}
.site-header.is-solid { background: var(--bg); }
.site-header__inner {
  max-width: 1408px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__nav { display: flex; gap: 18px; flex: 1; }
.site-header__nav--right { flex: none; }
.site-header__nav a:hover { opacity: .7; }
.site-header__brand {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 145px; height: 44px;
}
.site-header__brand .brand-mark {
  width: 100%; height: 100%;
  background-size: 100% 100%;
}
.site-header__cta { display: flex; align-items: center; gap: 18px; flex: 1; justify-content: flex-end; }
.site-header__burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: var(--cream); padding: 8px;
}
@media (max-width: 1439.98px) {
  :root { --header-h: 88px; }
  .site-header__nav, .site-header__cta .tagline, .site-header__cta .btn { display: none; }
  .site-header__burger { display: block; }
}

/* ---------- menu overlay (mobile / tablet) ---------- */
.menu-overlay {
  position: fixed; inset: 0 0 auto 0;
  background: rgb(18, 12, 9);
  z-index: 950;
  display: none;
  flex-direction: column;
  padding: 120px 24px 48px;
  border-bottom: 1px solid rgba(236, 231, 217, .08);
}
body.menu-open .menu-overlay { display: flex; }
.menu-overlay a { padding: 14px 0; font-family: var(--font-ui); font-size: 14px; font-weight: 500; }
.menu-overlay a:hover { opacity: .7; }
.menu-overlay .btn { align-self: flex-start; margin-top: 14px; padding: 12px 20px; }
.menu-overlay__close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: 0; cursor: pointer; color: var(--cream);
}
.menu-overlay__brand {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 36px; background-size: 100% 100%;
}
@media (min-width: 810px) { .menu-overlay { padding-left: 96px; padding-right: 96px; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .45s ease .15s;
}
.loader svg { width: 60px; animation: key-in .55s cubic-bezier(.2,.7,.3,1) both; }
.loader.is-done { opacity: 0; pointer-events: none; }
@keyframes key-in { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh / var(--page-zoom));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
  text-align: center;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media picture, .hero__media-frame picture { display: contents; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right top;   /* match Framer's crop — keeps her head/hair in frame */
  filter: brightness(.74);
}
.hero__media::after {           /* grain */
  content: "";
  position: absolute; inset: 0;
  background: url(/assets/images/mKzlc8S1Kna4LIqSfgJsGwOwRY.8490c1e1.png) repeat left top / 30px auto;
  opacity: .16;
  pointer-events: none;
}
.hero__media-frame { display: none; }   /* rounded media used below 1440 */
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero__key { width: 56px; height: 17px; background-size: 100% 100%; }
.hero__tail {
  /* centered via margins, not transform — the reveal animation owns transform */
  position: absolute; bottom: 68px; left: 0; right: 0; margin-inline: auto;
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: max-content;
}
.hero__arrow { width: 24px; height: 24px; animation: bob 1.2s ease-in-out infinite alternate; }
.hero__arrow path { stroke: var(--cream); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { from { transform: translateY(-2px); } to { transform: translateY(6px); } }

/* tablet & phone hero: rounded media above the title, page-coloured background
   (full-bleed starts at 1024 since the 2026-08-18 design pass — most laptops
   aren't full-screen; header collapse stays at 1440) */
@media (max-width: 1023.98px) {
  .hero { padding: calc(var(--header-h) + 8px) 24px 170px; }
  .hero__media { display: none; }
  .hero__media-frame {
    display: block;
    height: min(calc(52vh / var(--page-zoom)), 534px);
    aspect-ratio: .8;
    border-radius: 140px;
    overflow: hidden;
  }
  .hero__media-frame img, .hero__media-frame video {
    width: 100%; height: 100%; object-fit: cover;
  }
  .hero__media-frame video { display: none; }
}
@media (max-width: 809.98px) {
  .hero__media-frame { height: min(calc(46vh / var(--page-zoom)), 420px); aspect-ratio: .77; }
  .hero__media-frame img { display: none; }
  .hero__media-frame video { display: block; }
}

/* ---------- shared section layout ---------- */
.section { padding: 120px 24px; }
.section__inner { max-width: 1152px; margin: 0 auto; }
.center { text-align: center; }

/* hero — recognition headline variant */
.hero__eyebrow { letter-spacing: .14em; text-transform: uppercase; }
.display-1--recognition {
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 21ch;
  text-align: center;
}

/* intro */
.intro { padding: 120px 24px 40px; }
.intro--lines p + p { margin-top: 14px; }
.intro__lead { font-family: var(--font-serif); font-weight: 700; }
.intro p { max-width: 576px; margin: 0 auto; text-align: center; }
.intro .tagline { margin-top: 32px; font-size: 20px; }

/* journey cards */
.cards { padding: 80px 24px 120px; }
.cards h2 { text-align: center; margin-bottom: 90px; }
.cards__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 64px 40px;
  max-width: 1038px; margin: 0 auto;
}
.card {
  width: 499px; max-width: 100%;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 24px;
}
.card h3 { max-width: 380px; }
.card p { max-width: 449px; }
.card__kicker { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

/* passion projects */
.projects { background: var(--bg-deep); padding: 60px 24px; }
.projects h2 { text-align: center; margin-bottom: 64px; }
.projects__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 48px 24px;
  max-width: 1152px; margin: 0 auto;
}
.project { width: 368px; max-width: 100%; display: flex; flex-direction: column; gap: 10px; }
.project h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.project p  { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.project__meta { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.project__meta .ui-label { color: var(--muted); }

/* footer */
.site-footer { background: var(--bg-footer); padding: 60px 24px 40px; }
.site-footer__inner {
  max-width: 1152px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 48px;
  justify-content: space-between;
}
.site-footer__col { display: flex; flex-direction: column; gap: 16px; }
.site-footer__logo { width: 298px; height: auto; }
.site-footer__col--news p { max-width: 272px; }
.site-footer__embed { width: 300px; height: 52px; border: 0; }
.site-footer__menu h4 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.site-footer__menu a { display: block; padding: 6px 0; font-size: 20px; }
.site-footer__menu a:hover { opacity: .7; }
.site-footer__col--brand { align-items: center; justify-content: center; text-align: center; gap: 10px; }
.site-footer__col--brand .brand-mark { width: 181px; height: 55px; background-size: 100% 100%; }
.site-footer__tagline { font-size: 22px; }
.site-footer__integrity { font-family: var(--font-serif-2); font-size: 17px; opacity: .7; }
.site-footer__col--brand .site-footer__legal { align-self: center; }
.site-footer__legal {
  align-self: flex-end;
  font-family: var(--font-serif-2);
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- reveal-on-load (hero) ---------- */
html.anim [data-reveal] {
  opacity: .001;
  transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.21,.6,.35,1), transform .9s cubic-bezier(.21,.6,.35,1);
}
html.anim [data-reveal].is-in { opacity: 1; transform: none; }
