/* ==========================================================================
   YC Photography — design system + site styles
   Palette: warm paper, deep ink, bronze accent. Editorial, image-first.
   ========================================================================== */

/* fonts: served from this site, not Google (no visitor data leaves it) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/inter-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #faf8f5;
  --paper-2: #f2eee8;
  --ink: #17150f;
  --ink-soft: #4a453d;
  --muted: #7c756b;
  --line: rgba(23, 21, 15, 0.12);
  --accent: #a9754f;
  --accent-deep: #8a5c3c;
  --dark: #0f0e0d;
  --dark-2: #191713;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --nav-h: 78px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1440px;
  --gap: clamp(0.5rem, 1.2vw, 1rem);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 0.8s var(--ease);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
  /* no dragging photos off the page, no long-press save on phones */
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

.display {
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.98;
}

.h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.72); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.italic { font-style: italic; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.wrap--narrow { max-width: 980px; }

section { position: relative; }

.section {
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section--dark {
  background: var(--dark);
  color: var(--paper);
}

.section--paper2 { background: var(--paper-2); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover { color: var(--paper); }

.btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--solid-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--solid-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* text link with animated underline */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease), color 0.3s var(--ease);
}

.tlink:hover {
  color: var(--accent);
  background-size: 0% 1px;
}

.tlink svg { transition: transform 0.4s var(--ease); }
.tlink:hover svg { transform: translateX(5px); }

/* ==========================================================================
   header / nav
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.45s var(--ease);
}

.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
  opacity: 1;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
  z-index: -1;
}

.header.is-solid {
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink);
  height: 66px;
  box-shadow: 0 1px 0 var(--line);
}

.header.is-solid::after { opacity: 0; }

/* pages without a dark hero start solid */
.header.header--static {
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.header--static::after { opacity: 0; }

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand__logo {
  height: 34px;
  width: auto;
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.nav a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-block: 0.35rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after { width: 100%; }

.nav a[aria-current="page"] { color: var(--accent); }

.nav__cta {
  border: 1px solid currentColor;
  padding: 0.6rem 1.2rem !important;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.nav__cta::after { display: none; }

.nav__cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* hamburger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  position: relative;
  z-index: 101;
}

.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}

.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }

body.is-menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.is-menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--dark);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease);
  visibility: hidden;
}

body.is-menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
}

.menu a {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 11vw, 3.5rem);
  line-height: 1.35;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}

body.is-menu-open .menu a {
  opacity: 1;
  transform: none;
}

.menu a:nth-child(1) { transition-delay: 0.12s; }
.menu a:nth-child(2) { transition-delay: 0.18s; }
.menu a:nth-child(3) { transition-delay: 0.24s; }
.menu a:nth-child(4) { transition-delay: 0.3s; }
.menu a:hover { color: var(--accent); }

.menu__foot {
  margin-top: 2.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide.is-active img {
  animation: kenburns 9s var(--ease) forwards;
}

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.25) 42%, rgba(8, 8, 8, 0.35) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
}

.hero__title {
  font-size: clamp(3rem, 9.5vw, 8rem);
  line-height: 0.92;
  max-width: 15ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}

.hero__title em {
  font-style: italic;
  color: #f0d9c4;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2.25rem;
}

.hero__sub {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__dots {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.hero__dots button {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s var(--ease);
}

.hero__dots button[aria-selected="true"] { background: #fff; }

.scrollcue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  z-index: 4;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.scrollcue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: cue 2.4s var(--ease) infinite;
}

@keyframes cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* page hero for inner pages */
.pagehead {
  padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.pagehead__title { max-width: 18ch; }

.pagehead .lede { margin-top: 1.5rem; }

/* ==========================================================================
   intro / statement
   ========================================================================== */
.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.statement__body p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  line-height: 1.45;
  color: var(--ink);
}

.signature {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
}

/* ==========================================================================
   section headings
   ========================================================================== */
.sechead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.sechead p.lede { margin-top: 0.9rem; }

/* ==========================================================================
   featured mosaic
   ========================================================================== */
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.mosaic figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.mosaic figure:hover img { transform: scale(1.05); }

/* A row can only be gapless if everything in it is the same shape, so wide
   photographs pair up two to a row and tall ones sit three across. */
.m-wide { grid-column: span 6; aspect-ratio: 3 / 2; }
.m-tall { grid-column: span 4; aspect-ratio: 2 / 3; }

/* ==========================================================================
   category cards
   ========================================================================== */
/* 4 cards, no orphan row: they fill the grid exactly across 4 / 2 / 1
   columns. .cat--wide is kept for a feature card that spans two. */
.cats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--gap);
}


.cat {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--dark);
  color: #fff;
}

.cat--wide {
  grid-column: span 2;
  aspect-ratio: 3 / 2;
}

/* in the 4-column layout the feature card shares a row with two portrait
   cards, so let it stretch to their height instead of fixing a ratio */
@media (min-width: 1101px) {
  .cat--wide { aspect-ratio: auto; }
}

.cat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 1.2s var(--ease), opacity 0.6s var(--ease);
}

.cat:hover img { transform: scale(1.06); opacity: 1; }

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.05) 55%);
}

