:root {
  --ink: #1c1915;
  --ink-soft: #3f3a33;
  --muted: #6b645a;
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --cream: #fbf8f2;
  --white: #fffcf7;
  --terracotta: #b24732;
  --terracotta-deep: #8d3826;
  --ocean: #215864;
  --ocean-deep: #163e47;
  --sage: #4f5d4c;
  --gold: #b8945c;
  --gold-soft: #dcc8a0;
  --line: rgba(28, 25, 21, 0.12);
  --shadow: 0 18px 50px rgba(28, 25, 21, 0.14);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Avenir Next", "Segoe UI", sans-serif;
  --max: 1180px;
  --prose: 42rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

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

a {
  color: var(--ocean);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--terracotta);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(28, 25, 21, 0.06);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  min-width: 11rem;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.nav a,
.nav-btn {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  background: none;
  border: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  font-family: inherit;
}

.nav a:hover,
.nav-btn:hover,
.nav a.is-active,
.drop.is-open .nav-btn {
  color: var(--terracotta);
}

.drop {
  position: relative;
}

.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 16rem;
  padding: 0.75rem 0 0.2rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.drop-menu::before {
  content: "";
  position: absolute;
  inset: 0.75rem 0 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 0;
}

.drop.is-open .drop-menu {
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .drop:hover .drop-menu,
  .drop:focus-within .drop-menu {
    display: block;
  }
}

.drop-menu a,
.drop-kicker {
  position: relative;
  z-index: 1;
}

.drop-menu a {
  display: block;
  padding: 0.45rem 1.1rem;
  white-space: nowrap;
}

.drop-kicker {
  display: block;
  padding: 0.35rem 1.1rem 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 25, 21, 0.18) 0%, rgba(28, 25, 21, 0.18) 40%, rgba(28, 25, 21, 0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.kicker {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.7rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 38rem;
  font-size: 1.12rem;
  color: rgba(251, 248, 242, 0.9);
  margin: 0;
}

.page-hero {
  min-height: 62vh;
}

.page-hero img {
  object-position: center 22%;
}

.hero--high img {
  object-position: center 16%;
}

.hero--japan img {
  object-position: 42% 48%;
}

.hero--senegal img {
  object-position: center 32%;
}

.hero--mid img {
  object-position: center 38%;
}

.hero--home img {
  object-position: 42% top;
}

.hero--low img {
  object-position: center 78%;
}

.hero--low-right img {
  object-position: 80% 78%;
}

.hero--left img {
  object-position: 28% 18%;
}

.hero--right-top img {
  object-position: 82% 8%;
}

.hero--wideframe {
  min-height: 0;
  width: 100%;
  height: min(86vh, max(22rem, calc(100vw * 9 / 16)));
}

.hero--wideframe img {
  object-fit: cover;
  object-position: center;
}

.hero--about img {
  object-position: center;
}

.hero--horse img {
  object-position: center;
}

.hero--call img {
  object-position: center;
}

.hero--polar {
  background: #8ec8ef;
}

.hero--polar img {
  object-fit: contain;
  object-position: center;
}

.hero--polar::after {
  background:
    linear-gradient(180deg, rgba(12, 32, 48, 0.08) 0%, rgba(12, 32, 48, 0.12) 48%, rgba(12, 24, 36, 0.78) 100%);
}

.hero--wideframe::after {
  background:
    linear-gradient(180deg, rgba(28, 25, 21, 0.12) 0%, rgba(28, 25, 21, 0.08) 42%, rgba(28, 25, 21, 0.72) 100%);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3rem 0 4.5rem;
}

.lede {
  max-width: 46rem;
  font-size: 1.22rem;
  color: var(--ink-soft);
}

.prose {
  max-width: var(--prose);
}

.prose p,
.prose li {
  margin: 0 0 1.15rem;
}

.prose h2 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  margin: 1.6rem 0 0.9rem;
  line-height: 1.15;
}

.split + .prose h2,
.gallery + .prose h2 {
  margin-top: 1.2rem;
}

.prose h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 0.7rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.drop-cap::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.4rem;
  line-height: 0.75;
  padding: 0.18rem 0.5rem 0 0;
  color: var(--terracotta);
}

