/* Ecoxorio — site styles */

@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.woff2) format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --sand: #f7f2ea;
  --sand-2: #efe7da;
  --paper: #fffdf9;
  --ink: #1d2a2c;
  --muted: #5b6866;
  --line: #e2d8c8;
  --sea: #1d5c73;
  --sea-deep: #123f50;
  --sea-ink: #0d2f3c;
  --olive: #66743f;
  --clay: #a94f2e;
  --clay-soft: #f1ddd1;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(29 42 44 / .06), 0 8px 24px -12px rgb(29 42 44 / .18);
  --header-h: 4.25rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font: 400 1.0625rem/1.7 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sea-deep); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 420; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "WONK" 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: calc(42rem + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tint { background: var(--sand-2); }
.center { text-align: center; }

.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: .9rem; }
.display { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.55; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.section-head-row p { margin: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; }
.link-arrow { font-weight: 600; text-decoration: none; margin-right: 1.5rem; }
.link-arrow:last-child { margin-right: 0; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.9rem; padding: .7rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--sea);
  background: var(--sea); color: #fff; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.4rem; padding: .45rem 1.1rem; font-size: .95rem; }
.btn-outline { background: transparent; color: var(--sea); }
.btn-outline:hover { background: var(--sea); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--sea-ink); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); color: var(--sea-ink); }
.btn-ghost-light { background: transparent; border-color: rgb(255 255 255 / .7); color: #fff; }
.btn-ghost-light:hover { background: rgb(255 255 255 / .14); border-color: #fff; color: #fff; }

/* ---------- header & navigation */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(247 242 234 / .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgb(226 216 200 / .8); transition: background-color .3s, border-color .3s, color .3s;
}
.header-inner { height: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 2rem; height: 2rem; color: var(--sea); }
.brand-mark .sun { color: var(--clay); }
.brand-name { font: 500 1.45rem/1 var(--serif); letter-spacing: -.01em; }

.nav-list { list-style: none; margin: 0; display: flex; align-items: center; gap: .15rem; }
.nav-list > li > a:not(.btn), .sub-toggle {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .8rem; border-radius: 999px;
  font: 500 .98rem/1.2 var(--sans); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-list > li > a:not(.btn):hover, .sub-toggle:hover { background: rgb(29 92 115 / .08); color: var(--ink); }
.nav-list > li > a[aria-current="page"]:not(.btn), .sub-toggle.is-current { color: var(--sea); box-shadow: inset 0 -2px 0 var(--clay); border-radius: 0; }
.nav-list > li > a.btn { margin-left: .5rem; color: #fff; }
.sub-toggle svg { width: .75rem; height: .75rem; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; }
.sub a { display: block; padding: .55rem .9rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; white-space: nowrap; }
.sub a:hover { background: var(--sand); color: var(--sea); }
.sub a[aria-current="page"] { color: var(--sea); font-weight: 600; }

.nav-toggle { display: none; }

@media (min-width: 60.01rem) {
  .sub {
    position: absolute; top: calc(100% + .5rem); left: 50%; min-width: 13rem; padding: .45rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translate(-50%, -4px); transition: opacity .18s, transform .18s, visibility 0s .18s;
  }
  .sub::before { content: ""; position: absolute; inset: -.6rem 0 auto; height: .6rem; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub-toggle[aria-expanded="true"] + .sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .18s, transform .18s;
  }
  /* Transparent header over hero images until the page scrolls */
  .js .has-hero .site-header:not(.scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .js .has-hero .site-header:not(.scrolled) .brand,
  .js .has-hero .site-header:not(.scrolled) .nav-list > li > a:not(.btn),
  .js .has-hero .site-header:not(.scrolled) .sub-toggle { color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
  .js .has-hero .site-header:not(.scrolled) .brand-mark { color: #fff; }
  .js .has-hero .site-header:not(.scrolled) .nav-list > li > a:not(.btn):hover,
  .js .has-hero .site-header:not(.scrolled) .sub-toggle:hover { background: rgb(255 255 255 / .15); }
  .js .has-hero .site-header:not(.scrolled) .nav-list > li > a[aria-current="page"]:not(.btn),
  .js .has-hero .site-header:not(.scrolled) .sub-toggle.is-current { box-shadow: inset 0 -2px 0 #fff; }
  .js .has-hero .site-header:not(.scrolled) .btn { background: #fff; border-color: #fff; color: var(--sea-ink); }
  .js .has-hero .site-header { position: fixed; left: 0; right: 0; }
}

@media (max-width: 60rem) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .site-header { background: var(--sand); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.4rem;
    background: none; border: 0; border-radius: 999px; cursor: pointer; color: var(--ink);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.4rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; background: var(--sand); overflow-y: auto;
    padding: 1rem var(--gutter) 2.5rem; border-top: 1px solid var(--line);
  }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: block; animation: nav-in .2s ease-out; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li:last-child { border: 0; padding-top: 1.25rem; }
  .nav-list > li > a:not(.btn), .sub-toggle { width: 100%; padding: .95rem .25rem; font-size: 1.15rem; border-radius: 0; box-shadow: none !important; }
  .nav-list > li > a.btn { width: 100%; margin: 0; min-height: 3.2rem; font-size: 1.05rem; }
  .sub-toggle { justify-content: space-between; pointer-events: none; }
  .sub-toggle svg { display: none; }
  .sub { padding: 0 0 .75rem .25rem; }
  .sub a { padding: .5rem .75rem; font-size: 1.02rem; }
  body.nav-open { overflow: hidden; }
}
@keyframes nav-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- hero (home) */
.home-hero {
  position: relative; min-height: min(100svh, 56rem); display: flex; align-items: flex-end;
  color: #fff; background: var(--sea-ink); isolation: isolate; overflow: hidden;
}
.home-hero-img, .page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.home-hero::after, .page-hero:not(.page-hero-plain)::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(8 30 40 / .45) 0%, rgb(8 30 40 / 0) 28%, rgb(8 30 40 / .1) 50%, rgb(8 30 40 / .72) 100%);
}
.home-hero-text { padding-block: calc(var(--header-h) + 3rem) clamp(3rem, 9vh, 6rem); }
.home-hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.4rem); font-weight: 380; max-width: 14ch; margin-bottom: .35em; text-shadow: 0 2px 30px rgb(0 0 0 / .25); }
.home-hero .lead { max-width: 34rem; opacity: .95; }
.home-hero .eyebrow, .page-hero:not(.page-hero-plain) .eyebrow { color: #fff; opacity: .9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }

/* ---------- hero (inner pages) */
.page-hero {
  position: relative; min-height: clamp(20rem, 58vh, 34rem); display: flex; align-items: flex-end;
  color: #fff; background: var(--sea-ink); isolation: isolate; overflow: hidden;
}
.page-hero-text { padding-block: calc(var(--header-h) + 2.5rem) clamp(2.25rem, 6vh, 3.75rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); max-width: 20ch; margin-bottom: .3em; text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.page-hero .lead { max-width: 36rem; margin: 0; }
.page-hero-plain { min-height: 0; color: var(--ink); background: var(--sand-2); }
.page-hero-plain .page-hero-text { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem); }
.page-hero-plain h1 { text-shadow: none; }
.js .has-hero .page-hero-plain .page-hero-text { padding-top: calc(var(--header-h) + 3rem); }

/* ---------- prose */
.prose { font-size: 1.1rem; }
.prose > * + h2 { margin-top: 2.2em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.prose > p:first-of-type { font-size: 1.2rem; line-height: 1.65; }
.prose ol { counter-reset: step; list-style: none; margin: 1.5rem 0 2rem; }
.prose ol > li { counter-increment: step; position: relative; padding-left: 3.25rem; margin-bottom: 1.25rem; }
.prose ol > li::before {
  content: counter(step); position: absolute; left: 0; top: .1rem; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--sea); color: #fff; font: 600 .95rem/1 var(--sans);
}
.prose blockquote { margin: 2rem 0; padding: 1.25rem 1.5rem; background: var(--clay-soft); border-radius: var(--radius); border-left: 4px solid var(--clay); }
.prose blockquote p:last-child { margin: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 auto 2.5rem; }
.facts li { padding: .45rem 1rem .45rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; font-weight: 500; }
.facts li::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--olive); margin-right: .55rem; vertical-align: .1em; }

/* figures inside prose: break out wider than the text column */
.figs { display: grid; gap: clamp(.75rem, 2vw, 1.25rem); margin: 2.5rem calc(-1 * min(7rem, max(0px, (100vw - 42rem) / 2 - var(--gutter)))); }
.figs-2 { grid-template-columns: repeat(2, 1fr); align-items: start; }
.figs-3 { grid-template-columns: repeat(3, 1fr); }
.figs-small { margin-inline: 0; }
.figs-1.figs-small figure { max-width: var(--max-w); margin-inline: auto; }
.figs figure { margin: 0; }
.figs img { width: 100%; border-radius: var(--radius); }
.figs-2 img { aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { margin-top: .6rem; font: italic 400 .98rem/1.45 var(--serif); color: var(--muted); }
@media (max-width: 34rem) { .figs-2, .figs-3 { grid-template-columns: 1fr; } .figs-2 img { aspect-ratio: auto; } }

a.lb { display: block; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
a.lb img { transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s; }
@media (hover: hover) { a.lb:hover img { transform: scale(1.025); } }

/* ---------- home: "you can" */
.you-can-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.you-can-list { list-style: none; margin: 1.75rem 0 0; }
.you-can-list li {
  font: 400 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.4 var(--serif); padding: .85rem 0 .85rem 2rem; border-top: 1px solid var(--line); position: relative;
}
.you-can-list li::before { content: "…"; position: absolute; left: 0; color: var(--clay); font-weight: 600; }
.you-can-list li:last-child { border-bottom: 1px solid var(--line); font-style: italic; }
.you-can-photo { margin: 0; }
.you-can-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
@media (max-width: 56rem) { .you-can-grid { grid-template-columns: 1fr; } .you-can-photo { max-width: 26rem; } }

/* ---------- home: cards */
.cards { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1.25rem; }
.card a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(29 42 44 / .06), 0 18px 40px -18px rgb(29 42 44 / .35); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card a:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.card p { font-size: .98rem; color: var(--muted); line-height: 1.6; }
.card-more { margin-top: auto; font-weight: 600; font-size: .95rem; color: var(--sea); }

/* ---------- home: mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.mosaic figure { margin: 0; position: relative; }
.mosaic a.lb { height: 100%; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.5rem 1.1rem .9rem; color: #fff; pointer-events: none;
  background: linear-gradient(transparent, rgb(0 0 0 / .6)); border-radius: 0 0 var(--radius) var(--radius); font-size: 1rem;
}
.mosaic { grid-auto-rows: clamp(15rem, 32vw, 29rem); }
.mosaic-1 { grid-column: span 7; }
.mosaic-2 { grid-column: span 5; }
.mosaic-3 { grid-column: span 4; }
.mosaic-4 { grid-column: span 8; }
@media (max-width: 48rem) {
  .mosaic { grid-auto-rows: auto; }
  .mosaic-1, .mosaic-2, .mosaic-3, .mosaic-4 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* ---------- home: quotes */
.section-sea { background: var(--sea-deep); color: #eef4f5; }
.section-sea .eyebrow { color: #f0b89e; }
.section-sea h2 { color: #fff; }
.quotes { list-style: none; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.quotes li { padding: 1.75rem; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); display: flex; flex-direction: column; }
.quotes blockquote { margin: 0 0 1rem; font: 400 1.18rem/1.5 var(--serif); }
.quotes blockquote::before { content: "“"; display: block; font: 500 3rem/0.8 var(--serif); color: #f0b89e; margin-bottom: .25rem; }
.quote-meta { margin: auto 0 0; font-size: .95rem; opacity: .85; }

/* ---------- home: location */
.location-strip { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.stats { margin: 0; display: grid; gap: 1rem; }
.stats div { padding: 1.1rem 1.5rem; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); display: grid; grid-template-columns: 10rem 1fr; align-items: baseline; gap: .25rem 1rem; }
@media (max-width: 26rem) { .stats div { grid-template-columns: 1fr; } }
.stats dt { font: 450 1.75rem/1.1 var(--serif); color: var(--sea); }
.stats dd { margin: 0; color: var(--muted); }
@media (max-width: 52rem) { .location-strip { grid-template-columns: 1fr; } }

/* ---------- gallery */
.gallery { list-style: none; margin: 0; columns: 3 18rem; column-gap: 1.25rem; }
.gallery li { break-inside: avoid; margin-bottom: 1.5rem; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .95rem; margin-top: .5rem; }

/* ---------- guestbook */
.feature-quote { margin: 0; display: grid; grid-template-columns: minmax(0, 18rem) 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.feature-quote-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.feature-quote blockquote { margin: 0 0 1.25rem; font: 400 clamp(1.2rem, 1rem + .9vw, 1.6rem)/1.5 var(--serif); }
.feature-quote blockquote::before { content: "“"; display: block; font: 500 4rem/0.7 var(--serif); color: var(--clay); margin-bottom: .5rem; }
.feature-quote figcaption { font: 500 1rem var(--sans); color: var(--muted); font-style: normal; }
@media (max-width: 44rem) { .feature-quote { grid-template-columns: 1fr; } .feature-quote-img { max-width: 16rem; } }
.quote-wall { list-style: none; margin: 0; columns: 3 17rem; column-gap: 1.25rem; }
.quote-card { break-inside: avoid; margin-bottom: 1.25rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.quote-card blockquote { margin: 0 0 1rem; font: 400 1.08rem/1.55 var(--serif); }
.quote-card blockquote p:last-child { margin: 0; }
.quote-card .quote-meta { opacity: 1; color: var(--muted); }
.note-card { margin-top: 3rem; padding: clamp(1.75rem, 4vw, 2.5rem); background: var(--clay-soft); border-radius: var(--radius); text-align: center; }
.note-card h2 { font-size: 1.7rem; }

/* ---------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-cards { list-style: none; margin: 1.5rem 0; display: grid; gap: .75rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font: 500 1.15rem/1.3 var(--sans); transition: border-color .2s, box-shadow .2s; }
.contact-card:hover { border-color: var(--sea); box-shadow: var(--shadow); color: var(--ink); }
.contact-card svg { flex: none; width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 50%; background: rgb(29 92 115 / .1); color: var(--sea); }
.contact-card small { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card span { overflow-wrap: anywhere; }
.contact-where { color: var(--muted); }
.contact-photo { margin: 0; }
.contact-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.contact-form { padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.contact-form h2 { font-size: 1.6rem; margin: 0; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sand); color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--sea); outline-offset: 0; border-color: var(--sea); }
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: start; }
@media (max-width: 56rem) { .contact-grid { grid-template-columns: 1fr; } .contact-photo { max-width: 26rem; } }

/* ---------- pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: var(--section); max-width: calc(48rem + 2 * var(--gutter)); }
.pager-link { display: block; padding: 1.1rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; font: 450 1.2rem/1.3 var(--serif); transition: border-color .2s, box-shadow .2s; }
.pager-link:hover { border-color: var(--sea); box-shadow: var(--shadow); color: var(--sea); }
.pager-link span { display: block; font: 600 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.pager-next { text-align: right; grid-column: 2; }
.pager-next span::after { content: " →"; }
.pager-prev span::before { content: "← "; }

/* ---------- call to action & footer */
.cta-band { background: var(--sea); color: #fff; padding-block: clamp(3rem, 7vw, 4.5rem); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band .eyebrow { color: #f6c7b1; }
.cta-band h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin-bottom: .3em; }
.cta-band p { margin: 0; opacity: .92; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-actions .btn-ghost-light { overflow-wrap: anywhere; }

.site-footer { background: var(--sea-ink); color: #c9d6d8; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-mark { color: #9cc5d3; }
.site-footer .brand-mark .sun { color: #f0a988; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-h { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8fb0b8; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; display: grid; gap: .45rem; }
.footer-list span { color: #8fb0b8; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: .9rem; }
.footer-base p { margin: 0; }
@media (max-width: 64rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 30rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 20 24 / .94); color: #fff; }
.lightbox::backdrop { background: rgb(10 20 24 / .6); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lb-in .2s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 3.5rem 4.5rem 1rem; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.lb-caption { margin: 0; padding: .75rem 1.5rem 1.5rem; text-align: center; font: italic 400 1.08rem/1.45 var(--serif); color: #e6ecec; min-height: 3.5rem; }
.lb-count { font: 500 .85rem var(--sans); font-style: normal; color: #9fb2b5; margin-left: .5rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgb(255 255 255 / .22); }
.lb-btn svg { width: 1.4rem; height: 1.4rem; }
.lb-close { top: .75rem; right: .75rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 40rem) {
  .lb-stage { padding: 3.75rem .5rem .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: .75rem; transform: none; }
  .lb-caption { padding-inline: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .cta-band, .pager, .site-footer { display: none; }
  .page-hero, .home-hero { min-height: 0; color: var(--ink); background: none; }
  .page-hero-img, .home-hero-img, .home-hero::after, .page-hero::after { display: none; }
}
