/* CJC-CAR Private Hotspring Resort: navy + gold from their filigree medallion logo, aqua from the pool. */
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #0b1630;
  --navy-2: #13244a;
  --gold: #c9a253;
  --gold-2: #e6c77f;
  --gold-ink: #8a6420;
  --aqua: #38bfd0;
  --cream: #f8f3ea;
  --ink: #1a1d29;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold-grad: linear-gradient(135deg, #f3dc9a 0%, #c9a253 38%, #8a6420 62%, #e6c77f 100%);

  --k-ink: var(--ink);
  --k-paper: #ffffff;
  --k-surface: #f1eadc;
  --k-accent: var(--gold-ink);
  --k-accent-2: var(--gold);
  --k-dark: var(--navy);
  --k-font: var(--sans);
  --k-display: var(--serif);
  --k-head-em: var(--gold-ink);
  --k-top-bg: rgba(11, 22, 48, .92);
  --k-top-ink: #f4ead2;
  --k-top-line: rgba(201, 162, 83, .45);
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 6vw, 3.3rem); line-height: 1.04; margin: 0 0 14px; }
h2 em, h1 em { font-style: italic; font-weight: 500; }
h2 em { color: var(--gold-ink); }
.eyebrow { font: 600 .74rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
section { scroll-margin-top: 70px; }
img { max-width: 100%; height: auto; }

.btn-ghost, .btn-line { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(230, 199, 127, .8); background: rgba(11, 22, 48, .35); backdrop-filter: blur(4px); }
.btn-line { color: var(--navy); border: 1.5px solid var(--gold); background: #fff; }
.link-gold { color: var(--gold-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.stars { color: #f2c14e; letter-spacing: 2px; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero__bg, .hero__shade { position: absolute; inset: 0; }
.hero__bg { animation: drift 24s ease-out both; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
/* signature: touchable hot-spring water + rising steam, drawn over their own night photo (WebGL, fades in on top) */
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.8s ease; pointer-events: none; }
.hero__fx.is-on { opacity: 1; }
.hero__touch { display: inline-flex; align-items: center; gap: 10px; margin: 14px 0 0; font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); opacity: 0; transition: opacity 1.2s ease 1.2s; }
.hero__touch.is-on { opacity: .92; }
.hero__touch.is-done { opacity: 0; transition-delay: 0s; }
.hero__touch i { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--gold-2); }
.hero__touch i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(230, 199, 127, .55); animation: touchring 2.6s ease-out infinite; }
@keyframes touchring { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
/* supporting moment: the planner card takes a drop when you send it */
.planner.is-dip { animation: dip .7s cubic-bezier(.3, .7, .3, 1); }
@keyframes dip { 0% { transform: none; } 35% { transform: translateY(4px) scale(.992); } 100% { transform: none; } }
.pl-drop { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; pointer-events: none; z-index: 2; }
.pl-drop::before, .pl-drop::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pldrop 1.15s cubic-bezier(.2, .6, .3, 1) forwards; }
.pl-drop::after { border-width: 1px; animation-delay: .16s; opacity: 0; }
@keyframes pldrop { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(16); opacity: 0; } }
.k-book .is-arrive { animation: arrive 1.2s ease; }
@keyframes arrive { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 83, .55); } 100% { box-shadow: 0 0 0 26px rgba(201, 162, 83, 0); } }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { background: linear-gradient(180deg, rgba(11, 22, 48, .55) 0%, rgba(11, 22, 48, .1) 30%, rgba(11, 22, 48, .5) 62%, rgba(11, 22, 48, .86) 100%); }
.hero__in { position: relative; z-index: 1; width: 100%; display: grid; gap: 28px; padding-top: 90px; padding-bottom: 104px; }
.hero__logo { width: 64px; height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(230, 199, 127, .5), 0 10px 30px rgba(0, 0, 0, .45); margin-bottom: 14px; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 { font-size: clamp(2.5rem, 10.5vw, 5.6rem); line-height: .95; margin: 0 0 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 em { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-right: .06em; }
.hero__sub { font-size: 1.08rem; max-width: 32em; margin: 0 0 22px; color: #f1ece2; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__proof { margin: 16px 0 0; font-size: .9rem; color: #e9e1cf; }

/* the gold medallion (motif: their logo's double gold ring) */
.medal { position: relative; margin: 0; width: min(72vw, 420px); aspect-ratio: 1; justify-self: center; }
.medal__ring { position: absolute; inset: 0; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.medal__ring::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1.5px solid rgba(11, 22, 48, .55); }
.medal__win { position: absolute; inset: 16px; border-radius: 50%; overflow: hidden; background: var(--navy); }
.medal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.medal__img.is-on { opacity: 1; }
.medal__tag { position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); background: var(--navy); color: var(--gold-2); border: 1px solid var(--gold); border-radius: 999px; font: 600 .72rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 9px 14px; white-space: normal; text-align: center; width: max-content; max-width: 90%; }
.hero .medal { display: none; }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.2fr .8fr; align-items: center; padding-bottom: 70px; }
  .hero .medal { display: block; }
  .hero__logo { width: 104px; }
  .hero__in { padding-bottom: 70px; }
}

