@font-face {
  font-family: Manrope;
  src: url("./assets/fonts/manrope-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("./assets/fonts/barlow-condensed-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #f9f7f0;
  --forest: #153d2c;
  --orange: #e97831;
  --gold: #f1b94b;
  --sage: #b9c9b7;
  background: var(--ivory);
  color: var(--forest);
  font-family: Manrope, Arial, sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body { margin: 0; }

::selection { background: var(--gold); color: var(--forest); }

a { color: inherit; }

a:focus-visible, main:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 7px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 24px;
  top: 16px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--forest);
  color: var(--ivory);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  --header-height: clamp(56px, 11svh, 98px);
  --landscape-height: clamp(112px, 26svh, 220px);
  --hero-height: calc(100svh - var(--header-height) - var(--landscape-height));
  position: relative;
  isolation: isolate;
  display: flex;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  flex-direction: column;
  padding-bottom: var(--landscape-height);
  overflow: clip;
  background: radial-gradient(ellipse at 50% 40%, #fffdf7 0%, var(--ivory) 70%);
}

.masthead {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, 100%);
  height: var(--header-height);
  flex: 0 0 var(--header-height);
  margin-inline: auto;
  padding: 0 5.3vw;
}

.masthead p { margin: 0; }

.masthead-name {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  letter-spacing: .24em;
}

.sunrise-mark {
  width: 22px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(120deg, var(--orange), var(--gold));
}

.masthead-edition {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: .22em;
}

.masthead-edition span {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.025em;
}

.announcement {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  align-content: center;
  gap: clamp(24px, 5vw, 88px);
  width: min(1260px, 88%, calc((var(--hero-height) - 56px) * 2));
  min-height: 0;
  flex: 1;
  margin: 0 auto;
  padding: 0;
}

.identity {
  min-width: 0;
  text-align: center;
}

.official-logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.identity-motto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.identity-location {
  margin: 18px 0 0;
  font-size: clamp(8px, .66vw, 10px);
  line-height: 1.8;
  letter-spacing: .26em;
}

.identity-location span { margin-inline: .5em; }

.announcement-message { min-width: 0; }
.announcement-location { display: none; }

.announcement-title { margin: 0; line-height: 0; }

.headline-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  mix-blend-mode: multiply;
}

.stay-tuned {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 25px);
  margin: clamp(12px, 2svh, 24px) 0 0;
  font-size: clamp(9px, 1.15vw, 16px);
  letter-spacing: .38em;
  line-height: 1.6;
  white-space: nowrap;
}

.stay-tuned span {
  display: block;
  width: clamp(12px, 2.5vw, 36px);
  height: 2px;
  background: var(--orange);
  transform: skewX(-35deg);
}

.contours {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  background: url("./assets/contours.svg") center / contain no-repeat;
  pointer-events: none;
  opacity: .55;
}

.contours--north { left: -275px; top: -290px; transform: rotate(-10deg); }
.contours--east { right: -335px; top: 190px; transform: rotate(165deg); opacity: .33; }

.landscape {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: var(--landscape-height);
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.landscape picture { display: block; width: 100%; height: 100%; }

.landscape img {
  display: block;
  height: 100%;
  width: 100%;
}

.footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 28px 5.3vw 18px;
  background: linear-gradient(to bottom, rgb(8 38 28 / 20%), rgb(8 38 28 / 94%) 45px, #08261c);
  color: var(--ivory);
}

.footer p { margin: 0; }

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-region {
  color: var(--sage);
  font-size: 8px;
  letter-spacing: .25em;
  line-height: 1.8;
}

.footer-name {
  padding-top: 2px;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.1;
}

.footer-motto {
  font-size: 10px;
  letter-spacing: .2em;
  line-height: 1.9;
  text-align: right;
}

.footer-motto span { color: #f2cf8d; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgb(185 201 183 / 20%);
}

.footer-bottom p {
  color: #b9c9b7;
  font-size: 8px;
  letter-spacing: .15em;
  line-height: 1.6;
}

.footer-accent {
  display: block;
  width: 38px;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--orange));
}

@media (min-width: 1600px) {
  .masthead { padding-inline: 0; }
  .footer { padding-inline: max(5.3vw, calc((100vw - 1440px) / 2)); }
}

@media (max-width: 900px) {
  .announcement { gap: 20px; }
  .identity-location { font-size: 8px; letter-spacing: .13em; }
}

@media (orientation: landscape) and (max-height: 480px) {
  .stay-tuned { font-size: 8px; letter-spacing: .2em; gap: 8px; }
  .stay-tuned span { width: 10px; }
  .identity-location { font-size: 7px; letter-spacing: .08em; margin-top: 10px; }
}

@media (max-width: 620px) {
  .page-shell {
    --header-height: clamp(54px, 8svh, 72px);
    --landscape-height: calc(100vw / 3);
  }
  .masthead { padding-inline: 6vw; }
  .masthead-name { gap: 8px; font-size: 8px; letter-spacing: .16em; }
  .sunrise-mark { width: 17px; height: 8px; }
  .masthead-edition { gap: 8px; font-size: 7px; letter-spacing: .12em; }
  .masthead-edition span { font-size: 25px; }
  .contours--north { width: 420px; height: 420px; left: -250px; top: -210px; }
  .contours--east { width: 420px; height: 420px; right: -290px; top: 350px; }
  .footer { padding: 28px 6vw 16px; }
  .footer-content { gap: 14px; }
  .footer-region { font-size: 7px; letter-spacing: .17em; }
  .footer-name { font-size: 24px; }
  .footer-motto { font-size: 8px; letter-spacing: .1em; }
  .footer-bottom { margin-top: 16px; padding-top: 12px; }
  .footer-bottom p { font-size: 7px; letter-spacing: .09em; }
  .footer-accent { width: 28px; }
}

@media (max-width: 620px) and (orientation: landscape) {
  .page-shell { --landscape-height: clamp(64px, 26svh, 96px); }
}

@media (max-width: 620px) {
  .landscape img { object-fit: fill; }
}

@media (max-width: 620px) and (orientation: portrait) {
  .announcement {
    grid-template-columns: 1fr;
    gap: 6px;
    width: min(88%, 430px, calc((var(--hero-height) - 80px) * .75));
  }
  .identity { width: 76%; margin: 0 auto; }
  .identity-location { display: none; }
  .stay-tuned { margin-top: 16px; gap: 12px; font-size: 10px; letter-spacing: .32em; }
  .stay-tuned span { width: 20px; }
  .announcement-location {
    display: block;
    margin: 14px 0 0;
    font-size: 8px;
    letter-spacing: .13em;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
  }
  .announcement-location span { margin-inline: .3em; }
}

@media (prefers-reduced-motion: no-preference) {
  .identity, .announcement-message { animation: arrive 900ms ease-out both; }
  .announcement-message { animation-delay: 120ms; }
  .contours--north { animation: terrain-drift 24s ease-in-out infinite alternate; }
  @keyframes arrive {
    from { transform: translateY(12px); }
    to { transform: translateY(0); }
  }
  @keyframes terrain-drift {
    from { transform: translateY(0) rotate(-10deg); }
    to { transform: translateY(9px) rotate(-8deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
