:root {
  --paper: #f4f1eb;
  --paper-soft: #e7e5de;
  --paper-warm: #d9d2c5;
  --ink: #11110f;
  --ink-soft: #66645e;
  --charcoal: #0a0a09;
  --charcoal-soft: #171714;
  --line: rgba(17, 17, 15, 0.16);
  --line-light: rgba(244, 241, 235, 0.2);
  --gold: #a98f62;
  --steel: #66777a;
  --max: 1500px;
  --page-gutter: clamp(0.75rem, 1.45vw, 1.65rem);
  --gallery-gap: clamp(0.65rem, 1.25vw, 1.35rem);
  color-scheme: light;
  font-family:
    "Bodoni 72",
    "Bodoni MT",
    Didot,
    "Palatino Linotype",
    Palatino,
    Georgia,
    "Times New Roman",
    serif;
  font-feature-settings:
    "kern" 1,
    "liga" 1;
  text-rendering: optimizeLegibility;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  background: var(--paper);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  content: "";
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(17, 17, 15, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 15, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

html.is-locked,
body.is-locked {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper-warm);
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem clamp(1.2rem, 4vw, 4.8rem);
  color: #f8f4ec;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 241, 235, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav a,
.eyebrow,
.subline,
.hero-index,
.contact-form span,
.form-note,
.site-footer,
.lightbox button,
.lightbox figcaption {
  font-family:
    "Helvetica Neue",
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  flex: 0 0 auto;
  visibility: hidden;
  opacity: 0;
  font-size: 0.78rem;
  transform: translateY(-0.25rem);
  transition:
    visibility 0ms linear 220ms,
    opacity 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled .brand {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 2.25rem);
  font-size: 0.72rem;
}

.nav a {
  position: relative;
  padding: 0.35rem 0;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: #f8f4ec;
  background: var(--charcoal);
}

.hero-image,
.hero-veil {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 48%;
  opacity: 0.82;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.01);
}

.hero-veil {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.14) 44%, rgba(0, 0, 0, 0.78)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 46%, rgba(0, 0, 0, 0.16));
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(48rem, 80vw);
  align-self: start;
  align-content: start;
  padding: clamp(5.7rem, 10svh, 7.6rem) clamp(1.2rem, 4vw, 4.8rem) 0;
  margin: 0;
}

.eyebrow {
  display: none;
  margin: 0 0 0.85rem;
  color: rgba(248, 244, 236, 0.58);
  font-size: 0.72rem;
}

h1 {
  margin-bottom: clamp(0.95rem, 1.6vw, 1.55rem);
  color: rgba(248, 244, 236, 0.86);
  font-size: clamp(3.2rem, 7vw, 7.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
  white-space: nowrap;
}

.subline {
  margin: 0;
  color: rgba(248, 244, 236, 0.64);
  font-size: clamp(0.64rem, 0.95vw, 0.78rem);
}

.hero-index {
  position: absolute;
  right: clamp(1.2rem, 4vw, 4.8rem);
  bottom: 1.45rem;
  z-index: 2;
  margin: 0;
  color: rgba(248, 244, 236, 0.58);
  font-size: 0.66rem;
}

.section-shell,
.about,
.contact {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.work-section,
.projects,
.places,
.about,
.contact {
  scroll-margin-top: 4.8rem;
}

.work-section,
.projects,
.places {
  padding: clamp(5rem, 9vw, 10rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: clamp(3.2rem, 7vw, 7rem);
  scroll-margin-top: clamp(4.8rem, 7vw, 6.4rem);
}

.about h2,
.contact-copy h2 {
  scroll-margin-top: clamp(4.8rem, 7vw, 6.4rem);
}

.work-section .section-heading,
.projects .section-heading {
  margin-bottom: clamp(1.45rem, 3.2vw, 3.4rem);
}

.section-heading p {
  max-width: 32rem;
  margin: clamp(1rem, 2vw, 1.7rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.projects .section-heading p {
  color: rgba(248, 244, 236, 0.68);
}

.section-heading h2,
.about h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(3rem, 7.5vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(5rem, 7.2vw, 18rem);
  grid-auto-flow: dense;
  gap: var(--gallery-gap);
  align-items: stretch;
  width: calc(100% + (var(--page-gutter) * 2));
  margin-inline: calc(var(--page-gutter) * -1);
}

.work-item {
  display: block;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--charcoal);
  border: 0;
  border-radius: 2px;
  box-shadow: 0 1.6rem 4rem rgba(17, 17, 15, 0.15);
  cursor: pointer;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--work-position, 50% 50%);
  transition:
    filter 240ms ease,
    opacity 240ms ease,
    transform 760ms ease;
}

.work-item:hover img,
.work-item:focus-visible img {
  filter: saturate(0.94) contrast(1.03);
  opacity: 0.96;
  transform: scale(1.018);
}

.work-item:focus-visible,
.project-card:focus-visible,
.place-card:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

.work-item.is-feature {
  grid-column: span 7;
  grid-row: span 7;
}

.work-item.is-tall {
  grid-column: span 5;
  grid-row: span 7;
}

.work-item.is-wide {
  grid-column: span 12;
  grid-row: span 6;
}

.work-item.is-half {
  grid-column: span 6;
  grid-row: span 6;
}

.work-item.is-third {
  grid-column: span 4;
  grid-row: span 5;
}

.work-item.is-quarter {
  grid-column: span 3;
  grid-row: span 4;
}

.work-item[data-work-index="25"] {
  --work-position: 100% 50%;
}

.work-item[data-work-index="26"] {
  --work-position: 100% 50%;
}

.work-grid.is-tile-flow {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  grid-auto-flow: row;
  gap: var(--gallery-gap);
}

.work-tile-spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(5rem, 7.2vw, 18rem);
  gap: var(--gallery-gap);
}

.work-tile-spread > .work-item,
.work-tile-spread > .work-item.is-feature,
.work-tile-spread > .work-item.is-tall,
.work-tile-spread > .work-item.is-wide,
.work-tile-spread > .work-item.is-half,
.work-tile-spread > .work-item.is-third,
.work-tile-spread > .work-item.is-quarter {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
}

.work-tile-spread--feature-diptych > .work-item:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 7;
}

.work-tile-spread--feature-diptych > .work-item:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: 1 / span 7;
}

