:root {
  --surface: #1b1c20;
  --frame: #202126;
  --text-primary: #f3f4ef;
  --text-muted: #c8c4bf;
  --font-heading: "Izoard", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  padding: 12px;
  background: var(--surface);
}

.site-frame {
  display: flex;
  width: 100%;
  max-width: 1728px;
  margin: 0 auto;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: var(--frame);
}

.site-frame > *,
.card,
.text-section,
.portrait-copy,
.two-column > *,
.card-grid > *,
.image-grid > * {
  min-width: 0;
}

.hero {
  position: relative;
  aspect-ratio: 1688 / 1254;
  width: 100%;
  overflow: hidden;
}

.hero-image,
.gallery-card img,
.image-panel img,
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-copy {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: flex;
  width: 75%;
  max-width: 712px;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px;
}

.menu-toggle {
  position: absolute;
  left: 50%;
  top: 28px;
  z-index: 3;
  display: flex;
  width: clamp(64px, 5.8vw, 100px);
  height: clamp(24px, 1.97vw, 34px);
  transform: translateX(-50%);
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: clamp(5px, 0.46vw, 8px);
  background: white;
}

.menu-overlay {
  position: fixed;
  left: 50%;
  top: 20px;
  z-index: 50;
  display: none;
  width: min(1681px, calc(100vw - 40px));
  height: min(745px, calc(100vh - 40px));
  transform: translateX(-50%);
  background: #c6c6c6;
  color: black;
}

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

.menu-close {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 43px;
  height: 37px;
  transform: translateX(-50%);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  left: 0;
  top: 16px;
  width: 43px;
  height: 7px;
  background: black;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-links {
  position: absolute;
  left: 20.9%;
  top: 149px;
  display: flex;
  flex-direction: column;
}

.menu-links a {
  color: black;
  font-family: var(--font-heading);
  font-size: clamp(44px, 4.4vw, 76px);
  line-height: clamp(54px, 5.2vw, 90px);
  text-decoration: none;
}

.hero h1 {
  margin: 0;
}

.home-logo {
  display: block;
  color: #f2f4ef;
  font-family: var(--font-heading);
  font-size: 68px;
  font-weight: 400;
  line-height: 0.82;
  text-decoration: none;
}

.hero p {
  max-width: 612px;
  margin: 0;
  color: white;
  font-size: 12px;
  line-height: 1.5;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 10px;
}

.gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 542.6667 / 579;
  overflow: hidden;
  text-decoration: none;
}

.gallery-card img {
  filter: contrast(1.25) brightness(1.1) saturate(1.25);
  transition: transform 500ms ease;
}

.gallery-card:hover img {
  transform: scale(1.02);
}

.gallery-card span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 15px;
  line-height: 20.8px;
  text-align: center;
}

.intro-copy {
  padding: 13px 10px;
}

.intro-copy div {
  max-width: 720px;
  color: white;
  line-height: 20.8px;
}

.intro-copy p,
.text-section p {
  margin: 0;
}

.intro-copy p + p {
  margin-top: 24px;
}

.text-section {
  padding: 32px 20px;
}

