/* =========================================================
   CALMA HOTEL — Design System
   Palette   : Ivory Linen #F6F1E7 / Espresso Bark #241B12
               Brass Gold #B58A45 / Warm Amber #D8A85E
               Clay Rose #A9694A / Soft Stone #EDE6D8
   Display   : "Fraunces" (optical, warm serif)
   Body      : "Jost" (geometric, art-deco flavored sans)
   Signature : the CALMA sunburst-arch mark, redrawn as line art
   ========================================================= */

:root{
  --ivory:#F6F1E7;
  --stone:#EDE6D8;
  --stone-dark:#E1D6C0;
  --espresso:#241B12;
  --espresso-soft:#382A1B;
  --gold:#B58A45;
  --gold-light:#D8A85E;
  --clay:#A9694A;
  --ink:#2B2015;
  --ink-70: rgba(43,32,21,.7);
  --ink-50: rgba(43,32,21,.5);
  --line: rgba(43,32,21,.14);
  --line-on-dark: rgba(246,241,231,.18);

  --display: "Fraunces", "Times New Roman", serif;
  --body: "Jost", "Segoe UI", sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 72px);

  --ease: cubic-bezier(.22,.68,0,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }
body{
  background:var(--ivory);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background:var(--gold); color:var(--ivory); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

h1,h2,h3,h4{ font-family:var(--display); font-weight:600; margin:0; color:var(--ink); letter-spacing:.005em; }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:var(--pad); }

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--body); font-size:12.5px; font-weight:600;
  letter-spacing:.28em; text-transform:uppercase; color:var(--gold);
}
@media (max-width:560px){
  .eyebrow{ font-size:11.5px; letter-spacing:.16em; }
}
.eyebrow .ray-mark{ width:16px; height:16px; flex:none; }
.eyebrow .ray-mark path,.eyebrow .ray-mark circle{ stroke:var(--gold); }
.on-dark .eyebrow{ color:var(--gold-light); }

/* ---------- signature sunburst mark ---------- */
.sun-mark path,.sun-mark circle,.sun-mark line{
  fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:12px;
  font-family:var(--body); font-size:13px; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase;
  padding:16px 30px; border-radius:2px; border:1px solid transparent;
  transition:all .35s var(--ease);
  white-space:nowrap;
}
.btn-gold{ background:var(--gold); color:var(--espresso); border-color:var(--gold); }
.btn-gold:hover{ background:var(--ink); border-color:var(--ink); color:var(--ivory); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink-50); }
.btn-outline:hover{ border-color:var(--ink); background:var(--ink); color:var(--ivory); }
.on-dark .btn-outline{ color:var(--ivory); border-color:var(--line-on-dark); }
.on-dark .btn-outline:hover{ background:var(--ivory); color:var(--ink); border-color:var(--ivory); }
.btn svg{ width:14px; height:14px; transition:transform .35s var(--ease); }
.btn:hover svg{ transform:translateX(4px); }