.cat__label {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.4rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.cat__label h3 {
  font-size: 1.6rem;
}


/* ==========================================================================
   about strip
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split--portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split__media { position: relative; }

.split__badge {
  position: absolute;
  right: -14px;
  bottom: -14px;
  background: var(--accent);
  color: #fff;
  padding: 1rem 1.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* ==========================================================================
   process steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}

.step {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.section--dark .step { border-color: rgba(255, 255, 255, 0.18); }

.step__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.9rem;
}

.step h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }

.step p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section--dark .step p { color: rgba(255, 255, 255, 0.68); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 9, 8, 0.62);
}

.cta__inner {
  padding-block: clamp(5rem, 12vw, 9rem);
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.cta h2 { max-width: 16ch; }

/* ==========================================================================
   portfolio: filters + masonry
   ========================================================================== */
.filters {
  position: sticky;
  top: 66px;
  z-index: 40;
  background: rgba(250, 248, 245, 0.93);
  backdrop-filter: saturate(140%) blur(12px);
  border-block: 1px solid var(--line);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.filters__inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.9rem;
}

.filters__inner::-webkit-scrollbar { display: none; }

.filter {
  flex: none;
  padding: 0.5rem 1.05rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.filter:hover { color: var(--ink); border-color: var(--line); }

.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}


.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 6px;
  gap: var(--gap);
}

.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  cursor: zoom-in;
}

/* only hide-then-reveal when JS is running, so content is never lost */
.js .tile { opacity: 0; transform: translateY(18px); }

.tile.is-in { opacity: 1; transform: none; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}

.tile:hover img { transform: scale(1.045); }

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 13, 0);
  transition: background 0.45s var(--ease);
}

.tile:hover::after { background: rgba(15, 14, 13, 0.14); }

.tile__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.tile:hover .tile__zoom { opacity: 1; transform: none; }

.grid__empty {
  padding: 4rem 0;
  text-align: center;
  color: var(--muted);
}

/* ==========================================================================
   lightbox
   ========================================================================== */
.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 9, 8, 0.97);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.lb.is-open { opacity: 1; visibility: visible; }

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lb__stage {
  position: relative;
  min-height: 0;
}

/* The frame is absolutely positioned so it has a definite height — a percentage
   max-height on the photo resolves against a flexible grid row unreliably. */
.lb__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(0.75rem, 5vw, 5rem);
}

.lb__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lb__frame img.is-ready { opacity: 1; }

.lb__nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.lb__nav:hover { background: rgba(255, 255, 255, 0.2); }
.lb__prev { left: clamp(0.5rem, 2vw, 2rem); }
.lb__next { right: clamp(0.5rem, 2vw, 2rem); }

.lb__caption {
  padding: 1rem var(--pad) 1.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  text-align: center;
  min-height: 3.5rem;
}

.lb__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
}

/* ==========================================================================
   about page
   ========================================================================== */
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.about-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.prose h3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.prose > * + * { margin-top: 3rem; }

.prose p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 66ch;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}

.strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.fact {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}

.fact span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.field { margin-bottom: 1.6rem; }

.field label {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.95rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.35s var(--ease);
}

.field textarea { min-height: 130px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field select { appearance: none; cursor: pointer; }

.field--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.hp { position: absolute; left: -9999px; opacity: 0; }

.formnote {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.25rem;
}

.info dl { margin: 0; }

.info dt {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.info dd {
  margin: 0 0 1.9rem;
  font-size: 1.02rem;
}

.info dd a:hover { color: var(--accent); }

.faq { border-top: 1px solid var(--line); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 1.05rem;
  font-weight: 400;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.35s var(--ease);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  max-width: 62ch;
  font-size: 0.98rem;
}

/* ==========================================================================
   footer
   ========================================================================== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  font-size: 0.9rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3.5rem;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.2rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.65rem; }
.footer a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.social {
  display: flex;
  gap: 0.75rem;
}

.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==========================================================================
   scroll reveal
   ========================================================================== */
.reveal {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal { opacity: 0; transform: translateY(26px); }

.reveal.is-in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cats { display: flex; flex-wrap: wrap; justify-content: center; }
  .cats .cat { flex: 0 0 calc((100% - 2 * var(--gap)) / 3); }
}

@media (max-width: 1024px) {
  .statement,
  .split,
  .about-hero,
  .contact-grid { grid-template-columns: 1fr; }

  .split--reverse .split__media { order: -1; }
  .about-hero img { aspect-ratio: 3 / 2; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }

  .m-wide { grid-column: span 12; }

  .strip { grid-template-columns: repeat(2, 1fr); }
  .hero__dots { display: none; }
}

@media (max-width: 640px) {
  .cats { display: grid; grid-template-columns: 1fr; }
  .cat--wide { grid-column: span 1; aspect-ratio: 3 / 4; }

  /* on a phone the photo fills most of the stage, so tuck the arrows into the
     bottom corners rather than sitting them across the middle of the picture */
  .lb__nav {
    top: auto;
    bottom: 6px;
    transform: none;
    width: 42px;
    height: 42px;
    background: rgba(10, 9, 8, 0.55);
    backdrop-filter: blur(6px);
  }

  .lb__caption { padding-inline: 4.5rem; font-size: 0.8rem; }
}

@media (max-width: 560px) {
  /* photographs deserve the full width on a phone */
  .m-wide, .m-tall { grid-column: span 12; }
  .m-tall { aspect-ratio: 4 / 5; }

  .grid { grid-template-columns: 1fr; }
  .field--half { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .split__badge { position: static; display: inline-block; margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, .tile { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .lb, .filters { display: none; }
}

/* privacy page */
.privacy h2 { margin: 2.4rem 0 0.8rem; }
.privacy h2:first-child { margin-top: 0; }
.privacy p { color: var(--ink-soft); max-width: 64ch; }

/* trigger check: confirms the photo-upload workflow runs clean */
