:root {
  color-scheme: light;
  --ink: #102b38;
  --ink-deep: #0c202a;
  --sea: #1e5d72;
  --paper: #f3f6f1;
  --paper-deep: #e6ede7;
  --text: #193640;
  --muted: #65777b;
  --coral: #ee7341;
  --line: rgba(16, 43, 56, 0.15);
  --line-light: rgba(255, 255, 255, 0.21);
  --shadow: 0 1rem 3rem rgba(11, 32, 42, 0.12);
  --wrap: 76rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 0.1875rem solid var(--coral);
  outline-offset: 0.25rem;
}

.wrap {
  width: min(calc(100% - 3rem), var(--wrap));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.9rem;
  gap: 1.5rem;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 450;
  letter-spacing: -0.06em;
  line-height: 1;
  text-decoration: none;
}

.brand strong {
  color: var(--coral);
  font-weight: 780;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.1rem);
}

.site-nav a {
  padding: 0.3rem 0;
  color: #48616a;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a.is-current {
  color: var(--ink);
}

.site-nav a.is-current {
  border-bottom: 0.125rem solid var(--coral);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 0.1rem;
  margin: 0.22rem auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle.is-active span:first-child {
  transform: translateY(0.16rem) rotate(45deg);
}

.nav-toggle.is-active span:last-child {
  transform: translateY(-0.16rem) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(47rem, calc(100vh - 4.9rem));
  overflow: hidden;
  color: white;
  background: var(--ink-deep);
  isolation: isolate;
}

.hero__image,
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
}

.hero__veil {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 30, 39, 0.86) 0%, rgba(8, 30, 39, 0.62) 38%, rgba(8, 30, 39, 0.05) 75%),
    linear-gradient(0deg, rgba(4, 19, 27, 0.46), transparent 42%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: inherit;
  padding-top: 3.5rem;
  padding-bottom: 5.5rem;
}

.kicker {
  margin: 0 0 1rem;
  color: #567078;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker--light {
  color: rgba(255, 255, 255, 0.73);
}

.kicker--coral {
  color: var(--coral);
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.hero__lead {
  max-width: 32rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.87);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 0.18rem;
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.15);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #d75f30;
  border-color: #d75f30;
  transform: translateY(-0.12rem);
}

.button--outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
  box-shadow: none;
}

.button--outline:hover {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.text-link {
  font-size: 0.95rem;
  font-weight: 700;
  text-underline-offset: 0.27rem;
}

.text-link--light {
  color: white;
}

.text-link span {
  margin-left: 0.2rem;
}

.hero__note {
  position: absolute;
  right: max(1.5rem, calc((100% - var(--wrap)) / 2));
  bottom: 1.5rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(4.7rem, 9vw, 8.2rem) 0;
}

.section--intro {
  padding-bottom: clamp(2rem, 4vw, 3.9rem);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.72fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

h2 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.066em;
  line-height: 0.95;
}

.section-copy {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(4.7rem, 9vw, 8.2rem);
}

.format-card {
  position: relative;
  min-height: clamp(28rem, 47vw, 36rem);
  overflow: hidden;
  color: white;
  background: var(--ink);
  border-radius: 0.75rem;
  isolation: isolate;
}

.format-card > img,
.format-card__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.format-card > img {
  object-fit: cover;
  transition: transform 550ms ease;
}

.format-card:hover > img {
  transform: scale(1.04);
}

.format-card__shade {
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 26, 34, 0.9), rgba(8, 26, 34, 0.06) 70%);
}

.format-card__content {
  position: absolute;
  right: clamp(1.3rem, 3vw, 2.2rem);
  bottom: clamp(1.3rem, 3vw, 2.2rem);
  left: clamp(1.3rem, 3vw, 2.2rem);
}

