:root {
  --ivory:#f7f4ee;
  --olive:#687053;
  --forest:#303b30;
  --ink:#262628;
  --copper:#b8734a;
  --rule:#d4d0c4;
  --serif:Georgia,'Times New Roman',serif;
  --sans:Arial,Helvetica,sans-serif;
  --gap:clamp(24px,6vw,100px);
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font:16px/1.6 var(--sans);
}

a {
  color:inherit;
  text-decoration:none;
}

a:hover {
  text-decoration:underline;
  text-underline-offset:4px;
}

img {
  display:block;
  max-width:100%;
}

button,select {
  font:inherit;
}

button,summary,select {
  cursor:pointer;
}

a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #b8734a;
  outline-offset:4px;
}

.skip {
  position:absolute;
  top:-100px;
  background:white;
  padding:10px;
  z-index:20;
}

.skip:focus {
  top:0;
}

header,footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:15px var(--gap);
  border-bottom:1px solid var(--rule);
}

header {
  position:relative;
  z-index:2;
}

.mark {
  display:inline-flex;
  align-items:center;
  gap:10px;
  line-height:1.05;
  white-space:nowrap;
}

.mark:hover {
  text-decoration:none;
}

.mark img {
  width:55px;
  height:55px;
}

.mark span {
  font:27px/1 var(--serif);
  letter-spacing:-.045em;
}

.mark small {
  display:block;
  font:9px/1.5 var(--sans);
  letter-spacing:.22em;
  margin-top:5px;
  text-align:center;
}

nav {
  display:flex;
  gap:clamp(18px,3vw,52px);
}

nav a {
  font-size:14px;
}

nav [aria-current] {
  text-decoration:underline;
  text-underline-offset:6px;
}

.book,.light {
  display:inline-flex;
  align-items:center;
  gap:23px;
  min-height:45px;
  padding:10px 19px;
  border-radius:2px;
  font-weight:600;
  font-size:14px;
}

.book {
  background:var(--olive);
  color:white;
}

.light {
  background:var(--ivory);
  color:var(--forest);
}

.menu {
  display:none;
}

.hero {
  display:grid;
  grid-template-columns:40% 60%;
  background:var(--forest);
  color:var(--ivory);
}

.hero-copy {
  padding:clamp(55px,7vw,115px) 3vw clamp(55px,7vw,115px) var(--gap);
  align-self:center;
}

.place,.eyebrow {
  font:600 10px/1.6 var(--sans);
  letter-spacing:.19em;
  color:#505a44;
}

.place {
  display:flex;
  align-items:center;
  gap:14px;
  color:#ebeadc;
}

.place i {
  width:30px;
  height:1px;
  background:#cea280;
}

h1,h2,h3,p,figure {
  margin:0;
}

h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.055em;
  line-height:1.04;
}

.hero h1 {
  font-size:clamp(55px,6.6vw,112px);
  margin:23px 0 20px;
}

.hero p {
  max-width:34ch;
  font:clamp(18px,1.5vw,24px)/1.5 var(--serif);
  color:#efeee4;
}

.hero .light {
  margin-top:30px;
}

.hero-photo {
  position:relative;
  min-height:435px;
}

.hero-photo>img {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 52%;
}

