:root {
  --paper: #FFFFFF;
  --ink: #222220;
  --muted: #7E7E77;
  --line: #E6E6E1;
  --soft: #F2F2EE;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --text: "Manrope", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lb-open { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
main { min-height: 70vh; }

/* Header & footer */
.site-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 28px var(--gutter); }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.625rem; line-height: 1; text-decoration: none; letter-spacing: -0.005em; }
.site-nav { display: flex; gap: clamp(1.25rem, 3vw, 2.25rem); }
.site-nav a { font-size: 0.9375rem; text-decoration: none; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding: 56px var(--gutter) 40px; margin-top: 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

.text-link { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.text-link:hover { color: var(--ink); }
.back-link::before { content: "‹ "; }

.empty-state { padding: 0 var(--gutter); color: var(--muted); font-size: 1.0625rem; }

/* Start page (company) */
.home { --signal: #D23A45; --tint: #F6F6F3; }
.home .site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; padding-top: 22px; padding-bottom: 22px; }
.home main { min-height: 0; }
html:has(body.home) { scroll-behavior: smooth; scroll-padding-top: 84px; }
.kicker { font-size: 0.9375rem; font-weight: 500; color: var(--muted); margin-bottom: 0.75rem; }
.home h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.125rem, 3.6vw, 3.25rem); line-height: 1.05; letter-spacing: -0.015em; max-width: 22ch; text-wrap: balance; }
.home h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.subtitle { margin-top: 1rem; max-width: 38rem; font-size: 1.0625rem; color: var(--muted); }

