﻿:root {
  --ink: #111827;
  --muted: #5f6773;
  --paper: #f5f7fa;
  --paper-strong: #ffffff;
  --line: rgba(17, 24, 39, 0.11);
  --night: #0f1117;
  --night-soft: #171b24;
  --blue: #2563eb;
  --green: #0f766e;
  --coral: #d45d4c;
  --gold: #b7791f;
  --white: #ffffff;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-dark: rgba(15, 17, 23, 0.72);
  --glass-line: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 18px 44px rgba(17, 24, 39, 0.09);
  --glass-panel: rgba(255, 255, 255, 0.68);
  --glass-panel-strong: rgba(255, 255, 255, 0.78);
  --glass-border-light: rgba(255, 255, 255, 0.82);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 46%, #eef2f6 100%);
  font-family: "Inter", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  max-width: none;
  height: 76px;
  padding: 0 42px;
  color: var(--white);
  background: rgba(12, 14, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(130%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  object-fit: cover;
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 19px;
  font-weight: 800;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav > a,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
}

.site-nav > a.active,
.nav-dropdown-toggle.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.site-nav [data-auth-link] {
  margin-left: 8px;
}

.site-nav .auth-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin-left: 8px;
  padding: 0 13px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav .auth-user::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(183, 121, 31, 0.16);
}

.site-nav .auth-user[hidden] {
  display: none;
}

.site-nav .auth-user + [data-auth-link] {
  margin-left: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 180px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(18, 21, 29, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px) saturate(130%);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 800;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
}

.site-nav svg,
.button svg,
.text-link svg,
.channel-link svg,
.contact-panel svg,
.scroll-cue svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.menu-bars {
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-bars::before {
  top: -7px;
}

.menu-bars::after {
  top: 7px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  height: 100svh;
  max-height: 980px;
  padding: 110px 42px 58px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 47%, rgba(183, 121, 31, 0.22), transparent 24%),
    radial-gradient(circle at 74% 44%, rgba(15, 118, 110, 0.2), transparent 28%),
    linear-gradient(180deg, #020306 0%, #090b11 52%, #11151f 100%);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 16%, rgba(255, 255, 255, 0.28) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 74%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 38% 82%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 58% 50%, transparent 0 58%, rgba(255, 255, 255, 0.1) 58.2% 58.4%, transparent 58.6%),
    radial-gradient(circle at 58% 50%, transparent 0 42%, rgba(183, 121, 31, 0.16) 42.2% 42.4%, transparent 42.7%);
  background-size: 220px 220px, 260px 260px, 310px 310px, 180px 180px, 100% 100%, 100% 100%;
  transform: none;
  opacity: 0.78;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(3, 4, 7, 0.92), transparent 42%, rgba(3, 4, 7, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.042) 0 1px, transparent 1px 118px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 118px);
  mix-blend-mode: normal;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  max-width: 1240px;
  margin: 0 auto;
  min-width: 0;
}

.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(28px, 3.4vw, 52px);
  align-items: center;
  min-height: auto;
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.028)),
    rgba(4, 6, 10, 0.48);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px) saturate(130%);
  overflow: hidden;
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  inset: 50% auto auto 58%;
  width: min(48vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scaleY(0.48);
  content: "";
  pointer-events: none;
}

.hero-stage::after {
  width: min(38vw, 500px);
  border-color: rgba(183, 121, 31, 0.16);
  transform: translate(-50%, -50%) rotate(15deg) scaleY(0.45);
}

.hero-copy-panel {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-stage > * {
  min-width: 0;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-tags span {
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  backdrop-filter: blur(10px) saturate(130%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #caa05b;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0;
  max-width: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1.02;
  font-weight: 700;
  white-space: nowrap;
}

.hero-copy {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.64;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  max-width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}

.button.primary {
  color: #11151f;
  background: #d6ad68;
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: none;
  backdrop-filter: blur(10px) saturate(120%);
}

.hero-facts {
  display: grid;
  grid-template-columns: 0.75fr 0.85fr 1.5fr;
  gap: 1px;
  width: min(760px, 100%);
  margin: 32px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: none;
  backdrop-filter: blur(10px) saturate(120%);
  overflow: hidden;
}

.hero-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0;
  justify-items: stretch;
}

.hero-showcase::before,
.hero-showcase::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(40vw, 440px);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  content: "";
  pointer-events: none;
}

.hero-showcase::after {
  width: min(32vw, 320px);
  border-style: solid;
  border-color: rgba(15, 118, 110, 0.18);
}

.showcase-window {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  width: min(500px, 100%);
  aspect-ratio: 16 / 9;
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.034)),
    radial-gradient(circle at 52% 48%, rgba(183, 121, 31, 0.14), transparent 34%),
    rgba(5, 7, 12, 0.54);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(130%);
  overflow: hidden;
}

.showcase-window::before {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(214, 173, 104, 0.2), rgba(214, 173, 104, 0.07) 46%, transparent 70%);
  box-shadow: none;
  transform: translate(-50%, -50%);
  content: "";
}

.showcase-window::after {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: rotate(-13deg);
  content: "";
}

.showcase-bar {
  display: flex;
  gap: 6px;
}

.showcase-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.showcase-orb {
  position: relative;
  inset: auto;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(270px, 58%);
  aspect-ratio: 1;
  grid-row: 2;
  justify-self: center;
  align-self: center;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.28));
  transform: none;
}

.showcase-orb img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
}

.showcase-preview {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(3, 4, 7, 0.56);
}

.showcase-title {
  display: none;
}

.showcase-preview img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.showcase-preview strong,
.showcase-preview p {
  margin: 0;
}

.showcase-preview strong {
  display: block;
  color: var(--white);
  font-size: 14px;
  line-height: 1.2;
}

.showcase-preview p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.showcase-code {
  display: none;
}

.showcase-code span {
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid rgba(214, 173, 104, 0.72);
  border-radius: 999px;
  background: rgba(3, 4, 7, 0.42);
  backdrop-filter: blur(10px) saturate(120%);
}

.showcase-caption {
  display: none;
}

.hero-facts div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 6px 0 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-facts div:last-child dd {
  font-size: 16px;
}

.hero-facts div:nth-child(2) dd {
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  right: 42px;
  bottom: 32px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 84px 42px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 68px;
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.18;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lead-block p,
.contact-layout p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  word-break: keep-all;
}

