:root {
  --ink: #343638;
  --ink-soft: #686b6b;
  --cream: #f5f1ea;
  --cream-deep: #e9e2d7;
  --silver: #c9c8c4;
  --taupe: #aa9d8f;
  --caramel: #b8875c;
  --caramel-dark: #8d6444;
  --blue: #aac7d5;
  --blue-pale: #dbe8ed;
  --line: rgba(52,54,56,.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed; top: .8rem; left: .8rem; z-index: 999;
  padding: .8rem 1rem; background: white; color: #111; border-radius: 99px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: 78px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.2rem,4vw,4rem);
  background: rgba(245,241,234,.82);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid rgba(52,54,56,.07);
}
.wordmark,.footer-mark { font-weight: 900; letter-spacing: -.07em; text-decoration: none; }
.wordmark { font-size: 1.65rem; }
.wordmark span,.footer-mark span { color: var(--blue); }
.site-header nav { display: flex; gap: clamp(.9rem,2vw,2rem); }
.site-header nav a {
  text-decoration: none; font-size: .69rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 800; color: var(--ink-soft);
}
.site-header nav a:hover,.site-header nav a:focus-visible { color: var(--ink); }

.hero {
  min-height: 100svh;
  padding: clamp(7rem,11vw,10rem) clamp(1.2rem,5vw,5rem) clamp(3rem,6vw,5rem);
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(20rem,.72fr);
  align-items: center; gap: clamp(2rem,6vw,7rem); position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(170,199,213,.36), transparent 26rem),
    linear-gradient(135deg,#f8f5ef 0%,#efe9df 58%,#e5ddd1 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 52rem; }
.eyebrow {
  margin: 0 0 1rem; color: var(--caramel-dark); font-size: .7rem;
  letter-spacing: .18em; text-transform: uppercase; font-weight: 850;
}
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.058em;
  line-height: .92; font-size: clamp(4rem,8.4vw,8.4rem); max-width: 8.7ch;
}
.hero-lede {
  max-width: 39rem; margin: 1.8rem 0 2rem; font-size: clamp(1.05rem,1.5vw,1.25rem);
  line-height: 1.75; color: var(--ink-soft);
}
.quiet-link {
  display: inline-flex; gap: .7rem; align-items: center; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--taupe); padding-bottom: .45rem;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800;
}
.hero-portrait {
  margin: 0; position: relative; z-index: 2; justify-self: end; width: min(100%,31rem);
  transform: rotate(1.2deg);
}
.hero-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 48% 48% 2.6rem 2.6rem;
  box-shadow: 0 32px 80px rgba(65,58,52,.18);
}
.hero-portrait figcaption {
  margin-top: .9rem; font-family: var(--serif); font-style: italic; color: var(--ink-soft);
  text-align: right; font-size: .95rem;
}
.hero-watermark {
  position: absolute; right: -2vw; bottom: -10vw; font-family: var(--serif);
  font-size: min(60vw,52rem); line-height: .7; color: rgba(255,255,255,.24); pointer-events: none;
}

