:root {
  --ink: #1b2a39;
  --forest: #243c32;
  --moss: #dce4c4;
  --cream: #f4f2e9;
  --paper: #fbfaf5;
  --line: rgba(27, 42, 57, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

.hero {
  min-height: 94svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background: url("assets/hero.jpg") center 48% / cover no-repeat;
  isolation: isolate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 28, 33, .82) 0%, rgba(12, 28, 33, .4) 54%, rgba(12, 28, 33, .15) 100%),
    linear-gradient(0deg, rgba(12, 28, 33, .55), transparent 48%);
}

.nav {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.brand {
  width: min(420px, 54vw);
  background: rgba(220, 228, 196, .94);
  padding: 7px 12px;
  border-radius: 2px;
}

.brand img { width: 100%; }
.nav__link { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }

.hero__content {
  width: min(1240px, calc(100% - 48px));
  margin: auto;
  padding: 10vh 0 12vh;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.eyebrow.dark { color: var(--forest); }

h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: .98;
}

h1 { max-width: 760px; font-size: clamp(4rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); }

.hero__lead {
  max-width: 680px;
  margin: 2rem 0 2.4rem;
  font-size: clamp(1.08rem, 1.9vw, 1.42rem);
}

.button {
  display: inline-block;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}

.button:hover, .button:focus-visible { background: white; color: var(--ink); }

.hero__status {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 18px 28px;
  background: var(--moss);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #9e3c2f;
}

.pause {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) 0;
  display: grid;
  grid-template-columns: .35fr 1.7fr 1fr;
  gap: 48px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.pause__number { color: #a0a59b; font-size: .76rem; letter-spacing: .15em; }
.pause > p { margin: 2rem 0 0; font-size: 1.05rem; }

.operator {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 130px) 0;
  display: grid;
  grid-template-columns: .7fr 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.operator h2 { font-size: clamp(2.4rem, 4.5vw, 4.8rem); }
.operator > p:last-child { margin: 1rem 0 0; font-size: 1.02rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding: clamp(80px, 10vw, 150px) max(24px, calc((100vw - 1240px) / 2));
  color: white;
  background: var(--ink);
}

.gallery__intro { grid-column: 1 / 7; padding: 0 0 58px; }
.gallery__intro p:last-child { max-width: 520px; margin: 1.7rem 0 0; color: rgba(255,255,255,.72); }

.photo { margin: 0; position: relative; overflow: hidden; background: #0f1b24; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.photo:hover img { transform: scale(1.025); }
.photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 7px 10px;
  background: rgba(15, 27, 36, .76);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.photo--wide { grid-column: 1 / 9; aspect-ratio: 16 / 9; }
.photo--tall { grid-column: 9 / 13; grid-row: span 2; min-height: 560px; }
.photo:not(.photo--wide):not(.photo--tall):not(.photo--small) { grid-column: 1 / 7; aspect-ratio: 16 / 10; }
.photo--small { grid-column: 7 / 9; aspect-ratio: 4 / 5; }

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 36px max(24px, calc((100vw - 1240px) / 2));
  background: var(--moss);
}

footer img { width: 48px; }
footer p { margin: 0; }
.footer__note { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.footer__right { text-align: right; }
.footer__links { display: flex; justify-content: flex-end; gap: 18px; margin-top: 10px; }
.footer__links a { font-size: .78rem; text-underline-offset: 3px; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header {
  padding: 24px max(24px, calc((100vw - 940px) / 2));
  background: var(--forest);
}
.legal-header a { display: inline-block; width: min(320px, 75vw); background: var(--moss); padding: 6px 10px; }
.legal-header img { width: 100%; }
.legal-main { width: min(940px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 100px; }
.legal-main h1 { color: var(--forest); font-size: clamp(3rem, 7vw, 6rem); }
.legal-main h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.1; }
.legal-main h3 { margin: 2rem 0 .6rem; }
.legal-main p, .legal-main li { max-width: 760px; }
.legal-main a { text-underline-offset: 3px; }
.legal-intro { margin: 1.5rem 0 3rem; font-size: 1.12rem; color: rgba(27, 42, 57, .75); }
.legal-back { display: inline-block; margin-top: 3rem; font-weight: 700; }

@media (max-width: 800px) {
  .nav, .hero__content, .pause, .operator { width: min(100% - 32px, 1240px); }
  .nav__link { display: none; }
  .brand { width: min(380px, 82vw); }
  .hero__status { position: static; align-self: stretch; text-align: center; }
  .pause { grid-template-columns: 1fr; gap: 20px; }
  .pause > p { margin-top: .5rem; }
  .operator { grid-template-columns: 1fr; gap: 20px; }
  .operator > p:last-child { margin-top: .5rem; }
  .gallery__intro, .photo--wide, .photo--tall,
  .photo:not(.photo--wide):not(.photo--tall):not(.photo--small), .photo--small { grid-column: 1 / -1; }
  .photo--tall { min-height: 520px; }
  .photo--small { aspect-ratio: 4 / 3; }
  footer { grid-template-columns: auto 1fr; }
  .footer__right { grid-column: 1 / -1; text-align: left; }
  .footer__links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo img, .button { transition: none; }
}
