/* Layers: tokens first, then core, components, utilities. Brand tokens get set at Gate 2. */
@layer reset, tokens, core, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  img { max-width: 100%; height: auto; display: block; }
}
@layer tokens {
  /* Decades brand tokens, read from the live site 11/16/2026 (ACSS 3.3.6 palette, Bricks theme style, child-theme
     type scale). Gate 2 proposal. Names are ours; source noted where it isn't obvious. */
  :root {
    /* Color: ACSS primary (hot pink) and base (midnight navy), shades as ACSS generated them */
    --color-pink: #f806cc;            --color-pink-hover: #fa29d3;   --color-pink-light: #fdb4f0;
    --color-pink-dark: #7c0366;       --color-pink-deep: #320129;    /* card panels, bottle-menu band */
    --color-pink-a70: rgb(248 6 204 / .7);
    --color-night: #03001c;           /* page background (ACSS base) */
    --color-night-deep: #050033;      --color-night-glow: #0d0080;   /* .bg--glow radial */
    --color-black: #000;              /* header/footer band */
    --color-white: #fff;              --color-gray: #a6a6a6;         /* muted footer copy */
    --color-rule: rgb(64 64 64 / .8); /* hairlines (neutral-dark-trans-80) */

    /* Purpose */
    --bg: var(--color-night);  --text: var(--color-white);  --accent: var(--color-pink);
    --link: var(--color-pink); --link-hover: var(--color-pink-light);

    /* Type: Outfit body, Gantari headings (600), Mexcellent ("decades") for display titles */
    --font-body: "Outfit", "Outfit Fallback", system-ui, sans-serif;
    --font-heading: "Gantari", "Gantari Fallback", system-ui, sans-serif;
    --font-display: "Decades", "Gantari", system-ui, sans-serif;
    --text-xs: clamp(0.79rem, -0.01vw + 0.79rem, 0.78rem);
    --text-s:  clamp(0.89rem, 0.08vw + 0.87rem, 0.94rem);
    --text-m:  clamp(1rem, 0.21vw + 0.96rem, 1.13rem);
    --text-l:  clamp(1.13rem, 0.37vw + 1.05rem, 1.35rem);
    --text-xl: clamp(1.27rem, 0.59vw + 1.15rem, 1.62rem);
    --h6: clamp(0.8rem, -0.04vw + 0.81rem, 0.77rem);
    --h5: clamp(1rem, 0.05vw + 0.99rem, 1.03rem);
    --h4: clamp(1.25rem, 0.21vw + 1.21rem, 1.38rem);
    --h3: clamp(1.56rem, 0.45vw + 1.47rem, 1.83rem);
    --h2: clamp(1.95rem, 0.82vw + 1.79rem, 2.44rem);
    --h1: clamp(2.44rem, 1.36vw + 2.17rem, 3.26rem);
    --h-title: clamp(3.75rem, 10.87vw + 1.304rem, 10rem);  /* "DECADES", "VIP SERVICE" */
    --eyebrow-tracking: .3em;         /* pink uppercase kickers */

    /* Space (ACSS fluid scale, 360 → 1366 px) */
    --space-xs: clamp(0.83rem, -0.02vw + 0.85rem, 0.84rem);
    --space-s:  clamp(1.125rem, 0.2vw + 1.08rem, 1.25rem);
    --space-m:  clamp(1.5rem, 0.6vw + 1.37rem, 1.875rem);
    --space-l:  clamp(2rem, 1.29vw + 1.71rem, 2.8125rem);
    --space-xl: clamp(2.67rem, 2.47vw + 2.11rem, 4.22rem);
    --section-s: clamp(2.25rem, 2.38vw + 1.71rem, 3.75rem);
    --section-m: clamp(3rem, 4.17vw + 2.06rem, 5.625rem);
    --section-l: clamp(4rem, 7.06vw + 2.41rem, 8.4375rem);
    --gutter: clamp(1.25rem, 3.98vw + 0.36rem, 3.75rem);
    --width-content: 85.375rem;       /* 1366 px */

    /* Shape and buttons */
    --radius: 5px;  --radius-l: 7.5px;  --card-radius: 1.25rem;  /* home feature panel */
    --btn-pad: .75em 1.25em;  --btn-border: 2px;  --btn-weight: 600;  /* uppercase, pink fill or white outline */
  }
}
@layer core {
  html { font-size: 100%; }
  body { font-family: var(--font-body); color: var(--color-ink); background: var(--color-paper); line-height: 1.5; }
  h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }
  a { color: var(--color-accent); }
  .skip-link { position: absolute; left: -999px; }
  .skip-link:focus { left: var(--space-s); top: var(--space-s); }
  .button { display: inline-block; padding: .75em 1.25em; background: var(--color-accent); color: #fff; text-decoration: none; border: 0; font: inherit; cursor: pointer; }
}
@layer components {
  .site-header__inner, .site-footer__inner, .hero__inner, .contact { max-width: var(--width-content); margin-inline: auto; padding: var(--space-s); }
  .site-header__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-s); flex-wrap: wrap; }
  .site-header__brand { font-weight: 700; text-decoration: none; color: inherit; }
  .site-nav__list { display: flex; gap: var(--space-s); list-style: none; margin: 0; padding: 0; }
  .site-nav__link[aria-current="page"] { font-weight: 700; }
  .hero { padding-block: var(--space-l); }
  .hero__heading { font-size: clamp(2rem, 5vw, 3.5rem); }
  .hero__subheading { margin-block: var(--space-s) var(--space-m); max-width: 40rem; }
  .contact-form { display: grid; gap: var(--space-s); max-width: 36rem; margin-top: var(--space-m); }
  .contact-form__field { display: grid; gap: .25rem; }
  .contact-form__field input, .contact-form__field textarea { font: inherit; padding: .5rem; }
  .contact-form__trap { position: absolute; left: -9999px; }
  .contact-form__error, .contact-form__status { color: var(--color-accent); font-weight: 700; }
  .site-footer { margin-top: var(--space-l); border-top: 1px solid currentColor; }
  .site-footer__nap { font-style: normal; }
}
@layer utilities {
  .reveal { opacity: 0; transform: translateY(1rem); transition: opacity .5s ease, transform .5s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
}
