/* ==========================================================================
   Surfridge Golf Co. — Design System
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Palette: sun-bleached coastal California */
  --sand-50:  #FBF8F3;
  --sand-100: #F4EEE4;
  --sand-200: #E8DFD0;
  --sand-300: #D6C8B2;

  --ink-900:  #14232B;   /* deep pacific navy — primary text */
  --ink-700:  #223B47;
  --ink-500:  #4A6674;
  --ink-400:  #6E8794;

  --surf-600: #1F6F6B;   /* fairway / ocean teal — primary accent */
  --surf-500: #2A8C86;
  --surf-100: #DCEDEB;

  --sunset-600: #C2562B; /* faded terracotta — secondary accent */
  --sunset-500: #E0703C;
  --sunset-100: #FBE7DC;

  --white: #FFFFFF;

  /* Type */
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.75rem;
  --fs-sm:  clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(1.875rem, 1.5rem + 1.8vw, 3rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3.5rem, 2rem + 6vw, 7.5rem);

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 720px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Effects */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 35, 43, 0.06), 0 2px 8px rgba(20, 35, 43, 0.05);
  --shadow: 0 4px 12px rgba(20, 35, 43, 0.07), 0 12px 32px rgba(20, 35, 43, 0.08);
  --shadow-lg: 0 8px 24px rgba(20, 35, 43, 0.10), 0 24px 60px rgba(20, 35, 43, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

@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;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--surf-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--surf-500); }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--surf-500);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Utilities ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.section--sand { background: var(--sand-100); }
.section--ink { background: var(--ink-900); color: var(--sand-200); }
.section--ink h2, .section--ink h3 { color: var(--white); }

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-5);
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: var(--space-4); color: var(--white); }

.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;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--surf-600);
  margin: 0 0 var(--space-3);
}
.eyebrow--sunset { color: var(--sunset-600); }
.eyebrow--light { color: var(--surf-100); }

.lead { font-size: var(--fs-lead); color: var(--ink-500); line-height: 1.6; }
.section--ink .lead { color: var(--sand-300); }

.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.rule {
  width: 56px; height: 3px; border: 0; border-radius: 2px;
  background: var(--sunset-500); margin: 0 0 var(--space-5);
}
.section-head--center .rule { margin-inline: auto; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--ink-900); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--surf-600); color: var(--white); box-shadow: var(--shadow); }

.btn--accent { background: var(--sunset-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--sunset-500); color: var(--white); box-shadow: var(--shadow); }

.btn--ghost { background: transparent; color: var(--ink-900); border-color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: var(--white); }

.btn--light { background: var(--white); color: var(--ink-900); }
.btn--light:hover { background: var(--sand-100); color: var(--ink-900); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--outline-light:hover { background: var(--white); color: var(--ink-900); border-color: var(--white); }

.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--sand-200);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 72px;
  padding-block: var(--space-3);
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: var(--space-2); }

.nav__list { display: flex; align-items: center; gap: var(--space-1); }

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.nav__link:hover { color: var(--ink-900); background: var(--sand-200); }
.nav__link[aria-current="page"] { color: var(--surf-600); font-weight: 600; }

