/* The Piedmont CNX — site styles. Tokens follow the redesign canvas. */
:root {
  /* Pastel palette, from the "soft & comfy" boards in the redesign canvas. */
  --ink: #3A3346;
  --paper: #FBF8F4;
  --white: #FFFFFF;
  --line: #EDE4DC;
  --line-soft: #F3EDE7;
  --muted: #6A6275;
  --body-dark: #4A4258;
  --blush: #FBEDE4;
  --peach: #FFE3D3;
  --rose: #F7D9CB;
  --lilac: #E9E4F7;
  --lilac-2: #DCD6F2;
  --lilac-line: #CFC5EE;
  --lavender: #C9BDF2;
  --violet: #7A6BB8;
  --sky: #CFE4F2;
  --sky-2: #DCEBF5;
  --mint: #CFE3D3;
  --mint-2: #BFE3C8;
  --butter: #FCF1CF;
  --clay-text: #8C5A48;
  --dash: #D9C6BB;
  --accent: #FFB59C;
  --accent-hover: #FFC6B2;
  --ok-bg: #DCEFE3; --ok-fg: #1E5A3B;
  --wait-bg: #FBE7C2; --wait-fg: #6B4508;
  --err-bg: #FBE0DA; --err-fg: #8A2E1C;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Figtree', 'Helvetica Neue', sans-serif;
  --r-lg: 36px; --r-md: 28px; --r-sm: 16px;
  --shadow: 0 24px 60px rgba(58, 51, 70, .14);
  --wrap: 1280px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; line-height: 1; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.display-xl { font-weight: 800; font-size: clamp(44px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.02em; }
.display-lg { font-weight: 800; font-size: clamp(34px, 4.4vw, 64px); }
.display-md { font-weight: 800; font-size: clamp(32px, 4vw, 56px); }
.h-sm { font-size: 22px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); padding: 12px 16px; border-radius: 12px; }
.skip-link:focus { top: 16px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; background: none; transition: transform .12s ease, background .15s ease, opacity .15s; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--body-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: rgba(22, 36, 29, .06); }
.btn-ghost-light { border-color: rgba(58, 51, 70, .3); color: var(--ink); font-weight: 600; }
.btn-ghost-light:hover { background: rgba(58, 51, 70, .05); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-link { background: none; border: none; padding: 0 8px; text-decoration: underline; font-weight: 600; min-height: 44px; cursor: pointer; }
.btn-square { border-radius: 16px; }
.btn[disabled], .btn.is-loading { opacity: .75; cursor: progress; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }

.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--rose); background: transparent; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.chip[aria-current="page"], .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tag { display: inline-flex; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--ink); }
.pill { display: inline-flex; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: var(--ok-bg); color: var(--ok-fg); }
.pill-wait { background: var(--wait-bg); color: var(--wait-fg); }
.pill-muted { background: var(--line-soft); color: var(--body-dark); }
.pill-err { background: var(--err-bg); color: var(--err-fg); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-size: 13px; font-weight: 700; }
.label-caps { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.input, .select, .textarea { min-height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; background: var(--white); font-size: 16px; width: 100%; }
.textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(201, 189, 242, .6); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--err-fg); }
.field-error { color: var(--err-fg); font-size: 13px; font-weight: 600; }
.hint { font-size: 13px; color: var(--muted); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }

.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 16px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.notice-info { background: var(--white); border: 1px solid var(--line); }
.notice-success { background: var(--ok-bg); color: var(--ok-fg); }
.notice-error { background: var(--err-bg); color: var(--err-fg); }
.notice-wait { background: var(--wait-bg); color: var(--wait-fg); }
.flash { max-width: var(--wrap); margin: 16px auto 0; padding: 0 var(--gutter); }

.card { background: var(--white); border-radius: var(--r-lg); padding: 28px; }