/* ---------- nav ---------- */
.site-nav{
  position:fixed; inset:0 0 auto 0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:26px var(--pad);
  color:var(--ivory);
  transition:background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-nav.solid{
  background:rgba(36,27,18,.96);
  padding-block:16px;
  box-shadow:0 10px 30px -18px rgba(0,0,0,.6);
  backdrop-filter:blur(6px);
}
.nav-brand{ display:flex; align-items:center; gap:12px; font-family:var(--display); font-size:20px; letter-spacing:.03em; }
.nav-brand .sun-mark{ width:30px; height:30px; color:var(--gold-light); }
.nav-brand small{ display:block; font-family:var(--body); font-size:9.5px; letter-spacing:.24em; color:var(--gold-light); font-weight:600; margin-top:2px; }
.nav-links{ display:flex; align-items:center; gap:38px; }
.nav-links a{
  font-size:12.5px; font-weight:600; letter-spacing:.16em; text-transform:uppercase;
  padding-bottom:6px; border-bottom:1px solid transparent; opacity:.86;
  transition:opacity .3s, border-color .3s;
}
.nav-links a:hover, .nav-links a.active{ opacity:1; border-color:var(--gold-light); }
.nav-cta{ display:flex; align-items:center; gap:22px; }
.nav-toggle{ display:none; background:none; border:0; color:var(--ivory); flex:none; }
@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
}
@media (max-width: 640px){
  .site-nav{ padding:16px 18px; gap:8px; }
  .site-nav.solid{ padding-block:12px; }
  .nav-brand{ gap:8px; font-size:16px; flex:1; min-width:0; }
  .nav-brand .sun-mark{ width:24px; height:24px; }
  .nav-brand small{ display:none; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn{ padding:9px 14px !important; font-size:10.5px; letter-spacing:.08em; white-space:nowrap; }
  .nav-toggle svg{ width:22px; height:22px; }
}
@media (max-width: 400px){
  .nav-cta .btn-outline{ display:none; }
}

/* mobile drawer */
.mobile-drawer{
  position:fixed; inset:0; z-index:200; background:var(--espresso);
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:26px;
  padding:var(--pad); transform:translateY(-100%); transition:transform .5s var(--ease);
}
.mobile-drawer.open{ transform:translateY(0); }
.mobile-drawer a{ color:var(--ivory); font-family:var(--display); font-size:30px; }
.mobile-drawer .close-drawer{ position:absolute; top:26px; right:var(--pad); background:none; border:0; color:var(--ivory); }

/* ---------- hero ---------- */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:flex-end;
  color:var(--ivory); overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{ width:100%; height:100%; object-fit:cover; transform:scale(1.08); animation:heroZoom 16s var(--ease) forwards; }
@keyframes heroZoom{ to{ transform:scale(1); } }
.hero-media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(36,27,18,.55) 0%, rgba(36,27,18,.18) 38%, rgba(36,27,18,.32) 68%, rgba(36,27,18,.88) 100%);
}
.hero-inner{ position:relative; z-index:1; width:100%; padding:0 var(--pad) 76px; text-align:center; }
.hero-mark{
  width:88px; height:88px; margin:0 auto 26px; color:var(--gold-light);
  opacity:0; animation:fadeUp 1.1s var(--ease) .3s forwards;
}
.hero-inner h1{
  font-size:clamp(40px, 7vw, 84px); line-height:1.02; color:var(--ivory); font-weight:500;
  opacity:0; animation:fadeUp 1.1s var(--ease) .5s forwards;
}
.hero-inner .tagline{
  margin:20px auto 0; max-width:560px; font-size:16.5px; letter-spacing:.02em; color:rgba(246,241,231,.86);
  opacity:0; animation:fadeUp 1.1s var(--ease) .7s forwards;
}
.hero-cta{ margin-top:38px; display:flex; gap:18px; justify-content:center; flex-wrap:wrap;
  opacity:0; animation:fadeUp 1.1s var(--ease) .9s forwards; }
.hero-cta .btn{ justify-content:center; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(22px);} to{ opacity:1; transform:translateY(0);} }