/* ---------- FACTS ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); background: var(--navy); color: #fff; border-top: 1px solid rgba(201, 162, 83, .5); border-bottom: 3px double var(--gold); }
.facts > div { padding: 16px 14px; text-align: center; border-right: 1px solid rgba(201, 162, 83, .25); border-bottom: 1px solid rgba(201, 162, 83, .25); }
.facts b { display: block; font: 600 1.5rem/1.1 var(--serif); color: var(--gold-2); }
.facts span { font-size: .8rem; color: #cfd6e6; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts > div { border-bottom: 0; } }

/* ---------- POOL ---------- */
.pool { padding: 52px 0; }
.pool__grid { display: grid; gap: 26px; align-items: center; }
.pool__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px var(--cream), 0 0 0 8px rgba(201, 162, 83, .6), 0 24px 50px rgba(11, 22, 48, .25); display: block; }
.ticks { list-style: none; padding: 0; margin: 16px 0 20px; }
.ticks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid #e6dcc6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-grad); box-shadow: inset 0 0 0 3px var(--cream), 0 0 0 1px var(--gold); }
@media (min-width: 900px) { .pool__grid { grid-template-columns: 1.3fr 1fr; gap: 54px; } .pool { padding: 80px 0; } }

/* ---------- GALLERY ---------- */
.gallery { padding: 50px 0; background: #fff; }
.sec-head { margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #d9c9a3; background: #fff; font: 600 .88rem/1 var(--sans); color: var(--navy); cursor: pointer; }
.chip.is-on { background: var(--navy); color: var(--gold-2); border-color: var(--navy); }
.masonry { columns: 2; column-gap: 10px; }
.tile { display: block; width: 100%; padding: 0; margin: 0 0 10px; border: 0; background: none; cursor: zoom-in; break-inside: avoid; border-radius: 14px; overflow: hidden; position: relative; }
.tile img { display: block; width: 100%; height: auto; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.04); }
.tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 14px; } .tile { margin-bottom: 14px; } .gallery { padding: 80px 0; } }

