/* =========================================================
   HW Portraits — landing page
   Palette derived from the logo (#AAD0CF seafoam) and from
   the average tones of the photographs (warm sand / taupe).
   ========================================================= */

:root {
  /* --- brand seafoam ramp, built around the logo colour --- */
  --sea-50:  #F3FAF9;
  --sea-100: #E5F2F1;
  --sea-200: #C9E2E0;
  --sea-300: #AAD0CF;   /* the logo */
  --sea-400: #8ABAB8;
  --sea-500: #6CA19E;
  --sea-600: #558684;
  --sea-700: #416A68;
  --sea-800: #2E4C4A;
  --sea-900: #1E3433;

  /* --- warm neutrals, sampled from the photographs --- */
  --ivory:   #FBF8F3;
  --shell:   #F4EEE5;
  --sand:    #E8DBC9;
  --taupe:   #8A7565;
  --gold:    #C8A87A;

  /* --- ink --- */
  --ink:     #16221F;
  --ink-70:  #4A5A57;
  --ink-45:  #7E8C89;
  --line:    rgba(22,34,31,.12);

  --bg: var(--ivory);
  --fg: var(--ink);

  /* --- type --- */
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans:  "Jost", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* --- rhythm --- */
  --shell-w: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --sec-y: clamp(80px, 11vw, 160px);

  --r: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --slow: cubic-bezier(.16,1,.3,1);

  --header-h: 84px;
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15.5px, .35vw + 14.6px, 17px);
  line-height: 1.72;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--sea-300); color: var(--sea-900); }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--ink); color: var(--ivory);
  padding: 10px 16px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: none; }

:focus-visible {
  outline: 2px solid var(--sea-600);
  outline-offset: 3px;
}

/* ---------------- layout primitives ---------------- */
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.section { padding-block: var(--sec-y); }
/* keep anchor targets clear of the fixed header */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.eyebrow {
  margin: 0 0 18px;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sea-700);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--sea-400); flex: none;
}
.eyebrow-light { color: var(--sea-200); }
.eyebrow-light::before { background: var(--sea-300); }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: var(--sea-900);
  text-wrap: balance;
}
.section-head { max-width: 620px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-lede { margin-top: 20px; color: var(--ink-70); font-size: 1.06em; }

/* ---------------- buttons ---------------- */
.btn {
  --btn-bg: var(--sea-300);
  --btn-fg: var(--sea-900);
  --btn-bd: var(--sea-300);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd); border-radius: var(--r);
  font-size: .78rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn:hover { --btn-bg: var(--sea-400); --btn-bd: var(--sea-400); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-sm { padding: 11px 22px; font-size: .7rem; }
.btn-block { width: 100%; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--sea-900); --btn-bd: var(--sea-400); }
.btn-ghost:hover { --btn-bg: var(--sea-300); --btn-fg: var(--sea-900); --btn-bd: var(--sea-300); }
.btn-light { --btn-bg: var(--ivory); --btn-fg: var(--sea-900); --btn-bd: var(--ivory); }
.btn-light:hover { --btn-bg: var(--sea-300); --btn-bd: var(--sea-300); --btn-fg: var(--sea-900); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.14); --btn-bd: #fff; }

/* ---------------- header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex: none;
  box-shadow: 0 2px 14px rgba(22,34,31,.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-size: 1.35rem; letter-spacing: .06em;
  color: #fff; transition: color .5s var(--ease);
}
.brand-sub {
  font-size: .62rem; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-top: 4px; transition: color .5s var(--ease);
}

.nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  position: relative;
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.85); text-decoration: none;
  transition: color .35s var(--ease);
  padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--slow);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: flex; align-items: center; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 6px 2px;
  font-size: .72rem; letter-spacing: .12em;
  color: rgba(255,255,255,.6); transition: color .5s var(--ease);
}
.lang-opt { transition: color .3s var(--ease), opacity .3s var(--ease); opacity: .55; }
.lang-opt.is-on { opacity: 1; color: #fff; }
.lang-sep { opacity: .4; }

/* scrolled state */
.site-header.is-stuck {
  background: rgba(251,248,243,.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px -30px rgba(22,34,31,.6);
}
.site-header.is-stuck .brand-name { color: var(--sea-900); }
.site-header.is-stuck .brand-sub  { color: var(--ink-45); }
.site-header.is-stuck .nav a      { color: var(--ink-70); }
.site-header.is-stuck .nav a:hover,
.site-header.is-stuck .nav a.is-current { color: var(--sea-900); }
.site-header.is-stuck .lang-toggle { color: var(--ink-45); }
.site-header.is-stuck .lang-opt.is-on { color: var(--sea-900); }
.site-header.is-stuck .burger span { background: var(--sea-900); }

.burger {
  display: none; width: 40px; height: 34px; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 7px;
}
.burger span {
  display: block; height: 1.5px; width: 26px; background: #fff; margin-inline: auto;
  transition: transform .4s var(--slow), opacity .25s var(--ease), background .5s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-4.25px) rotate(-45deg); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(90px, 12vh, 150px);
  overflow: hidden;
  background: var(--sea-900);
  isolation: isolate;
}
.hero-fallback, .hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s var(--ease);
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero-slide.is-on { opacity: 1; }
/* WebGL took over — keep the first frame as a safety net but stop animating it */
.hero-fallback.is-idle .hero-slide { animation: none; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.11); } }

