/* By Grace Creative — contact-sheet look: film strip, mono frame labels, uncropped photos. */
:root {
  --bg: #efede9; --surface: #f7f6f3; --fg: #2a2723; --muted: #6c665e; --line: #d6d1c9;
  --accent: #6b5f52; --accent-ink: #ffffff; --film: #1f1d1a; --film-ink: #c8bfb2;
  --ok: #4f7a4a; --warn: #a3732a; --bad: #9a4b3f;
  --scrim: rgba(14, 15, 13, 0.95); --scrim-ink: #ecebe4;
  --f-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --s-xs: 0.78rem; --s-sm: 0.9rem; --s-md: 1.0625rem; --s-lg: 1.3rem;
  --s-xl: clamp(1.9rem, 3.6vw, 2.75rem); --s-xxl: clamp(2.5rem, 6.4vw, 5.1rem);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #171614; --surface: #1f1e1b; --fg: #ebe7e0; --muted: #a39c92; --line: #34312c; --accent: #c9bba8; --accent-ink: #1a1815; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #171614; --surface: #1f1e1b; --fg: #ebe7e0; --muted: #a39c92; --line: #34312c; --accent: #c9bba8; --accent-ink: #1a1815; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: var(--s-md); line-height: 1.6; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.empty { color: var(--muted); }

/* Promo bar */
.promo-bar { background: var(--fg); color: var(--bg); }
.promo-bar .wrap { padding-block: 0.6rem; font-size: var(--s-sm); display: flex; gap: 0.5rem 0.75rem; flex-wrap: wrap; align-items: baseline; }
.promo-bar strong { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.1rem; }
.promo-bar .until { font-family: var(--f-mono); font-size: var(--s-xs); opacity: 0.8; }
.promo-bar a { margin-left: auto; font-weight: 600; }

/* Header */
.top .wrap { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; flex-wrap: wrap; padding-block: 1.3rem; }
.mark { text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.55rem; }
.mark b { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.75rem; letter-spacing: -0.01em; }
.mark span { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: var(--s-sm); color: var(--muted); padding-block: 0.2rem; }
nav a:hover, nav a[aria-current] { color: var(--fg); }
nav a[aria-current] { text-decoration: underline; text-underline-offset: 0.35em; }
nav a.cta { color: var(--accent); font-weight: 600; }
@media (max-width: 520px) { .top .wrap { padding-block: 1rem; } nav { gap: 0.9rem; } nav a.cta { display: none; } }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; padding-block: clamp(1.5rem, 4vw, 3.5rem) 2.5rem; }
.hero h1 { font-size: var(--s-xxl); letter-spacing: -0.02em; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; padding-bottom: 2rem; }
.hero-copy p { color: var(--muted); max-width: 44ch; font-size: var(--s-lg); line-height: 1.5; }
.hero-copy .avail-line { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.8rem 1.35rem; border-radius: 2px; text-decoration: none; font-weight: 600; font-size: var(--s-sm); border: 1px solid var(--fg); font-family: var(--f-body); cursor: pointer; background: transparent; color: var(--fg); }
.btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hero-shot { margin: 0; min-width: 0; }
.hero-shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--film); }
.meta { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-copy { padding-bottom: 0; } }

/* Film strip */
.strip { background: var(--film); position: relative; padding-block: 24px; }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: repeating-linear-gradient(90deg, transparent 0 14px, #d8d2c0 14px 24px, transparent 24px 34px); opacity: 0.5; }
.strip::before { top: 7px; } .strip::after { bottom: 7px; }
.strip .wrap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.strip figure { margin: 0; min-width: 0; }
.strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.strip figcaption { font-family: var(--f-mono); font-size: 0.68rem; color: var(--film-ink); letter-spacing: 0.1em; margin-top: 6px; }
@media (max-width: 720px) { .strip .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); } .strip figure:nth-child(n+4) { display: none; } }

