:root {
  --cream: #fcf6e9;
  --paper: #fffaf1;
  --sand: #f2e8d7;
  --wine: #791e2c;
  --forest: #3c5340;
  --sage: #ebeee4;
  --ink: #292127;
  --muted: #595652;
  --line: #ded1ba;
  --serif: 'Libre Caslon Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
figure, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.04; }
h1 { font-size: clamp(3.4rem, 5.2vw, 5.6rem); letter-spacing: -.039em; text-wrap: balance; }
h2 { font-size: clamp(2.65rem, 4.5vw, 4.4rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.65rem, 2.4vw, 2.45rem); letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
[id] { scroll-margin-top: 18px; }
.wrap { width: min(100% - 2 * clamp(22px, 5vw, 76px), 1312px); margin-inline: auto; }
.section { padding-block: clamp(44px, 5.5vw, 80px); border-top: 1px solid var(--line); }

.skip-link { position: fixed; z-index: 20; left: 16px; top: 10px; padding: 8px 14px; transform: translateY(-170%); background: var(--paper); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 90px; display: flex; justify-content: space-between; gap: 19px; align-items: center; }
.brand { display: block; flex-shrink: 0; padding-block: 6px; }
.brand-mark { display: block; width: 152px; aspect-ratio: 1152 / 526; overflow: hidden; }
.brand-mark img { width: 100%; height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2.65vw, 37px); }
.site-header nav > a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.site-header nav > a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 5px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 47px; padding: 11px 19px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; cursor: pointer; font: 600 .92rem/1.3 var(--sans); }
.button-primary { background: var(--wine); color: var(--paper); }
.button-primary:hover { background: #641724; }
.button-outline { border-color: var(--wine); background: transparent; color: var(--wine); }
.button-outline:hover { background: var(--cream); }
.header-cta { min-height: 44px; padding: 8px 15px; white-space: nowrap; }
.text-link { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #b99386; color: var(--wine); font-size: .92rem; font-weight: 600; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link span { font-size: 1.05em; }
.eyebrow, .card-label { color: var(--wine); text-transform: uppercase; font-size: .71rem; font-weight: 700; letter-spacing: .17em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: #b17e33; flex: 0 0 auto; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(54%, 600px)); grid-template-areas: 'story media'; align-items: center; gap: clamp(24px, 3.8vw, 58px); padding-block: clamp(27px, 3.8vw, 54px) clamp(37px, 4.7vw, 68px); }
.hero-copy { grid-area: story; }
.hero-location { font-size: .87rem; letter-spacing: .12em; }
.hero-copy h1 { max-width: 14ch; font-size: clamp(2.9rem, 4.6vw, 4.9rem); text-wrap: pretty; }
.lede { max-width: 30rem; margin-top: 21px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 20px; margin-top: 24px; }
.hero-secondary { min-height: 38px; align-items: center; }
.hero-figure { grid-area: media; position: relative; overflow: hidden; background: var(--sand); }

.section-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); align-items: end; gap: 16px clamp(24px, 6vw, 86px); margin-bottom: clamp(22px, 3.2vw, 42px); }
.section-heading > p, .plan-section > div > p:not(.eyebrow) { color: var(--muted); max-width: 33rem; }
.planning-section .section-heading { margin-bottom: 22px; }
.planning-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3.2vw, 42px); }
.planning-steps li { border-top: 1px solid var(--line); padding-top: 13px; }
.step-number { display: block; color: var(--wine); font-size: .76rem; font-weight: 700; letter-spacing: .09em; margin-bottom: 8px; }
.planning-steps h3 { font-size: clamp(1.55rem, 2.15vw, 2.1rem); }
.planning-steps p { color: var(--muted); margin-top: 7px; }

.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.experience-card { border-bottom: 1px solid var(--line); }
.experience-card img { width: 100%; height: auto; aspect-ratio: 1.68; object-fit: cover; }
.experience-copy { padding: 17px 0 20px; }
.experience-copy h3 { margin: 6px 0 8px; }
.experience-copy > p:not(.card-label), .venue-copy > p:not(.card-label) { color: var(--muted); }

