:root {
  --ink: #142028;
  --muted: #3d4e59;
  --paper: #e7eef2;
  --sheet: #f5f8f9;
  --line: #c5d0d8;
  --deep: #1c3d4e;
  --signal: #c8462b;
  --signal-ink: #8d2d1b;
  --header: 4.4rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Literata, "Iowan Old Style", Palatino, serif;
  font-size: 1.05rem;
  line-height: 1.6;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(20, 32, 40, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 40, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
}

body.modal-open { overflow: hidden; }

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

a { color: var(--signal-ink); }

h1, h2, h3, .brand, .hero__brand, .btn, .site-header, .nav a, .modal__box button, label, button {
  font-family: "Familjen Grotesk", "Avenir Next", sans-serif;
}

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.035em; font-weight: 680; }

p { margin: 0 0 1rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0 4vw;
  background: rgba(245, 248, 249, 0.94);
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.15rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  border-radius: 0;
  font-weight: 650;
}

.nav { display: flex; gap: 1.35rem; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  background-image: linear-gradient(var(--signal), var(--signal));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size 0.25s ease;
}

.nav a:hover,
.nav a[aria-current="page"] { background-size: 100% 2px; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  align-items: flex-end;
  color: #f4f7f8;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  animation: drift 22s ease-in-out alternate infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 34, 46, 0.9) 0%, rgba(16, 34, 46, 0.62) 46%, rgba(16, 34, 46, 0.12) 78%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  width: min(40rem, 92vw);
  padding: 9vh 6vw 8vh;
}

.hero__copy > * { animation: rise 0.8s ease both; }
.hero__copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.22s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.32s; }

.hero__brand {
  margin: 0 0 0.7rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
}

.hero__copy p:last-of-type {
  max-width: 36rem;
  font-size: 1.12rem;
}

.btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.85rem 1.15rem;
  background: var(--signal);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover { background: #a33620; }

.opener {
  padding: 4.5rem 6vw 3.2rem;
  background: var(--deep);
  color: #f4f7f8;
}

.opener h1 {
  margin: 0 0 0.8rem;
  max-width: 16ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.opener p { max-width: 40rem; margin: 0; font-size: 1.12rem; }

.band {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.5fr);
  gap: 2rem 3rem;
  padding: 4.2rem 6vw;
  border-top: 1px solid var(--line);
  background: transparent;
}

.band--sheet { background: rgba(245, 248, 249, 0.72); }

.band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.kicker {
  margin: 0 0 0.6rem;
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-ink);
}

.band p:last-child { margin-bottom: 0; }

.seq { list-style: none; margin: 0; padding: 0; }

.seq li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.seq strong {
  display: block;
  font-family: "Familjen Grotesk", sans-serif;
}

.frame { margin: 1.2rem 0 0; }

.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

.frame figcaption { margin-top: 0.55rem; color: var(--muted); font-size: 0.95rem; }

.address {
  margin: 0;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.45;
}

.mail {
  font-family: "Familjen Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 38rem;
  padding: 1.2rem;
  border: 1px solid var(--ink);
  background: var(--sheet);
}

label { font-weight: 650; font-size: 0.95rem; }

input, textarea {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea { min-height: 9rem; resize: vertical; }

.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 500;
}

.check input { width: auto; margin-top: 0.35rem; }

.site-footer {
  display: grid;
  gap: 0.7rem;
  padding: 2.4rem 6vw 2.8rem;
  background: var(--deep);
  color: #d5e0e6;
}

.site-footer strong {
  font-family: "Familjen Grotesk", sans-serif;
  color: #fff;
  font-size: 1.15rem;
}

.site-footer a { color: #f0c2b6; }

.site-footer p { margin: 0; }

.copy { margin-top: 0.35rem; font-family: "Familjen Grotesk", sans-serif; font-size: 0.92rem; }

.modal[hidden] { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.modal__back { position: absolute; inset: 0; background: rgba(16, 28, 36, 0.62); }

.modal__box {
  position: relative;
  width: min(28rem, 100%);
  padding: 1.5rem 1.4rem 1.3rem;
  background: var(--sheet);
  border: 1px solid var(--ink);
}

.modal__box h2 { margin: 0 0 0.7rem; font-size: 2rem; }

.modal__box p { margin: 0 0 1rem; }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
  animation-play-state: paused;
}

[data-reveal].is-in { animation-play-state: running; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

@media (max-width: 840px) {
  .nav-toggle { display: inline-block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 4vw 0.8rem;
    background: var(--sheet);
    border-bottom: 1px solid var(--line);
  }

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

  .nav a { padding: 0.75rem 0; border-top: 1px solid var(--line); }

  .band { grid-template-columns: 1fr; padding: 2.6rem 5vw; }

  .hero::after {
    background: linear-gradient(180deg, rgba(16, 34, 46, 0.15) 10%, rgba(16, 34, 46, 0.9) 62%);
  }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img,
  .hero__copy > *,
  [data-reveal] { animation: none; opacity: 1; transform: none; }
  .nav a { transition: none; }
}
