/* Bribie Houseboat Holidays */

:root {
  /* relaxed, outdoorsy: eucalyptus green, sand, campfire orange, sunny yellow (the first design's navy and copper read as luxury) */
  --navy: #1f3d36;
  --navy-2: #2d5248;
  --ink: #23302c;
  --muted: #56645f;
  --cream: #fbf7ee;
  --sand: #f3ead8;
  --line: #e3d9c4;
  --copper: #d9691f;
  --copper-dark: #b8550f;
  --tan: #f2b63d;
  --on-dark: #f1f4ef;
  --on-dark-muted: #bccac3;

  /* headings: a sturdy, friendly grotesque instead of a fine italic serif */
  --serif: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 14px 32px -18px rgba(31, 61, 54, .35);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16.5px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 em, h1 em { font-style: normal; color: var(--copper); font-weight: inherit; }
h3 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.2; }
p { margin: 0; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1200px, 100% - 64px); } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--copper); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

/* Eyebrows, buttons */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 700 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tan); }
.eyebrow-light { color: var(--tan); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s, transform .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.fine { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(31, 61, 54, .96);
  color: var(--on-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem/1 var(--serif); white-space: nowrap; }
.brand em { font-style: normal; color: var(--tan); }
.brand-mark { width: 24px; height: 24px; color: var(--tan); }
.nav { display: flex; gap: 28px; }
.nav a { font: 600 .95rem/1 var(--sans); text-decoration: none; opacity: .9; }
.nav a:hover { opacity: 1; color: var(--tan); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 600; text-decoration: none; }
.header-phone svg { width: 16px; height: 16px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 24px;
    background: var(--navy); transform: translateY(-110%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
}
@media (max-width: 420px) {
  .brand { font-size: 1.1rem; }
  .site-header .brand-mark { display: none; }
  .header-cta { gap: 6px; }
  .header-cta .btn-sm { padding: 10px 14px; }
}

/* Hero */
.hero { position: relative; min-height: min(86svh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,40,35,.7) 0%, rgba(20,40,35,.35) 45%, rgba(20,40,35,0) 75%), linear-gradient(180deg, rgba(20,40,35,.4) 0%, rgba(20,40,35,.15) 40%, rgba(20,40,35,.88) 100%); }
.hero-inner { position: relative; padding: calc(var(--header-h) + 40px) 0 64px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 14ch; }
.hero h1 em { color: var(--tan); }
.hero-sub { max-width: 560px; margin-top: 26px; font-size: 1.08rem; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); max-width: 820px; }
.hero-stats dt { font: 700 1.7rem/1.1 var(--serif); }
.hero-stats dd { margin: 6px 0 0; font: 500 .88rem/1.4 var(--sans); color: rgba(255,255,255,.8); }
@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
  .hero-inner { padding-bottom: 48px; }
}

/* Sections */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark h2 em { color: var(--tan); }
.section-dark .lede, .section-dark p { color: var(--on-dark-muted); }
.section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 7vw, 84px); }
.lede { margin-top: 24px; font-size: 1.08rem; color: var(--muted); max-width: 580px; }

/* Fleet */
.boat { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.boat + .boat { margin-top: clamp(80px, 10vw, 140px); }
.boat-flip .boat-media { order: 2; }
.boat-media { position: relative; padding-bottom: 60px; }
.boat-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.boat-inset { position: absolute; right: -18px; bottom: 0; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(3deg); }
.boat-flip .boat-inset { right: auto; left: -18px; transform: rotate(-3deg); }
.pill { position: absolute; left: 18px; bottom: 78px; padding: 9px 16px; border-radius: 999px; background: var(--tan); color: var(--ink); font-size: .85rem; font-weight: 700; }
.boat-flip .pill { left: auto; right: 18px; }
.boat-body h3 { font-size: clamp(2.3rem, 4.4vw, 3.2rem); font-weight: 700; }
.boat-tag { font: 500 1.15rem/1.4 var(--sans); color: var(--muted); margin: 6px 0 24px; }
.ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--copper); border-bottom: 2.5px solid var(--copper); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .boat { grid-template-columns: 1fr; }
  .boat-flip .boat-media { order: 0; }
  .boat-inset { right: 8px; width: 36%; }
  .boat-flip .boat-inset { left: 8px; }
}