.lead-block p + p {
  margin-top: 18px;
}

.intro-band {
  background:
    radial-gradient(circle at 24% 30%, rgba(15, 118, 110, 0.18), transparent 26%),
    linear-gradient(180deg, #11151f 0%, #090b11 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.spread {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}

.focus-section {
  background:
    linear-gradient(180deg, #f5f7fa, #ffffff),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 64px);
}

.directory-section {
  background:
    linear-gradient(180deg, #eef2f6, #f8fafc),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.028) 0 1px, transparent 1px 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-brief-section {
  background:
    radial-gradient(circle at 76% 46%, rgba(183, 121, 31, 0.16), transparent 28%),
    linear-gradient(180deg, #090b11 0%, #11151f 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landscape-panel {
  position: relative;
  min-height: 390px;
  padding: clamp(28px, 4vw, 54px);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.115), rgba(255, 255, 255, 0.038)),
    rgba(5, 7, 12, 0.68);
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px) saturate(130%);
  overflow: hidden;
}

.landscape-panel::before,
.landscape-panel::after {
  position: absolute;
  inset: auto auto -44% 54%;
  width: min(620px, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-13deg) scaleY(0.42);
  content: "";
  pointer-events: none;
}

.landscape-panel::after {
  inset: 12% auto auto 80%;
  width: min(440px, 42vw);
  border-color: rgba(183, 121, 31, 0.24);
  transform: translateX(-50%) rotate(18deg) scaleY(0.48);
}

.landscape-panel > * {
  position: relative;
  z-index: 1;
}

.about-panel {
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.brief-panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.landscape-panel .section-kicker {
  color: #caa05b;
}

.landscape-panel h2 {
  color: var(--white);
}

.landscape-panel .lead-block p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 800;
}

.landscape-panel .lead-block p::before {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: #caa05b;
  content: "";
}

.brief-panel .section-heading {
  max-width: none;
  margin-bottom: 0;
}

.brief-panel .section-heading h2 {
  font-size: clamp(30px, 3.3vw, 46px);
}

.home-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-brief-card {
  min-height: 172px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.115);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.034)),
    rgba(255, 255, 255, 0.035);
  box-shadow: none;
  backdrop-filter: blur(10px) saturate(120%);
}

.home-brief-card svg {
  width: 30px;
  height: 30px;
  color: #d6ad68;
}

.home-brief-card h3 {
  margin: 30px 0 0;
  color: var(--white);
  font-size: 22px;
  line-height: 1.2;
}

.home-brief-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.compact-contact-section {
  padding-top: 42px;
  padding-bottom: 42px;
  background: #f5f7fa;
}

.compact-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(10px) saturate(120%);
}

.compact-contact p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  word-break: keep-all;
}

.compact-contact a:not(.text-link) {
  color: var(--ink);
  font-weight: 900;
}

.as-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.directory-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 130px;
  padding: 22px;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(10px) saturate(120%);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.directory-card:hover,
.directory-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.09);
  outline: 0;
}

.directory-card svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
  flex: 0 0 auto;
}

.directory-card strong,
.directory-card small {
  display: block;
}

.directory-card strong {
  font-size: 20px;
  line-height: 1.25;
}

.directory-card small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.subpage-main {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding-top: 76px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 54%, #eef2f6 100%),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.028) 0 1px, transparent 1px 96px);
}

.subpage-main::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.022) 0 1px, transparent 1px 88px);
  pointer-events: none;
}

.subpage-hero {
  padding: 100px 42px 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(15, 17, 23, 0.98), rgba(15, 17, 23, 0.92) 52%, rgba(15, 17, 23, 0.72)),
    url("assets/github-avatar.png") right 12% center / min(210px, 22vw) auto no-repeat;
  overflow: hidden;
}

.subpage-hero-inner {
  padding: 0;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.subpage-hero-inner,
.subpage-content {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.subpage-hero h1 {
  margin: 0;
  font-size: 56px;
  line-height: 1.04;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.subpage-hero p {
  max-width: 740px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.subpage-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  padding: 54px 42px 96px;
}

.subpage-section {
  display: grid;
  gap: 22px;
}

.subpage-section h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 900;
  word-break: keep-all;
}

.subpage-note {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  word-break: keep-all;
}

.members-main {
  min-height: 100svh;
  padding-top: 76px;
  color: var(--ink);
  background: #ffffff;
}

.people-section {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 80px 42px 92px;
}

.people-heading {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.people-heading.compact {
  margin-bottom: 0;
}

.people-heading h1,
.people-heading h2 {
  margin: 0;
  color: #050505;
  font-size: 62px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.people-heading h2 {
  font-size: 44px;
}

.people-subtitle {
  width: min(720px, 100%);
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 800;
  word-break: keep-all;
}

.people-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(980px, 100%);
  margin: 42px auto 0;
}

.people-summary-grid article {
  padding: 18px 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(250, 249, 247, 0.88);
  text-align: left;
}

.people-summary-grid span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.people-summary-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
  font-weight: 900;
}

.people-summary-grid small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  word-break: keep-all;
}

.student-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.professor-intro {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.25fr);
  gap: 58px;
  align-items: center;
  margin-top: 96px;
}

.member-hub-grid,
.project-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 74px;
}

.member-hub-card,
.project-hub-card {
  display: grid;
  min-height: 260px;
  align-content: space-between;
  padding: 28px;
  color: var(--ink);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: #faf9f7;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.member-hub-card:hover,
.member-hub-card:focus-visible,
.project-hub-card:hover,
.project-hub-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.32);
  background: #ffffff;
  outline: 0;
}

.member-hub-card span,
.project-hub-card span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.member-hub-card strong,
.project-hub-card strong {
  display: block;
  margin-top: 52px;
  color: #050505;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.member-hub-card small,
.project-hub-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
}

.member-photo-card {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  background: #faf9f7;
  overflow: hidden;
}

.member-photo-card img {
  width: 62%;
  height: auto;
  display: block;
}

.people-copy h2 {
  margin: 0;
  color: #070707;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 400;
  word-break: keep-all;
}

.people-copy h2 strong {
  font-weight: 900;
}

