@import url("./editorial.css");

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.landing-page {
  background:
    linear-gradient(to right, rgba(31, 79, 108, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 79, 108, 0.024) 1px, transparent 1px),
    radial-gradient(1000px 500px at 10% -6%, rgba(179, 139, 63, 0.18), transparent 62%),
    radial-gradient(900px 520px at 88% 4%, rgba(112, 131, 106, 0.14), transparent 60%),
    linear-gradient(180deg, #f1e8d4 0%, #eee3cc 46%, #dfceb1 100%);
  background-size: 76px 76px, 76px 76px, auto, auto, auto;
  color: #162838;
}

body.landing-page::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 14%, transparent 86%, rgba(76, 62, 43, 0.05)),
    repeating-linear-gradient(0deg, rgba(31, 79, 108, 0.018) 0 1px, transparent 1px 5px);
  opacity: 0.62;
  mix-blend-mode: multiply;
  animation: none;
}

body.landing-page::after {
  background:
    radial-gradient(circle at center, transparent 0 50%, rgba(48, 43, 35, 0.10) 100%),
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.22), transparent 30%);
  opacity: 0.58;
  mix-blend-mode: soft-light;
  animation: none;
}

body.landing-page .landing-shell {
  width: min(1540px, calc(100% - 48px));
  margin: 18px auto 44px;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
}

body.landing-page .landing-hero {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.landing-page .hero-banner-image {
  width: 100%;
  height: auto;
  max-height: min(42vw, 520px);
  object-fit: contain;
  object-position: center center;
  border: 10px solid #071018;
  border-radius: 0;
  background: #071018;
  box-shadow:
    0 0 0 1px rgba(211, 169, 91, 0.72),
    0 0 0 2px rgba(4, 7, 10, 0.82),
    0 18px 38px rgba(42, 32, 20, 0.28);
}

body.landing-page .landing-tagline {
  width: min(980px, 100%);
  margin: 0 auto;
  color: rgba(53, 44, 34, 0.78);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 2.35vw, 38px);
  font-style: italic;
  line-height: 1.36;
  text-align: center;
}

body.landing-page .page-nav {
  width: min(1340px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(110, 87, 50, 0.22);
  border-bottom: 1px solid rgba(110, 87, 50, 0.22);
}

body.landing-page .page-nav a {
  position: relative;
  padding: 26px clamp(24px, 4.6vw, 66px);
  color: #11283a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(16px, 1.35vw, 24px);
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
}

body.landing-page .page-nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 28px;
  background: rgba(176, 130, 54, 0.36);
  transform: translateY(-50%);
}

body.landing-page .page-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 0;
  height: 3px;
  background: #c59642;
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

body.landing-page .page-nav a:hover,
body.landing-page .page-nav a:focus-visible,
body.landing-page .page-nav a[aria-current="page"] {
  color: #0d2334;
}

body.landing-page .page-nav a:hover::after,
body.landing-page .page-nav a:focus-visible::after,
body.landing-page .page-nav a[aria-current="page"]::after {
  width: 72px;
}

body.landing-page .landing-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
}

body.landing-page .landing-tile {
  position: relative;
  display: grid;
  gap: clamp(18px, 2.8vw, 34px);
  min-height: clamp(340px, 34vw, 520px);
  padding: clamp(28px, 4.6vw, 70px);
  border: 1px solid rgba(31, 79, 108, 0.14);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(252, 248, 239, 0.78), rgba(239, 229, 211, 0.88)),
    #f4ecdd;
  box-shadow: none;
  color: inherit;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.22s ease, background 0.22s ease;
}

body.landing-page .landing-tile::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(31, 79, 108, 0.10);
  pointer-events: none;
}

body.landing-page .landing-tile::after {
  content: "";
  position: absolute;
  left: clamp(28px, 4.6vw, 70px);
  right: clamp(28px, 4.6vw, 70px);
  top: clamp(72px, 7vw, 108px);
  height: 1px;
  background: rgba(31, 79, 108, 0.13);
}