.hero-photo figcaption {
  position:absolute;
  inset:auto 0 0;
  display:flex;
  align-items:end;
  justify-content:space-between;
  padding:35px 24px 16px;
  background:linear-gradient(transparent,#151b18a8);
  font:italic 15px var(--serif);
}

.arrows {
  display:flex;
  gap:6px;
}

.arrows[hidden] {
  display:none;
}

.arrows button {
  width:38px;
  height:38px;
  border:1px solid #ffffff9e;
  border-radius:50%;
  color:white;
  background:#27322965;
  font:18px var(--sans);
}

.arrows button:hover {
  background:var(--forest);
}

.section,.intro,.guide-list,.panel {
  max-width:1530px;
  margin:auto;
  padding:clamp(45px,6vw,95px) var(--gap);
}

.section-head {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:32px;
}

h2 {
  font-size:clamp(37px,4.1vw,68px);
}

h3 {
  font-size:clamp(34px,3.25vw,55px);
}

.eyebrow+h2,.eyebrow+h3,.eyebrow+h1 {
  margin-top:12px;
}

.section-head>p {
  max-width:35ch;
}

.feature,.spread {
  display:grid;
  grid-template-columns:58% 42%;
  align-items:stretch;
}

.feature>img,.spread>img {
  width:100%;
  height:clamp(275px,29vw,440px);
  object-fit:cover;
}

.feature-copy,.spread>div {
  padding:clamp(25px,4.5vw,70px);
  align-self:center;
}

.feature {
  background:#e9e6db;
}

.feature p,.story p,.spread p,.duo p,.guide-list p,.map p {
  max-width:54ch;
  margin:17px 0 20px;
  color:#444840;
}

.line {
  display:inline-flex;
  align-items:center;
  gap:15px;
  border-bottom:1px solid #818874;
  font-size:14px;
  font-weight:bold;
  padding:3px 0;
}

.line:hover {
  color:#555f43;
  text-decoration:none;
  border-color:currentColor;
}

.paired {
  display:flex;
  gap:30px;
  margin-top:20px;
}

.story {
  background:#ebe9df;
  padding:35px var(--gap);
  display:grid;
  grid-template-columns:1fr 1.4fr;
  align-items:center;
  gap:9vw;
}

.story img {
  max-height:300px;
  margin:auto;
  mix-blend-mode:multiply;
}

.duo {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7vw;
}

.duo article+article {
  border-left:1px solid var(--rule);
  padding-left:7vw;
}

footer {
  border-block:1px solid var(--rule);
  font-size:13px;
  color:#41453d;
}

footer .line {
  font-size:13px;
  margin-left:10px;
}

.intro {
  padding-bottom:40px;
}

.intro h1,.welcome h1 {
  font-size:clamp(53px,6vw,98px);
}

.intro p {
  max-width:59ch;
  font:21px/1.5 var(--serif);
  margin-top:16px;
}

.compact {
  padding-top:5px;
}

.spread {
  border-top:1px solid var(--rule);
  padding:32px 0;
}

.spread img[src*=engraving] {
  object-fit:contain;
  mix-blend-mode:multiply;
}

.map {
  margin-top:32px;
  border-top:1px solid var(--rule);
  padding-top:32px;
}

.map img {
  width:min(100%,880px);
  margin:12px 0;
}

.guide-list {
  padding-top:0;
}

.guide-list article {
  display:grid;
  grid-template-columns:1fr 2.5fr;
  gap:25px;
  border-top:1px solid var(--rule);
  padding:32px 0;
}

.panel {
  padding-top:15px;
  min-height:42vh;
}

.panel>* {
  max-width:720px;
}

.panel label,.panel select {
  display:block;
}

.panel select {
  background:white;
  padding:12px 15px;
  border:1px solid #747a69;
  border-radius:2px;
  color:var(--ink);
  min-width:230px;
  margin:10px 0 20px;
}

.panel details {
  border-top:1px solid var(--rule);
  padding:12px 0;
}

.panel details p {
  padding:12px 0;
}

.panel summary {
  font:23px var(--serif);
  padding:6px 0;
}

.panel .line,.panel details:first-of-type {
  margin-top:22px;
}

.notice {
  background:#ebe9df;
  border-left:3px solid var(--olive);
  padding:17px 22px;
  margin-top:24px;
}

.welcome {
  text-align:center;
  padding:45px 20px 70px;
}

.welcome img {
  width:105px;
  margin:0 auto 20px;
}

.welcome p {
  margin:18px auto;
}

.welcome small {
  display:block;
  margin-top:20px;
}

.menu {
  background:transparent;
  color:var(--ink);
  border:0;
  font-size:14px;
  padding:10px;
}

@media(max-width:830px) {
  header {
    gap:12px;
  }
  .menu {
    display:block;
    margin-left:auto;
  }
  nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:var(--ivory);
    padding:14px var(--gap);
    box-shadow:0 8px 10px #29342819;
  }
  nav.open {
    display:grid;
    gap:0;
  }
  nav a {
    padding:9px;
  }
  .hero-copy {
    padding-left:var(--gap);
  }
  .hero {
    grid-template-columns:44% 56%;
  }
  .hero-photo {
    min-height:365px;
  }
  .section-head p {
    max-width:27ch;
  }
  .mark img {
    width:44px;
    height:44px;
  }
  .mark span {
    font-size:23px;
  }
  footer {
    flex-wrap:wrap;
  }
}