.work-tile-spread--feature-left > .work-item:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 8;
}

.work-tile-spread--feature-left > .work-item:nth-child(2) {
  grid-column: 8 / span 5;
  grid-row: 1 / span 4;
}

.work-tile-spread--feature-left > .work-item:nth-child(3) {
  grid-column: 8 / span 5;
  grid-row: 5 / span 4;
}

.work-tile-spread--feature-right > .work-item:nth-child(1) {
  grid-column: 6 / span 7;
  grid-row: 1 / span 8;
}

.work-tile-spread--feature-right > .work-item:nth-child(2) {
  grid-column: 1 / span 5;
  grid-row: 1 / span 4;
}

.work-tile-spread--feature-right > .work-item:nth-child(3) {
  grid-column: 1 / span 5;
  grid-row: 5 / span 4;
}

.work-tile-spread--triptych > .work-item:nth-child(1) {
  grid-column: 1 / span 4;
  grid-row: 1 / span 5;
}

.work-tile-spread--triptych > .work-item:nth-child(2) {
  grid-column: 5 / span 4;
  grid-row: 1 / span 5;
}

.work-tile-spread--triptych > .work-item:nth-child(3) {
  grid-column: 9 / span 4;
  grid-row: 1 / span 5;
}

.work-tile-spread--wide > .work-item:nth-child(1) {
  grid-column: 1 / span 12;
  grid-row: 1 / span 6;
}

.work-tile-spread--diptych > .work-item:nth-child(1),
.work-tile-spread--diptych-wide > .work-item:nth-child(1),
.work-tile-spread--diptych-offset > .work-item:nth-child(1) {
  grid-column: 1 / span 6;
  grid-row: 1 / span 6;
}

.work-tile-spread--diptych > .work-item:nth-child(2),
.work-tile-spread--diptych-wide > .work-item:nth-child(2),
.work-tile-spread--diptych-offset > .work-item:nth-child(2) {
  grid-column: 7 / span 6;
  grid-row: 1 / span 6;
}

.work-tile-spread--diptych-wide > .work-item {
  grid-row-end: span 5;
}

.work-grid.is-tile-flow .work-item[data-work-index="1"],
.work-grid.is-tile-flow .work-item[data-work-index="2"],
.work-grid.is-tile-flow .work-item[data-work-index="4"],
.work-grid.is-tile-flow .work-item[data-work-index="5"],
.work-grid.is-tile-flow .work-item[data-work-index="6"] {
  --work-position: 50% 42%;
}

.work-grid.is-tile-flow .work-item[data-work-index="5"] {
  --work-position: 50% 30%;
}

.work-grid.is-tile-flow .work-item[data-work-index="3"],
.work-grid.is-tile-flow .work-item[data-work-index="7"] {
  --work-position: 50% 48%;
}

.work-grid.is-tile-flow .work-item[data-work-index="10"],
.work-grid.is-tile-flow .work-item[data-work-index="11"] {
  --work-position: 50% 40%;
}

.work-grid.is-tile-flow .work-item[data-work-index="12"],
.work-grid.is-tile-flow .work-item[data-work-index="13"],
.work-grid.is-tile-flow .work-item[data-work-index="14"] {
  --work-position: 50% 48%;
}

