/* =======================================================================
   Muskoka Brush — "Lakeside Serenity" design system
   Paintings by Cathleen Vanderpost · muskokabrush.ca
   A featherweight, hand-editable stylesheet. Colours live as CSS variables
   in :root below — change them there to re-tune the whole site.
   ======================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces */
  --canvas: #F6F1E7;   /* page background — warm 'unprimed canvas' */
  --surface: #FCF9F2;  /* raised cards, lightbox mats, scrolled header */
  --mist: #EAF1F1;     /* cool band for About / Markets, hero wash */
  --dusk: #1E2B24;     /* single moody band: the newsletter */

  /* Ink */
  --ink: #23312F;      /* headings + body (~12:1 on canvas) */
  --slate: #5C6B67;    /* captions, meta, eyebrows (~5:1) */

  /* Accents */
  --lake: #316073;     /* links, primary CTAs, focus rings (~6:1) */
  --lake-deep: #274c5b;
  --sage: #566A4E;     /* pull-quotes, pins, the Join button (~5.2:1) */
  --sage-deep: #435640;

  /* Decorative only — never carry text */
  --blush: #EBCBC7;
  --taupe: #E7DECB;    /* hairlines, borders */
  --blush-ink: #B26E6A;/* AA-safe warm interactive cousin of blush */

  /* Type */
  --serif: 'Cormorant Garamond', Cormorant, 'Hoefler Text', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 6px 18px -12px rgba(35, 49, 47, 0.4);
  --shadow-md: 0 22px 45px -28px rgba(35, 49, 47, 0.55);
  --shadow-lg: 0 40px 80px -40px rgba(35, 49, 47, 0.6);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.15rem);
  line-height: 1.72;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain across everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--lake); text-decoration: none; }
a:hover { color: var(--lake-deep); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -0.01em; margin: 0; }

::selection { background: var(--blush); color: var(--ink); }

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 3000;
  background: var(--surface); color: var(--lake);
  padding: 0.7rem 1.1rem; border-radius: 10px;
  border: 1px solid var(--taupe); box-shadow: var(--shadow-md);
  font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.band { position: relative; padding-block: var(--section-y); }
