/* Hannah Leigh Photography
   Palette pulled from the places in her photos: porch-column white,
   longleaf pine, Spanish moss, and the gold of a late-afternoon sun. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fcfcfa;
  --moss: #eceee7;
  --line: #d9ddd5;
  --ink: #1e2a23;
  --ink-soft: #56625a;
  --pine: #263a2e;
  --pine-deep: #1b2a21;
  --gold: #c69440;
  --gold-ink: #8a6220;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2rem;
  --step-4: clamp(2.25rem, 4.5vw, 3.25rem);
  --step-5: clamp(2.75rem, 7vw, 5rem);

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 340;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 400; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }

.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: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; font-family: var(--sans); font-size: var(--step--1);
  border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.section { padding-block: clamp(64px, 10vw, 128px); }
.section--moss { background: var(--moss); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p { max-width: 46ch; color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  font-family: var(--sans); font-size: var(--step-0); font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--pine); color: var(--paper);
  border: 1px solid var(--pine); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); }
.btn--light { background: var(--paper); color: var(--pine); border-color: var(--paper); }
.btn--light:hover { background: var(--moss); border-color: var(--moss); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--moss); border-color: var(--moss); }

.text-link {
  font-family: var(--sans); font-size: var(--step-0); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-underline-offset .2s;
}
.text-link:hover { text-underline-offset: 3px; }

.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Unfilled config values show as obvious placeholders so nothing ships blank. */
.todo {
  font-family: var(--sans); font-size: 0.85em; font-style: normal;
  background: #fff1c2; color: #6b4a0c;
  outline: 1px dashed var(--gold-ink); outline-offset: 1px;
  padding: 0 4px; border-radius: 2px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
}
body.nav-open .site-header::before { background: var(--paper); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark {
  display: inline-flex; align-items: baseline; gap: 10px;
  text-decoration: none; white-space: nowrap;
}
.wordmark__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
.wordmark__trade { font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.nav a:not(.btn) {
  font-family: var(--sans); font-size: 0.9375rem; text-decoration: none;
  padding-block: 6px; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--gold); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 999px;
  min-height: 42px; padding: 0 18px;
  font-family: var(--sans); font-size: 0.9375rem; cursor: pointer;
}

@media (max-width: 860px) {
  .wordmark__trade { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--paper);
    visibility: hidden; opacity: 0;
    transition: opacity .2s, visibility 0s .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity .2s; }
  .nav a:not(.btn) {
    width: 100%; font-family: var(--serif); font-size: 2rem;
    padding-block: 14px; border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); color: var(--gold-ink); }
  .nav .btn { margin-top: 28px; min-height: 52px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Home hero: the colonnade ---------- */

.hero { padding-top: clamp(20px, 3vw, 36px); }

.colonnade {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1.4vw, 20px);
  height: clamp(340px, 58vh, 680px);
}
.colonnade figure {
  margin: 0; overflow: hidden; background: var(--moss);
}
.colonnade img { width: 100%; height: 100%; object-fit: cover; }

.hero-floor {
  border-top: 1px solid var(--ink);
  margin-top: clamp(8px, 1.4vw, 20px);
  padding-top: clamp(16px, 2vw, 24px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px 40px;
}
.hero-name {
  font-size: clamp(3.25rem, 9vw, 8.75rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.92;
  margin-left: -0.04em;
  white-space: nowrap;
}
.hero-name small {
  display: block;
  font-family: var(--sans); font-size: clamp(0.8125rem, 1.1vw, 1rem);
  font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 0 0 clamp(10px, 1.2vw, 16px) 0.3em;
}
.hero-aside { max-width: 34ch; padding-bottom: 0.6em; }
.hero-aside p { color: var(--ink-soft); margin-bottom: 20px; }

/* One orchestrated moment: the columns rise from the porch floor, left to right. */
@media (prefers-reduced-motion: no-preference) {
  .js .colonnade figure { animation: rise 1.1s var(--ease) both; }
  .js .colonnade figure:nth-child(2) { animation-delay: .09s; }
  .js .colonnade figure:nth-child(3) { animation-delay: .18s; }
  .js .colonnade figure:nth-child(4) { animation-delay: .27s; }
  .js .colonnade figure:nth-child(5) { animation-delay: .36s; }
  .js .colonnade img { animation: settle 1.6s var(--ease) both; }
  .js .hero-floor { animation: fade .9s .55s var(--ease) both; }
}
@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .colonnade { grid-template-columns: repeat(3, 1fr); height: clamp(300px, 56vh, 520px); }
  .colonnade figure:nth-child(1), .colonnade figure:nth-child(5) { display: none; }
  .js .colonnade figure:nth-child(3) { animation-delay: .09s; }
  .js .colonnade figure:nth-child(4) { animation-delay: .18s; }
  .hero-floor { grid-template-columns: 1fr; }
  .hero-aside { padding-bottom: 0; }
}

/* ---------- Intro ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.intro__photo { max-width: 440px; overflow: hidden; }
.intro__text h2 { margin-bottom: 24px; }
.intro__text p { max-width: 54ch; }
@media (max-width: 760px) {
  .intro { grid-template-columns: 1fr; }
  .intro__photo { max-width: 320px; }
}

/* ---------- Sessions list with hover preview ---------- */

.offer {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.offer__preview {
  position: sticky; top: calc(var(--header-h) + 32px);
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--line);
}
.offer__preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s var(--ease);
}
.offer__preview img.is-active { opacity: 1; }

