:root {
  --glacial: #D3EDF5;
  --ice-field: #71C3D6;
  --polar-deep: #2A7D8C;
  --black: #050505;
  --dark: #043343;
  --quote: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "DM Sans", Arial, Helvetica, sans-serif;
  --title: Montserrat, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--glacial);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }

.panel {
  position: relative;
  width: 100%;
  height: 1000px;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

.panel-media,
.panel-media img,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.panel-media { display: block; }
.panel-media img {
  display: block;
  object-fit: cover;
  object-position: center;
}
.panel-media-bottom img { object-position: center bottom; }

.shade {
  z-index: 1;
  pointer-events: none;
}
.hero-shade {
  /* Preserve the bright vertical "open box" light while improving text readability. */
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,.25) 0%,
    rgba(5,5,5,.30) 30%,
    rgba(5,5,5,.30) 70%,
    rgba(5,5,5,.35) 100%
  );
}
.visual-shade {
  background: linear-gradient(to bottom, rgba(5,5,5,.50) 0%, rgba(5,5,5,.25) 30%, rgba(5,5,5,.25) 69%, rgba(5,5,5,.50) 100%);
}
.snow-shade {
  background: linear-gradient(to bottom, rgba(5,5,5,.16) 0%, rgba(5,5,5,.10) 46%, rgba(5,5,5,.24) 100%);
}

.brand-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  padding: 25px;
}
.brand-header img {
  display: block;
  width: 268px;
  height: auto;
}

.hero-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 890px;
  max-width: calc(100% - 50px);
  padding: 50px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.accent,
.quote,
.closing-line {
  font-family: var(--quote);
  font-style: italic;
  font-weight: 600;
}
.accent {
  font-size: 40px;
  line-height: 1.28;
  letter-spacing: .1em;
}
.accent-teal { color: var(--ice-field); }

.hero .accent,
.hero .intro-copy {
  text-shadow: 0 2px 20px rgba(0,0,0,.58), 0 1px 3px rgba(0,0,0,.62);
}

.intro-copy {
  width: 600px;
  max-width: 100%;
  margin: 28px auto 0;
  color: var(--glacial);
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: .2em;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--glacial);
  text-decoration: none;
  font-family: var(--quote);
  font-size: 18px;
  letter-spacing: .1em;
}
.scroll-cue svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.quote {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 890px;
  max-width: calc(100% - 50px);
  padding: 25px;
  transform: translate(-50%, -50%);
  color: var(--glacial);
  text-align: center;
  font-size: 40px;
  line-height: 1.28;
  letter-spacing: .1em;
}

.aurora .panel-media img { object-position: center bottom; }
.snow .panel-media img { object-position: center center; }

.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--glacial);
  border-top: 3px solid rgba(113,195,214,.65);
}
.manifesto-inner {
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
  padding: 62px 25px 36px;
}
#manifesto-title {
  width: 890px;
  max-width: 100%;
  margin: 0 auto 38px;
  color: var(--ice-field);
  font-family: var(--title);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .1em;
}
.manifesto-copy {
  width: 890px;
  max-width: 100%;
  margin: 0 auto;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: .1em;
}
.manifesto-copy p { margin: 0 0 24px; }

.closing {
  width: 890px;
  max-width: 100%;
  margin: 78px auto 0;
  text-align: center;
}
.closing-logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto 22px;
}
.closing-line {
  font-size: 40px;
  line-height: 2;
  color: var(--glacial);
}
.inquiries {
  margin-top: 6px;
  color: var(--ice-field);
  font-size: 24px;
  line-height: 1;
  letter-spacing: .4em;
}
.email {
  display: inline-block;
  margin-top: 26px;
  color: var(--glacial);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: .32em;
  text-decoration: underline;
  text-underline-offset: 4px;
}
footer {
  margin-top: 86px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 8px;
  line-height: 1.65;
  letter-spacing: .2em;
}

.reveal {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 14px));
  transition: opacity .85s ease, transform .85s ease;
}
.hero-copy.reveal { transform: translate(-50%, calc(-50% + 14px)); }
.quote.reveal { transform: translate(-50%, calc(-50% + 14px)); }
.closing.reveal { transform: translateY(14px); }
.reveal.is-visible { opacity: 1; }
.hero-copy.reveal.is-visible,
.quote.reveal.is-visible { transform: translate(-50%, -50%); }
.closing.reveal.is-visible { transform: translateY(0); }

/* Tablet */
@media (max-width: 1024px) {
  .panel { height: min(1000px, 92svh); min-height: 720px; }
  .brand-header { padding: 22px; }
  .brand-header img { width: 220px; }
  .hero-copy { width: min(760px, calc(100% - 44px)); padding: 36px 26px; }
  .accent, .quote { font-size: clamp(31px, 4vw, 40px); }
  .intro-copy { width: min(600px, 100%); font-size: clamp(17px, 2.25vw, 22px); letter-spacing: .16em; }
  .quote { width: min(760px, calc(100% - 44px)); }
  #manifesto-title, .manifesto-copy, .closing { width: min(890px, 100%); }
  .manifesto-inner { padding-left: 42px; padding-right: 42px; }
}

/* Mobile */
@media (max-width: 700px) {
  .panel { height: 100svh; min-height: 620px; max-height: 860px; }
  .brand-header { padding: 18px 16px; }
  .brand-header img { width: min(196px, 58vw); }

  .hero-copy {
    width: calc(100% - 28px);
    max-width: 560px;
    padding: 24px 16px;
  }
  .accent {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.22;
    letter-spacing: .065em;
  }
  .intro-copy {
    margin-top: 24px;
    font-size: clamp(14px, 4.2vw, 17px);
    line-height: 1.65;
    letter-spacing: .115em;
  }
  .scroll-cue { bottom: 12px; font-size: 13px; }
  .scroll-cue svg { width: 20px; height: 20px; }

  .quote {
    width: calc(100% - 28px);
    padding: 18px 10px;
    font-size: clamp(26px, 7.8vw, 34px);
    line-height: 1.3;
    letter-spacing: .065em;
  }

  /* Preserve the reference focal points as the aspect ratio changes. */
  .hero .panel-media img { object-position: center center; }
  .atmospheric .panel-media img { object-position: center center; }
  .aurora .panel-media img { object-position: center bottom; }
  .ice .panel-media img { object-position: center center; }
  .snow .panel-media img { object-position: 55% center; }

  .manifesto-inner { padding: 48px 24px 28px; }
  #manifesto-title {
    margin-bottom: 28px;
    font-size: 20px;
    letter-spacing: .09em;
  }
  .manifesto-copy {
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: .055em;
  }
  .manifesto-copy p { margin-bottom: 22px; }
  .closing { margin-top: 58px; }
  .closing-logo { width: 124px; margin-bottom: 18px; }
  .closing-line { font-size: 31px; line-height: 1.7; }
  .inquiries { font-size: 16px; letter-spacing: .27em; }
  .email { margin-top: 20px; font-size: 14px; letter-spacing: .20em; }
  footer { margin-top: 64px; font-size: 8px; letter-spacing: .14em; }
}

@media (max-width: 390px) {
  .panel { min-height: 600px; }
  .accent { font-size: 25px; }
  .intro-copy { font-size: 13.5px; letter-spacing: .09em; }
  .quote { font-size: 25px; }
  .manifesto-inner { padding-left: 20px; padding-right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transition: none; }
  .hero-copy.reveal, .quote.reveal { transform: translate(-50%, -50%); }
  .closing.reveal { transform: none; }
}