.people-copy ul {
  display: grid;
  gap: 18px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.people-copy li {
  position: relative;
  padding-left: 28px;
  color: #202329;
  font-size: 22px;
  line-height: 1.45;
  word-break: keep-all;
}

.people-copy li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: currentColor;
  content: "";
}

.officer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.officer-card {
  display: grid;
  gap: 16px;
  align-content: start;
  color: #202329;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease;
}

.officer-card:hover,
.officer-card:focus-visible {
  color: #000000;
  transform: translateY(-3px);
  outline: 0;
}

.officer-card .member-photo-card {
  max-width: 172px;
  margin: 0 auto;
  transition: background 180ms ease, transform 180ms ease;
}

.officer-card:hover .member-photo-card,
.officer-card:focus-visible .member-photo-card {
  background: #f4f1ed;
}

.officer-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 500;
  word-break: keep-all;
}

.officer-card strong span {
  font-weight: 900;
}

.student-intro {
  padding-top: 24px;
  text-align: center;
}

.student-list {
  display: grid;
  width: min(920px, 100%);
  margin: 64px auto 0;
  border-top: 1px solid rgba(17, 24, 39, 0.14);
  text-align: left;
}

.student-list-group {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.student-list-group h2 {
  margin: 0;
  color: #050505;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.student-list-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.student-list-group li {
  color: var(--muted);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.member-detail-main {
  min-height: 100svh;
  padding: 156px 42px 96px;
  background: #ffffff;
}

.member-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 58px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.member-detail h1 {
  margin: 0;
  color: #070707;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  word-break: keep-all;
}

.member-detail h1 strong {
  font-weight: 900;
}

.member-detail-list {
  display: grid;
  gap: 18px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.member-detail-list li {
  position: relative;
  padding-left: 28px;
  color: #202329;
  font-size: 21px;
  line-height: 1.45;
  word-break: keep-all;
}

.member-detail-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: currentColor;
  content: "";
}

.member-detail-list a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  color: var(--ink);
  font-weight: 900;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--blue);
  outline: 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.focus-item {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
}

.focus-number {
  display: block;
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.focus-item h3,
.project-card h3,
.activity-list h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.focus-item p,
.project-card p,
.activity-list p {
  margin: 14px 0 0;
  color: var(--muted);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.project-section {
  background: #ffffff;
}

.project-subheading {
  margin-bottom: 18px;
}

.project-subheading p {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-subheading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-weight: 900;
  white-space: nowrap;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-catalog .project-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 64px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(10px) saturate(120%);
}

.project-card.accent-green {
  border-top-color: var(--green);
}

.project-card.accent-blue {
  border-top-color: var(--blue);
}

.project-card.accent-coral {
  border-top-color: var(--coral);
}

.project-card.accent-gold {
  border-top-color: #d29b40;
}

.project-card.muted-card {
  border-top-color: #6b6e73;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.project-topline strong {
  color: var(--ink);
}

.project-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.repo-list {
  display: grid;
  width: min(980px, 100%);
  margin: 56px auto 0;
  border-top: 1px solid rgba(17, 24, 39, 0.14);
}

.repo-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 16px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  transition: background 180ms ease;
}

.repo-row:hover {
  background: #fafafa;
}

.repo-meta span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.repo-meta strong {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  word-break: keep-all;
}

.repo-main h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 900;
  word-break: break-word;
}

.repo-main p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.repo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.repo-link svg {
  width: 16px;
  height: 16px;
}

.activity-list {
  border-top: 1px solid var(--line);
}

.activity-page {
  width: min(980px, 100%);
}

.activity-page .activity-list {
  margin-top: 0;
}

.activity-block {
  margin-top: 58px;
}

.activity-block h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.activity-block .plan-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.activity-list article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.activity-list time {
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}

.channels-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 17, 23, 0.98), rgba(23, 27, 36, 0.98)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 80px);
}

.channels-section .section-kicker {
  color: #93c5fd;
}

.channels-section h2 {
  color: var(--white);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.channels-page .channel-grid {
  margin-top: 64px;
}

.board-channels {
  margin-top: 12px;
}

.board-channels .channel-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 6px;
}

.board-channels .primary-channel {
  grid-column: auto;
}

.board-channels .channel-link {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-height: 150px;
  padding: 18px 14px;
  text-align: center;
}

.board-channels .channel-link img {
  width: 64px;
  height: 48px;
}

.board-channels .channel-icon {
  width: 58px;
  height: 58px;
}

.channels-page .channel-link {
  color: var(--white);
  background: rgba(15, 17, 23, 0.94);
  border-color: rgba(15, 17, 23, 0.14);
}

.channels-page .channel-link:hover,
.channels-page .channel-link:focus-visible {
  background: rgba(23, 27, 36, 0.98);
  border-color: rgba(37, 99, 235, 0.28);
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
  backdrop-filter: blur(10px) saturate(120%);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.channel-link:hover,
.channel-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
  outline: 0;
}

.channel-link svg {
  width: 30px;
  height: 30px;
  color: #93c5fd;
}

.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
}

.channel-icon svg {
  width: 32px;
  height: 32px;
  color: currentColor;
}

.channel-icon-github {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.channel-icon-youtube {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.12);
}

.channel-icon-instagram {
  color: #f472b6;
  background: rgba(244, 114, 182, 0.14);
}

.channel-link img {
  width: 92px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.channel-link strong,
.channel-link small {
  display: block;
}

.channel-link strong {
  font-size: 18px;
}

.channel-link small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.primary-channel {
  grid-column: span 2;
}

.contact-section {
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  align-items: center;
}

.contact-layout p {
  max-width: 680px;
  margin-top: 22px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(10px) saturate(120%);
  font-style: normal;
}

.contact-panel a,
.contact-panel span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  word-break: break-word;
}

.contact-panel a:last-child,
.contact-panel span:last-child {
  border-bottom: 0;
}

.contact-panel svg {
  color: var(--green);
}

.plan-list p,
.research-stack p,
.empty-panel p,
.board-callout p {
  margin: 8px 0 0;
  color: var(--muted);
  word-break: keep-all;
}

.plan-list span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.plan-list {
  display: grid;
  gap: 12px;
}

.plan-list article,
.research-stack article {
  padding: 20px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(10px) saturate(120%);
}

.plan-list h4,
.research-stack h4 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

.timeline-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 22px;
  list-style: none;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(10px) saturate(120%);
}