.offer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.offer__list li { border-bottom: 1px solid var(--line); }
.offer__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  padding: clamp(20px, 2.6vw, 30px) 0;
  text-decoration: none;
}
.offer__row h3 { font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 340; transition: color .2s; }
.offer__row p { grid-column: 1; margin: 0; color: var(--ink-soft); font-size: var(--step-0); font-family: var(--sans); }
.offer__price {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right;
  font-family: var(--sans); font-size: var(--step--1); color: var(--ink-soft);
}
.offer__price strong { display: block; font-family: var(--serif); font-size: var(--step-2); font-weight: 400; color: var(--ink); }
.offer__row:hover h3, .offer__row:focus-visible h3, .offer__row.is-active h3 { color: var(--gold-ink); }
.offer__thumb { display: none; }

@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; }
  .offer__preview { display: none; }
  .offer__row { grid-template-columns: 76px 1fr; align-items: center; gap: 4px 16px; }
  .offer__thumb { display: block; grid-row: 1 / span 3; width: 76px; aspect-ratio: 4 / 5; object-fit: cover; }
  .offer__row h3, .offer__row p, .offer__price { grid-column: 2; }
  .offer__price { grid-row: auto; text-align: left; }
  .offer__price strong { display: inline; font-size: var(--step-0); font-family: var(--sans); font-weight: 600; }
}

/* ---------- Photo grid (masonry) ---------- */

/* Without JS: simple CSS columns. With JS: photos placed in reading order
   into the shortest column, so rows read left to right and columns end level. */
.masonry { --gap: clamp(8px, 1.4vw, 18px); columns: 3 300px; column-gap: var(--gap); }
.masonry > .tile { break-inside: avoid; margin-bottom: var(--gap); }
.masonry.is-laid { columns: auto; display: flex; align-items: flex-start; gap: var(--gap); }
.masonry__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.masonry[data-filtering] .tile { animation: fade .45s var(--ease) both; }
.tile { display: block; position: relative; overflow: hidden; background: var(--moss); cursor: zoom-in; }
.tile img { width: 100%; transition: transform .8s var(--ease), opacity .3s; }
.tile:hover img { transform: scale(1.025); }
.tile[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .tile img, .masonry[data-filtering] .tile { transition: none; animation: none; }
  .tile:hover img { transform: none; }
}

.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.filters button {
  min-height: 42px; padding: 0 18px;
  font-family: var(--sans); font-size: 0.9375rem;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.filters button:hover { border-color: var(--ink-soft); }
.filters button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.filters .count { opacity: .6; margin-left: 6px; font-variant-numeric: tabular-nums; }

/* ---------- Steps (a real sequence, so numbers earn their place) ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 20px; }
.steps li::before {
  content: counter(step);
  display: block; font-family: var(--serif); font-size: 2.75rem; font-weight: 300;
  line-height: 1; color: var(--gold-ink); margin-bottom: 18px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { font-size: var(--step-0); color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials (only appear once real ones are added) ---------- */

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 64px); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-size: var(--step-2); line-height: 1.4; font-weight: 340; }
.quotes cite { font-family: var(--sans); font-style: normal; font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Closing band ---------- */

.closing { background: var(--pine); color: var(--paper); }
.closing .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 64px; align-items: end;
}
.closing h2 { font-size: var(--step-5); font-weight: 300; letter-spacing: -0.03em; }
.closing p { color: color-mix(in srgb, var(--paper) 78%, transparent); max-width: 44ch; margin: 20px 0 0; }
.closing .actions a.text-link { color: var(--paper); }
@media (max-width: 760px) { .closing .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--pine-deep); color: color-mix(in srgb, var(--paper) 80%, transparent); padding-block: 56px 40px; font-family: var(--sans); font-size: var(--step--1); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid .wordmark__name { color: var(--paper); }
.footer-grid h2 { font-family: var(--sans); font-size: var(--step--1); font-weight: 500; letter-spacing: 0.02em; color: color-mix(in srgb, var(--paper) 60%, transparent); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid p { margin: 12px 0 0; max-width: 36ch; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Inner page header ---------- */

.page-head { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: -0.03em; }
.page-head p { font-size: var(--step-2); line-height: 1.4; color: var(--ink-soft); max-width: 36ch; margin: 20px 0 0; font-weight: 340; }

/* ---------- Sessions page ---------- */

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a {
  font-family: var(--sans); font-size: 0.9375rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
}
.jump a:hover { border-color: var(--ink-soft); }

.session {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.session:nth-of-type(even) .session__photo { order: 2; }
.session__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss); }
.session__photo img { width: 100%; height: 100%; object-fit: cover; }
.session h2 { margin-bottom: 18px; }
.session__body > p { max-width: 50ch; }
.details {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 32px;
  margin: 28px 0 32px; padding: 20px 0; border-block: 1px solid var(--line);
  font-family: var(--sans); font-size: var(--step-0);
}
.details dt { color: var(--ink-soft); }
.details dd { margin: 0; }
.details .price { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; }
@media (max-width: 760px) {
  .session { grid-template-columns: 1fr; }
  .session:nth-of-type(even) .session__photo { order: 0; }
  .session__photo { max-width: 480px; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 860px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: var(--step-2); font-weight: 340; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; max-width: 64ch; color: var(--ink-soft); }

/* ---------- About ---------- */

.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
  padding-bottom: clamp(64px, 10vw, 128px);
}
.about__photo { position: sticky; top: calc(var(--header-h) + 24px); overflow: hidden; }
.about__text { padding-top: clamp(0px, 4vw, 48px); }
.about__text h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 32px; }
.about__text p { max-width: 54ch; }
.pull {
  margin: 48px 0; padding-left: 24px; border-left: 2px solid var(--gold);
  font-size: var(--step-3); line-height: 1.25; font-weight: 300; letter-spacing: -0.01em;
}
.pull p { margin: 0; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 420px; }
}

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.trio img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
@media (max-width: 560px) { .trio { grid-template-columns: repeat(2, 1fr); } .trio > :nth-child(3) { display: none; } }

