:root {
  --paper: #e6e9ed;
  --ink: #17202a;
  --muted: #3d4a57;
  --line: #c5ced6;
  --blue: #1b4f8a;
  --blue-deep: #0e1c2e;
  --paper-2: #f4f6f8;
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --sans: "Hanken Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --nav: 6.25rem;
}

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

html { background: var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3 { font-weight: 500; }

p { text-wrap: pretty; }

::selection { background: var(--blue); color: white; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 0.8rem;
  z-index: 80;
}

.skip:focus { transform: none; }

.prumo {
  position: fixed;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  z-index: 40;
  pointer-events: none;
  background: rgba(23, 32, 42, 0.12);
}

.prumo span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top center;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav);
  padding: 0.45rem var(--pad);
  padding-right: calc(var(--pad) + 0.4rem);
  background: var(--blue-deep);
  color: var(--paper);
}

.nav.is-away {
  background: transparent;
  min-height: 0;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  pointer-events: none;
}

.nav.is-away.is-ink { color: var(--ink); }

.nav.is-away .text-btn { pointer-events: auto; }

.nav.is-away .brand,
.nav.is-away .btn {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.brand img {
  height: 5.1rem;
  width: auto;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.85rem;
}

.btn,
.text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.95rem;
  background: transparent;
  border: 1px solid transparent;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.btn { border-color: currentColor; }

.nav .btn,
.nav.is-solid .btn,
.nav.is-dark .btn {
  background: transparent;
  border-color: white;
  color: white;
}

.nav .btn:hover,
.nav.is-solid .btn:hover,
.nav.is-dark .btn:hover { background: white; color: var(--blue-deep); }

.text-btn:hover { opacity: 0.65; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--blue-deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
}

.menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu :focus-visible { outline-color: #9ebfdf; }

.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav);
  padding: 0.45rem var(--pad);
  background: transparent;
  color: var(--paper);
}

.menu__bar .brand img { height: 4rem; }

.menu__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 0;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem var(--pad) 3rem;
}

.menu__link {
  display: block;
  overflow: hidden;
  width: fit-content;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.menu__link span { display: block; }

.menu__link:hover { color: #9ebfdf; }

.menu__photo {
  position: relative;
  margin: 0;
  min-height: 280px;
}

.menu__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu__photo figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  max-width: 16rem;
  color: white;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero__media {
  position: absolute;
  inset: -10% 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.js:not(.is-ready) .hero__media img { transform: scale(1.14); }

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14, 28, 46, 0.5), transparent 30%),
    linear-gradient(to top, rgba(14, 28, 46, 0.72), transparent 48%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav) + 2rem) var(--pad) 3.4rem;
}

.hero h1,
[data-mask] {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3.5rem, 8.6vw, 7.6rem);
  line-height: 0.9;
}