.work-grid.is-tile-flow .work-item[data-work-index="15"],
.work-grid.is-tile-flow .work-item[data-work-index="16"],
.work-grid.is-tile-flow .work-item[data-work-index="18"],
.work-grid.is-tile-flow .work-item[data-work-index="20"],
.work-grid.is-tile-flow .work-item[data-work-index="22"],
.work-grid.is-tile-flow .work-item[data-work-index="24"] {
  --work-position: 50% 38%;
}

.work-grid.is-tile-flow .work-item[data-work-index="19"],
.work-grid.is-tile-flow .work-item[data-work-index="21"],
.work-grid.is-tile-flow .work-item[data-work-index="25"],
.work-grid.is-tile-flow .work-item[data-work-index="26"],
.work-grid.is-tile-flow .work-item[data-work-index="27"] {
  --work-position: 50% 44%;
}

.work-grid.is-tile-flow .work-item[data-work-index="29"],
.work-grid.is-tile-flow .work-item[data-work-index="30"],
.work-grid.is-tile-flow .work-item[data-work-index="31"],
.work-grid.is-tile-flow .work-item[data-work-index="32"] {
  --work-position: 50% 42%;
}

.projects {
  color: rgba(244, 241, 235, 0.78);
  background: var(--charcoal);
  border-top: 0;
  padding-bottom: clamp(23rem, 34vw, 34rem);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: calc(100% + (var(--page-gutter) * 2));
  margin-inline: calc(var(--page-gutter) * -1);
}

.project-card,
.place-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(24rem, 42vw, 42rem);
  padding: 0;
  overflow: hidden;
  text-align: left;
  background: var(--charcoal-soft);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  isolation: isolate;
}

.project-card {
  min-height: clamp(38rem, 88svh, 76rem);
  border-radius: 0;
  box-shadow: none;
}

.project-card + .project-card {
  border-top: 1px solid rgba(244, 241, 235, 0.11);
}

.project-card img,
.place-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: var(--card-fit, cover);
  object-position: var(--card-position, 50% 50%);
  transform: translate(var(--card-shift-x, 0), var(--card-shift-y, 0)) scale(var(--card-scale, 1));
  filter: saturate(0.84) contrast(1.06);
  transition:
    filter 240ms ease,
    transform 900ms ease;
}

.project-card::after,
.place-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.2) 44%, rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 54%);
}

.project-card::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.14) 42%, rgba(0, 0, 0, 0.66)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 50%);
}

.project-card:hover img,
.project-card:focus-visible img,
.place-card:hover img,
.place-card:focus-visible img {
  filter: saturate(0.96) contrast(1.08);
  transform: translate(var(--card-shift-x, 0), var(--card-shift-y, 0)) scale(var(--card-hover-scale, 1.035));
}

.project-card[data-project-id="egypt"] {
  --card-fit: cover;
  --card-position: 50% 50%;
  --card-scale: 1;
  --card-hover-scale: 1.035;
}

.project-card[data-project-id="dubai"] {
  --card-position: 50% 45%;
}

.project-card[data-project-id="tenerife"] {
  --card-position: 50% 46%;
}

.project-card[data-project-id="denmark"] {
  --card-position: 50% 45%;
}

.project-card[data-project-id="secret-location"] {
  --card-position: 58% 50%;
}

.project-card[data-project-id="israel"] {
  --card-position: 86% 50%;
}

.place-card[data-place-id="europe"] {
  --card-position: 50% 64%;
  --card-scale: 1.02;
  --card-hover-scale: 1.055;
  --card-shift-y: -3%;
}

.place-card[data-place-id="asia"] {
  --card-position: 58% 4%;
  --card-scale: 1.05;
  --card-hover-scale: 1.08;
  --card-shift-y: 2.4%;
}

.place-card[data-place-id="africa"] {
  --card-position: 88% 52%;
}

.card-copy {
  display: grid;
  align-self: end;
  gap: 0.8rem;
  width: 100%;
  padding: clamp(1.2rem, 2.4vw, 2rem);
  color: rgba(244, 241, 235, 0.74);
}

.project-card .card-copy {
  color: rgba(244, 241, 235, 0.72);
  padding: clamp(1.6rem, 3.4vw, 3.8rem);
}

.card-copy strong {
  font-size: clamp(2.3rem, 5.2vw, 5.6rem);
  font-weight: 400;
  line-height: 0.9;
}

.project-card .card-copy strong {
  font-size: clamp(2.8rem, 6.4vw, 7.4rem);
  line-height: 0.92;
}

.places {
  background: var(--paper-soft);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-gap);
  width: calc(100% + (var(--page-gutter) * 2));
  margin-inline: calc(var(--page-gutter) * -1);
}

.place-card {
  min-height: clamp(22rem, 36vw, 36rem);
  background: #1b1c19;
}

.philosophy {
  display: grid;
  scroll-margin-top: 4.8rem;
  min-height: clamp(28rem, 52vh, 39rem);
  padding: clamp(4.2rem, 7vw, 7rem) 1rem;
  color: #f8f4ec;
  place-items: center;
  text-align: center;
}

