:root {
  --bg: #070503;
  --oak-black: #070503;
  --oak-brown: #1a1008;
  --oak-brown-soft: #26180c;
  --oak-panel: rgba(26, 16, 8, 0.76);
  --oak-panel-solid: #140d07;
  --text: #f6efe2;
  --muted: #cbbd9f;
  --soft: #927f58;
  --gold: #c99a3a;
  --gold-light: #e7c778;
  --gold-dark: #7f5819;
  --line: rgba(231, 199, 120, 0.24);
  --line-soft: rgba(246, 239, 226, 0.10);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
  --radius: 16px;
  --page: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(201, 154, 58, 0.16), transparent 360px),
    radial-gradient(circle at 88% 10%, rgba(127, 88, 25, 0.20), transparent 420px),
    linear-gradient(180deg, #090603, #040302);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 5, 3, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--page), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: block;
  border: 1px solid rgba(231, 199, 120, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(7, 5, 3, 0.10), rgba(7, 5, 3, 0.50)),
    url("assets/logo.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.brand-text {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.menu-button {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-links a,
.nav-apply {
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active,
.nav-apply:hover {
  color: var(--text);
  background: rgba(231, 199, 120, 0.10);
}

.nav-apply {
  justify-self: end;
  color: #140d07;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.snap-page {
  min-height: 100vh;
}

.snap-section {
  min-height: 100vh;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 92px 0 34px;
}

.section-inner {
  width: min(var(--page), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero-section {
  padding-top: 68px;
}

.hero-slideshow,
.hero-shade,
.join-bg,
.join-shade {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(26, 16, 8, 0.92), rgba(7, 5, 3, 0.96));
  background-image:
    linear-gradient(135deg, rgba(26, 16, 8, 0.52), rgba(7, 5, 3, 0.92)),
    var(--slide-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: opacity 900ms ease, transform 1600ms ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 5, 3, 0.95), rgba(7, 5, 3, 0.70), rgba(7, 5, 3, 0.35)),
    linear-gradient(180deg, rgba(7, 5, 3, 0.10), rgba(7, 5, 3, 0.78));
}

.hero-inner {
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-copy {
  width: min(680px, 100%);
  max-width: 680px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 5, 3, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.eyebrow,
.department-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 600px;
  margin: 0 auto 16px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 22px;
  color: rgba(246, 239, 226, 0.86);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions.single-focus {
  justify-content: center;
}

.large-action {
  min-width: 210px;
  min-height: 48px;
  font-size: 14px;
}

.hero-actions.centered {
  justify-content: center;
}

.button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button.primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #140d07;
}

.button.secondary {
  color: var(--text);
  background: rgba(246, 239, 226, 0.06);
}

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 13, 7, 0.72);
  backdrop-filter: blur(14px);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-panel strong {
  color: var(--text);
  font-size: 17px;
  line-height: 1.3;
}

.slide-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}

.slide-controls button {
  width: 30px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(246, 239, 226, 0.28);
}

.slide-controls button.active {
  background: var(--gold-light);
}

.two-column {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  align-items: center;
}

.section-copy {
  max-width: 620px;
}

.section-copy p:not(.eyebrow) {
  font-size: 16px;
}

.compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.compact-actions a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-light);
  font-weight: 850;
}

.visual-stack {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  gap: 14px;
  align-items: stretch;
}

.asset-slot {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 35% 28%, rgba(201, 154, 58, 0.22), transparent 190px),
    linear-gradient(135deg, var(--oak-brown-soft), var(--oak-black));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.asset-slot.has-image {
  background-image:
    linear-gradient(180deg, rgba(7, 5, 3, 0.08), rgba(7, 5, 3, 0.50)),
    var(--asset-image);
}

.asset-slot::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(246, 239, 226, 0.08);
  border-radius: 12px;
}

.asset-slot.tall {
  min-height: 520px;
}

.mini-cards {
  display: grid;
  gap: 14px;
}

.mini-cards article,
.standard-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(20, 13, 7, 0.94), rgba(38, 24, 12, 0.88));
}

.mini-cards strong,
.mini-cards span,
.standard-list strong,
.standard-list span {
  display: block;
}

.mini-cards strong,
.standard-list strong {
  color: var(--text);
  font-size: 16px;
}

.mini-cards span,
.standard-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head > p {
  margin: 0;
  max-width: 500px;
}

.department-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.department-grid article {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 13, 7, 0.90);
  box-shadow: var(--shadow);
}

.dept-image {
  height: 315px;
  min-height: 315px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.department-grid article > div:last-child {
  padding: 18px;
}

.department-grid span {
  margin-bottom: 7px;
  color: var(--gold-light);
}

.standard-visual {
  min-height: 520px;
}

.standard-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.join-section {
  text-align: center;
}

.join-bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.join-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,5,3,0.93), rgba(38,24,12,0.64), rgba(7,5,3,0.93)),
    linear-gradient(180deg, rgba(7,5,3,0.18), rgba(7,5,3,0.76));
}

.join-inner {
  max-width: 720px;
  text-align: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 5, 3, 0.66);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.join-inner p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 auto 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  html {
    scroll-snap-type: none;
  }

  .snap-section {
    min-height: auto;
    padding: 100px 0 70px;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    width: 42px;
    height: 38px;
    display: grid;
    gap: 5px;
    align-content: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(246, 239, 226, 0.05);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(9, 6, 3, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
    gap: 6px;
  }

  .nav-apply {
    display: none;
  }

  .hero-inner,
  .two-column,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 760px;
  }

  .visual-stack,
  .department-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .asset-slot.tall,
  .standard-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .brand-text {
    display: none;
  }

  h1 {
    font-size: 28px;
  }

  h2,
  .join-inner h2 {
    font-size: 24px;
  }

  .hero-copy,
  .join-inner {
    padding: 24px;
  }

  .visual-stack,
  .department-grid {
    grid-template-columns: 1fr;
  }

  .dept-image {
    height: 230px;
    min-height: 230px;
  }
}