.hero-canvas { opacity: 0; transition: opacity 1s var(--ease); z-index: -1; }
.hero-canvas.is-ready { opacity: 1; }

.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(15,32,30,.70) 0%, rgba(15,32,30,.22) 44%, rgba(15,32,30,.04) 70%, rgba(15,32,30,.34) 100%),
    radial-gradient(120% 80% at 50% 100%, rgba(30,52,51,.34), transparent 62%);
}

.hero-content {
  position: relative; color: #fff; max-width: 860px;
  /* the photo underneath changes every few seconds — keep the copy readable
     over the bright sky of the sunset frames as well as the dark treelines */
  text-shadow: 0 1px 26px rgba(12,26,24,.5), 0 1px 3px rgba(12,26,24,.28);
}
.hero-content .btn { text-shadow: none; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 8.4vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 26px;
}
.hero-title .line { display: block; }
.hero-title .accent { font-style: italic; color: var(--sea-200); }
.hero-lede {
  max-width: 540px; font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: rgba(255,255,255,.86); margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* hero entrance */
.hero-content > * {
  opacity: 0; transform: translateY(26px);
  animation: rise 1.15s var(--slow) forwards;
}
.hero-content > :nth-child(1) { animation-delay: .25s; }
.hero-content > :nth-child(2) { animation-delay: .38s; }
.hero-content > :nth-child(3) { animation-delay: .55s; }
.hero-content > :nth-child(4) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gut);
}
.scroll-cue { display: flex; align-items: center; gap: 12px; }
.scroll-line {
  display: block; width: 1px; height: 54px; background: rgba(255,255,255,.28); position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  animation: trickle 2.6s var(--ease) infinite;
}
@keyframes trickle {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 26px; height: 2px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,.32); transition: background .4s var(--ease), transform .4s var(--ease);
}
.hero-dots button.is-on { background: var(--sea-300); transform: scaleY(2); }

/* ---------------- marquee ---------------- */
.marquee {
  background: var(--sea-300); color: var(--sea-900);
  padding-block: 16px; overflow: hidden;
  border-block: 1px solid rgba(30,52,51,.08);
}
.marquee-track {
  display: flex; align-items: center; gap: 30px; width: max-content;
  animation: slide 42s linear infinite;
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: .04em;
}
.marquee-track i { font-style: normal; font-size: .68rem; opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------- frames ---------------- */
.frame {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--shell);
}
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--slow);
}
.frame:hover img { transform: scale(1.045); }

/* ---------------- story ---------------- */
.story-grid {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1fr);
  gap: clamp(40px, 7vw, 96px); align-items: center;
}
.story-media { position: relative; }
.frame-tall { aspect-ratio: 3/4; }
.float-card {
  position: absolute; right: -28px; bottom: -40px;
  width: 52%; aspect-ratio: 3/2;
  border: 8px solid var(--ivory);
  box-shadow: 0 30px 60px -34px rgba(22,34,31,.55);
}
.story-copy .h2 { margin-bottom: 24px; }
.story-copy p { color: var(--ink-70); }

.pillars { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 26px; }
.pillars li { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: start; }
.pillar-n {
  grid-row: span 2;
  font-family: var(--serif); font-size: 1.1rem; color: var(--sea-500);
  border: 1px solid var(--sea-200); border-radius: 50%;
  width: 44px; height: 44px; display: grid; place-items: center;
}
.pillars h3 { font-size: 1rem; letter-spacing: .04em; font-weight: 500; color: var(--sea-900); }
.pillars p { font-size: .95em; color: var(--ink-70); margin: 4px 0 0; }

/* ---------------- gallery ---------------- */
.gallery-section { background: var(--shell); }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  grid-auto-flow: dense;
}
.g-item {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--sand);
  border: 0; padding: 0; margin: 0; cursor: pointer; display: block;
  grid-column: span 2;
}
/* The portrait item sets each row's height; the landscape one beside it
   stretches to match, so every row lines up top and bottom. */