.band--mist { background: var(--mist); }
.band--dusk { background: var(--dusk); color: #EEF2EC; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow--light { color: #C4D0C2; }
.sprig { color: var(--sage); display: inline-flex; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(2rem, 1rem + 2.6vw, 3.1rem); }
.section-intro { color: var(--slate); font-size: 1.08rem; margin: 1.1rem 0 0; max-width: 62ch; }

/* Tapered divider between light sections */
.band + .band:not(.band--mist):not(.band--dusk)::before,
.band--mist + .band:not(.band--mist):not(.band--dusk)::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(760px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--taupe), transparent);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  min-height: 44px;
}
.btn--primary { background: var(--lake); color: #FCF9F2; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--lake-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--lake); border-color: var(--taupe); }
.btn--ghost:hover { background: var(--surface); color: var(--lake-deep); transform: translateY(-2px); border-color: var(--lake); }
.btn--join { background: var(--sage); color: #FCF9F2; white-space: nowrap; }
.btn--join:hover { background: var(--sage-deep); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn .ig-glyph { flex: none; }

.link-ghost {
  font-weight: 600; color: var(--lake);
  position: relative; padding-bottom: 2px;
}
.link-ghost::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.link-ghost:hover::after { transform: scaleX(1); }

/* =======================================================================
   Header / nav
   ======================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled] {
  background: rgba(252, 249, 242, 0.9);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--taupe);
  box-shadow: var(--shadow-sm);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }

.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); }
.wordmark:hover { color: var(--ink); }
.wordmark__mark { display: inline-flex; flex: none; }
.wordmark__text { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: 0.01em; }

.site-nav { display: flex; align-items: center; }
.site-nav__list {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.site-nav__list > li > a {
  font-family: var(--sans); font-weight: 600; color: var(--ink);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  position: relative; padding: 0.4rem 0;
}
.site-nav__list > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: var(--lake); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav__list > li > a:hover, .site-nav__list > li > a[aria-current="true"] { color: var(--lake); }
.site-nav__list > li > a:hover::after { transform: scaleX(1); }
.site-nav__ig a { display: inline-flex; color: var(--lake); padding: 0.3rem; }
.site-nav__ig a:hover { color: var(--lake-deep); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--taupe);
  border-radius: 12px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0; height: 2px; width: 100%; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =======================================================================
   Hero
   ======================================================================= */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero__copy { max-width: 42rem; }
.hero__title { font-size: clamp(2.6rem, 1.2rem + 5vw, 5rem); font-weight: 500; margin: 0.4rem 0 1.2rem; }
.hero__lede { color: var(--slate); font-size: clamp(1.1rem, 0.6vw + 1rem, 1.28rem); max-width: 40ch; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__meet { display: inline-block; margin-top: 1.4rem; font-weight: 600; color: var(--sage); }
.hero__meet:hover { color: var(--sage-deep); }

.hero__frame {
  margin: 0; background: var(--surface); padding: clamp(0.7rem, 1.5vw, 1.1rem);
  border: 1px solid var(--taupe); box-shadow: var(--shadow-lg);
  border-radius: 52% 48% 49% 51% / 47% 50% 50% 53%;
  overflow: hidden; transform: rotate(-0.6deg);
}
.hero__frame img { width: 100%; border-radius: 50% 48% 49% 51% / 46% 50% 50% 54%; }

.hero__bloom { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -1; opacity: 0.55; }
.hero__bloom--a { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -8vw; right: -6vw; background: radial-gradient(circle, var(--blush), transparent 68%); }
.hero__bloom--b { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; bottom: -14vw; left: -10vw; background: radial-gradient(circle, var(--mist), transparent 66%); opacity: 0.8; }

/* =======================================================================
   About
   ======================================================================= */
.about__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.about__portrait { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.portrait-frame {
  margin: 0; background: var(--surface); padding: 0.7rem 0.7rem 1.1rem;
  border: 1px solid var(--taupe); box-shadow: var(--shadow-md);
  transform: rotate(-1.5deg); border-radius: 6px; max-width: 360px; width: 100%;
}
.portrait-frame img { width: 100%; border-radius: 3px; }
.trust-row {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.9rem;
  padding: 0; margin: 0; font-size: 0.86rem; color: var(--slate); font-weight: 600; letter-spacing: 0.02em;
}
.trust-row li { display: inline-flex; align-items: center; }
.trust-row li:not(:last-child)::after { content: "·"; color: var(--sage); margin-left: 0.9rem; }

.about__text > p { margin: 0 0 1.15rem; max-width: 62ch; }
.about__text .section-title { margin-top: 0.2rem; }
.pull-quote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.05rem); color: var(--sage-deep);
  line-height: 1.28; margin: 1.8rem 0; padding-left: 1.3rem;
  border-left: 3px solid var(--sage); max-width: 24ch;
}
.about__thanks { color: var(--slate); font-style: italic; }
.signature {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 2rem; color: var(--ink); margin: 0.4rem 0 0 !important;
}

/* =======================================================================
   Gallery
   ======================================================================= */
/* Grid masonry. A simple auto-row grid by default (renders everywhere,
   works with JS off); JS adds .is-masonry to pack items Pinterest-style.
   NB: intentionally NOT CSS multi-column — `columns` triggers a Chromium
   paint bug that blanks SVG-in-<img> tiles. */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(1.4rem, 3vw, 2.4rem);
  row-gap: clamp(1.6rem, 3vw, 2.4rem);
  align-items: start;
}
.gallery__grid.is-masonry { grid-auto-rows: 8px; }
.gallery__item { margin: 0; display: flex; flex-direction: column; }
.gallery__frame {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: var(--surface);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery__frame::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--taupe); border-radius: var(--radius); pointer-events: none;
}
.gallery__frame { position: relative; }
.gallery__frame img { width: 100%; transition: transform 0.6s var(--ease); }
.gallery__frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery__frame:hover img { transform: scale(1.03); }
.gallery__caption { padding: 0.9rem 0.2rem 0; display: flex; flex-direction: column; gap: 0.15rem; }
.gallery__title { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.gallery__medium { font-size: 0.82rem; color: var(--slate); letter-spacing: 0.02em; }
.gallery__more { text-align: center; margin: clamp(1rem, 3vw, 2rem) 0 0; }

/* =======================================================================
   Markets
   ======================================================================= */
.market-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; max-width: 820px; }
.market-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--taupe); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.market-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.market-card__pin { color: var(--sage); flex: none; margin-top: 0.15rem; }
.market-card__name { font-size: 1.4rem; margin: 0 0 0.3rem; }
.market-card__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin: 0 0 0.5rem; font-size: 0.9rem; color: var(--slate); }
.market-card__loc { font-weight: 600; color: var(--sage-deep); }
.market-card__when { font-variant-numeric: tabular-nums; }
.market-card__note { margin: 0; color: var(--slate); font-size: 0.98rem; }
.markets__note {
  max-width: 720px; margin: 2rem 0 0; font-size: 0.95rem; color: var(--slate); font-style: italic;
}

/* =======================================================================
   Newsletter (dusk band)
   ======================================================================= */