.venue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(18px, 2.4vw, 32px); }
.venue-card { border: 1px solid var(--line); background: var(--paper); }
.venue-image { width: 100%; height: auto; aspect-ratio: 1.94; object-fit: cover; }
.venue-copy { padding: clamp(18px, 2.5vw, 31px); }
.venue-copy h3 { margin: 6px 0 10px; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.experience-copy, .venue-copy { display: flex; flex-direction: column; flex: 1; }
.card-more { display: inline-flex; gap: 8px; align-items: baseline; color: var(--wine); padding-top: 15px; margin-top: auto; font-size: .88rem; font-weight: 700; }
.card-link:hover h3, .card-link:hover .card-more { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.venue-grid { align-items: stretch; }
.venue-scouting { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; color: var(--muted); }
.photo-credit { margin-top: 8px; color: var(--muted); font-size: .78rem; font-weight: 400; }

.booking-panel { background: var(--sage); border-left: 2px solid var(--forest); padding: clamp(22px, 4.3vw, 59px); }
.booking-panel .eyebrow, .booking-panel h2 { color: var(--forest); }
.booking-panel .section-heading { margin-bottom: 20px; }

.plan-panel { padding: clamp(24px, 4vw, 52px); background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--wine); }
.plan-section > div > p:not(.eyebrow) { margin-top: 16px; }
.plan-panel .plan-reply { font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; padding-block: 22px 28px; }
.footer-inner > p { color: var(--muted); font-size: .85rem; max-width: 22rem; }

.detail-intro { padding-block: clamp(16px, 2.2vw, 33px) clamp(24px, 3.5vw, 52px); }
.detail-back { color: var(--forest); font-size: .83rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.detail-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .74fr); align-items: center; gap: clamp(19px, 4vw, 58px); margin-top: clamp(16px, 2.1vw, 29px); }
.detail-top h1 { font-size: clamp(2.8rem, 4.7vw, 4.65rem); text-wrap: wrap; }
.detail-top figure { width: min(100%, 430px); justify-self: end; }
.detail-top img { width: 100%; aspect-ratio: 1.82; object-fit: cover; }
.detail-top figcaption { margin-top: 8px; }
.detail-title { max-width: 18ch; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
.detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(23px, 4vw, 44px) 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); gap: 10px 17px; }
.detail-facts dt { color: var(--wine); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; }
.detail-facts dd { margin: 2px 0 0; font-size: .91rem; color: var(--muted); }
.detail-section { padding-block: clamp(30px, 4vw, 55px); }
.detail-section .section-heading { margin-bottom: clamp(16px, 2.2vw, 27px); }
.detail-section h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(21px, 5vw, 70px); }
.detail-item { padding: 17px 0 19px; border-top: 1px solid var(--line); }
.detail-item-with-photo { display: grid; grid-template-columns: minmax(0, 138px) minmax(0, 1fr); align-items: start; gap: clamp(12px, 1.8vw, 22px); }
.detail-item-with-photo > .detail-image-link { align-self: start; }
#munay-spa .detail-item-with-photo { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); }
.detail-item h3 { font-size: clamp(1.55rem, 2.2vw, 2.12rem); }
.detail-item p:not(.card-label) { margin-top: 6px; color: var(--muted); font-size: .95rem; max-width: 38rem; }
.detail-item .card-label { margin-bottom: 6px; }
.detail-item-photo { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.route-options { margin: 12px 0 0; padding: 0 0 0 12px; border-left: 1px solid var(--line); }
.route-options > div + div { margin-top: 8px; }
.route-options dt { font-size: .86rem; font-weight: 700; color: var(--ink); }
.route-options dd { margin: 1px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.52; }
.detail-gallery { display: grid; max-width: 965px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.home-album .detail-gallery { max-width: none; }
.detail-gallery.detail-gallery-single { max-width: 460px; grid-template-columns: minmax(0, 1fr); }
.detail-gallery a { display: block; }
.detail-gallery img { width: 100%; aspect-ratio: 1.57; object-fit: cover; background: var(--sand); }

.detail-gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .84rem; }
.detail-caption-note { color: var(--muted); font-size: .8rem; margin-top: 15px; }
.rate-panel { padding: clamp(18px, 3.1vw, 36px); border: 1px solid var(--line); background: var(--paper); }
.rate-panel p + p { margin-top: 10px; }
.rate-intro { margin-bottom: 17px; }
.rate-note { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.rate-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.rate-table th, .rate-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); line-height: 1.42; }
.rate-table th:first-child { width: 42%; }
.rate-table thead th { color: var(--wine); font-weight: 700; font-size: .83rem; }
.rate-table tbody th { font-weight: 600; font-size: .91rem; }
.rate-table td { font-variant-numeric: tabular-nums; }
.detail-cta { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; justify-content: space-between; background: var(--sage); border-left: 2px solid var(--forest); padding: clamp(20px, 4vw, 45px); margin-bottom: clamp(36px, 5vw, 60px); }
.detail-cta h2 { font-size: clamp(2.15rem, 4vw, 3.3rem); color: var(--forest); }
.detail-cta p { max-width: 33rem; margin-top: 8px; color: var(--muted); }
.image-dialog { width: min(94vw, 1020px); padding: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.image-dialog::backdrop { background: #20171ce8; }
.image-dialog form { display: flex; justify-content: flex-end; }
.image-dialog figure { margin-top: 9px; }
.image-dialog img { width: 100%; max-height: 74vh; object-fit: contain; }
.image-dialog figcaption { padding: 8px 4px 3px; }
.image-dialog-close { border: 1px solid var(--line); background: var(--cream); color: var(--wine); cursor: pointer; padding: 5px 10px; font: 600 .87rem/1.45 var(--sans); }

.hero-image-link, .detail-image-link { display: block; }
.hero-image-link img { width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; object-position: center 69%; }
.hero-image-link:hover, .detail-image-link:hover { outline: 1px solid var(--wine); outline-offset: 3px; }
.section-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-block: 0 20px; color: var(--wine); font-size: .92rem; font-weight: 600; }
.section-links a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.booking-panel .travel-heading { align-items: center; margin-bottom: clamp(22px, 3vw, 35px); }
.travel-intro { margin-top: 12px; color: var(--muted); max-width: 32rem; }
.travel-photo { width: min(100%, 240px); justify-self: end; }
.travel-photo img { width: 100%; height: auto; aspect-ratio: 1.73; object-fit: cover; }
.travel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(16px, 3vw, 40px); border-top: 1px solid #cbd1c1; padding-top: 22px; }
.travel-card + .travel-card { border-left: 1px solid #cbd1c1; padding-left: clamp(16px, 2.2vw, 34px); }
.travel-card h3 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); }
.travel-grid p { max-width: 34rem; margin-top: 8px; color: var(--muted); }
.detail-section .photo-lower, .detail-top .photo-lower { object-position: center 64%; }
.detail-section .photo-upper { object-position: center 31%; }
.detail-item .availability-note { color: var(--forest); font-weight: 600; }
.detail-item-link { margin-top: 7px; }

