/* Rugby Ski Club - 2026 rebuild
   Plain CSS, no preprocessor. Mobile-first. */

:root {
  --c-ink:        #0e1d2c;
  --c-ink-soft:   #1c2e42;
  --c-slate:      #3a4858;
  --c-mute:       #6a7886;
  --c-line:       #d9dde3;
  --c-paper:      #f6f3ed;
  --c-paper-2:    #efeae1;
  --c-snow:       #fafbfc;
  --c-bg:         #ffffff;
  --c-accent:     #b6803a;   /* warm timber */
  --c-accent-ink: #8a5d22;
  --c-ice:        #a8c5da;
  --c-ridge:      #2a4364;

  --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --f-mono:    ui-monospace, SFMono-Regular, 'Cascadia Mono', Menlo, monospace;

  --shadow-sm:  0 1px 2px rgba(14, 29, 44, 0.06), 0 1px 3px rgba(14, 29, 44, 0.04);
  --shadow-md:  0 8px 24px rgba(14, 29, 44, 0.08), 0 2px 6px rgba(14, 29, 44, 0.05);
  --shadow-lg:  0 24px 60px rgba(14, 29, 44, 0.14), 0 8px 20px rgba(14, 29, 44, 0.08);

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;

  --container:   1200px;
  --container-wide: 1360px;
  --gutter: clamp(18px, 3.6vw, 48px);

  --t-fast:  150ms cubic-bezier(.2,.7,.3,1);
  --t-norm:  280ms cubic-bezier(.2,.7,.3,1);
  --t-slow:  600ms cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset / base ---------- */
*, *::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 { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 0; }
::selection { background: var(--c-accent); color: var(--c-snow); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--c-ink);
  margin: 0 0 0.5em;
}
.h-display {
  font-size: clamp(2.1rem, 6vw + 0.5rem, 5.5rem);
  font-weight: 350;
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4vw + 0.6rem, 3.6rem); text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 2.4vw + 0.7rem, 3rem); text-wrap: balance; word-break: break-word; }
h3 { font-size: clamp(1.2rem, 1vw + 0.85rem, 1.6rem); text-wrap: balance; }
h4 { font-size: 1.1rem; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--c-slate); line-height: 1.6; max-width: 60ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent-ink);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.muted { color: var(--c-mute); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container.wide { max-width: var(--container-wide); }
.section {
  padding: clamp(72px, 9vw, 140px) 0;
  position: relative;
}
.section--paper { background: var(--c-paper); }
.section--ink { background: var(--c-ink); color: var(--c-paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--c-paper); }
.section--ink .lead { color: rgba(246, 243, 237, 0.78); }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.flow > * + * { margin-top: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-norm), color var(--t-norm), border-color var(--t-norm), box-shadow var(--t-norm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--t-norm); }
.btn:hover .icon { transform: translateX(2px); }

.btn-primary {
  background: var(--c-ink);
  color: var(--c-snow);
  border-color: var(--c-ink);
}
.btn-primary:hover { background: var(--c-ink-soft); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: rgba(14, 29, 44, 0.18);
}
.btn-ghost:hover { background: var(--c-ink); color: var(--c-snow); border-color: var(--c-ink); }
.btn-on-dark {
  background: var(--c-snow);
  color: var(--c-ink);
}
.btn-on-dark:hover { background: var(--c-paper); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-ink);
  font-weight: 500;
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 2px;
  transition: gap var(--t-norm), border-color var(--t-norm);
}
.btn-link:hover { gap: 14px; border-color: var(--c-accent); }
.btn-link .icon { width: 16px; height: 16px; }