.scroll-cue{
  width:max-content; margin:34px auto 0;
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:10.5px; letter-spacing:.3em; text-transform:uppercase; color:rgba(246,241,231,.7);
  opacity:0; animation:fadeUp 1.1s var(--ease) 1.15s forwards;
}
.scroll-cue span.line{ width:1px; height:34px; background:linear-gradient(var(--gold-light), transparent); animation:scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine{ 0%{opacity:.2;} 50%{opacity:1;} 100%{opacity:.2;} }

/* ---------- page hero (interior pages) ---------- */
.page-hero{
  position:relative; min-height:62svh; display:flex; align-items:flex-end; color:var(--ivory); overflow:hidden;
}
.page-hero .hero-media img{ animation:none; transform:scale(1.02); }
.page-hero-inner{ position:relative; z-index:1; padding:120px var(--pad) 68px; }
.page-hero-inner h1{ font-size:clamp(34px,5.4vw,58px); color:var(--ivory); font-weight:500; margin-top:16px; }
.page-hero-inner .lede{ max-width:620px; margin-top:16px; color:rgba(246,241,231,.85); font-size:16px; }

/* ---------- section shell ---------- */
section{ position:relative; }
.section{ padding:clamp(64px,10vw,128px) 0; }
.section-tight{ padding:clamp(48px,7vw,88px) 0; }
.section-head{ max-width:680px; }
.section-head h2{ font-size:clamp(30px,4vw,46px); margin-top:14px; font-weight:500; }
.section-head p{ margin-top:16px; color:var(--ink-70); font-size:16px; max-width:540px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head.center p{ margin-inline:auto; }
.section-head.split{ display:flex; align-items:flex-end; justify-content:space-between; gap:30px; max-width:none; flex-wrap:wrap; }
.section-head.split .copy{ max-width:600px; }
@media (max-width:700px){
  .section-head.split{ flex-direction:column; align-items:flex-start; gap:22px; }
  .section-head.split .copy{ max-width:none; }
}

.on-dark{ background:var(--espresso); color:var(--ivory); }
.on-dark h2, .on-dark h3, .on-dark h4{ color:var(--ivory); }
.on-dark .section-head p{ color:rgba(246,241,231,.72); }
.on-stone{ background:var(--stone); }

/* ---------- ornament divider ---------- */
.ornament{ display:flex; align-items:center; justify-content:center; gap:16px; margin:0 auto; width:100%; max-width:220px; }
.ornament .stem{ height:1px; flex:1; background:var(--line); }
.on-dark .ornament .stem{ background:var(--line-on-dark); }
.ornament .sun-mark{ width:22px; height:22px; color:var(--gold); flex:none; }

/* ---------- intro / brand story ---------- */
.brand-story{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; }
.brand-story .frame{ position:relative; }
.brand-story .frame img{ width:100%; height:auto; aspect-ratio:1000/667; object-fit:cover; border-radius:2px; }
.brand-story .frame::before{
  content:""; position:absolute; inset:-18px; border:1px solid var(--gold); border-radius:2px; z-index:-1;
}
.brand-story blockquote{
  font-family:var(--display); font-size:clamp(22px,2.4vw,30px); font-weight:500; line-height:1.35; margin:22px 0 0; color:var(--ink);
}
@media (max-width:880px){ .brand-story{ grid-template-columns:1fr; gap:36px; } }

/* ---------- rooms grid ---------- */
.grid-rooms{ display:grid; grid-template-columns:repeat(3,1fr); gap:34px; margin-top:56px; }
.room-card{ display:block; }
.room-card .thumb{ position:relative; overflow:hidden; border-radius:2px; aspect-ratio:4/5; }
.room-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.room-card:hover .thumb img{ transform:scale(1.06); }
.room-card .thumb::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(36,27,18,.55) 100%); }
.room-card .tag{ position:absolute; top:18px; left:18px; z-index:1; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--ivory); background:rgba(36,27,18,.5); padding:7px 12px; backdrop-filter:blur(3px); }
.room-card .meta{ padding-top:20px; }
.room-card h3{ font-size:22px; font-weight:500; }
.room-card .specs{ display:flex; gap:16px; margin-top:10px; font-size:12.5px; letter-spacing:.06em; color:var(--ink-70); }
.room-card p.desc{ margin-top:12px; color:var(--ink-70); font-size:14.5px; }
.room-card .more{ margin-top:14px; display:inline-flex; align-items:center; gap:8px; font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); font-weight:600; }
.room-card .more svg{ width:12px; height:12px; transition:transform .3s var(--ease); }
.room-card:hover .more svg{ transform:translateX(4px); }

@media (max-width:980px){ .grid-rooms{ grid-template-columns:repeat(2,1fr); gap:26px; } }
@media (max-width:620px){ .grid-rooms{ grid-template-columns:1fr; } }