.format-card h3 {
  max-width: 13ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.format-card__content > p:last-child {
  max-width: 29rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.55;
}

.format-card__number {
  position: absolute;
  top: 1.4rem;
  right: 1.55rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.section--ink {
  color: white;
  background: var(--ink-deep);
}

.split-heading--light .section-copy {
  color: rgba(255, 255, 255, 0.67);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: clamp(3rem, 6vw, 5.8rem) 0 0;
  list-style: none;
}

.principles li {
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-light);
}

.principles li > span {
  color: var(--coral);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.principles h3 {
  margin: 2.2rem 0 0.75rem;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.principles p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.94rem;
  line-height: 1.6;
}

.journal {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(22rem, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.journal h2 {
  margin-bottom: 1.25rem;
}

.journal .section-copy {
  margin-bottom: 1.8rem;
}

.journal__photos {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 0.8rem;
  align-items: end;
  overflow: hidden;
  text-decoration: none;
}

.journal__photos img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 250ms ease;
}

.journal__photos img:first-child {
  aspect-ratio: 0.72;
  transform: translateY(-2.5rem);
}

.journal__photos img:last-child {
  aspect-ratio: 0.68;
}

.journal__photos:hover img:first-child {
  transform: translateY(-2.8rem);
}

.journal__photos:hover img:last-child {
  transform: translateY(-0.3rem);
}

.site-footer {
  padding: 2rem 0;
  color: #64747a;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
}

.brand--footer {
  font-size: 1.1rem;
}

.footer__inner p {
  margin: 0;
  font-size: 0.8rem;
}

/* Gallery */
.gallery-page {
  color: #eef4f1;
  background: #101a1f;
}

.gallery-page .site-header {
  background: #101a1f;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.gallery-page .brand,
.gallery-page .site-nav a {
  color: #eef4f1;
}

.gallery-page .site-nav a {
  color: rgba(238, 244, 241, 0.65);
}

.gallery-page .site-nav a:hover,
.gallery-page .site-nav a.is-current {
  color: white;
}

.gallery-page .nav-toggle {
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.56fr);
  gap: 2rem;
  align-items: end;
  padding-top: clamp(4.2rem, 8vw, 7.7rem);
  padding-bottom: clamp(3rem, 6vw, 5.3rem);
}

.gallery-intro h1 {
  margin-bottom: 0;
}

.gallery-intro > p {
  max-width: 27rem;
  margin-bottom: 0;
  color: rgba(238, 244, 241, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(8rem, 13vw, 12rem);
  gap: clamp(0.65rem, 1.3vw, 1rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.gallery-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  grid-column: span 4;
  grid-row: span 2;
  padding: clamp(1rem, 2vw, 1.4rem);
  overflow: hidden;
  color: white;
  cursor: zoom-in;
  background: #1c2b31;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.65rem;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease;
}

.gallery-item--wide {
  grid-column: span 5;
}

.gallery-item:nth-child(3) {
  grid-column: span 3;
}

.gallery-item:nth-child(4) {
  grid-column: span 3;
}

.gallery-item:nth-child(6) {
  grid-column: span 4;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-0.25rem);
}

.gallery-item img,
.gallery-item__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  object-fit: cover;
  transition: transform 480ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item__shade {
  z-index: -1;
  background: linear-gradient(0deg, rgba(1, 8, 12, 0.82), transparent 66%);
}

.gallery-item__meta {
  text-align: right;
}

.gallery-item__meta b,
.gallery-item__meta small {
  display: block;
}

.gallery-item__meta b {
  font-size: clamp(0.94rem, 1.6vw, 1.22rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.gallery-item__meta small {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gallery-page .site-footer {
  color: rgba(238, 244, 241, 0.62);
  background: #0c1418;
  border-top-color: rgba(255, 255, 255, 0.12);
}

.lightbox {
  width: min(calc(100% - 2rem), 62rem);
  padding: 0;
  color: #eff5f2;
  background: #101a1f;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 0.8rem;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.58);
}

.lightbox::backdrop {
  background: rgba(3, 9, 13, 0.82);
  backdrop-filter: blur(0.3rem);
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.61);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lightbox__close,
.lightbox__arrow {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  color: white;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 50%;
  place-items: center;
  transition: background-color 160ms ease;
}

.lightbox__close:hover,
.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.11);
}

.lightbox__close {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
}

.lightbox__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.3rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem);
}

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

.lightbox figure img {
  max-width: 100%;
  max-height: min(63vh, 39rem);
  border-radius: 0.38rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.28);
}

.lightbox figcaption {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.lightbox figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.lightbox figcaption span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 48rem) {
  .wrap {
    width: min(calc(100% - 2rem), var(--wrap));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.2rem;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--paper);
    border: 1px solid transparent;
    border-radius: 0.55rem;
    box-shadow: 0 1rem 2.5rem rgba(8, 25, 34, 0.16);
    opacity: 0;
    transition: max-height 180ms ease, padding 180ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.is-open {
    max-height: 18rem;
    padding: 0.5rem;
    visibility: visible;
    border-color: var(--line);
    opacity: 1;
  }

  .site-nav a {
    padding: 0.8rem;
    border-bottom: 0;
  }

  .site-nav a.is-current {
    color: var(--coral);
  }

  .gallery-page .site-nav {
    background: #15252b;
    border-color: rgba(255, 255, 255, 0.16);
  }

  .gallery-page .site-nav a {
    color: rgba(255, 255, 255, 0.75);
  }

  .split-heading,
  .journal,
  .gallery-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .format-grid,
  .principles {
    grid-template-columns: 1fr;
  }

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

  .principles {
    gap: 2.5rem;
  }

  .principles h3 {
    margin-top: 1rem;
  }

  .journal__photos {
    max-width: 35rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 38vw;
  }

  .gallery-item,
  .gallery-item--wide,
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(5) {
    grid-column: span 2;
  }

  .lightbox__body {
    position: relative;
    grid-template-columns: 1fr;
  }

  .lightbox__arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    background: rgba(16, 26, 31, 0.72);
    transform: translateY(-50%);
  }

  .lightbox__arrow:first-child {
    left: 1.8rem;
  }

  .lightbox__arrow:last-child {
    right: 1.8rem;
  }
}

@media (max-width: 30rem) {
  h1 {
    font-size: 3.05rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .gallery-item__meta b {
    font-size: 0.82rem;
  }

  .gallery-item__meta small {
    font-size: 0.61rem;
  }
}

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