/* ---------- INSIDE ---------- */
.inside { padding: 54px 0; background: var(--navy); color: #e8ecf5; }
.inside h2 { color: #fff; }
.inside h2 em, .inside .eyebrow { color: var(--gold-2); }
.trio { display: grid; gap: 18px; }
.card { background: var(--navy-2); border: 1px solid rgba(201, 162, 83, .35); border-radius: 20px; overflow: hidden; }
.card__ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.card h3 { color: var(--gold-2); font-size: 1.6rem; margin: 16px 18px 6px; }
.card p { margin: 0 18px 20px; font-size: .95rem; color: #d6dcea; }
.extras { margin: 22px 0 0; text-align: center; color: var(--gold-2); font-size: .92rem; border-top: 3px double rgba(201, 162, 83, .6); padding-top: 18px; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); } .inside { padding: 80px 0; } }

/* ---------- PLANNER ---------- */
.plan { padding: 54px 0; background: radial-gradient(120% 80% at 80% 0%, #fff8e8 0%, var(--cream) 60%); }
.plan__grid { display: grid; gap: 26px; }
.plan__note { font-size: .88rem; color: #5a5a66; border-left: 3px solid var(--gold); padding-left: 12px; }
.planner { position: relative; background: #fff; border-radius: 26px; padding: 22px 18px; box-shadow: 0 0 0 1px #e8dcc0, 0 30px 60px rgba(11, 22, 48, .12); overflow: hidden; }
.planner__ring { position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; border: 10px solid transparent; background: var(--gold-grad) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.pl-step { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.pl-step legend { font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; padding: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg__b { min-height: 56px; border-radius: 14px; border: 1.5px solid #e2d5b5; background: #fffdf8; cursor: pointer; font: inherit; color: var(--navy); display: grid; place-content: center; gap: 2px; }
.seg__b small { font-size: .78rem; color: #6b6b75; }
.seg__b.is-on { background: var(--navy); border-color: var(--navy); color: var(--gold-2); }
.seg__b.is-on small { color: #cfd6e6; }
.pl-date { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: .88rem; color: #555; flex-wrap: wrap; }
.pl-date input { min-height: 44px; border: 1px solid #d9c9a3; border-radius: 10px; padding: 0 10px; font: inherit; color: var(--navy); background: #fff; }
.stepper { display: inline-flex; align-items: center; gap: 14px; }
.st-b { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); background: #fff; font-size: 1.5rem; color: var(--navy); cursor: pointer; }
#pl-guests { font: 600 2.2rem/1 var(--serif); min-width: 2ch; text-align: center; color: var(--navy); }
.occ { display: flex; flex-wrap: wrap; gap: 8px; }
.occ__b { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #e2d5b5; background: #fffdf8; font: 500 .88rem/1 var(--sans); color: var(--navy); cursor: pointer; }
.occ__b.is-on { background: var(--gold-grad); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.quote { background: var(--navy); color: #fff; border-radius: 18px; padding: 18px; margin: 4px 0 14px; text-align: center; box-shadow: inset 0 0 0 1px rgba(201, 162, 83, .55), inset 0 0 0 5px var(--navy), inset 0 0 0 6px rgba(201, 162, 83, .35); }
.quote__lbl { margin: 0; font-size: .82rem; color: #cfd6e6; }
.quote__amt { margin: 4px 0; font: 600 2.8rem/1 var(--serif); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote__sub { margin: 0; font-size: .85rem; color: var(--gold-2); }
.pl-ctas { display: grid; gap: 8px; }
.pl-ctas .k-btn, .pl-ctas .btn-line { width: 100%; box-sizing: border-box; justify-content: center; text-align: center; }
@media (min-width: 900px) { .plan__grid { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; } .plan { padding: 80px 0; } .planner { padding: 30px; } .pl-ctas { grid-template-columns: 1fr 1fr; } }

/* ---------- NEWS RAIL ---------- */
.news { padding: 50px 0; background: #fff; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.flyer { scroll-snap-align: start; text-decoration: none; color: var(--navy); }
.flyer img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; display: block; box-shadow: 0 0 0 1px #e8dcc0; }
.flyer span { display: block; font-size: .85rem; font-weight: 600; margin-top: 8px; }
.news__more { margin: 16px 0 0; }
@media (min-width: 900px) { .rail { grid-auto-columns: calc(25% - 9px); overflow: visible; } }

/* ---------- PROOF ---------- */
.proof { padding: 50px 0; background: var(--cream); border-top: 3px double var(--gold); }
.proof__in { display: grid; gap: 24px; align-items: center; justify-items: start; }
.medal--sm { width: 200px; }
.medal--sm .medal__win { inset: 10px; }
.medal--sm .medal__ring::after { inset: 5px; }
.proof h2 { display: flex; align-items: center; gap: 14px; }
.proof .big { font-size: 4rem; color: var(--navy); }
.proof .stars { font-size: 1.4rem; }
@media (min-width: 760px) { .proof__in { grid-template-columns: 240px 1fr; } .medal--sm { width: 240px; } }

/* ---------- KIT RESTYLE ---------- */
.k-btn { min-height: 48px; }

/* ---------- VISIT ---------- */
.visit { padding: 52px 0; background: var(--navy); color: #e8ecf5; }
.visit h2 { color: #fff; }
.visit h2 em, .visit .eyebrow { color: var(--gold-2); }
.addr { font-size: 1.08rem; color: #fff; }
.visit__grid { display: grid; gap: 26px; }
.contacts { display: grid; gap: 8px; }
.contacts a { display: block; padding: 12px 16px; min-height: 44px; border: 1px solid rgba(201, 162, 83, .4); border-radius: 14px; color: #fff; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contacts small { display: block; font-weight: 500; color: var(--gold-2); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 1fr 1fr; align-items: center; } .contacts { grid-template-columns: 1fr 1fr; } }

/* ---------- LIGHTBOX ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(6, 12, 28, .96); display: grid; place-items: center; padding: 56px 12px 90px; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: 1200px; width: 100%; text-align: center; }
.lb__fig img { max-height: 72vh; width: auto; max-width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px var(--gold); }
.lb__fig figcaption { color: var(--gold-2); font-size: .9rem; margin-top: 10px; }
.lb__x { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); background: none; color: #fff; font-size: 1.8rem; cursor: pointer; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(230, 199, 127, .6); background: rgba(11, 22, 48, .6); color: #fff; font-size: 1.8rem; cursor: pointer; }
.lb__prev { left: 8px; } .lb__next { right: 8px; }
.lb__book { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); }

@media (prefers-reduced-motion: reduce) { .hero__bg, .hero__img { animation: none; } .medal__img { transition: none; } .hero__fx, .hero__touch { display: none; } .planner.is-dip, .k-book .is-arrive { animation: none; } .pl-drop { display: none; } }

/* phones: the real pool fills the top of the screen (touchable band), the copy sits on navy below it */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; }
  .hero__bg { top: -64svh; bottom: auto; height: 120svh; }
  .hero__img { object-position: 38% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 22, 48, .45) 0, rgba(11, 22, 48, 0) 9svh, rgba(11, 22, 48, 0) 46svh, var(--navy) 56svh); }
  .hero__in { padding-top: calc(56svh - 30px); padding-bottom: 100px; gap: 0; }
  .hero__logo { width: 58px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero__sub { font-size: 1rem; margin-bottom: 18px; }
  .hero__touch { position: absolute; top: 24svh; left: 50%; transform: translateX(-50%); margin: 0; padding: 9px 14px 9px 12px; border-radius: 999px; background: rgba(11, 22, 48, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgba(230, 199, 127, .35); white-space: nowrap; pointer-events: none; }
}

/* rooms + amenities (audit 2026-10-21) */
.sub-h { color: #fff; font-size: 1.7rem; margin: 26px 0 6px; }
.sub-p { margin: 0 0 16px; color: #d6dcea; max-width: 46em; }
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.room { position: relative; background: var(--navy-2); border: 1px solid rgba(201, 162, 83, .35); border-radius: 18px; padding: 16px 14px 14px; }
.room__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold-grad); color: var(--navy); font: 700 1.1rem/1 var(--serif, serif); box-shadow: inset 0 0 0 3px var(--navy-2), 0 0 0 1px var(--gold); margin-bottom: 10px; }
.room h4 { margin: 0 0 4px; color: var(--gold-2); font-size: 1.25rem; }
.room p { margin: 0; font-size: .9rem; color: #d6dcea; }
.room .room__pax { margin-top: 6px; color: #fff; font-weight: 600; }
.room-ph { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.room-ph img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 0 0 1px rgba(201, 162, 83, .45); }
.amen { display: grid; gap: 16px; }
.amen__list { list-style: none; margin: 0 18px 18px; padding: 0; display: grid; gap: 2px; }
.amen__list li { position: relative; padding: 5px 0 5px 22px; font-size: .94rem; color: #e1e6f0; border-bottom: 1px solid rgba(201, 162, 83, .15); }
.amen__list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-grad); }
.amen__note { margin: 14px 0 0; font-size: .85rem; }
@media (min-width: 900px) { .rooms { grid-template-columns: repeat(4, 1fr); } .amen { grid-template-columns: repeat(2, 1fr); } .room-ph img { height: 260px; } }
@media (max-width: 420px) { .room-ph img { height: 130px; } }