body.landing-page .landing-tile:hover,
body.landing-page .landing-tile:focus-visible {
  border-color: rgba(31, 79, 108, 0.30);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.86), rgba(239, 229, 211, 0.96)),
    #f4ecdd;
  outline: none;
}

body.landing-page .landing-tile > * {
  position: relative;
  z-index: 1;
}

body.landing-page .landing-kicker {
  margin: 0;
  color: #9d7334;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

body.landing-page .landing-tile h2,
body.landing-page .landing-about h2 {
  margin: 0;
  color: #12283a;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 700;
  line-height: 0.98;
}

body.landing-page .landing-tile p,
body.landing-page .landing-about p {
  margin: 0;
  max-width: 56ch;
  color: rgba(22, 40, 56, 0.72);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.72;
}

body.landing-page .landing-action {
  margin-top: auto;
  align-self: end;
  color: #15364d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.landing-page .landing-about {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 42px) 0;
  display: grid;
  gap: 18px;
  text-align: center;
}

body.landing-page .landing-about h2 {
  font-size: clamp(34px, 4vw, 62px);
}

body.landing-page .landing-about p {
  margin: 0 auto;
}

body.landing-page .hero-stage {
  display: grid;
  gap: 14px;
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: center;
}

body.landing-page .hero-brand-box {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.landing-page .hero-logo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.landing-page .hero-logo-chip {
  min-height: 88px;
  max-height: 88px;
  padding: 18px 24px;
  border: 1px solid rgba(31, 79, 108, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(245, 238, 224, 0.86));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.52),
    0 8px 18px rgba(42, 32, 20, 0.08);
}

body.landing-page .hero-logo-chip:hover,
body.landing-page .hero-logo-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 79, 108, 0.26);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 12px 24px rgba(42, 32, 20, 0.12);
}

body.landing-page .landing-support-links {
  width: min(1040px, calc(100% - 48px));
  margin: -20px auto 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.landing-page .landing-support-links .hero-button {
  min-width: min(100%, 300px);
  box-shadow: none;
}

body.landing-page .landing-footer {
  width: min(1540px, calc(100% - 48px));
  margin: 0 auto 24px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px 20px;
  border-top: 1px solid rgba(110, 87, 50, 0.20);
  color: rgba(22, 40, 56, 0.58);
  font-size: 14px;
  align-items: center;
}

body.landing-page .footer-seal {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(42, 32, 20, 0.18));
}

body.landing-page .footer-copy {
  display: grid;
  gap: 4px;
}

body.landing-page .theme-toggle {
  margin-left: auto;
  min-height: 0;
  padding: 9px 14px;
  border-radius: 0;
  box-shadow: none;
}

body.landing-page .landing-hero::after {
  display: none;
}

body.landing-page main.memorial-page {
  width: min(1540px, calc(100% - 48px));
  margin: 18px auto 44px;
  gap: clamp(22px, 4vw, 44px);
}