.pullquote {
  margin: 2.2rem 0;
  padding: 0.4rem 0 0.4rem 1.3rem;
  border-left: 3px solid var(--gold);
  font-family: var(--display);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.rule {
  width: 3.2rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.4rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin: 0.2rem 0 0.5rem;
  font-weight: 600;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.cards .card:last-child:nth-child(3n + 1) {
  grid-column: 1;
}

.card {
  background: var(--white);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: inherit;
}

.card img {
  width: 100%;
  height: 15.5rem;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem 1.15rem 1.4rem;
}

.card-body small {
  display: block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}

.card-body h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--top {
  align-items: start;
}

.portrait {
  width: 100%;
  height: min(42rem, 80vh);
  object-fit: cover;
}

.frame {
  background: var(--white);
  padding: 0.7rem;
  border: 1px solid var(--line);
}

.caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.gallery {
  display: grid;
  gap: 0.7rem;
  margin: 2rem 0 2.6rem;
}

.gallery--2 {
  grid-template-columns: 1fr 1fr;
}

.gallery--3 {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.gallery--row {
  grid-template-columns: repeat(4, 1fr);
}

.gallery--row-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery--row .shot img,
.gallery--row-5 .shot img {
  min-height: 12.5rem;
  object-position: center 18%;
}

.shot--fit img {
  object-fit: contain;
  background: var(--paper-2);
  min-height: 18rem;
}

.photo-wide {
  margin: 1.6rem 0 2rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  display: block;
  width: 100%;
}

.photo-wide img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  object-position: center 82%;
}

.gallery--mosaic {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.gallery--mosaic .shot:first-child {
  grid-row: 1 / span 2;
}

.shot {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.shot img,
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
  transition: transform 0.45s ease;
}

.shot:hover img {
  transform: scale(1.04);
}

.links {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 0;
}

.links a {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.7rem 0.95rem;
  text-decoration: none;
  color: var(--ink);
}

.links a:hover {
  border-color: var(--terracotta);
}

.video-block {
  margin: 1.6rem 0 2.2rem;
  background: var(--ink);
}

.video-block video {
  width: 100%;
  max-height: 34rem;
  margin: 0 auto;
}

.docs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
  margin: 2rem 0;
}

.artifact {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.8rem;
}

.artifact img,
.artifact .shot img,
.docs-row .shot img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 33rem;
  object-fit: contain;
  background: var(--cream);
}

.stack-photos {
  display: grid;
  gap: 0.7rem;
}

.stack-photos .shot img {
  min-height: 14rem;
}

.site-footer {
  background: var(--ink);
  color: var(--paper-2);
  padding: 2.4rem 1.5rem;
  margin-top: 2rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--gold-soft);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 13, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .cards,
  .split,
  .gallery--3,
  .gallery--row,
  .gallery--row-5,
  .gallery--mosaic,
  .docs-row {
    grid-template-columns: 1fr 1fr;
  }

  .gallery--mosaic .shot:first-child {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.4rem 1.1rem;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .drop-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    display: none;
    padding: 0 0 0.4rem 0.6rem;
  }

  .drop-menu::before {
    display: none;
  }

  .drop:hover .drop-menu,
  .drop:focus-within .drop-menu {
    display: none;
  }

  .drop.is-open .drop-menu {
    display: block;
  }

  .hero--wideframe {
    min-height: 0;
    height: min(78vh, 34rem);
  }

  .hero--about.hero--wideframe,
  .hero--call.hero--wideframe {
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .hero--about img {
    object-position: center;
  }

  .hero--call img {
    object-position: 28% center;
  }

  .cards,
  .split,
  .gallery--2,
  .gallery--3,
  .gallery--row,
  .gallery--row-5,
  .gallery--mosaic,
  .docs-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 78vh;
  }

  .portrait {
    height: 28rem;
  }
}

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

  .card,
  .shot img {
    transition: none;
  }
}

@media print {
  html {
    scroll-behavior: auto;
  }

  body {
    background: #fff;
    font-size: 11pt;
    line-height: 1.55;
  }

  .skip,
  .menu-toggle,
  .lightbox,
  .drop-menu {
    display: none !important;
  }

  .site-header {
    position: static;
    background: #fff;
    box-shadow: none;
    border-bottom: 1px solid var(--line);
    backdrop-filter: none;
    break-after: avoid;
    page-break-after: avoid;
  }

  .nav {
    display: flex !important;
    position: static !important;
    flex-wrap: wrap;
    background: none;
    border: 0;
    padding: 0;
    gap: 0.35rem 1rem;
  }

  #main,
  .hero {
    break-before: avoid;
    page-break-before: avoid;
  }

  .hero,
  .page-hero,
  .hero--wideframe,
  .hero.hero--home {
    min-height: 0 !important;
    height: 3.6in !important;
    aspect-ratio: auto !important;
  }

  .hero.hero--home {
    height: 4in !important;
  }

  .hero img,
  .hero--wideframe img {
    object-fit: cover;
  }

  .hero-copy {
    padding-bottom: 1.1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section,
  .section--tight {
    padding: 1.1rem 0;
  }

  .cards,
  .gallery--2,
  .gallery--3,
  .gallery--row,
  .gallery--row-5,
  .gallery--mosaic,
  .docs-row {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .cards,
  .gallery,
  .split,
  .frame,
  .card,
  .video-block,
  .docs-row,
  .artifact {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .shot img,
  .gallery img,
  .card img {
    min-height: 0 !important;
    height: 1.85in;
    object-fit: cover;
  }

  .portrait {
    height: 12rem;
    min-height: 0;
  }

  video {
    max-height: 2.8in;
    background: #111;
  }

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

  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