.nav__cta { margin-left: var(--space-3); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink-900);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    padding: var(--space-5) var(--gutter) var(--space-6);
    background: var(--sand-50);
    border-bottom: 1px solid var(--sand-200);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: var(--space-1); }
  .nav__link { padding: var(--space-3); font-size: 1.0625rem; }
  .nav__cta { margin-left: 0; margin-top: var(--space-2); }
  .btn--nav { width: 100%; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(520px, 78vh, 820px);
  padding-block: var(--space-9) var(--space-8);
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media picture { display: block; width: 100%; height: 100%; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Favours the horizon/beach band of the photo when the crop gets wide */
  object-position: center 46%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Light scrim — just enough at the base to hold the headline, clears fast
     so the sky, beach and dunes stay bright. Text shadows below do the rest. */
  background:
    linear-gradient(to top,
      rgba(9, 19, 25, 0.78) 0%,
      rgba(9, 19, 25, 0.55) 26%,
      rgba(9, 19, 25, 0.22) 55%,
      rgba(9, 19, 25, 0.02) 100%);
}

.hero__content { max-width: 44rem; }
.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-5);
  /* Carries legibility now that the scrim is light */
  text-shadow: 0 2px 24px rgba(6, 14, 19, 0.55), 0 1px 3px rgba(6, 14, 19, 0.45);
}
.hero__lead {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.94);
  max-width: 34rem;
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 16px rgba(6, 14, 19, 0.6), 0 1px 2px rgba(6, 14, 19, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.9rem;
  margin-bottom: var(--space-5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Page header (interior pages) */
.page-header {
  background: var(--ink-900);
  color: var(--sand-200);
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(42, 140, 134, 0.35), transparent 60%),
              radial-gradient(ellipse at 90% 100%, rgba(194, 86, 43, 0.28), transparent 55%);
}
.page-header > * { position: relative; }
.page-header h1 { color: var(--white); }
.page-header .lead { color: rgba(255, 255, 255, 0.78); max-width: 40rem; }

/* --- Feature rows (alternating) ----------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.feature + .feature { margin-top: clamp(3rem, 6vw, 6rem); }
.feature:nth-child(even) .feature__media { order: -1; }

.feature__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--sand-200);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }

@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: var(--space-5); }
  .feature:nth-child(even) .feature__media { order: 0; }
  .feature__media { order: -1 !important; }
}

/* --- Card grid ---------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand-300); }

.card__media { aspect-ratio: 3 / 2; background: var(--sand-200); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }

.card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; gap: var(--space-2); }
.card__body h3 { margin-bottom: 0; font-size: var(--fs-h4); }
.card__meta { font-size: 0.8125rem; color: var(--ink-400); margin: 0; }
.card__foot { margin-top: auto; padding-top: var(--space-4); }

.card-link { text-decoration: none; color: inherit; }
.card-link:hover h3 { color: var(--surf-600); }

/* --- Value props -------------------------------------------------------- */
.value {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.value__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin-bottom: var(--space-4);
  background: var(--surf-100);
  border-radius: var(--radius);
}
.value__icon img { width: 28px; height: 28px; }
.value h4 { margin-bottom: var(--space-2); }
.value p { font-size: var(--fs-sm); color: var(--ink-500); }

/* --- Split / story ------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  background: var(--ink-700);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: -1; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* --- Stats -------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--sand-200);
}
.section--ink .stats { border-color: rgba(255,255,255,0.14); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.section--ink .stat__num { color: var(--white); }
.stat__label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-400); margin: 0;
}
.section--ink .stat__label { color: var(--sand-300); }

/* --- Product cards ------------------------------------------------------ */
.product {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sand-300); }

.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--sand-100);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--sand-200);
}
.product__media picture { display: block; width: 100%; height: 100%; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }

/* Product shots are on white studio backgrounds — keep the tile white so the
   photo edge doesn't show a seam against the sand-toned card. */
.product__media:has(picture) { background: var(--white); }

.product__placeholder {
  display: grid;
  place-items: center;
  gap: var(--space-3);
  width: 100%; height: 100%;
  padding: var(--space-6);
  text-align: center;
  color: var(--ink-400);
  background:
    repeating-linear-gradient(45deg, var(--sand-100) 0 12px, var(--sand-50) 12px 24px);
}
.product__placeholder svg { width: 48px; height: 48px; opacity: 0.5; }
.product__placeholder span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

.product__tag {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  padding: 0.3rem 0.7rem;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: var(--sunset-600);
  border-radius: 999px;
}

.product__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-2); padding: var(--space-5); }
.product__cat { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--surf-600); margin: 0; }
.product__title { font-size: var(--fs-h4); margin: 0; }
.product__desc { font-size: var(--fs-sm); color: var(--ink-500); margin: 0; }
.product__price { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink-900); margin: var(--space-2) 0 0; }
.product__foot { margin-top: auto; padding-top: var(--space-4); display: grid; gap: var(--space-2); }
.product__note { font-size: 0.75rem; color: var(--ink-400); margin: 0; text-align: center; }

/* --- Newsletter --------------------------------------------------------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  color: var(--sand-200);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 20%, rgba(42, 140, 134, 0.4), transparent 55%),
              radial-gradient(ellipse at 5% 90%, rgba(194, 86, 43, 0.3), transparent 50%);
}
.newsletter > * { position: relative; }
.newsletter h2 { color: var(--white); }
.newsletter p { color: rgba(255,255,255,0.78); }

.form-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.form-row > .field { flex: 1 1 14rem; }

.field label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-2); color: rgba(255,255,255,0.7); }

.input {
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--ink-900);
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: 999px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.input::placeholder { color: var(--ink-400); }
.input:focus { outline: none; border-color: var(--surf-500); box-shadow: 0 0 0 4px rgba(42,140,134,0.25); }

.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: var(--space-3); }

.form-status { margin-top: var(--space-3); font-size: var(--fs-sm); font-weight: 500; }
.form-status[data-state="success"] { color: #7BD8CF; }

@media (max-width: 800px) {
  .newsletter { grid-template-columns: 1fr; }
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: var(--sand-300);
  padding-block: var(--space-8) var(--space-6);
  font-size: var(--fs-sm);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer img { height: 48px; width: auto; margin-bottom: var(--space-4); }
.site-footer h5 {
  font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white); margin: 0 0 var(--space-4);
}
.site-footer a { color: var(--sand-300); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer li + li { margin-top: var(--space-2); }
.site-footer__tagline { max-width: 26rem; color: var(--ink-400); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  justify-content: space-between; align-items: center;
  padding-top: var(--space-5);
  font-size: 0.8125rem; color: var(--ink-400);
}

@media (max-width: 800px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* --- Scroll reveal ------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
