/* === FONT FACES === */
  @font-face {
    font-family: 'Figtree';
    font-style: normal;
    font-weight: 300 600;
    font-display: block;
    src: url('/fonts/figtree-latin.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;
  }
  @font-face {
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('/fonts/dm-serif-display-latin.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;
  }
  @font-face {
    font-family: 'DM Serif Display';
    font-style: italic;
    font-weight: 400;
    font-display: block;
    src: url('/fonts/dm-serif-display-italic-latin.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;
  }
  @font-face {
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400 600;
    font-display: block;
    src: url('/fonts/caveat-latin.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;
  }
  /* === RESET === */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

  /* === DESIGN TOKENS === */
  :root {
    --bg: #0d0a12;
    --bg-alt: #110e19;
    --bg-surface: #171321;
    --bg-hover: #1e192e;
    --text: #F0EBF5;
    --text-mid: #ADA4C4;
    --text-dim: #7A7192;
    --pink: #E878AE;
    --pink-hover: #F090C0;
    --pink-glow: rgba(232, 120, 174, 0.15);
    --pink-subtle: rgba(232, 120, 174, 0.06);
    --purple: #A88BC8;
    --purple-glow: rgba(168, 139, 200, 0.1);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Figtree', system-ui, sans-serif;
    --hand: 'Caveat', cursive;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* === BASE === */
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--pink); color: var(--bg); }
  a { color: var(--pink); text-decoration: none; transition: color 0.3s; }
  a:hover { color: var(--pink-hover); }
  img { max-width: 100%; display: block; }

  ::-webkit-scrollbar { width: 5px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--bg-surface); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--pink); }

  /* === SHARED UTILITIES === */
  .container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
  .s-alt { background: var(--bg-alt); }

  .sec-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink); margin-bottom: 1rem; display: block; }
  .sec-title { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 1rem; }
  .sec-desc { color: var(--text-mid); font-weight: 300; font-size: 0.95rem; max-width: 460px; margin-top: 1rem; }

  .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border: none; border-radius: 6px; cursor: pointer; transition: all 0.35s var(--ease); }
  .btn--fill { background: var(--pink); color: var(--bg); }
  .btn--fill:hover { background: var(--pink-hover); color: var(--bg); transform: translateY(-1px); box-shadow: 0 8px 28px var(--pink-glow); }
  .btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(240, 235, 245, 0.1); }
  .btn--ghost:hover { border-color: var(--pink); color: var(--pink); }

  .link-arrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .link-arrow::after {
    content: '\2192';
    display: inline-block;
    transition: transform 0.35s var(--ease);
  }
  .link-arrow:hover::after { transform: translateX(5px); }
  .link-arrow svg { transition: transform 0.3s var(--ease); }
  .link-arrow:hover svg { transform: translateX(4px); }

  /* === SCROLL REVEAL === */
  .reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.vis { opacity: 1; transform: none; }
  .reveal-stagger { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  .reveal-stagger.vis { opacity: 1; transform: none; }.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    height: 72px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(13, 10, 18, 0.4);
    backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid rgba(240, 235, 245, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s var(--ease);
  }

  /* Homepage glassy variant */
  .nav--home {
    background: rgba(13, 10, 18, 0.35);
    backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid rgba(240, 235, 245, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(240, 235, 245, 0.04);
  }

  .nav--home.scrolled {
    height: 58px;
    background: rgba(13, 10, 18, 0.6);
    border-bottom-color: rgba(232, 120, 174, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(240, 235, 245, 0.06);
  }

  .nav__logo {
    font-family: var(--serif);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--text);
  }

  .nav__logo em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--pink);
    font-size: 1.5rem;
    vertical-align: baseline;
    line-height: 1;
    margin-left: 0.15em;
  }

  .nav__links {
    display: flex; align-items: center;
    gap: clamp(1.2rem, 3vw, 2.5rem);
    list-style: none;
  }

  .nav__links a {
    color: var(--text-dim);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.3s;
  }

  .nav__links a:hover,
  .nav__links a.active { color: var(--text); }

  .nav__cta {
    padding: 0.5rem 1.3rem;
    background: var(--pink);
    color: var(--bg) !important;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 6px;
    transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  }

  .nav__cta:hover {
    background: var(--pink-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--pink-glow);
  }

  .nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
  }

  .nav__hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    transition: all 0.4s var(--ease);
    transform-origin: center;
    border-radius: 1px;
  }

  .nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
  .nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

  @media (max-width: 768px) {
    .nav { overflow: visible; }
    .nav__links { display: none; }
    .nav__hamburger {
      display: flex;
      position: absolute;
      right: clamp(1.5rem, 5vw, 4rem);
      top: 50%;
      transform: translateY(-50%);
    }
    .nav__links.open {
      display: flex; flex-direction: column;
      position: absolute; top: 0; left: 0;
      width: 100%; height: 100dvh;
      background: rgba(13, 10, 18, 0.98);
      backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
      background-image: radial-gradient(ellipse at 50% 0%, rgba(232, 120, 174, 0.06) 0%, transparent 60%);
      justify-content: center; align-items: center; gap: 2rem; z-index: 999;
    }
    .nav__links.open a { font-size: 1rem; color: var(--text); }
  }/* === Simple footer (default) === */
  .footer {
    padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
    border-top: 1px solid rgba(240, 235, 245, 0.03);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer__copy { color: var(--text-dim); font-size: 0.72rem; font-weight: 300; }
  .footer__credit { color: var(--text-dim); font-size: 0.68rem; font-weight: 300; }
  .footer__credit a { color: var(--text-mid); }
  .footer__links { display: flex; gap: 1.5rem; }
  .footer__links a {
    color: var(--text-dim); font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  .footer__links a:hover { color: var(--pink); }

  /* === Full footer (homepage) === */
  .footer--full {
    display: block;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) 0;
    border-top: 1px solid rgba(240, 235, 245, 0.04);
    background: var(--bg-alt);
  }
  .footer__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: clamp(3rem, 5vw, 5rem);
    max-width: 1320px;
    margin: 0 auto;
  }
  .footer__logo {
    font-family: var(--serif);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--text);
  }
  .footer__logo em {
    font-family: var(--serif);
    font-style: italic;
    color: var(--pink);
    font-size: 1.5rem;
    vertical-align: baseline;
    line-height: 1;
    margin-left: 0.15em;
  }
  .footer__tagline {
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
  }
  .footer__social { display: flex; gap: 1rem; margin-top: 1.2rem; }
  .footer__social a {
    color: var(--text-dim);
    transition: color 0.3s, transform 0.3s var(--ease);
  }
  .footer__social a:hover { color: var(--pink); transform: translateY(-2px); }
  .footer__col h4 {
    font-family: var(--serif);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text);
  }
  .footer__col ul { list-style: none; }
  .footer__col li { margin-bottom: 0.5rem; }
  .footer__col a {
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 300;
    transition: color 0.3s;
  }
  .footer__col a:hover { color: var(--pink); }
  .footer__col p {
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.7;
  }
  .footer__bar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    max-width: 1320px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(240, 235, 245, 0.04);
  }
  .footer__bar-links { display: flex; gap: 1.5rem; }
  .footer__bar-links a {
    color: var(--text-dim); font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
  }
  .footer__bar-links a:hover { color: var(--pink); }

  @media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer__brand { grid-column: 1 / -1; }
  }
  @media (max-width: 480px) {
    .footer__grid { grid-template-columns: 1fr; }
  }