/* Why */
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 72px; }
.why-grid li { display: flex; gap: 26px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.num { font: 800 2.6rem/1 var(--serif); color: var(--tan); flex: none; }
.why-grid h3 { margin-bottom: 12px; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-rev .chart { order: 2; }
.split-media { position: relative; padding-bottom: 70px; }
.split-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-inset { position: absolute; right: -20px; bottom: 0; width: 42%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(4deg); }
.features { list-style: none; padding: 0; margin: 44px 0 0; }
.features li { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--tan); color: var(--navy); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features h3, .steps h3, .promise h3 { font-size: 1.25rem; margin-bottom: 6px; }
.features p, .steps p, .promise p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-inset { right: 8px; }
}

/* Explore */
.explore-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.explore-grid .card { grid-column: span 5; }
.explore-grid .card-wide { grid-column: span 7; }
.card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 400px; color: #fff; box-shadow: var(--shadow); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.card:hover img { transform: scale(1.05); }
.card figcaption { position: absolute; inset: auto 0 0; padding: 90px 28px 28px; background: linear-gradient(180deg, transparent, rgba(20,40,35,.88)); }
.card small { display: block; font: 700 .78rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--tan); margin-bottom: 8px; }
.card h3 { font-size: 1.7rem; margin-bottom: 8px; }
.card p { font-size: .92rem; color: rgba(255,255,255,.82); max-width: 460px; }
.places { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--cream); border-radius: var(--radius); }
.places li { padding: 28px; border-left: 1px solid var(--line); }
.places li:first-child { border-left: 0; }
.places span { font: 800 .95rem/1 var(--serif); color: var(--copper); }
.places h3 { font-size: 1.25rem; margin: 10px 0 4px; }
.places p { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-grid .card, .explore-grid .card-wide { grid-column: auto; }
  .card { min-height: 340px; }
  .places { grid-template-columns: 1fr; }
  .places li { border-left: 0; border-top: 1px solid var(--line); }
  .places li:first-child { border-top: 0; }
}

/* Map */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 26px; }
.steps li { display: flex; gap: 20px; }
.steps span { font: 800 1.7rem/1 var(--serif); color: var(--copper); width: 40px; flex: none; }
.chart { margin: 0; padding: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.chart-btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.chart img { border-radius: 8px; border: 1px solid var(--line); }
.chart-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.chart-set span { display: block; margin-top: 8px; font: 700 .82rem/1.35 var(--sans); color: var(--navy); text-align: center; }
@media (max-width: 480px) { .chart { padding: 12px; } .chart-set { gap: 8px; } .chart-set span { font-size: .74rem; } }
.chart figcaption { margin-top: 14px; text-align: center; font: 500 .88rem/1.5 var(--sans); color: var(--muted); }
@media (max-width: 860px) { .split-rev .chart { order: 0; } }

/* Gallery */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: -32px 0 36px; }
.gallery-tabs button {
  padding: 12px 22px; border-radius: 10px; border: 2px solid rgba(255,255,255,.3); background: none; cursor: pointer;
  font: 700 .95rem/1 var(--sans); color: var(--on-dark);
  transition: background .25s, border-color .25s, color .25s;
}
.gallery-tabs button:hover { border-color: var(--tan); }
.gallery-tabs button[aria-selected="true"] { background: var(--tan); border-color: var(--tan); color: var(--navy); }
.gallery { columns: 3 260px; column-gap: 18px; animation: fade-in .5s ease; }
.gallery[hidden] { display: none; }
.g { display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--navy-2); }
.g img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease, opacity .3s; }
.g-tall img { aspect-ratio: 3 / 4; }
.g:hover img { transform: scale(1.04); opacity: .92; }

