/* ========================================================================
   SAN MARINO PLAZA — SURF CITY
   Base design tokens — navy / gold / turquoise coastal system
   ======================================================================== */

:root {
  /* ---- Color: Navy (primary) ---- */
  --navy-900: #0E2A4A;
  --navy-800: #123456;
  --navy-700: #1A4468;
  --navy-600: #22547E;

  /* ---- Color: Gold (CTA / sun) ---- */
  --gold-500: #F2A93B;
  --gold-600: #E8A020;
  --gold-100: #FBE4BE;

  /* ---- Color: Turquoise (ocean) ---- */
  --turq-500: #1FA8D6;
  --turq-700: #0C6E96;

  /* ---- Color: Neutral ---- */
  --white: #FFFFFF;
  --sand-50: #FAF7F2;
  --sand-100: #F3EEE4;

  /* ---- Color: Accents (sparingly) ---- */
  --coral-500: #D8483B;
  --coral-600: #E2564A;
  --green-500: #3F6B4A;
  --green-600: #4C7A55;

  /* ---- Color: Editorial charcoal ---- */
  --charcoal-900: #1C1815;
  --charcoal-800: #2A2320;

  /* ---- Text on light ---- */
  --ink: var(--navy-900);
  --ink-soft: #4A5A6C;

  /* ---- Type scale (fluid) ---- */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  --text-3xl: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --text-hero: clamp(2.75rem, 2rem + 4vw, 5.5rem);

  /* ---- Fonts ---- */
  --font-display: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Work Sans', ui-sans-serif, system-ui, sans-serif;

  /* ---- Spacing ---- */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --space-9: 9rem;

  /* ---- Radius ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* ---- Shadow ---- */
  --shadow-soft: 0 8px 30px rgba(14, 42, 74, 0.10);
  --shadow-card: 0 12px 40px rgba(14, 42, 74, 0.14);
  --shadow-lift: 0 20px 60px rgba(14, 42, 74, 0.20);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur-med: 450ms;
  --dur-slow: 800ms;

  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 800;
}

p { margin: 0; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-3); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-600);
  outline-offset: 3px;
}
