/* ==========================================================================
   Dakota Winds Motel — main stylesheet
   Design system: Marcellus (headings) + Mulish (body), coral + apricot accents
   ========================================================================== */

:root {
  --dark: #151515;
  --muted: #5f5a55;
  --white: #ffffff;
  --cream: #fcf7f2;
  --coral: #ff385c;
  --apricot: #f0ad6d;
  --pink: #ffdede;
  --line: #eee5db;

  --f-head: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --f-body: "Mulish", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --section: 120px;
  --r: 4px;
  --r-photo: 4px 4px 24px 4px;
  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 72px); line-height: 1; }
h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
p { margin: 0; }
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 32px; }
.skip:focus { top: 12px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: 80px; }
@media (max-width: 760px) { :root { --section: 80px; } }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head p { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 28px; }
.head--left { text-align: left; margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--dark);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 26px;
  border-radius: 32px;
  background: var(--bg); color: var(--fg);
  font: 700 15px/1 var(--f-body);
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn .arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: grid; place-items: center; flex: none; overflow: hidden;
}
.btn .arrow svg { width: 16px; height: 16px; transition: transform .3s ease; }
.btn:hover .arrow svg { animation: slide .45s ease; }
@keyframes slide { 0% { transform: translateX(0); } 49% { transform: translateX(22px); } 50% { transform: translateX(-22px); } 100% { transform: translateX(0); } }
.btn:hover { box-shadow: 0 8px 24px rgba(21,21,21,.12); }
.btn--dark { --bg: var(--dark); --fg: var(--white); }
.btn--outline { --bg: transparent; border: 1px solid var(--dark); padding: 13px 22px; gap: 10px; }
.btn--outline .g { width: 20px; height: 20px; border-radius: 50%; background: var(--apricot); color: #fff; display: grid; place-items: center; font: 800 12px var(--f-body); }
.btn--coral { --bg: var(--coral); --fg: #fff; }
.btn--coral .arrow { background: #fff; color: var(--coral); }
.btn--sm { font-size: 14px; padding: 6px 6px 6px 18px; gap: 10px; }
.btn--sm .arrow { width: 32px; height: 32px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s ease, box-shadow .3s ease, color .3s ease;
  color: var(--white);
}
.nav .container { display: flex; align-items: center; gap: 28px; height: 84px; }
.nav.is-solid, .nav--solid { background: var(--white); color: var(--dark); box-shadow: 0 1px 0 var(--line); }
.logo { font-family: var(--f-head); font-size: 26px; text-decoration: none; line-height: 1; display: flex; flex-direction: column; }
.logo small { font-family: var(--f-body); font-size: 10px; font-weight: 700; letter-spacing: .32em; margin-top: 4px; opacity: .8; }
.nav-links { display: flex; align-items: center; gap: 30px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 600; text-decoration: none; opacity: .92; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-phone { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav .btn { box-shadow: none; }
.nav.is-solid .btn, .nav--solid .btn { --bg: var(--dark); --fg: #fff; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .25s, opacity .25s; }
.nav.menu-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 1020px) {
  .nav-phone { display: none; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: calc(84px + env(safe-area-inset-top, 0px)) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); color: var(--dark); padding: 8px 20px 24px; box-shadow: 0 20px 40px rgba(0,0,0,.08);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 0; font-size: 16px; }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta { border: 0; padding-top: 18px; }
  .nav.menu-open { background: var(--white); color: var(--dark); }
  .nav.menu-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav > .container > .btn { display: none; }
}
@media (min-width: 901px) { .nav-links .nav-cta { display: none; } }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; color: var(--white);
  background: #1d1f2b;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg picture, .hero__bg img { display: block; width: 100%; height: 100%; }
.hero__bg img {
  object-fit: cover; object-position: 50% 45%;
  /* soft-focus wash: slight blur + gentle slow zoom so the text pops */
  filter: blur(3px) saturate(1.08) brightness(.92);
  transform: scale(1.08); transform-origin: 50% 50%;
  animation: heroDrift 28s ease-out forwards;
}
@keyframes heroDrift { from { transform: scale(1.08); } to { transform: scale(1.16); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 48%, rgba(8,8,18,.18) 0%, rgba(8,8,18,.55) 100%),
    linear-gradient(180deg, rgba(8,8,18,.62) 0%, rgba(8,8,18,.38) 42%, rgba(8,8,18,.74) 100%);
}
.hero__content { position: relative; padding: 150px max(20px, env(safe-area-inset-left, 0px)) 170px; max-width: 1100px; width: 100%; }
.hero__content .eyebrow { color: var(--white); opacity: .95; font-size: 13px; letter-spacing: .14em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(46px, 8.2vw, 116px); line-height: .98; letter-spacing: -.01em; text-shadow: 0 4px 40px rgba(0,0,0,.35); }
.hero p.sub { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.6; font-weight: 400; max-width: 640px; margin: 28px auto 40px; opacity: .95; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero .btn { font-size: 16px; padding: 9px 9px 9px 28px; }
.hero .btn .arrow { width: 42px; height: 42px; }
.hero__inset {
  position: absolute; right: max(20px, calc((100vw - var(--container)) / 2 + 20px)); bottom: -70px;
  width: 260px; aspect-ratio: 4/5; border-radius: var(--r-photo); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.25); border: 6px solid var(--white); z-index: 2;
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1240px) { .hero__inset { display: none; } }
@media (max-width: 900px) and (orientation: portrait) { .hero { min-height: 82svh; } }
@media (max-width: 600px) { .hero__content { padding-top: 130px; padding-bottom: 120px; } .hero h1 br { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: var(--white); background: #1d1f2b; text-align: center; }
.page-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,20,.6), rgba(10,10,20,.45)); }
.page-hero .container { position: relative; padding-block: 190px 110px; }
.page-hero .eyebrow { color: #fff; opacity: .9; }
.page-hero p { max-width: 620px; margin: 20px auto 0; font-size: 18px; line-height: 28px; opacity: .92; }
.crumbs { display: flex; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; margin-top: 28px; opacity: .85; list-style: none; padding: 0; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Booking bar ---------- */
.booking-bar {
  position: relative; z-index: 3;
  background: var(--white); border-radius: var(--r);
  box-shadow: 0 20px 50px rgba(21,21,21,.10);
  display: grid; grid-template-columns: 1fr 1fr .8fr auto; align-items: end; gap: 0;
  padding: 18px; max-width: 840px;
}
.booking-bar .bf { padding: 6px 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.booking-bar .bf:nth-last-child(2) { border-right: 0; }
.booking-bar label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--coral); }
.booking-bar input, .booking-bar select {
  border: 0; background: transparent; font: 600 16px var(--f-body); color: var(--dark); padding: 6px 0; width: 100%; min-width: 0; appearance: none; -webkit-appearance: none;
}
.booking-bar .btn { margin-left: 8px; }
.booking-wrap { margin-top: -54px; position: relative; z-index: 3; }
@media (max-width: 1240px) { .booking-bar { margin-inline: auto; } }
@media (max-width: 860px) {
  .booking-bar { grid-template-columns: 1fr 1fr; gap: 10px; }
  .booking-bar .bf { border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 4px 10px; }
  .booking-bar .bf:nth-child(3) { grid-column: 1 / -1; }
  .booking-bar .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: space-between; margin: 6px 0 0; }
}
@media (max-width: 900px) { .booking-wrap { margin-top: -40px; } }

/* ---------- Feature boxes ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature {
  background: var(--cream); border-radius: var(--r); padding: 26px 16px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.feature svg, .icon { width: 32px; height: 32px; color: var(--coral); flex: none; }
.feature span { font-weight: 700; font-size: 14.5px; line-height: 20px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Carousel (bleeds right) ---------- */
.carousel { margin-top: 64px; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-left: max(20px, calc((100vw - var(--container)) / 2 + 20px)); padding-right: 20px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: none; }
.photo-card { width: 220px; aspect-ratio: 200/270; border-radius: var(--r-photo); overflow: hidden; position: relative; margin: 0; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; color: #fff; font-size: 13px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.round {
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--dark); color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: transform .2s, opacity .2s;
}
.round:hover { transform: scale(1.06); }
.round:disabled { opacity: .3; cursor: default; transform: none; }
.round svg { width: 18px; height: 18px; }

/* ---------- Testimonials / rating cards ---------- */
.t-card {
  width: 360px; background: var(--white); border-radius: var(--r); padding: 32px;
  display: flex; flex-direction: column; gap: 18px; min-height: 300px;
}
.stars { display: flex; gap: 3px; color: var(--coral); }
.stars svg { width: 18px; height: 18px; }
.t-card .score { font-family: var(--f-head); font-size: 64px; line-height: 1; }
.t-card .score small { font-family: var(--f-body); font-size: 16px; color: var(--muted); }
.t-card blockquote { margin: 0; font-style: italic; font-size: 17px; line-height: 27px; }
.t-card .who { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.t-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: var(--coral); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.t-card .who b { display: block; }
.t-card .who span { color: var(--muted); }
.t-card .bars { display: grid; gap: 12px; }
.t-card .bar { display: grid; grid-template-columns: 96px 1fr 30px; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.t-card .bar i { height: 6px; border-radius: 3px; background: var(--pink); position: relative; overflow: hidden; }
.t-card .bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / 5 * 100%); background: var(--coral); border-radius: 3px; }
.t-card .bar b { text-align: right; font-variant-numeric: tabular-nums; }
.t-card .link { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--dark); text-underline-offset: 4px; }
.t-photo { width: 300px; border-radius: var(--r); overflow: hidden; position: relative; color: #fff; min-height: 300px; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.65)); }
.t-photo .play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--coral); display: grid; place-items: center; z-index: 1; }
.t-photo .play svg { width: 22px; height: 22px; margin-left: 3px; }
.t-photo .cap { position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 1; }
.t-photo .cap b { font-family: var(--f-head); font-weight: 400; font-size: 24px; display: block; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Why us grid ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--cream); border-radius: var(--r); padding: 32px 26px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.why-card h3 { font-family: var(--f-body); font-weight: 700; font-size: 19px; line-height: 26px; }
.why-card p { color: var(--muted); font-size: 15px; line-height: 23px; }
.why-card--cta { position: relative; overflow: hidden; color: #fff; background: #1d1f2b; justify-content: flex-end; }
.why-card--cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-card--cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.72)); }
.why-card--cta > *:not(img) { position: relative; z-index: 1; }
.why-card--cta h3 { font-family: var(--f-head); font-weight: 400; font-size: 30px; line-height: 1.1; }
.why-card--cta p { color: rgba(255,255,255,.88); }
.why-card--cta .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } }
.section--cream .why-card:not(.why-card--cta) { background: var(--white); }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why-card { min-height: 0; } .why-card--cta { min-height: 300px; } }

