/* =========================================================
   Villa Pitstop — light modern edition
   Typeface: Instrument Sans (variable). One family, bold tight
   headlines, pill buttons, soft rounded surfaces, airy spacing.
   ========================================================= */

:root {
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bg:        #fafaf8;
  --surface:   #ffffff;
  --ink:       #17191b;
  --ink-2:     #43484d;
  --muted:     #6c7278;
  --line:      rgba(23, 25, 27, .08);
  --line-2:    rgba(23, 25, 27, .14);

  --accent:    #0e7c8c;   /* pool teal */
  --accent-dk: #0a5d69;
  --accent-bg: #e7f3f5;

  --free-bg: #e3f4e8; --free-fg: #1b7a3d;
  --busy-bg: #fdeaea; --busy-fg: #b23c3c;

  --sh-s: 0 1px 2px rgba(23,25,27,.04), 0 6px 20px rgba(23,25,27,.05);
  --sh-m: 0 2px 4px rgba(23,25,27,.05), 0 18px 44px rgba(23,25,27,.09);

  --r: 18px;
  --r-lg: 28px;

  --wrap: 1180px;
  --gutter: clamp(18px, 5vw, 44px);
  --section: clamp(56px, 8vw, 100px);
  --head-h: 66px;
}
@media (min-width: 1000px) { :root { --head-h: 78px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
section[id], div[id] { scroll-margin-top: calc(var(--head-h) + 10px); }
.hero[id] { scroll-margin-top: 0; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.032em;
  line-height: 1.06;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h3, h4 { font-weight: 600; letter-spacing: -.022em; line-height: 1.25; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Type devices ---------- */
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-dk);
  background: var(--accent-bg);
  border-radius: 999px; padding: 7px 15px;
  margin: 0 0 20px;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.sec-head { text-align: center; max-width: 740px; margin: 0 auto clamp(42px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(32px, 6vw, 56px); margin-bottom: .35em; }
.sec-head .lead { font-size: clamp(16px, 2.2vw, 17.5px); color: var(--muted); max-width: 60ch; margin-inline: auto; }

/* ---------- Frame (rounded media) ---------- */
.frame { position: relative; }
.frame img { width: 100%; display: block; border-radius: var(--r-lg); }
.frame::before { content: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 clamp(24px, 4vw, 32px);
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .2s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: var(--accent-dk); color: #fff; box-shadow: var(--sh-m); }
.btn--ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn span { display: inline-block; transition: transform .25s ease; }
.btn:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--head-h); display: flex; align-items: center;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-stuck {
  background: rgba(250,250,248,.82);
  backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { font-size: 17px; font-weight: 700; letter-spacing: -.03em; color: #fff; white-space: nowrap; transition: color .3s ease; }
.site-header.is-stuck .brand { color: var(--ink); }
.brand:hover { color: var(--accent); }

.nav-desktop { display: none; }
@media (min-width: 1000px) {
  .nav-desktop { display: flex; align-items: center; gap: 4px; }
  .nav-desktop a {
    color: rgba(255,255,255,.85);
    font-size: 14.5px; font-weight: 500; letter-spacing: -.01em;
    padding: 9px 14px; border-radius: 999px;
    transition: color .25s ease, background-color .25s ease;
  }
  .nav-desktop a:hover { color: #fff; background: rgba(255,255,255,.14); }
  .nav-desktop a.is-active { color: #fff; background: rgba(255,255,255,.18); }
  .site-header.is-stuck .nav-desktop a { color: var(--ink-2); }
  .site-header.is-stuck .nav-desktop a:hover { color: var(--ink); background: rgba(23,25,27,.05); }
  .site-header.is-stuck .nav-desktop a.is-active { color: var(--ink); background: rgba(23,25,27,.07); }
  .nav-desktop a.nav-cta { background: #fff; color: var(--ink); font-weight: 600; margin-left: 8px; }
  .nav-desktop a.nav-cta:hover { background: var(--accent); color: #fff; }
  .site-header.is-stuck .nav-desktop a.nav-cta { background: var(--ink); color: #fff; }
  .site-header.is-stuck .nav-desktop a.nav-cta:hover { background: var(--accent-dk); color: #fff; }
}

.burger { width: 46px; height: 46px; margin-right: -12px; display: grid; align-content: center; justify-items: end; gap: 6px; }
.burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: width .3s ease, background-color .3s ease; }
.site-header.is-stuck .burger span { background: var(--ink); }
.burger span:nth-child(1) { width: 24px; }
.burger span:nth-child(2) { width: 16px; }
.burger:hover span { width: 24px; }
@media (min-width: 1000px) { .burger { display: none; } }

/* ---------- Drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 80; background: var(--bg);
  display: flex; flex-direction: column;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--head-h); }
.drawer .brand { color: var(--ink); }
.drawer-close {
  width: 46px; height: 46px; margin-right: -12px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; box-shadow: var(--sh-s);
  color: var(--ink); font-size: 20px; line-height: 1;
}
.drawer-nav { display: flex; flex-direction: column; margin: auto 0; }
.drawer-nav a {
  font-size: clamp(19px, 5.2vw, 23px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25;
  color: var(--ink); padding: 14px 0;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px);
}
.drawer.is-open .drawer-nav a { animation: drawerIn .45s cubic-bezier(.2,.7,.3,1) forwards; }
.drawer-foot { margin-top: 30px; }
.drawer-foot a { font-size: 15px; font-weight: 600; color: var(--accent-dk); }
@keyframes drawerIn { to { opacity: 1; transform: none; } }
body.no-scroll { overflow: hidden; }

/* ---------- Hero (inset, overlay text) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 10px 10px 0; border-radius: clamp(20px, 3vw, 32px);
  min-height: clamp(420px, 68svh, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
@media (min-width: 760px) { .hero { margin: 12px 12px 0; } }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(10,14,16,.36) 0%, rgba(10,14,16,.02) 34%, rgba(10,14,16,.16) 62%, rgba(10,14,16,.66) 100%);
}
.hero-content {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding: 0 clamp(22px, 5vw, 56px) clamp(30px, 6vh, 64px);
  color: #fff;
}
.hero-content .label { background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(10px); }
.hero-content .label::before { background: #fff; }
.hero h1 {
  color: #fff; font-size: clamp(40px, 9vw, 84px);
  line-height: .96; letter-spacing: -.045em; margin: 0 0 .16em;
}
.hero h1 em { font-style: normal; color: #b7e6ee; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(18px, 3vw, 28px); }
.hero-cta .btn { flex: 1 1 220px; }
@media (min-width: 620px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-cta .btn--solid { background: #fff; color: var(--ink); }
.hero-cta .btn--solid:hover { background: var(--accent); color: #fff; }

/* ---------- Welcome ---------- */
.welcome-grid { display: grid; }
.welcome-copy { max-width: 720px; margin-inline: auto; text-align: center; }
.welcome-copy h2 { font-size: clamp(30px, 5vw, 50px); margin-bottom: .35em; }
.welcome-copy .sub {
  font-size: clamp(19px, 2.8vw, 23px); font-weight: 600; letter-spacing: -.022em;
  color: var(--accent-dk); margin: 0 0 1.1em;
}
.welcome-copy p { color: var(--ink-2); }

/* ---------- Rooms ---------- */
.rooms { display: grid; gap: clamp(18px, 2.6vw, 28px); }
@media (min-width: 860px) { .rooms { grid-template-columns: 1fr 1fr; } }
.room {
  background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(16px, 2.4vw, 22px);
  box-shadow: var(--sh-s);
  display: flex; flex-direction: column; gap: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.room:hover { transform: translateY(-4px); box-shadow: var(--sh-m); }
.room-media { overflow: hidden; border-radius: calc(var(--r-lg) - 8px); }
.room-media img { aspect-ratio: 5/2; object-fit: cover; border-radius: 0; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.room:hover .room-media img { transform: scale(1.04); }
.room-body { padding: clamp(18px, 2.6vw, 26px) clamp(6px, 1vw, 10px) clamp(8px, 1.4vw, 12px); }
.room-num {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--accent-dk); background: var(--accent-bg);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.room-body h3 { font-size: clamp(21px, 2.8vw, 26px); margin-bottom: .5em; }
.room-body p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ---------- Location ---------- */
.location { text-align: center; }
.location-bg { display: none; }
.location .wrap {
  position: relative; background: var(--ink); border-radius: clamp(20px, 3vw, 32px);
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--wrap) - 2 * 10px);
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  overflow: hidden;
}
.location .wrap::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(60% 50% at 70% 20%, rgba(14,124,140,.35), transparent 70%);
  pointer-events: none;
}
.location .wrap > * { position: relative; }
.location .label { background: rgba(255,255,255,.1); color: #9fdbe4; }
.location .label::before { background: #9fdbe4; }
.location-map { max-width: 300px; margin: 0 auto clamp(34px, 5vw, 48px); }
.location-map img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.location-text {
  font-size: clamp(22px, 3.4vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.28;
  color: #fff; max-width: 24ch; margin: 0 auto 22px;
}
.location-note { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255,255,255,.75); }
.location-note svg { color: #9fdbe4; flex: none; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: clamp(12px, 2vw, 22px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 940px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gal-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 4/3; color: #fff; background: var(--surface);
  box-shadow: var(--sh-s); isolation: isolate;
  transition: transform .3s ease, box-shadow .3s ease;
}
@media (min-width: 940px) { .gal-tile { border-radius: var(--r-lg); } }
.gal-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-m); }
.gal-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit;
  transition: transform .8s cubic-bezier(.2,.7,.3,1);
}
.gal-tile:hover img { transform: scale(1.05); }
.gal-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,12,14,.78) 0%, rgba(10,12,14,.18) 46%, transparent 72%);
}
.gal-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(14px, 2.2vw, 24px); }
.gal-meta h3 { font-size: clamp(17px, 2vw, 21px); color: #fff; margin: 0 0 6px; }
.gal-count {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 4px 11px; color: #fff;
}

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(12,14,15,.96); }
.lb.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: max(14px, env(safe-area-inset-top)) 16px 10px; }
.lb-count { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.lb-close {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; font-size: 20px; line-height: 1;
  transition: background-color .25s ease;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-stage { position: relative; min-height: 0; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: lbIn .35s ease; }
@keyframes lbIn { from { opacity: 0; transform: scale(.99); } to { opacity: 1; transform: none; } }
.lb-nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 3;
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  transition: background-color .25s ease;
}
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-nav--prev { left: 10px; } .lb-nav--next { right: 10px; }
@media (min-width: 900px) { .lb-nav--prev { left: 28px; } .lb-nav--next { right: 28px; } }
.lb-caption { padding: 14px 16px max(18px, env(safe-area-inset-bottom)); text-align: center; min-height: 50px; font-size: 14.5px; color: rgba(255,255,255,.85); }
.lb-caption b { font-weight: 600; color: #fff; }

/* ---------- Calendar ---------- */
.cal-card {
  max-width: 780px; margin-inline: auto;
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--sh-s); border: 1px solid var(--line);
  padding: clamp(18px, 3.4vw, 34px);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.cal-title { font-size: clamp(19px, 3.4vw, 24px); font-weight: 700; letter-spacing: -.025em; color: var(--ink); text-transform: capitalize; }
.cal-btn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); color: var(--ink-2);
  transition: background-color .25s ease, color .25s ease, opacity .25s ease;
}
.cal-btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.cal-btn:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
@media (min-width: 560px) { .cal-dow, .cal-grid { gap: 6px; } }
.cal-dow { margin-bottom: 8px; }
.cal-dow span { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cal-dow abbr { text-decoration: none; }
.cal-day {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px;
  font-size: clamp(12px, 2.6vw, 14.5px); font-weight: 600; font-variant-numeric: tabular-nums;
  background: var(--bg); color: var(--muted);
}
@media (min-width: 560px) { .cal-day { aspect-ratio: 1/.82; border-radius: 12px; } }
.cal-day.is-out { opacity: .3; }
.cal-day.is-free { background: var(--free-bg); color: var(--free-fg); }
.cal-day.is-busy { background: var(--busy-bg); color: var(--busy-fg); }
.cal-day.is-split { background: linear-gradient(135deg, var(--busy-bg) 0 50%, var(--free-bg) 50% 100%); color: var(--ink); }
.cal-day.is-split-in { background: linear-gradient(135deg, var(--free-bg) 0 50%, var(--busy-bg) 50% 100%); }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent-dk); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.cal-legend b { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.cal-legend i { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.cal-legend .k-free { background: var(--free-bg); box-shadow: inset 0 0 0 1px rgba(27,122,61,.25); }
.cal-legend .k-busy { background: var(--busy-bg); box-shadow: inset 0 0 0 1px rgba(178,60,60,.25); }
.cal-legend .k-split { background: linear-gradient(135deg, var(--busy-bg) 0 50%, var(--free-bg) 50% 100%); }
.cal-fallback { text-align: center; color: var(--muted); }

/* ---------- Prices ---------- */
.price-grid { display: grid; gap: clamp(16px, 2.6vw, 24px); max-width: 860px; margin-inline: auto; }
@media (min-width: 720px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price {
  background: var(--surface); border-radius: var(--r-lg);
  padding: clamp(30px, 4.6vw, 46px) clamp(24px, 4vw, 40px);
  box-shadow: var(--sh-s); text-align: center;
}
.price:first-child { background: var(--ink); }
.price:first-child p { color: #fff; }
.price:first-child h3 { color: #9fdbe4; background: rgba(255,255,255,.1); }
.price h3 {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-dk); background: var(--accent-bg);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 1.4em;
}
.price p { font-size: clamp(18px, 2.4vw, 21px); font-weight: 600; letter-spacing: -.022em; line-height: 1.4; color: var(--ink); max-width: 24ch; margin-inline: auto; }

/* ---------- Nearby ---------- */
.near-grid { display: grid; gap: clamp(24px, 4vw, 36px) clamp(14px, 2.6vw, 24px); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .near-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .near-grid { grid-template-columns: repeat(6, 1fr); } }
.near { text-align: center; margin: 0; }
.near-img { display: block; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-s); transition: transform .3s ease, box-shadow .3s ease; }
.near-img:hover { transform: translateY(-4px); box-shadow: var(--sh-m); }
.near-img img { aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.near-img:hover img { transform: scale(1.06); }
.near-img::after { content: none; }
.near figcaption { font-size: clamp(15px, 1.9vw, 16.5px); font-weight: 600; letter-spacing: -.015em; color: var(--ink); margin: 14px 0 6px; line-height: 1.3; }
.near .dist {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  color: var(--accent-dk); background: var(--accent-bg);
  border-radius: 999px; padding: 4px 12px;
  transition: background-color .25s ease, color .25s ease;
}
.near .dist:hover { background: var(--accent); color: #fff; }

/* ---------- Contact ---------- */
.contact { background: transparent; }
.contact .wrap {
  background: var(--ink); border-radius: clamp(20px, 3vw, 32px);
  width: calc(100% - 2 * var(--gutter));
  max-width: calc(var(--wrap) - 2 * 10px);
  padding: clamp(48px, 7vw, 84px) var(--gutter);
  position: relative; overflow: hidden;
}
.contact .wrap::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(55% 45% at 25% 15%, rgba(14,124,140,.4), transparent 70%);
  pointer-events: none;
}
.contact .wrap > * { position: relative; }
.contact .sec-head h2 { color: #fff; }
.contact .label { background: rgba(255,255,255,.1); color: #9fdbe4; }
.contact .label::before { background: #9fdbe4; }
.contact-grid { display: grid; gap: clamp(36px, 5vw, 60px); max-width: 900px; margin-inline: auto; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); } }
.ccard { text-align: center; }
@media (min-width: 800px) {
  .ccard { text-align: left; }
  .ccard + .ccard { border-left: 1px solid rgba(255,255,255,.12); padding-left: clamp(36px, 5vw, 80px); }
}
.ccard h3 { font-size: clamp(20px, 2.7vw, 25px); color: #fff; line-height: 1.3; margin-bottom: .6em; }
.ccard > p { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.ccard-links { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 800px) { .ccard-links { align-items: flex-start; } }
.ccard-links a {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 10px 22px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: clamp(15px, 1.9vw, 16.5px); font-weight: 600; letter-spacing: -.01em;
  color: #fff;
  transition: background-color .25s ease, border-color .25s ease, transform .2s ease;
  overflow-wrap: anywhere; text-align: left;
}
.ccard-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.ccard-links a:active { transform: scale(.98); }
.ccard-links svg { flex: none; color: #9fdbe4; }
.ccard-links a:hover svg { color: #fff; }
.ccard-links small { display: block; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: 1px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(36px, 5vw, 52px) 0 max(36px, env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
@media (min-width: 800px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.site-footer .brand { color: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.site-footer nav a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .25s ease; }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }

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