/* ============================================================
   B-TEAM TULUM — Hero (Phase 1)
   Jungle-luxe × Craig Jones. Mobile is the primary art direction.
   Everything degrades: no JS → CSS .rise entrance, no loader.
============================================================ */

:root {
  --jungle: #070d09;
  --canopy: #0e1a12;
  --cenote: #42e896;
  --cenote-deep: #17a05e;
  --bone: #f4efe4;
  --bone-dim: rgba(244, 239, 228, .72);
  --bone-faint: rgba(244, 239, 228, .45);
  --flamingo: #ff5c9a;
  --line: rgba(244, 239, 228, .14);
  --font-d: 'Archivo', 'Arial Black', sans-serif;
  --font-b: 'Space Grotesk', system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  background: var(--jungle);
  color: var(--bone);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--flamingo); color: var(--jungle); }

img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ============================================================
   LOADER — only exists for the JS entrance. CSS failsafe kills
   it after 2.4s even if GSAP never loads.
============================================================ */
.loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--jungle);
  align-items: center;
  justify-content: center;
}
html[data-entrance="js"] .loader {
  display: flex;
  animation: loader-failsafe .6s ease 2.4s forwards;
}
html[data-gsap] .loader { animation: none; } /* GSAP owns the exit */
@keyframes loader-failsafe {
  to { opacity: 0; visibility: hidden; }
}
.loader__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-d);
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .34em;
  font-size: clamp(13px, 3.4vw, 18px);
  color: var(--bone);
}
.loader__x { color: var(--cenote); font-weight: 400; }
.loader__word, .loader__x { opacity: 0; }
html:not([data-gsap]) .loader__word,
html:not([data-gsap]) .loader__x { animation: loader-in .5s ease .1s forwards; }
@keyframes loader-in { to { opacity: 1; } }

/* ============================================================
   ENTRANCE
   Default (no JS): .rise plays as pure CSS with per-element --d.
   JS entrance (html[data-entrance="js"]): CSS holds everything
   hidden, GSAP choreographs. If GSAP dies, a failsafe shows all.
============================================================ */
.rise { opacity: 0; animation: rise .9s var(--ease-out) var(--d, 0s) forwards; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
html[data-entrance="js"] .rise {
  animation: failsafe-show .8s ease 2.8s forwards; /* GSAP normally beats this */
}
@keyframes failsafe-show { to { opacity: 1; transform: none; } }
html[data-gsap] .rise { animation: none; } /* GSAP running: it owns .rise */

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; }
  .loader { display: none !important; }
}

/* ============================================================
   HERO SHELL
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* bottom-anchored: IG-story framing */
  overflow: hidden;
}

/* --- media stack --- */
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img-wrap { position: absolute; inset: -4%; }   /* bleed for parallax */
/* slides: hero.jpg always; hero-2/-3.jpg join a slow crossfade if present */
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(.75) contrast(1.1) brightness(.88);
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero__img.is-active { opacity: 1; }
html:not([data-gsap]) .hero__img { animation: kenburns 22s ease-in-out infinite alternate; }
html[data-gsap] .hero__img { animation: kenburns 22s ease-in-out 1.4s infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.1) translateY(-1.4%); }
}

/* green color-grade so ANY photo joins the brand */
.hero__grade {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(23, 160, 94, .24), rgba(7, 13, 9, .08) 45%, rgba(255, 92, 154, .06) 100%);
  mix-blend-mode: overlay;
}

/* readability scrim — heavy at the bottom like the reel framing */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 13, 9, .8) 0%, rgba(7, 13, 9, .35) 24%, rgba(7, 13, 9, 0) 42%),
    linear-gradient(0deg, rgba(7, 13, 9, .96) 0%, rgba(7, 13, 9, .8) 22%, rgba(7, 13, 9, .28) 52%, rgba(7, 13, 9, 0) 72%);
}

/* firefly canvas (injected by js/scene.js) */
.hero-gl {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(4, 8, 5, .5) 100%),
    radial-gradient(140% 110% at 12% 0%, rgba(23, 160, 94, .07), transparent 40%),
    radial-gradient(140% 110% at 92% 100%, rgba(255, 92, 154, .05), transparent 40%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .085;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

/* ============================================================
   CORNERS — editorial metadata
============================================================ */
.hero__corners {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: calc(20px + env(safe-area-inset-top)) 22px 0;
}
.corner { display: flex; flex-direction: column; gap: 3px; }
.corner--tr { text-align: right; padding-top: 5px; }
.corner__mark {
  font-family: var(--font-d);
  font-weight: 900;
  font-stretch: 118%;
  font-size: 17px;
  letter-spacing: .12em;
  line-height: 1;
}
.corner__sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .38em;
  color: var(--bone-faint);
}
.corner--tl .corner__sub { color: var(--cenote); }