.philosophy-analog {
  background:
    linear-gradient(rgba(10, 10, 9, 0.54), rgba(10, 10, 9, 0.72)),
    url("assets/photos/statement-andulka-r1-05600-0022.jpg") 50% 18% / 100% auto no-repeat;
  background-color: var(--charcoal);
}

.philosophy-observed {
  min-height: clamp(28rem, 52vh, 39rem);
  background:
    linear-gradient(rgba(10, 10, 9, 0.44), rgba(10, 10, 9, 0.68)),
    url("assets/photos/statement-egypt-r1-09257-008a.jpg") 50% 47% / cover;
}

.philosophy-retouch {
  min-height: clamp(28rem, 52vh, 39rem);
  background:
    linear-gradient(rgba(10, 10, 9, 0.42), rgba(10, 10, 9, 0.68)),
    url("assets/photos/statement-andulka-r1-05600-0005.jpg") 50% 46% / cover;
}

.statement-lines {
  position: relative;
  display: grid;
  gap: clamp(0.55rem, 1vw, 0.95rem);
  width: min(900px, 100%);
  margin: 0;
  color: rgba(248, 244, 236, 0.84);
  font-weight: 400;
  line-height: 1.05;
  justify-items: center;
  text-shadow: 0 1rem 3.4rem rgba(0, 0, 0, 0.28);
}

.statement-lines::before,
.statement-lines::after {
  width: min(26rem, 46%);
  height: 1px;
  margin-inline: auto;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(248, 244, 236, 0.4), transparent);
}

.statement-lines::before {
  margin-bottom: 1.45rem;
}

.statement-lines::after {
  margin-top: 1.55rem;
}

.statement-lines span {
  display: block;
}

.statement-lines span:first-child {
  font-size: clamp(2.9rem, 5.7vw, 5.7rem);
  line-height: 1;
}

.statement-lines span:nth-child(2),
.statement-lines span:nth-child(3) {
  font-size: clamp(1.35rem, 2.25vw, 2.25rem);
  line-height: 1.12;
}

.statement-lines-photo {
  gap: clamp(0.6rem, 1.05vw, 1rem);
  width: min(780px, 100%);
  color: rgba(248, 244, 236, 0.84);
  text-shadow: 0 0.9rem 2.6rem rgba(0, 0, 0, 0.2);
}

.statement-lines-photo::before,
.statement-lines-photo::after {
  width: min(22rem, 38%);
  background: linear-gradient(90deg, transparent, rgba(248, 244, 236, 0.28), transparent);
}

.statement-lines-photo span,
.statement-lines-photo span:first-child,
.statement-lines-photo span:nth-child(2),
.statement-lines-photo span:nth-child(3) {
  max-width: 20ch;
  color: inherit;
  font-size: clamp(1.35rem, 2.55vw, 2.8rem);
  line-height: 1.08;
}

.philosophy-analog .statement-lines-photo {
  transform: translateY(clamp(0.25rem, 1.2vh, 1.25rem));
}

.philosophy-observed .statement-lines-photo {
  transform: translateY(clamp(2rem, 6vh, 4.8rem));
}

.philosophy-retouch .statement-lines-photo {
  transform: translateY(clamp(0.75rem, 2.6vh, 2.6rem));
}

.about,
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 10rem) var(--page-gutter);
  border-top: 1px solid var(--line);
}

.about p:last-child {
  margin: 0;
  font-size: clamp(2rem, 5vw, 5.4rem);
  line-height: 0.98;
}

.contact-copy {
  display: grid;
  justify-items: center;
  align-self: start;
  padding-top: clamp(0.4rem, 2vw, 2rem);
  text-align: center;
}

.contact-intro,
.contact-routes {
  max-width: none;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.35;
}

.contact-intro span {
  white-space: nowrap;
}

.contact-routes {
  display: grid;
  gap: 0;
  width: min(100%, 32rem);
  margin-top: clamp(1.45rem, 2.4vw, 2.25rem);
  font-size: clamp(0.92rem, 1.25vw, 1.06rem);
  line-height: 1.45;
}

.contact-route {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: clamp(0.85rem, 1.5vw, 1.2rem) 0;
  text-align: center;
  border-top: 1px solid rgba(17, 17, 15, 0.14);
}

.contact-route:last-child {
  border-bottom: 1px solid rgba(17, 17, 15, 0.14);
}

.contact-route p {
  margin: 0;
}

.contact-route-label {
  color: var(--ink);
  font-family:
    "Helvetica Neue",
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  font-size: clamp(0.74rem, 0.9vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.contact-routes a {
  color: var(--ink-soft);
  font-weight: 400;
  text-decoration: none;
}

.contact-form {
  display: grid;
  align-self: start;
  gap: 1.35rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
}

.contact-form span {
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.9rem 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 15, 0.36);
  border-radius: 0;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ink);
}