@media (max-width: 930px) {
  .hero { gap: 25px; }
  .detail-item-with-photo { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); }
  h1 { font-size: clamp(2.95rem, 5.8vw, 4.5rem); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 110px; }
  .header-inner { min-height: 106px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 13px; padding-top: 4px; }
  .brand { width: fit-content; padding-block: 3px; }
  .brand-mark { width: 124px; }
  .header-cta { grid-row: 1; grid-column: 2; padding-inline: 12px; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; width: 100%; justify-content: center; gap: clamp(16px, 5.7vw, 30px); padding: 1px 0 5px; }

  .hero, .section-heading, .experience-grid, .venue-grid, .travel-grid, .planning-steps { grid-template-columns: 1fr; }
  .hero { grid-template-areas: 'story' 'media'; gap: 24px; padding-block: 24px 38px; }
  h1 { font-size: clamp(3rem, 9vw, 4rem); }
  .hero-copy h1 { font-size: clamp(2.75rem, 8.6vw, 4rem); }
  .lede { margin-top: 13px; }
  .hero-actions { margin-top: 16px; }
  .travel-photo { justify-self: start; width: min(100%, 260px); }
  .travel-card + .travel-card { border-left: 0; border-top: 1px solid #cbd1c1; padding: 15px 0 0; }

  .detail-top, .detail-list { grid-template-columns: 1fr; }
  .detail-top h1 { font-size: clamp(2.65rem, 9vw, 3.9rem); }
  .detail-top figure { width: min(100%, 326px); justify-self: start; }
  .detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-cta .button { max-width: 100%; }

}
@media (max-width: 385px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav > a { font-size: .78rem; }

  .detail-item-with-photo { grid-template-columns: minmax(0, 86px) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Retreat Keys homepage and color studies share the same type and layout. */
:root {
  --cream: #faf5eb;
  --paper: #fffcf6;
  --sand: #eee5d5;
  --wine: #791e2c;
  --wine-hover: #611624;
  --forest: #66533c;
  --sage: #f0e8db;
  --ink: #2c2525;
  --muted: #5c5350;
  --line: #ded1bf;
  --metal: #9b6b3c;
  --header-bg: var(--cream);
  --header-ink: var(--ink);
  --header-line: var(--line);
}
:root[data-palette="ink"] {
  --cream: #f8f5ed;
  --paper: #fffdf7;
  --sand: #e9e3d6;
  --wine: #24384b;
  --wine-hover: #142739;
  --forest: #324657;
  --sage: #e9ecea;
  --ink: #202b32;
  --muted: #4f585c;
  --line: #d5d1c6;
  --metal: #9c7040;
  --header-bg: #162b3d;
  --header-ink: #fff6e6;
  --header-line: #4a5962;
  --logo-fill: linear-gradient(#dfb87a 0 52%, #fff5e2 52% 100%);
}
:root[data-palette="olive"] {
  --cream: #f6f0e4;
  --paper: #fdf9f0;
  --sand: #e8ddc9;
  --wine: #3b4b37;
  --wine-hover: #2c3a29;
  --forest: #3b4b37;
  --sage: #e4e7d9;
  --ink: #282b25;
  --muted: #52564a;
  --line: #d5cbb8;
  --metal: #886039;
  --logo-fill: #3b4b37;
}
.site-header { background: var(--header-bg); border-color: var(--header-line); }
.site-header nav > a, .site-header nav > a:hover { color: var(--header-ink); }
.eyebrow::before { background: var(--metal); }
.button-primary:hover { background: var(--wine-hover); }
.text-link { text-decoration-color: var(--metal); }
.travel-grid, .travel-card + .travel-card { border-color: var(--line); }
.brand-mark { position: relative; }
:root:is([data-palette="ink"], [data-palette="olive"]) .brand-mark img { opacity: 0; }
:root:is([data-palette="ink"], [data-palette="olive"]) .brand-mark::after {
  content: ""; position: absolute; inset: 0 0 auto; width: 100%; aspect-ratio: 1152 / 584;
  background: var(--logo-fill); mask: url('/assets/retreat-keys-oxblood.webp') top center / 100% auto no-repeat;
}
:root[data-palette="ink"] .site-footer { background: var(--header-bg); color: var(--header-ink); border-color: var(--header-line); }
:root[data-palette="ink"] .site-footer :is(p,.text-link) { color: var(--header-ink); }
:root[data-palette="ink"] .header-cta { background: #e1be83; color: #182b3a; }
:root[data-palette="ink"] .header-cta:hover { background: #f2d49e; }
:root[data-palette="ink"] :is(.site-header,.site-footer) :focus-visible { outline-color: #e1be83; }

.home-album { padding-block: clamp(28px, 4vw, 48px); }
.home-album h2 { font-size: clamp(2.1rem, 3.05vw, 3.2rem); }
.home-album .detail-gallery { max-width: 620px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px clamp(10px, 2vw, 18px); }
.home-album .detail-image-link { border: 1px solid var(--line); }
.home-album .detail-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; object-position: center; }
.home-album .detail-gallery figcaption { font-size: .78rem; line-height: 1.35; margin-top: 6px; }
.album-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; color: var(--muted); font-size: .85rem; }
.album-controls button { min-height: 42px; min-width: 48px; font: inherit; cursor: pointer; color: var(--wine); background: var(--cream); border: 1px solid var(--line); }
.image-dialog:has(.album-controls:not([hidden])) img { max-height: 68dvh; }

.retreat-inquiry { max-width: 42rem; margin-top: 23px; }
.inquiry-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.inquiry-fields label { display: block; min-width: 0; font-size: .88rem; font-weight: 600; }
.inquiry-fields label span { color: var(--muted); font-weight: 400; }
.inquiry-wide { grid-column: 1 / -1; }
.inquiry-fields :is(input, textarea) {
  display: block; width: 100%; margin-top: 5px; padding: 9px 10px; min-height: 44px;
  font: 1rem/1.35 var(--sans); color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 2px;
}
.inquiry-fields textarea { resize: vertical; }
.inquiry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 15px; margin-top: 16px; }
.inquiry-actions p, #inquiry-feedback { color: var(--muted); font-size: .82rem; }
#inquiry-feedback, .inquiry-interest { margin-block: 10px; }
.inquiry-interest { color: var(--wine); font-size: .86rem; font-weight: 700; }

.palette-tray { padding-block: 15px; background: #eeebe3; color: #282623; border-bottom: 1px solid #d0c8b9; }
.palette-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 18px; }
.palette-name { font: 400 1.5rem/1.15 var(--serif); }
.palette-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.palette-picks button {
  display: inline-flex; gap: 6px; align-items: center; min-height: 44px; padding: 6px 10px; cursor: pointer;
  font: 600 .78rem/1.15 var(--sans); color: #282623; background: #fffdf6; border: 1px solid #b9b0a1; border-radius: 2px;
}
.palette-picks button[aria-pressed="true"] { background: #292624; border-color: #292624; color: #fffdf6; }
.palette-picks button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--swatch); border: 1px solid #aaa08c; }
.palette-picks [data-palette="wine"] { --swatch: #791e2c; }
.palette-picks [data-palette="ink"] { --swatch: #162b3d; }
.palette-picks [data-palette="olive"] { --swatch: #3b4b37; }
.palette-tray a { color: #282623; font-size: .78rem; text-underline-offset: 3px; }
#palette-note { flex-basis: 100%; font-size: .82rem; color: #544e46; }
@media (max-width: 560px) {
  .home-album .detail-gallery { max-width: 340px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 465px) {
  .inquiry-fields { grid-template-columns: 1fr; }
  .inquiry-wide { grid-column: auto; }
}

/* A single sage panel anchors the practical details in each palette. */
.booking-panel { background: #e7ecdf; border-left-color: #4b624c; }
.booking-panel .eyebrow, .booking-panel h2 { color: #344b39; }
.booking-panel .eyebrow::before { background: #647b61; }
.travel-story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.52fr); align-items: center; gap: clamp(18px,5vw,70px); }
.travel-story .travel-photo { width: min(100%, 300px); }
.travel-story p:not(.eyebrow) { max-width: 39rem; color: #38493e; }
.travel-care { margin-top: 12px; }
.before-booking { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 34px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; }
.before-booking h3 { font-size: clamp(1.55rem,2vw,2rem); }
.before-booking p { margin-top: 7px; color: var(--muted); max-width: 39rem; }
.album-hint { color: var(--muted); margin-top: 6px; font-size: .88rem; }
.album-controls button { padding: 6px 10px; }
.image-dialog:has(.album-controls:not([hidden])) img { touch-action: pan-y pinch-zoom; }
.shortlist-strip { display: flex; flex-wrap: wrap; gap: 6px 25px; justify-content: space-between; align-items: baseline; padding-block: 14px 18px; border-top: 1px solid var(--line); }
.shortlist-strip p { color: var(--muted); font-size: .95rem; }
.shortlist-strip strong { color: var(--ink); }
.detail-item .excursion-fact { font-size: .86rem; }
.excursion-fact strong { color: var(--ink); }
.shortlist-picker { margin-top: 13px; display: grid; gap: 6px; justify-items: start; }
.shortlist-picker label { color: var(--muted); font-size: .83rem; font-weight: 600; }
.shortlist-picker select { width: min(100%, 320px); min-height: 42px; background: var(--paper); color: var(--ink); font: 600 .84rem var(--sans); border: 1px solid var(--line); padding: 4px 8px; }
.shortlist-picker .button { min-height: 42px; padding: 7px 10px; font-size: .83rem; }
.detail-item .shortlist-feedback { color: var(--forest); font-size: .83rem; font-weight: 600; margin-top: 0; }
.inquiry-shortlist { padding: 12px 15px; margin-bottom: 16px; border: 1px solid var(--line); background: var(--cream); }
.inquiry-shortlist h3 { font-size: 1.55rem; }
.inquiry-shortlist p, .inquiry-shortlist ul { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.inquiry-shortlist ul { padding-inline-start: 0; list-style: none; }
.inquiry-shortlist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inquiry-shortlist button { min-height: 38px; border: 0; background: none; color: var(--wine); text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 700px) {
  .travel-story, .before-booking { grid-template-columns: 1fr; }
}

/* Pale champagne header, with the wine mark from the cream treatment. */
:root[data-palette="champagne"] {
  --header-bg: #ecddbd;
  --header-line: #d5be93;
  --header-ink: #372a24;
}
:root[data-palette="champagne"] .site-header nav > a:hover { color: var(--wine); }
.palette-picks [data-palette="champagne"] { --swatch: linear-gradient(135deg,#791e2c 0 47%,#ecddbd 47%); }

/* Editorial layout, keeping the photographs in their original proportions. */
.hero-figure { padding: 7px; background: var(--paper); border: 1px solid var(--line); }
.hero-figure .hero-photo { width: 100%; height: auto; }
.detail-gallery[data-photo-album] img { object-fit: contain; }
.home-album .detail-gallery { max-width: 830px; gap: 14px clamp(12px,2vw,24px); }
.home-album .detail-gallery a { background: var(--paper); padding: 3px; }
.home-album .detail-gallery img { background: var(--sand); }
.planning-editorial { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 24px clamp(25px,7vw,105px); }
.planning-intro p:not(.eyebrow) { color: var(--muted); margin-top: 18px; max-width: 32rem; }
.planning-intro .text-link { margin-top: 19px; }
.planning-editorial .planning-steps { display: block; }
.planning-editorial .planning-steps li { display: grid; grid-template-columns: 36px minmax(0,1fr); padding: 17px 0 20px; }
.planning-editorial .step-number { padding-top: 4px; }
.travel-care { border-top: 1px solid #bfccb8; margin-top: 19px; padding-top: 14px; }
.travel-care h3 { color: #344b39; font-size: clamp(1.48rem,2.1vw,1.98rem); }
.travel-care p { margin-top: 8px; }
.travel-care .text-link { display: inline; color: #344b39; font-size: inherit; }
.excursion-context { color: var(--muted); padding-block: 10px 14px; font-size: .9rem; }
.detail-item .detail-item-photo { object-fit: contain; background: var(--sand); }
:root[data-palette="wine-gold"] {
  --header-bg: #541521;
  --header-line: #783344;
  --header-ink: #f6ebd6;
  --logo-fill: #e4bc75;
}
:root[data-palette="wine-gold"] .brand-mark img { opacity: 0; }
:root[data-palette="wine-gold"] .brand-mark::after {
  content: ""; position: absolute; inset: 0 0 auto; width: 100%; aspect-ratio: 1152 / 584;
  background: var(--logo-fill); mask: url('/assets/retreat-keys-oxblood.webp') top center / 100% auto no-repeat;
}
:root[data-palette="wine-gold"] .site-footer { background: var(--header-bg); color: var(--header-ink); border-color: var(--header-line); }
:root[data-palette="wine-gold"] .site-footer :is(p,.text-link) { color: var(--header-ink); }
:root[data-palette="wine-gold"] .header-cta { background: #e4bc75; color: #361119; }
:root[data-palette="wine-gold"] .header-cta:hover { background: #f0d398; }
:root[data-palette="wine-gold"] :is(.site-header,.site-footer) :focus-visible { outline-color: #e4bc75; }
.palette-picks [data-palette="wine-gold"] { --swatch: linear-gradient(135deg,#541521 0 48%,#e4bc75 48%); }
@media (max-width: 700px) {
  .planning-editorial { grid-template-columns: 1fr; }
  .site-header nav { justify-content: space-between; gap: 7px; }
  .site-header nav > a { font-size: clamp(.72rem, 2.9vw, .9rem); }
}
@media (max-width: 560px) {
  .home-album .detail-gallery { max-width: 460px; }
}

/* Color study only: red lettering and mark on a flat, earthy gold. */
.modern-brand { display: none; }
:root[data-palette="red-gold"] {
  --header-bg: #d6ae63;
  --header-line: #bb9048;
  --header-ink: #4c2024;
  --wine: #661a2c;
  --wine-hover: #4d1020;
  --metal: #90602b;
}
:root[data-palette="red-gold"] .brand-mark { display: none; }
:root[data-palette="red-gold"] .modern-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--wine);
  font: 700 clamp(1.03rem, 2vw, 1.42rem)/1 var(--sans);
  letter-spacing: -.045em;
  white-space: nowrap;
}
:root[data-palette="red-gold"] .modern-key {
  flex: 0 0 auto;
  width: 53px;
  height: 13px;
  background: currentColor;
  mask: url('/assets/retreat-keys-oxblood.webp') top center / 100% auto no-repeat;
}
:root[data-palette="red-gold"] .header-inner { min-height: 76px; }
:root[data-palette="red-gold"] .site-footer { border-top-color: var(--header-line); }
.palette-picks [data-palette="red-gold"] { --swatch: linear-gradient(135deg,#661a2c 0 46%,#d6ae63 46%); }
@media (max-width: 700px) {
  :root[data-palette="red-gold"] .header-inner { min-height: 101px; }
  :root[data-palette="red-gold"] .modern-key { width: 39px; height: 10px; }
}

/* Detail pages return to the current Ridge front door, without changing older studies. */
.detail-page {
  --cream: #f7f5ec;
  --paper: #fcfaf3;
  --sand: #ebeede;
  --wine: #2d4739;
  --wine-hover: #22372b;
  --forest: #293f32;
  --ink: #252e28;
  --line: #d8dccd;
}
.detail-page .detail-header { background: var(--cream); border-color: var(--line); }
.detail-page .detail-header nav > a { color: var(--ink); }
.detail-brand-link { text-decoration: none; color: var(--forest); }
.detail-ridge-brand { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font: 400 clamp(1.65rem,2.6vw,2.35rem)/1 var(--serif); letter-spacing: -.028em; }
.detail-ridge-brand svg { flex: 0 0 auto; }
.detail-page .detail-footer { background: var(--cream); color: var(--ink); border-color: var(--line); }
.detail-page .detail-footer p { color: var(--forest); }
.excursions-page .detail-top img { object-fit: contain; height: auto; aspect-ratio: auto; }
.excursions-page .detail-list { gap: 35px clamp(24px,4vw,52px); align-items: start; }
.excursions-page .excursion-card { display: block; padding: 0 0 23px; border: 0; border-bottom: 1px solid var(--line); }
.excursions-page .outing-photos { display: grid; height: clamp(180px,21vw,255px); gap: 10px; margin-bottom: 19px; background: var(--sand); }
.excursions-page .outing-photo-pair { grid-template-columns: 1fr 1fr; background: none; }
.excursions-page .outing-photos .detail-image-link { display: block; height: 100%; min-width: 0; overflow: hidden; background: var(--sand); }
.excursions-page .outing-photos .detail-item-photo { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.excursions-page .detail-item h3 { font-size: clamp(1.8rem,2.5vw,2.35rem); }
.excursions-page .detail-item-copy > p { max-width: 44rem; }
.excursions-page .detail-item .outing-summary { margin-top: 11px; color: var(--forest); font-size: .86rem; font-weight: 600; }
.excursions-page .detail-item .outing-overnight { margin-top: 13px; padding: 12px 14px; border-left: 2px solid #8f9f78; background: #ecefe2; font-size: .88rem; }
.excursions-page .outing-overnight strong { color: var(--forest); }
.outing-details { margin-block: 16px 4px; border-top: 1px solid var(--line); }
.outing-details summary { cursor: pointer; padding-block: 12px; color: var(--forest); font-size: .86rem; font-weight: 700; }
.outing-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.outing-detail-content { padding-bottom: 13px; }
.outing-detail-content .route-options { margin-top: 2px; }
.outing-detail-content .route-options > div + div { margin-top: 12px; }
.excursions-page .detail-item .outing-detail-content .excursion-fact { margin-top: 13px; }
.excursions-page .detail-item-link { margin-top: 11px; font-size: .85rem; }
@media (max-width: 700px) {
  .detail-page .header-inner { gap: 0 10px; }
  .detail-page .detail-ridge-brand svg { width: 36px; height: 28px; }
  .detail-page .detail-ridge-brand { font-size: 1.7rem; gap: 4px; }
  .detail-page .header-cta { padding-inline: 11px; font-size: .78rem; }
  .excursions-page .detail-list { grid-template-columns: 1fr; gap: 31px; }
  .excursions-page .outing-photos { height: clamp(190px,57vw,330px); }
  .excursions-page .detail-item h3 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-page { scroll-behavior: auto; }
}
