:root {
  --bg: #fdfdfc;
  --surface: #f2efea;
  --text: #36322e;
  --muted: #6b655e;
  --line: #ddd7cf;
  --accent: #8a5a3c;
  --accent-text: #fff;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-block; text-align: center; font: 500 1.25rem/1 var(--sans); text-decoration: none; letter-spacing: .01em; }
.brand span { display: block; margin: 5px -.18em 0 0; font: 500 .7rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); font-size: .9rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--text); }
nav .nav-cta { color: var(--text); border-bottom: 1px solid var(--text); }
@media (max-width: 640px) {
  nav a:not(.nav-cta) { display: none; }
}

/* Shared */
section { scroll-margin-top: 64px; padding:clamp(56px, 9vw, 112px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.35rem); margin-bottom: clamp(24px, 4vw, 40px); }
.button {
  display: inline-block; border: 0; cursor: pointer;
  padding: 14px 28px; background: var(--text); color: var(--bg);
  font: 500 .85rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.button:hover { background: var(--accent); color: var(--accent-text); }
.button[disabled] { opacity: .6; cursor: wait; }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-top: clamp(40px, 6vw, 80px);
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 500; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); white-space: nowrap; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 34ch; margin: 0 0 32px; }
.hero-image { margin: 0; }
.hero-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { order: -1; margin: 0 calc(var(--gutter) * -1); }
}

/* Gallery: masonry columns keep each photo's own shape */
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery a { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; transition: transform .5s ease, opacity .3s; }
.gallery a:hover img { transform: scale(1.025); }
.gallery a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* About */
.about { border-top: 1px solid var(--line); }
.about-copy { max-width: 62ch; font-size: 1.08rem; }
.about-copy p { margin: 0 0 1.1em; }

/* Session steps */
.session { border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--text); padding-top: 18px; }
.steps li::before { content: "0" counter(step); font: 500 .75rem/1 var(--sans); letter-spacing: .2em; color: var(--muted); }
.steps h3 { font-size: 1.3rem; font-weight: 500; margin: 10px 0 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
.pricing { border-top: 1px solid var(--line); }
.price { font: 500 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--sans); margin: 0 0 8px; }
.price-options { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; }
@media (max-width: 640px) { .price-options { grid-template-columns: 1fr; gap: 28px; } }
.price-option h3 { font: 500 1rem/1.3 var(--sans); margin: 0 0 6px; }
.price-option p:last-child { color: var(--muted); max-width: 42ch; margin: 0; }
.price-note { color: var(--muted); margin: 32px 0 0; }

/* Inquiry form */
.inquire { border-top: 1px solid var(--line); }
.inquire-intro { color: var(--muted); max-width: 52ch; margin: -12px 0 32px; }
form { max-width: 760px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  padding: 12px 14px; width: 100%; text-transform: none; letter-spacing: 0;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
textarea { resize: vertical; }
form .button { justify-self: start; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: #2f6b3a; }
.form-status.err { color: #a3352b; }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted);
}
.site-footer p { margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: #100e0c;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1800px); max-height: 90vh; width: auto; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #f2efea; cursor: pointer;
  font: 300 2.6rem/1 var(--sans); padding: 12px 18px; opacity: .75;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Simple text pages */
.page { max-width: 720px; }
.page h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); font-weight: 500; margin-bottom: 24px; }
.page h2 { font-size: 1.3rem; font-weight: 500; margin: 32px 0 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery img { transition: none; }
}
