@font-face {
  font-family: "Reem Serif";
  src: url("fonts/reem-serif-regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --gold: #d6a347;
  --gold-light: #f3d99c;
  --ivory: #fff9ed;
  --muted: #ddd5c8;
  --ink: #070707;
  --line: rgba(245, 220, 169, 0.42);
  --sans: Arial, Helvetica, sans-serif;
  --display: "Reem Serif", Georgia, serif;
  --type-headline: 64px;
  --type-subheadline: clamp(36px, 4.2vw, 58px);
  --type-body: 17px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--gold-light);
  color: #15100a;
  transform: translateY(-170%);
  transition: transform 0.2s ease;
}

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

.landing-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0a;
}

.landing-art,
.landing-art img,
.landing-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.landing-art img {
  display: block;
  object-fit: cover;
  object-position: center;
  /* Mirror only the artwork so both scenes move together across the gold seam. */
  transform: scaleX(-1);
  user-select: none;
  -webkit-user-drag: none;
}

.landing-shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.04) 24%, rgba(0, 0, 0, 0.02) 56%, rgba(0, 0, 0, 0.5) 100%),
    radial-gradient(ellipse at 50% 42%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.08) 31%, transparent 57%);
}

.landing-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 150px 1fr 48px;
  align-items: center;
  min-height: 112px;
  padding: 10px clamp(28px, 4.7vw, 88px);
}

.landing-logo {
  display: block;
  width: 153.4px;
  line-height: 0;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.5));
}

.landing-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 2.8vw, 52px);
}

.landing-nav a {
  position: relative;
  padding: 14px 0;
  color: rgba(255, 249, 237, 0.88);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
  transition: color 0.2s ease;
}

.landing-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 1px;
  background: var(--gold-light);
  transition: right 0.22s ease;
}

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

.landing-nav a:hover::after,
.landing-nav a:focus-visible::after,
.landing-nav a[aria-current="page"]::after {
  right: 0;
}

.landing-search {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  justify-self: end;
  border: 1px solid rgba(246, 222, 172, 0.58);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.2);
  color: var(--ivory);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.landing-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.landing-search:hover,
.landing-search:focus-visible {
  border-color: var(--gold-light);
  background: rgba(213, 161, 70, 0.15);
  color: var(--gold-light);
  outline: none;
}

.landing-message {
  position: absolute;
  z-index: 3;
  top: 43%;
  left: 50%;
  width: min(1080px, 80vw);
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.95);
}

.landing-message .landing-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.landing-message h1 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--type-headline);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #e5b354;
}

.landing-slogan {
  margin: 15px 0 0;
  font-family: var(--display);
  font-size: 28.6px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--gold-light);
}

.division-choices {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(90px, 15vw, 270px);
  padding: 0 clamp(30px, 5vw, 96px);
}