/* ---------- amenities ---------- */
.amenities-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); margin-top:56px; border:1px solid var(--line); }
.amenity{ background:var(--ivory); padding:38px 30px; }
.amenity .ic{ width:30px; height:30px; color:var(--gold); }
.amenity h3{ margin-top:20px; font-size:16px; font-weight:600; }
.amenity p{ margin-top:8px; font-size:13.5px; color:var(--ink-70); }
@media (max-width:980px){ .amenities-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .amenities-grid{ grid-template-columns:1fr; } }

/* ---------- offers / journeys preview ---------- */
.journey-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); margin-top:56px; }
.journey-card{ position:relative; aspect-ratio:3/4; overflow:hidden; }
.journey-card img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease); }
.journey-card:hover img{ transform:scale(1.08); }
.journey-card::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(36,27,18,.86) 0%, rgba(36,27,18,.08) 55%); }
.journey-card .jc-body{ position:absolute; left:0; right:0; bottom:0; padding:26px; z-index:1; color:var(--ivory); }
.journey-card .jc-eyebrow{ font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--gold-light); font-weight:600; }
.journey-card h3{ margin-top:10px; font-size:22px; color:var(--ivory); font-weight:500; }
.journey-card .jc-more{ margin-top:12px; display:inline-flex; gap:8px; align-items:center; font-size:11.5px; letter-spacing:.18em; text-transform:uppercase; opacity:0; transform:translateY(6px); transition:all .35s var(--ease); }
.journey-card:hover .jc-more{ opacity:1; transform:translateY(0); }
@media (max-width:900px){ .journey-strip{ grid-template-columns:1fr; } .journey-card{ aspect-ratio:16/10; } }

/* ---------- offer detail cards (offers.html) ---------- */
.offer-list{ display:flex; flex-direction:column; gap:0; margin-top:56px; }
.offer-row{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center; padding:56px 0; border-bottom:1px solid var(--line); }
.offer-row:first-child{ padding-top:0; }
.offer-row:nth-child(even) .thumb{ order:2; }
.offer-row .thumb{ position:relative; overflow:hidden; border-radius:2px; aspect-ratio:5/4; }
.offer-row .thumb img{ width:100%; height:100%; object-fit:cover; }
.offer-row .kicker{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.offer-row .kicker .num{ font-family:var(--display); color:var(--gold); font-size:14px; letter-spacing:.06em; }
.offer-row h3{ font-size:clamp(24px,2.6vw,32px); font-weight:500; }
.offer-row .desc{ margin-top:16px; color:var(--ink-70); font-size:15.5px; max-width:540px; }
.offer-row .includes{ margin-top:22px; display:flex; flex-wrap:wrap; gap:10px 26px; }
.offer-row .includes li{ font-size:12.5px; letter-spacing:.05em; color:var(--ink); display:flex; align-items:center; gap:8px; }
.offer-row .includes li svg{ width:13px; height:13px; color:var(--gold); flex:none; }
.offer-row .duration{ margin-top:20px; font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--clay); font-weight:600; }
.offer-row .row-cta{ margin-top:28px; }
@media (max-width:880px){
  .offer-row{ grid-template-columns:1fr; gap:26px; padding:40px 0; }
  .offer-row:nth-child(even) .thumb{ order:0; }
}

/* ---------- quote / testimonial ---------- */
.quote-block{ max-width:760px; margin:0 auto; text-align:center; }
.quote-block .stars{ display:flex; justify-content:center; gap:6px; color:var(--gold); margin-bottom:26px; }
.quote-block .stars svg{ width:16px; height:16px; }
.quote-block blockquote{ font-family:var(--display); font-size:clamp(22px,3vw,32px); font-weight:500; line-height:1.4; }
.quote-block cite{ display:block; margin-top:22px; font-style:normal; font-size:12.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-70); }

/* ---------- gallery strip ---------- */
.gallery-strip{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:18px; margin-top:56px; }
.gallery-strip img{ width:100%; height:100%; object-fit:cover; border-radius:2px; aspect-ratio:1/1; }
.gallery-strip .g-tall{ grid-row:span 2; aspect-ratio:auto; height:100%; }
@media (max-width:820px){ .gallery-strip{ grid-template-columns:1fr 1fr; } .gallery-strip .g-tall{ grid-row:span 1; aspect-ratio:1/1; } }