/* ---------- Explore (tabs) ---------- */
.explore { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.explore__photo { border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4/5.2; position: sticky; top: 110px; }
.explore__photo img { width: 100%; height: 100%; object-fit: cover; }
.explore__body > p { color: var(--muted); font-size: 17px; line-height: 28px; margin-top: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 24px; }
.tab {
  border: 1px solid var(--apricot); background: transparent; color: var(--dark);
  font: 700 12px var(--f-body); letter-spacing: .06em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 32px; cursor: pointer; transition: background .2s;
}
.tab[aria-selected="true"] { background: var(--apricot); color: var(--dark); }
.list { display: grid; gap: 12px; }
.list-card {
  border: 1px solid var(--apricot); border-radius: var(--r); padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none;
  transition: background .2s, transform .2s;
}
.list-card:hover { background: var(--cream); transform: translateX(4px); }
.list-card b { display: block; font-size: 16px; }
.list-card span { color: var(--muted); font-size: 14.5px; }
.list-card .meta { font-size: 13px; font-weight: 700; color: var(--dark); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.list-card .meta svg { width: 16px; height: 16px; color: var(--apricot); }
[role="tabpanel"][hidden] { display: none !important; }
@media (max-width: 900px) { .explore { grid-template-columns: 1fr; gap: 40px; } .explore__photo { position: relative; top: 0; aspect-ratio: 4/3; } }

/* ---------- Big CTA (scroll expand) ---------- */
.big-cta { padding-block: 40px var(--section); }
.big-cta__frame {
  position: relative; margin: 0 auto; border-radius: var(--r); overflow: hidden; color: #fff; text-align: center;
  width: var(--w, 60%); min-height: 560px; display: grid; place-items: center;
  transition: width .1s linear;
}
.big-cta__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.big-cta__frame::after { content: ""; position: absolute; inset: 0; background: rgba(12,12,22,.5); }
.big-cta__inner { position: relative; z-index: 1; padding: 60px 24px; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.big-cta__inner p { margin: 20px 0 32px; font-size: 18px; line-height: 28px; opacity: .92; }
.big-cta__inner .btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (max-width: 760px) { .big-cta__frame { width: 100% !important; min-height: 480px; } }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 600px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--apricot); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 17px/1.4 var(--f-body); color: var(--dark);
}
.faq-q svg { width: 18px; height: 18px; color: var(--apricot); flex: none; transition: transform .3s ease; }
.faq-q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 0 22px; color: var(--muted); line-height: 26px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-lines { display: grid; gap: 14px; margin-bottom: 48px; }
.contact-lines div { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; font-size: 15px; }
.contact-lines span { min-width: 90px; color: var(--muted); }
.contact-lines b, .contact-lines a { font-weight: 700; font-size: 16px; text-decoration: none; }
.contact h2 { margin-bottom: 12px; }
.contact .lead { color: var(--muted); margin-bottom: 32px; }
.form { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field textarea, .field select {
  border: 0; background: var(--white); border-radius: var(--r); padding: 15px 16px;
  font: 400 16px var(--f-body); color: var(--dark); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--apricot); outline-offset: 0; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 16px; border-radius: var(--r); font-weight: 600; font-size: 15px; }
.form-msg.ok { background: #e7f4ea; color: #1d5a2c; }
.form-msg.err { background: var(--pink); color: #8a1730; }
.map { border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1; background: #e9e4dc; position: relative; margin-top: 24px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: 14px; }
.addr { color: var(--muted); margin-top: 12px; line-height: 26px; }
.addr a { color: var(--dark); font-weight: 700; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 56px; } .form .row2 { grid-template-columns: 1fr; } }

/* ---------- Rooms ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room-card { display: flex; flex-direction: column; text-decoration: none; }
.room-card__img { border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4/3.2; position: relative; }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-card__img img { transform: scale(1.04); }
.room-card__tag { position: absolute; left: 14px; top: 14px; background: var(--white); color: var(--dark); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 7px 12px; border-radius: 32px; }
.room-card__body { padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.room-card h3 { font-size: 30px; }
.room-card p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.chips li { background: var(--cream); border-radius: 32px; padding: 7px 13px; font-size: 13px; font-weight: 700; display: flex; gap: 7px; align-items: center; }
.chips svg { width: 15px; height: 15px; color: var(--coral); }
.room-card .more { margin-top: 8px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.room-card .more svg { width: 16px; height: 16px; color: var(--coral); transition: transform .25s; }
.room-card:hover .more svg { transform: translateX(4px); }
@media (max-width: 960px) { .rooms-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .rooms-grid { grid-template-columns: 1fr; } }

.every { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 28px; list-style: none; padding: 0; margin: 0; }
.every li { display: flex; gap: 12px; align-items: center; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.every svg { width: 22px; height: 22px; color: var(--coral); flex: none; }
@media (max-width: 760px) { .every { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .every { grid-template-columns: 1fr; } }

/* compare table */
.table-wrap { overflow-x: auto; border-radius: var(--r); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--f-head); font-weight: 400; font-size: 22px; }
.compare tbody th { font-weight: 700; color: var(--muted); font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.compare a { font-weight: 700; color: var(--coral); }

/* room detail */
.room-detail { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.gallery a { display: block; border-radius: var(--r); overflow: hidden; position: relative; }
.gallery a:first-child { grid-row: span 2; border-radius: var(--r-photo); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.3; transition: transform .5s; }
.gallery a:first-child:nth-last-child(2) { grid-row: auto; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery a:hover img { transform: scale(1.03); }
.gallery--single { grid-template-columns: 1fr; }
.room-detail .lead { font-size: 18px; line-height: 30px; color: var(--muted); margin: 32px 0; }
.room-detail h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 18px; }
.aside { position: sticky; top: 110px; background: var(--cream); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.aside h2 { font-size: 30px; margin: 0; }
.aside dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; margin: 0; font-size: 15px; }
.aside dt { color: var(--muted); }
.aside dd { margin: 0; font-weight: 700; text-align: right; }
.aside .btn { justify-content: space-between; }
.aside .call { font-size: 14px; color: var(--muted); text-align: center; }
.aside .call a { color: var(--dark); font-weight: 700; }
@media (max-width: 960px) { .room-detail { grid-template-columns: 1fr; gap: 40px; } .aside { position: relative; top: 0; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,14,.92); display: grid; place-items: center; padding: 40px 16px; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--r); }
.lightbox button { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: 18px; background: #fff; }
.lightbox button svg { color: var(--dark); }

/* ---------- Amenities page ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amen-card { background: var(--cream); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.amen-card h3 { font-family: var(--f-body); font-weight: 700; font-size: 19px; line-height: 26px; }
.amen-card p { color: var(--muted); font-size: 15px; line-height: 24px; }
.section--cream .amen-card { background: var(--white); }
@media (max-width: 960px) { .amen-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amen-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__img { border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 5/4; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split p { color: var(--muted); font-size: 17px; line-height: 28px; margin-top: 18px; }
.split .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.split ul.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.split ul.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.split ul.ticks svg { width: 20px; height: 20px; color: var(--coral); flex: none; margin-top: 2px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split--rev .split__img { order: -1; } }

/* ---------- Things to do ---------- */
.todo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .todo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .todo-grid { grid-template-columns: 1fr; } }
.todo-grid .list-card { align-items: flex-start; flex-direction: column; min-height: 140px; }
.todo-grid .list-card .meta { margin-top: auto; }

/* ---------- Book page ---------- */
.book { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.book-panel { background: var(--white); border-radius: var(--r); padding: 36px; box-shadow: 0 20px 50px rgba(21,21,21,.06); }
.book-panel h2 { font-size: 34px; margin-bottom: 8px; }
.book-panel .lead { color: var(--muted); margin-bottom: 28px; }
.book-panel .field input, .book-panel .field select { background: var(--cream); }
.book-panel .btn { justify-content: space-between; width: 100%; margin-top: 8px; }
.book-note { font-size: 14px; color: var(--muted); margin-top: 16px; text-align: center; }
.book-embed { display: none; margin-top: 40px; border-radius: var(--r); overflow: hidden; background: var(--white); }
.book-embed iframe { width: 100%; min-height: 900px; border: 0; display: block; }
.book-side { display: grid; gap: 20px; }
.book-side .why-card { min-height: 0; }
.book-call { background: var(--dark); color: #fff; border-radius: var(--r); padding: 32px; }
.book-call .phone { font-family: var(--f-head); font-size: 36px; margin: 10px 0 6px; display: block; text-decoration: none; }
.book-call p { color: rgba(255,255,255,.75); font-size: 15px; }
.book-call .eyebrow { margin: 0; }
@media (max-width: 960px) { .book { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding-block: 72px 40px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: var(--dark); font-size: 30px; }
.footer p, .footer address { color: var(--muted); font-size: 15px; font-style: normal; line-height: 26px; margin-top: 16px; }
.footer h4 { font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.footer ul a { text-decoration: none; color: var(--muted); }
.footer ul a:hover { color: var(--dark); }
.footer address a { color: var(--dark); font-weight: 700; text-decoration: none; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky book bar ---------- */
.mobile-book {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--white); box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  padding: 10px max(16px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 10px;
}
.mobile-book a { flex: 1; justify-content: center; }
.mobile-book .btn--outline { padding: 12px; }
@media (max-width: 700px) { .mobile-book { display: flex; } body { padding-bottom: 76px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 160px 20px 100px; }
.notfound .big { font-family: var(--f-head); font-size: clamp(100px, 18vw, 180px); line-height: 1; color: var(--pink); }
.notfound p { color: var(--muted); margin: 16px auto 32px; max-width: 460px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   WordPress additions
   ========================================================================== */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } .admin-bar .nav-links { top: calc(130px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }
.logo--img img { max-height: 56px; width: auto; }
.nav.is-solid .logo--img img, .nav--solid .logo--img img { filter: none; }
.muted { color: var(--muted); }
.faq-h { font: inherit; margin: 0; }
.t-card--cream { background: var(--cream); }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 560px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 .field:nth-child(2) { grid-column: 1 / -1; order: -1; } }
.every--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 460px) { .every--2 { grid-template-columns: 1fr; } }
.rooms-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rooms-grid--1 { grid-template-columns: minmax(0, 460px); }
@media (max-width: 620px) { .rooms-grid--2 { grid-template-columns: 1fr; } }

/* Social icons */
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; flex-wrap: wrap; }
.contact-lines .social { margin: 0; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--dark); transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.section--cream .social a { background: var(--white); }

/* "View full gallery" card at the end of the photo carousel */
.photo-card--more { display: grid; place-items: center; background: var(--dark); color: #fff; text-decoration: none; text-align: center; font-weight: 700; }
.photo-card--more span { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; }
.photo-card--more .icon { color: var(--coral); width: 36px; height: 36px; }

/* Room gallery: 1, 2 or 3+ photos */
.gallery--n1 { grid-template-columns: 1fr; }
.gallery--n1 a:first-child { grid-row: auto; }
.gallery--n2 a:first-child { grid-row: auto; }
.gallery--n3 img { aspect-ratio: auto; }
.gallery--n3 { grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 3 / 2; }
.gallery--n3 a { height: 100%; }
.gallery .is-extra { display: none; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21,21,21,.55); color: #fff; font: 400 34px var(--f-head); }
@media (max-width: 560px) { .gallery--n3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; } .gallery--n3 a:first-child { grid-column: 1 / -1; grid-row: auto; } .gallery--n3 img { aspect-ratio: 4 / 3; } }
.room-detail .lead p { margin: 0 0 1em; }
.room-detail .lead p:last-child { margin-bottom: 0; }

/* Editor content (page intro, default pages, gallery page) */
.prose { max-width: 760px; margin: 0 auto 56px; font-size: 17px; line-height: 1.75; color: var(--muted); }
.prose--page { margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--dark); margin-top: 1.6em; }
.prose a { color: var(--dark); font-weight: 700; text-underline-offset: 3px; }
.prose img { border-radius: var(--r); }
.prose ul, .prose ol { padding-left: 1.3em; }
.dw-gallery .prose { max-width: none; text-align: center; }
.dw-gallery .prose > p { max-width: 640px; margin-inline: auto; }
.dw-gallery .wp-block-gallery { display: block !important; columns: 3; column-gap: 16px; margin-top: 40px; }
.dw-gallery .wp-block-gallery figure.wp-block-image { display: block; width: 100% !important; margin: 0 0 16px !important; break-inside: avoid; border-radius: var(--r); overflow: hidden; }
.dw-gallery .wp-block-gallery figure.wp-block-image:first-child { border-radius: var(--r-photo); }
.dw-gallery .wp-block-gallery figure.wp-block-image img { width: 100% !important; height: auto !important; display: block; transition: transform .5s ease; }
.dw-gallery .wp-block-gallery figure.wp-block-image a { display: block; overflow: hidden; }
.dw-gallery .wp-block-gallery figure.wp-block-image a:hover img { transform: scale(1.04); }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-grid a { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .dw-gallery .wp-block-gallery { columns: 2; column-gap: 10px; } .dw-gallery .wp-block-gallery figure.wp-block-image { margin-bottom: 10px !important; } .gal-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Lightbox controls */
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1400px, 100%); }
.lightbox figcaption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; max-width: 640px; }
.lightbox .lb-prev, .lightbox .lb-next { position: absolute; top: 50%; transform: translateY(-50%); right: auto; background: #fff; }
.lightbox .lb-prev { left: 16px; }
.lightbox .lb-next { left: auto; right: 16px; }
.lightbox .lb-close { top: calc(18px + env(safe-area-inset-top, 0px)); right: 18px; }
.lightbox .round svg { color: var(--dark); }
.lightbox .lb-count { position: absolute; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; }
@media (max-width: 600px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: none; } }

/* Book page */
.book-alt { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.book-alt summary { cursor: pointer; font-weight: 700; margin-bottom: 18px; }
.book-panel .form-msg { margin-bottom: 4px; }
.book-side .why-card { background: var(--white); }
.book > *, .contact > *, .explore > *, .split > *, .room-detail > * { min-width: 0; }
.form .field, .row2 > *, .row3 > * { min-width: 0; }
@media (max-width: 960px) { .book { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .book-panel { padding: 24px 18px; } .aside { padding: 24px 20px; } .book-call { padding: 26px 22px; } .book-call .phone { font-size: 30px; } }

/* ==========================================================================
   v1.0.1 — hero shows the whole photo on laptops/desktops, clearer image,
   balanced (centered) carousels
   ========================================================================== */
/* Hero height follows the photo's shape (1.87:1) so laptops/desktops see the full photo */
.hero { min-height: 0; height: clamp(600px, 53.5vw, 100svh); }
.hero__bg img {
  filter: blur(1px) saturate(1.06) brightness(.97);
  transform: scale(1.02);
  animation: heroDrift2 30s ease-out forwards;
  object-position: 50% 50%;
}
@keyframes heroDrift2 { from { transform: scale(1.02); } to { transform: scale(1.06); } }
.hero__bg::after {
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(8,8,18,.10) 0%, rgba(8,8,18,.42) 100%),
    linear-gradient(180deg, rgba(8,8,18,.50) 0%, rgba(8,8,18,.22) 42%, rgba(8,8,18,.60) 100%);
}
.hero__content { padding-top: 110px; padding-bottom: 120px; }
/* Narrower screens must crop: keep the MOTEL sign + canopy in view */
@media (max-width: 1120px) { .hero { height: auto; min-height: 600px; } .hero__bg img { object-position: 30% 50%; } }
@media (max-width: 900px) and (orientation: portrait) { .hero { min-height: 78svh; } }
@media (max-width: 600px) { .hero { min-height: 88svh; } .hero__bg img { object-position: 22% 50%; } }
@media (prefers-reduced-motion: reduce) { .hero__bg img { transform: scale(1.02); } }
/* Inset photo: only when there's room beside the booking bar */
@media (max-width: 1320px) { .hero__inset { display: none; } }

/* Carousels: same space left and right, centered when everything fits */
.carousel__track {
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  justify-content: safe center;
  scroll-padding-inline: 20px;
}
.carousel__track > :last-child { margin-right: 0; }
.photo-card { width: clamp(200px, 15vw, 240px); }