@media(max-width:620px) {
  header {
    padding:12px 17px;
  }
  header .book {
    padding:9px 12px;
    gap:8px;
    font-size:13px;
  }
  .hero {
    grid-template-columns:1fr;
  }
  .hero-copy {
    padding:35px var(--gap);
  }
  .hero h1 {
    margin:12px 0;
    font-size:64px;
  }
  .hero p {
    font-size:19px;
  }
  .hero .light {
    margin-top:18px;
  }
  .hero-photo {
    min-height:0;
    aspect-ratio:1.65;
  }
  .section-head {
    display:block;
  }
  .section-head p {
    max-width:100%;
    margin-top:14px;
  }
  .feature,.spread,.story,.duo,.guide-list article {
    grid-template-columns:1fr;
  }
  .feature>img,.spread>img {
    height:auto;
    max-height:350px;
  }
  .feature-copy {
    padding:25px;
  }
  .spread>div {
    padding:22px 0 2px;
  }
  .story {
    gap:20px;
    padding-block:32px;
  }
  .story img {
    height:210px;
  }
  .duo {
    gap:35px;
  }
  .duo article+article {
    border-left:0;
    border-top:1px solid var(--rule);
    padding:28px 0 0;
  }
  .guide-list article {
    gap:8px;
  }
  footer {
    display:grid;
    gap:15px;
  }
  footer .line {
    margin:0 12px 0 0;
  }
  .hero-photo figcaption {
    padding:25px 13px 10px;
  }
  .intro h1 {
    font-size:49px;
  }
}