.contact-form button {
  width: fit-content;
  min-height: 3.35rem;
  margin-top: 1rem;
  padding: 0.9rem 2.1rem;
  color: #f8f4ec;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 1px;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  color: var(--ink);
  background: transparent;
  outline: none;
}

.form-note {
  min-height: 1rem;
  margin: 0;
  color: var(--steel);
  font-size: 0.64rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1.2rem, 4vw, 4.8rem);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 0.64rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 1.4rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(1rem, 3vw, 3rem);
  color: #f8f4ec;
  background: rgba(6, 6, 5, 0.95);
}

.lightbox.has-thumbnails {
  padding-bottom: clamp(7rem, 13svh, 10rem);
}

.lightbox figure {
  display: grid;
  gap: 1rem;
  margin: 0;
  justify-items: center;
}

.lightbox img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 82svh;
  object-fit: contain;
  background: transparent;
}

.lightbox.has-thumbnails figure > img {
  max-height: min(72svh, calc(100svh - 12rem));
}

.lightbox figcaption {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  color: rgba(248, 244, 236, 0.68);
  font-size: 0.68rem;
}

.lightbox button {
  color: inherit;
  background: transparent;
  border: 1px solid rgba(248, 244, 236, 0.28);
  border-radius: 1px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  min-width: 4.65rem;
  padding: 0.8rem 1rem;
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  min-width: 4.25rem;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  font-size: 1.45rem;
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: clamp(1rem, 3vw, 3rem);
}

.lightbox-next {
  right: clamp(1rem, 3vw, 3rem);
}

.lightbox-thumbs {
  --lightbox-thumb-gap: 0.55rem;
  --lightbox-thumb-size: clamp(4rem, 7vw, 6.5rem);
  position: absolute;
  right: auto;
  bottom: clamp(1rem, 2vw, 1.6rem);
  left: 50%;
  display: flex;
  gap: var(--lightbox-thumb-gap);
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.55rem;
  margin-inline: auto;
  overflow-x: auto;
  background: rgba(6, 6, 5, 0.52);
  border: 1px solid rgba(248, 244, 236, 0.14);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
  transform: translateX(-50%);
}

.lightbox-thumbs[hidden] {
  display: none;
}

.lightbox-thumb {
  flex: 0 0 var(--lightbox-thumb-size);
  width: var(--lightbox-thumb-size);
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  opacity: 0.48;
  transition:
    opacity 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  background: var(--charcoal);
}

.lightbox-thumb.is-active,
.lightbox-thumb:hover,
.lightbox-thumb:focus-visible {
  opacity: 1;
  border-color: rgba(248, 244, 236, 0.8);
  transform: translateY(-2px);
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.85rem;
    max-width: 15rem;
  }

  .section-heading,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-routes a {
    overflow-wrap: anywhere;
  }

  .work-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(5rem, 12vw, 7.5rem);
  }

  .work-item.is-feature,
  .work-item.is-tall,
  .work-item.is-half,
  .work-item.is-third,
  .work-item.is-quarter {
    grid-column: span 3;
    grid-row: span 5;
  }

  .work-item.is-wide {
    grid-column: span 6;
    grid-row: span 4;
  }

  .project-grid,
  .place-grid {
    grid-template-columns: 1fr;
  }

  .place-card {
    min-height: 34rem;
  }

  .project-card {
    min-height: clamp(34rem, 78svh, 54rem);
  }

}

