:root {
  --ink: #252523;
  --ink-soft: #393834;
  --paper: #f3f0e9;
  --paper-light: #faf8f3;
  --muted: #89847b;
  --line: #d8d2c7;
  --gold: #b18b60;
  --terracotta: #a9634f;
  --white: #fffefa;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --container: 1160px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
button,
a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

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

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section-pad { padding: 116px 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.header-inner,
.primary-nav,
.brand,
.hero-bottom,
.hero-controls,
.section-heading-row,
.career-column-heading,
.experience-item,
.contact-email-row,
.contact-socials a,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner { height: 100%; justify-content: space-between; }
.brand { gap: 12px; }
.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 65%);
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -2px;
}
.brand-name {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .19em;
  line-height: 1.45;
}
.brand-name span {
  color: rgb(255 255 255 / 67%);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .27em;
}
.primary-nav { gap: 37px; }
.primary-nav a {
  position: relative;
  color: rgb(255 255 255 / 83%);
  font-size: 11px;
  letter-spacing: .06em;
  transition: color .25s ease;
}
.primary-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a:not(.nav-contact):hover::after { transform: scaleX(1); transform-origin: left; }
.primary-nav .nav-contact {
  padding: 10px 16px;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 53%);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.nav-contact span { margin-left: 8px; color: var(--gold); }