/* ---------- Top bar / nav ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background var(--t-norm), box-shadow var(--t-norm), padding var(--t-norm), color var(--t-norm);
  color: var(--c-snow);
}
.topbar--scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(14,29,44,.06);
  color: var(--c-ink);
  padding: 12px 0;
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: inherit;
}
.brand__mark {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}
.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.78;
}
.nav { display: none; align-items: center; gap: 26px; }
.nav a {
  font-size: 0.92rem;
  position: relative;
  padding: 4px 0;
  color: inherit;
  transition: opacity var(--t-fast);
}
.nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: currentColor;
  transition: width var(--t-norm);
}
.nav a:hover::after { width: 100%; }
.nav-cta { margin-left: 8px; }
.topbar .btn-ghost { color: inherit; border-color: currentColor; opacity: 0.8; }
.topbar .btn-ghost:hover { opacity: 1; background: currentColor; color: var(--c-ink); }
.topbar--scrolled .btn-ghost:hover { color: var(--c-snow); }

.menu-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: inherit;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (min-width: 980px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--c-ink);
  color: var(--c-snow);
  z-index: 60;
  transform: translateY(-100%);
  transition: transform var(--t-norm);
  display: flex; flex-direction: column;
  padding: 24px var(--gutter);
}
.drawer[aria-hidden="false"] { transform: translateY(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.drawer__nav a {
  font-family: var(--f-display);
  font-size: clamp(2rem, 8vw, 3rem);
  letter-spacing: -0.02em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.drawer__foot { margin-top: auto; padding-top: 32px; opacity: 0.7; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--c-snow);
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(580px, 92vh, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 0 clamp(64px, 9vh, 120px);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s ease;
}
.hero__veil {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(11,26,42,.6), transparent 70%),
    linear-gradient(180deg, rgba(11,26,42,.45) 0%, rgba(11,26,42,0) 35%, rgba(11,26,42,.55) 100%);
}
.hero__inner {
  position: relative;
  display: flex; flex-direction: column; gap: 24px;
  max-width: 920px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 4px;
}
.hero__eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
}
.hero h1 {
  color: var(--c-snow);
  font-weight: 350;
  font-size: clamp(1.7rem, 5.2vw + 0.4rem, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  max-width: 18ch;
}
@media (min-width: 700px) { .hero h1 { max-width: none; } }
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  display: inline;
}
@media (min-width: 700px) {
  .hero h1 em { display: block; margin-top: 0.05em; }
}
.hero__lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 0.6vw + 0.95rem, 1.18rem);
  max-width: 56ch;
  line-height: 1.55;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 16px;
}
.hero__meta {
  position: absolute;
  right: var(--gutter); bottom: clamp(64px, 9vh, 120px);
  text-align: right;
  font-family: var(--f-body);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  display: none;
}
.hero__meta strong {
  display: block;
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 6px;
  color: var(--c-snow);
  line-height: 1;
}
@media (min-width: 900px) {
  .hero__meta { display: block; }
}
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll svg { width: 18px; height: 18px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(6px); }
}

/* ---------- Marquee ribbon ---------- */
.ribbon {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 18px 0;
  background: var(--c-snow);
  overflow: hidden;
}
.ribbon__track {
  display: flex; align-items: center; gap: 56px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--c-slate);
  animation: marquee 38s linear infinite;
}
.ribbon__track span { display: inline-flex; align-items: center; gap: 56px; }
.ribbon__track .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--c-accent); display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section: about ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (min-width: 900px) {
  .about { grid-template-columns: 1.05fr 1fr; }
}
.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--c-paper-2);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  bottom: 20px; left: 20px;
  padding: 12px 18px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.about__badge svg { width: 18px; height: 18px; color: var(--c-accent); }
.about__since {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6vw + 0.5rem, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-accent);
  margin: 0 0 -6px;
}
.about p { color: var(--c-slate); }
.about .quote {
  margin-top: 36px;
  padding: 24px 28px;
  border-left: 2px solid var(--c-accent);
  background: var(--c-paper);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--f-display);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--c-ink);
  line-height: 1.45;
}

/* ---------- Section: features ---------- */
.feature-grid {
  display: grid; gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 720px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: var(--c-bg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background var(--t-norm), transform var(--t-norm);
}
.feature:hover { background: var(--c-paper); }
.feature__icon {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 12px;
  background: var(--c-paper);
  color: var(--c-accent-ink);
}
.feature:hover .feature__icon { background: var(--c-bg); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h4 { margin: 0; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--c-slate); font-size: 0.95rem; }

/* ---------- Stats / numbers row ---------- */
.stats {
  display: grid; gap: var(--gutter);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.4vw + 0.6rem, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--c-snow);
  line-height: 1;
}
.stat__label {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 243, 237, 0.65);
}

/* ---------- Location ---------- */
.location {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .location { grid-template-columns: 1fr 1.15fr; }
}
.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(60% 50% at 35% 40%, rgba(168, 197, 218, 0.55), transparent 75%),
    linear-gradient(160deg, #e6ecf2, #cfd9e3 60%, #b8c6d3);
}
.map-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.55;
}
.map-pin {
  position: absolute; left: 60%; top: 48%;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(182, 128, 58, .25), 0 0 0 12px rgba(182, 128, 58, .15);
  transform: translate(-50%, -50%);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(182, 128, 58, .45), 0 0 0 0 rgba(182, 128, 58, .25); }
  70%  { box-shadow: 0 0 0 14px rgba(182, 128, 58, 0), 0 0 0 28px rgba(182, 128, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(182, 128, 58, 0), 0 0 0 0 rgba(182, 128, 58, 0); }
}
.map-label {
  position: absolute;
  left: 60%; top: 48%;
  transform: translate(16px, -50%);
  background: rgba(255,255,255,.96);
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}
.map-meta {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-slate);
  display: inline-flex; align-items: center; gap: 6px;
}
.chip svg { width: 12px; height: 12px; color: var(--c-accent); }