.timeline-list li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-list time {
  color: var(--gold);
  font-weight: 900;
}

.timeline-list span {
  color: var(--ink);
  font-weight: 700;
}

.research-stack {
  display: grid;
  gap: 12px;
}

.research-stack svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.empty-panel,
.board-callout {
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  backdrop-filter: blur(10px) saturate(120%);
}

.empty-panel svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.empty-panel a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
}

.board-callout p {
  margin-top: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.board-callout dl {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
}

.board-callout div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.board-callout dt {
  color: var(--gold);
  font-weight: 900;
}

.board-callout dd {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  word-break: break-word;
}

.site-footer {
  padding: 44px 42px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--night);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 8px;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.footer-contact {
  display: grid;
  gap: 6px;
  min-width: min(100%, 260px);
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  line-height: 1.35;
}

.footer-contact span {
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  word-break: break-word;
}

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

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

.copyright {
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}

.auth-main {
  min-height: 100svh;
  padding: 152px 42px 92px;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 173, 104, 0.2), transparent 34%),
    radial-gradient(circle at 86% 28%, rgba(29, 132, 126, 0.14), transparent 36%),
    linear-gradient(180deg, #fbfaf7 0%, #f1f5f7 100%);
}

.auth-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
  width: min(1020px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(18px) saturate(130%);
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.96;
  font-weight: 900;
}

.auth-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.auth-copy li::before {
  margin-right: 10px;
  color: var(--gold);
  content: "•";
}

.auth-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: rgba(17, 24, 39, 0.64);
  font-size: 13px;
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-weight: 800;
}

.auth-form input:focus {
  border-color: rgba(201, 149, 69, 0.76);
  outline: 3px solid rgba(201, 149, 69, 0.18);
}

.auth-form button {
  width: 100%;
}

.auth-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.auth-status[data-status="error"] {
  color: #b42318;
}

.auth-status[data-status="success"] {
  color: #087443;
}