/* Sections */
section.block .wrap { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
section.page .wrap { padding-top: clamp(1rem, 3vw, 2.5rem); }
.head { display: grid; gap: 0.7rem; margin-bottom: 2rem; max-width: 60ch; }
.head h1, .head h2 { font-size: var(--s-xl); }
.head p { color: var(--muted); }
section.block + section.block .wrap { border-top: 1px solid var(--line); }
.more { margin-top: 2rem; }

/* Gallery */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.chip { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.45rem 0.85rem; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; text-decoration: none; }
.chip[aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
/* Uniform grid: every tile 4:5; landscape photos take two columns (8:5) so they're barely cropped. Tap = full photo. */
.sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; container-type: inline-size; }
.sheet figure { margin: 0; min-width: 0; }
.sheet figure.wide { grid-column: span 2; }
.sheet button.open { all: unset; display: block; width: 100%; cursor: zoom-in; overflow: hidden; background: var(--film); }
.sheet button.open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Every tile is exactly one column-width × 1.25 tall (incl. the two-column ones), so captions line up across a row. */
.sheet img { width: 100%; height: calc((100cqw - 2.5rem) / 3 * 1.25); object-fit: cover; }
@supports not (width: 1cqw) { .sheet img { height: auto; aspect-ratio: 4 / 5; } .sheet figure.wide img { aspect-ratio: 8 / 5; } }
.sheet figcaption { margin-top: 0.55rem; display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.sheet figcaption .t { font-size: var(--s-sm); font-weight: 500; }
.sheet figcaption .n { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) { .sheet img { transition: transform 0.6s ease; } .sheet button.open:hover img { transform: scale(1.025); } }
@media (max-width: 600px) { .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 0.6rem; } .sheet img { height: calc((100cqw - 0.6rem) / 2 * 1.25); } .sheet figcaption { margin-top: 0.35rem; } .sheet figcaption .n { display: none; } }

/* Sessions */
.sessions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--fg); }
.session { padding: 1.5rem 1.5rem 1.75rem 0; display: grid; gap: 0.9rem; align-content: start; min-width: 0; }
.session + .session { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.session h2, .session h3 { font-size: 1.75rem; }
.session .price { font-family: var(--f-mono); font-size: var(--s-sm); color: var(--accent); }
.session p { color: var(--muted); font-size: var(--s-sm); }
.session ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; color: var(--muted); font-size: var(--s-sm); }
.session li { display: flex; gap: 0.6rem; }
.session li::before { content: "+"; font-family: var(--f-mono); color: var(--fg); }
@media (max-width: 820px) { .sessions { grid-template-columns: minmax(0, 1fr); } .session, .session + .session { padding: 1.4rem 0; border-left: 0; } .session + .session { border-top: 1px solid var(--line); } }
.promo-card { border: 1px solid var(--accent); padding: 1.25rem 1.5rem; margin-bottom: 2rem; display: grid; gap: 0.4rem; max-width: 60ch; }
.promo-card h2 { font-size: 1.6rem; font-style: italic; }
.promo-card .until { font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); }

/* Availability */
.avail { display: grid; gap: 1rem; }
.avail-note { color: var(--muted); }
.months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.months li { display: grid; gap: 4px; text-align: center; font-family: var(--f-mono); font-size: var(--s-xs); }
.months .mn { color: var(--muted); }
.months .ms { height: 8px; border-radius: 2px; overflow: hidden; text-indent: -999px; background: var(--ok); }
.m-limited .ms { background: var(--warn); } .m-full .ms { background: var(--bad); }
.legend { display: flex; gap: 1.25rem; font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 0.4rem; background: var(--ok); vertical-align: -1px; }
.legend .m-limited::before { background: var(--warn); } .legend .m-full::before { background: var(--bad); }
@media (max-width: 600px) { .months { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.steps li::before { content: "0" counter(s); font-family: var(--f-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--accent); }
.steps h3 { font-family: var(--f-body); font-weight: 600; font-size: var(--s-md); }
.steps p { color: var(--muted); font-size: var(--s-sm); }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.about figure { margin: 0; min-width: 0; }
.about figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.portrait-slot { aspect-ratio: 4 / 5; border: 1px dashed var(--line); background: var(--surface); display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--muted); font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.about-copy { display: grid; gap: 1.1rem; min-width: 0; max-width: 58ch; }
.about-copy h1, .about-copy h2 { font-size: var(--s-xl); }
.about-copy p { color: var(--muted); }
.placeholder { border-left: 2px solid var(--accent); padding-left: 1rem; font-style: italic; }
.handle { font-family: var(--f-mono); color: var(--fg); }
@media (max-width: 760px) { .about { grid-template-columns: minmax(0, 1fr); } .about figure { max-width: 380px; } }

/* Contact */
.book { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); }
.book-side { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.book-side h1 { font-size: var(--s-xl); }
.book-side p { color: var(--muted); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; min-width: 0; align-content: start; }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
label { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 0.7rem 0.8rem; width: 100%; min-width: 0; }
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.status { font-size: var(--s-sm); color: var(--accent); }
.sent { display: grid; gap: 0.8rem; align-content: start; }
.sent h2 { font-size: var(--s-xl); }
@media (max-width: 760px) { .book { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { form { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
footer .wrap { border-top: 1px solid var(--line); padding-block: 1.75rem 2.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--f-mono); font-size: var(--s-xs); color: var(--muted); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: var(--scrim); color: var(--scrim-ink); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(12px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); gap: 12px; }
.lb[hidden] { display: none !important; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: 0.1em; }
.lb-stage { display: grid; place-items: center; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.lb-foot .t { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; }
.lb button { font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: 0.1em; text-transform: uppercase; background: transparent; color: var(--scrim-ink); border: 1px solid rgba(236, 235, 228, 0.35); padding: 0.5rem 0.85rem; border-radius: 2px; cursor: pointer; }
.lb-nav { display: flex; gap: 0.5rem; }
