/* Folio: calm and professional. A wide opening photo, a short line, albums as a two-column grid of stories.
   Tokens in :root; palettes/fonts override them (<html data-palette data-fonts>, Website tab → Style). */

:root {
  --bg: #fbfbfa;
  --ink: #2a2a2a;
  --ink-soft: #55554f;
  --muted: #979792;
  --line: #e5e4e0;
  --surface: #ffffff;
  --btn-bg: #2a2a2a;
  --btn-ink: #fbfbfa;
  /* Used by the shared inquiry form (/css/inquiry.css): selected days, focus, errors. */
  --primary: #2a2a2a; --primary-deep: #000000; --on-primary: #fbfbfa;
  --danger: #a5432f; --amber: #8a6136; --placeholder-2: #dddcd7;
  --photo-filter: saturate(.88) contrast(.97) brightness(1.02);
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(18px, 6vw, 96px);
  --serif-weight: 400;
  color-scheme: light;
}
[data-palette="stone"] { --bg: #f2efe9; --ink: #2b2925; --ink-soft: #57524a; --muted: #8f897f; --line: #ddd7cc; --surface: #f8f6f2; --btn-bg: #2b2925; --btn-ink: #f2efe9; --photo-filter: sepia(.05) saturate(.9) contrast(.96) brightness(1.02); }
[data-palette="cream"] { --bg: #f3eee6; --ink: #2b2722; --ink-soft: #5a534a; --muted: #8f877b; --line: #e2dacd; --surface: #faf6ef; --btn-bg: #2b2722; --btn-ink: #f3eee6; --photo-filter: sepia(.04) saturate(.9) contrast(.97); }
/* Cream: every other cover and album photo in black and white, the editorial mix. */
[data-palette="cream"] .albums .album:nth-child(even) img, [data-palette="cream"] .gallery[data-view="album"] .ph:nth-child(3n+2) img, [data-palette="cream"] .hello-photo.small img { filter: grayscale(1) contrast(1.05); }
[data-palette="night"] { --primary: #ecebe7; --primary-deep: #ffffff; --on-primary: #151515; --danger: #e08a76; --amber: #d6a76f; --placeholder-2: #2c2c2b; }
[data-palette="stone"] { --primary: #2b2925; --on-primary: #f2efe9; }
[data-palette="night"] { --bg: #151515; --ink: #ecebe7; --ink-soft: #c4c3be; --muted: #8d8c88; --line: #2c2c2b; --surface: #1c1c1c; --btn-bg: #ecebe7; --btn-ink: #151515; --photo-filter: saturate(.92) contrast(1.02); color-scheme: dark; }
[data-fonts="garamond"] { --serif: "EB Garamond", Garamond, Georgia, serif; --sans: "Karla", "Helvetica Neue", Arial, sans-serif; }
/* Old-style: IM Fell English for headings and the menu, EB Garamond for reading; no sans anywhere. */
[data-fonts="fell"] { --serif: "IM Fell English", "EB Garamond", Garamond, Georgia, serif; --sans: "EB Garamond", Garamond, Georgia, serif; }
[data-fonts="fell"] body { font-size: 17.5px; line-height: 1.6; }
[data-fonts="fell"] .nav-links, [data-fonts="fell"] .brand { font-family: var(--serif); }
[data-fonts="fell"] .nav-links { font-size: 16px; }
[data-fonts="fell"] .album-name, [data-fonts="fell"] .contact-facts span, [data-fonts="fell"] .svc .num { letter-spacing: .06em; font-family: var(--serif); }
[data-fonts="fell"] .btn { font-family: var(--serif); font-size: 15px; letter-spacing: .03em; }
[data-fonts="modern"] { --serif: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; --serif-weight: 500; }
[data-fonts="modern"] h1, [data-fonts="modern"] h2 { letter-spacing: -0.02em; }
[data-fonts="modern"] .lede h1 em, [data-fonts="modern"] .brand { font-style: normal; }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; filter: var(--photo-filter); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: var(--serif-weight); line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0 0 14px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- header & footer ---------- */
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 26px var(--gutter); position: relative; }
.brand { font: var(--serif-weight) 26px/1 var(--serif); text-decoration: none; letter-spacing: -0.01em; }
.nav-links { list-style: none; display: flex; gap: clamp(18px, 3vw, 38px); margin: 0; padding: 0; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { border-bottom: 1px solid var(--ink); }
.nav-toggle { display: none; font: 500 14px/1 var(--sans); background: none; border: 1px solid var(--line); color: var(--ink); padding: 9px 14px; cursor: pointer; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 28px var(--gutter); margin-top: clamp(70px, 10vw, 140px); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { text-decoration: none; } .foot-links a:hover { color: var(--ink); }

/* ---------- shared pieces ---------- */
.block { padding: 0 var(--gutter); margin-top: clamp(64px, 9vw, 120px); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(26px, 3vw, 40px); }
.block-head h2, .block > h2 { font-size: clamp(30px, 3.4vw, 44px); }
.text-link { font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: var(--muted); }
.btn { display: inline-block; text-decoration: none; background: var(--btn-bg); color: var(--btn-ink); padding: 15px 26px; font: 500 14px/1 var(--sans); letter-spacing: .02em; border: 1px solid var(--btn-bg); cursor: pointer; }
.btn:hover { background: transparent; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
.page-top { padding: clamp(26px, 5vw, 64px) var(--gutter) 0; max-width: calc(860px + 2 * var(--gutter)); }
.page-top h1 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 18px; }
.page-top p { font-size: 18px; color: var(--ink-soft); max-width: 60ch; }
.page-top .back { margin-bottom: 14px; }

/* ---------- home ---------- */
/* One big photo to open: the full screen under the menu, with the headline on it. Everything after is smaller. */
.hero { padding: 0; }
.hero-full { position: relative; height: calc(100svh - 84px); min-height: 520px; max-height: 1100px; overflow: hidden; background: var(--line); }
.hero-full img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.45)); pointer-events: none; }
.hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(70px, 11vh, 130px); padding: 0 var(--gutter); text-align: center; color: #fff; }
.hero-text h1 { font-size: clamp(44px, 7vw, 108px); line-height: .98; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-text h1 em { display: block; text-transform: none; letter-spacing: 0; font-size: .82em; }
.hero-sub { margin: 18px 0 0; font: 500 13px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.hero:not(.hero-full) img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.statement { max-width: 860px; margin: clamp(80px, 12vw, 170px) auto 0; padding: 0 var(--gutter); text-align: center; }
.statement p { font: var(--serif-weight) clamp(24px, 2.6vw, 36px)/1.35 var(--serif); color: var(--ink); margin: 0; text-wrap: balance; }
.lede { padding: 36px var(--gutter) 0; }

/* Album covers: home "Recent work" and the portfolio index (server-rendered <a class="album">). */
/* Covers are tall (4:5) and three across, in a narrower column, so photos sit smaller with room around them. */
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px) clamp(18px, 3vw, 48px); max-width: 1160px; margin: 0 auto; }
.recent .block-head, .portfolio-index-head { max-width: 1160px; margin-left: auto; margin-right: auto; }
.albums-offset { align-items: start; }
.albums-offset .album:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.albums-offset .album:nth-child(3) { margin-top: clamp(16px, 3vw, 40px); }
.albums-offset .album:nth-child(1) .album-cover img { aspect-ratio: 4 / 5; }
.albums-offset .album:nth-child(2) .album-cover img { aspect-ratio: 3 / 4; }
.albums-offset .album:nth-child(3) .album-cover img { aspect-ratio: 4 / 5; }
.album { display: block; text-decoration: none; }
.album-cover { display: block; overflow: hidden; background: var(--line); }
.album-cover img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s ease; }
.album:hover .album-cover img { transform: scale(1.02); }
.album-name { display: block; margin-top: 20px; font: 500 14px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.album-count { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.album:hover .album-name { text-decoration: underline; text-underline-offset: 5px; }

.hello { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr); max-width: 1160px; margin-left: auto !important; margin-right: auto !important; gap: clamp(26px, 5vw, 76px); align-items: center; padding-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line); margin-left: var(--gutter); margin-right: var(--gutter); padding-left: 0; padding-right: 0; }
.hello-photo, .about-photo { margin: 0; }
.hello-photo img, .about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
/* Two photos, collage style: a portrait and a smaller one set lower and overlapping. */
.hello-photos { position: relative; padding: 0 22% 14% 0; }
.hello-photos .hello-photo:first-child { width: 78%; }
.hello-photos .hello-photo.small { position: absolute; right: 0; bottom: 0; width: 42%; border: 8px solid var(--bg); }
.hello-photos .hello-photo.small img { aspect-ratio: 3 / 4; }
.quote { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: italic var(--serif-weight) clamp(22px, 2.3vw, 30px)/1.4 var(--serif); color: var(--ink); }
.quote blockquote p::before { content: "\201C"; } .quote blockquote p::after { content: "\201D"; }
.quote footer { margin-top: 14px; font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* "Now booking" note, bottom right. */
.booking-note { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 2px; padding: 14px 18px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); text-decoration: none; box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); font: 500 13px/1.3 var(--sans); }
.booking-note .bn-label { font-family: var(--serif); font-size: 17px; font-weight: var(--serif-weight); }
.booking-note .bn-cta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.booking-note:hover .bn-cta { color: var(--ink); }
.hello h2 { font-size: clamp(34px, 3.8vw, 52px); margin-bottom: 16px; }
.hello p { color: var(--ink-soft); max-width: 58ch; }

/* ---------- portfolio: one album open (server-rendered .ph photos) ---------- */
.gallery[data-view="album"] { display: block; columns: 3 240px; column-gap: clamp(14px, 2vw, 26px); max-width: 1160px; margin: 0 auto; }
.gallery[data-view="album"] .ph { break-inside: avoid; margin: 0 0 clamp(14px, 2vw, 26px); }
.gallery[data-view="album"] .ph img { width: 100%; height: auto; }
.gallery:not([data-view]) .ph { display: none; }   /* sample photos before the server builds album covers */
.cta { text-align: center; padding-top: clamp(56px, 8vw, 100px); border-top: 1px solid var(--line); margin-left: var(--gutter); margin-right: var(--gutter); padding-left: 0; padding-right: 0; }
.cta h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 24px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); max-width: 1160px; gap: clamp(28px, 6vw, 96px); align-items: start; }
.prose p { color: var(--ink-soft); max-width: 60ch; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 40px 0 18px; }
.facts, .steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li, .steps li { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 4fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts b, .steps b { font-weight: 500; }
.facts span, .steps span { color: var(--ink-soft); }

/* ---------- sessions ---------- */
.svc-list { display: grid; gap: clamp(56px, 8vw, 110px); max-width: 1060px; margin-left: auto; margin-right: auto; }
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(26px, 6vw, 96px); align-items: center; }
.svc:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.svc:nth-child(even) figure { order: 2; }
.svc figure { margin: 0; }
.svc img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.svc .num { font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.svc h2 { font-size: clamp(34px, 3.8vw, 52px); margin: 10px 0 16px; }
.svc p { color: var(--ink-soft); max-width: 50ch; }
.svc .meta { font-size: 14px; color: var(--muted); }
.steps { max-width: calc(860px + 2 * var(--gutter)); }
.steps h2 { margin-bottom: 26px; }
.steps ol { counter-reset: step; }
.steps li { grid-template-columns: 40px minmax(110px, 1fr) minmax(0, 3fr); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--muted); font-size: 13px; padding-top: 3px; }