@media (min-width: 981px) {
  .menu-toggle {
    display: none;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .site-header {
    padding: 0 30px;
  }

  .hero {
    min-height: 720px;
    padding: 96px 30px 48px;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1fr);
    gap: 34px;
    min-height: 600px;
    padding: 30px;
  }

  .hero-copy-panel {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(38px, 4.8vw, 54px);
  }

  .hero-copy {
    max-width: 480px;
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-facts div {
    padding: 15px;
  }

  .showcase-window,
  .showcase-caption {
    width: min(430px, 100%);
  }

  .showcase-preview {
    max-width: 66%;
  }

  .showcase-title {
    font-size: 11px;
  }

  .about-panel,
  .brief-panel {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .brief-panel .home-brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    justify-content: flex-start;
    padding: 0 22px;
  }

  .brand {
    max-width: calc(100% - 66px);
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: flex;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(12, 14, 20, 0.88);
    box-shadow: none;
    backdrop-filter: blur(14px) saturate(130%);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav > a,
  .site-nav button {
    justify-content: center;
    width: auto;
    min-height: 36px;
    flex: 0 0 auto;
  }

  .nav-dropdown {
    flex: 0 0 auto;
  }

  .nav-dropdown-menu {
    position: fixed;
    top: 126px;
    left: 18px;
    right: auto;
    min-width: min(220px, calc(100vw - 36px));
  }

  .hero {
    min-height: auto;
    height: auto;
    max-height: none;
    padding: 154px 24px 72px;
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: auto;
    gap: 28px;
    padding: 28px;
  }

  .hero-stage::before,
  .hero-stage::after {
    inset: auto -18% 17% auto;
    width: min(72vw, 520px);
  }

  .hero-copy-panel {
    padding: 0;
  }

  .hero-showcase {
    width: 100%;
    justify-items: start;
  }

  .hero-showcase::before,
  .hero-showcase::after {
    left: 44%;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 17px;
    max-width: 100%;
  }

  .hero-facts,
  .home-brief-grid,
  .focus-grid,
  .directory-grid,
  .project-grid,
  .channel-grid,
  .two-column,
  .contact-layout,
  .professor-intro,
  .member-detail,
  .subpage-content {
    grid-template-columns: 1fr;
  }

  .members-main {
    padding-top: 126px;
  }

  .people-section {
    padding-right: 32px;
    padding-left: 32px;
  }

  .professor-intro {
    gap: 34px;
    margin-top: 62px;
  }

  .officer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 22px;
    margin-top: 48px;
  }

  .people-summary-grid,
  .student-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .member-hub-grid,
  .project-hub-grid {
    grid-template-columns: 1fr;
  }

  .member-detail-main {
    padding-top: 176px;
  }

  .hero-facts {
    width: 100%;
  }

  .landscape-panel,
  .about-panel,
  .brief-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landscape-panel::before {
    width: 86vw;
  }

  .landscape-panel::after {
    left: 86%;
    width: 54vw;
  }

  .brief-panel .home-brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-item {
    min-height: auto;
  }

  .home-brief-card {
    min-height: auto;
  }

  .compact-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-grid {
    gap: 14px;
  }

  .repo-row {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .primary-channel {
    grid-column: auto;
  }

  .contact-layout {
    gap: 32px;
  }

  .section-heading.spread {
    align-items: start;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .copyright {
    text-align: left;
  }
}

@media (min-width: 641px) and (max-width: 980px) and (orientation: portrait) {
  .hero {
    padding: 154px 32px 72px;
  }

  .hero-content {
    width: min(720px, 100%);
    max-width: min(720px, calc(100vw - 64px));
  }

  .hero-copy-panel {
    padding: 0;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(40px, 7vw, 54px);
  }

  .hero-actions {
    display: flex;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-showcase {
    justify-items: center;
  }

  .showcase-window,
  .showcase-caption {
    width: min(640px, 100%);
  }

  .showcase-window {
    aspect-ratio: 16 / 8.8;
  }

  .showcase-window::before {
    width: 48%;
  }

  .showcase-orb {
    width: 42%;
  }

  .showcase-preview {
    max-width: 64%;
  }

  .showcase-title {
    max-width: 42%;
  }

  .landscape-panel {
    padding: 38px;
  }

  .brief-panel .home-brief-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 980px) and (orientation: landscape) {
  .site-header {
    height: 64px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 64px;
    padding: 7px 18px;
  }

  .nav-dropdown-menu {
    top: 112px;
  }

  .hero {
    padding: 122px 24px 42px;
  }

  .hero-content {
    max-width: calc(100vw - 48px);
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: 22px;
    align-items: center;
    padding: 22px;
  }

  .hero-copy-panel {
    padding: 0;
  }

  .hero-tags {
    margin-bottom: 14px;
  }

  .hero-tags span {
    padding: 5px 9px;
    font-size: 10px;
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(34px, 4.8vw, 42px);
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 20px;
  }

  .button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
  }

  .hero-facts div {
    padding: 12px;
  }

  .hero-facts dd,
  .hero-facts div:last-child dd {
    font-size: 13px;
  }

  .showcase-window,
  .showcase-caption {
    width: min(360px, 100%);
  }

  .showcase-window {
    aspect-ratio: 16 / 10;
    padding: 14px;
  }

  .showcase-window::before {
    width: 58%;
  }

  .showcase-orb {
    width: 50%;
  }

  .showcase-preview {
    max-width: 88%;
    padding: 10px;
  }

  .showcase-title {
    justify-self: start;
    max-width: 88%;
    text-align: left;
  }

  .showcase-preview img {
    width: 34px;
    height: 34px;
  }

  .showcase-preview strong {
    font-size: 12px;
  }

  .showcase-preview p,
  .showcase-caption {
    font-size: 11px;
  }

  .section {
    padding: 64px 24px;
  }
}

@media (max-width: 980px) and (orientation: landscape) and (max-height: 520px) {
  .site-header {
    height: 58px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 16px;
  }

  .site-nav {
    top: 58px;
    padding: 6px 18px;
  }

  .site-nav > a,
  .site-nav button {
    min-height: 34px;
    font-size: 13px;
  }

  .nav-dropdown-menu {
    top: 104px;
  }

  .hero {
    padding: 110px 20px 30px;
  }

  .hero-content {
    max-width: calc(100vw - 40px);
  }

  .hero-stage {
    grid-template-columns: minmax(0, 0.92fr) minmax(240px, 0.78fr);
    gap: 18px;
    padding: 16px;
  }

  .hero-copy-panel {
    padding: 0;
  }

  .hero-tags {
    gap: 6px;
    margin-bottom: 12px;
  }

  .hero-tags span {
    padding: 4px 8px;
    font-size: 9px;
  }

  .hero-tags span:nth-child(3) {
    display: none;
  }

  .hero .eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: clamp(28px, 4.4vw, 34px);
    line-height: 0.98;
  }

  .hero-copy {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-actions {
    gap: 7px;
    margin-top: 14px;
  }

  .button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 11px;
  }

  .button svg {
    width: 15px;
    height: 15px;
  }

  .hero-facts {
    display: none;
  }

  .showcase-window,
  .showcase-caption {
    width: min(310px, 100%);
  }

  .showcase-window {
    aspect-ratio: 16 / 9;
    padding: 11px;
  }

  .showcase-window::before {
    width: 56%;
  }

  .showcase-orb {
    width: 48%;
  }

  .showcase-preview {
    gap: 8px;
    max-width: 86%;
    padding: 8px;
  }

  .showcase-title {
    display: none;
  }

  .showcase-preview img {
    width: 30px;
    height: 30px;
  }

  .showcase-preview strong {
    font-size: 11px;
  }

  .showcase-preview p {
    font-size: 10px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 148px 20px 58px;
  }

  .hero-content {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .hero-stage,
  .hero-copy-panel,
  .hero-showcase,
  .showcase-window {
    width: 100%;
    max-width: 100%;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 16px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(30px, 8vw, 34px);
    line-height: 1.05;
    overflow-wrap: normal;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-copy-panel {
    width: 100%;
    padding: 0;
  }

  .hero-tags {
    gap: 7px;
  }

  .hero-tags span {
    max-width: 100%;
    font-size: 11px;
    white-space: normal;
  }

  .hero-tags span:nth-child(3) {
    display: none;
  }

  .showcase-window {
    aspect-ratio: auto;
    min-height: 250px;
    padding: 14px;
  }

  .showcase-window::before {
    width: 62%;
  }

  .showcase-orb {
    width: 54%;
  }

  .showcase-preview {
    max-width: 100%;
    padding: 10px;
  }

  .showcase-preview img {
    width: 36px;
    height: 36px;
  }

  .showcase-preview strong {
    font-size: 12px;
  }

  .showcase-preview p {
    font-size: 11px;
  }

  .showcase-title {
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .hero-actions {
    display: grid;
    max-width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 26px;
  }

  .hero-facts div {
    padding: 14px;
  }

  .hero-facts dd {
    font-size: 16px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 58px 20px;
  }

  .landscape-panel {
    padding: 22px;
  }

  .brief-panel .home-brief-grid {
    grid-template-columns: 1fr;
  }

  .landscape-panel .lead-block p {
    font-size: 16px;
  }

  .subpage-hero {
    padding: 130px 24px 54px;
    background:
      linear-gradient(180deg, rgba(15, 17, 23, 0.98), rgba(15, 17, 23, 0.9) 62%, rgba(15, 17, 23, 0.98)),
      url("assets/github-avatar.png") right -52px top 104px / 170px auto no-repeat;
  }

  .subpage-hero-inner {
    width: 100%;
    max-width: calc(100vw - 48px);
    padding: 0;
  }

  .subpage-hero h1 {
    font-size: 29px;
    line-height: 1.15;
    word-break: normal;
  }

  .subpage-hero p {
    font-size: 15px;
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .subpage-content {
    padding: 42px 24px 72px;
  }

  .people-section {
    padding: 54px 24px 68px;
  }

  .people-heading h1 {
    font-size: 44px;
  }

  .project-catalog .people-heading h1 {
    font-size: 36px;
    line-height: 1.15;
    word-break: keep-all;
  }

  .people-heading h2 {
    font-size: 34px;
  }

  .people-subtitle {
    font-size: 15px;
  }

  .people-summary-grid,
  .student-summary-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .student-list {
    margin-top: 46px;
  }

  .student-list-group {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .student-list-group h2 {
    font-size: 21px;
  }

  .people-copy h2,
  .member-detail h1 {
    font-size: 29px;
  }

  .people-copy ul,
  .member-detail-list {
    gap: 14px;
    margin-top: 30px;
  }

  .people-copy li,
  .member-detail-list li {
    font-size: 17px;
  }

  .officer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
    margin-top: 40px;
  }

  .officer-card {
    gap: 14px;
  }

  .officer-card .member-photo-card {
    max-width: 148px;
    margin: 0 auto;
  }

  .officer-card strong {
    font-size: 17px;
  }

  .member-detail-main {
    padding: 152px 24px 72px;
  }

  .member-detail {
    gap: 30px;
  }

  .subpage-section h2 {
    font-size: 28px;
  }

  .section h2 {
    font-size: 29px;
  }

  .lead-block p,
  .contact-layout p {
    font-size: 16px;
  }

  .activity-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .repo-list {
    margin-top: 38px;
  }

  .repo-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .repo-main h3 {
    font-size: 21px;
  }

  .repo-link {
    justify-self: start;
  }

  .activity-block .plan-list {
    grid-template-columns: 1fr;
  }

  .channel-link {
    min-height: 96px;
  }

  .channel-icon {
    width: 50px;
    height: 50px;
  }

  .channel-icon svg {
    width: 28px;
    height: 28px;
  }

  .channel-link img {
    width: 72px;
    height: 52px;
  }

  .contact-panel {
    padding: 18px;
  }

  .member-row,
  .timeline-list li,
  .board-callout div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 36px 24px;
  }
}

/* Final hero direction: static, polished, brand-first. */
.hero {
  background:
    radial-gradient(circle at 24% 42%, rgba(214, 173, 104, 0.16), transparent 30%),
    radial-gradient(circle at 82% 48%, rgba(15, 118, 110, 0.15), transparent 34%),
    linear-gradient(180deg, #05060a 0%, #0b0e14 58%, #11151f 100%);
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 116px 116px;
  opacity: 0.48;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.92), rgba(5, 6, 10, 0.58) 54%, rgba(5, 6, 10, 0.86));
}

.hero-stage {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.82fr);
  gap: clamp(32px, 4vw, 68px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.024)),
    rgba(8, 10, 15, 0.74);
}

.hero-stage::before,
.hero-stage::after,
.hero-showcase::before,
.hero-showcase::after {
  display: none;
}

.hero-tags {
  display: flex;
  margin-bottom: 22px;
}

.hero-tags span {
  border-color: rgba(214, 173, 104, 0.22);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.045);
  font-size: 12px;
}

.hero .eyebrow {
  color: #d6ad68;
}

.hero h1 {
  font-family: "Inter", "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: clamp(38px, 3.8vw, 56px);
  font-weight: 900;
  line-height: 1.03;
}

.hero-copy {
  max-width: 540px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.25vw, 18px);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.48);
}