/* ---------- Header ---------- */
.site-header { background: var(--blush); color: var(--ink); }
.site-header.is-light { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.is-light .nav { padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { display: inline-flex; width: 36px; height: 44px; border-radius: 18px 18px 6px 6px; border: 2px solid var(--accent); align-items: flex-end; justify-content: center; padding-bottom: 6px; }
.brand-mark span { width: 10px; height: 14px; border-radius: 5px 5px 0 0; background: var(--accent); }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.brand-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; border: 1px solid rgba(58, 51, 70, .3); border-radius: 999px; padding: 3px 8px; }
.is-light .brand-tag { border-color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; padding: 10px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.steps li { padding: 10px 16px; border-radius: 999px; background: var(--line-soft); color: var(--muted); }
.steps li.is-current { background: var(--ink); color: var(--paper); }
.steps li.is-done { background: var(--peach); color: var(--ink); }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links { display: none; order: 3; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 8px; }
  .nav-links a { padding: 12px 0; width: 100%; border-top: 1px solid rgba(58, 51, 70, .12); }
  .is-light .nav-links a { border-top-color: var(--line); }
  .nav.is-open .nav-links { display: flex; }
  .steps li { padding: 8px 12px; font-size: 13px; }
  .steps .step-label { display: none; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .nav { gap: 12px; }
  .brand-mark, .brand-tag { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 0 16px; }
  .hero { padding-top: 32px; padding-bottom: 96px; gap: 32px; }
  .photo-arch { height: 360px; }
  .booking-bar .btn { margin: 8px 0; }
  .floor-copy, .floor-card-body { padding: 28px; }
  .card { padding: 20px; }
  .summary { padding: 22px; }
}

/* ---------- Home ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 120px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-copy .eyebrow { color: var(--clay-text); }
.hero-lede { max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.hero-photos .col { display: flex; flex-direction: column; gap: 16px; }
.photo { position: relative; overflow: hidden; background: var(--lilac-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.photo img.is-loaded { opacity: 1; }
.photo-arch { height: 520px; border-radius: 999px 999px 28px 28px; }
.photo-r { height: 240px; border-radius: 36px; background: var(--sky); }
.photo-arch-down { height: 264px; border-radius: 28px 28px 999px 999px; background: var(--peach); }

.booking-bar-wrap { margin-top: -64px; position: relative; }
.booking-bar { background: var(--white); border-radius: var(--r-lg); padding: 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; box-shadow: var(--shadow); }
.booking-bar .field { flex: 1 1 180px; padding: 8px 12px; }
.booking-bar .field.narrow { flex-basis: 140px; }
.booking-bar .btn { flex: 1 1 200px; min-height: 58px; margin: 8px 12px; border-radius: 18px; }
.highlights { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 22px 12px 0; font-size: 15px; color: var(--body-dark); }
.highlights span { display: inline-flex; gap: 8px; align-items: center; }

.section { padding-top: 96px; padding-bottom: 48px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { max-width: 380px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.floor { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); background: var(--lilac); color: var(--ink); border-radius: 32px; overflow: hidden; }
.floor-copy { padding: 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.floor-num { font-family: var(--display); font-weight: 800; font-size: 88px; line-height: .8; color: var(--violet); }
.floor-copy p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.floor .photo { min-height: 340px; }
.floor-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin-top: 20px; }
.floor-card { background: var(--white); border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.floor-card .photo { height: 280px; background: var(--peach); }
.floor-card-body { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.floor-card-body .floor-num { font-size: 56px; color: var(--ink); }
.floor-card-body h3 { font-size: 28px; letter-spacing: -0.02em; }
.floor-card-body p { color: var(--muted); }

.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.room { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.room .photo { height: 360px; border-radius: 999px 999px 24px 24px; background: var(--rose); }
.room-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.room-head h3 { font-size: 24px; letter-spacing: -0.02em; }
.room-head span { font-size: 13px; font-weight: 700; color: var(--muted); }
.room p { font-size: 15px; color: var(--muted); }

.location { background: var(--white); }
.location-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.places { list-style: none; margin: 28px 0 0; padding: 0; }
.places li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.places li span:first-child { font-weight: 600; }
.places li span:last-child { color: var(--muted); text-align: right; }
.map { height: 460px; border-radius: 32px; background: var(--sky-2); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.map iframe { border: 0; width: 100%; height: 100%; }
.map-open { position: absolute; left: 16px; bottom: 16px; text-decoration: none; box-shadow: 0 6px 20px rgba(58, 51, 70, .15); }
.map-pin { display: inline-flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.map-pin .pin { width: 56px; height: 56px; border-radius: 999px 999px 999px 4px; transform: rotate(-45deg); background: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.map-pin .pin span { width: 18px; height: 18px; border-radius: 999px; background: var(--accent); }

.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.guide-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; }
.guide-card .photo { height: 220px; background: var(--peach); }
.guide-card .photo .tag { position: absolute; top: 16px; left: 16px; background: var(--accent); }
.guide-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.guide-card-body h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; }
.guide-card-body p { font-size: 14px; color: var(--muted); }

.ad-slot { border: 1.5px dashed var(--dash); border-radius: 32px; min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px; flex-wrap: wrap; text-decoration: none; }
.ad-slot img { max-height: 120px; border-radius: 12px; }
.ad-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.reviews { background: var(--butter); color: var(--ink); }
.reviews-inner { padding-top: 96px; padding-bottom: 96px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 40px; }
.review { margin: 0; background: var(--white); border-radius: 32px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body-dark); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--accent); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.review small { display: block; font-size: 13px; color: var(--muted); }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; padding-top: 96px; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.contact-lines { display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.contact-form .full { grid-column: 1 / -1; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 48px; margin-top: 64px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

.cookie { position: fixed; left: 24px; bottom: 24px; max-width: 420px; background: var(--white); border-radius: 24px; padding: 24px; box-shadow: 0 20px 50px rgba(58, 51, 70, .2); display: flex; flex-direction: column; gap: 14px; z-index: 40; }
.cookie[hidden] { display: none; }
.cookie strong { font-family: var(--display); font-size: 20px; }
.cookie p { font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 520px) { .cookie { left: 12px; right: 12px; bottom: 12px; } }

/* ---------- Booking flow ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 200px 200px; gap: 12px; padding-top: 32px; }
.gallery .photo { border-radius: 8px; background: var(--rose); }
.gallery .g-main { grid-column: span 2; grid-row: span 2; border-radius: 36px 8px 8px 28px; background: var(--lilac-2); }
.gallery .g-tr { border-radius: 8px 28px 8px 8px; }
.gallery .g-br { border-radius: 8px 8px 28px 8px; }
.gallery .g-more { position: absolute; right: 12px; bottom: 12px; }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 120px; }
  .gallery .g-main { grid-row: span 1; border-radius: 24px 24px 8px 8px; }
  .gallery .g-hide-sm { display: none; }
  .gallery .g-tr { border-radius: 8px 8px 8px 24px; }
  .gallery .g-br { border-radius: 8px 8px 24px 8px; }
}
.stay-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 96px; }
@media (max-width: 960px) { .stay-layout { grid-template-columns: minmax(0, 1fr); } }
.stay-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.stay-title { display: flex; flex-direction: column; gap: 10px; }
.stay-title h1 { font-weight: 800; font-size: clamp(34px, 4vw, 44px); }

.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cal-nav { display: flex; gap: 8px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.months { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px; margin-top: 20px; min-height: 330px; }
.month h2 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 12px; }
.dow, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dow { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: 4px; }
.day { height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-soft); background: var(--white); cursor: pointer; padding: 0; }
.day:hover:not(:disabled) { border-color: var(--ink); }
.day.is-blank { visibility: hidden; }
.day.is-busy { background: var(--line-soft); color: #A79FB3; text-decoration: line-through; border-color: transparent; cursor: not-allowed; }
.day.is-past { color: #B7B0C0; border-color: transparent; background: transparent; cursor: not-allowed; }
.day.is-sel { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.day.is-mid { background: var(--peach); border-color: var(--peach); }
.day.is-checkout-only { background: repeating-linear-gradient(135deg, var(--white), var(--white) 6px, var(--line-soft) 6px, var(--line-soft) 12px); color: var(--ink); text-decoration: none; cursor: pointer; }
.cal-hint { font-size: 14px; color: var(--muted); margin-top: 16px; min-height: 21px; }

.counter-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); gap: 12px; }
.counter-row:last-child { border-bottom: none; }
.counter { display: flex; align-items: center; gap: 14px; }
.counter output { min-width: 18px; text-align: center; font-weight: 700; font-size: 18px; }
.counter .icon-btn { border-color: var(--rose); font-size: 20px; }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.addon { background: var(--white); border-radius: var(--r-md); padding: 20px; border: 2px solid transparent; cursor: pointer; }
.addon:has(input:checked) { border-color: var(--ink); }
.addon strong { display: block; }
.addon span { font-size: 14px; color: var(--muted); }

.summary { position: sticky; top: 24px; background: var(--lilac); color: var(--ink); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.summary-rate { display: flex; justify-content: space-between; align-items: baseline; }
.summary-rate strong { font-family: var(--display); font-size: 30px; font-weight: 800; }
.summary-rate span, .summary .fine { color: var(--muted); }
.summary-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--lilac-line); border-radius: 16px; overflow: hidden; }
.summary-box > div { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.summary-box > div:first-child { border-right: 1px solid var(--lilac-line); }
.summary-box > div.full { grid-column: span 2; border-top: 1px solid var(--lilac-line); border-right: none; }
.summary-box small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.summary-box b { font-weight: 700; }
.lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; min-height: 60px; }
.lines .line { display: flex; justify-content: space-between; gap: 12px; }
.lines .total { padding-top: 12px; border-top: 1px solid var(--lilac-line); font-weight: 800; font-size: 18px; }
.summary .fine { margin: 0; font-size: 13px; line-height: 1.5; }
.summary .btn { min-height: 56px; border-radius: 16px; font-weight: 800; }
.trust { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border-radius: 16px; padding: 14px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.trust svg { flex-shrink: 0; }
.summary-empty { font-size: 15px; color: var(--muted); }

.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.details-grid .full { grid-column: 1 / -1; }

.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; align-items: start; }
.qr-box { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.qr-box img { width: 240px; height: 240px; }
.qr-amount { font-family: var(--display); font-size: 32px; font-weight: 800; }
.countdown { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: var(--wait-bg); color: var(--wait-fg); padding: 8px 14px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.countdown.is-urgent { background: var(--err-bg); color: var(--err-fg); }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 1.5px dashed var(--dash); border-radius: 28px; padding: 28px 16px; background: var(--paper); cursor: pointer; min-height: 160px; }
.dropzone:hover, .dropzone.is-over { border-color: var(--violet); background: var(--white); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone img { max-height: 180px; border-radius: 12px; }
.steps-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--body-dark); }

.confirm-hero { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.status-icon { width: 64px; height: 64px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; }
.status-icon.ok { background: var(--ok-bg); color: var(--ok-fg); }
.status-icon.wait { background: var(--wait-bg); color: var(--wait-fg); }
.status-icon.err { background: var(--err-bg); color: var(--err-fg); }
.code-box { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: .04em; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }

/* ---------- Guide ---------- */
.guide-hero { padding-top: 56px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 24px; }
.guide-hero h1 { font-weight: 800; font-size: clamp(56px, 8vw, 128px); line-height: .9; letter-spacing: -0.025em; }
.guide-hero-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.guide-hero-row p { max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 32px; align-items: start; padding-top: 24px; padding-bottom: 96px; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); background: var(--sky-2); color: var(--ink); border-radius: 32px; overflow: hidden; text-decoration: none; margin-bottom: 32px; }
.feature .photo { min-height: 380px; }
.feature .photo .tag { position: absolute; top: 20px; left: 20px; background: var(--accent); }
.feature-body { padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.feature-body h2 { font-weight: 800; font-size: 40px; }
.feature-body p { color: var(--muted); }
.feature-body span { font-size: 14px; color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.post .photo { height: 200px; border-radius: 32px; background: var(--rose); }
.post .photo .tag { position: absolute; top: 14px; left: 14px; }
.post h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; }
.post span { font-size: 14px; color: var(--muted); }
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; }
.event { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.event-date { width: 60px; height: 60px; flex-shrink: 0; border-radius: 16px; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.event-date small { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--accent); }
.event-date b { font-family: var(--display); font-size: 20px; font-weight: 800; }
.newsletter { background: var(--accent); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.newsletter .input { border: none; }
.newsletter .btn { border-radius: 18px; min-height: 48px; }
.article { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; display: flex; flex-direction: column; gap: 24px; }
.article h1 { font-weight: 800; font-size: clamp(40px, 6vw, 72px); }
.article .photo { height: 420px; border-radius: 32px; }
.article-body p { font-size: 18px; line-height: 1.75; margin-bottom: 20px; }

/* ---------- Loading states ---------- */
.nav-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 100; opacity: 0; transition: width .3s ease, opacity .2s; }
.nav-progress.is-active { opacity: 1; width: 75%; transition: width 6s cubic-bezier(.1, .7, .1, 1), opacity .2s; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { position: relative; overflow: hidden; background: var(--line-soft); border-radius: 10px; }
.skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: shimmer 1.3s infinite; }
.summary .skeleton { background: var(--lilac-2); }
.summary .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-line { height: 14px; margin: 6px 0; }
.sk-title { height: 22px; width: 50%; margin-bottom: 14px; }
.sk-day { height: 44px; }
.is-busy-region { opacity: .55; pointer-events: none; transition: opacity .15s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Empty & error states ---------- */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 48px 24px; border: 1.5px dashed var(--dash); border-radius: 32px; background: rgba(255, 255, 255, .5); }
.empty-icon { width: 56px; height: 56px; border-radius: 18px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--violet); }
.empty h3 { font-size: 22px; }
.empty p { max-width: 420px; color: var(--muted); }
.empty.compact { padding: 24px 16px; }
.error-page { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding-top: 80px; padding-bottom: 80px; }
.error-page .status { font-family: var(--display); font-weight: 800; font-size: 120px; line-height: .8; color: var(--lavender); }

/* ---------- Modal ---------- */
.modal { border: none; padding: 0; border-radius: 28px; width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 48px); background: var(--paper); color: var(--ink); }
.modal::backdrop { background: rgba(58, 51, 70, .5); }
.modal-head { position: sticky; top: 0; background: var(--paper); display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); z-index: 1; }
.modal-body { padding: 24px; display: flex; flex-direction: column; gap: 28px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.photo-grid .photo { height: 180px; border-radius: 18px; background: var(--peach); }

/* ---------- Languages ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(58, 51, 70, .2); border-radius: 999px; }
.lang-switch a { min-height: 38px; min-width: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font: 600 13px var(--sans); text-decoration: none; color: inherit; }
.lang-switch a:hover { background: rgba(58, 51, 70, .06); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--paper); }
/* Thai and Chinese use companion fonts; Latin text (prices, codes) stays in Fraunces/Figtree. */
html[lang="th"] { --display: 'Fraunces', 'Noto Serif Thai', Georgia, serif; --sans: 'Figtree', 'Noto Sans Thai', 'Helvetica Neue', sans-serif; }
html[lang="zh-Hans"] { --display: 'Fraunces', 'Noto Serif SC', Georgia, serif; --sans: 'Figtree', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
/* Thai vowels and tone marks sit above and below the line; tight display leading clips them. */
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] .display-xl { line-height: 1.3; letter-spacing: 0; }
html[lang="th"] body { line-height: 1.65; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3, html[lang="zh-Hans"] .display-xl { line-height: 1.2; letter-spacing: 0; }
html[lang="th"] .eyebrow, html[lang="zh-Hans"] .eyebrow, html[lang="th"] .label-caps, html[lang="zh-Hans"] .label-caps { letter-spacing: .04em; }
@media (max-width: 960px) {
  .nav-actions .lang-switch { order: -1; }
}
@media (max-width: 520px) {
  .lang-switch a { min-width: 34px; padding: 0 7px; font-size: 12px; }
  .steps .step-label { display: none; }
}

/* Shared posts on article pages */
.embed { display: flex; justify-content: center; }
.embed iframe { border: 0; width: 100%; max-width: 500px; height: 640px; border-radius: 20px; background: var(--white); }
.embed-youtube iframe { max-width: 100%; height: auto; aspect-ratio: 16 / 9; }
.embed-instagram iframe { height: 720px; }
.link-card { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 14px; text-decoration: none; }
.link-card img { width: 140px; height: 100px; object-fit: cover; border-radius: 16px; flex-shrink: 0; }
.link-card > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.link-card small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .link-card { flex-direction: column; align-items: stretch; } .link-card img { width: 100%; height: 160px; } }

/* Home page date picker */
.date-trigger { text-align: left; cursor: pointer; font-weight: 600; color: var(--ink); }
.date-trigger.is-empty { color: var(--muted); font-weight: 500; }
.date-trigger[aria-expanded="true"] { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 189, 242, .6); }
.datepicker { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 40px); z-index: 30; background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 760px; }
.booking-bar-wrap { position: relative; }
.datepicker .months { margin-top: 16px; min-height: 0; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.dp-foot .cal-hint { margin: 0; }
@media (max-width: 720px) {
  .datepicker { position: fixed; left: 8px; right: 8px; top: auto; bottom: 8px; max-height: calc(100vh - 16px); overflow-y: auto; padding: 18px; }
}
.article-map { display: flex; flex-direction: column; gap: 14px; }

/* Guide map */
.guide-map-section { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.guide-map-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.guide-map { position: relative; height: 440px; border-radius: var(--r-lg); overflow: hidden; background: var(--sky-2); border: 1px solid var(--line); z-index: 0; }
.guide-map-loading { position: absolute; inset: 0; border-radius: 0; z-index: 500; }
@media (max-width: 720px) { .guide-map { height: 340px; } }
.map-pin-icon { background: none; border: none; }
.map-pin-icon > span { width: 40px; height: 40px; border-radius: 999px 999px 999px 4px; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(58, 51, 70, .3); border: 2px solid var(--white); }
.map-pin-icon > span > svg { transform: rotate(45deg); }
.map-pin-icon.is-place > span { background: var(--accent); }
.map-pin-icon.is-place > span::after { content: ''; width: 12px; height: 12px; border-radius: 999px; background: var(--ink); }
.map-pin-icon.is-house > span { background: var(--ink); color: var(--paper); }
.leaflet-popup-content-wrapper { border-radius: 20px; }
.leaflet-container { font-family: var(--sans); }
.map-popup { display: flex; flex-direction: column; gap: 6px; font-family: var(--sans); color: var(--ink); }
.map-popup img { width: 100%; height: 120px; object-fit: cover; border-radius: 12px; }
.map-popup small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.map-popup b { font-family: var(--display); font-size: 17px; line-height: 1.2; }
.map-popup p { margin: 0 !important; font-size: 13px; line-height: 1.5; color: var(--body-dark); }
.map-popup-rating { font-size: 13px; font-weight: 700; color: var(--ink); }
.map-popup-rating > span[aria-hidden] { color: #E8A317; }
.map-popup-rating > span:not([aria-hidden]) { font-weight: 400; color: var(--muted); }
.map-popup-hours { font-size: 13px; color: var(--body-dark); }
.map-popup-links { display: flex; gap: 12px; flex-wrap: wrap; font-weight: 700; font-size: 13px; }
.map-popup-links a { color: var(--ink); }

/* Guide map v2: standard OpenStreetMap, round icon pins with name labels */
.guide-map .leaflet-control-layers { border-radius: 14px; border: none; font: 600 13px var(--sans); padding: 2px 6px; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.map-pin2 { background: none; border: none; }
.map-pin2-dot { width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #2b2a33; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .15s; }
.map-pin2:hover .map-pin2-dot, .map-pin2:focus .map-pin2-dot { transform: scale(1.08); }
.map-pin2.is-food .map-pin2-dot { background: #3A2B26; }
.map-pin2.is-activities .map-pin2-dot { background: #2E4A3A; }
.map-pin2.is-events .map-pin2-dot { background: #4A3270; }
.map-pin2.is-tips .map-pin2-dot { background: #5A4A1E; }
.map-pin2.is-house .map-pin2-dot { background: var(--accent); border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .6), 0 3px 10px rgba(0, 0, 0, .35); }
/* The house uses the site logo: the arched door from the header. */
.map-pin2.is-house .map-pin2-dot { width: 36px; height: 36px; }
.map-pin2.is-house .brand-mark { border-color: var(--ink); display: inline-flex; width: 16px; height: 20px; border-radius: 8px 8px 3px 3px; border-width: 2px; padding-bottom: 2px; }
.map-pin2.is-house .brand-mark span { background: var(--ink); width: 5px; height: 7px; border-radius: 3px 3px 0 0; }
.map-pin2.is-house .map-pin2-label { top: 40px; font-family: var(--display); font-size: 13px; }
.map-pin2-label { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 700 11px/1.2 var(--sans); color: var(--ink); text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff; pointer-events: none; }
.map-chips { margin-bottom: -4px; }
.map-chips .chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Home guide cards: photo on the left, title and summary on the right */
.guide-grid { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.guide-card { flex-direction: row; align-items: stretch; min-height: 200px; }
.guide-card .photo { flex: 0 0 42%; height: auto; min-height: 200px; }
.guide-card-body { flex: 1 1 auto; justify-content: center; padding: 22px 24px; min-width: 0; }
.guide-card-excerpt { color: var(--body-dark) !important; font-size: 15px !important; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card-meta { font-size: 13px !important; }
@media (max-width: 560px) {
  .guide-card { flex-direction: column; }
  .guide-card .photo { flex-basis: auto; height: 200px; }
}
/* Picking check-out: days that can't be the check-out are greyed out (not crossed out: they aren't booked). */
.day.is-before { color: #C2BBCB; border-color: transparent; background: transparent; cursor: not-allowed; }
.date-trigger.is-active { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 189, 242, .6); }
.date-trigger[aria-expanded="true"]:not(.is-active) { box-shadow: none; border-color: var(--line); }
