:root {
  --navy: #0B2545;
  --navy-deep: #071a33;
  --teal: #13807A;
  --teal-light: #6cc2bb;
  --gold: #F5A623;
  --sand: #f6f1e7;
  --ink: #1d2a3a;
  --muted: #5b6878;
  --line: #e3e6ea;
  --white: #ffffff;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .9em;
}
.eyebrow-light { color: var(--teal-light); }

/* Buttons */
.btn {
  display: inline-block; padding: .85em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; letter-spacing: .02em;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffb940; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: .55em 1.2em; font-size: .88rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand img { height: 58px; width: auto; }
.brand .logo-dark { display: none; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--gold); }
.site-header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(11,37,69,.06); }
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }
.site-header.scrolled .site-nav a:not(.btn) { color: var(--navy); }
.site-header.scrolled .site-nav a:not(.btn):hover { color: var(--teal); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.site-header.scrolled .nav-toggle span, .site-header.nav-open .nav-toggle span { background: var(--navy); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 55%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,26,51,.55) 0%, rgba(7,26,51,.15) 35%, rgba(7,26,51,.25) 60%, rgba(7,26,51,.85) 100%),
  linear-gradient(90deg, rgba(7,26,51,.6) 0%, rgba(7,26,51,0) 65%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: 110px; width: 100%; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7.2vw, 5.6rem); max-width: 12ch; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold); }