.hero-facts dd {
  font-size: 18px;
}

.hero-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-window {
  position: relative;
  display: grid;
  place-items: center;
  width: min(420px, 100%);
  aspect-ratio: 1;
  padding: clamp(30px, 3.8vw, 48px);
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.024)),
    rgba(255, 255, 255, 0.026);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.11),
    0 28px 74px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px) saturate(130%);
  overflow: hidden;
}

.showcase-window::before {
  position: absolute;
  inset: 28px;
  display: block;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(214, 173, 104, 0.18), transparent 46%),
    linear-gradient(315deg, rgba(15, 118, 110, 0.15), transparent 48%);
  content: "";
}

.showcase-window::after {
  position: absolute;
  inset: 18% -18% auto auto;
  display: block;
  width: 72%;
  height: 42%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(-18deg);
  content: "";
}

.showcase-bar,
.showcase-preview,
.showcase-title,
.showcase-code {
  display: none;
}

.showcase-orb {
  position: relative;
  z-index: 2;
  display: block;
  width: min(330px, 84%);
  aspect-ratio: 1;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.28));
}

.showcase-orb img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .hero-stage {
    grid-template-columns: 1fr;
  }

  .showcase-window {
    justify-self: stretch;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
  }

  .showcase-orb {
    width: min(300px, 72%);
  }
}

@media (max-width: 640px) {
  .hero-stage {
    padding: 24px 20px;
  }

  .hero-tags {
    display: flex;
  }

  .hero-tags span:nth-child(3) {
    display: inline-flex;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 34px);
  }

  .showcase-window {
    aspect-ratio: 1 / 0.82;
    padding: 24px;
  }

  .showcase-orb {
    width: min(260px, 82%);
  }
}

/* Sun-aware home palette. Defaults to a bright daytime view before JS runs. */
body {
  --home-bg-top: #f8f3ea;
  --home-bg-mid: #dcecf2;
  --home-bg-bottom: #fff1d9;
  --home-radial-a: rgba(214, 173, 104, 0.34);
  --home-radial-b: rgba(29, 132, 126, 0.18);
  --home-panel: rgba(255, 255, 255, 0.66);
  --home-panel-soft: rgba(255, 255, 255, 0.38);
  --home-panel-border: rgba(20, 24, 34, 0.14);
  --home-card: rgba(255, 255, 255, 0.34);
  --home-card-border: rgba(20, 24, 34, 0.11);
  --home-ring: rgba(166, 103, 30, 0.22);
  --home-text: #151925;
  --home-muted: rgba(21, 25, 37, 0.72);
  --home-subtle: rgba(21, 25, 37, 0.52);
  --home-accent: #a6671e;
  --home-shadow: rgba(18, 22, 32, 0.16);
}

body[data-sun-theme="dawn"] {
  --home-bg-top: #fff4db;
  --home-bg-mid: #ffd2b7;
  --home-bg-bottom: #e7efff;
  --home-radial-a: rgba(235, 160, 74, 0.42);
  --home-radial-b: rgba(90, 155, 188, 0.2);
  --home-panel: rgba(255, 255, 255, 0.6);
  --home-panel-soft: rgba(255, 255, 255, 0.34);
  --home-card: rgba(255, 255, 255, 0.32);
  --home-accent: #a95e24;
  --home-ring: rgba(169, 94, 36, 0.24);
}

body[data-sun-theme="day"] {
  --home-bg-top: #f8f3ea;
  --home-bg-mid: #dcecf2;
  --home-bg-bottom: #fff1d9;
}

