/* Sugarland Homes public site theme. Loads after style.css and overrides it.
   Palette: ink navy, cool mist paper, sky blue for action, a little gold. Booked nights are hatched. */

:root {
  --ink: #13253A;
  --ink-2: #4A5B70;
  --paper: #F3F5F7;
  --surface: #FFFFFF;
  --line: #DCE2E8;
  --sky: #2C79B4;
  --sky-deep: #1E5E92;
  --sky-wash: #E1EEF8;
  --gold: #B58A44;
  --err: #B3382C;
  --ok: #2E7D5B;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* map the old variable names onto the new palette so inner pages follow */
  --ivory: #F3F5F7;
  --ivory-deep: #E8EDF1;
  --navy: #13253A;
  --navy-soft: #4A5B70;
  --gold-soft: #E8DCC0;
  --serif: var(--f-display);
  --sans: var(--f-body);
  --radius: 10px;
}

html { scroll-padding-top: 84px; }
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
p { max-width: 66ch; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: none;
  margin: 0;
  min-height: 64px;
  padding: 8px max(20px, calc((100vw - 1180px) / 2));
  flex-wrap: nowrap;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .brand {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.nav .brand span { color: var(--sky-deep); margin-left: 0.25em; }
.brand-logo { height: 36px; width: 36px; margin-right: 10px; }
.nav-links { gap: 22px; align-items: center; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--ink-2); border-bottom: 0; padding: 8px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.nav-cta { color: #fff; padding: 10px 18px; min-height: 42px; }
.nav-links a.nav-cta:hover { color: #fff; }
.nav-toggle {
  width: 44px; height: 44px;
  font-size: 24px;
  border-radius: 10px;
  color: var(--ink);
  align-items: center; justify-content: center;
}

/* ---------- buttons and forms ---------- */
.btn {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-width: 1.5px;
}
.btn-primary { background: var(--sky-deep); color: #fff; }
.btn-primary:hover { background: #174C77; }
.btn-primary:disabled { background: #D3DBE3; color: #66778A; cursor: not-allowed; }
.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sky-wash); }

.admin-form input, .admin-form textarea, .admin-form select,
.st-field input, .st-field select {
  font-family: var(--f-body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #BFC9D4;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus,
.st-field input:focus, .st-field select:focus {
  outline: 3px solid var(--sky-wash);
  border-color: var(--sky);
}
.admin-form label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- inner pages ---------- */
.page-content { padding: 56px 24px 96px; }
.container:has(> #status-root) { padding-left: 24px !important; padding-right: 24px !important; }
.page-content h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.page-content h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 10px; }
.page-content p, .page-content li { color: var(--ink-2); font-size: 16.5px; line-height: 1.75; }
.page-content a { color: var(--sky-deep); text-underline-offset: 3px; }
.page-content .updated { font-size: 14px; }
.review-card { border-radius: 16px; background: #fff; padding: 24px; }
.review-card .stars { letter-spacing: 2px; }
.review-empty { border-radius: 16px; }
.blog-img { border-radius: 16px; }
.blog-post h2 { letter-spacing: -0.02em; }
.status-pill { font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: var(--ink); margin-top: 0; padding: 60px 0 32px; }
.footer .brand { font-family: var(--f-display); font-weight: 700; font-size: 20px; }
.footer-grid h4 { font-family: var(--f-body); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid a:hover { color: #fff; }
.whatsapp-float:not([href]), .whatsapp-float[href*="XXXX"] { display: none; }

/* ---------- layout helpers ---------- */
.st-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.st-band { padding: 76px 0; }
.st-band.is-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.st-sub { color: var(--ink-2); margin: 0 0 36px; }
.st-link {
  background: none; border: 0; padding: 4px 0; margin: 0;
  font: inherit; font-weight: 600; color: var(--sky-deep);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.st-link:hover { color: var(--ink); }

/* ---------- hero (home) and property header ---------- */
.st-hero { padding: 36px 0 64px; }
.st-hero-grid, .st-prop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  grid-template-areas: "head card" "rest card";
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  align-items: start;
}
.st-head { grid-area: head; min-width: 0; }
.st-rest { grid-area: rest; min-width: 0; }
.st-hero-grid > #book, .st-prop-grid > #book { grid-area: card; }
.st-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 18px;
  text-wrap: balance;
}
.st-lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 52ch; margin: 0 0 8px; }
.st-fine { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.st-loc { font-size: 1.05rem; font-weight: 600; color: var(--sky-deep); margin: 0 0 14px; max-width: none; }

/* ---------- photos ---------- */
.st-media-wrap { position: relative; margin-top: 28px; }
.st-media {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: clamp(300px, 36vw, 430px);
  border-radius: 22px;
  overflow: hidden;
}
.st-ph { padding: 0; border: 0; background: #DDE4EA; cursor: zoom-in; display: block; position: relative; overflow: hidden; }
.st-ph img { width: 100%; height: 100%; object-fit: cover; }
.st-ph:first-child { grid-column: span 2; grid-row: span 2; }
.st-ph:nth-child(n+6) { display: none; }
.st-media[data-n="1"] { grid-template-columns: 1fr; }
.st-media[data-n="1"] .st-ph:first-child { grid-column: auto; grid-row: span 2; }
.st-media[data-n="2"], .st-media[data-n="3"], .st-media[data-n="4"] { grid-template-columns: 2fr 1fr; }
.st-media[data-n="2"] { grid-template-rows: 1fr; }
.st-media[data-n="2"] .st-ph:first-child, .st-media[data-n="3"] .st-ph:first-child, .st-media[data-n="4"] .st-ph:first-child { grid-column: 1; grid-row: 1 / -1; }
.st-media[data-n="3"] { grid-template-rows: repeat(2, 1fr); }
.st-media[data-n="4"] { grid-template-rows: repeat(3, 1fr); }
.st-all {
  position: absolute; right: 14px; bottom: 14px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(19, 37, 58, 0.5);
}
.st-all:hover { background: var(--sky-wash); }
.st-counter { display: none; }

/* ---------- booking card ---------- */
.st-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 22px 50px -28px rgba(19, 37, 58, 0.45);
  scroll-margin-top: 84px;
  min-width: 0;
}
.st-prop-grid > #book { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; }
.st-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.st-rate strong { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: -0.02em; }
.st-rate span { color: var(--ink-2); font-size: 15px; }
.st-min { font-size: 13.5px; color: var(--ink-2); }
.st-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #BFC9D4; border-radius: 14px; overflow: hidden; margin: 16px 0 12px; }
.st-datebox { background: #fff; border: 0; padding: 10px 14px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; min-height: 56px; }
.st-datebox + .st-datebox { border-left: 1px solid #BFC9D4; }
.st-datebox.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.st-lab { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.st-val { display: block; font-size: 15px; font-weight: 600; margin-top: 1px; }

.st-cal-nav { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 8px; }
.st-month { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.st-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer; padding: 0 0 3px;
}
.st-arrow:hover:not(:disabled) { background: var(--sky-wash); }
.st-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.st-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 3px; }
.st-dow { font-size: 12px; font-weight: 600; color: var(--ink-2); text-align: center; padding: 6px 0; }
.st-day {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
@media (hover: hover) {
  .st-day:hover:not(:disabled):not(.is-start):not(.is-end) { background: var(--sky-wash); }
}
.st-day:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; z-index: 2; }
.st-day.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 6px;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold);
}
.st-day.is-booked,
.st-day.is-coonly {
  background: repeating-linear-gradient(135deg, #E9EDF1 0 4px, #D9E0E7 4px 5px);
  color: #7C8A9A;
  cursor: not-allowed;
}
.st-day.is-booked { text-decoration: line-through; text-decoration-thickness: 1px; }
.st-day.is-coonly { color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.st-day.is-past, .st-day.is-off { color: #A5B0BC; cursor: default; font-weight: 500; }
.st-day.is-short { color: #8E9BAA; }
.st-day.is-target { box-shadow: inset 0 0 0 1.5px var(--line); }
.st-day.is-range { background: var(--sky-wash); border-radius: 0; }
.st-day.is-start, .st-day.is-end { background: var(--ink); color: #fff; box-shadow: none; text-decoration: none; }
.st-day.is-start { border-radius: 12px 0 0 12px; }
.st-day.is-end { border-radius: 0 12px 12px 0; }
.st-day.is-start.is-solo { border-radius: 12px; }
.st-day.is-today.is-start::after, .st-day.is-today.is-end::after { background: var(--gold); }

.st-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 4px; font-size: 12.5px; color: var(--ink-2); }
.st-legend span { display: inline-flex; align-items: center; gap: 6px; }
.st-sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.st-sw-open { background: #fff; border: 1.5px solid #9AA8B6; }
.st-sw-booked { background: repeating-linear-gradient(135deg, #E9EDF1 0 3px, #C9D2DB 3px 4px); }
.st-sw-pick { background: var(--ink); }
.st-next { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); max-width: none; }
.st-status { min-height: 22px; margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); max-width: none; }
.st-status.is-err { color: var(--err); font-weight: 500; }
.st-quote { margin: 8px 0 4px; border-top: 1px solid var(--line); padding-top: 8px; }
.st-quote[hidden] { display: none; }
.st-qrow { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 15px; }
.st-qrow.st-total { font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-size: 16.5px; }
.st-go { width: 100%; margin-top: 12px; }
.st-trust { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 14px 0 0; max-width: none; }
.st-trust a { color: var(--sky-deep); text-decoration: underline; }

.st-pane[hidden] { display: none; }
.st-details { display: grid; gap: 14px; margin-top: 12px; }
.st-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.st-summary strong { display: block; }
.st-summary .st-link { white-space: nowrap; }
.st-summary span { color: var(--ink-2); font-size: 14px; }
.st-field span { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.st-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.st-check { display: flex; align-items: center; gap: 10px; font-size: 15px; min-height: 44px; }
.st-check input { width: 20px; height: 20px; accent-color: var(--sky-deep); }
.st-details .st-go { margin-top: 2px; }
.st-fail { padding: 8px 2px; }
.st-fail p { color: var(--ink-2); font-size: 15px; }

/* ---------- home sections ---------- */
.st-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 44px; margin: 0; padding: 0; list-style: none; }
.st-feats li { border-top: 1.5px solid var(--ink); padding-top: 16px; }
.st-feats h3 { font-size: 1.15rem; margin: 0 0 6px; }
.st-feats p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.st-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.st-steps li { counter-increment: s; }
.st-steps li::before {
  content: counter(s);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 50%; background: var(--ink); color: #fff;
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem;
}
.st-steps h3 { font-size: 1.15rem; margin: 0 0 6px; }
.st-steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.st-note { margin: 32px 0 0; padding: 18px 20px; border-radius: 14px; background: var(--sky-wash); font-size: 15.5px; max-width: 70ch; }
.st-note a { color: var(--sky-deep); font-weight: 600; text-decoration: underline; }

.st-rvlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.st-rv { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.st-stars { color: var(--gold); letter-spacing: 3px; font-size: 17px; margin-bottom: 10px; }
.st-rv blockquote { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.55; }
.st-rv figcaption { font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.st-rv-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.st-rv-head p { margin: 0; color: var(--ink-2); }

.st-where { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.st-where ul { list-style: none; margin: 0; padding: 0; }
.st-where li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.st-where li:first-child { border-top: 1px solid var(--line); }
.st-soon { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding: 0; list-style: none; }
.st-soon li { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: #8896A6; letter-spacing: -0.01em; }
.st-soon small { font-family: var(--f-body); font-weight: 500; font-size: 14px; margin-left: 8px; color: var(--ink-2); }
.st-cta { background: var(--sky-deep); color: #fff; padding: 64px 0; }
.st-cta h2 { color: #fff; margin: 0 0 18px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; max-width: 20ch; }

/* ---------- property page ---------- */
.st-prop { padding: 24px 0 72px; }
.st-crumbs { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.st-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.st-prop h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 6px; }
.st-where-line { color: var(--ink-2); margin: 0; font-size: 1.05rem; }
.st-sec { padding: 36px 0; border-top: 1px solid var(--line); }
.st-sec:first-child { border-top: 0; }
.st-sec h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 0 0 14px; }
.st-sec p { color: var(--ink-2); }
.st-amen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.st-amen li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); position: relative; font-size: 16px; }
.st-amen li::before {
  content: ""; position: absolute; left: 4px; top: 17px; width: 7px; height: 12px;
  border: solid var(--sky-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg);
}
.st-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0; }
.st-facts dt { font-weight: 700; margin: 0 0 2px; }
.st-facts dd { margin: 0; color: var(--ink-2); }

/* ---------- sticky bar (phones) ---------- */
.st-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 30px -14px rgba(19, 37, 58, 0.35);
}
.st-bar[hidden] { display: none; }
.st-bar-txt strong { font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -0.01em; }
.st-bar-txt span { color: var(--ink-2); font-size: 14.5px; }
.st-bar .btn { min-height: 46px; padding: 11px 20px; }
body.has-bar .whatsapp-float { bottom: 88px; }

/* ---------- lightbox ---------- */
html.st-lock, html.st-lock body { overflow: hidden; }
.st-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 14, 22, 0.95); display: flex; align-items: center; justify-content: center; }
.st-lb-img { max-width: min(92vw, 1200px); max-height: 82vh; object-fit: contain; border-radius: 6px; }
.st-lb-x, .st-lb-nav { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 0 4px; }
.st-lb-x:hover, .st-lb-nav:hover { background: rgba(255, 255, 255, 0.24); }
.st-lb-x { top: 14px; right: 14px; }
.st-lb-nav { top: 50%; margin-top: -24px; }
.st-lb-prev { left: 14px; }
.st-lb-next { right: 14px; }
.st-lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 14px; }

/* ---------- tablets and phones ---------- */
@media (max-width: 1020px) {
  .st-hero-grid, .st-prop-grid { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 36px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    width: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(19, 37, 58, 0.35);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a.nav-cta { margin-top: 16px; border-bottom: 0; padding: 13px 22px; font-size: 16px; }

  .st-hero { padding: 20px 0 48px; }
  .st-hero-grid, .st-prop-grid { display: block; }
  .st-hero-grid > #book, .st-prop-grid > #book { position: static; max-height: none; overflow: visible; margin-top: 28px; }
  .st-band { padding: 56px 0; }
  .st-wrap { padding: 0 20px; }

  .st-media-wrap { margin-left: -20px; margin-right: -20px; margin-top: 22px; }
  .st-media, .st-media[data-n] {
    display: flex; height: auto; border-radius: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
    gap: 8px; padding: 0 20px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .st-media::-webkit-scrollbar { display: none; }
  .st-ph, .st-ph:nth-child(n+6) {
    display: block; flex: 0 0 88%; aspect-ratio: 4 / 3;
    scroll-snap-align: center; border-radius: 18px; grid-column: auto; grid-row: auto;
  }
  .st-media[data-n="1"] .st-ph { flex-basis: 100%; }
  .st-media .st-ph:first-child { grid-column: auto; grid-row: auto; }
  .st-all { display: none; }
  .st-counter {
    display: block; position: absolute; right: 32px; bottom: 12px;
    background: rgba(19, 37, 58, 0.8); color: #fff; font-size: 12.5px; font-weight: 600;
    padding: 4px 11px; border-radius: 999px;
  }
  .st-feats, .st-steps { grid-template-columns: 1fr; gap: 28px; }
  .st-where { grid-template-columns: 1fr; gap: 28px; }
  .st-amen, .st-facts { grid-template-columns: 1fr; }
  .st-sec { padding: 30px 0; }
  .st-prop { padding-bottom: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  body.has-bar { padding-bottom: 74px; }
  .st-hero h1 { font-size: clamp(1.95rem, 8.2vw, 2.6rem); margin-bottom: 12px; }
  .st-lede { font-size: 1.02rem; margin-bottom: 0; }
  .st-hero .st-fine, .st-hero .st-lede { display: none; }
  .st-loc { font-size: 1rem; margin-bottom: 0; }
  .st-media-wrap { margin-top: 18px; }
  .st-ph, .st-ph:nth-child(n+6) { flex-basis: 84%; aspect-ratio: 3 / 2; }
}
@media (min-width: 901px) {
  .st-bar { display: none !important; }
}
@media (max-width: 420px) {
  .st-card { padding: 18px; border-radius: 18px; }
  .st-row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
