/* Dolphin Cove of Marathon
   Warm linen pages, soft sage and aqua panels over real photos, widely spaced serif capitals,
   a handwritten script accent, and the dolphin mark from the original logo. */
:root {
  --linen: #f4efe9;       /* page */
  --sand: #ebe3da;        /* alternate band */
  --sage: #6c9a94;        /* panels, buttons */
  --sage-deep: #557f79;
  --aqua: #aed6d7;        /* second panel colour */
  --teal: #2d5661;        /* dolphin mark, links */
  --ink: #37403f;         /* headings */
  --body-ink: #4a5150;
  --muted: #7a7f7c;
  --line: #ddd3c8;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --script: "Sacramento", "Brush Script MT", cursive;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--linen); color: var(--body-ink); font: 400 16.5px/1.85 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
strong, b { font-weight: 700; color: var(--ink); }
p { margin: 0; }
p + p { margin-top: 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.25; }
/* the signature look: widely spaced capitals */
.caps, h1, h2, .h-caps { text-transform: uppercase; letter-spacing: .16em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); letter-spacing: .02em; }
.label { font: 500 .98rem/1.4 var(--serif); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.script { font: 400 clamp(1.9rem, 3vw, 2.4rem)/1 var(--script); color: var(--ink); text-transform: none; letter-spacing: 0; }
.lead { font-size: 1.08rem; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- buttons: small, spaced capitals ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 26px; border: 1px solid var(--sage); background: var(--sage); color: #fff;
  font: 400 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-white:hover { background: var(--linen); border-color: var(--linen); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.btn-stack { display: grid; gap: 12px; justify-items: center; margin-top: 30px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 60; background: rgba(244,239,233,.97); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(55,64,63,.05); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 84px; padding: 0 clamp(20px, 3vw, 44px); max-width: 1440px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal); margin-right: auto; }
.brand .dolphin { width: 40px; height: 39px; flex: none; }
.brand-name { display: grid; line-height: 1; }
.brand-script { font: 400 2.1rem/0.9 var(--script); color: var(--ink); letter-spacing: 0; text-transform: none; }
.brand-name small { font: 400 .62rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin: 4px 0 0 4px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .menu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: var(--ink); text-decoration: none; font: 400 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; background: none; border: 0; cursor: pointer; }
.nav-list > li > a:hover, .menu-btn:hover, .nav-list a[aria-current], .has-menu.is-active > .menu-btn { color: var(--sage-deep); }
.nav-list a[aria-current], .has-menu.is-active > .menu-btn { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.caret { width: 6px; height: 6px; border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu { list-style: none; margin: 0; padding: 12px 0; position: absolute; left: 0; top: calc(100% + 4px); min-width: 240px; background: var(--linen); border: 1px solid var(--line); box-shadow: 0 16px 34px rgba(55,64,63,.1);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 8px 22px; color: var(--ink); text-decoration: none; font: 400 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.submenu a:hover, .submenu a[aria-current] { color: var(--sage-deep); background: var(--sand); }
.nav-toggle { display: none; }
@media (max-width: 1060px) {
  .top-in { min-height: 72px; }
  .brand-script { font-size: 1.85rem; }
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: var(--ink); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 26px; height: 1.3px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -8px; } .bars::after { top: 8px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }
  .nav { position: fixed; inset: 72px 0 0; background: var(--linen); padding: 12px 28px 40px; overflow-y: auto; display: none; }
  .menu-open .nav { display: block; }
  body.menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .menu-btn { width: 100%; justify-content: space-between; padding: 18px 0; font-size: .86rem; }
  .nav-list a[aria-current], .has-menu.is-active > .menu-btn { text-decoration: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; min-width: 0; background: none; }
  .has-menu.open .submenu { display: block; }
  .submenu a { padding: 9px 0 9px 16px; }
}

/* ---------- photo with a soft panel over it (home and every inner page) ---------- */
.photo-hero { position: relative; display: grid; place-items: center; min-height: clamp(380px, 52vw, 560px); padding: 56px 20px; isolation: isolate; overflow: hidden; }
.photo-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.home .photo-hero { min-height: 0; height: clamp(460px, calc(100svh - 250px), 760px); place-items: start center; padding-top: clamp(36px, 7vh, 80px); }
/* leave the start of the next section showing, plus a scroll-down arrow, so visitors see there's more */
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.85); background: rgba(55,64,63,.18); display: grid; place-items: center; color: #fff; animation: bob 2.4s ease-in-out 1.5s 3; }
.scroll-cue::before { content: ""; width: 11px; height: 11px; border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.scroll-cue:hover { background: rgba(55,64,63,.32); }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
.home .photo-hero .panel { padding: clamp(22px, 3.2vw, 38px) clamp(24px, 5vw, 56px); }
.home .photo-hero .panel .btn { margin-top: 18px; }
.home #aboutsection { padding-top: clamp(48px, 6vw, 72px); }
.home .photo-hero > img { object-position: center 62%; animation: drift 22s ease-out both; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.panel { width: min(640px, 100%); padding: clamp(30px, 5vw, 52px) clamp(24px, 5vw, 56px); text-align: center; color: #fff; }
.panel-sage { background: rgba(108,154,148,.94); }
.panel-aqua { background: rgba(174,214,215,.95); color: var(--ink); }
.panel h1, .panel h2 { color: inherit; font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.45; letter-spacing: .16em; }
.panel p { margin-top: 14px; }
.panel .btn { margin-top: 24px; }
.panel .script { color: inherit; display: block; margin-bottom: 6px; }

@media (max-width: 700px) { .home .photo-hero { height: clamp(420px, calc(100svh - 230px), 620px); padding-top: 28px; } .home .photo-hero > img { object-position: 40% 75%; } .photo-hero { min-height: 380px; } }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.band-sand { background: var(--sand); }
.sec-title { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-title .script { display: block; margin-bottom: 4px; }
.sec-title p { margin: 18px auto 0; max-width: 62ch; }
.intro { text-align: center; max-width: 720px; margin: 0 auto; }
.intro p { margin-top: 18px; }
.body-copy { max-width: 64ch; }

/* three photos with a script word, a spaced label, a line and a button */
.trio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.tcard { text-align: center; display: flex; flex-direction: column; align-items: center; }
.tcard .script { margin-bottom: 2px; }
.tcard .label { margin-bottom: 18px; }
.tcard img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tcard p { margin-top: 18px; font-size: .95rem; max-width: 30ch; }
.tcard .btn { margin-top: auto; }
.tcard .btn-wrap { margin-top: 22px; }
.trio-cards.wrap-center { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 64px; }
.trio-cards.wrap-center .tcard { flex: 0 1 calc((100% - 2 * clamp(20px, 3vw, 40px)) / 3); }
.trio-cards.wrap-center .tcard p { max-width: 38ch; }
@media (max-width: 820px) { .trio-cards.wrap-center .tcard { flex-basis: 100%; } .trio-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 56px; } }

/* full-width photo band with a panel */
.band-photo { position: relative; display: grid; place-items: center; min-height: clamp(360px, 40vw, 480px); padding: 56px 20px; isolation: isolate; overflow: hidden; }
.band-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* text beside a photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.wide img { aspect-ratio: 4 / 3; }
.split-text .script { display: block; margin-bottom: 2px; }
.split-text h2 { margin-bottom: 24px; }
.split-text .btn { margin-top: 30px; }
.overlap { position: relative; }
.overlap .inset { position: absolute; width: 46%; left: -14%; bottom: -36px; border: 8px solid var(--linen); }
.overlap .inset img { aspect-ratio: 1; }
.split.flip .overlap .inset { left: auto; right: -14%; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .split-media img { aspect-ratio: 4 / 3.4; }
  .overlap .inset, .split.flip .overlap .inset { left: auto; right: 14px; width: 40%; bottom: -30px; }
  .overlap + .split-text, .split-media.overlap ~ .split-text { padding-top: 24px; }
}

/* three tall photos */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.trio img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr 1fr; } .trio img:nth-child(3) { display: none; } }

/* photo cards with a little script tag in the corner */
.tag-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.tag-card { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.tag-card .pic { display: block; position: relative; overflow: hidden; }
.tag-card img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; transition: transform .6s ease; }
.tag-card:hover img { transform: scale(1.04); }
.tag-card .tag { position: absolute; left: 0; top: 0; background: var(--linen); padding: 4px 12px 2px; font: 400 1.35rem/1.2 var(--script); color: var(--ink); }
.tag-card .name { display: block; margin-top: 14px; font: 500 .95rem/1.4 var(--serif); letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 960px) { .tag-cards { grid-template-columns: repeat(2, 1fr); } }

/* location */
.map { margin-top: 36px; height: clamp(300px, 40vw, 440px); background: var(--sand); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.8) sepia(.08); }
.address { margin-top: 12px; letter-spacing: .06em; }

/* ---------- about: label + text rows ---------- */
.rows { border-top: 1px solid var(--line); }
.row-item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 5vw, 72px); padding: 36px 0; border-bottom: 1px solid var(--line); }
.row-item .label { padding-top: 3px; }
.row-item ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.row-item li::marker { color: var(--sage); }
@media (max-width: 760px) { .row-item { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; } }

/* ---------- explore: room sliders ---------- */
.room { padding-top: clamp(64px, 8vw, 104px); }
.room:first-child { padding-top: 0; }
.room-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.room-head .script { display: block; margin-bottom: 4px; }
.room-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.room-head p { margin-top: 14px; }
.room-head .note { font-size: .92rem; font-style: italic; color: var(--muted); }
.slider { width: min(1000px, 100%); margin: 0 auto; }
.slider-stage { position: relative; background: var(--sand); }
.slider-main { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.slider-main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .25s; }
.slider-main img.fading { opacity: .3; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; background: rgba(244,239,233,.92); cursor: pointer; display: grid; place-items: center; }
.slider-arrow::before { content: ""; width: 9px; height: 9px; border-right: 1.3px solid var(--ink); border-bottom: 1.3px solid var(--ink); }
.slider-arrow.prev { left: 16px; } .slider-arrow.prev::before { transform: rotate(135deg) translate(-2px, -2px); }
.slider-arrow.next { right: 16px; } .slider-arrow.next::before { transform: rotate(-45deg) translate(-2px, -2px); }
.slider-arrow:hover { background: #fff; }
.slider-count { position: absolute; right: 14px; bottom: 12px; background: rgba(244,239,233,.92); color: var(--ink); font-size: .72rem; letter-spacing: .18em; padding: 3px 10px; pointer-events: none; }
.slider[data-count="1"] .slider-count { display: none; }
.thumbs { list-style: none; margin: 10px 0 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.thumb { padding: 0; border: 0; background: none; cursor: pointer; display: block; opacity: .55; transition: opacity .2s; }
.thumb img { width: 116px; height: 78px; object-fit: cover; }
.thumb:hover, .thumb[aria-current] { opacity: 1; }
.thumb[aria-current] img { outline: 2px solid var(--sage); outline-offset: -2px; }
@media (max-width: 600px) { .thumb img { width: 82px; height: 56px; } .slider-arrow { width: 38px; height: 38px; } }

/* ---------- amenities, safety and things to do: alternating rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; padding: clamp(48px, 6vw, 80px) 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip .f-media { order: 2; }
.feature .f-media { position: relative; }
.feature .f-media > img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.feature .f-media .inset { position: absolute; width: 44%; right: -8%; bottom: -30px; border: 8px solid var(--linen); }
.feature.flip .f-media .inset { right: auto; left: -8%; }
.feature .f-media .inset img { aspect-ratio: 1; object-fit: cover; }
.feature .f-text .script { display: block; margin-bottom: 2px; }
.feature .f-text h2 { margin-bottom: 22px; }
.feature .f-text .fine { font-size: .92rem; color: var(--muted); }
.feature .f-text .call { margin-top: 16px; font-weight: 700; color: var(--ink); }
.feature .caption { display: block; background: var(--linen); padding: 6px 4px 0; text-align: center; font: 400 1.4rem/1.2 var(--script); color: var(--ink); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .f-media { order: 0; }
  .feature .f-media > img { aspect-ratio: 4 / 3.3; }
  .feature .f-media .inset, .feature.flip .f-media .inset { right: 12px; left: auto; width: 38%; }
}
.list-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.list-plain b { display: block; font: 500 1rem/1.3 var(--serif); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.reminder { font-style: italic; color: var(--ink); margin-top: 24px; }

/* guide pages */
.docs { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(36px, 7vw, 100px); }
.doc { display: grid; justify-items: center; gap: 16px; text-align: center; }
.doc img { width: 250px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; box-shadow: 0 24px 40px -20px rgba(55,64,63,.45); transition: transform .3s; }
.doc a:hover img { transform: translateY(-4px); }
.doc h2 { font-size: 1.05rem; }
.guide { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: clamp(36px, 6vw, 80px); }
.guide img { width: min(360px, 100%); box-shadow: 0 30px 50px -22px rgba(55,64,63,.45); }
@media (max-width: 760px) { .guide { grid-template-columns: 1fr; justify-items: center; } }
.wildlife { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); margin-top: 40px; }
.wildlife h3 { margin-bottom: 10px; font: 500 1.05rem/1.3 var(--serif); letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 760px) { .wildlife { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact-grid aside img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; margin-top: 32px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid aside img { aspect-ratio: 4 / 3; } }
.form { display: grid; gap: 22px; background: #fff; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field label { font: 400 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { font: 400 1rem var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #c8bdb1; border-radius: 0; padding: 8px 0 10px; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 1px solid var(--sage); box-shadow: 0 1px 0 var(--sage); }
.field .bad { border-bottom-color: #b3261e; }
.form .btn { justify-self: start; }
.form-err { color: #b3261e; font-weight: 700; }
.form-err:empty { display: none; }
.form-ok { background: var(--sand); padding: 14px 18px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }

/* ---------- booking ---------- */
.soon { min-height: calc(100svh - 84px); }
.soon .panel { width: min(680px, 100%); }
.soon .panel p { margin-top: 16px; }
.notify { display: flex; gap: 14px; align-items: flex-end; margin-top: 26px; text-align: left; background: #fff; padding: 20px 22px; }
.notify .field { flex: 1; }
.notify .field label { color: var(--muted); }
.notify .btn { margin: 0; }
.soon .fine { font-size: .86rem; margin-top: 18px; opacity: .92; }
.soon .form-err, .soon .form-ok { margin-top: 12px; text-align: left; }
.soon .form-err { color: #fff; background: #b3261e; padding: 6px 12px; }
.soon .form-err:empty { display: none; }
.soon .form-ok { color: var(--ink); }
@media (max-width: 560px) { .notify { flex-direction: column; align-items: stretch; } }

/* ---------- footer ---------- */
.foot { background: var(--sand); color: var(--body-ink); padding: clamp(60px, 7vw, 84px) 0 0; font-size: .95rem; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.3fr .9fr 1.3fr; gap: 48px; }
.foot .dolphin { width: 56px; height: 54px; color: var(--teal); }
.foot-name { display: grid; margin-top: 10px; line-height: 1; }
.foot-name .brand-script { font-size: 2.6rem; }
.foot-name small { font: 400 .66rem/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin: 6px 0 0 4px; }
.foot h2 { font-size: .9rem; letter-spacing: .22em; margin-bottom: 18px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-links a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.foot-col p + p { margin-top: 12px; }
.foot-base { border-top: 1px solid var(--line); margin-top: 52px; padding: 20px 0 28px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- photo viewer ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(36,42,41,.95); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; gap: 14px; height: 100vh; padding: 60px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.75); font-size: .8rem; letter-spacing: .2em; }
.lightbox button { background: none; border: 0; cursor: pointer; width: 72px; height: 72px; display: grid; place-items: center; color: #fff; }
.lb-prev::before, .lb-next::before { content: ""; width: 18px; height: 18px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; }
.lb-prev::before { transform: rotate(135deg); } .lb-next::before { transform: rotate(-45deg); }
.lb-close { position: absolute; top: 8px; right: 8px; }
.lb-close::before, .lb-close::after { content: ""; position: absolute; width: 26px; height: 1.3px; background: currentColor; }
.lb-close::before { transform: rotate(45deg); } .lb-close::after { transform: rotate(-45deg); }
@media (max-width: 600px) { .lightbox { grid-template-columns: 44px 1fr 44px; } .lightbox button { width: 44px; } }

/* photo framing tweaks */
img[src*="/img/beach-shower-"] { object-position: 92% center; }

/* no single words left alone on the last line */
p, li, figcaption, .tcard p { text-wrap: pretty; }
h1, h2, h3, .label, .panel h1, .panel h2 { text-wrap: balance; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