/* ============================================================
   CONTENT
============================================================ */
.hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  /* top padding keeps content clear of the corner marks on short screens */
  padding: 110px 22px calc(14px + env(safe-area-inset-bottom));
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  color: var(--bone-dim);
  margin-bottom: 14px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cenote);
  box-shadow: 0 0 0 0 rgba(66, 232, 150, .55);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(66, 232, 150, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(66, 232, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(66, 232, 150, 0); }
}

/* --- headline: manual line masks (GSAP animates .line__inner) --- */
.hero__title {
  font-family: var(--font-d);
  font-weight: 900;
  font-stretch: 108%;
  text-transform: uppercase;
  font-size: clamp(38px, 12vw, 118px);
  line-height: .94;
  letter-spacing: -.015em;
  margin-bottom: 18px;
}
.line { display: block; overflow: hidden; padding-block: .015em; white-space: nowrap; }
.line--kicker { font-size: .74em; letter-spacing: .01em; opacity: .92; }
.line__inner { display: inline-block; will-change: transform; }
.line__inner--accent {
  color: var(--cenote);
  font-style: italic;
  font-stretch: 96%;
  text-shadow: 0 0 34px rgba(66, 232, 150, .28);
}
.tm {
  font-size: .22em;
  font-style: normal;
  font-weight: 700;
  vertical-align: super;
  letter-spacing: 0;
  color: var(--bone-dim);
  margin-left: .1em;
}

.hero__sub {
  max-width: 34em;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--bone-dim);
  margin-bottom: 20px;
}
.hero__sub strong { color: var(--bone); font-weight: 700; }

/* --- scarcity chip: the one flamingo moment --- */
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 92, 154, .45);
  background: rgba(255, 92, 154, .1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #ffd3e4;
  margin-bottom: 20px;
  transition: transform .5s var(--ease-out);
}
.hero__chip.is-flipping { animation: chipflip .55s var(--ease-out); }
@keyframes chipflip {
  0%   { transform: rotateX(0); }
  45%  { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}
.chip__flame {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flamingo);
  box-shadow: 0 0 12px rgba(255, 92, 154, .9);
  animation: pulse-pink 1.8s ease-out infinite;
}
@keyframes pulse-pink {
  0%   { box-shadow: 0 0 0 0 rgba(255, 92, 154, .5); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 92, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 92, 154, 0); }
}
.chip__num { font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }

/* --- CTA --- */
.hero__cta { margin-bottom: 18px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--bone);
  color: var(--jungle);
  font-family: var(--font-d);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 16.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
  box-shadow: 0 18px 44px -14px rgba(66, 232, 150, .35);
}
.btn:hover { background: var(--cenote); box-shadow: 0 20px 54px -12px rgba(66, 232, 150, .55); }
.btn:active { transform: scale(.985); }
.btn__arrow { transition: transform .35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* recurring gradient sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .5) 48%, transparent 62%);
  transform: translateX(-130%);
  animation: sheen 4.2s ease-in-out 2.4s infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%       { transform: translateX(-130%); }
  22%, 100% { transform: translateX(130%); }
}
.btn__text, .btn__arrow { position: relative; z-index: 2; }

.btn--full { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(244, 239, 228, .08); }
.btn--ghost::after { display: none; }

.hero__micro {
  margin-top: 11px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--bone-faint);
}

.hero__meta {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--bone-faint);
  text-transform: uppercase;
  padding-bottom: 16px;
}

/* ============================================================
   MARQUEE
============================================================ */
.hero__marquee {
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--line);
  padding: 13px 0 calc(13px + env(safe-area-inset-bottom) * .5);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero__marquee .track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-d);
  font-weight: 700;
  font-stretch: 116%;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--bone-faint);
}
.hero__marquee .track span { display: block; }
html:not([data-gsap]) .hero__marquee .track { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SHEET — glassmorphic pre-register
============================================================ */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet[hidden] { display: none; }

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 5, .6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity .45s ease;
}
.sheet.is-open .sheet__backdrop { opacity: 1; }

.sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  max-width: 480px;
  background: rgba(14, 26, 18, .82);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid rgba(244, 239, 228, .12);
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  padding: 30px 26px calc(30px + env(safe-area-inset-bottom));
  transform: translateY(104%);
  transition: transform .6s var(--ease-out);
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .7);
}
.sheet.is-open .sheet__panel { transform: translateY(0); }

@media (min-width: 720px) {
  .sheet__panel {
    bottom: auto;
    top: 50%;
    border-radius: 26px;
    border-bottom: 1px solid rgba(244, 239, 228, .12);
    transform: translateY(-42%) scale(.96);
    opacity: 0;
    transition: transform .5s var(--ease-out), opacity .4s ease;
  }
  .sheet.is-open .sheet__panel { transform: translateY(-50%) scale(1); opacity: 1; }
}

.sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--bone-dim);
  font-size: 13px;
  display: grid;
  place-items: center;
  transition: background .3s ease;
}
.sheet__close:hover { background: rgba(244, 239, 228, .1); }

.sheet__kicker {
  font-family: var(--font-d);
  font-weight: 700;
  font-stretch: 120%;
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--flamingo);
  margin-bottom: 10px;
}
.sheet__kicker--green { color: var(--cenote); }
.sheet__title {
  font-family: var(--font-d);
  font-weight: 900;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: clamp(24px, 6vw, 30px);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.sheet__note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--bone-dim);
  margin-bottom: 22px;
}

.field { display: block; margin-bottom: 14px; }
.field__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bone-faint);
  margin-bottom: 7px;
}
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(7, 13, 9, .55);
  color: var(--bone);
  font: inherit;
  font-size: 15px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field__input::placeholder { color: rgba(244, 239, 228, .3); }
.field__input:focus {
  outline: none;
  border-color: var(--cenote);
  box-shadow: 0 0 0 3px rgba(66, 232, 150, .16);
}
.field__input.is-invalid { border-color: var(--flamingo); }

.sheet__form .btn { margin-top: 8px; }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__arrow { animation: spin-arrow .7s linear infinite; }
@keyframes spin-arrow { to { transform: rotate(360deg); } }

.sheet__fine {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--bone-faint);
}

/* success state */
.sheet__success { text-align: center; padding-top: 8px; }
.success__badge {
  width: 62px;
  height: 62px;
  margin: 4px auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--jungle);
  background: var(--cenote);
  box-shadow: 0 0 0 10px rgba(66, 232, 150, .14), 0 14px 40px -8px rgba(66, 232, 150, .55);
  animation: badge-pop .6s var(--ease-out);
}
@keyframes badge-pop {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success__num { color: var(--cenote); }
.sheet__success .btn { margin-top: 22px; }

/* ============================================================
   CURSOR (desktop, injected by motion.js)
============================================================ */
.cursor { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.cursor.on { opacity: 1; }
.cursor.off { opacity: 0; }
.cursor-dot, .cursor-ring { position: absolute; top: 0; left: 0; border-radius: 50%; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cenote); }
.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(66, 232, 150, .5);
}
@media (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   DESKTOP
============================================================ */
@media (min-width: 900px) {
  .hero__corners { padding: 30px 44px 0; }
  .corner__mark { font-size: 20px; }

  .hero__inner { padding: 110px 44px 20px; max-width: none; }
  /* desktop crop rides the action band of the photo, not the empty wall */
  .hero__img { object-position: 50% 62%; }
  .hero__title { font-size: clamp(64px, min(10vw, 11vh), 148px); line-height: .9; margin-bottom: 24px; }
  .hero__sub { font-size: 17px; max-width: 42em; }
  .hero__eyebrow { font-size: 12px; }
  .hero__meta { position: absolute; right: 44px; bottom: 76px; padding-bottom: 0; writing-mode: vertical-rl; letter-spacing: .28em; }
}

/* ============================================================
   REDUCED MOTION — kill all decoration motion
============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__img, .hero__marquee .track, .btn::after, .dot, .chip__flame,
  .hero__chip.is-flipping, .success__badge { animation: none !important; }
  .sheet__backdrop, .sheet__panel { transition: none; }
}

/* ============================================================
   SECTIONS — schedule / pricing / visit (Phase 1.5, fake data)
============================================================ */
.sec {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 84px 22px 72px;
}
.sec--alt {
  max-width: none;
  background: linear-gradient(180deg, rgba(23, 160, 94, .05), transparent 30%), var(--canopy);
  border-block: 1px solid var(--line);
}
.sec--alt > * { max-width: 1156px; margin-left: auto; margin-right: auto; }

.sec__head { margin-bottom: 40px; }
.sec__kicker {
  font-family: var(--font-d);
  font-weight: 700;
  font-stretch: 120%;
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--cenote);
  margin-bottom: 14px;
}
.sec__title {
  font-family: var(--font-d);
  font-weight: 900;
  font-stretch: 108%;
  text-transform: uppercase;
  font-size: clamp(34px, 8.6vw, 64px);
  line-height: .96;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.sec__title em {
  font-style: italic;
  font-stretch: 96%;
  color: var(--cenote);
}
.sec__lede {
  max-width: 36em;
  font-size: 15px;
  line-height: 1.6;
  color: var(--bone-dim);
}
.sec__fine {
  margin-top: 26px;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--bone-faint);
}