@media (max-width: 640px) {
  .site-header {
    padding-top: 1rem;
  }

  .brand {
    font-size: 0.7rem;
  }

  .nav {
    max-width: min(20rem, calc(100vw - 8rem));
    gap: 0.65rem;
    font-size: 0.58rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-copy {
    width: min(84vw, 100%);
    padding: clamp(6.5rem, 18svh, 8rem) 1rem 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 4.4rem);
  }

  .hero-index {
    left: 1rem;
    right: auto;
  }

  .work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .work-grid.is-tile-flow {
    grid-template-columns: 1fr;
  }

  .work-grid.is-tile-flow .work-tile-spread {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .work-grid.is-tile-flow .work-tile-spread > .work-item,
  .work-grid.is-tile-flow .work-tile-spread > .work-item.is-feature,
  .work-grid.is-tile-flow .work-tile-spread > .work-item.is-tall,
  .work-grid.is-tile-flow .work-tile-spread > .work-item.is-wide,
  .work-grid.is-tile-flow .work-tile-spread > .work-item.is-half,
  .work-grid.is-tile-flow .work-tile-spread > .work-item.is-third,
  .work-grid.is-tile-flow .work-tile-spread > .work-item.is-quarter {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: var(--image-ratio);
  }

  .work-item,
  .work-item.is-feature,
  .work-item.is-tall,
  .work-item.is-wide,
  .work-item.is-half,
  .work-item.is-third,
  .work-item.is-quarter {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: var(--image-ratio);
  }

  .place-card {
    min-height: 28rem;
  }

  .project-card {
    min-height: 74svh;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox {
    padding-bottom: 5rem;
  }

  .lightbox.has-thumbnails {
    padding-bottom: 9.5rem;
  }

  .lightbox img {
    max-height: 74svh;
  }

  .lightbox.has-thumbnails figure > img {
    max-height: 58svh;
  }

  .lightbox-thumbs {
    --lightbox-thumb-size: 3.8rem;
    right: auto;
    bottom: 4.8rem;
    left: 50%;
    padding: 0.45rem;
    transform: translateX(-50%);
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1rem;
    width: calc(50% - 1.5rem);
    transform: none;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }
}

.work-full-preview .work-grid {
  position: relative;
  display: block;
  gap: var(--gallery-gap);
  overflow-x: clip;
}

.work-full-preview .work-item,
.work-full-preview .work-item.is-feature,
.work-full-preview .work-item.is-tall,
.work-full-preview .work-item.is-wide,
.work-full-preview .work-item.is-half,
.work-full-preview .work-item.is-third,
.work-full-preview .work-item.is-quarter {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  min-width: 0;
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--charcoal);
  box-shadow: 0 1.2rem 3rem rgba(17, 17, 15, 0.11);
}

.work-full-preview .work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--work-position, 50% 50%);
  transform: scale(var(--preview-zoom, 1.006));
  transform-origin: var(--preview-origin, 50% 50%);
}

.work-full-preview .work-item:hover img,
.work-full-preview .work-item:focus-visible img {
  filter: saturate(0.96) contrast(1.03);
  opacity: 0.98;
  transform: scale(var(--preview-zoom, 1.018));
}

.work-full-preview .work-item[data-work-index="1"],
.work-full-preview .work-item[data-work-index="2"],
.work-full-preview .work-item[data-work-index="4"],
.work-full-preview .work-item[data-work-index="5"],
.work-full-preview .work-item[data-work-index="6"] {
  --work-position: 50% 42%;
}

.work-full-preview .work-item[data-work-index="3"],
.work-full-preview .work-item[data-work-index="7"] {
  --work-position: 50% 48%;
}

.work-full-preview .work-item[data-work-index="10"],
.work-full-preview .work-item[data-work-index="11"] {
  --work-position: 50% 40%;
}

.work-full-preview .work-item[data-work-index="12"],
.work-full-preview .work-item[data-work-index="13"],
.work-full-preview .work-item[data-work-index="14"] {
  --work-position: 50% 48%;
  --preview-zoom: 1.018;
}

.work-full-preview .work-item[data-work-index="15"],
.work-full-preview .work-item[data-work-index="16"],
.work-full-preview .work-item[data-work-index="18"],
.work-full-preview .work-item[data-work-index="20"],
.work-full-preview .work-item[data-work-index="22"],
.work-full-preview .work-item[data-work-index="24"] {
  --work-position: 50% 38%;
}

.work-full-preview .work-item[data-work-index="19"],
.work-full-preview .work-item[data-work-index="21"],
.work-full-preview .work-item[data-work-index="25"],
.work-full-preview .work-item[data-work-index="26"],
.work-full-preview .work-item[data-work-index="27"] {
  --work-position: 50% 44%;
}

.work-full-preview .work-item[data-work-index="29"],
.work-full-preview .work-item[data-work-index="30"],
.work-full-preview .work-item[data-work-index="31"],
.work-full-preview .work-item[data-work-index="32"] {
  --work-position: 50% 42%;
}

.work-editorial-rhythm .work-section {
  padding-top: clamp(5.5rem, 9vw, 11rem);
  padding-bottom: clamp(7rem, 13vw, 16rem);
}

.work-editorial-rhythm .work-grid {
  display: block;
  width: calc(100% + (var(--page-gutter) * 2));
  margin-inline: calc(var(--page-gutter) * -1);
  overflow: visible;
}

.work-editorial-rhythm .editorial-work-flow {
  display: grid;
  gap: clamp(7rem, 13vw, 18rem);
}

.work-editorial-rhythm .editorial-spread {
  --spread-gap: clamp(0.8rem, 1.35vw, 1.55rem);
  display: grid;
  width: 100%;
  gap: var(--spread-gap);
  padding-inline: clamp(1rem, 4vw, 5.5rem);
}

.work-editorial-rhythm .editorial-slot {
  min-width: 0;
  min-height: 0;
}

.work-editorial-rhythm .editorial-stack {
  display: grid;
  min-width: 0;
  min-height: 0;
  gap: var(--spread-gap);
}