/* gold dot on the "i" of "islands": a gold copy of the i on top, clipped to show only the dot */
.hero .idot { position: relative; }
.hero .idot::after { content: "i"; position: absolute; left: 0; top: 0; line-height: normal; color: var(--gold); clip-path: inset(0 0 62% 0); pointer-events: none; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; color: rgba(255,255,255,.92); margin-bottom: 1.8em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-credit { position: absolute; right: 24px; bottom: 14px; margin: 0; font-size: .72rem; color: rgba(255,255,255,.7); }

/* Stats */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 22px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; color: var(--gold); }
.stat-label { display: block; margin-top: 6px; font-size: .92rem; color: rgba(255,255,255,.8); }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tint { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-text p { color: #2f3d4e; }
.sources { font-size: .85rem; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 1em; margin-top: 1.6em; }

.satellite { position: relative; margin: 0; }
.satellite .map { position: relative; }
.satellite img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(11,37,69,.18); width: 100%; height: auto; }
.map-label {
  position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.map-label-gold { background: var(--gold); font-size: .82rem; }
.map-label-sm { background: rgba(255,255,255,.14); color: #fff; font-size: .64rem; letter-spacing: .08em; border: 1px solid rgba(255,255,255,.3); }
.satellite figcaption { font-size: .8rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 0 rgba(11,37,69,.04), 0 18px 40px rgba(11,37,69,.08); display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 28px 30px 30px; }
.card-body p { color: var(--muted); }
.card-body p:last-child { margin-bottom: 0; }
.card-tag { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal) !important; margin-bottom: .6em; }
.card-solid { background: var(--navy); }
.card-solid h3 { color: #fff; }
.card-solid .card-body p { color: rgba(255,255,255,.8); }
.card-solid .card-tag { color: var(--gold) !important; }
.card-teal { background: var(--teal); }
.card-teal .card-tag { color: #fff !important; opacity: .85; }
.card-icon { width: 48px; height: 48px; color: #fff; margin-bottom: 22px; }

/* Guide */
.guide { display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.guide-badge { position: sticky; top: 110px; text-align: center; }
.guide-photo { position: relative; margin: 0 auto 36px; max-width: 320px; }
.guide-photo > img:first-child { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(11,37,69,.2); }
.guide-seal { position: absolute; right: -18px; bottom: -22px; width: 96px; height: 96px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: 0 8px 20px rgba(11,37,69,.25); }
.creds { list-style: none; padding: 0; margin: 0; text-align: left; border-top: 1px solid var(--line); }
.creds li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: .95rem; color: var(--navy); font-weight: 500; }
.creds li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 10px; height: 10px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.guide-lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; color: var(--navy); }
.guide-text p { color: #2f3d4e; }
blockquote {
  margin: 1.8em 0 0; padding: 1.4em 1.6em; border-left: 4px solid var(--gold);
  background: var(--sand); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; color: var(--navy);
}

/* Band */
.band { height: clamp(200px, 32vw, 420px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; max-width: 16ch; }
.contact p { color: rgba(255,255,255,.82); max-width: 32em; }
.contact-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.contact-list { list-style: none; margin: 0; padding: 8px 32px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.contact-list li { display: flex; flex-direction: column; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list li:last-child { border-bottom: 0; }
.contact-k { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-light); }
.contact-v { font-family: var(--serif); font-size: 1.5rem; }

/* Enquiry form */
.enquiry { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px 32px 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: block; margin-bottom: 16px; }
.field > span, .field > label { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); }
.field label em, .field em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; color: rgba(255,255,255,.55); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  padding: 11px 14px; transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.12); }
.field select option { color: var(--navy); }
.date-wrap { position: relative; display: block; }
.date-wrap input[type="text"] { padding-right: 48px; }
.date-native { position: absolute; right: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; color-scheme: dark; }
.date-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; border-radius: 8px; color: #fff; cursor: pointer; }
.date-btn:hover, .date-btn:focus-visible { background: rgba(255,255,255,.12); outline: none; }
.date-btn svg { width: 20px; height: 20px; }
.field textarea { resize: vertical; min-height: 110px; }
.enquiry .btn { border: 0; cursor: pointer; font-family: inherit; margin-top: 4px; }
.enquiry .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.field input.is-invalid { border-color: #ff9a7a; background: rgba(255,120,90,.08); }
.field input.is-valid { border-color: rgba(108,194,187,.7); }
.field-msg { display: block; min-height: 0; margin-top: 6px; font-size: .82rem; line-height: 1.4; }
.field-msg:empty { display: none; }
.field-msg.err { color: #ffb59c; }
.field-msg.warn { color: #ffd58a; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); text-decoration: underline; cursor: pointer; }
.phone-wrap { display: flex; gap: 8px; }
.cc-box { position: relative; flex: 0 0 96px; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px 11px 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; color: #fff; transition: border-color .2s, background .2s; }
.cc-box::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.cc-box:focus-within { border-color: var(--gold); background: rgba(255,255,255,.12); }
.cc-box select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.phone-wrap input { flex: 1 1 auto; min-width: 0; }
.field select.is-invalid, .phone-wrap input.is-invalid { border-color: #ff9a7a; }
.field select option:disabled { color: #999; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 14px 0 0 !important; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.ok { color: #9be3d9 !important; }
.form-status.err { color: #ffc9a0 !important; }
.form-status a { color: var(--gold); }

/* Reviews */
.reviews { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.reviews-intro p { color: #2f3d4e; }
.btn-navy { background: var(--navy); color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.btn-navy:hover { background: #12355e; }
.btn-navy svg { width: 18px; height: 18px; }
.google-review[hidden] { display: none; }
.reviews-list { display: grid; gap: 18px; margin-top: 28px; }
.reviews-list:empty { display: none; }
.review-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 10px 30px rgba(11,37,69,.08); }
.review-card blockquote { margin: 8px 0 12px; padding: 0; border: 0; background: none; font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: var(--navy); }
.review-card figcaption { font-size: .85rem; color: var(--muted); }
.review-stars { color: var(--gold); letter-spacing: 2px; }

.review-form { background: #fff; border-radius: var(--radius); padding: 28px 32px 30px; box-shadow: 0 18px 40px rgba(11,37,69,.08); }
.review-form h3 { margin-bottom: 14px; }
.review-form .field > span, .review-form legend { color: var(--teal); }
.review-form .field input, .review-form .field select, .review-form .field textarea { color: var(--ink); background: #f7f5f0; border-color: #ddd8cc; }
.review-form .field input::placeholder, .review-form .field textarea::placeholder { color: #8a93a0; }
.review-form .field input:focus, .review-form .field select:focus, .review-form .field textarea:focus { background: #fff; border-color: var(--gold); }
.rating { border: 0; padding: 0; margin: 0 0 14px; }
.rating legend { padding: 0; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 2rem; line-height: 1; color: #d9d3c4; cursor: pointer; transition: color .15s, transform .15s; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--gold); }
.stars label:hover { transform: scale(1.08); }
.stars input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Month picker */
.month-picker { position: relative; }
.mp-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: inherit; font-size: 1rem; text-align: left; color: #8a93a0; background: #f7f5f0; border: 1px solid #ddd8cc; border-radius: 10px; padding: 11px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.mp-toggle.has-value { color: var(--ink); }
.mp-toggle:hover, .mp-toggle:focus-visible, .mp-toggle[aria-expanded="true"] { outline: none; border-color: var(--gold); background: #fff; }
.mp-toggle svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.mp-pop { position: absolute; z-index: 20; top: calc(100% + 6px); right: 0; width: 264px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #e6e1d6; border-radius: 14px; box-shadow: 0 18px 40px rgba(11,37,69,.18); padding: 12px; }
.mp-pop[hidden] { display: none; }
.mp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mp-year { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.mp-nav { width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; font-size: 1.5rem; line-height: 1; color: var(--navy); cursor: pointer; }
.mp-nav:hover:not(:disabled) { background: #f2efe7; }
.mp-nav:disabled { color: #cfc8b8; cursor: default; }
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mp-grid button { font: inherit; font-size: .95rem; padding: 10px 0; border: 0; border-radius: 9px; background: #f7f5f0; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.mp-grid button:hover:not(:disabled), .mp-grid button:focus-visible { outline: none; background: #fde9c4; }
.mp-grid button.is-today { box-shadow: inset 0 0 0 1.5px var(--teal); }
.mp-grid button.is-picked { background: var(--gold); color: var(--navy); font-weight: 700; }
.mp-grid button:disabled { background: none; color: #c9c3b6; cursor: default; }
.photo-field[hidden] { display: none; }
.field-label { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.field-label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.photo-drop { position: relative; display: block; border: 1.5px dashed #cfc8b8; border-radius: 12px; background: #f7f5f0; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.field > label.photo-drop { margin-bottom: 0; font-size: 1rem; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--ink); }
.photo-drop:hover, .photo-drop:focus-within { border-color: var(--gold); background: #fff; }
.photo-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.photo-empty { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.photo-empty svg { width: 30px; height: 30px; color: var(--teal); flex: none; }
.photo-empty small { color: var(--muted); font-size: .8rem; }
.photo-chosen { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.photo-chosen[hidden], .photo-empty[hidden] { display: none; }
.photo-chosen img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex: none; }
.photo-chosen img[hidden] { display: none; }
.photo-name { flex: 1; min-width: 0; font-size: .9rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-remove { color: #c0392b; position: relative; z-index: 2; }
.review-form .field-msg.err { color: #c0392b; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.review-form .btn { border: 0; cursor: pointer; font-family: inherit; }
.review-form .btn:disabled { opacity: .7; cursor: wait; transform: none; }
.review-form .form-status.ok { color: var(--teal) !important; }
.review-form .form-status.err { color: #c0392b !important; }

/* Available-date picker (enquiry form) */
#free-date[hidden], .sp-pop[hidden] { display: none; }
#free-date { position: relative; }
.slot-picker { position: relative; }
.sp-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: inherit; font-size: 1rem; text-align: left; color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 11px 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.sp-toggle.has-value { color: #fff; }
.sp-toggle:hover, .sp-toggle:focus-visible, .sp-toggle[aria-expanded="true"] { outline: none; border-color: var(--gold); background: rgba(255,255,255,.12); }
.sp-toggle svg { width: 20px; height: 20px; color: #fff; flex: none; }
.sp-pop { position: absolute; z-index: 30; top: calc(100% + 6px); right: 0; width: 300px; max-width: calc(100vw - 32px); background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 22px 50px rgba(0,0,0,.35); padding: 12px; }
.sp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sp-month { font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.sp-nav { width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; font-size: 1.5rem; line-height: 1; color: var(--navy); cursor: pointer; }
.sp-nav:hover:not(:disabled) { background: #f2efe7; }
.sp-nav:disabled { color: #d6d0c3; cursor: default; }
.sp-dow, .sp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.sp-dow span { font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 4px 0; }
.sp-grid button { font: inherit; font-size: .9rem; height: 36px; border: 0; border-radius: 8px; background: none; color: #c9c3b6; }
.sp-grid button:disabled { cursor: default; }
.sp-grid button.is-open { background: #e3f2f0; color: var(--navy); font-weight: 700; cursor: pointer; }
.sp-grid button.is-open:hover, .sp-grid button.is-open:focus-visible { outline: none; background: #fde9c4; }
.sp-grid button.is-picked { background: var(--gold); color: var(--navy); }
.sp-times { margin-top: 10px; padding-top: 10px; border-top: 1px solid #eee8dc; display: flex; flex-wrap: wrap; gap: 6px; }
.sp-times p { width: 100%; margin: 0 0 2px; font-size: .8rem; color: var(--muted); }
.sp-times button { font: inherit; font-size: .9rem; padding: 8px 12px; border: 1px solid #ddd8cc; border-radius: 999px; background: #f7f5f0; color: var(--ink); cursor: pointer; }
.sp-times button:hover, .sp-times button:focus-visible { outline: none; border-color: var(--gold); background: #fff; }
.sp-times button.is-picked { background: var(--gold); border-color: var(--gold); font-weight: 700; }
.sp-legend { margin: 10px 0 0 !important; font-size: .78rem; color: var(--muted) !important; display: flex; align-items: center; gap: 6px; }
.sp-dot { width: 12px; height: 12px; border-radius: 4px; background: #e3f2f0; display: inline-block; }
.sp-dot-taken { background: none; border: 1.5px solid #e2b4a8; margin-left: 10px; }
.sp-grid button.is-taken { color: #c98b7a; text-decoration: line-through; }
.sp-msg { color: rgba(255,255,255,.75); }
.sp-msg.err { color: #ffb59c; }
.privacy-note { margin: 12px 0 0 !important; font-size: .8rem; color: rgba(255,255,255,.6) !important; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: .88rem; padding: 48px 0 32px; }
.footer-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-top img { height: 40px; width: auto; }
/* GoDaddy site seal: styled to match the navy footer (seal colour set to "Dark" in GoDaddy) */
.footer-top #siteseal { display: inline-block; vertical-align: middle; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 6px 10px; line-height: normal; font-size: 14px; letter-spacing: normal; text-transform: none; font-family: var(--sans); }
.footer-top #siteseal:empty { display: none; }
.footer-top #siteseal * { line-height: normal; letter-spacing: normal; text-transform: none; background-color: transparent !important; color: #fff; border-color: rgba(255,255,255,.2); }
.footer-top #siteseal a { color: var(--teal-light); }
.footer-top #siteseal p { flex: none; margin: revert; font-size: inherit; }
.footer-top #siteseal img { height: auto; width: auto; cursor: pointer; }
.footer-top p { margin: 0; flex: 1; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
.to-top { color: #fff; text-decoration: none; display: inline-block; padding: 10px 0; }
.credits { padding-top: 24px; }
.credits h4 { margin: 0 0 4px; color: rgba(255,255,255,.75); font-size: 7.3px; letter-spacing: .16em; text-transform: uppercase; }
.credits ul { margin: 0 0 14px; padding-left: 14px; font-size: 7.9px; line-height: 1.45; color: rgba(255,255,255,.55); }
.credits li { margin-bottom: 1px; }
.credits a { color: var(--teal-light); }
.copy { margin: 0; font-size: .8rem; }

/* Responsive */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 18px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .split, .guide, .contact-inner, .reviews { grid-template-columns: 1fr; }
  .guide-badge { position: static; display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
  .guide-photo { margin: 0; }
  .guide-seal { width: 64px; height: 64px; right: -10px; bottom: -14px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 88px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 16px 20px; box-shadow: 0 16px 30px rgba(11,37,69,.12);
    display: none;
  }
  .site-header.nav-open { background: #fff; }
  .site-header.nav-open .logo-light { display: none; }
  .site-header.nav-open .logo-dark { display: block; }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; text-align: center; }
  .brand img { height: 46px; }
  .cards { grid-template-columns: 1fr; }
  .card-body { padding: 24px; }
  .hero-img { object-position: 62% 60%; }
  .hero-credit { left: 16px; right: 16px; }
  .guide-badge { grid-template-columns: 1fr; }
  .guide-photo { max-width: 260px; margin: 0 auto 24px; }
  .contact-list { padding: 4px 20px; }
  .enquiry, .review-form { padding: 22px 18px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .map-label { font-size: .7rem; padding: 3px 8px; }
  .map-label-sm { font-size: .64rem; padding: 3px 7px; letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Tours (built from the Bookings sheet) ===== */
/* Compact cards in a grid: 3 across on desktop, 2 on tablets, 1 on phones. Details open in a pop-up. */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; align-items: stretch; }
.tour-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
  box-shadow: 0 2px 0 rgba(11,37,69,.04), 0 12px 30px rgba(11,37,69,.08); transition: transform .2s ease, box-shadow .2s ease; }
.tour-card:hover { transform: translateY(-3px); box-shadow: 0 2px 0 rgba(11,37,69,.04), 0 18px 40px rgba(11,37,69,.14); }
.tour-card-media, .tour-dialog-media { position: relative; overflow: hidden; background: var(--navy); }
.tour-card-media { aspect-ratio: 4 / 3; }
.tour-card-media .tour-photo, .tour-dialog-media .tour-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tour-card:hover .tour-photo { transform: scale(1.04); }
.tour-art { position: absolute; inset: 0; display: grid; place-items: center; background:
  radial-gradient(120% 90% at 20% 0%, #15406e 0%, var(--navy) 55%, var(--navy-deep) 100%); }
.tour-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-art img { position: relative; width: 72px; height: 72px; opacity: .95; }
.tour-art-label { display: none; }
.tour-chip { position: absolute; left: 14px; top: 14px; z-index: 1; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); background: rgba(255,255,255,.92); padding: 5px 11px; border-radius: 999px; }
.tour-card-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; min-width: 0; }
.tour-card-body h3 { font-size: 1.3rem; margin: 0; }
.tour-sub { font-family: var(--serif); font-style: italic; font-size: 1rem; line-height: 1.35; color: var(--teal); margin: 0; }
.tour-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tour-meta li { font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--sand); border-radius: 999px; padding: 4px 10px; line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tour-card-text { font-size: .9rem; line-height: 1.5; color: var(--muted); margin: 4px 0 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tour-next { margin: auto 0 0; padding-top: 10px; font-size: .84rem; color: var(--muted); }
.tour-next strong { color: var(--teal); font-weight: 700; }
.tour-card-actions { display: flex; gap: 10px; margin-top: 10px; }
.tour-card-actions .btn { flex: 1; text-align: center; border: 0; cursor: pointer; font-family: inherit; }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.tour-more { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 4px; }
.tour-more .btn { border: 0; cursor: pointer; font-family: inherit; }
.tour-loading { color: var(--muted); grid-column: 1 / -1; }
.tour-skeleton { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.tour-skeleton span { height: 380px; border-radius: var(--radius); background: linear-gradient(90deg, #efe9dc 0%, #f8f4ec 50%, #efe9dc 100%); background-size: 200% 100%; animation: tourShimmer 1.4s linear infinite; }
@keyframes tourShimmer { to { background-position: -200% 0; } }

/* Details pop-up */
html.dlg-open { overflow: hidden; }
.tour-dialog { border: 0; padding: 0; background: transparent; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: visible; }
.tour-dialog::backdrop { background: rgba(7,26,51,.62); backdrop-filter: blur(2px); }
.tour-dialog-box { position: relative; background: #fff; border-radius: var(--radius); overflow: auto; max-height: inherit; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.tour-dialog-media { aspect-ratio: 16 / 7; }
.tour-dialog-close { position: absolute; z-index: 3; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.tour-dialog-close:hover, .tour-dialog-close:focus-visible { outline: none; background: var(--gold); }
.tour-dialog-body { padding: 24px 30px 28px; display: flex; flex-direction: column; gap: 6px; }
.tour-dialog-body h3 { font-size: 1.7rem; margin: 0; }
.tour-dialog-body .tour-sub { font-size: 1.1rem; margin-bottom: 8px; }
.tour-dialog-h { font-size: 1rem; color: var(--navy); margin: 12px 0 8px; }
.tour-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin: 4px 0 12px; padding: 14px 16px; background: var(--sand); border-radius: 10px; }
.tour-facts div { min-width: 0; }
.tour-facts dt { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.tour-facts dd { margin: 2px 0 0; font-size: .92rem; color: var(--navy); font-weight: 500; line-height: 1.35; }
.tour-intro { color: var(--muted); margin: 0 0 6px; }
.route { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: stop; }
.route li { position: relative; padding: 0 0 14px 42px; counter-increment: stop; display: flex; flex-direction: column; }
.route li::before { content: counter(stop); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.route li::after { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: #cfe7e4; }
.route li:last-child { padding-bottom: 0; }
.route li:last-child::after { display: none; }
.route li:last-child::before { background: var(--gold); color: var(--navy); }
.route strong { color: var(--navy); line-height: 1.3; padding-top: 3px; }
.route span { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.tour-hl { margin: 10px 0; font-size: 1.08rem; }
.tour-dates { margin: 8px 0 4px; }
.tour-dates-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.date-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.date-chip { font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; border: 1.5px solid #cfe7e4;
  background: #e3f2f0; color: var(--navy); cursor: pointer; transition: background .15s, border-color .15s; }
.date-chip:hover, .date-chip:focus-visible { outline: none; background: #fde9c4; border-color: var(--gold); }
.date-more { font-size: .85rem; color: var(--muted); }
.tour-dialog-body .tour-card-actions { margin-top: 14px; }
.tour-dialog-body .tour-card-actions .btn { flex: 0 1 auto; }

@media (max-width: 760px) {
  .tour-grid, .tour-skeleton { grid-template-columns: 1fr; gap: 20px; }
  .tour-skeleton span:nth-child(n+2) { display: none; }
  .tour-card-media { aspect-ratio: 16 / 10; }
  .tour-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: 0; height: 100dvh; }
  .tour-dialog-box { border-radius: 0; height: 100%; max-height: 100%; }
  .tour-dialog-body { padding: 20px 18px 28px; }
  .tour-dialog-close { top: max(12px, env(safe-area-inset-top)); }
  .tour-dialog-body .tour-card-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .tour-skeleton span { animation: none; } .tour-card, .tour-photo { transition: none; } }
/* Booking type: join a small group or book privately */
.type-field { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.type-field[hidden] { display: none; }
.type-field legend { padding: 0; margin-bottom: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); }
.type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.type-opt { display: block; padding: 11px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08); cursor: pointer; transition: border-color .2s, background .2s; }
.type-opt:has(input:checked) { border-color: var(--gold); background: rgba(245,166,35,.12); }
.type-opt:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.type-head { display: flex; align-items: center; gap: 10px; }
.field .type-opt input[type="radio"] { flex: none; width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--gold); cursor: inherit; }
.type-opt strong { color: #fff; font-size: .98rem; line-height: 1.3; }
.type-opt small { display: block; margin: 4px 0 0 28px; color: rgba(255,255,255,.7); font-size: .82rem; line-height: 1.4; }
.date-chip small { display: block; font-size: .72rem; opacity: .75; font-weight: 500; }
@media (max-width: 640px) { .type-options { grid-template-columns: 1fr; } }
/* ---- Fellow guides (Guides tab) + licence list ---- */
.guide-team { margin-top: clamp(64px, 9vw, 110px); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; }
.team-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(11,37,69,.07); transition: transform .25s ease, box-shadow .25s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,37,69,.13); }
.team-photo { position: relative; aspect-ratio: 4 / 4.2; background: linear-gradient(150deg, var(--navy) 0%, #12406e 60%, var(--teal) 140%); display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.team-initials { font-family: var(--serif); font-size: 4.2rem; color: var(--gold); letter-spacing: .04em; }
.team-lic { position: absolute; left: 14px; bottom: 14px; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .78rem; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.team-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.team-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--navy); margin: 0; line-height: 1.2; }
.team-type { margin: -4px 0 0; color: var(--teal); font-weight: 500; font-size: .9rem; }
.team-langs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 2px 0; }
.team-langs li { background: var(--sand); color: var(--navy); font-size: .8rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.team-intro { max-height: 7.6em; overflow: hidden; position: relative; color: #2f3d4e; font-size: .95rem; line-height: 1.55; }
.team-intro p { margin: 0 0 .6em; }
.team-intro:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em; background: linear-gradient(rgba(255,255,255,0), #fff); }
.team-intro.is-open { max-height: none; }
.team-intro.is-open::after { display: none; }
.team-more { align-self: flex-start; font-size: .88rem; }
.team-creds { margin-top: 4px; }
.team-creds li { padding: 8px 0 8px 24px; font-size: .88rem; }

.licence-panel { margin-top: clamp(56px, 8vw, 96px); background: var(--navy); color: #dfe6ee; border-radius: calc(var(--radius) + 4px); padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.licence-panel::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 2px dashed rgba(245,166,35,.35); }
.licence-head { display: flex; gap: 22px; align-items: flex-start; position: relative; }
.licence-seal { flex: none; width: 72px; height: 72px; border-radius: 50%; background: #fff; padding: 3px; }
.licence-head .eyebrow { color: var(--gold); margin-bottom: 4px; }
.licence-head h3 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: 1.6rem; margin: 0 0 6px; }
.licence-head p { margin: 0; max-width: 62ch; }
.licence-head a { color: var(--gold); }
.licence-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; position: relative; }
.licence-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 16px; }
.lic-no { flex: none; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); background: var(--gold); border-radius: 8px; padding: 6px 10px; min-width: 88px; text-align: center; }
.lic-who { display: flex; flex-direction: column; line-height: 1.3; }
.lic-who strong { color: #fff; font-weight: 700; }
.lic-who small { color: #b9c6d4; font-size: .82rem; }
@media (max-width: 640px) {
  .licence-head { flex-direction: column; gap: 14px; }
  .licence-seal { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .team-card { transition: none; } }
.team-more { color: var(--teal); }
@media (max-width: 640px) { .team-photo { aspect-ratio: 4 / 3.4; } }

/* ---- Guide on the tour card (Tours tab column I) ---- */
.tour-guide { display: flex; align-items: center; gap: 12px; margin: 4px 0 2px; padding: 10px 12px; border-radius: 12px; background: var(--sand); color: var(--navy); text-decoration: none; transition: background .2s ease; }
.tour-guide:hover, .tour-guide:focus-visible { background: #efe6d3; }
.tg-faces { display: flex; flex: none; }
.tg-face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1rem; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(11,37,69,.18); }
.tg-face + .tg-face { margin-left: -12px; }
.tg-face img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.tg-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tg-text small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.tg-text strong { font-size: .95rem; }
.tg-lic { font-size: .8rem; color: var(--muted); }
.tour-guide-lg { margin: 18px 0; }
.tour-guide-lg .tg-face { width: 56px; height: 56px; font-size: 1.2rem; }

/* ---- Singapore memories gallery (Memories tab of the Bookings sheet) ---- */
.memories { background: var(--navy); color: #d6dfe9; position: relative; overflow: hidden; }
.memories::before { content: ""; position: absolute; inset: auto -10% -120px -10%; height: 260px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0, rgba(108,194,187,.18), transparent 70%); }
.memories .wrap { position: relative; }
.memories h2 { color: #fff; }
.memories .section-head p:last-child { color: #b9c6d4; }
.mem-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.mem-tile { position: relative; border: 0; padding: 0; margin: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: linear-gradient(110deg, #10305a 30%, #17406f 50%, #10305a 70%) 0 0 / 300% 100%; animation: memShimmer 1.6s linear infinite;
  font: inherit; color: #fff; text-align: left; transform: translateZ(0); }
.mem-tile:nth-child(6n+1) { grid-row: span 2; }
.mem-tile:nth-child(6n+4) { grid-column: span 2; }
.mem-tile.is-loaded, .mem-tile.is-failed { animation: none; background: var(--navy-deep); }
.mem-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform .6s ease; }
.mem-tile.is-loaded img { opacity: 1; }
.mem-tile:hover img, .mem-tile:focus-visible img { transform: scale(1.05); }
.mem-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.mem-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 2px; padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(7,26,51,.88), rgba(7,26,51,0)); line-height: 1.25; }
.mem-cap strong { font-family: var(--serif); font-weight: 400; font-size: 1.18rem; }
.mem-cap small { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.mem-cap:empty { display: none; }
.mem-more { text-align: center; margin-top: 34px; }
@keyframes memShimmer { to { background-position: -150% 0; } }

.mem-dialog { border: 0; padding: 0; background: transparent; width: min(1040px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: visible; color: var(--ink); }
.mem-dialog::backdrop { background: rgba(4,14,28,.86); backdrop-filter: blur(3px); }
.mem-dlg-box { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); max-height: inherit; display: flex; }
.mem-fig { margin: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); width: 100%; max-height: inherit; }
.mem-stage { background: var(--navy-deep); min-height: 320px; display: flex; align-items: center; justify-content: center; max-height: calc(100dvh - 40px); }
.mem-stage img { width: 100%; height: 100%; max-height: calc(100dvh - 40px); object-fit: contain; opacity: 0; transition: opacity .35s ease; }
.mem-stage.is-loaded img { opacity: 1; }
.mem-fail { color: #b9c6d4; padding: 20px; }
.mem-text { padding: 30px 28px 24px; display: flex; flex-direction: column; overflow: auto; }
.mem-text h3 { font-size: 1.6rem; margin: 0 0 .4em; }
.mem-place { margin: 0 0 6px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--teal); }
.mem-story { color: var(--muted); }
.mem-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.mem-count { font-size: .85rem; color: var(--muted); }
.mem-foot .btn { border: 0; cursor: pointer; font-family: inherit; }
.mem-x { position: absolute; z-index: 3; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.6rem; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.mem-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--navy); font-size: 1.9rem; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.mem-prev { left: 12px; }
.mem-next { left: calc(63% - 58px); }
.mem-x:hover, .mem-x:focus-visible, .mem-nav:hover, .mem-nav:focus-visible { outline: none; background: var(--gold); }
.mem-nav[hidden] { display: none; }

@media (max-width: 860px) {
  .mem-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .mem-tile:nth-child(6n+4) { grid-column: span 2; }
  .mem-fig { grid-template-columns: 1fr; overflow: auto; }
  .mem-stage { min-height: 240px; max-height: 62dvh; }
  .mem-stage img { max-height: 62dvh; }
  .mem-next { left: auto; right: 12px; top: 31dvh; }
  .mem-prev { top: 31dvh; }
}
@media (max-width: 760px) {
  .mem-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
  .mem-dlg-box { border-radius: 0; height: 100%; }
  .mem-x { top: max(12px, env(safe-area-inset-top)); }
  .mem-text { padding: 20px 18px 28px; }
}
@media (max-width: 480px) { .mem-grid { grid-auto-rows: 150px; gap: 10px; } .mem-cap strong { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .mem-tile { animation: none; } .mem-tile img, .mem-stage img { transition: none; } }
.site-nav a[hidden], .memories[hidden], .mem-more[hidden] { display: none !important; }
.mem-more .btn { background: transparent; color: #fff; font-family: inherit; cursor: pointer; }
.mem-more .btn:hover, .mem-more .btn:focus-visible { background: rgba(255,255,255,.12); }
