/* Ivy fonts: Journal for most text, Ora Display for the big name, Presto Display for the italic
   signature lines, Presto Text Thin for the moving quote and the fine print */
@font-face { font-family: "Ivy Ora Display"; src: url("fonts/Ivy-Ora-Display-Medium.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Ivy Presto Display"; src: url("fonts/Ivy-Presto-Display-Light.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Ivy Presto Text"; src: url("fonts/Ivy-Presto-Text-Thin.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "Ivy Journal"; src: url("fonts/Ivy-Journal-Thin.otf") format("opentype"); font-display: swap; }
* { box-sizing: border-box; margin: 0; padding: 0; }
/* Same text size on every page: stop phones from auto-resizing text or zooming the page out */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
:root {
  --paper: #f5f3ee;   /* soft off-white */
  --ink: #111;
  --accent: #30482c;  /* the one accent: deep green */
  --empty: #e7e4dd;   /* photo placeholder while loading */
  --display: "Ivy Ora Display", Georgia, serif;
  --italic: "Ivy Presto Display", Georgia, serif;
  --text: "Ivy Presto Text", Georgia, serif;
  --journal: "Ivy Journal", Georgia, serif;
}
::selection { background: var(--accent); color: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--journal);
  font-weight: 400;
  font-synthesis: none; /* each Ivy font has one weight — never fake a bold or slant */
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
/* Which Ivy font goes where */
.hero h1, .contact h1, .title, .footer__big, .more-styles, .style-card__name { font-family: var(--display); }
.love h2, .footer__name { font-family: var(--italic); }
.marquee, .footer__bottom { font-family: var(--text); }

/* Menu — two thin lines in the top-right corner (they invert over photos so they always show).
   Open: the page stays put but softens behind a light blur, and the pages float in from the corner. */
.menu__btn {
  position: fixed; z-index: 60; top: clamp(12px, 1.8vw, 24px); right: clamp(10px, 1.8vw, 26px);
  width: 48px; height: 48px; color: #fff; mix-blend-mode: difference;
}
.menu__btn span {
  position: absolute; left: 10px; width: 28px; height: 1.5px; background: currentColor;
  transition: transform .5s cubic-bezier(.6, 0, .2, 1), width .5s cubic-bezier(.6, 0, .2, 1);
}
.menu__btn span:first-child { top: 19px; }
.menu__btn span:last-child { top: 28px; width: 20px; left: 18px; } /* a shorter second line */
.menu__btn:hover span:last-child { width: 28px; left: 10px; }
.menu-open .menu__btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu__btn span:last-child { width: 28px; left: 10px; transform: translateY(-4.5px) rotate(-45deg); }
.menu__veil {
  position: fixed; inset: 0; z-index: 50; background: rgba(245, 243, 238, .62);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s .55s;
}
.menu-open .menu__veil { opacity: 1; visibility: visible; transition: opacity .55s ease; }
.menu__panel {
  position: fixed; z-index: 55; top: clamp(78px, 9vw, 120px); right: clamp(20px, 3vw, 48px);
  text-align: right; pointer-events: none;
}
.menu-open .menu__panel { pointer-events: auto; }
.menu__list { list-style: none; }
.menu__list li { margin-bottom: .08em; font-size: clamp(44px, 6vw, 92px); line-height: 0; }
.menu__list a, .menu__small {
  display: block; color: var(--ink); opacity: 0; transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease, color .3s, background-color .3s;
}
/* each word's hover area hugs its own letters (this font sits high in its line, so the area is nudged
   down to centre on the letters) — touching the bottom of one word never picks the word below */
.menu__list a {
  display: inline-block; position: relative; font-weight: 300; letter-spacing: -0.02em;
  line-height: .76em; padding: .08em .14em .2em; margin-right: -.14em;
}
/* the letters themselves don't catch the pointer (the font's tall invisible line would reach into the
   word above) — only the word's own box does */
.menu__list a span { pointer-events: none; }
.menu__small { font: 13px/1 "Courier Prime", "Courier New", monospace; margin-top: clamp(18px, 2.4vw, 30px); }
.menu__small a { transition: color .3s; }
.menu-open .menu__list a, .menu-open .menu__small {
  opacity: 1; transform: none;
  transition: opacity .6s ease calc(.12s + var(--i) * .06s), transform .7s cubic-bezier(.2, .7, .1, 1) calc(.12s + var(--i) * .06s), color .3s;
}
.menu-open .menu__list a.is-here { opacity: .28; }
.menu-open .menu__small { opacity: .6; }
/* hover: the word flips — off-white letters on a black block */
.menu__list a:not(.is-here):hover { background: var(--ink); color: var(--paper); }
.menu__small a:hover { background: var(--ink); color: var(--paper); }
/* the page you're on isn't a button: it just stays faded, no hover effect */
.menu__list a.is-here { cursor: default; }
/* home: the first screen is completely clear — the menu button appears once you start moving */
.menu__btn { transition: opacity .6s ease; }
.menu-wait .menu__btn { opacity: 0; pointer-events: none; }

/* Home: name */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 16px 60px;
  overflow: clip; /* as the name drifts down while scrolling, it slips away under the bar, never past it */
}
.hero h1 {
  font-weight: 400;
  letter-spacing: -0.01em;
}
.hero h1 {
  /* 4 lines always fit on the first screen, whatever the window's shape */
  font-size: clamp(44px, min(13vw, (100vh - 170px) / 4.4), 220px);
  font-size: clamp(44px, min(13vw, (100svh - 170px) / 4.4), 220px);
  line-height: 1.1; /* room for the long tails (p, g, y) to clear the tall letters on the next line */
}
.hero h1 span { display: block; }
/* Soft fade in, all lines together — waits while the opening intro is playing */
.hero h1 span i { display: block; font-style: normal; opacity: 0; filter: blur(16px); animation: blur-in 1.8s cubic-bezier(.25,.6,.3,1) .1s forwards; }
.has-intro .hero h1 span i { animation-play-state: paused; }

/* Opening intro (home): a ring fills around a pinhole of light, then the lens opens */
.intro { display: none; }
.has-intro, .has-intro body { overflow: hidden; }
.has-intro .intro, .intro.is-opening { display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.intro__shade {
  position: absolute; inset: 0; background: var(--accent);
  --r: calc(var(--p, 0) * 2.4vmin + var(--q, 0) * 80vmax);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + .5px));
          mask: radial-gradient(circle at 50% 50%, transparent var(--r), #000 calc(var(--r) + .5px));
}
.intro__ring {
  position: absolute; left: 50%; top: 50%; width: 20vmin; height: 20vmin;
  transform: translate(-50%, -50%) scale(calc(1 + var(--q, 0) * 2)); opacity: calc(1 - var(--q, 0) * 2.5);
}
.intro__ring circle { fill: none; stroke: var(--paper); stroke-width: .6; }
.intro__ring .track { opacity: .25; }
.intro__ring .fill { stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transform: rotate(-90deg); transform-origin: 50% 50%; }
.intro__pct {
  position: absolute; left: 0; right: 0; top: calc(50% + 13vmin); text-align: center;
  color: var(--paper); font-size: 13px; letter-spacing: .12em; font-variant-numeric: tabular-nums;
  opacity: calc(1 - var(--q, 0) * 4);
}

/* Moving quote band */
.marquee {
  background: #3d3d3d; color: #ecebe8;
  overflow: hidden; white-space: nowrap;
  position: relative; z-index: 1; /* solid: the drifting name never shows through it */
  padding: clamp(10px, 1.2vw, 16px) 0;
}
.marquee__track { display: inline-flex; will-change: transform; }.marquee__item {
  display: inline-flex; align-items: center;
  font-size: clamp(22px, 2.8vw, 42px); letter-spacing: -0.02em; line-height: 1;
}
.marquee__item::after {
  content: ""; width: .18em; height: .18em; border-radius: 50%;
  background: currentColor; margin: 0 .55em;
}

/* "about / contact" — giant words across the page, sitting still.
   On hover a green circle follows the mouse underneath the letters — it only shows through the letters themselves. */
@property --spot { syntax: "<length>"; inherits: false; initial-value: 0px; }
.split {
  display: flex; justify-content: space-between; align-items: baseline; gap: 2vw;
  padding: clamp(48px, 7vw, 110px) clamp(24px, 11vw, 220px); overflow: hidden; /* lines up with the photo grid */
}
.split__word {
  font-weight: 300; font-size: clamp(56px, 8.5vw, 150px); line-height: .9; letter-spacing: -0.06em;
  position: relative;
}
.split__word {
  --mx: 50%; --my: 50%; --spot: 0px;
  background: radial-gradient(circle var(--spot) at var(--mx) var(--my), var(--accent) 99%, var(--ink) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: --spot .45s cubic-bezier(.2,.7,.1,1);
}
.split__word:hover { --spot: .55em; }

/* Photo grids — even columns, tops lined up */
.photos {
  columns: 3; column-gap: clamp(20px, 3vw, 60px);
  padding: 0 clamp(24px, 11vw, 220px);
}
.photos img { margin-bottom: clamp(20px, 3.5vw, 68px); break-inside: avoid; background: var(--empty); }
/* Even columns (Film): same gap everywhere, flat top and bottom */
.photos--even { columns: auto; display: flex; --gap: clamp(32px, 4.5vw, 90px); gap: var(--gap); box-sizing: content-box; }
.photos--even .photos__col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.photos--even .crop { position: relative; flex: 1 1 0; min-height: 0; }
.photos--even .crop__in { position: absolute; inset: 0; overflow: hidden; background: var(--empty); }
.photos--even .crop img { margin: 0; max-width: none; background: none; }
/* Home: the same even columns, with thin gaps between the photos */
.photos--even[data-gallery="home"] { --gap: clamp(10px, 1.2vw, 22px); }

/* Film page theme: dark film-base background, film-stock names printed up the margins */
body.theme-film { --empty: #2a241a; background: #17130b; color: #efe8dc; }
.theme-film .crop__in { border-radius: 4px; } /* a hint of a rounded corner, like a printed frame */
.theme-film .lead { opacity: .7; }
.theme-film .more-styles a:hover { color: #a57353; }
.film-label {
  position: absolute; top: 0; white-space: nowrap;
  writing-mode: vertical-rl; transform: rotate(180deg); /* reads bottom to top, like the edge of a film strip */
  font: 400 clamp(11px, 1.75vw, 28px)/1 "Courier Prime", "Courier New", monospace; color: #a57353;
}
.film-label--left { right: calc(100% + clamp(8px, 1.3vw, 22px)); }
.film-label--right { left: calc(100% + clamp(8px, 1.3vw, 22px)); }

/* Section headings */
.title {
  font-size: clamp(56px, 11vw, 160px); font-weight: 400;
  letter-spacing: -0.02em; line-height: .95;
  padding: clamp(120px, 16vw, 200px) clamp(24px, 11vw, 220px) clamp(24px, 3vw, 40px);
}
.lead {
  max-width: calc(34em + 2 * clamp(24px, 11vw, 220px)); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.35;
  padding: 0 clamp(24px, 11vw, 220px) clamp(60px, 8vw, 110px);
}

/* Testimonials */
.love { padding: clamp(120px, 14vw, 200px) clamp(16px, 2vw, 28px) clamp(60px, 8vw, 100px); }
.love h2 {
  text-align: center; font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(44px, 6vw, 88px); margin-bottom: clamp(40px, 6vw, 80px);
}
.love__window { overflow: hidden; max-width: 1180px; margin: 0 auto; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.love__window.is-dragging { cursor: grabbing; }
.love__track { display: flex; transition: transform .7s cubic-bezier(.6,0,.2,1); }
.love__quote { flex: 0 0 50%; padding: 0 clamp(16px, 3vw, 48px); }
.love__quote p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; }
.love__quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 14px; opacity: .6; }
/* One thin two-way arrow: left half goes back, right half goes forward */
.love__arrows { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.love__arrows button { display: block; padding: 14px 0; transition: transform .3s, opacity .2s; }
.love__arrows svg { display: block; width: 46px; height: 18px; }
.love__arrows button:hover { color: var(--accent); }

/* Style cards (work + about) — the whole block fills one screen, so the cards
   take the shape of the window: slim and tall on phones, wider on big screens */
.style-screen {
  height: 100vh; height: 100svh; min-height: 560px;
  display: flex; flex-direction: column;
  padding-bottom: clamp(70px, 13vh, 150px);
}
.style-screen .title { padding-top: clamp(130px, 16vh, 170px); font-size: clamp(56px, min(11vw, 13vh), 160px); }
.styles {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 3vw, 60px);
  padding: 0 clamp(12px, 11vw, 220px);
}
.style-card { display: flex; flex-direction: column; min-height: 0; }
.style-card__img { flex: 1; min-height: 0; overflow: hidden; background: var(--empty); border-radius: 4px; } /* a hint of a rounded corner */
.style-card__img img { height: 100%; object-fit: cover; }
.style-card__img .style-card__film { filter: grayscale(1); object-position: 60% 50%; } /* black & white, cropped to the bride with the barn above */
.style-card__name { transition: opacity .2s; }
.style-card:hover .style-card__name { opacity: .5; }

/* Work: gallery wall — the section holds in place and scrolling slides the row of cards in from the right
   (the section's height and the row's position are set by script.js) */
.hs { position: relative; }
/* Safari, Firefox, phones: the browser itself settles on each photo (one invisible snap point per photo) */
html.hs-snap { scroll-snap-type: y proximity; }
.hs__mark { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }
.hs__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; padding-top: 70px; /* keeps the row clear of the top menu */ }
/* left: the three names, gray — the one whose photo is in view turns black */
.hs__side { flex: none; width: clamp(240px, 32vw, 520px); padding-left: clamp(24px, 6vw, 120px); }
.hs__label { font: 13px/1 "Courier Prime", "Courier New", monospace; letter-spacing: .02em; opacity: .55; margin-bottom: clamp(14px, 2vh, 24px); }
.hs__names { list-style: none; }
.hs__names a { display: block; font-family: var(--display); font-size: clamp(44px, min(6vw, 10vh), 110px); line-height: 1.08; letter-spacing: -0.02em; color: rgba(17,17,17,.2); transition: color .35s; }
.hs__names a:hover, .hs__names a.is-on { color: var(--ink); }
/* a small still down-arrow under the names; fades away once you start moving */
.hs__hint { line-height: 0; margin-top: clamp(18px, 3vh, 34px); opacity: .55; transition: opacity .5s ease; }
.hs.is-moved .hs__hint { opacity: 0; }
.hs__hint span { display: inline-flex; }
/* right: the photos slide in from the right as you scroll */
.hs__view { flex: 1; min-width: 0; overflow: hidden; }
.hs__track { display: flex; align-items: center; gap: clamp(24px, 3.5vw, 64px); width: max-content; will-change: transform; }
.hs .style-card { flex: none; width: min(30vw, 50vh); opacity: .35; transition: opacity .35s; }
.hs .style-card.is-on { opacity: 1; }
.hs .style-card__img { flex: none; aspect-ratio: 4 / 5; }
.style-card__name { text-align: center; margin-top: 16px; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.015em; }

/* About — big name beside the photographer at work, the statement, two staggered prints
   (one black & white, one colour), then "about me", with typed labels like a contact sheet */
.ab-k { font: 13px/1 "Courier Prime", "Courier New", monospace; letter-spacing: .02em; opacity: .55; }
.ab-k--gap { margin-top: clamp(28px, 3vw, 44px); }
.ab-hero figure, .ab-dev figure, .ab-me figure { margin: 0; }
.ab-hero figcaption, .ab-dev figcaption, .ab-me figcaption { font: 12px/1 "Courier Prime", "Courier New", monospace; opacity: .55; margin-top: 12px; }
.ab-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: end; padding: clamp(116px, 8vw, 136px) clamp(24px, 6vw, 120px) clamp(100px, 12vw, 190px); } /* starts just under the top menu */
.ab-name { font-family: var(--display); font-weight: 400; font-size: clamp(64px, min(11vw, 20vh), 200px); line-height: 1.02; letter-spacing: -0.02em; margin-top: 18px; }
.ab-hero img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.ab-hero figure { width: min(100%, clamp(240px, 24vw, 400px)); justify-self: end; } /* a modest portrait beside the big name */
.ab-lead { padding: 0 clamp(24px, 10vw, 220px) clamp(110px, 14vw, 210px); text-align: center; }
.ab-lead p { font-size: clamp(28px, 3.5vw, 56px); line-height: 1.22; letter-spacing: -0.01em; max-width: 21em; margin: 0 auto; }
.ab-lead em { font-family: var(--italic); font-style: normal; }
.ab-lead p:not(.is-ready) { visibility: hidden; }
.ab-word { white-space: nowrap; }
.ab-w { color: rgba(17,17,17,.16); } /* each letter darkens as you scroll, with a soft fading edge (script.js) */
.ab-dev { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 72px); align-items: start; padding: 0 clamp(24px, 10vw, 220px) clamp(110px, 14vw, 210px); }
.ab-dev figure:nth-child(2) { margin-top: clamp(70px, 12vw, 220px); } /* staggered, like prints laid on a table */
.ab-dev img { aspect-ratio: 2 / 3; object-fit: cover; }
.ab-dev figure.ab-bw img { filter: grayscale(1); } /* the gear photo is black & white; the other stays in colour */
.ab-me { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 7vw, 130px); align-items: center; padding: 0 clamp(24px, 10vw, 220px) clamp(20px, 3vw, 50px); }
.ab-me img { aspect-ratio: 4 / 5; object-fit: cover; }
.ab-me h2 { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 100px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 clamp(20px, 2.4vw, 32px); }
.ab-me p:not(.ab-k) { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 30em; }
.ab-me .ab-k--gap + p { margin-top: 12px; }
.ab-split { padding-top: clamp(24px, 4vw, 64px); padding-bottom: clamp(50px, 6vw, 100px); } /* same big "work / contact" words as Home's "about / contact" */

/* Other styles at the bottom of a style page */
.more-styles { display: flex; justify-content: space-around; padding: clamp(80px, 10vw, 140px) 16px; font-size: clamp(32px, 5vw, 72px); letter-spacing: -0.02em; }
.more-styles a { transition: color .2s; }
.more-styles a:hover { color: var(--accent); }

/* Contact form */
/* Info (for search engines and AI — not in the menu): a plain, readable long page */
.info { max-width: 760px; margin: 0 auto; padding: clamp(120px, 14vw, 180px) 20px clamp(80px, 10vw, 140px); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.info__k, .info__where { font: 13px/1.4 "Courier Prime", "Courier New", monospace; opacity: .55; }
.info h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -0.02em; margin: 14px 0 18px; }
.info__where { margin-bottom: 44px; }
.info h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; margin: 64px 0 18px; }
.info h3 { font-family: var(--italic); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); margin: 30px 0 8px; }
.info p { margin-bottom: 16px; }
.info ul { margin: 0 0 18px 1.1em; display: grid; gap: 4px; }
.info a { text-decoration: underline; text-underline-offset: 3px; }
.info__faq h3 { margin-top: 26px; }
.info__facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.info__facts dt { font: 13px/1.9 "Courier Prime", "Courier New", monospace; opacity: .55; }
@media (max-width: 720px) { .info__facts { grid-template-columns: 1fr; gap: 2px; } .info__facts dd { margin-bottom: 10px; } }
.contact { max-width: 620px; margin: 0 auto; padding: clamp(120px, 14vw, 180px) 16px clamp(60px, 8vw, 100px); }
.contact h1 { font-weight: 400; font-size: clamp(56px, 9vw, 120px); letter-spacing: -0.02em; line-height: .95; margin-bottom: clamp(40px, 5vw, 64px); }
/* Retro and plain, like a typed form: numbered typewriter labels, lines to write on, no animation */
.form { display: grid; gap: 36px; }
.field { display: grid; gap: 8px; border: 0; min-width: 0; }
.field__k { font: 13px/1 "Courier Prime", "Courier New", monospace; letter-spacing: .02em; opacity: .55; padding: 0; }
.field input, .field textarea, .date__btn {
  font: 20px var(--journal); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(17,17,17,.3);
  padding: 6px 0; outline: none; width: 100%; border-radius: 0; text-align: left;
}
.field input:focus, .field textarea:focus, .date__btn:focus-visible { border-bottom-color: var(--ink); }
.field textarea { resize: vertical; min-height: 84px; }
/* autofill: keep the browser's filled-in values, but not its blue/yellow box — they look just like typed ones */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink); caret-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset; box-shadow: 0 0 0 1000px var(--paper) inset;
  font: 20px var(--journal); transition: background-color 9999s;
}
.field input:autofill { background: transparent; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
/* session: four short lines stacked by the question; open it and the lines snap apart,
   one beside each option — quick and clicky, like a switch */
.sess { position: relative; }
.sess__btn { font: 20px var(--journal); color: rgba(17,17,17,.4); text-align: left; width: 100%; padding: 6px 40px 6px 0; border-bottom: 1px solid rgba(17,17,17,.3); }
.sess.is-chosen .sess__btn { color: var(--ink); }
.sess__list { display: none; padding-top: 6px; }
.sess.is-open .sess__list { display: grid; }
.sess__list label { display: block; padding: 9px 40px 9px 0; font-size: 20px; cursor: pointer; opacity: .55; }
.sess__list label:hover, .sess__list label:has(input:checked) { opacity: 1; }
.sess__list input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sess__list input:focus-visible + span { text-decoration: underline; }
.sess__line { position: absolute; right: 0; width: 22px; height: 1.5px; background: var(--ink); pointer-events: none; transition: top .18s cubic-bezier(.2,0,0,1), width .15s, background-color .15s; }
.sess__line.is-picked { width: 32px; background: var(--accent); }
/* date: a small typed calendar, opens under the line */
.date { position: relative; }
.date__btn { cursor: pointer; }
.date__btn.is-empty { color: rgba(17,17,17,.4); }
.cal { position: absolute; z-index: 5; top: 100%; left: 0; margin-top: 10px; width: 280px; padding: 16px; background: var(--paper); border: 1px solid rgba(17,17,17,.25); font: 14px "Courier Prime", "Courier New", monospace; }
.cal[hidden] { display: none; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cal__head button { width: 28px; height: 28px; font-size: 18px; }
.cal__head button:disabled { opacity: .2; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__grid i { font-style: normal; opacity: .45; padding-bottom: 6px; }
.cal__grid button { aspect-ratio: 1; font: inherit; }
.cal__grid button:hover:not(:disabled) { text-decoration: underline; }
.cal__grid button:disabled { opacity: .22; cursor: default; }
.cal__grid .is-today { text-decoration: underline; }
.cal__grid .is-picked { background: var(--ink); color: var(--paper); text-decoration: none; }
.form__submit { justify-self: start; margin-top: 4px; padding: 0; font-size: clamp(36px, 4vw, 48px); line-height: 1; text-transform: lowercase; transition: color .6s ease; }
.form__submit:hover, .form__submit:focus-visible { color: var(--accent); outline: none; }
.form__note { font: 13px "Courier Prime", "Courier New", monospace; opacity: .55; }
.field.is-missing .field__k { color: #a3361f; opacity: 1; }
.field.is-missing .sess__btn, .field.is-missing .date__btn { color: #a3361f; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* only robots fill this in */
.form.is-sent .form__submit { color: var(--accent); cursor: default; }
.form.is-sent .form__note { opacity: 1; color: var(--accent); }

/* Footer */
/* Dark footer: contact + page list, phone / email, big signature, live Brooklyn time */
.footer { --gut: clamp(16px, 2.2vw, 32px); background: #181818; color: var(--paper); padding-top: min(clamp(56px, 9vw, 130px), 9vh); }
/* spacing also follows the window's height, so the footer never reaches up under the top menu */
/* The page lies on top of the footer like a sheet; scrolling to the end slides it up and uncovers the footer */
.sheet { position: relative; z-index: 1; background: inherit; display: flow-root; }
.footer { position: sticky; bottom: 0; z-index: 0; }
.footer::after { content: ""; position: absolute; inset: 0; background: #000; pointer-events: none; opacity: calc((1 - var(--shown, 1)) * .6); }
.footer a { transition: opacity .2s; }
.footer a:hover { opacity: .55; }
.footer .is-here { opacity: .4; pointer-events: none; }
.footer__main { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 32px; align-items: end; padding: 0 var(--gut); }
.footer__big { display: block; font-weight: 300; font-size: clamp(56px, min(7vw, 12vh), 112px); line-height: 1; letter-spacing: -0.02em; margin-bottom: clamp(14px, 1.6vw, 22px); }
.footer__links { list-style: none; display: grid; gap: 4px; line-height: 1.25; font-size: clamp(17px, 1.55vw, 22px); text-transform: uppercase; letter-spacing: -0.01em; }
.footer__info { display: grid; gap: 2px; }
.footer__info span { font-size: clamp(12px, 1.05vw, 15px); text-transform: capitalize; opacity: .6; }
.footer__info a { font-size: clamp(16px, 1.55vw, 21px); overflow-wrap: anywhere; }
.footer__sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: min(clamp(56px, 12vw, 170px), 11vh) var(--gut) clamp(18px, 2vw, 26px); }
.footer__social { display: flex; align-items: center; gap: 18px; flex: none; }
.footer__social svg { display: block; }
.footer__name { font-weight: 400; font-size: clamp(52px, min(7.6vw, 13vh), 124px); line-height: .9; letter-spacing: -0.01em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(245, 243, 238, .28); padding: 16px var(--gut); font-size: clamp(11px, .95vw, 13px); font-variant-numeric: tabular-nums; }
.footer__bottom small { font-size: inherit; }

/* Scroll reveal — subtle */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.1,1); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes fade-in { to { opacity: 1; } }
/* the name comes into focus: out-of-focus and faint → sharp, like a lens focusing */
@keyframes blur-in { to { opacity: 1; filter: blur(0); } }


/* Phones */
@media (max-width: 720px) {
  .menu__list li { font-size: clamp(44px, 13vw, 60px); }
  .marquee { padding: 16px 0; }
  .marquee__item { font-size: 28px; }
  /* Phone photo grid: thin side margins, same as the gap between photos */
  .photos { columns: 2; column-gap: 12px; padding: 0 12px; }
  .photos img { margin-bottom: 12px; }
  .photos--even { --gap: 18px; }
  /* Film on phones: side margins match the gap between photos, with the film-stock names tucked inside them */
  .theme-film .photos { padding: 0 20px; --gap: 20px; column-gap: var(--gap); }
  .film-label { font-size: 9px; }
  .film-label--left { right: calc(100% + 5px); }
  .film-label--right { left: calc(100% + 5px); }
  .split { padding: 48px 12px; }
  .split__word { font-size: 14.6vw; }
  .photos--even .crop img { margin-bottom: 0; }
  .love__quote { flex-basis: 100%; }  .style-card__name { font-size: 22px; margin-top: 16px; }
  .title, .lead { padding-left: 12px; padding-right: 12px; }
  /* page titles start clear of the (big) top menu */
  .title, .style-screen .title { padding-top: 160px; }
  /* about, phones: one column; the two prints stay side by side, smaller */
  .ab-hero { grid-template-columns: 1fr; padding: 160px 20px 90px; gap: 28px; }
  .ab-name { font-size: 19vw; }
  .ab-hero figure { width: 62%; justify-self: end; } /* smaller portrait, tucked to the right under the name */
  .ab-hero figcaption { font-size: 10px; white-space: nowrap; display: flex; justify-content: flex-end; } /* one line, lined up with the photo's right edge */
  .ab-lead { padding: 0 20px 100px; }
  .ab-lead p { font-size: clamp(24px, 7vw, 30px); }
  .ab-dev { padding: 0 20px 100px; gap: 14px; }
  .ab-dev figure:nth-child(2) { margin-top: 70px; }
  .ab-dev figcaption { font-size: 10px; }
  .ab-dev img { aspect-ratio: 3 / 5; } /* taller, thinner prints on phones */
  .ab-dev figure:nth-child(2) img { object-position: 28% 50%; } /* trims more off the right of the balloons photo */
  .ab-me { grid-template-columns: 1fr; padding: 0 20px 24px; gap: 32px; }
  .ab-split { padding-top: 40px; padding-bottom: 56px; }
  .contact { padding-top: 170px; }
  /* phones: the names sit in a row above the photos */
  .hs__stick { flex-direction: column; align-items: stretch; justify-content: center; gap: 22px; }
  .hs__side { width: auto; padding: 0 20px; }
  .hs__label { margin-bottom: 10px; }
  .hs__names { display: flex; gap: 18px; }
  .hs__names a { font-size: clamp(26px, 8vw, 34px); }
  .hs__view { flex: none; }
  .hs__track { gap: 18px; }
  .hs .style-card { width: min(72vw, 50vh); }
  .form__row { grid-template-columns: 1fr; }
  /* phone number takes only the room it needs; the email gets the rest and stays on one line */
  .footer__main { grid-template-columns: auto 1fr; row-gap: 28px; column-gap: clamp(16px, 7vw, 32px); }
  .footer__info a { white-space: nowrap; font-size: min(16px, 4.3vw); }
  .footer__nav { grid-column: 1 / -1; }
  /* phones: the footer takes about half the screen; any extra room goes above the signature */
  .footer { display: flex; flex-direction: column; min-height: 50svh; padding-top: 36px; }
  .footer__sign { margin-top: auto; padding-top: 28px; }
  .footer__name { font-size: min(12vw, (100vw - 126px) / 6.1); white-space: nowrap; } /* signature stays on one line, with room for the two icons */
  .more-styles { flex-direction: column; align-items: center; gap: 20px; }
}