.location__list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 16px;
}
.location__list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: baseline;
}
.location__list li:last-child { border-bottom: 0; }
.location__list dt {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.location__list dd { margin: 0; color: var(--c-slate); }

/* ---------- Booking section ---------- */
.book {
  display: grid; gap: clamp(40px, 6vw, 64px);
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .book { grid-template-columns: 1fr 1fr; }
}
.book__panel {
  background: var(--c-snow);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
}
.calendar {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}
.cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.cal__title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.cal__nav { display: flex; gap: 6px; }
.cal__nav button {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  color: var(--c-slate);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.cal__nav button:hover { background: var(--c-ink); color: var(--c-snow); border-color: var(--c-ink); }
.cal__nav svg { width: 16px; height: 16px; }
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 0.85rem;
}
.cal__dow {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  text-align: center;
  padding: 8px 0;
}
.cal__day {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--c-slate);
  position: relative;
  transition: background var(--t-fast), color var(--t-fast);
  cursor: default;
}
.cal__day--out { color: rgba(106,120,134,.4); }
.cal__day--free:hover { background: var(--c-paper); color: var(--c-ink); cursor: pointer; }
.cal__day--booked {
  color: rgba(106,120,134,.55);
  text-decoration: line-through;
  cursor: not-allowed;
}
.cal__day--booked::after {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: 6px; height: 2px;
  background: var(--c-accent); border-radius: 2px; opacity: 0.5;
}
.cal__day--today {
  background: var(--c-ink); color: var(--c-snow);
}
.cal__legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--c-mute);
}
.cal__legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal__legend i {
  width: 10px; height: 10px; border-radius: 999px; display: inline-block;
}
.cal__legend .free  { background: var(--c-paper-2); border: 1px solid var(--c-line); }
.cal__legend .taken { background: var(--c-accent); opacity: .6; }
.cal__legend .today { background: var(--c-ink); }

/* form */
.form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}
.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  padding: 12px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--c-ink);
  box-shadow: 0 0 0 3px rgba(14, 29, 44, .08);
}
.field textarea { min-height: 110px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .field--row { grid-template-columns: 1fr; } }
.form__note {
  font-size: 0.85rem;
  color: var(--c-mute);
  line-height: 1.5;
}
.form__status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  border: 1px solid transparent;
}
.form__status--ok    { display: block; background: #e9f3ec; color: #1f5b34; border-color: #c6e0cf; }
.form__status--err   { display: block; background: #fbeae8; color: #80281f; border-color: #ecc6c1; }

/* ---------- Membership ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(44px, 6vw, 80px);
  color: var(--c-snow);
  background:
    linear-gradient(120deg, rgba(14,29,44,.78), rgba(14,29,44,.45) 60%, rgba(42,67,100,.5)),
    linear-gradient(180deg, #1c2e42, #0e1d2c);
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 90% at 110% 0%, rgba(244,201,138,.18), transparent 60%),
    radial-gradient(60% 90% at -10% 100%, rgba(168,197,218,.18), transparent 60%);
}
.cta-band h2 { color: var(--c-snow); }
.cta-band p { color: rgba(255,255,255,.78); max-width: 60ch; }
.cta-band__row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--c-ink);
  color: rgba(246,243,237,.78);
  padding: 80px 0 40px;
}
.footer h4 { color: var(--c-snow); font-family: var(--f-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.footer__cols {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand { max-width: 32ch; }
.footer__brand .brand { color: var(--c-snow); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(246,243,237,.78); transition: color var(--t-fast); }
.footer a:hover { color: var(--c-snow); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 0.82rem;
}
@media (min-width: 720px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Helpers ---------- */
.icon { width: 1em; height: 1em; flex: 0 0 auto; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.divider { height: 1px; background: var(--c-line); margin: 24px 0; border: 0; }
.section__title {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.section__title h2 { margin: 0; max-width: 22ch; }
.section__title .lead { margin: 0; }