/* ---------- contact ---------- */
.contact-facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.contact-facts li { display: grid; gap: 2px; }
.contact-facts span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-facts a { text-decoration: none; border-bottom: 1px solid var(--line); }
.inq-section { max-width: calc(860px + 2 * var(--gutter)); margin-top: clamp(40px, 6vw, 70px); }

.page-top.centered { margin: 0 auto; text-align: center; }
.page-top.centered p { margin-left: auto; margin-right: auto; }
.page-top.centered .contact-facts { justify-content: center; }
.inq-section.centered { margin-left: auto; margin-right: auto; }
.inq-section.centered .dp-cal { margin-left: auto; margin-right: auto; }   /* the day picker */
.inq-section.centered .dp-chosen { justify-content: center; }              /* "You picked" days under it */

/* ---------- privacy ---------- */
.legal-section { max-width: calc(860px + 2 * var(--gutter)); color: var(--ink-soft); }
.legal-section h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); margin: 36px 0 12px; }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 10; flex-direction: column; gap: 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px var(--gutter); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 16px; }
  .nav-links a[aria-current="page"] { border-bottom: 0; text-decoration: underline; }
  .hero:not(.hero-full) img { aspect-ratio: 4 / 3; }
  /* Phones: a wide photo can't fill a tall screen without cutting people out, so it keeps its shape and the headline sits below. */
  .hero-full { height: auto; min-height: 0; max-height: none; background: none; overflow: visible; }
  .hero-full img { height: auto; aspect-ratio: 4 / 3; }
  .hero-full::after { display: none; }
  .hero-text { position: static; color: var(--ink); padding-top: 26px; }
  .hero-text h1 { text-shadow: none; font-size: clamp(36px, 11vw, 52px); }
  .hero-sub { color: var(--muted); }
  .booking-note { display: none; }
  .lede, .hello, .about, .svc, .svc:nth-child(even) { grid-template-columns: 1fr; }
  .svc:nth-child(even) figure { order: 0; }
  .svc figure { max-width: 420px; }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
  .albums-offset .album:nth-child(n) { margin-top: 0; }
  .albums-offset .album:nth-child(3) { display: none; }
  .album-name { font-size: 12px; letter-spacing: .1em; margin-top: 12px; }
  .gallery[data-view="album"] { columns: 2; column-gap: 10px; } .gallery[data-view="album"] .ph { margin-bottom: 10px; }
  .booking-note { right: 10px; bottom: 10px; padding: 10px 14px; } .booking-note .bn-label { font-size: 15px; }
  .steps li { grid-template-columns: 32px 1fr; } .steps li span { grid-column: 2; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