body[data-sun-theme="dusk"] {
  --home-bg-top: #ffe5bd;
  --home-bg-mid: #e49b79;
  --home-bg-bottom: #44334d;
  --home-radial-a: rgba(255, 189, 105, 0.5);
  --home-radial-b: rgba(106, 88, 147, 0.26);
  --home-panel: rgba(255, 255, 255, 0.54);
  --home-panel-soft: rgba(255, 255, 255, 0.22);
  --home-card: rgba(255, 255, 255, 0.18);
  --home-text: #171522;
  --home-muted: rgba(23, 21, 34, 0.72);
  --home-subtle: rgba(23, 21, 34, 0.5);
  --home-accent: #914f25;
  --home-ring: rgba(145, 79, 37, 0.28);
  --home-shadow: rgba(64, 38, 50, 0.2);
}

body[data-sun-theme="night"] {
  --home-bg-top: #111827;
  --home-bg-mid: #1c2333;
  --home-bg-bottom: #251d2d;
  --home-radial-a: rgba(214, 173, 104, 0.22);
  --home-radial-b: rgba(29, 132, 126, 0.16);
  --home-panel: rgba(20, 24, 33, 0.72);
  --home-panel-soft: rgba(255, 255, 255, 0.055);
  --home-panel-border: rgba(255, 255, 255, 0.13);
  --home-card: rgba(255, 255, 255, 0.07);
  --home-card-border: rgba(255, 255, 255, 0.12);
  --home-text: #f8f4ed;
  --home-muted: rgba(255, 255, 255, 0.74);
  --home-subtle: rgba(255, 255, 255, 0.5);
  --home-accent: #d6ad68;
  --home-ring: rgba(214, 173, 104, 0.24);
  --home-shadow: rgba(0, 0, 0, 0.34);
}

.hero {
  --hero-bg-top: #f8f3ea;
  --hero-bg-mid: #dcecf2;
  --hero-bg-bottom: #fff1d9;
  --hero-radial-a: rgba(214, 173, 104, 0.34);
  --hero-radial-b: rgba(29, 132, 126, 0.18);
  --hero-grid: rgba(21, 26, 38, 0.07);
  --hero-panel: rgba(255, 255, 255, 0.66);
  --hero-panel-soft: rgba(255, 255, 255, 0.38);
  --hero-panel-border: rgba(20, 24, 34, 0.14);
  --hero-logo-panel: rgba(255, 255, 255, 0.58);
  --hero-logo-glow: rgba(214, 173, 104, 0.22);
  --hero-text: #151925;
  --hero-muted: rgba(21, 25, 37, 0.72);
  --hero-subtle: rgba(21, 25, 37, 0.52);
  --hero-chip: rgba(255, 255, 255, 0.58);
  --hero-chip-border: rgba(21, 25, 37, 0.14);
  --hero-accent: #a6671e;
  --hero-primary: #c99545;
  --hero-primary-text: #161514;
  --hero-glass-button: rgba(255, 255, 255, 0.48);
  --hero-scrim-a: rgba(255, 250, 240, 0.68);
  --hero-scrim-b: rgba(255, 250, 240, 0.18);
  color: var(--hero-text);
  background:
    radial-gradient(circle at 18% 30%, var(--home-radial-a), transparent 32%),
    radial-gradient(circle at 84% 46%, var(--home-radial-b), transparent 34%),
    linear-gradient(180deg, var(--home-bg-top) 0%, var(--home-bg-mid) 54%, var(--home-bg-bottom) 100%);
}

body.home-page main {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, var(--home-radial-a), transparent 30%),
    radial-gradient(circle at 82% 34%, var(--home-radial-b), transparent 34%),
    radial-gradient(circle at 28% 78%, var(--home-radial-b), transparent 32%),
    linear-gradient(180deg, var(--home-bg-top) 0%, var(--home-bg-mid) 42%, var(--home-bg-bottom) 100%);
  background-size: 112px 112px, 112px 112px, auto, auto, auto, auto;
  overflow: hidden;
}

body.home-page .hero {
  background: transparent;
}

body.home-page .intro-band,
body.home-page .home-brief-section {
  background: transparent;
  border-color: transparent;
}

body.home-page .hero-scrim {
  background:
    linear-gradient(90deg, var(--hero-scrim-a), var(--hero-scrim-b) 55%, var(--hero-scrim-a)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 54%, transparent 100%);
}

body.home-page .hero-media,
body.home-page .hero-scrim {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

body[data-sun-theme="dawn"] .hero {
  --hero-bg-top: #fff4db;
  --hero-bg-mid: #ffd2b7;
  --hero-bg-bottom: #e7efff;
  --hero-radial-a: rgba(235, 160, 74, 0.42);
  --hero-radial-b: rgba(90, 155, 188, 0.2);
  --hero-panel: rgba(255, 255, 255, 0.6);
  --hero-logo-glow: rgba(236, 144, 70, 0.26);
  --hero-accent: #a95e24;
  --hero-primary: #e4a95c;
  --hero-scrim-a: rgba(255, 244, 224, 0.58);
}

body[data-sun-theme="day"] .hero {
  --hero-bg-top: #f8f3ea;
  --hero-bg-mid: #dcecf2;
  --hero-bg-bottom: #fff1d9;
}

body[data-sun-theme="dusk"] .hero {
  --hero-bg-top: #ffe5bd;
  --hero-bg-mid: #e49b79;
  --hero-bg-bottom: #44334d;
  --hero-radial-a: rgba(255, 189, 105, 0.5);
  --hero-radial-b: rgba(106, 88, 147, 0.26);
  --hero-panel: rgba(255, 255, 255, 0.56);
  --hero-logo-glow: rgba(255, 177, 94, 0.3);
  --hero-accent: #914f25;
  --hero-primary: #e2a45a;
  --hero-scrim-a: rgba(255, 238, 212, 0.42);
  --hero-scrim-b: rgba(68, 51, 77, 0.2);
}

body[data-sun-theme="night"] .hero {
  --hero-bg-top: #111827;
  --hero-bg-mid: #1c2333;
  --hero-bg-bottom: #251d2d;
  --hero-radial-a: rgba(214, 173, 104, 0.22);
  --hero-radial-b: rgba(29, 132, 126, 0.16);
  --hero-grid: rgba(255, 255, 255, 0.045);
  --hero-panel: rgba(20, 24, 33, 0.72);
  --hero-panel-soft: rgba(255, 255, 255, 0.055);
  --hero-panel-border: rgba(255, 255, 255, 0.13);
  --hero-logo-panel: rgba(255, 255, 255, 0.06);
  --hero-logo-glow: rgba(214, 173, 104, 0.16);
  --hero-text: #f8f4ed;
  --hero-muted: rgba(255, 255, 255, 0.74);
  --hero-subtle: rgba(255, 255, 255, 0.5);
  --hero-chip: rgba(255, 255, 255, 0.07);
  --hero-chip-border: rgba(255, 255, 255, 0.15);
  --hero-accent: #d6ad68;
  --hero-primary: #d6ad68;
  --hero-primary-text: #11151f;
  --hero-glass-button: rgba(255, 255, 255, 0.07);
  --hero-scrim-a: rgba(5, 6, 10, 0.44);
  --hero-scrim-b: rgba(5, 6, 10, 0.22);
}

.hero-media {
  background:
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px),
    linear-gradient(0deg, var(--hero-grid) 1px, transparent 1px),
    radial-gradient(circle at 16% 24%, var(--hero-subtle) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 18%, var(--hero-subtle) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 74%, var(--hero-subtle) 0 1px, transparent 2px);
  background-size: 112px 112px, 112px 112px, 230px 230px, 280px 280px, 320px 320px;
  opacity: 0.58;
}