.work-editorial-rhythm .work-item,
.work-editorial-rhythm .work-item.is-feature,
.work-editorial-rhythm .work-item.is-tall,
.work-editorial-rhythm .work-item.is-wide,
.work-editorial-rhythm .work-item.is-half,
.work-editorial-rhythm .work-item.is-third,
.work-editorial-rhythm .work-item.is-quarter {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.work-editorial-rhythm .work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--work-position, 50% 50%);
  transform: scale(var(--preview-zoom, 1.008));
  transform-origin: var(--preview-origin, 50% 50%);
}

.work-editorial-rhythm .work-item:hover img,
.work-editorial-rhythm .work-item:focus-visible img {
  filter: saturate(0.96) contrast(1.03);
  opacity: 0.98;
  transform: scale(var(--preview-hover-zoom, 1.022));
}

.work-editorial-rhythm .editorial-spread--opening {
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.78fr);
  min-height: min(92svh, 970px);
  align-items: end;
}

.work-editorial-rhythm .editorial-spread--opening > .editorial-slot {
  height: min(84svh, 920px);
}

.work-editorial-rhythm .editorial-spread--opening .editorial-stack {
  grid-template-rows: 1.05fr 0.95fr;
  height: min(72svh, 760px);
}

.work-editorial-rhythm .editorial-spread--diptych,
.work-editorial-rhythm .editorial-spread--landscape-pair,
.work-editorial-rhythm .editorial-spread--diptych-offset {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  padding-inline: clamp(1rem, 6vw, 8rem);
}

.work-editorial-rhythm .editorial-spread--diptych > .editorial-slot {
  height: clamp(34rem, 76svh, 56rem);
}

.work-editorial-rhythm .editorial-spread--landscape-pair > .editorial-slot {
  height: clamp(26rem, 54svh, 42rem);
}

.work-editorial-rhythm .editorial-spread--diptych-offset {
  align-items: start;
}

.work-editorial-rhythm .editorial-spread--diptych-offset > .editorial-slot {
  height: clamp(31rem, 68svh, 52rem);
}

.work-editorial-rhythm .editorial-spread--diptych-offset > .editorial-slot:nth-child(2) {
  margin-top: clamp(3rem, 7vw, 8rem);
}

.work-editorial-rhythm .editorial-spread--cinematic {
  padding-inline: 0;
}

.work-editorial-rhythm .editorial-spread--cinematic > .editorial-slot {
  height: clamp(32rem, 82svh, 66rem);
}

.work-editorial-rhythm .editorial-spread--single-left,
.work-editorial-rhythm .editorial-spread--single-right {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding-block: clamp(1rem, 3vw, 4rem);
}

.work-editorial-rhythm .editorial-spread--single-left > .editorial-slot {
  grid-column: 2 / span 5;
  height: clamp(35rem, 78svh, 58rem);
}

.work-editorial-rhythm .editorial-spread--single-right > .editorial-slot {
  grid-column: 7 / span 4;
  height: clamp(34rem, 72svh, 54rem);
}

.work-editorial-rhythm .editorial-spread--asym,
.work-editorial-rhythm .editorial-spread--asym-reverse {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: center;
  padding-inline: clamp(1rem, 5vw, 7rem);
}

.work-editorial-rhythm .editorial-spread--asym > .editorial-slot,
.work-editorial-rhythm .editorial-spread--asym-reverse > .editorial-slot {
  height: clamp(38rem, 84svh, 62rem);
}

.work-editorial-rhythm .editorial-spread--asym .editorial-stack,
.work-editorial-rhythm .editorial-spread--asym-reverse .editorial-stack {
  grid-template-rows: 0.88fr 1.12fr;
  height: clamp(34rem, 74svh, 54rem);
}

.work-editorial-rhythm .editorial-spread--asym-reverse > .editorial-slot {
  order: 2;
}

.work-editorial-rhythm .editorial-spread--asym-reverse .editorial-stack {
  order: 1;
}

.work-editorial-rhythm .work-item[data-work-index="1"],
.work-editorial-rhythm .work-item[data-work-index="2"],
.work-editorial-rhythm .work-item[data-work-index="4"],
.work-editorial-rhythm .work-item[data-work-index="5"],
.work-editorial-rhythm .work-item[data-work-index="6"] {
  --work-position: 50% 42%;
}

.work-editorial-rhythm .work-item[data-work-index="3"],
.work-editorial-rhythm .work-item[data-work-index="7"] {
  --work-position: 50% 48%;
}

.work-editorial-rhythm .work-item[data-work-index="10"],
.work-editorial-rhythm .work-item[data-work-index="11"] {
  --work-position: 50% 40%;
}

.work-editorial-rhythm .work-item[data-work-index="12"],
.work-editorial-rhythm .work-item[data-work-index="13"],
.work-editorial-rhythm .work-item[data-work-index="14"] {
  --work-position: 50% 48%;
  --preview-zoom: 1.018;
}