.g-item.g-tall    { grid-column: span 2; aspect-ratio: 2/3; }
.g-item.g-wide    { grid-column: span 4; }
.g-item.g-feature { grid-column: 1 / -1; aspect-ratio: 12/5; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--slow), opacity .8s var(--ease), filter 1.5s var(--slow);
  opacity: 0;
}
.g-item img.is-loaded { opacity: 1; }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,52,51,.55), transparent 55%);
  opacity: 0; transition: opacity .6s var(--ease);
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after { opacity: 1; }
.g-cap {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2;
  color: #fff; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .6s var(--slow);
  text-align: left;
}
.g-item:hover .g-cap { opacity: 1; transform: none; }

/* ---------------- quote band ---------------- */
.band {
  background: var(--sea-600); color: var(--sea-100);
  padding-block: clamp(70px, 10vw, 130px);
  position: relative; overflow: hidden;
}
.band::before {
  content: "”";
  position: absolute; top: -.18em; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 26rem; line-height: 1;
  color: rgba(170,208,207,.07); pointer-events: none;
}
.band-inner { position: relative; text-align: center; }
.quote-viewport { display: grid; }
.quote {
  grid-area: 1/1; margin: 0; max-width: 760px; justify-self: center;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .8s var(--ease), transform .8s var(--slow);
}
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.15rem); line-height: 1.42;
  color: #fff; text-wrap: balance;
}
.quote cite {
  display: block; margin-top: 26px; font-style: normal;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sea-300);
}
.quote-nav { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }
.quote-nav button {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid var(--sea-400); background: transparent;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.quote-nav button.is-on { background: var(--sea-300); border-color: var(--sea-300); transform: scale(1.25); }

/* ---------------- offers ---------------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); align-items: start; }
.offer {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(30px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .6s var(--slow), box-shadow .6s var(--slow), border-color .6s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -50px rgba(22,34,31,.6); border-color: var(--sea-200); }
.offer.is-featured { background: var(--sea-50); border-color: var(--sea-300); }
.offer-flag {
  position: absolute; top: -12px; left: clamp(30px, 3vw, 44px);
  background: var(--sea-300); color: var(--sea-900);
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r);
  box-shadow: 0 2px 10px rgba(22,34,31,.14);
}
.offer h3 {
  font-family: var(--serif); font-size: 1.85rem; color: var(--sea-900); letter-spacing: -.005em;
}
.offer-price { margin: 6px 0 14px; color: var(--ink-45); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.offer-price strong {
  display: block; margin-top: 4px;
  font-family: var(--serif); font-size: 2.1rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--sea-700);
}
.offer-desc { color: var(--ink-70); font-size: .96em; }
.offer ul { list-style: none; margin: 8px 0 30px; padding: 0; display: grid; gap: 11px; flex: 1; }
.offer li {
  position: relative; padding-left: 26px; font-size: .95em; color: var(--ink-70);
}
.offer li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 10px; height: 6px; border-left: 1.5px solid var(--sea-500); border-bottom: 1.5px solid var(--sea-500);
  transform: rotate(-45deg);
}
.offer .btn { align-self: stretch; }

.offer-note {
  margin-top: clamp(28px, 3.6vw, 44px);
  max-width: 560px;
  text-align: center;
  color: var(--ink-45);
  font-size: .82rem;
  letter-spacing: .02em;
}

/* ---------------- contact ---------------- */
.contact { background: var(--shell); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.92fr);
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.contact-copy .h2 { margin-bottom: 22px; }
.contact-copy p { color: var(--ink-70); }
.contact-facts { margin: 34px 0 0; display: grid; gap: 18px; }
.contact-facts > div { display: grid; gap: 3px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-facts dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sea-300); }
.contact-facts dd { margin: 0; color: var(--sea-900); }
.contact-facts a { text-decoration: none; border-bottom: 1px solid var(--sea-300); }
.contact-facts a:hover { border-color: var(--sea-700); }
.contact-photo { margin-top: 36px; aspect-ratio: 5/4; }