.division-link {
  position: relative;
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 72px 16px 46px;
  border: 1px solid rgba(245, 220, 169, 0.23);
  background: rgba(7, 8, 9, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
  backdrop-filter: blur(3px);
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.9);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.division-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 8px;
  background: linear-gradient(180deg, #efd19a, #c98725);
}

.division-link:hover,
.division-link:focus-visible {
  border-color: rgba(243, 217, 156, 0.62);
  background: rgba(7, 8, 9, 0.28);
  transform: translateY(-4px);
  outline: none;
}

.division-prefix {
  display:block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.division-link strong {
  font-family: var(--sans);
  font-size: clamp(25px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.division-enter {
  display:block;
  margin-top:9px;
  color:rgba(255,249,237,.88);
  font-size:9px;
  font-weight:700;
  letter-spacing:.24em;
  text-transform:uppercase;
}

.division-arrow {
  position:absolute;
  top:50%;
  right:12px;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1.5px solid var(--gold);
  color:var(--gold-light);
  text-shadow:none;
  transform:translateY(-50%);
  transition:background .2s,color .2s;
}

.division-arrow svg {
  display:block;
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.division-link:hover .division-arrow,
.division-link:focus-visible .division-arrow {
  background:rgba(214,163,71,.15);
  color:#fff;
}

.mobile-menu-button,
.mobile-nav {
  display: none;
}

.site-search {
  width: min(720px, calc(100% - 36px));
  max-height: min(760px, calc(100svh - 36px));
  padding: 0;
  border: 1px solid rgba(218, 167, 78, 0.52);
  background: rgba(8, 8, 8, 0.98);
  color: var(--ivory);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.site-search::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.search-shell {
  position: relative;
  padding: clamp(30px, 6vw, 58px);
}

.search-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(218, 167, 78, 0.46);
  border-radius: 50%;
  background: transparent;
  color: var(--ivory);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.search-kicker {
  margin: 0 0 11px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.site-search h2 {
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.05;
}

.site-search label {
  display: block;
  margin-bottom: 10px;
  color: #d8d0c5;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-search input {
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--gold);
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
}

.search-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 28px;
  background: rgba(255, 255, 255, 0.1);
}

.search-results a {
  padding: 15px;
  background: #0d0d0e;
  color: #ded7cd;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s ease, background 0.2s ease;
}

.search-results a:hover,
.search-results a:focus-visible {
  background: #17130d;
  color: var(--gold-light);
  outline: 0;
}

.search-empty {
  color: #c9b992;
}

@media (max-width: 980px) {
  .landing-message h1 {
    font-size: 56px;
  }

  .landing-header {
    grid-template-columns: 124px 1fr 44px;
    padding-inline: 26px;
  }

  .landing-logo {
    width: 130px;
  }

  .landing-nav {
    gap: 18px;
  }

  .landing-nav a {
    font-size: 9px;
  }

  .division-choices {
    gap: 80px;
    padding-inline: 34px;
  }
}

@media (max-width: 700px) {
  body {
    overflow-y: auto;
  }

  .landing-stage {
    height: 100vh;
    height: 100svh;
    min-height: 620px;
  }

  .landing-art img {
    object-position: center;
  }

  .landing-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.04) 21%, rgba(0, 0, 0, 0.02) 52%, rgba(0, 0, 0, 0.55) 100%),
      radial-gradient(ellipse at 50% 27%, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.08) 35%, transparent 62%);
  }

  .landing-header {
    grid-template-columns: 1fr auto;
    min-height: 92px;
    padding: max(10px, env(safe-area-inset-top)) 18px 8px;
  }

  .landing-logo {
    width: 109.2px;
  }

  .landing-nav,
  .landing-search {
    display: none;
  }

  .mobile-menu-button {
    position: relative;
    z-index: 12;
    display: block;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(239, 210, 153, 0.62);
    background: rgba(7, 7, 7, 0.46);
    color: #fff;
    backdrop-filter: blur(8px);
  }

  .mobile-menu-button span,
  .mobile-menu-button::before,
  .mobile-menu-button::after {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .mobile-menu-button[aria-expanded="true"] span {
    opacity: 0;
  }

  .mobile-menu-button[aria-expanded="true"]::before {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-button[aria-expanded="true"]::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .landing-message {
    top: 28%;
    width: calc(100% - 44px);
  }

  .landing-message .landing-eyebrow {
    font-size: 8px;
  }

  .landing-message h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .landing-slogan {
    margin: 10px 0 0;
    font-size: 22px;
  }

  .division-choices {
    bottom: max(30px, calc(env(safe-area-inset-bottom) + 14px));
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 20px;
  }

  .division-link {
    min-height: 96px;
    padding: 14px 58px 13px 32px;
  }

  .division-link:hover,
  .division-link:focus-visible {
    transform: none;
  }

  .division-prefix {
    margin-bottom: 3px;
    font-size: 8px;
  }

  .division-link strong {
    font-size: clamp(22px, 6.5vw, 29px);
    line-height: 1.02;
  }

  .division-enter {
    margin-top:7px;
    font-size:7px;
  }

  .division-arrow {
    right:10px;
    width:34px;
    height:34px;
  }

  .mobile-nav {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 92px 30px 40px;
    background: rgba(5, 5, 5, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .mobile-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-nav a,
  .mobile-nav button {
    width: min(350px, 100%);
    padding: 13px 10px;
    border: 0;
    border-bottom: 1px solid rgba(221, 171, 79, 0.22);
    background: transparent;
    color: #f6eee1;
    text-align: center;
    font-family: var(--display);
    font-size: 26px;
    cursor: pointer;
  }

  .mobile-nav a:focus-visible,
  .mobile-nav button:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
  }

  .search-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) and (max-height: 720px) {
  .landing-message {
    top: 26%;
  }

  .landing-message h1 {
    font-size: 40px;
  }

  .landing-slogan {
    font-size: 22px;
  }

  .division-link {
    min-height: 72px;
    padding-top: 10px;
  }

  .division-link strong {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .landing-nav a::after,
  .division-link,
  .division-link::before,
  .mobile-nav,
  .mobile-menu-button span,
  .mobile-menu-button::before,
  .mobile-menu-button::after {
    transition: none;
  }
}