.section-shell { padding: clamp(5rem,9vw,9rem) clamp(1.2rem,5vw,5rem); }
.section-shell.compact { padding-bottom: 2rem; }
.section-shell.compact-top { padding-top: 0; }
.intro {
  display: grid; grid-template-columns: 5rem 1fr; gap: clamp(1.5rem,4vw,4rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-number {
  margin: 0; padding-top: .2rem; font-family: var(--serif); font-size: 2rem; color: var(--taupe);
}
.intro-copy h2,.story-heading h2,.gallery-heading h2,.random-panel h2 {
  margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.052em; line-height: .95;
}
.intro-copy h2 { font-size: clamp(3rem,6.5vw,6.7rem); max-width: 11ch; }
.intro-columns {
  margin-top: 2.4rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; max-width: 61rem;
}
.intro-columns p { margin: 0; color: var(--ink-soft); line-height: 1.8; font-size: 1.08rem; }

.story-section { background: #e8e2da; }
.story-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; }
.story-heading h2 { font-size: clamp(3rem,6vw,6.2rem); max-width: 9ch; }
.story-heading > p { margin: 0; max-width: 28rem; color: var(--ink-soft); line-height: 1.65; }
.story-mosaic {
  display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: clamp(.8rem,1.5vw,1.3rem);
  align-items: start;
}
.story-card { margin: 0; }
.story-primary { grid-row: span 2; }
.story-wide { grid-column: span 2; }
.story-card .photo-button { width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.story-card img { width: 100%; height: 28rem; object-fit: cover; border-radius: 1.2rem; }
.story-primary img { height: 58rem; }
.story-wide img { height: 27rem; object-position: center 22%; }
.story-card figcaption { padding: .8rem .1rem 1.3rem; }
.story-card figcaption span {
  display: block; margin-bottom: .3rem; color: var(--caramel-dark); font-size: .66rem;
  text-transform: uppercase; letter-spacing: .15em; font-weight: 850;
}
.story-card figcaption p { margin: 0; font-family: var(--serif); font-size: 1rem; color: #4f5150; }

.mood-strip {
  display: grid; grid-template-columns: repeat(4,1fr); padding: 0 clamp(1.2rem,5vw,5rem);
  background: var(--blue-pale); border-top: 1px solid rgba(52,54,56,.07); border-bottom: 1px solid rgba(52,54,56,.07);
}
.mood-strip div { padding: 1.7rem 1.2rem; border-right: 1px solid rgba(52,54,56,.09); }
.mood-strip div:last-child { border-right: 0; }
.mood-strip span { display: block; margin-bottom: .45rem; color: #677982; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 850; }
.mood-strip strong { font-family: var(--serif); font-size: 1.06rem; font-weight: 400; }

.gallery-section { background: #f7f4ee; }
.gallery-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 2.3rem; }
.gallery-heading h2 { font-size: clamp(3.4rem,7vw,7rem); }
.gallery-heading > p { margin: 0; max-width: 31rem; color: var(--ink-soft); line-height: 1.7; }
.filters {
  display: flex; flex-wrap: wrap; gap: .2rem; margin-bottom: 2.5rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .8rem 0;
}
.filter {
  border: 0; background: transparent; color: var(--ink-soft); padding: .65rem .8rem;
  cursor: pointer; font-size: .68rem; letter-spacing: .115em; text-transform: uppercase; font-weight: 850;
}
.filter::after { content: '·'; padding-left: 1rem; color: var(--silver); }
.filter:last-child::after { display: none; }
.filter:hover,.filter:focus-visible,.filter.is-active { color: var(--caramel-dark); }
.gallery-grid { columns: 4 18rem; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1.4rem; }
.gallery-item.hidden { display: none; }
.gallery-item .photo-button { width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; border-radius: .85rem; overflow: hidden; }
.gallery-item img { width: 100%; height: auto; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.gallery-item .photo-button:hover img,.gallery-item .photo-button:focus-visible img { transform: scale(1.016); }
.gallery-item figcaption { padding: .7rem .1rem .1rem; }
.gallery-item figcaption h3 { margin: 0 0 .25rem; font-family: var(--serif); font-size: 1.02rem; font-weight: 400; }
.gallery-item figcaption p { margin: 0; color: var(--ink-soft); line-height: 1.5; font-size: .88rem; }
.gallery-item figcaption .tags { display: block; margin-top: .5rem; color: var(--taupe); font-size: .61rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; }

.rest-panel {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(20rem,.95fr); min-height: 70vh;
  background: #353a3c; color: #f7f4ef;
}
.rest-panel > img { width: 100%; height: 100%; min-height: 70vh; object-fit: cover; }
.rest-panel > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem,7vw,7rem); }
.rest-panel .eyebrow { color: var(--blue); }
.rest-panel blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem,5.2vw,5.2rem); line-height: 1; letter-spacing: -.045em; }
.rest-panel > div > p:last-child { margin-top: 2rem; color: #bfc4c5; }

.random-panel { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; background: linear-gradient(135deg,#f2ece3,#e7ddd0); }
.random-panel h2 { font-size: clamp(3.4rem,7vw,7rem); max-width: 8ch; }
.random-panel p:last-child { color: var(--ink-soft); font-size: 1.06rem; }
.random-button {
  width: 15rem; aspect-ratio: 1; border: 1px solid rgba(52,54,56,.14); border-radius: 50%;
  background: var(--blue-pale); color: var(--ink); cursor: pointer; text-transform: uppercase;
  font-size: .76rem; letter-spacing: .13em; font-weight: 900; transition: .22s ease;
}
.random-button span { display: block; margin-top: .7rem; font-size: 1.4rem; }
.random-button:hover,.random-button:focus-visible { transform: translateY(-4px); background: #cddfe6; }

.site-footer {
  padding: 3.2rem clamp(1.2rem,5vw,5rem); display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 2rem; align-items: end; background: #292d2f; color: #f1eee8;
}
.footer-mark { font-size: clamp(3rem,8vw,7rem); line-height: .78; }
.site-footer p { margin: 0; color: #aeb4b5; line-height: 1.55; }
.site-footer a { text-decoration: none; font-size: .69rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 800; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: rgba(31,34,35,.95); color: white; }
.lightbox::backdrop { background: rgba(0,0,0,.84); }
.lightbox-frame { height: 100%; display: grid; place-items: center; padding: 4rem 1rem 3.6rem; }
.lightbox img { max-width: min(92vw,1280px); max-height: calc(100dvh - 8rem); object-fit: contain; }
.lightbox p { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); width: min(90vw,52rem); text-align: center; margin: 0; font-family: var(--serif); font-style: italic; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: white; font-size: 1.7rem; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .65s ease, transform .65s ease; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr .75fr; gap: 2rem; }
  .story-mosaic { grid-template-columns: 1fr 1fr; }
  .story-primary { grid-row: auto; }
  .story-primary img { height: 36rem; }
  .story-wide { grid-column: span 2; }
  .mood-strip { grid-template-columns: repeat(2,1fr); }
  .mood-strip div:nth-child(2) { border-right: 0; }
  .mood-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(52,54,56,.09); }
}

@media (max-width: 760px) {
  .site-header { height: 70px; }
  .site-header nav a:nth-child(1),.site-header nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 7rem; }
  .hero-copy { order: 2; }
  .hero-portrait { order: 1; width: 78vw; justify-self: center; }
  .hero h1 { font-size: clamp(3.6rem,15vw,6rem); }
  .intro { grid-template-columns: 1fr; }
  .section-number { display: none; }
  .intro-columns { grid-template-columns: 1fr; }
  .story-heading,.gallery-heading { flex-direction: column; align-items: start; }
  .story-mosaic { grid-template-columns: 1fr; }
  .story-wide { grid-column: auto; }
  .story-card img,.story-primary img,.story-wide img { height: auto; }
  .mood-strip { grid-template-columns: 1fr; }
  .mood-strip div { border-right: 0; border-bottom: 1px solid rgba(52,54,56,.09); }
  .gallery-grid { columns: 2 10rem; }
  .rest-panel { grid-template-columns: 1fr; min-height: auto; }
  .rest-panel > img { min-height: 0; max-height: 70vh; }
  .random-panel { grid-template-columns: 1fr; align-items: start; }
  .random-button { width: 11.5rem; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 460px) {
  .gallery-grid { columns: 1; }
  .filters { gap: 0; }
  .filter { padding: .55rem .45rem; font-size: .62rem; }
  .filter::after { padding-left: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}