:root {
  color-scheme: dark;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, 0.78);
  --dim: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.2);
  --line-strong: rgba(215, 155, 63, 0.6);
  --field: #07110c;
  --moss: #102b25;
  --water: #1e5a5f;
  --gold: #d79b3f;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--field);
  color: var(--white);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

.home-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  padding: clamp(20px, 4vw, 42px);
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(7, 17, 12, 0.96) 0%, rgba(16, 43, 37, 0.94) 45%, rgba(30, 90, 95, 0.92) 72%, rgba(215, 155, 63, 0.88) 128%),
    linear-gradient(28deg, #07110c 0%, #102b25 42%, #1e5a5f 76%, #d79b3f 120%);
}

.home-shell::before,
.home-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.home-shell::before {
  opacity: 0.18;
  background:
    repeating-linear-gradient(90deg, transparent 0 76px, rgba(255, 255, 255, 0.08) 77px 78px),
    repeating-linear-gradient(0deg, transparent 0 76px, rgba(255, 255, 255, 0.06) 77px 78px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
}

.home-shell::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 32%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, 0.38) 100%);
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-line img {
  width: clamp(92px, 14vw, 146px);
  height: auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.28));
}

.brand-line span {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.home-stage {
  display: grid;
  width: min(920px, 100%);
  align-self: center;
  justify-self: center;
  justify-items: center;
  padding: clamp(44px, 6vw, 80px) 0;
  text-align: center;
}

.alliance-mark {
  display: grid;
  width: clamp(112px, 18vw, 168px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.36),
    0 0 0 10px rgba(255, 255, 255, 0.05);
}

.alliance-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.home-lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 700;
  text-wrap: balance;
}

.menu-grid {
  display: grid;
  width: min(760px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 54px);
}

.menu-tile {
  display: grid;
  min-height: 174px;
  align-content: end;
  justify-items: start;
  padding: clamp(20px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 12, 0.42);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  text-align: left;
  backdrop-filter: blur(18px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.menu-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
}

.menu-tile:focus-visible {
  outline: 3px solid rgba(215, 155, 63, 0.82);
  outline-offset: 4px;
}

.menu-tile--accent {
  border-color: var(--line-strong);
  background: rgba(215, 155, 63, 0.15);
}

.menu-number {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.menu-tile strong {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  line-height: 1.12;
}

.menu-tile span:last-child {
  max-width: 280px;
  margin-top: 12px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 700;
}

.home-footer {
  display: flex;
  justify-content: center;
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
}

.home-footer a {
  padding: 8px 0;
}

.home-footer a:hover {
  color: var(--white);
}

@media (max-width: 720px) {
  .home-shell {
    padding: 18px;
  }

  .brand-line {
    justify-content: flex-start;
  }

  .brand-line img {
    width: 98px;
  }

  .brand-line span {
    font-size: 11px;
  }

  .home-stage {
    padding: 38px 0;
  }

  .alliance-mark {
    width: 118px;
    margin-bottom: 22px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .menu-tile {
    min-height: 136px;
  }
}

@media (max-width: 420px) {
  .brand-line span {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  .home-lead {
    font-size: 15px;
  }

  .menu-tile strong {
    font-size: 24px;
  }
}