/* ---------- CTA banner ---------- */
.cta-banner{ position:relative; overflow:hidden; padding:0; }
.cta-banner .hero-media{ position:relative; height:56vh; }
.cta-banner .hero-media::after{ background:rgba(36,27,18,.6); }
.cta-banner-inner{ position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:0 var(--pad); color:var(--ivory); }
.cta-banner-inner h2{ color:var(--ivory); font-size:clamp(28px,4vw,44px); font-weight:500; max-width:680px; }
.cta-banner-inner p{ margin-top:14px; color:rgba(246,241,231,.85); }
.cta-banner-inner .btn-row{ margin-top:30px; display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }

/* ---------- footer ---------- */
.site-footer{ background:var(--espresso); color:var(--ivory); padding:80px 0 0; }
.footer-top{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.1fr; gap:48px; padding-bottom:60px; border-bottom:1px solid var(--line-on-dark); }
.footer-brand{ display:flex; align-items:flex-start; gap:14px; }
.footer-brand .sun-mark{ width:36px; height:36px; color:var(--gold-light); flex:none; }
.footer-brand-title{ font-family:var(--display); font-size:22px; color:var(--ivory); font-weight:500; margin:0; }
.footer-brand p{ margin-top:12px; font-size:14px; color:rgba(246,241,231,.68); max-width:280px; }
.footer-col-title{ font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-light); font-weight:600; margin:0; font-family:var(--body); }
.footer-col ul{ margin-top:20px; display:flex; flex-direction:column; gap:13px; }
.footer-col a{ font-size:14.5px; color:rgba(246,241,231,.82); transition:color .25s; }
.footer-col a:hover{ color:var(--gold-light); }
.footer-col p{ font-size:14.5px; color:rgba(246,241,231,.82); margin-top:20px; line-height:1.8; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; padding:26px 0; font-size:12.5px; color:rgba(246,241,231,.55); flex-wrap:wrap; gap:12px; }
.footer-bottom .socials{ display:flex; gap:18px; }
.footer-bottom .socials a{ color:rgba(246,241,231,.7); }
.footer-bottom .socials svg{ width:16px; height:16px; }
@media (max-width:900px){ .footer-top{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-top{ grid-template-columns:1fr; } }

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- form (contact) ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:44px; }
.field{ display:flex; flex-direction:column; gap:10px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-70); font-weight:600; }
.field input, .field select, .field textarea{
  border:none; border-bottom:1px solid var(--ink-50); background:transparent; padding:12px 2px;
  font-family:var(--body); font-size:15.5px; color:var(--ink); transition:border-color .3s;
}
.field textarea{ resize:vertical; min-height:110px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--gold); outline:none; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }

.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.contact-info .item{ display:flex; gap:18px; padding:22px 0; border-bottom:1px solid var(--line); }
.contact-info .item svg{ width:20px; height:20px; color:var(--gold); flex:none; margin-top:2px; }
.contact-info .item .item-title{ font-size:13px; letter-spacing:.1em; text-transform:uppercase; font-weight:600; margin:0; font-family:var(--body); color:var(--ink); }
.contact-info .item p{ margin-top:6px; color:var(--ink-70); font-size:14.5px; }
.map-frame{ margin-top:36px; border-radius:2px; overflow:hidden; border:1px solid var(--line); filter:sepia(.12) saturate(1.05); }
.map-frame iframe{ width:100%; height:280px; border:0; display:block; }
@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; gap:20px; }
  .contact-grid .contact-form-col{ order:1; }
  .contact-grid .contact-info{ order:2; }
}

/* ---------- utility ---------- */
.stack-gap{ display:flex; flex-direction:column; gap:18px; }
.text-center{ text-align:center; }
.mt-lg{ margin-top:56px; }