.hero-scrim {
  background:
    linear-gradient(90deg, var(--hero-scrim-a), var(--hero-scrim-b) 55%, var(--hero-scrim-a)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%, rgba(0, 0, 0, 0.08));
}

.hero-stage {
  border-color: var(--hero-panel-border);
  background:
    linear-gradient(140deg, var(--hero-panel), var(--hero-panel-soft)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(18, 22, 32, 0.18);
}

.hero-tags span {
  color: var(--hero-muted);
  border-color: var(--hero-chip-border);
  background: var(--hero-chip);
}

.hero .eyebrow {
  color: var(--hero-accent);
}

.hero h1 {
  color: var(--hero-text);
}

.hero-copy {
  color: var(--hero-muted);
}

.hero .button.primary {
  color: var(--hero-primary-text);
  background: var(--hero-primary);
}

.hero .button.ghost {
  color: var(--hero-text);
  border-color: var(--hero-panel-border);
  background: var(--hero-glass-button);
}

.hero-facts {
  border-color: var(--hero-panel-border);
  background: var(--hero-panel-soft);
}

.hero-facts div {
  background: rgba(255, 255, 255, 0.11);
}

.hero-facts dt {
  color: var(--hero-subtle);
}

.hero-facts dd {
  color: var(--hero-text);
}

.showcase-window {
  background:
    linear-gradient(145deg, var(--hero-logo-panel), var(--hero-panel-soft)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 0 0 1px var(--hero-panel-border),
    0 28px 74px rgba(18, 22, 32, 0.18);
}

.showcase-window::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.36), transparent 52%),
    linear-gradient(135deg, var(--hero-logo-glow), transparent 52%),
    linear-gradient(315deg, var(--hero-radial-b), transparent 56%);
}

.showcase-window::after {
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.scroll-cue {
  color: var(--hero-muted);
}

.intro-band,
.home-brief-section {
  color: var(--home-text);
  background:
    radial-gradient(circle at 18% 26%, var(--home-radial-a), transparent 30%),
    radial-gradient(circle at 82% 52%, var(--home-radial-b), transparent 34%),
    linear-gradient(180deg, var(--home-bg-top) 0%, var(--home-bg-mid) 56%, var(--home-bg-bottom) 100%);
  border-color: var(--home-panel-border);
}

.home-brief-section {
  background:
    radial-gradient(circle at 78% 32%, var(--home-radial-a), transparent 30%),
    radial-gradient(circle at 18% 58%, var(--home-radial-b), transparent 34%),
    linear-gradient(180deg, var(--home-bg-bottom) 0%, var(--home-bg-mid) 52%, var(--home-bg-top) 100%);
}

.intro-band .landscape-panel,
.home-brief-section .landscape-panel {
  color: var(--home-text);
  border-color: var(--home-panel-border);
  background:
    linear-gradient(140deg, var(--home-panel), var(--home-panel-soft)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 86px var(--home-shadow);

}

.intro-band .landscape-panel::before,
.home-brief-section .landscape-panel::before {
  border-color: var(--home-card-border);
}

.intro-band .landscape-panel::after,
.home-brief-section .landscape-panel::after {
  border-color: var(--home-ring);
}

.intro-band .section-kicker,
.home-brief-section .section-kicker,
.landscape-panel .section-kicker {
  color: var(--home-accent);
}

.intro-band h2,
.home-brief-section h2,
.landscape-panel h2,
.home-brief-card h3 {
  color: var(--home-text);
}

.landscape-panel .lead-block p,
.home-brief-card p {
  color: var(--home-muted);
}

.landscape-panel .lead-block p::before {
  background: var(--home-accent);
}

.home-brief-card svg {
  color: var(--home-accent);
}

.home-brief-card {
  border-color: var(--home-card-border);
  background:
    linear-gradient(145deg, var(--home-card), var(--home-panel-soft)),
    rgba(255, 255, 255, 0.06);
}

@media (max-width: 760px) {
  .auth-main {
    padding: 132px 20px 72px;
  }

  .auth-panel {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .auth-copy h1 {
    font-size: 42px;
  }

  .auth-copy ul {
    font-size: 16px;
  }

  .auth-form {
    padding: 20px;
  }
}

.site-header,
.site-nav,
.nav-dropdown {
  overflow: visible;
}

.nav-dropdown-menu {
  z-index: 9999;
}

@media (max-width: 980px) {
  .site-header {
    overflow: visible;
  }

  .site-nav {
    overflow: visible;
    flex-wrap: wrap;
    z-index: 9998;
  }

  .nav-dropdown {
    position: static;
  }

  .nav-dropdown-menu {
    position: fixed;
    top: 126px;
    left: 18px;
    right: 18px;
    width: auto;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    z-index: 9999;
  }
}

@media (min-width: 641px) and (max-width: 980px) and (orientation: landscape) {
  .nav-dropdown-menu {
    top: 112px;
  }
}

@media (max-width: 980px) and (orientation: landscape) and (max-height: 520px) {
  .nav-dropdown-menu {
    top: 104px;
  }
}