.newsletter { overflow: hidden; }
.newsletter__inner { max-width: 620px; margin-inline: auto; text-align: center; position: relative; }
.newsletter .section-title, .newsletter__blurb { color: #F3F6F1; }
.newsletter .section-title { margin-bottom: 0.4rem; }
.newsletter__blurb { color: #CBD6C9; margin: 0 auto 2rem; max-width: 48ch; }
.newsletter__bloom {
  position: absolute; inset: auto; width: 60vw; max-width: 640px; height: 60vw; max-height: 640px;
  top: -22vw; left: 50%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(235,203,199,0.4), transparent 62%);
  filter: blur(60px); pointer-events: none; z-index: 0;
}
.newsletter__inner > * { position: relative; z-index: 1; }
.field { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
.field__input {
  flex: 1 1 260px; min-width: 0; font-family: var(--sans); font-size: 1rem;
  padding: 0.85rem 1.15rem; border-radius: 999px; border: 1px solid rgba(231,222,203,0.4);
  background: rgba(252,249,242,0.96); color: var(--ink); min-height: 44px;
}
.field__input::placeholder { color: #8a938c; }
.field__input:focus-visible { outline-offset: 2px; }
.newsletter__reassure { font-size: 0.82rem; color: #AFBDAC; margin: 1rem 0 0; }
.newsletter__status { margin: 1rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: #F3F6F1; }
.newsletter__status[data-state="error"] { font-family: var(--sans); font-style: normal; font-size: 1rem; color: #f0c9c4; }
.newsletter__form[data-sent] .field, .newsletter__form[data-sent] .newsletter__reassure { display: none; }

/* =======================================================================
   Contact
   ======================================================================= */
.contact { overflow: hidden; text-align: center; }
.contact__inner { max-width: 640px; margin-inline: auto; position: relative; z-index: 1; }
.contact__bloom {
  position: absolute; width: 54vw; max-width: 600px; height: 54vw; max-height: 600px;
  top: -18vw; right: -8vw; border-radius: 50%;
  background: radial-gradient(circle, var(--blush), transparent 64%);
  filter: blur(70px); opacity: 0.5; pointer-events: none; z-index: 0;
}
.contact__blurb { color: var(--slate); font-size: 1.1rem; margin: 1.1rem auto 2rem; max-width: 52ch; }
.contact__actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.contact__email { color: var(--slate); font-weight: 600; }
.contact__email:hover { color: var(--lake); }
.contact__fineprint { margin: 2rem auto 0; font-size: 0.9rem; color: var(--slate); max-width: 44ch; }

/* =======================================================================
   Footer
   ======================================================================= */
.site-footer { background: var(--canvas); border-top: 1px solid var(--taupe); padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.wordmark--footer .wordmark__text { font-size: 1.35rem; }
.site-footer__tag { margin: 0.7rem 0 0.2rem; color: var(--slate); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.site-footer__place { margin: 0; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.site-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.4rem; }
.site-footer__nav a {
  font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.site-footer__nav a:hover { color: var(--lake); }
.site-footer__legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--taupe); }
.site-footer__legal p { margin: 0; font-size: 0.82rem; color: var(--slate); }

/* =======================================================================
   Lightbox
   ======================================================================= */
.lightbox { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox[hidden] { display: none; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(35, 49, 47, 0.9); background: color-mix(in srgb, var(--ink) 90%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lightbox__dialog {
  position: relative; z-index: 1; background: var(--surface); border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: var(--shadow-lg);
  max-width: min(960px, 100%); max-height: 100%; overflow: auto;
  display: grid; grid-template-columns: 1fr; gap: 0.4rem;
  animation: lb-in 0.28s var(--ease);
}
@keyframes lb-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.lightbox__figure { margin: 0; display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.lightbox__img { width: 100%; border-radius: var(--radius); border: 1px solid var(--taupe); background: var(--canvas); }
.lightbox__caption { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; padding: 0 0.3rem; }
.lightbox__title { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin: 0; }
.lightbox__medium { margin: 0; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--slate); }
.lightbox__desc { margin: 0; color: var(--slate); font-size: 1rem; }
.lightbox__caption .btn { margin-top: 0.5rem; }
.lightbox__close {
  position: absolute; top: 0.6rem; right: 0.6rem; z-index: 3; width: 42px; height: 42px;
  border: 1px solid var(--taupe); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox__close:hover { background: var(--canvas); color: var(--lake); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border: 1px solid var(--taupe); border-radius: 50%;
  background: rgba(252, 249, 242, 0.94);
  background: color-mix(in srgb, var(--surface) 92%, transparent); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox__nav:hover { background: var(--surface); color: var(--lake); }
.lightbox__nav--prev { left: -0.4rem; }
.lightbox__nav--next { right: -0.4rem; }
body.no-scroll { overflow: hidden; }

/* =======================================================================
   Scroll-reveal
   ======================================================================= */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =======================================================================
   Larger screens
   ======================================================================= */
@media (min-width: 620px) {
  .contact__actions { flex-direction: row; justify-content: center; }
  .lightbox__figure { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 760px) {
  .about__grid { grid-template-columns: 340px 1fr; }
  .about__portrait { position: sticky; top: 100px; }
}

@media (max-width: 819px) {
  .nav-toggle { display: inline-flex; }
  .site-nav__list {
    position: fixed; inset: 0; top: 0; z-index: 999;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--canvas); padding: 2rem;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    height: 100dvh;
  }
  .site-nav__list[data-open] { transform: translateX(0); }
  .site-nav__list > li > a { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 1.9rem; font-weight: 500; }
  .site-nav__list > li > a::after { display: none; }
  .site-nav__ig a { font-size: 1.9rem; gap: 0.6rem; align-items: center; }
  .site-nav__ig a .ig-glyph { width: 26px; height: 26px; }
  .site-nav__ig a .visually-hidden { position: static !important; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: nowrap; font-family: var(--serif); font-weight: 500; }
}

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 0.9fr 1.1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

/* =======================================================================
   Reduced motion
   ======================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__frame, .portrait-frame { transform: none; }
}