.contact-form {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 3.4vw, 44px);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sea-700); }
.field input, .field select, .field textarea {
  width: 100%; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 13px 15px; font-size: .96em;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #B6BEBB; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sea-400);
  box-shadow: 0 0 0 3px rgba(170,208,207,.35);
}
.field input:user-invalid { border-color: #C97B6B; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .78rem; color: var(--ink-45); margin: -4px 0 0; }
.form-status { margin: 0; font-size: .85rem; color: var(--sea-700); min-height: 1.4em; }
.form-status.is-error { color: #B4614F; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--sea-600); color: var(--sea-200); padding-block: clamp(50px, 6vw, 76px); }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 32px 40px; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.footer-brand p { margin: 0; font-size: .9rem; max-width: 300px; color: var(--sea-300); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--sea-200); opacity: .8; transition: opacity .3s var(--ease);
}
.footer-nav a:hover { opacity: 1; }
.footer-legal {
  grid-column: 1/-1; margin: 0; padding-top: 26px; border-top: 1px solid rgba(170,208,207,.16);
  font-size: .76rem; letter-spacing: .06em; color: rgba(201,226,224,.6);
}

/* ---------------- lightbox ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(13,26,25,.94);
  display: grid; place-items: center; padding: clamp(16px, 5vw, 64px);
  opacity: 0; transition: opacity .4s var(--ease);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { margin: 0; display: grid; gap: 16px; justify-items: center; max-height: 100%; }
.lb-figure img {
  max-width: 100%; max-height: calc(100svh - 170px); width: auto;
  object-fit: contain; border-radius: var(--r);
  box-shadow: 0 40px 90px -40px #000;
  transform: scale(.97); opacity: 0;
  transition: transform .6s var(--slow), opacity .5s var(--ease);
}
.lightbox.is-open .lb-figure img { transform: none; opacity: 1; }
.lb-figure figcaption {
  color: var(--sea-200); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-align: center;
}
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; cursor: pointer; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 20px; right: 20px; width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; }
.lb-nav { top: 50%; margin-top: -26px; width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lb-prev { left: clamp(10px, 2.5vw, 34px); }
.lb-next { right: clamp(10px, 2.5vw, 34px); }
body.lb-open { overflow: hidden; }

/* ---------------- scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(34px); }
.reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 1s var(--ease), transform 1.1s var(--slow);
}
.g-item.reveal { transform: translateY(28px) scale(.985); }
.g-item.reveal.is-visible { transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 520px; }
  .float-card { right: -14px; bottom: -26px; }
  .contact-grid { grid-template-columns: 1fr; }
  /* stacked cards need room for the "most chosen" flag that overhangs the top */
  .offer-grid { grid-template-columns: 1fr; max-width: 560px; gap: 34px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .g-item, .g-item.g-tall { grid-column: span 2; }
  /* a landscape item now owns its row, so it needs its own height again */
  .g-item.g-wide { grid-column: span 4; aspect-ratio: 3/2; }
}

@media (max-width: 780px) {
  :root { --header-h: 70px; }
  .burger { display: flex; }
  .header-actions .btn-sm { display: none; }

  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    background: var(--sea-900);
    clip-path: circle(0% at calc(100% - 42px) 35px);
    transition: clip-path .7s var(--slow);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 42px) 35px); }
  .nav a {
    font-family: var(--serif); font-size: 2rem; letter-spacing: .02em; text-transform: none;
    color: var(--sea-100); padding-block: 12px;
    opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--slow);
  }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(1) { transition-delay: .16s; }
  .nav.is-open a:nth-child(2) { transition-delay: .22s; }
  .nav.is-open a:nth-child(3) { transition-delay: .28s; }
  .nav.is-open a:nth-child(4) { transition-delay: .34s; }
  .nav.is-open a:nth-child(5) { transition-delay: .4s; }
  .nav a::after { display: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header .burger span { background-color: #fff; }
  body.nav-open .site-header .brand-name { color: #fff; }
  body.nav-open .site-header.is-stuck { background: transparent; backdrop-filter: none; box-shadow: none; }
  body.nav-open .site-header.is-stuck .brand-name { color: #fff; }
  body.nav-open .site-header.is-stuck .brand-sub { color: rgba(255,255,255,.7); }
  body.nav-open .site-header.is-stuck .lang-toggle { color: rgba(255,255,255,.6); }
  body.nav-open .site-header.is-stuck .lang-opt.is-on { color: #fff; }

  .hero { padding-bottom: 120px; }
  .hero-foot { bottom: 22px; }
  .scroll-cue { display: none; }
  .hero-dots { margin-inline: auto; }
  .row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .float-card { width: 58%; border-width: 6px; }
  .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .g-item, .g-item.g-tall, .g-item.g-wide { grid-column: span 2; }
  .g-item.g-wide { aspect-ratio: 3/2; }
  .g-item.g-feature { aspect-ratio: 4/3; }
  .float-card { display: none; }
  .story-media { max-width: none; }
  .hero-cta .btn { width: 100%; }
}

/* ---------------- motion preferences ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-content > * { opacity: 1; transform: none; }
  .g-item img { opacity: 1; }
}
