
@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer/Switzer-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer/Switzer-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer/Switzer-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer/Switzer-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer/Switzer-Extrabold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer/Switzer-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('../assets/fonts/switzer/Switzer-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Tempting';
  src: url('../assets/fonts/tempting/Tempting.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fffaef;
  --ink: #0e0e0e;
  --ink-soft: rgba(14, 14, 14, 0.6);
  --line: rgba(14, 14, 14, 0.15);
  --accent: #6c3c3c;

  --font-display: 'Switzer', system-ui, sans-serif;
  --font-body: 'Switzer', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --font-script: 'Tempting', Georgia, serif;

  --nav-h: 5rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Type scale — base 16px, ratio 1.25 (Major Third). size = 16 * 1.25^n
     Fluid between a mobile floor and the desktop scale value so every
     component sharing a role shrinks together at narrower viewports. */
  --step-micro: 10px;                                    /* n = -2, fixed */
  --step-label: clamp(16px, 1.5vw + 12px, 20px);          /* n =  1 */
  --step-body: clamp(14px, 1vw + 11px, 16px);             /* n =  0 */
  --step-subhead: clamp(16px, 3.5vw + 8px, 25px);         /* n =  2 */
  --step-heading: clamp(31px, 7vw + 12px, 49px);          /* n =  5 */
  --step-display: clamp(40px, 14vw + 8px, 95px);          /* n =  8 */

  --cursor-ring-size: 36px;
  --cursor-ring-color: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  min-height: 100vh;
  font-synthesis: none;
}

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

img { max-width: 100%; display: block; }

ul { list-style: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 80px;
  background: var(--bg);
}

.site-logo {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--font-script);
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.96px;
}

.site-nav {
  display: flex;
  flex-shrink: 0;
  gap: 23px;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--step-label);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding-bottom: 0.2rem;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.nav-toggle {
  display: none;
  align-items: center;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-label);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
  border: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle-icon {
  display: none;
  flex-direction: column;
  gap: 3.5px;
}

.nav-toggle-icon span {
  display: block;
  width: 18px;
  height: 2.5px;
  border-radius: 1.25px;
  background: var(--ink);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 106px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.4s ease, visibility 0s linear 0.4s;
}

.nav-overlay.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.4s ease;
}

.nav-overlay a {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--step-subhead);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.nav-overlay-close {
  position: absolute;
  top: calc(var(--nav-h) / 2);
  right: var(--gutter);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-label);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
  border: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  color: var(--ink);
}

.nav-overlay-close-icon {
  display: none;
  position: relative;
  width: 24px;
  height: 24px;
}