.text-section h2 {
  max-width: 14ch;
  margin: 12px 0 0;
  color: white;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 400;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.text-section p:not(.eyebrow) {
  max-width: 70ch;
  margin-top: 18px;
  color: rgb(255 255 255 / 0.8);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.eyebrow {
  color: rgb(255 255 255 / 0.62);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  max-width: 100%;
  margin-top: 28px;
  border: 1px solid rgb(255 255 255 / 0.7);
  padding: 8px 20px;
  color: white;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.button:hover {
  background: white;
  color: #1b1c20;
}

.two-column {
  display: grid;
  gap: 28px;
}

.two-column p:not(.eyebrow) {
  margin-top: 0;
}

.page-hero {
  position: relative;
  aspect-ratio: 1688 / 759;
  min-height: 360px;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    180deg,
    rgb(12 14 18 / 0.08) 0%,
    rgb(12 14 18 / 0.34) 100%
  );
}

.brand-link {
  position: absolute;
  left: 30px;
  top: 28px;
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 26px;
  text-decoration: none;
}

.page-hero h1 {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  margin: 0;
  place-items: center;
  padding: 16px;
  color: white;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  pointer-events: none;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card {
  padding: 24px 20px;
}

.card h3 {
  margin: 0;
  color: white;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.card p,
.card li {
  color: rgb(255 255 255 / 0.78);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.card p {
  margin: 16px 0 0;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.image-grid {
  display: grid;
  gap: 16px;
}

.image-panel {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.story-card {
  padding: 0;
}

.story-card .image-panel {
  min-height: 0;
  aspect-ratio: 16 / 10;
  border: 0;
}

.story-card .story-copy {
  padding: 20px;
}

.portrait-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(155deg, #2a2d33 0%, #1d2025 52%, #17191e 100%);
}

.portrait-placeholder::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(
    circle at 30% 20%,
    rgb(255 255 255 / 0.08) 0%,
    rgb(255 255 255 / 0) 55%
  );
}

.portrait-copy {
  background: rgb(0 0 0 / 0.18);
  padding: 36px 0 0;
}

.portrait-copy p {
  margin: 12px 0 0;
}

.portrait-copy h3 {
  margin: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.spacer {
  height: 192px;
}

.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 760px;
  margin-left: auto;
  padding: 22px;
  color: #17191e;
  background: #c6c6c6;
  box-shadow: 0 8px 28px rgb(0 0 0 / 0.28);
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.cookie-banner[hidden],
.cookie-settings[hidden] {
  display: none;
}

.cookie-banner__copy {
  max-width: 480px;
}

.cookie-banner h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
}

.cookie-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-button,
.cookie-settings {
  border: 1px solid #17191e;
  border-radius: 0;
  color: #f5f5f3;
  background: #17191e;
  font: inherit;
  cursor: pointer;
}

.cookie-button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 12px;
}

.cookie-button--secondary {
  color: #17191e;
  background: transparent;
}

.cookie-button:focus-visible,
.cookie-settings:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.cookie-settings {
  position: fixed;
  z-index: 900;
  right: 18px;
  bottom: 18px;
  padding: 8px 10px;
  font-size: 11px;
}

@media (min-width: 640px) {
  .page-shell {
    padding: 20px;
  }

  .site-frame {
    padding: 20px;
  }

  .hero-copy {
    left: -8px;
    padding: 32px;
  }

  .home-logo {
    font-size: 108px;
  }

  .gallery {
    gap: 20px;
  }

  .gallery-card span {
    font-size: 16px;
  }

  .text-section {
    padding: 40px;
  }

  .text-section h2 {
    font-size: 64px;
  }

  .brand-link {
    font-size: 26px;
    line-height: 22px;
  }

  .spacer {
    height: 256px;
  }
}

@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.two,
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-copy {
    left: -16px;
    top: 50px;
    width: 712px;
    height: 1005px;
    padding: 60px 50px;
    justify-content: flex-start;
  }

  .home-logo {
    font-size: 198px;
    line-height: 157px;
  }

  .hero p {
    margin-top: 100px;
    font-size: 15px;
    line-height: 20.8px;
  }

  .brand-link {
    width: 93px;
    font-size: 30px;
    line-height: 26px;
  }

  .spacer {
    height: 586px;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    padding: 18px;
  }

  .cookie-banner__actions {
    margin-top: 16px;
  }

  .cookie-button {
    flex: 1;
  }

  .hero {
    min-height: 260px;
  }

  .home-logo {
    font-size: clamp(48px, 17vw, 68px);
  }

  .hero-copy {
    width: 88%;
  }

  .text-section h2 {
    font-size: 36px;
  }

  .page-hero {
    min-height: 260px;
  }

  .brand-link {
    left: 14px;
    top: 16px;
    font-size: 22px;
    line-height: 18px;
  }

  .page-hero .menu-toggle,
  .hero .menu-toggle {
    top: 18px;
  }

  .menu-overlay {
    left: 12px;
    top: 12px;
    width: calc(100vw - 24px);
    height: min(520px, calc(100vh - 24px));
    transform: none;
  }

  .menu-close {
    top: 26px;
    width: 34px;
    height: 34px;
  }

  .menu-close span {
    width: 34px;
    height: 5px;
  }

  .menu-links {
    left: 32px;
    top: 108px;
  }
}