.primary-nav .nav-contact:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: min(820px, 100svh);
  min-height: max(700px, 100svh);
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  background: #292825;
}
.hero-slides,
.hero-scrim { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 34%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.15s ease, transform 6s ease;
}
.hero-slide:nth-child(2) { object-position: 56% 37%; }
.hero-slide:nth-child(3) { object-position: 62% 29%; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-scrim {
  background: linear-gradient(90deg, rgb(20 20 19 / 80%) 0%, rgb(20 20 19 / 57%) 37%, rgb(20 20 19 / 13%) 75%), linear-gradient(0deg, rgb(20 20 19 / 58%) 0%, transparent 26%, rgb(20 20 19 / 19%) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 72px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 23px;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow > span {
  display: inline-block;
  width: 27px;
  height: 1px;
  background: currentColor;
}
.hero-eyebrow { color: #d5b48c; }
.hero h1,
.section-heading h2,
.intro-copy h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero h1 { font-size: clamp(76px, 10.3vw, 142px); }
.hero h1 em,
.section-heading h2 em,
.intro-copy h2 em,
.contact h2 em { color: var(--gold); font-weight: 400; }
.hero-lead {
  margin: 28px 0 30px;
  color: rgb(255 255 255 / 80%);
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 19px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.button-light { color: var(--ink); background: var(--paper); border: 1px solid var(--paper); }
.button-light span { color: var(--terracotta); font-size: 17px; }
.button-light:hover { color: var(--white); background: transparent; border-color: rgb(255 255 255 / 70%); }
.hero-bottom {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 29px;
  left: 0;
  justify-content: space-between;
}
.hero-location,
.hero-index,
.scroll-cue {
  color: rgb(255 255 255 / 72%);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .2em;
}
.hero-location i {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 9px 2px;
  border-radius: 50%;
  background: var(--gold);
}
.hero-controls { gap: 15px; }
.hero-arrow {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.hero-arrow:hover { color: var(--ink); background: var(--white); }
.hero-dots { display: flex; align-items: center; gap: 7px; }
.hero-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  background: rgb(255 255 255 / 45%);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.hero-dot.is-active { width: 18px; background: var(--gold); border-radius: 4px; }
.hero-index { min-width: 57px; text-align: right; }
.hero-index b { margin: 0 5px; color: var(--gold); font-weight: 400; }
.scroll-cue {
  position: absolute;
  right: 19px;
  bottom: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  transform: translateY(50%);
}
.scroll-cue span { width: 1px; height: 43px; background: linear-gradient(var(--gold), rgb(255 255 255 / 0%)); }

/* Intro */
.intro { background: var(--paper-light); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(65px, 10vw, 138px);
}
.intro-photo-wrap { position: relative; width: min(100%, 420px); padding: 0 24px 27px 0; }
.intro-photo-frame { position: relative; height: 550px; overflow: hidden; background: #d8d1c7; }
.intro-photo-frame::after { position: absolute; inset: 0; border: 1px solid rgb(255 255 255 / 24%); content: ""; pointer-events: none; }
.intro-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.intro-photo-wrap::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 25px;
  height: calc(100% - 24px);
  border: 1px solid var(--gold);
  content: "";
}
.intro-photo-frame { z-index: 1; }
.photo-caption {
  position: absolute;
  right: -4px;
  bottom: 6px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .19em;
}
.photo-caption i { color: var(--terracotta); font-style: normal; }
.intro-photo-number {
  position: absolute;
  top: 23px;
  left: -17px;
  z-index: 2;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}
.intro-copy { padding: 12px 0 0; }
.intro-copy h2,
.section-heading h2 { font-size: clamp(43px, 5vw, 66px); }
.intro-copy h2 { margin-bottom: 31px; }
.intro-paragraph { max-width: 475px; margin: 0 0 17px; color: #5c5851; font-size: 14px; line-height: 1.95; }
.intro-paragraph-secondary { color: #817b71; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 17px;
  padding-bottom: 7px;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: gap .2s ease;
}
.text-link span { color: var(--terracotta); font-size: 16px; }
.text-link:hover { gap: 29px; }

/* Personal data */
.details { background: #eae5dc; }
.section-heading-row { justify-content: space-between; gap: 30px; }
.section-heading-row .eyebrow { margin-bottom: 15px; }
.section-heading-row h2 { font-size: clamp(39px, 4.5vw, 59px); }
.section-note { margin: 0 6% 0 0; color: #817a70; font-family: var(--serif); font-size: 16px; font-style: italic; line-height: 1.5; }
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 58px 0 0;
  border-top: 1px solid #cfc7ba;
  border-left: 1px solid #cfc7ba;
}
.detail-item {
  min-height: 117px;
  padding: 24px 25px;
  border-right: 1px solid #cfc7ba;
  border-bottom: 1px solid #cfc7ba;
}
.detail-item dt { margin-bottom: 9px; color: #8a8175; font-size: 9px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.detail-item dd { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.4; }
.detail-item dd span { color: #827b70; font-family: var(--sans); font-size: 11px; }
.detail-item-wide { grid-column: span 2; }

/* Career */
.career { background: var(--paper-light); }
.section-heading { margin-bottom: 54px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.section-description { margin: 21px 0 0; color: #777168; font-size: 13px; }
.career-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.career-column-heading { gap: 13px; min-height: 58px; padding-bottom: 17px; border-bottom: 1px solid var(--ink); }
.career-symbol { color: var(--terracotta); font-size: 17px; }
.career-column-heading h3 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.career-count { margin-left: auto; color: #a49c90; font-family: var(--serif); font-size: 15px; font-style: italic; }
.experience-list { margin: 0; padding: 0; list-style: none; }
.experience-item {
  min-height: 91px;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid #e4dfd6;
}
.experience-item h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 17px; font-weight: 500; line-height: 1.35; }
.experience-item p { margin: 0; color: #8a8379; font-size: 10px; letter-spacing: .025em; }
.experience-item time { flex-shrink: 0; color: var(--terracotta); font-size: 9px; letter-spacing: .035em; text-align: right; }

/* Gallery */
.gallery { background: #eae5dc; }
.gallery-heading { max-width: 600px; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 29px; }
.gallery-tab {
  min-width: 93px;
  padding: 11px 16px;
  color: #6f695f;
  background: transparent;
  border: 1px solid #cfc7ba;
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .06em;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.gallery-tab:hover { border-color: var(--ink); }
.gallery-tab.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
  min-height: 260px;
}
.gallery-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 4.65;
  padding: 0;
  overflow: hidden;
  background: #d3ccc1;
  border: 0;
  cursor: zoom-in;
  animation: gallery-in .45s both;
}
.gallery-card:nth-child(3n + 2) { animation-delay: .06s; }
.gallery-card:nth-child(3n + 3) { animation-delay: .12s; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.gallery-card:hover img { transform: scale(1.045); filter: brightness(.84); }
.gallery-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 27%;
  background: linear-gradient(transparent, rgb(22 22 20 / 40%));
  content: "";
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-card:hover::after { opacity: 1; }
.gallery-card-number {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: white;
  font-family: var(--serif);
  font-size: 13px;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-card:hover .gallery-card-number { opacity: 1; }
.gallery-hint { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 27px 0 0; color: #827b70; font-size: 10px; letter-spacing: .04em; }
.gallery-hint span { color: var(--terracotta); font-size: 16px; }
@keyframes gallery-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #252523;
}
.contact-inner { position: relative; z-index: 1; }
.eyebrow-light { color: #c5a17b; }
.contact h2 { max-width: 700px; font-size: clamp(63px, 8.5vw, 108px); }
.contact h2 em { color: #c5a17b; }
.contact-description { margin: 27px 0 27px; color: rgb(255 255 255 / 63%); font-size: 13px; }
.contact-email-row { flex-wrap: wrap; gap: 20px; }
.contact-email { padding-bottom: 5px; color: var(--white); border-bottom: 1px solid #8a765e; font-family: var(--serif); font-size: clamp(19px, 2.6vw, 28px); transition: color .2s ease; }
.contact-email:hover { color: #d5b48c; }
.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #ded9d0;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 30%);
  cursor: pointer;
  font-size: 9px;
  letter-spacing: .06em;
  transition: background .2s ease, border-color .2s ease;
}
.copy-button:hover { background: rgb(255 255 255 / 8%); border-color: var(--gold); }
.copy-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; }
.copy-feedback { min-height: 19px; margin: 7px 0 0; color: #d5b48c; font-size: 10px; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 33px; margin-top: 47px; }
.contact-socials a { gap: 9px; color: rgb(255 255 255 / 73%); font-size: 10px; transition: color .2s ease; }
.contact-socials a:hover { color: var(--white); }
.contact-socials svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.contact-socials a:nth-child(2) svg { fill: currentColor; stroke: none; }
.contact-socials .icon-fill { fill: currentColor; stroke: none; }
.contact-socials b { color: var(--gold); font-size: 13px; font-weight: 400; }
.contact-orbit { position: absolute; width: 520px; height: 520px; border: 1px solid rgb(177 139 96 / 15%); border-radius: 50%; pointer-events: none; }
.contact-orbit-one { top: -250px; right: -160px; }
.contact-orbit-two { top: -205px; right: -115px; width: 430px; height: 430px; border-color: rgb(177 139 96 / 10%); }

/* Footer */
.site-footer { color: #b9b4ab; background: #1c1c1b; border-top: 1px solid rgb(255 255 255 / 8%); }
.footer-inner { min-height: 82px; justify-content: space-between; gap: 20px; }
.footer-brand { color: var(--white); font-family: var(--serif); font-size: 22px; letter-spacing: -2px; }
.footer-brand span { color: var(--gold); }
.footer-inner p,
.back-top { margin: 0; color: #928d85; font-size: 9px; letter-spacing: .04em; }
.back-top { transition: color .2s ease; }
.back-top:hover { color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 90px 64px;
  background: rgb(20 20 19 / 96%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { display: flex; max-width: min(100%, 1000px); max-height: 100%; flex-direction: column; align-items: center; margin: 0; }
.lightbox-image { max-width: 100%; max-height: calc(100svh - 145px); object-fit: contain; }
.lightbox-caption { margin-top: 14px; color: rgb(255 255 255 / 70%); font-size: 10px; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 1px solid rgb(255 255 255 / 35%);
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.lightbox-close { top: 25px; right: 28px; width: 40px; height: 40px; font-size: 27px; font-weight: 300; }
.lightbox-arrow { top: 50%; width: 43px; height: 43px; border-radius: 50%; font-size: 20px; transform: translateY(-50%); }
.lightbox-prev { left: 27px; }
.lightbox-next { right: 27px; }
.lightbox-close:hover,
.lightbox-arrow:hover { color: var(--ink); background: var(--white); }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; color: rgb(255 255 255 / 55%); font-size: 9px; letter-spacing: .16em; transform: translateX(-50%); }

/* Reveal on scroll */
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  .container { width: min(var(--container), calc(100% - 48px)); }
  .primary-nav { gap: 23px; }
  .intro-grid { gap: 55px; }
  .intro-photo-frame { height: 475px; }
  .career-columns { gap: 38px; }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --header-height: 68px; }
  .container { width: calc(100% - 40px); }
  .section-pad { padding: 78px 0; }
  .site-header { background: rgb(29 29 27 / 16%); }
  .brand-mark { width: 35px; height: 35px; }
  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 1px solid rgb(255 255 255 / 45%);
    cursor: pointer;
  }
  .menu-toggle span { width: 17px; height: 1px; background: var(--white); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 7px 20px 18px;
    background: #252523;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 13px 4px; border-bottom: 1px solid rgb(255 255 255 / 9%); }
  .primary-nav .nav-contact { margin-top: 12px; padding: 11px 13px; border: 1px solid rgb(255 255 255 / 40%); }
  .hero { min-height: 740px; min-height: 100svh; max-height: 900px; }
  .hero-slide { object-position: 60% center; }
  .hero-slide:nth-child(2) { object-position: 57% center; }
  .hero-slide:nth-child(3) { object-position: 62% center; }
  .hero-scrim { background: linear-gradient(90deg, rgb(20 20 19 / 73%), rgb(20 20 19 / 25%)), linear-gradient(0deg, rgb(20 20 19 / 63%) 0%, transparent 36%, rgb(20 20 19 / 22%) 100%); }
  .hero-content { padding-top: 52px; }
  .hero h1 { font-size: clamp(70px, 17vw, 106px); }
  .hero-lead { margin: 24px 0 25px; font-size: 19px; }
  .hero-bottom { bottom: 22px; }
  .hero-location { max-width: 125px; font-size: 7px; line-height: 1.8; }
  .hero-location i { margin-inline: 4px; }
  .hero-controls { gap: 8px; }
  .hero-arrow { width: 27px; height: 27px; }
  .hero-dots { gap: 5px; }
  .hero-index { min-width: 40px; font-size: 7px; }
  .scroll-cue { right: 9px; font-size: 7px; }
  .intro-grid { grid-template-columns: 1fr; gap: 54px; }
  .intro-photo-wrap { width: min(84%, 390px); margin-inline: auto; }
  .intro-photo-frame { height: min(112vw, 510px); }
  .intro-copy { padding: 0; }
  .intro-copy h2,
  .section-heading h2 { font-size: clamp(43px, 11vw, 57px); }
  .intro-paragraph { font-size: 13px; }
  .section-heading-row { align-items: flex-end; }
  .section-heading-row h2 { font-size: clamp(37px, 9vw, 49px); }
  .section-note { margin: 0 0 4px; font-size: 13px; }
  .details-grid { margin-top: 39px; }
  .detail-item { min-height: 104px; padding: 19px 15px; }
  .detail-item dt { font-size: 8px; }
  .detail-item dd { font-size: 17px; }
  .detail-item-wide { grid-column: span 2; }
  .career-columns { grid-template-columns: 1fr; gap: 49px; }
  .section-heading { margin-bottom: 39px; }
  .career-column-heading h3 { font-size: 22px; }
  .experience-item { min-height: 83px; }
  .experience-item h4 { font-size: 16px; }
  .experience-item p { font-size: 9px; }
  .experience-item time { font-size: 8px; }
  .gallery-tabs { gap: 7px; }
  .gallery-tab { min-width: 0; flex: 1 1 calc(33.333% - 7px); padding: 10px 8px; font-size: 9px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-card { aspect-ratio: 3 / 4; }
  .gallery-hint { font-size: 9px; }
  .contact h2 { font-size: clamp(62px, 15vw, 84px); }
  .contact-description { max-width: 310px; font-size: 12px; }
  .contact-email-row { align-items: flex-start; flex-direction: column; gap: 15px; }
  .contact-email { font-size: clamp(18px, 5vw, 24px); }
  .contact-socials { gap: 22px; margin-top: 36px; }
  .contact-socials a { font-size: 9px; }
  .footer-inner { min-height: 90px; flex-wrap: wrap; justify-content: space-between; padding-block: 19px; }
  .footer-inner p { order: 3; width: 100%; }
  .lightbox { padding: 65px 16px 65px; }
  .lightbox-image { max-height: calc(100svh - 150px); }
  .lightbox-close { top: 13px; right: 13px; width: 36px; height: 36px; }
  .lightbox-arrow { top: auto; bottom: 17px; width: 37px; height: 37px; transform: none; }
  .lightbox-prev { left: calc(50% - 52px); }
  .lightbox-next { right: calc(50% - 52px); }
  .lightbox-counter { bottom: 30px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .hero-location { max-width: 105px; letter-spacing: .13em; }
  .hero-controls { gap: 6px; }
  .hero-arrow { width: 24px; height: 24px; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .detail-item { padding-inline: 11px; }
  .detail-item dd { font-size: 15px; }
}

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