.nav-overlay-close-icon::before,
.nav-overlay-close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.nav-overlay-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-overlay-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.coord-strip {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3rem;
  z-index: 10;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: var(--step-label);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.coord-strip span {
  position: absolute;
  left: 80px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.coord-strip [data-mouse-coords] { bottom: calc(140px + 8.4rem); }

.coord-strip [data-session-time] { bottom: 140px; }

.archive-copy {
  --col: calc((100vw - 160px - 220px) / 12);
  position: fixed;
  left: calc(80px + var(--col) + 20px);
  width: calc(var(--col) * 3 + 20px * 2);
  bottom: 140px;
  font-family: var(--font-display);
  font-size: var(--step-subhead);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
  z-index: 10;
}

.preloader,
.breakpoint-veil {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc((var(--nav-h) - 24px) / 2) var(--gutter);
}

.preloader {
  z-index: 200;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-display);
  font-size: var(--step-label);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
}

.preloader-top .stack { display: flex; flex-direction: column; flex: 1 1 0; gap: 0.15rem; }

.preloader-top .stack.preloader-desktop-only + .stack.preloader-desktop-only { align-items: center; text-align: center; }

.preloader-top .stack:last-child { align-items: flex-end; text-align: right; }

.preloader-top .stack.preloader-tablet-only,
.preloader-top .stack.preloader-mobile-only { display: none; }

.preloader-bottom {
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-display);
  font-size: var(--step-label);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.preloader-bottom .stack { display: flex; flex-direction: column; gap: 0.15rem; }

.preloader-coords-stacked { text-align: right; }

.preloader-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--step-display);
  line-height: 0.9;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.breakpoint-veil {
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.breakpoint-veil.is-visible {
  opacity: 1;
  visibility: visible;
}

.cursor-trail {
  position: fixed;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.cursor-trail-item {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  aspect-ratio: 4 / 5;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.cursor-trail-item.is-visible {
  opacity: 1;
}

/* Ambient (mobile/tablet, no cursor to follow) items start smaller
   and fainter than the cursor-trail default, and zoom in further —
   a more dramatic pop than the subtle 0.8->1 scale used for the
   desktop trail. */
.cursor-trail-item--ambient {
  width: 105px;
  opacity: 0;
  /* This is the exit transition — it's what's active the moment
     .is-visible gets removed, since the element falls back to this
     base rule. Kept short so fading photos clear off screen quickly
     instead of lingering and building up clutter. */
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.cursor-trail-item--ambient.is-visible {
  opacity: 1;
  /* The entrance transition — active while .is-visible is present,
     i.e. exactly the zoom-in/fade-in phase. Still slower than the
     exit on purpose, but fast enough that the whole enter+hold+exit
     sequence fits inside a ~5s total on-screen budget (see lifespan
     in cursor-trail.js). */
  transition: opacity 1.5s ease, transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cursor-trail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.welcome-speech {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  pointer-events: none;
}

.welcome-speech p {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--step-subhead);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.under-construction {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.under-construction h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--step-heading);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.diag-rail {
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
  position: relative;
  touch-action: none;
}

.diag-stage {
  position: relative;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.diag-track {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.diag-item {
  position: absolute;
  width: 277px;
  height: 366px;
  background: var(--ink);
  overflow: hidden;
  display: block;
  border: none;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.diag-item.landscape {
  height: 242px;
}

.diag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diag-item .caption {
  position: absolute;
  left: 0;
  bottom: -1.4rem;
  font-family: var(--font-mono);
  font-size: var(--step-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lightbox {
  --col: calc((100vw - 160px - 220px) / 12);
  position: fixed;
  inset: 0;
  z-index: 300;
  visibility: hidden;
  transition: visibility 0s linear 0.56s;
}

.lightbox.is-open {
  visibility: visible;
  transition: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 239, 0.85);
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.lightbox.is-open .lightbox-backdrop {
  opacity: 1;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.lightbox-image {
  position: absolute;
  left: calc(80px + var(--col) * 3 + 20px * 3);
  width: calc(var(--col) * 4 + 20px * 3);
  top: calc(var(--nav-h) + var(--gutter));
  max-height: calc(100vh - var(--nav-h) - var(--gutter) * 2);
  transform: translateX(-60px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.lightbox.is-open .lightbox-image { transform: translateX(0); opacity: 1; }

.lightbox.is-landscape .lightbox-image {
  top: 50%;
  transform: translateY(-50%) translateX(-60px);
}

.lightbox.is-landscape.is-open .lightbox-image {
  transform: translateY(-50%) translateX(0);
}

.lightbox-image img {
  display: block;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-info {
  position: absolute;
  left: calc(80px + var(--col) * 7 + 20px * 7);
  width: calc(var(--col) * 2 + 20px);
  top: calc(var(--nav-h) + var(--gutter));
  color: var(--ink);
  transform: translateX(-60px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.06s, opacity 0.4s ease 0.06s;
}

.lightbox.is-open .lightbox-info { transform: translateX(0); opacity: 1; }

.lightbox-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--step-subhead);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.lightbox-desc {
  margin-top: 2rem;
  max-width: 40ch;
  font-family: var(--font-body);
  font-size: var(--step-body);
  text-wrap: pretty;
  line-height: 1.6;
  color: var(--ink);
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 80px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1;
}

@media (max-width: 1200px) {
  .lightbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: var(--gutter);
  }
  .lightbox-image, .lightbox-info {
    position: static;
    top: auto;
    left: auto;
    width: auto;
    max-width: 90vw;
  }
  .lightbox.is-open .lightbox-image { transform: scale(1); }
  .lightbox-info { text-align: center; }
  .lightbox-close { position: absolute; top: 32px; right: 20px; }
}

/* ===== Mobile / tablet archive layout (spine + alternating grid) ===== */

.archive {
  display: none;
}

@media (prefers-reduced-motion: reduce), (max-width: 1200px) {
  .diag-rail { display: none; }
  .archive-copy { display: none; }

  .archive {
    --a-ink: #141312;
    --a-ink-50: rgba(20, 19, 18, 0.5);
    --a-ink-40: rgba(20, 19, 18, 0.4);
    --a-margin: 18px;
    --a-row-gap: 54px;
    display: block;
    position: relative;
    background: var(--bg);
    padding: 26px var(--a-margin) 70px;
  }

  .archive-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: var(--a-row-gap);
    align-items: center;
  }

  .a-row { grid-row: span 1; }

  .a-photo {
    overflow: hidden;
    display: block;
  }

  .a-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .a-row.a-col-1 .a-photo { margin-right: 14px; }
  .a-row.a-col-2 .a-photo { margin-left: 14px; }

  .a-photo--bleed-left { margin-left: calc(var(--a-margin) * -1); }
  .a-photo--bleed-right { margin-right: calc(var(--a-margin) * -1); }

  .a-portrait .a-photo { aspect-ratio: 4 / 5; }
  .a-landscape .a-photo { aspect-ratio: 3 / 2; }

  .a-bleed.a-portrait .a-photo { aspect-ratio: 4 / 5.3; }
  .a-bleed.a-landscape .a-photo { aspect-ratio: 3 / 2.16; }

  .a-cap {
    font-family: var(--font-body);
    color: var(--a-ink);
  }

  .a-cap--left { justify-self: start; text-align: left; padding-left: 16px; }
  .a-cap--right { justify-self: end; text-align: right; padding-right: 16px; }

  .a-index {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--step-micro);
    line-height: 1;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: var(--a-ink-40);
  }

  .a-index::before { content: attr(data-index); }

  .a-title {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--step-subhead);
    line-height: 1.2;
    margin-top: 8px;
    color: var(--a-ink);
  }

  .a-meta {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--step-micro);
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 6px;
    color: var(--a-ink-50);
  }

  .a-desc {
    display: none;
  }

  .a-breaker {
    grid-column: 1 / -1 !important;
    display: block;
  }

  .a-breaker-photo {
    aspect-ratio: 3 / 2;
    width: 76%;
  }

  .a-breaker-photo--bleed {
    width: calc(84% + var(--a-margin));
    margin-left: auto;
    margin-right: calc(var(--a-margin) * -1);
  }

  .a-breaker--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .a-breaker-cap {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-top: 10px;
  }

  .a-breaker-cap--right { padding-right: var(--a-margin); }

  .a-title--small {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--step-subhead);
    line-height: 1.2;
    color: var(--a-ink);
  }
}

@media (min-width: 641px) and (max-width: 1200px) {
  .archive {
    --a-margin: 32px;
    --a-row-gap: 80px;
  }

  .a-cap { width: 340px; max-width: 100%; }

  .a-desc {
    display: block;
    font-family: var(--font-body);
    font-size: var(--step-body);
    line-height: 1.6;
    max-width: 34ch;
    margin-top: 12px;
    color: var(--a-ink-50);
    text-wrap: pretty;
  }
}

.about-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  align-items: start;
  padding: 166px 80px 0 80px;
}

.about-photo-block {
  grid-column: 1 / 7;
  margin-left: -80px;
  position: sticky;
  top: calc(var(--nav-h) + var(--gutter));
}

.about-photo {
  aspect-ratio: 802 / 834;
  background: #1e1e1e;
}

.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.about-copy-block {
  grid-column: 8 / 13;
  min-height: 130vh;
  background: #1e1e1e;
  padding: 4rem 7rem;
  color: var(--bg);
  display: flex;
  align-items: flex-start;
}

.about-copy {
  font-family: var(--font-display);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-align: left;
}

.about-copy p + p { margin-top: 1.25rem; }

.about-quote {
  margin: 3rem auto 0;
  max-width: 38ch;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: var(--step-subhead);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.contact-section {
  padding: var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--gutter);
  align-items: start;
}

.contact-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-display);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.contact-heading .flip-word {
  display: inline-block;
  font-weight: 900;
  white-space: nowrap;
}

.contact-heading .flip-letter {
  display: inline-block;
  perspective: 300px;
}

.contact-heading .flip-letter-inner {
  display: inline-block;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-details dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-subhead);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.contact-details dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-body);
  line-height: 1.6;
  letter-spacing: 0;
}

.contact-details a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-map {
  margin-top: 1rem;
  aspect-ratio: 16 / 10;
  background: var(--line);
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1200px) {
  .coord-strip { display: none; }
  .archive-copy { display: none; }

  .site-header { padding: 0 48px; }

  .nav-overlay-close { right: 48px; }

  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-logo {
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.04em;
  }

  .preloader,
  .breakpoint-veil {
    padding-top: calc((var(--nav-h) - 20px) / 2);
    padding-bottom: calc((var(--nav-h) - 20px) / 2);
  }

  .preloader-top .stack.preloader-desktop-only { display: none; }
  .preloader-top .stack.preloader-tablet-only { display: flex; }

  .preloader-wordmark {
    font-size: var(--step-heading);
    line-height: 1;
    letter-spacing: -0.01em;
    text-align: center;
  }

  .preloader-bottom {
    display: flex;
  }

  .about-section {
    display: flex;
    flex-direction: column;
    padding: 48px 48px 0;
  }

  .about-photo-block {
    position: static;
    margin-left: 0;
    display: flex;
    flex-direction: column;
  }

  .about-photo { order: 2; }

  .about-copy-block { min-height: 0; margin-top: var(--gutter); }

  .about-quote { margin: 0 0 var(--gutter); max-width: none; font-size: var(--step-subhead); order: 1; }

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

@media (max-width: 640px) {
  .site-header { padding: 0 20px; }

  .nav-overlay-close { right: 20px; }

  .site-logo {
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0.56px;
  }

  .preloader,
  .breakpoint-veil {
    padding-top: calc((var(--nav-h) - 16px) / 2);
    padding-bottom: calc((var(--nav-h) - 16px) / 2);
  }

  .preloader-top .stack.preloader-desktop-only,
  .preloader-top .stack.preloader-tablet-only { display: none; }
  .preloader-top .stack.preloader-mobile-only { display: flex; }
  .preloader-bottom { display: flex; }

  .nav-toggle-label,
  .nav-overlay-close-label { display: none; }

  .nav-toggle-icon { display: flex; }
  .nav-overlay-close-icon { display: block; }

  .nav-overlay { gap: 94px; }

  .nav-overlay a {
    font-size: 24px;
    line-height: 1.2;
  }

  .about-section { padding: 20px 20px 0; }

  .about-copy-block { padding: 1.5rem; }

  .contact-section { gap: 2rem; }

  .contact-heading {
    font-size: var(--step-heading);
    line-height: 1.1;
  }

}

@media (min-width: 1201px) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: none;
  }
}

.cursor-ring {
  position: fixed;
  top: calc(var(--cursor-ring-size) / -2);
  left: calc(var(--cursor-ring-size) / -2);
  z-index: 1000;
  pointer-events: none;
  border-radius: 50%;
  width: var(--cursor-ring-size);
  height: var(--cursor-ring-size);
  background: var(--cursor-ring-color);
  mix-blend-mode: difference;
}

/* Keyboard focus indicator for the archive rail photo buttons — they're
   moved around by a transform, so a visible ring is the only cue a
   keyboard user has for which one they're on. */
.diag-item:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