/* ---------- Contact ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  padding-bottom: clamp(64px, 10vw, 128px);
}
.contact__info h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 24px; }
.contact__info > p { color: var(--ink-soft); max-width: 38ch; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); font-family: var(--sans); font-size: var(--step-0); }
.contact__list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__list span:first-child { color: var(--ink-soft); }
.contact__photo { margin-top: 40px; max-width: 280px; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; }
  .contact__photo { display: none; }
}

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; font-family: var(--sans); }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.field .hint { font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 35%, transparent);
}
.field .error { display: none; color: #9b2c1f; font-size: var(--step--1); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #9b2c1f; }
.field.is-invalid .error { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__foot p { margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.form__status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 6px; background: #fbe9e6; color: #7a2216; font-size: var(--step-0); }
.form__status[hidden] { display: none; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Simple centered pages (thank you, 404) ---------- */

.notice { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notice h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 20px; }
.notice p { color: var(--ink-soft); max-width: 44ch; margin-inline: auto; }
.notice .actions { justify-content: center; margin-top: 32px; }

/* ---------- Scroll reveals ----------
   Content eases up into place as it scrolls into view. Grids stagger
   (the delay is set per element by main.js). Photos settle from a slight
   zoom, echoing the hero. Nothing here applies without JS or with
   reduced motion, so the page is always complete at rest. */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translate3d(0, var(--rise, 28px), 0);
    transition:
      opacity .9s var(--ease) var(--d, 0ms),
      transform 1.1s var(--ease) var(--d, 0ms);
    will-change: opacity, transform;
  }
  .js .reveal.is-in { opacity: 1; transform: none; will-change: auto; }

  .js .tile.reveal:not(.is-in) img,
  .js .session__photo.reveal:not(.is-in) img,
  .js .intro__photo.reveal:not(.is-in) img,
  .js .about__photo.reveal:not(.is-in) img { transform: scale(1.06); }
  .session__photo img, .intro__photo img, .about__photo img {
    transition: transform 1.4s var(--ease), opacity .6s ease;
  }

  /* Lazy photos fade in once loaded instead of popping in. */
  .js img.img-pending { opacity: 0; }
  img { transition: opacity .6s ease; }

  /* Page to page: a soft crossfade while the header stays put. */
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: vt-out .28s ease both; }
  ::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 760px) {
  .js .reveal { --rise: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(20, 28, 23, 0.96); color: var(--paper);
  overscroll-behavior: contain;
}
.lightbox::backdrop { background: rgba(20, 28, 23, 0.96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); font-family: var(--sans); font-size: var(--step--1); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 96px); touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; transition: opacity .25s; }
.lightbox__stage img.is-loading { opacity: .25; }
.lightbox__caption { padding: 12px var(--gutter) 20px; text-align: center; font-family: var(--sans); font-size: var(--step--1); color: color-mix(in srgb, var(--paper) 70%, transparent); min-height: 3em; }
.lb-btn {
  background: none; border: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); color: var(--paper);
  border-radius: 999px; min-width: 44px; min-height: 44px; padding: 0 16px;
  font-family: var(--sans); font-size: 0.9375rem; cursor: pointer;
}
.lb-btn:hover { background: color-mix(in srgb, var(--paper) 10%, transparent); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; padding: 0; display: grid; place-items: center; }
.lb-prev { left: clamp(8px, 2vw, 32px); }
.lb-next { right: clamp(8px, 2vw, 32px); }
.lb-prev svg, .lb-next svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .lb-prev, .lb-next { top: auto; bottom: -56px; transform: none; } .lightbox__caption { padding-inline: 72px; } }