/* scroll reveal (IntersectionObserver adds .in) */
.s-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out) var(--sd, 0s), transform .8s var(--ease-out) var(--sd, 0s);
}
.s-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .s-reveal { opacity: 1; transform: none; transition: none; }
}

/* --- schedule --- */
.sched { list-style: none; border-top: 1px solid var(--line); }
.sched__row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
}
.sched__time {
  font-family: var(--font-d);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 15px;
  color: var(--bone-faint);
  min-width: 52px;
  font-variant-numeric: tabular-nums;
}
.sched__name {
  flex: 1;
  font-family: var(--font-d);
  font-weight: 800;
  font-stretch: 108%;
  text-transform: uppercase;
  font-size: clamp(17px, 4.6vw, 24px);
  letter-spacing: .01em;
}
.sched__name i { font-style: italic; color: var(--cenote); }
.sched__days {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--bone-faint);
  white-space: nowrap;
}
.sched__row--hot .sched__time { color: var(--cenote); }

/* --- pricing --- */
.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  background: rgba(7, 13, 9, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.plan--founding {
  border-color: rgba(66, 232, 150, .45);
  background: linear-gradient(170deg, rgba(66, 232, 150, .09), rgba(7, 13, 9, .6) 55%);
  box-shadow: 0 24px 70px -30px rgba(66, 232, 150, .35);
}
.plan__tag {
  font-family: var(--font-d);
  font-weight: 700;
  font-stretch: 120%;
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--flamingo);
  margin-bottom: 12px;
}
.plan--founding .plan__tag { color: var(--cenote); }
.plan__name {
  font-family: var(--font-d);
  font-weight: 900;
  font-stretch: 106%;
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 8px;
}
.plan__price {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.plan__price s {
  color: var(--bone-faint);
  font-size: 20px;
  font-weight: 600;
  margin-right: 6px;
}
.plan__price span {
  display: block;
  font-family: var(--font-b);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--bone-faint);
  margin-top: 4px;
}
.plan__list {
  list-style: none;
  margin-bottom: 22px;
  display: grid;
  gap: 9px;
}
.plan__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bone-dim);
}
.plan__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cenote);
  font-size: 11px;
  top: 2px;
}

/* --- visit --- */
.visit {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.visit__label {
  font-family: var(--font-d);
  font-weight: 700;
  font-stretch: 120%;
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--cenote);
  margin-bottom: 8px;
}
.visit__value {
  font-size: 15px;
  line-height: 1.65;
  color: var(--bone-dim);
}
.visit__value a { color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(244, 239, 228, .3); }
.visit__value a:hover { border-color: var(--cenote); color: var(--cenote); }
.visit__value b { color: var(--bone); }
.visit__cta { margin-top: 40px; }

/* --- footer --- */
.foot {
  border-top: 1px solid var(--line);
  padding: 34px 22px calc(40px + env(safe-area-inset-bottom));
  text-align: center;
}
.foot__mark {
  font-family: var(--font-d);
  font-weight: 900;
  font-stretch: 118%;
  font-size: 15px;
  letter-spacing: .16em;
  margin-bottom: 10px;
}
.foot__line {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--bone-faint);
}

@media (min-width: 900px) {
  .sec { padding: 120px 44px 100px; }
  .sec__head { margin-bottom: 56px; }
  .sec__lede { font-size: 16px; }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .plan { padding: 32px 28px; }
  .plan--founding { transform: translateY(-10px); }
  .visit { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .sched__time { font-size: 17px; min-width: 70px; }
}
