/* Project Serve Beach design tokens, v1.0, 2026-12-04.
   Read from the capture of projectservebeach.com (styles.css, computed type, both full-page pictures).
   Every value here was measured unless the comment says "decided". */

:root {
  /* ---- Color ----
     Measured: the site paints black (#000000) and a blue-black (#13131C seen, made by an
     80% #181823 wash over a photo), with gold #FFB606 as the one accent, off-white #F9F8F8 type
     and white bands. Teal #3AA6B9 and its pale #E9F8F9 come from the theme and only show in the
     phone menu. Decided: these names are roles; the hex values are the site's own. */
  --color-ink: #000000;            /* black bands, button text */
  --color-ink-blue: #181823;       /* the photo wash (theme color 7) */
  --color-ink-blue-seen: #13131c;  /* the wash as it reads on the page */
  --color-ink-footer: #000101;     /* bottom footer strip */
  --color-paper: #ffffff;          /* white band, body text on dark */
  --color-paper-soft: #f9f8f8;     /* headings and nav on dark */
  --color-gold: #ffb606;           /* the accent: buttons, section titles */
  --color-teal: #3aa6b9;           /* phone menu button */
  --color-teal-pale: #e9f8f9;      /* phone menu panel */
  --color-slate: #454f5e;          /* phone menu links */
  --color-rule: #dddddd;           /* phone menu dividers */
  --color-rule-light: #e6e6e6;     /* footer top hairline */

  /* Contrast, checked by hand (WCAG ratio):
     gold on black 11.9:1; black on gold 11.9:1; off-white on black 19.6:1;
     white on #13131C 18.6:1; black on white 21:1; slate on teal-pale 7.6:1;
     off-white on teal 2.7:1 (the phone menu button; the icon is a large shape, see components.css);
     white on gold 1.8:1, which is why the hover state here keeps black text (decided). */
  --overlay-hero: rgba(24, 24, 35, 0.5);     /* measured: hero wash, #181823 at 50% */
  --overlay-photo: rgba(24, 24, 35, 0.8);    /* measured: services band wash, #181823 at 80% */

  /* ---- Type ----
     Measured: two faces only. Anton (display, uppercase, 1px tracking) for every heading and
     Poppins (text) for body, nav and buttons. Anton loads at 400 only; Poppins at 400, and 700
     for buttons. Root size is 16px at 1440 and 14.6px at 390 (the theme sets 91.25% under 545px). */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-text: "Poppins", Arial, sans-serif;
  --weight-regular: 400;
  --weight-display-hero: 500;  /* measured on the hero line; Anton draws it at 400 */
  --weight-bold: 700;
  --tracking-display: 1px;

  /* Sizes as roles (1440 value, then 390 value in the media block below). */
  --size-hero: 80px;         /* hero line; 55px at tablet, 30px at phone */
  --size-section: 34px;      /* section titles (h2); 24px at phone */
  --size-item: 25px;         /* list titles (h4), white band title (h3), all large buttons */
  --size-footer-title: 1.375rem; /* 22px; 20.1px at phone */
  --size-body: 1rem;         /* 16px; 14.6px at phone */
  --size-small-button: 15px; /* header button; 14px at phone */

  --leading-hero: 1.4;       /* 112px on 80px */
  --leading-typed: 148.6px;  /* the typed word's line at 1440 */
  --leading-section: 1.3;    /* 44.2px on 34px */
  --leading-item: 1.2;       /* 30px on 25px */
  --leading-band-title: 1.3; /* 32.5px on 25px */
  --leading-footer-title: 1.5;
  --leading-body: 1.85;      /* 29.7px on 16px */
  --leading-nav: 70px;       /* desktop nav line */

  /* ---- Space ----
     Measured band paddings: 150 (join, services), 100 (events), 40 (white band) at 1440;
     75, 50, 30 at 390. Decided: a scale that holds those exactly. */
  --space-2xs: 10px;
  --space-xs: 15px;
  --space-s: 20px;
  --space-m: 25px;
  --space-l: 30px;
  --space-xl: 40px;
  --space-2xl: 50px;
  --space-3xl: 75px;
  --space-4xl: 100px;
  --space-5xl: 150px;

  /* ---- Layout ----
     Measured: content 1170px wide (135px gutters at 1440); footer grid 1200px with 30px padding;
     phones use 20px side padding. */
  --container: 1170px;
  --container-footer: 1200px;
  --gutter-phone: 20px;
  --header-height: 143px;
  --header-height-phone: 98px;
  --logo-width: 120px;
  --logo-width-phone: 74px;

  /* ---- Shape and motion ----
     Measured: every button and box is square (radius 0). Links fade in 0.2s linear, buttons 0.3s. */
  --radius: 0;
  --rule-width: 1px;
  --motion-fast: 0.2s linear;
  --motion-base: 0.3s ease;

  /* Focus ring (decided: the site shows only a thin dotted outline). Gold reads 11.9:1 on black;
     on white bands the ring switches to black. */
  --focus-ring: 3px solid var(--color-gold);
  --focus-ring-on-light: 3px solid var(--color-ink);
  --focus-offset: 3px;
}

@media (max-width: 1024px) {
  :root { --size-hero: 55px; }
}

@media (max-width: 767px) {
  :root {
    --size-hero: 30px;
    --leading-typed: 55.7px;
  }
}

@media (max-width: 544px) {
  :root {
    --size-section: 24px;
    --size-small-button: 14px;
  }
}