/* Six Seabury homepage and individual listings */
.cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(450px, 44vw, 675px);
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: var(--forest);
}
.cover > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.cover-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,33,28,.76), rgba(22,33,28,.26) 46%, transparent 75%),
    linear-gradient(0deg, rgba(22,30,26,.5), transparent 55%);
}
.cover-copy {padding: 72px var(--gap) 76px; max-width: 900px}
.cover-kicker {font: bold 12px/1.6 var(--sans); letter-spacing: .22em}
.cover h1 {font-size: clamp(70px, 8.8vw, 147px); line-height: 1.05; margin: 9px 0 12px}
.cover-copy p {font: clamp(20px, 2vw, 31px)/1.4 var(--serif); max-width: 34ch}
.cover-copy .light {margin-top: 28px}
.cover-controls {
  position: absolute;
  bottom: 15px;
  right: var(--gap);
  display: flex;
  align-items: center;
  gap: 11px;
  font: italic 15px var(--serif);
}
.stay-grid {display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(20px, 3vw, 48px)}
.stay-card h3 {font-size: clamp(27px, 2.7vw, 47px); margin: 18px 0 10px}
.stay-card img {width: 100%; aspect-ratio: 1.55; object-fit: cover}
.stay-card p {margin-bottom: 12px; max-width: 40ch}
.stay-card:first-child img {aspect-ratio: 2.09}
.stay-card > a:first-child {display: block}
.unit-view {padding-top: 26px}
.backlink {display: inline-block; padding: 5px 0; font-size: 14px; margin-bottom: 22px}
.unit-layout {display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 6vw}
.unit-layout > img {width: 100%; height: clamp(300px, 30vw, 500px); object-fit: cover}
.unit-layout h1 {font-size: clamp(54px, 5.5vw, 92px); margin: 15px 0}
.unit-lead {font: 22px/1.45 var(--serif); margin-bottom: 25px}
.unit-details {margin: 40px 0 20px; padding-top: 30px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1.4fr 1fr; gap: 7vw}
.unit-details p {max-width: 60ch; margin-top: 14px}
.unit-details li {padding: 5px 0}
.road-grid {display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 0 var(--gap); max-width: 1530px; margin: auto}
.road-card {padding: clamp(22px, 3vw, 45px); background: #e9e8de; border-top: 2px solid var(--olive)}
.road-card h2 {font-size: clamp(32px, 3.3vw, 50px)}
.road-card p {margin: 15px 0; max-width: 55ch}
.map .line {margin: 8px 18px 0 0}
@media(max-width: 700px) {
  .cover {min-height: 475px}
  .cover-copy {padding: 92px var(--gap) 66px}
  .cover-shade {background: linear-gradient(0deg, rgba(18,30,25,.94), rgba(18,30,25,.64) 37%, transparent 70%)}
  .cover > img {object-position: 57% center}
  .cover-controls {left: var(--gap); right: var(--gap); justify-content: space-between; bottom: 10px}
  .cover h1 {font-size: clamp(52px, 14vw, 83px)}
  .cover-copy .light {margin-top: 15px}
  .stay-grid, .unit-layout, .unit-details, .road-grid {grid-template-columns: 1fr}
  .stay-grid {gap: 32px}
  .stay-card img, .stay-card:first-child img {aspect-ratio: 1.85}
  .unit-layout > img {height: auto}
  .unit-details {gap: 6px}
  .road-grid {gap: 12px}
}

/* Hidden elements stay hidden even when a class sets display (booking button, notice). */
[hidden] {
  display:none !important;
}

.booking .book {
  margin-top:24px;
}

/* Privacy policy: smaller section headings and readable spacing. */
.policy h2 {
  font-size:28px;
  letter-spacing:-.02em;
  margin:34px 0 10px;
}

.policy p {
  margin-bottom:12px;
  line-height:1.6;
}

/* ---------- Stay pages (v2): photo mosaic, tabs, booking card ---------- */
.visually-hidden {position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.stay-page {padding-top:22px}
.stay-top {padding:0 var(--gap); max-width:1530px; margin:0 auto 18px}
.stay-top h1 {font-size:clamp(40px,5vw,72px); line-height:1.02; margin:8px 0 10px}
.stay-facts {margin:0; font-size:15px; letter-spacing:.03em; color:var(--forest)}
.mosaic-wrap {position:relative; max-width:1530px; margin:0 auto; padding:0 var(--gap)}
.mosaic {display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:repeat(2,minmax(0,1fr)); gap:8px; height:clamp(320px,44vw,620px)}
.mosaic-fallback {grid-column:1 / -1; grid-row:1 / -1; width:100%; height:100%; object-fit:cover}
.m-item {padding:0; border:0; background:#e4e1d5; overflow:hidden; width:100%; height:100%}
.m-item img {width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.m-item:hover img {transform:scale(1.03)}
.m-item:first-child {grid-row:span 2}
.m-all {position:absolute; right:calc(var(--gap) + 16px); bottom:16px; background:var(--ivory); border:1px solid var(--ink); padding:10px 16px; min-height:44px; font-size:14px; font-weight:600}
.stay-tabs {position:sticky; top:0; z-index:6; display:flex; gap:28px; overflow-x:auto; white-space:nowrap; margin-top:28px; padding:0 var(--gap); background:var(--ivory); border-bottom:1px solid var(--rule)}
.stay-tabs a {padding:15px 0; font-size:14px; letter-spacing:.04em}
.stay-body {display:grid; grid-template-columns:minmax(0,1fr) 390px; gap:clamp(32px,5vw,80px); align-items:start; max-width:1530px; margin:0 auto; padding:40px var(--gap) 80px}
.stay-main section {padding:36px 0; border-bottom:1px solid var(--rule); scroll-margin-top:64px}
.stay-main section:first-child {padding-top:0}
.stay-main section:last-child {border-bottom:0}
.stay-main h2 {font-size:clamp(28px,3vw,40px); margin:0 0 18px}
.stay-main #stay-description p {margin:0 0 14px; max-width:68ch}
.highlights {list-style:none; padding:0; margin:22px 0 0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 28px}
.highlights li {position:relative; padding-left:20px}
.highlights li::before {content:""; position:absolute; left:0; top:.62em; width:8px; height:8px; border-radius:50%; background:var(--copper)}
.switch-grid {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px}
.switch-card {display:block; padding:18px; border:1px solid var(--rule); background:#fbfaf6}
.switch-card:hover {text-decoration:none; border-color:var(--olive)}
.switch-card[aria-current] {border-color:var(--olive); box-shadow:inset 0 0 0 1px var(--olive)}
.switch-card strong {display:block; font:400 23px/1.2 var(--serif)}
.switch-card span {display:block; margin-top:6px; font-size:14px}
.switch-card small {display:block; margin-top:12px; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--olive)}
.amenity-grid {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 44px}
.amenity-grid h3 {margin:0 0 8px; font:600 12px/1.4 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--olive)}
.amenity-grid ul {list-style:none; margin:0; padding:0}
.amenity-grid li {padding:8px 0; border-bottom:1px solid #e6e2d8}
.sleep-grid {display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:18px}
.sleep-grid img {width:100%; aspect-ratio:3/2; object-fit:cover}
.sleep-grid figcaption {padding-top:10px}
.sleep-grid strong {display:block; font:400 21px/1.2 var(--serif)}
.sleep-grid span {display:block; font-size:14px; color:var(--forest)}
.widget-slot {padding:22px; border:1px dashed var(--rule); background:#fbfaf6}
.widget-slot p {margin:0}
.widget-slot a {text-decoration:underline}
.widget-slot .book {margin-top:14px; text-decoration:none}
.directions {list-style:none; padding:0; margin:18px 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px}
.directions li {padding-top:10px; border-top:1px solid var(--copper); font:400 20px/1.2 var(--serif)}
.directions span {display:block; margin-bottom:4px; font:600 11px/1.4 var(--sans); letter-spacing:.16em; text-transform:uppercase; color:var(--olive)}
.policy-list {margin:0 0 20px; padding-left:20px}
.policy-list li {margin-bottom:6px}
.faq details {padding:13px 0; border-bottom:1px solid #e6e2d8}
.faq summary {font-weight:600}
.faq p {margin:8px 0 0; max-width:68ch}
.stay-book {position:sticky; top:66px}
.book-card {padding:26px; background:#fbfaf6; border:1px solid var(--rule); box-shadow:0 12px 32px #2626280f}
.book-card h2 {font-size:30px; margin:4px 0 16px}
.book-note {margin:16px 0 0; font-size:14px}
.book-note a {text-decoration:underline}
.gallery {width:min(1100px,96vw); max-height:92vh; padding:0; border:0; background:var(--ivory)}
.gallery::backdrop {background:#262628d9}
.gallery-head {position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 20px; background:var(--ivory); border-bottom:1px solid var(--rule)}
.gallery-head h2 {margin:0; font-size:24px}
.gallery-close {min-height:44px; padding:8px 16px; border:1px solid var(--ink); background:none}
.gallery-list {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:14px 20px 26px}
.gallery-list figure {margin:0}
.gallery-list figure.wide {grid-column:1 / -1}
.gallery-list img {width:100%}
.gallery-list figcaption {padding:6px 0 2px; font-size:13px; color:var(--forest)}
.mobile-book {display:none}

@media (max-width:830px) {
  .mosaic-wrap {padding:0}
  .mosaic {display:flex; gap:4px; height:62vw; overflow-x:auto; scroll-snap-type:x mandatory}
  .m-item {flex:0 0 88%; scroll-snap-align:start}
  .m-all {right:12px; bottom:12px}
  .stay-body {grid-template-columns:1fr; padding-top:28px}
  .stay-book {position:static}
  .switch-grid,.amenity-grid,.highlights {grid-template-columns:1fr}
  .directions {grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-list {grid-template-columns:1fr; padding:10px}
  .mobile-book {display:block; position:fixed; left:0; right:0; bottom:0; z-index:8; padding:10px 16px; background:var(--ivory); border-top:1px solid var(--rule)}
  .mobile-book .book {width:100%; justify-content:space-between}
  body[data-stay] footer {padding-bottom:84px}
}

.stay-widget {margin-top:20px}
