:root {
  --black: #000000;
  --black-soft: #0c0c0c;
  --white: #f4f3ef;
  --muted: #a3a3a0;
  --line: rgba(244, 243, 239, 0.2);
  --gutter: clamp(20px, 4.4vw, 72px);
  --section-y: clamp(88px, 12vw, 180px);
  --max: 1600px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Montserrat", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lightbox-open {
  position: fixed;
  right: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 5px;
}

::selection {
  background: var(--white);
  color: var(--black);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--black);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: start;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(18px, 2vw, 30px) var(--gutter);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span {
  font-size: clamp(16px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.wordmark small {
  color: var(--muted);
  font-size: clamp(11px, 0.95vw, 15px);
  font-weight: 400;
  letter-spacing: 0.34em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.2vw, 56px);
  margin-left: auto;
  padding-top: 2px;
}

.site-nav a {
  position: relative;
  padding: 5px 0;
  color: #d7d7d4;
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

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

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

.language-switcher {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 5px;
  margin-left: clamp(24px, 3vw, 48px);
  padding: 2px 0 2px clamp(24px, 3vw, 48px);
  border-left: 1px solid rgba(244, 243, 239, 0.35);
  color: var(--muted);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
}

.language-switcher a {
  color: var(--muted);
  text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher [aria-current="page"] {
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero-portrait {
  position: absolute;
  z-index: -2;
  bottom: -11svh;
  left: clamp(16px, 4vw, 120px);
  width: min(44vw, 67svh);
  height: 105svh;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left bottom;
}

.hero-copy {
  position: absolute;
  top: 50%;
  right: var(--gutter);
  left: 42vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: center;
  transform: translateY(-50%);
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(22px, 2.75vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-subtitle {
  margin: clamp(18px, 1.8vw, 28px) 0 0;
  color: #b5b5b1;
  font-size: clamp(13px, 1.35vw, 22px);
  font-weight: 400;
  letter-spacing: 0.65em;
  text-transform: uppercase;
}

.text-link {
  position: relative;
  display: inline-flex;
  gap: 12px;
  padding: 5px 0 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}


.section {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.6fr);
  column-gap: 40px;
  align-items: end;
  margin-bottom: clamp(50px, 7vw, 104px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section h2,
.page-body .section h1 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-heading > p:last-child,
.about-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.75;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px) clamp(14px, 2vw, 32px);
}

.work {
  min-width: 0;
  margin: 0;
}

.work-wide {
  grid-row: span 1;
}

.work-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
}

.work-link::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  transition: border-color 180ms ease;
}

.work-link:hover::after,
.work-link:focus-visible::after {
  border-color: rgba(255, 255, 255, 0.55);
}

.work img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: none;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-link:hover img,
.work-link:focus-visible img {
  filter: none;
  transform: scale(1.015);
}

.work figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  color: #b5b5b1;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portfolio-more {
  margin-top: clamp(46px, 7vw, 90px);
}

.about {
  scroll-margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(140px, 0.38fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
  border-top: 0;
}

.about-index {
  position: sticky;
  top: 48px;
  color: #262625;
  font-size: clamp(140px, 20vw, 320px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.1em;
  user-select: none;
}

.about-copy,
.contact-copy,
.contact-links {
  min-width: 0;
}

.about-copy h2,
.about-copy h1 {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.info-portrait {
  width: min(100%, 520px);
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.info-portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

 .about-intro {
  display: grid;
  gap: 20px;
  max-width: 760px;
}

.about-intro p {
  margin: 0;
  color: #d6d6d2;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line);
}

.about-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-step h3 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-step p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.72;
}

.about-closing {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-top: clamp(44px, 5.5vw, 68px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.about-closing p {
  margin: 0;
  color: #d2d2ce;
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 1.75;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
  min-height: 72svh;
  border-top: 1px solid var(--line);
}

.contact-copy h2,
.contact-copy h1 {
  margin-bottom: 28px;
}

.contact-text {
  display: grid;
  gap: 16px;
  max-width: 580px;
}

.contact-text p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.75;
}

.contact-address {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 28px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.contact-address:hover,
.contact-address:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.05);
}

.contact-map {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin-top: 24px;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  border: 1px solid var(--line);
  background: #0c0c0c;
  overflow: hidden;
}

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.88)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 58%);
}

.map-placeholder > div {
  max-width: 420px;
}

.map-placeholder p {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.map-placeholder .eyebrow {
  margin-bottom: 0;
}

.map-placeholder .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-links {
  border-top: 1px solid var(--line);
}

.contact-links a {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 180ms ease, background-color 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-links span {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-links small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.contact-links b {
  font-size: 20px;
  font-weight: 400;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: var(--max);
  margin-inline: auto;
  padding: 28px var(--gutter) calc(42px + 8svh);
  border-top: 0;
  color: #777774;
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal a[aria-current="page"] {
  color: var(--white);
}

.legal-body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.legal-header {
  position: relative;
  border-bottom: 1px solid var(--line);
}

.legal-page {
  flex: 1;
  max-width: 920px;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.legal-page h1 {
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-content {
  display: grid;
  gap: 20px;
  color: #d6d6d2;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.75;
}

.legal-content p,
.legal-content ul {
  margin: 0;
}

.legal-content ul {
  padding-left: 20px;
  color: var(--muted);
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content h2 {
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-updated {
  margin-top: 12px !important;
  color: var(--muted);
  font-size: 13px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: var(--gutter);
}

.not-found main {
  text-align: center;
}

.not-found main > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.35em;
}

.not-found h1 {
  margin: 0 0 32px;
  font-size: clamp(36px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lightbox {
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  box-sizing: border-box;
  padding: 72px clamp(16px, 3vw, 40px) 24px;
  border: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.97);
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.lightbox::backdrop {
  background: #000;
}

.lightbox form {
  position: fixed;
  z-index: 10;
  top: 10px;
  right: 14px;
}

.lightbox button {
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  padding: 0;
  border: 0;
  outline: none !important;
  box-shadow: none;
  color: var(--white);
  background: transparent;
  font-size: 58px;
  font-weight: 400;
  line-height: 0.9;
  cursor: pointer;
}

.lightbox-close span {
  display: block;
  line-height: 0.9;
  transform: translateY(-1px);
}

.lightbox-close:hover,
.lightbox-close:focus,
.lightbox-close:focus-visible {
  color: var(--white);
  background: transparent;
  opacity: 0.75;
  outline: none !important;
  box-shadow: none;
}

.lightbox-media {
  display: grid;
  width: 100%;
  min-height: 0;
  height: auto;
  max-height: calc(100dvh - 132px);
  place-items: center;
}

.lightbox-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 132px);
  object-fit: contain;
  touch-action: pan-x pan-y pinch-zoom;
}

.lightbox > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 1700px) and (min-aspect-ratio: 4 / 3) {
  /* Scale the complete desktop typography with the viewport. */
  .site-header:not(.legal-header) .wordmark span {
    font-size: clamp(20px, 1.55vw, 30px);
  }

  .site-header:not(.legal-header) .wordmark small {
    font-size: clamp(12px, 0.95vw, 18px);
  }

  .site-header:not(.legal-header) .site-nav a {
    font-size: clamp(15px, 1.1vw, 22px);
  }

  .site-header:not(.legal-header) .language-switcher {
    font-size: clamp(14px, 1vw, 20px);
  }

  /* Large desktop & TV: keep the portrait on the left and scale it by viewport height. */
  .hero-portrait {
    left: clamp(32px, 4vw, 120px);
    right: auto;
    bottom: -11svh;
    width: min(42vw, 67svh);
    height: 106svh;
    aspect-ratio: 1247 / 1970;
  }

  .hero-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
  }

  /* The title stays on the right side and never overlaps the portrait. */
  .hero-copy {
    top: 50%;
    right: var(--gutter);
    left: 42vw;
    width: auto;
    transform: translateY(-50%);
  }

  .hero h1 {
    font-size: clamp(36px, 2.85vw, 96px);
    letter-spacing: 0.26em;
  }

  .hero-subtitle {
    margin-top: clamp(18px, 1.9vw, 34px);
    font-size: clamp(16px, 1.5vw, 32px);
    letter-spacing: 0.62em;
  }
}

@media (max-width: 1024px), (max-aspect-ratio: 4 / 3) {
  .hero-portrait {
    bottom: -10svh;
    left: 50%;
    width: 116vw;
    height: min(98svh, calc(110svh - 120px));
    aspect-ratio: auto;
    transform: translateX(-50%);
  }

  .hero-portrait img {
    object-position: center bottom;
  }

  .hero-copy {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 18px 8px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.4) 26%,
      rgba(0, 0, 0, 0.42) 74%,
      rgba(0, 0, 0, 0) 100%
    );
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    transform: none;
  }

  .hero h1 {
    font-size: clamp(24px, 4vw, 44px);
    letter-spacing: 0.22em;
    white-space: nowrap;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: clamp(13px, 1.7vw, 20px);
    letter-spacing: 0.55em;
  }
}

@media (max-width: 1024px) {
  .site-header {
    position: absolute;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    row-gap: 20px;
  }

  .legal-header {
    position: relative;
  }

  .wordmark span {
    width: auto;
    font-size: clamp(19px, 2.6vw, 25px);
    letter-spacing: 0.28em;
    white-space: nowrap;
  }

  .wordmark small {
    font-size: clamp(12px, 1.6vw, 15px);
  }

  .language-switcher {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    padding: 4px 0;
    border-left: 0;
    font-size: clamp(14px, 1.9vw, 18px);
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .site-nav a {
    font-size: clamp(15px, 2vw, 18px);
    letter-spacing: 0.18em;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .contact,
  .about-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-index {
    display: none;
  }

  .about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .site-header {
    row-gap: 18px;
  }

  .wordmark {
    gap: 4px;
  }

  .wordmark span {
    width: 145px;
    font-size: clamp(13px, 3.6vw, 15px);
    letter-spacing: 0.28em;
    white-space: normal;
  }

  .wordmark small {
    font-size: clamp(9px, 2.5vw, 10px);
  }

  .language-switcher {
    font-size: clamp(11px, 3vw, 13px);
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: clamp(11px, 3vw, 13px);
    letter-spacing: 0.16em;
  }

  .hero-portrait {
    bottom: -11svh;
    left: 50%;
    width: 145vw;
    height: min(97svh, calc(111svh - 115px));
  }

  .hero-copy {
    top: 56%;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(15px, 4.5vw, 23px);
    line-height: 1.15;
    letter-spacing: 0.19em;
  }

  .hero-subtitle {
    margin-top: 10px;
    font-size: clamp(10px, 2.5vw, 12px);
    letter-spacing: 0.48em;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .work img {
    aspect-ratio: auto;
  }

  .work figcaption {
    font-size: 9px;
  }

  .about {
    min-height: 70svh;
  }

  .about-index {
    display: none;
  }

  .contact {
    min-height: auto;
  }

  .contact-address {
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
  }

  .contact-map {
    max-width: 100%;
    margin-top: 16px;
    aspect-ratio: 16 / 10;
    min-height: 200px;
    max-height: 230px;
  }

  .contact-links a {
    grid-template-columns: 1fr auto;
    min-height: 92px;
  }

  .contact-links small {
    grid-row: 2;
    grid-column: 1;
    margin-top: -20px;
  }

  .contact-links b {
    grid-row: 1 / 3;
    grid-column: 2;
  }

  .site-footer {
    flex-direction: column;
    line-height: 1.7;
  }

  .lightbox {
    padding: 72px 10px 18px;
  }

  .lightbox form {
    top: 8px;
    right: 8px;
  }

  .lightbox button {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
    font-size: 58px;
  }

  .lightbox-media {
    height: auto;
    max-height: calc(100dvh - 116px);
  }

  .lightbox-media img {
    max-height: calc(100dvh - 116px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.footer-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-quick a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-quick a:hover,
.footer-quick a:focus-visible {
  color: var(--white);
}

@media (max-width: 600px) {
  .footer-quick {
    justify-content: center;
    gap: 18px;
  }
}

/* Dedicated content pages: compact spacing after the navigation. */
.page-body .site-header {
  position: relative;
}

.page-body main {
  margin: 0;
  padding: 0;
}

.page-body .about,
.page-body .contact {
  min-height: auto;
}

.page-body main > .section {
  margin: 0;
  min-height: 0 !important;
  padding-top: 24px !important;
  padding-bottom: 56px !important;
  border-top: 1px solid rgba(244, 243, 239, 0.32);
}

/* Landscape phone: keep the portrait on the left and the hero text on the right. */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 1024px) {
  .site-header {
    padding: 10px var(--gutter);
    row-gap: 6px;
  }

  .site-header .wordmark {
    gap: 2px;
  }

  .site-header .wordmark span {
    width: auto;
    font-size: 13px;
    letter-spacing: 0.22em;
    white-space: nowrap;
  }

  .site-header .wordmark small {
    font-size: 9px;
  }

  .site-header .language-switcher {
    font-size: 11px;
  }

  .site-header .site-nav {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    width: auto;
    margin: 0;
    transform: none;
  }

  .site-header .site-nav a {
    padding: 2px 0;
    font-size: 10px;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }

  .hero-portrait {
    top: auto;
    bottom: -9svh;
    left: var(--gutter);
    width: 42vw;
    height: 86svh;
    transform: none;
  }

  .hero-portrait img {
    object-position: left bottom;
  }

  .hero-copy {
    top: 54%;
    right: var(--gutter);
    left: 44vw;
    width: auto;
    padding: 0;
    background: none;
    text-shadow: none;
    transform: translateY(-50%);
  }

  .hero h1 {
    font-size: clamp(16px, 2.5vw, 26px);
    letter-spacing: 0.18em;
    white-space: nowrap;
  }

  .hero-subtitle {
    margin-top: 10px;
    font-size: clamp(10px, 1.25vw, 14px);
    letter-spacing: 0.45em;
  }
}

/* Keep the header spanning full width with brand anchored to left edge on desktop sizes. */
@media (min-width: 1025px) {
  .site-header:not(.legal-header) {
    left: 0;
    right: auto;
    width: 100%;
    max-width: none;
    transform: none;
  }
}