/* About */
#about .split-main { aspect-ratio: 4 / 5; }
#about .split-media { padding-bottom: 0; }
.prose { display: grid; gap: 18px; margin-top: 28px; color: var(--muted); font-size: 1.04rem; }
.promise { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.promise li { padding-left: 22px; border-left: 2px solid var(--tan); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq-phone { display: inline-block; margin-top: 28px; font: 700 1.9rem/1 var(--serif); color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--tan); padding-bottom: 6px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 1.2rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 500 1.8rem/1 var(--sans); color: var(--copper); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > p, .faq details > table { margin: 0 0 18px; color: var(--muted); max-width: 620px; }
.faq details > :last-child { margin-bottom: 28px; }
.cancel { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cancel th, .cancel td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.cancel th { font: 700 .85rem/1.4 var(--sans); color: var(--navy); }
.cancel td:last-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 860px) {
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; margin-bottom: 24px; }
}

/* Book */
.book { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.contact-list small { display: block; font: 700 .8rem/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--tan); margin-bottom: 4px; }
.contact-list a, .contact-list span { font: 600 1.3rem/1.35 var(--serif); color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.book-panel { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 24px 50px -28px rgba(0,0,0,.5); }
.book-panel h3 { color: var(--ink); font-size: 1.5rem; margin-bottom: 18px; }
.section-dark .book-panel p { color: var(--muted); }
.book-boats { display: grid; gap: 12px; }
.book-boat { display: flex; align-items: center; gap: 16px; padding: 12px; border: 2px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .25s, background .25s; }
.book-boat:hover { border-color: var(--copper); background: var(--cream); }
.book-boat img { width: 76px; height: 60px; object-fit: cover; border-radius: 10px; flex: none; }
.book-boat strong { display: block; font: 700 1.25rem/1.2 var(--serif); }
.book-boat small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.book-boat .arrow { margin-left: auto; color: var(--copper); font-size: 1.2rem; padding-right: 8px; }
.enquiry { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.enquiry h3 { font-size: 1.25rem; margin-bottom: 0; }
.enquiry .fine { margin-top: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry label { display: grid; gap: 6px; font: 600 .88rem/1.4 var(--sans); color: var(--muted); }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream);
  font: 400 1rem/1.4 var(--sans); color: var(--ink); letter-spacing: 0; text-transform: none;
}
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--copper); background: #fff; }
.enquiry .btn { justify-self: start; margin-top: 4px; }
.form-error { color: var(--copper-dark) !important; font-size: .88rem; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; letter-spacing: 0 !important; text-transform: none !important; font: 400 .88rem/1.5 var(--sans) !important; color: var(--muted); cursor: pointer; }
.consent input { width: 18px !important; height: 18px; margin-top: 2px; flex: none; accent-color: var(--copper); }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { margin-top: 36px; padding: 28px; border-radius: 16px; background: var(--sand); }
.form-done h3 { margin-bottom: 8px; }
.form-done:focus { outline: none; }
.enquiry button:disabled { opacity: .6; cursor: progress; transform: none; }

/* Sign-up popup */
.signup { border: 0; padding: 0; width: min(760px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: var(--radius); overflow: auto; background: var(--cream); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.signup[open] { display: grid; grid-template-columns: 1fr 1.2fr; animation: fade-in .35s ease; }
.signup::backdrop { background: rgba(12, 26, 22, .6); }
.signup-img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.signup-body { padding: clamp(28px, 4vw, 44px); }
.signup h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 14px; }
.signup-lede { color: var(--muted); margin-bottom: 20px; font-size: .98rem; }
.signup form { display: grid; gap: 14px; }
.signup label:not(.consent):not(.trap) { display: grid; gap: 6px; font: 600 .88rem/1.4 var(--sans); color: var(--muted); }
.signup input[type="email"], .signup input:not([type]) { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 400 1rem/1.4 var(--sans); color: var(--ink); }
.signup input:focus { outline: none; border-color: var(--copper); }
.signup .btn { justify-self: start; }
.signup .form-done { margin: 0; padding: 0; background: none; }
.signup-close { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.signup input[type="tel"] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 400 1rem/1.4 var(--sans); color: var(--ink); }
.signup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.signup-nothanks { border: 0; background: none; padding: 8px 4px; font: 500 .9rem/1 var(--sans); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.signup-nothanks:hover { color: var(--ink); }
/* Desktop: a card in the bottom-right corner that doesn't block the page */
.signup.signup-corner[open] { position: fixed; inset: auto 24px 24px auto; margin: 0; width: 380px; max-height: calc(100vh - 48px); grid-template-columns: 1fr; z-index: 60; }
.signup-corner .signup-img { height: 90px; min-height: 0; }
.signup-corner .signup-body { padding: 20px 24px 18px; }
.signup-corner .eyebrow { margin-bottom: 12px; }
.signup-corner h2 { font-size: 1.6rem; margin-bottom: 10px; }
.signup-corner .signup-lede { font-size: .92rem; margin-bottom: 14px; }
.signup-corner form { gap: 10px; }
@media (max-width: 640px) {
  .signup[open] { grid-template-columns: 1fr; }
  .signup-img { height: 140px; min-height: 0; }
}
@media (max-width: 860px) { .book { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #17302a; color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer nav { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.9; }
.copyright { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .78rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* Privacy policy page */
.legal-page .site-header { position: sticky; top: 0; background: var(--navy); }
.header-back { font-size: .85rem; text-decoration: none; opacity: .85; }
.header-back:hover { opacity: 1; color: var(--tan); }
.legal { max-width: 760px; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 120px); }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.legal h1 em { font-style: normal; color: var(--copper); }
.legal-updated { margin: 12px 0 36px; color: var(--muted); font-size: .9rem; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 44px 0 14px; }
.legal p:not(.eyebrow), .legal li { color: var(--ink); font-size: 1.02rem; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 10px; }
.legal a { color: var(--copper-dark); }
.legal .btn { color: #fff; }
.legal-contact { font-style: normal; line-height: 1.9; }
.legal-back { margin-top: 56px; }
.site-footer .copyright a { color: inherit; }
@media (max-width: 520px) { .header-back { display: none; } }

/* Booking pages */
.book-page .header-phone { display: flex; }
.book-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.book-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,35,.3), rgba(20,40,35,.86)); }
.book-hero-inner { position: relative; padding: 72px 0 36px; }
.book-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.book-hero-tag { font: 500 1.15rem/1.4 var(--sans); color: rgba(255,255,255,.88); margin-top: 6px; }
.book-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: rgba(255,255,255,.8); }
.book-facts strong { color: #fff; font-weight: 600; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 110px); }
.book-widget-wrap h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.book-widget-wrap h2 em { font-style: normal; color: var(--copper); }
.book-lede { color: var(--muted); margin: 12px 0 26px; }
.bhh-widget, .guest-widget booking-widget {
  display: block; min-height: 420px; padding: clamp(16px, 3vw, 28px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  --bw-accent: #d9691f; --bw-text: #23302c; --bw-bg: #ffffff; --bw-border: #e3d9c4; --bw-muted: #56645f; --bw-radius: 10px;
  --bw-font: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  /* available dates in green (the widget's own free-day colours) */
  --bw-free-bg: #e4f3e9; --bw-free-border: #9ccfae; --bw-free-text: #1e5a3b; --bw-free-price: #2c7a50;
  --bw-free-hover-bg: #d2ebdb; --bw-free-hover-border: #6fb98a;
  /* booked days, and the booked half of check-in/check-out days: soft red, like the old calendar (owner, 2026-10-24) */
  --bw-taken-bg: #f9cfca; --bw-taken-text: #7a3229;
}
/* Placeholder while bookings are paused */
.book-paused { margin-top: 22px; padding: clamp(36px, 6vw, 64px) clamp(20px, 4vw, 40px); background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); text-align: center; }
.book-paused-title { font: 700 clamp(1.4rem, 3vw, 1.8rem)/1.25 var(--serif); color: var(--navy); margin-bottom: 8px; }
.book-paused p:not(.book-paused-title) { color: var(--muted); font-size: 1.05rem; }
.book-paused p + p:not(.book-paused-title) { margin-top: 6px; }
.book-paused a { color: var(--copper-dark); font-weight: 700; white-space: nowrap; }
.book-help { margin-top: 18px; }
/* Guest page (/guest/): Anybook's links for paying, managing, signing and checking in */
.guest-layout { max-width: 820px; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 110px); }
.guest-widget h1 { font-size: clamp(2.2rem, 4.6vw, 3rem); margin-bottom: 26px; }
.guest-widget h1 em { font-style: normal; color: var(--copper); }
.book-help a, .book-info a { color: var(--copper-dark); }
.book-info { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; background: var(--sand); border-radius: var(--radius); }
.book-info h3 { font-size: 1.4rem; margin-bottom: 14px; }
.book-info ul { padding-left: 18px; margin: 0; display: grid; gap: 12px; font-size: .95rem; }
.book-other { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; }
@media (max-width: 900px) {
  .book-layout { grid-template-columns: 1fr; }
  .book-info { position: static; }
}
@media (max-width: 520px) { .book-page .header-phone { display: none; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 90vh; }
.lightbox::backdrop { background: rgba(12, 26, 22, .92); }
.lightbox img { max-height: 86vh; width: auto; margin: auto; border-radius: 12px; }
.lightbox-close { position: fixed; top: 16px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* Motion */
/* hidden only once main.js has started (it adds .reveal-on), so the page never stays blank without it */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal-on .reveal:not(.in) { opacity: 0; transform: translateY(16px); }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-on .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
}