body.landing-page .memorial-hero {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.landing-page .memorial-hero .hero-banner-image {
  border-radius: 0;
}

body.landing-page .memorial-footer.landing-footer {
  border-radius: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 920px) {
  body.landing-page .landing-nav {
    grid-template-columns: 1fr;
  }

  body.landing-page .landing-tile {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  body.landing-page .landing-shell,
  body.landing-page .landing-footer,
  body.landing-page .landing-support-links,
  body.landing-page main.memorial-page {
    width: min(100% - 20px, 1540px);
  }

  body.landing-page .hero-banner-image {
    max-height: none;
    border-width: 6px;
  }

  body.landing-page .page-nav {
    justify-content: center;
  }

  body.landing-page .page-nav a {
    padding: 14px 13px;
    font-size: 13px;
  }

  body.landing-page .page-nav a + a::before {
    display: none;
  }

  body.landing-page .page-nav a::after {
    bottom: 8px;
    height: 2px;
  }

  body.landing-page .page-nav a:hover::after,
  body.landing-page .page-nav a:focus-visible::after,
  body.landing-page .page-nav a[aria-current="page"]::after {
    width: 42px;
  }

  body.landing-page .hero-logo-row {
    grid-template-columns: 1fr;
  }

  body.landing-page .hero-logo-chip {
    min-height: 82px;
    max-height: 82px;
  }

  body.landing-page .theme-toggle {
    width: 100%;
    margin-left: 0;
  }

  body.landing-page .landing-footer {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body.landing-page .footer-seal {
    width: 58px;
    height: 58px;
  }
}

html[data-theme="dark"] body.landing-page {
  background:
    linear-gradient(to right, rgba(221, 231, 244, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(221, 231, 244, 0.026) 1px, transparent 1px),
    radial-gradient(1000px 500px at 10% -6%, rgba(197, 155, 76, 0.13), transparent 62%),
    radial-gradient(900px 520px at 88% 4%, rgba(94, 128, 142, 0.13), transparent 60%),
    linear-gradient(180deg, #14171a 0%, #10161c 48%, #0b1015 100%);
  color: #f3eadb;
}

html[data-theme="dark"] body.landing-page::before {
  opacity: 0.22;
  mix-blend-mode: screen;
}

html[data-theme="dark"] body.landing-page::after {
  background:
    radial-gradient(circle at center, transparent 0 50%, rgba(0, 0, 0, 0.36) 100%),
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.07), transparent 30%);
  opacity: 0.48;
  mix-blend-mode: screen;
}

html[data-theme="dark"] body.landing-page .landing-tagline,
html[data-theme="dark"] body.landing-page .page-nav a,
html[data-theme="dark"] body.landing-page .landing-tile p,
html[data-theme="dark"] body.landing-page .landing-about p,
html[data-theme="dark"] body.landing-page .landing-footer {
  color: rgba(243, 234, 219, 0.72);
}

html[data-theme="dark"] body.landing-page .page-nav,
html[data-theme="dark"] body.landing-page .landing-footer {
  border-color: rgba(243, 234, 219, 0.14);
}

html[data-theme="dark"] body.landing-page .hero-banner-image {
  border-color: #05090d;
  box-shadow:
    0 0 0 1px rgba(211, 169, 91, 0.54),
    0 0 0 2px rgba(2, 4, 7, 0.88),
    0 20px 42px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] body.landing-page .page-nav a + a::before,
html[data-theme="dark"] body.landing-page .landing-tile::after {
  background: rgba(243, 234, 219, 0.14);
}

html[data-theme="dark"] body.landing-page .page-nav a::after {
  background: rgba(229, 207, 145, 0.9);
}

html[data-theme="dark"] body.landing-page .page-nav a:hover,
html[data-theme="dark"] body.landing-page .page-nav a:focus-visible,
html[data-theme="dark"] body.landing-page .page-nav a[aria-current="page"],
html[data-theme="dark"] body.landing-page .landing-tile h2,
html[data-theme="dark"] body.landing-page .landing-about h2 {
  color: #fff6e7;
}

html[data-theme="dark"] body.landing-page .landing-tile {
  border-color: rgba(243, 234, 219, 0.13);
  background:
    linear-gradient(180deg, rgba(26, 32, 38, 0.76), rgba(14, 20, 27, 0.86)),
    #10161c;
}

html[data-theme="dark"] body.landing-page .landing-tile::before,
html[data-theme="dark"] body.landing-page .hero-logo-chip {
  border-color: rgba(243, 234, 219, 0.12);
}

html[data-theme="dark"] body.landing-page .landing-tile:hover,
html[data-theme="dark"] body.landing-page .landing-tile:focus-visible {
  border-color: rgba(243, 234, 219, 0.28);
  background:
    linear-gradient(180deg, rgba(32, 39, 46, 0.86), rgba(14, 20, 27, 0.96)),
    #10161c;
}

html[data-theme="dark"] body.landing-page .landing-kicker,
html[data-theme="dark"] body.landing-page .landing-action {
  color: rgba(229, 207, 145, 0.92);
}

html[data-theme="dark"] body.landing-page .hero-logo-chip {
  background:
    linear-gradient(180deg, rgba(27, 33, 39, 0.9), rgba(13, 18, 25, 0.82));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 22px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] body.landing-page .footer-seal {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.42));
}