.hero__deck {
  margin: 1.35rem 0 0;
  max-width: 28ch;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.line { display: block; }

.js .line {
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.js .line > span { display: block; }

.js:not(.is-ready) .line > span { transform: translateY(110%); }

.tape {
  overflow: hidden;
  background: var(--blue);
  color: var(--paper-2);
}

.tape__track {
  display: flex;
  width: max-content;
  animation: tape 42s linear infinite;
}

.tape__group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0;
  padding: 0.8rem 0.55rem 0.8rem 0;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tape__group i {
  width: 0.38rem;
  height: 0.38rem;
  background: currentColor;
  opacity: 0.55;
}

@keyframes tape {
  to { transform: translateX(-50%); }
}

.intro,
.method {
  padding: clamp(4.5rem, 11vw, 8rem) var(--pad);
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
}

.intro h2,
.method h2,
.contact h2 {
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 0.94;
}

.intro p,
.panel__copy p,
.steps p,
.contact__copy p {
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}

.intro p { font-size: 1.125rem; line-height: 1.55; }

.reel { background: var(--paper); }

.reel__sticky { position: relative; }

.reel__count {
  display: none;
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.panel__copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.panel__photo {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #c5ced6;
}

.panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel__photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: white;
  font-size: 0.92rem;
  text-shadow: 0 1px 10px rgba(14, 28, 46, 0.45);
}

.panel__photo img[alt=""] { }

.steps {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 68rem;
}

.steps__track { position: relative; }

.steps__track::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.steps__fill {
  position: absolute;
  left: -0.5px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top center;
}

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

.steps li {
  display: grid;
  grid-template-columns: minmax(7.5rem, 13rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1;
}

.steps p { align-self: center; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4.5rem, 11vw, 8rem) var(--pad);
  background: var(--blue-deep);
  color: var(--paper);
}

.contact :focus-visible { outline-color: #9ebfdf; }

.contact__copy p {
  margin-top: 1.25rem;
  color: #c5d0dc;
  font-size: 1.125rem;
}

.contact__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin-top: 1.5rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid rgba(197, 208, 220, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5d0dc;
}

.contact__ig img {
  width: 1.05rem;
  height: 1.05rem;
}

.contact__ig:hover { color: white; border-color: white; }

.form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  align-self: end;
}

.field span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5d0dc;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.55rem 0 0.7rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(230, 233, 237, 0.35);
  border-radius: 0;
  color: white;
  font-size: 1rem;
}

.field textarea { resize: vertical; min-height: 6.5rem; }

.field select { cursor: pointer; }

.field option { color: var(--ink); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: #9ebfdf;
}

.btn--fill {
  align-self: flex-start;
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  padding-inline: 1.15rem;
}

.btn--fill:hover { background: #163f6e; }

.form__status {
  min-height: 1.5rem;
  margin: 0;
  color: #c5d0dc;
  max-width: 42ch;
}

.footer {
  padding: clamp(2.75rem, 6vw, 4.25rem) var(--pad) 6.5rem;
  background: var(--blue-deep);
  color: #f4f6f8;
}

.footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer__id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer__logo {
  width: min(8.25rem, 36vw);
  height: auto;
}

.footer__id address {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.45;
  letter-spacing: 0;
}

.footer__id address a {
  margin-top: 0.7rem;
  width: fit-content;
}

.footer__id address a:hover { color: #9ebfdf; }

.footer__ig {
  display: block;
  flex: none;
  width: 2rem;
  height: 2rem;
}

.footer__ig img {
  width: 2rem;
  height: 2rem;
}

.footer__copy {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 246, 248, 0.16);
  color: #c5d0dc;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.wa {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 8px 22px rgba(14, 28, 46, 0.22);
}

.wa svg { width: 1.7rem; height: 1.7rem; }

.wa:hover { background: #1ebe5b; }

.menu.is-open ~ .wa {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .wa { transition: none; }
}

@media (min-width: 900px) {
  .js .reel { height: 400vh; }

  .js .reel__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
  }

  .js .reel__count {
    display: block;
    position: absolute;
    z-index: 2;
    top: calc(var(--nav) + 1.25rem);
    left: var(--pad);
  }

  .js .panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) 1.15fr;
    opacity: 0;
    pointer-events: none;
  }

  .js .panel.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  .panel__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: calc(var(--nav) + 2rem) var(--pad) 3rem;
    border-right: 1px solid var(--line);
  }

  .contact {
    column-gap: clamp(2rem, 6vw, 5rem);
    row-gap: 2.25rem;
    align-items: start;
    padding-bottom: 2.5rem;
  }

  .form {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }

  .footer__id {
    grid-column: 1;
    grid-row: 2;
  }

  .footer { padding-top: 0.25rem; }
}

@media (max-width: 899px) {
  .menu__body { grid-template-columns: 1fr; }

  .menu__photo { display: none; }

  .menu__nav { padding-top: 1rem; }

  .contact {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.25rem var(--pad) 0.35rem;
  }

  .form__status { min-height: 0; }

  .footer { padding-top: 1.15rem; }

  .js .reel { height: 400vh; }

  .js .reel__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
  }

  .js .reel__count {
    display: block;
    position: absolute;
    z-index: 2;
    top: 1.2rem;
    right: var(--pad);
  }

  .js .panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
  }

  .js .panel.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  .js .panel__copy { padding: 4.25rem var(--pad) 1.1rem; }

  .js .panel__photo {
    flex: 1;
    height: auto;
    min-height: 12rem;
  }

  .panel__photo { height: 72vw; min-height: 240px; }

  .panel__copy { padding: 1.6rem var(--pad) 2.6rem; }

  .panel + .panel { border-top: 1px solid var(--line); }

  .js .panel + .panel { border-top: 0; }

  .steps li { grid-template-columns: 1fr; gap: 0.35rem; }

  .nav .btn { display: none; }

  .brand img,
  .menu__bar .brand img { height: 4.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .js .line > span,
  .hero__media img,
  .steps__fill { transform: none; }

  .tape__track { animation: none; }

  .js .reel { height: auto; }

  .js .reel__sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  .js .panel {
    position: static;
    opacity: 1;
    display: block;
    pointer-events: auto;
  }

  .menu {
    clip-path: none;
    display: none;
  }

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

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .js .panel__photo {
    flex: none;
    height: 72vw;
    min-height: 240px;
  }

  .js .panel + .panel { border-top: 1px solid var(--line); }

  .js .reel__count { display: none; }
}
