/* Agate Bay Cottage — agatebaycottage.godirectbooking.com */

:root {
  --ink: #13232d;
  --lake: #23475a;
  --lake-soft: #5d7f8f;
  --paper: #f8f4ed;
  --sand: #efe7da;
  --line: #dcd2c1;
  --agate: #b1522b;
  --agate-deep: #8c3d1e;
  --agate-soft: #d8a476;
  --text: #2b343a;
  --muted: #6b757b;
  --white: #fffdf9;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; line-height: 1.08; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #cfd9de; }
.section--ink h2, .section--ink h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--agate); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--ink .eyebrow { color: var(--agate-soft); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.h-xl { font-size: clamp(46px, 7.2vw, 92px); }
.h-lg { font-size: clamp(36px, 4.8vw, 60px); }
.h-md { font-size: clamp(27px, 3vw, 36px); }
.h-sm { font-size: 24px; }
em, .ital { font-style: italic; }
h1 em, h2 em { color: var(--agate); font-weight: 500; }
.section--ink h2 em { color: var(--agate-soft); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; color: var(--text); }
.muted { color: var(--muted); }
.center { text-align: center; }
.head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.head.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  font: 600 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn--primary { background: var(--agate); color: var(--white); }
.btn--primary:hover { background: var(--agate-deep); transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--small { padding: 12px 22px; font-size: 12px; }
:focus-visible { outline: 2px solid var(--agate); outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.is-stuck { background: rgba(248, 244, 237, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a:not(.btn) {
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; white-space: nowrap;
}
.nav-links .btn { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 821px) { .nav-links { gap: 24px; } .nav-links a.hide-md { display: none; } }
.nav-links a:not(.btn):hover { border-color: var(--agate); color: var(--agate); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }

/* Hero */
.hero { padding: clamp(120px, 14vw, 170px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lede { max-width: 30em; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; gap: 0; }
.facts li { padding: 0 26px; border-left: 1px solid var(--line); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { display: block; font: 500 34px/1 var(--serif); color: var(--ink); }
.facts span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.hero-art { position: relative; padding: 0 0 56px 40px; }
.arch { border-radius: 999px 999px 6px 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-inset {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5;
  border-radius: 6px; overflow: hidden; border: 8px solid var(--paper); box-shadow: 0 24px 50px -24px rgba(19, 35, 45, .45);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }
.hero-rings { position: absolute; right: -90px; top: -60px; width: 300px; color: var(--agate-soft); opacity: .5; z-index: -1; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 40px; margin-top: 44px; }
.highlight h3 { font-size: 23px; margin-bottom: 6px; }
.highlight p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.highlight svg { width: 30px; height: 30px; color: var(--agate); margin-bottom: 14px; }

/* Rooms */
.room { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.room + .room { margin-top: clamp(64px, 9vw, 120px); }
.room-media { grid-column: 1 / span 7; position: relative; }
.room-copy { grid-column: 8 / span 5; }
.room--flip .room-media { grid-column: 6 / span 7; order: 2; }
.room--flip .room-copy { grid-column: 1 / span 5; order: 1; }
.room-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.room-media .stack { position: absolute; width: 38%; right: -5%; bottom: -9%; border: 8px solid var(--sand); border-radius: 4px; aspect-ratio: 1; box-shadow: 0 24px 50px -28px rgba(19, 35, 45, .5); }
.room--flip .room-media .stack { right: auto; left: -5%; }
.room-num { font: italic 500 20px/1 var(--serif); color: var(--agate); margin-bottom: 14px; display: block; }
.room-copy h3 { margin-bottom: 18px; }
.ticks { margin-top: 20px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 26px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--agate); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; overflow: hidden; border-radius: 3px; position: relative; }
.gallery button.wide { grid-column: span 2; }
.gallery button.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gallery button:hover img { transform: scale(1.045); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 22, 28, .95); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(92vw, 1300px); text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; margin: 0 auto; border-radius: 2px; }
.lightbox figcaption { color: #c9d3d8; font-size: 14px; letter-spacing: .04em; margin-top: 16px; }
.lb-btn { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; padding: 18px; opacity: .8; }
.lb-btn:hover { opacity: 1; }
.lb-btn svg { width: 30px; height: 30px; display: block; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 40px; }
.amenities h3 { font-size: 24px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.amenities li { font-size: 15.5px; padding: 5px 0; color: var(--text); }

/* Booking */
.booking { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.booking-copy .ticks li::before { background: var(--agate-soft); }
.booking-copy .ticks li { color: #dbe3e7; }
.booking-panel { background: var(--white); color: var(--text); border-radius: 8px; padding: clamp(22px, 3vw, 40px); min-height: 460px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.booking-placeholder {
  min-height: 380px; border: 1px dashed var(--line); border-radius: 6px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; gap: 10px;
}
.booking-placeholder svg { width: 54px; height: 54px; color: var(--agate); margin-bottom: 10px; }
.booking-placeholder h3 { font-size: 30px; }
.section--ink .booking-panel h3 { color: var(--ink); }
.booking-placeholder p { max-width: 30em; margin: 0; color: var(--muted); font-size: 15.5px; }
#booking-widget:not(:empty) + .booking-placeholder { display: none; }

/* Two Harbors */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.place img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
.place .dist { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--agate); display: block; margin-bottom: 8px; }
.place h3 { font-size: 27px; margin-bottom: 8px; }
.place p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.62; }
.subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin: clamp(64px, 9vw, 112px) 0 clamp(32px, 4vw, 48px); }
.subhead:first-of-type { margin-top: 0; }
.subhead p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 34em; }

.drives { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.drive { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.drive .mins { font: 500 30px/1 var(--serif); color: var(--agate); }
.drive .mins small { display: block; font: 600 11px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.drive h3 { font-size: 24px; margin-bottom: 5px; }
.drive p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.6; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 9vw, 112px); }
.feature img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 4px; }
.feature--tall img { aspect-ratio: 4 / 5; }

.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; overflow: hidden; }
.season { padding: 36px 30px 38px; border-left: 1px solid rgba(255, 255, 255, .14); }
.season:first-child { border-left: 0; }
.season .when { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--agate-soft); }
.season h3 { font-size: 32px; margin: 8px 0 14px; font-style: italic; }
.season p { font-size: 15px; line-height: 1.65; margin: 0; color: #b9c6cc; }

.tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 44px; }
.table-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.table-item h3 { font-size: 23px; margin-bottom: 4px; }
.table-item .dist { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--agate); }
.table-item p { font-size: 15px; color: var(--muted); margin: 6px 0 0; line-height: 1.58; }

.events { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.event { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.event .month { font: italic 500 22px/1.2 var(--serif); color: var(--agate); }
.event h3 { font: 600 16px/1.4 var(--sans); color: var(--ink); letter-spacing: 0; }
.event p { font-size: 15px; color: var(--muted); margin: 3px 0 0; line-height: 1.55; }

.history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.history b { display: block; font: 500 52px/1 var(--serif); color: var(--agate); margin-bottom: 12px; }
.history p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.6; }

/* Good to know */
.know { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 56px; }
.know h3 { font-size: 24px; margin-bottom: 8px; }
.know p { font-size: 15.5px; color: var(--muted); margin: 0; line-height: 1.62; }

/* Host */
.host { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.host-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.host-stats div { padding: 30px 16px; text-align: center; border-left: 1px solid var(--line); }
.host-stats div:first-child { border-left: 0; }
.host-stats b { display: block; font: 500 42px/1 var(--serif); color: var(--ink); }
.host-stats span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* CTA + footer */
.cta { text-align: center; }
.cta h2 { margin-bottom: 30px; }
.site-footer { background: var(--ink); color: #9fb0b8; padding: 64px 0 40px; font-size: 14.5px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .brand { color: var(--white); }
.site-footer nav { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.site-footer nav a { text-decoration: none; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--white); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery img { transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .nav-links { gap: 22px; }
  .nav-links a.hide-md { display: none; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .places { grid-template-columns: repeat(2, 1fr); }
  .tables { grid-template-columns: repeat(2, 1fr); }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .season:nth-child(3) { border-left: 0; }
  .season:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .history { grid-template-columns: repeat(2, 1fr); }
  .know { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
}
@media (max-width: 820px) {
  body { font-size: 16.5px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn), .nav-links a.hide-md { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 20px; }
  .site-header.menu-open { background: var(--paper); }
  .hero-grid, .intro-grid, .booking, .host, .feature, .drives, .events { grid-template-columns: 1fr; }
  .hero-art { padding: 0 0 44px 28px; max-width: 520px; }
  .hero-rings { display: none; }
  .room, .room--flip { display: block; }
  .room-media { margin-bottom: 56px; }
  .room-media .stack, .room--flip .room-media .stack { right: 4%; left: auto; bottom: -32px; width: 34%; }
  .feature img { order: -1; }
}
@media (max-width: 560px) {
  .brand-name { font-size: 20px; }
  .facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .facts li { padding: 0 0 0 14px; }
  .facts li:first-child { padding-left: 0; }
  .facts b { font-size: 28px; }
  .facts span { font-size: 10.5px; letter-spacing: .12em; }
  .highlights, .amenities, .places, .tables, .history, .know { grid-template-columns: 1fr; }
  .amenities { gap: 32px; }
  .seasons { grid-template-columns: 1fr; }
  .season { border-left: 0; }
  .season + .season { border-top: 1px solid rgba(255, 255, 255, .14); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .drive { grid-template-columns: 76px 1fr; }
  .event { grid-template-columns: 88px 1fr; }
  .host-stats b { font-size: 34px; }
  .btn { padding: 15px 24px; }
  .hero-cta .btn { flex: 1 1 100%; }
}