.work-editorial-rhythm .work-item[data-work-index="15"],
.work-editorial-rhythm .work-item[data-work-index="16"],
.work-editorial-rhythm .work-item[data-work-index="18"],
.work-editorial-rhythm .work-item[data-work-index="20"],
.work-editorial-rhythm .work-item[data-work-index="22"],
.work-editorial-rhythm .work-item[data-work-index="24"] {
  --work-position: 50% 38%;
}

.work-editorial-rhythm .work-item[data-work-index="19"],
.work-editorial-rhythm .work-item[data-work-index="21"],
.work-editorial-rhythm .work-item[data-work-index="25"],
.work-editorial-rhythm .work-item[data-work-index="26"],
.work-editorial-rhythm .work-item[data-work-index="27"] {
  --work-position: 50% 44%;
}

.work-editorial-rhythm .work-item[data-work-index="29"],
.work-editorial-rhythm .work-item[data-work-index="30"],
.work-editorial-rhythm .work-item[data-work-index="31"],
.work-editorial-rhythm .work-item[data-work-index="32"] {
  --work-position: 50% 42%;
}

.work-editorial-rhythm .project-grid,
.work-editorial-rhythm .place-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: stretch;
}

.work-editorial-rhythm .project-card,
.work-editorial-rhythm .place-card {
  border-radius: 0;
  box-shadow: none;
}

.work-editorial-rhythm .project-card[data-project-order="1"],
.work-editorial-rhythm .project-card[data-project-order="4"] {
  grid-column: span 7;
  min-height: clamp(34rem, 57vw, 58rem);
}

.work-editorial-rhythm .project-card[data-project-order="2"],
.work-editorial-rhythm .project-card[data-project-order="3"] {
  grid-column: span 5;
  min-height: clamp(30rem, 46vw, 49rem);
}

.work-editorial-rhythm .project-card[data-project-order="5"],
.work-editorial-rhythm .project-card[data-project-order="6"] {
  grid-column: span 6;
  min-height: clamp(29rem, 42vw, 45rem);
}

.work-editorial-rhythm .place-card[data-place-order="1"] {
  grid-column: span 7;
  min-height: clamp(32rem, 50vw, 52rem);
}

.work-editorial-rhythm .place-card[data-place-order="2"] {
  grid-column: span 5;
  min-height: clamp(30rem, 44vw, 47rem);
}

.work-editorial-rhythm .place-card[data-place-order="3"] {
  grid-column: 3 / span 8;
  min-height: clamp(28rem, 40vw, 42rem);
}

@media (max-width: 900px) {
  .work-editorial-rhythm .editorial-work-flow {
    gap: clamp(4.8rem, 16vw, 8rem);
  }

  .work-editorial-rhythm .editorial-spread,
  .work-editorial-rhythm .editorial-spread--opening,
  .work-editorial-rhythm .editorial-spread--diptych,
  .work-editorial-rhythm .editorial-spread--landscape-pair,
  .work-editorial-rhythm .editorial-spread--diptych-offset,
  .work-editorial-rhythm .editorial-spread--single-left,
  .work-editorial-rhythm .editorial-spread--single-right,
  .work-editorial-rhythm .editorial-spread--asym,
  .work-editorial-rhythm .editorial-spread--asym-reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-inline: var(--page-gutter);
  }

  .work-editorial-rhythm .editorial-spread--cinematic {
    padding-inline: 0;
  }

  .work-editorial-rhythm .editorial-slot,
  .work-editorial-rhythm .editorial-spread--opening > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--diptych > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--landscape-pair > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--diptych-offset > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--cinematic > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--single-left > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--single-right > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--asym > .editorial-slot,
  .work-editorial-rhythm .editorial-spread--asym-reverse > .editorial-slot {
    grid-column: 1;
    width: 100%;
    height: auto;
    margin-top: 0;
    aspect-ratio: var(--image-ratio);
    order: initial;
  }

  .work-editorial-rhythm .editorial-stack,
  .work-editorial-rhythm .editorial-spread--opening .editorial-stack,
  .work-editorial-rhythm .editorial-spread--asym .editorial-stack,
  .work-editorial-rhythm .editorial-spread--asym-reverse .editorial-stack {
    grid-template-rows: none;
    height: auto;
    order: initial;
  }

  .work-editorial-rhythm .project-card,
  .work-editorial-rhythm .place-card,
  .work-editorial-rhythm .project-card[data-project-order],
  .work-editorial-rhythm .place-card[data-place-order] {
    grid-column: span 12;
    min-height: clamp(28rem, 72vw, 38rem);
  }
}

@media (max-width: 1040px) {
  /* Layout is calculated in script so rows stay fully packed. */
}

@media (max-width: 640px) {
  /* Layout is calculated in script so rows stay fully packed. */
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