.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(32px, 7vh, 88px) var(--gutter) clamp(72px, 12vh, 128px); }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.75rem, 5.6vw, 5.25rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.65; color: #55575E; }
.badges { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badges li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.875rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8125rem; color: #55575E; background: #fff; }
.badges li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.button.button-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #CFCFC9; }
.button.button-quiet:hover { background: var(--tint, #F6F6F3); }

.hero-collage { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.hero-collage .photo { display: block; margin: 0; border-radius: 10px; overflow: hidden; background: var(--soft); position: relative; }
.hero-collage > a.photo { height: clamp(150px, 15vw, 230px); }
.hero-collage .photo-wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.hero-collage .photo a { display: block; height: 100%; }
.hero-collage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-collage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 0.875rem; font-size: 0.8125rem; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent); pointer-events: none; }

.band { padding: clamp(64px, 11vh, 120px) var(--gutter); }
.band-tint { background: var(--tint); }
.band-inner { max-width: 1240px; }
.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }

.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); margin-top: 3rem; align-items: start; }
.about-grid.no-photo { grid-template-columns: minmax(0, 1fr); }
.body { max-width: 38rem; color: #55575E; margin-bottom: 1rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 2rem 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { background: #fff; padding: 1.125rem 1.25rem; }
.facts dt { font-weight: 600; margin-bottom: 0.25rem; }
.facts dd { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.about-card { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.about-card > a { display: block; aspect-ratio: 4 / 3; background: var(--soft); }
.about-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-card figcaption { padding: 1.25rem 1.375rem 1.5rem; font-size: 0.9375rem; color: var(--muted); }
.about-card strong { display: block; color: var(--ink); margin-bottom: 0.375rem; font-weight: 600; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.service { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.75rem 1.5rem; }
.service-tag { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--signal); margin-bottom: 0.75rem; }
.service h3 { margin-bottom: 0.625rem; }
.service p { font-size: 0.9375rem; color: #55575E; }
.service ul, .contact ul { margin: 1rem 0 0; padding-left: 1.125rem; font-size: 0.9375rem; color: #55575E; }
.service li, .contact li { margin-bottom: 0.25rem; }
.service li::marker, .contact li::marker { color: var(--signal); }

.portfolio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 3rem; }
.portfolio figure { margin: 0; }
.portfolio figure > a { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--soft); }
.portfolio img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.portfolio figure > a:hover img { transform: scale(1.03); }

.process { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); margin-top: 3rem; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0.75rem; }
.steps li { counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem 1.5rem 1.375rem 4rem; }
.steps li::before { content: counter(step); position: absolute; left: 1.375rem; top: 1.25rem; width: 1.625rem; height: 1.625rem; border-radius: 50%; border: 1px solid var(--signal); color: var(--signal); font-size: 0.8125rem; font-weight: 600; display: grid; place-items: center; }
.steps h3 { margin-bottom: 0.25rem; }
.steps p { font-size: 0.9375rem; color: #55575E; }
.promise { margin: 0; padding: 2rem 1.75rem; border-left: 2px solid var(--signal); background: #fff; border-radius: 0 12px 12px 0; }
.promise p { font-family: var(--display); font-size: 1.5rem; line-height: 1.35; color: var(--ink); }
.promise .promise-strong { margin-top: 1rem; font-family: var(--text); font-size: 0.9375rem; font-weight: 600; line-height: 1.55; }

.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); margin-top: 2.5rem; }
.contact-col { display: grid; gap: 1.25rem; align-content: start; color: #55575E; }
.contact-col h3 { color: var(--ink); margin-bottom: 0.25rem; }
.contact-col a { color: var(--ink); }
.contact-col .button { color: #fff; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; justify-self: start; padding: 0.375rem 0.875rem; border-radius: 999px; background: #FBECEC; color: #8E2630; font-size: 0.875rem; font-weight: 500; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }

.footer-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.page-title { padding: clamp(32px, 8vh, 96px) var(--gutter) clamp(32px, 6vh, 64px); }
.page-title h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.02em; }

/* Album grid */
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px clamp(16px, 2vw, 28px); padding: 0 var(--gutter); }
.album-card { display: flex; flex-direction: column; text-decoration: none; }
.album-card-image { display: block; aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.album-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.album-card:hover .album-card-image img { transform: scale(1.025); }
.album-card-title { margin-top: 1rem; font-family: var(--display); font-weight: 600; font-size: 1.625rem; line-height: 1.15; }
.album-card-meta { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted); }
/* Newest album leads, wider */
.album-grid .album-card:first-child { grid-column: span 2; }
.album-grid .album-card:first-child .album-card-image { aspect-ratio: 16 / 10; }
.album-grid .album-card:first-child .album-card-title { font-size: 2.25rem; }
/* With two or fewer albums the second card sits beside the wide first one */

/* Album page */
.album-head { padding: clamp(24px, 6vh, 64px) var(--gutter) 40px; }
.album-head h1 { margin-top: 1.25rem; font-family: var(--display); font-weight: 500; font-size: clamp(2.75rem, 7vw, 6.25rem); line-height: 0.98; letter-spacing: -0.02em; max-width: 18ch; text-wrap: balance; }
.album-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.75rem; color: var(--muted); }
.album-description { margin-top: 1.5rem; max-width: 40rem; font-size: 1.0625rem; }

.button { display: inline-flex; align-items: baseline; gap: 0.625rem; padding: 0.875rem 1.5rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9375rem; line-height: 1.2; transition: background 0.15s; }
.button:hover { background: #45453F; }
.button-note { font-weight: 400; opacity: 0.7; font-size: 0.8125rem; }
.button-large { padding: 1.125rem 2rem; font-size: 1.0625rem; }

/* Gallery: masonry columns keep each photo's real shape */
.gallery { columns: 3 320px; column-gap: 12px; padding: 0 var(--gutter); }
.tile { position: relative; display: block; margin: 0 0 12px; break-inside: avoid; background: var(--soft); overflow: hidden; cursor: zoom-in; }
.tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-video { cursor: pointer; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); }
.play::after { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--ink); }
.tile:hover img { opacity: 0.92; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.96); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox[hidden] { display: none; }
.lb-stage { grid-column: 2; height: 100vh; height: 100dvh; display: grid; place-items: center; padding: 56px 0; min-width: 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100dvh - 112px); max-height: calc(100vh - 112px); object-fit: contain; display: block; }
.lightbox button { background: none; border: 0; color: #fff; cursor: pointer; padding: 12px; display: grid; place-items: center; opacity: 0.75; }
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox button:focus-visible { outline-color: #fff; }
.lightbox svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lb-prev { grid-column: 1; justify-self: center; }
.lb-next { grid-column: 3; justify-self: center; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lb-count { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(255, 255, 255, 0.6); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }

/* Checkout & thank-you */
.checkout { padding: clamp(24px, 6vh, 64px) var(--gutter) 0; max-width: 1100px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); margin-top: 2rem; align-items: start; }
.checkout-cover { aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.checkout-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.checkout h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.thanks h1 { margin-bottom: 1rem; }
.checkout-what { margin-top: 1rem; font-size: 1.0625rem; max-width: 34rem; }
.checkout-facts { margin: 2rem 0; border-top: 1px solid var(--line); }
.checkout-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.checkout-facts dt { color: var(--muted); }
.checkout-facts dd { margin: 0; text-align: right; }
.checkout-total dd { font-family: var(--display); font-weight: 600; font-size: 1.75rem; line-height: 1; }
button.button { border: 0; cursor: pointer; font-family: inherit; }
.pay-form { margin-top: 1.5rem; }
.notice { margin: 1rem 0; padding: 0.875rem 1rem; background: var(--soft); max-width: 34rem; }
.notice[hidden] { display: none; }
.fine-print { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); max-width: 34rem; }
.thanks .button { margin: 1.5rem 0 0.5rem; }
.thanks > p:last-child { margin-top: 2rem; }

/* Message pages */
.message-page { padding: clamp(48px, 12vh, 140px) var(--gutter) 0; max-width: 46rem; }
.message-page h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; }
.message-page p { margin-top: 1.25rem; font-size: 1.0625rem; color: var(--muted); }

@media (max-width: 960px) {
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero, .about-grid, .process, .contact { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: minmax(0, 1fr); }
  .portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .site-nav a[href^="#about"], .home .site-nav a[href^="#services"] { display: none; }
}
@media (max-width: 640px) {
  .album-grid { grid-template-columns: 1fr; gap: 40px; }
  .portfolio { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-bottom: 48px; }
  .band { padding-top: 56px; padding-bottom: 56px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .home .site-nav a[href^="#portfolio"] { display: none; }
  .site-nav { gap: 1rem; }
  .album-grid .album-card:first-child { grid-column: auto; }
  .album-grid .album-card:first-child .album-card-image { aspect-ratio: 4 / 5; }
  .album-grid .album-card:first-child .album-card-title { font-size: 1.625rem; }
  .gallery { columns: 2; column-gap: 6px; padding: 0 12px; }
  .tile { margin-bottom: 6px; }
  .play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .play::after { left: 19px; top: 15px; border-width: 9px 0 9px 14px; }
  .lightbox { grid-template-columns: 0 1fr 0; }
  .lb-prev, .lb-next { position: absolute; bottom: 4px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-cover { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.home) { scroll-behavior: auto; }
  .portfolio img { transition: none; }
  .portfolio figure > a:hover img { transform: none; }
  .album-card-image img { transition: none; }
  .album-card:hover .album-card-image img { transform: none; }
}

/* Paid albums before purchase: watermarked previews */
.preview-note { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); max-width: 42rem; }
.is-protected img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
.tile-noimg { background: #2B2B28; min-height: 160px; }
.tile-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.5rem 0.75rem; font-size: 0.8125rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.6)); }
.lb-locked { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; }
.lb-locked img { max-width: 100%; max-height: calc(100dvh - 220px); max-height: calc(100vh - 220px); object-fit: contain; display: block; }
.lb-locked-blank { width: min(80vw, 640px); aspect-ratio: 16 / 9; background: #2B2B28; }
.lb-locked figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1rem; color: #fff; text-align: center; }

/* Buy / download a single photo or video in the viewer */
.lb-action { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 2; display: flex; gap: 0.5rem; white-space: nowrap; }
.lb-action[hidden] { display: none; }
.lightbox.has-action .lb-stage { padding-bottom: 120px; }
.lightbox.has-action .lb-stage img, .lightbox.has-action .lb-stage video { max-height: calc(100dvh - 176px); max-height: calc(100vh - 176px); }
.button.button-light { background: #fff; color: var(--ink); }
.button.button-light:hover { background: #E8E8E4; }
.lb-locked .button:not(.button-light) { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }

/* Imprint and privacy page */
.footer-legal { display: flex; gap: 1.5rem; }
.legal { max-width: 720px; padding: clamp(32px, 8vh, 96px) var(--gutter) 0; margin: 0 auto 0 0; }
.legal h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; margin: 0 0 1.5rem; }
.legal h2 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; margin: 2.25rem 0 0.5rem; }
.legal p { line-height: 1.7; margin: 0 0 1rem; }
.legal a { color: inherit; }
.legal code { font-size: 0.9em; }
.fill-in { background: #fff1b8; color: #6b4e00; padding: 0 0.2em; border-radius: 3px; }
