:root {
  --bg: #161311;
  --bg-deep: #1d1916;
  --panel: rgba(28, 24, 21, 0.78);
  --ink: #f3ede7;
  --muted: #b2a89d;
  --line: #342c26;
  --line-strong: #4a4038;
  --accent: #c39a79;
  --accent-deep: #eadbce;
  --ok: #9ecab3;
  --warn: #d0a177;
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.14);
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  font-family: var(--sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, rgba(195, 154, 121, 0.055), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(158, 202, 179, 0.035), transparent 22%);
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 219, 206, 0.18);
  transition: border-color 180ms ease, color 180ms ease;
}

a:hover { border-bottom-color: rgba(234, 219, 206, 0.55); }

.page-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  backdrop-filter: blur(16px);
  background: rgba(22, 19, 17, 0.86);
  border-bottom: 1px solid rgba(74, 64, 56, 0.72);
}

.mark {
  display: inline-flex;
  align-items: center;
  border-bottom: 0;
}

.mark img {
  width: 36px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  border-bottom: 0;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.48fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: end;
  padding: clamp(80px, 12vw, 150px) 0 clamp(42px, 7vw, 82px);
  border-bottom: 1px solid rgba(74, 64, 56, 0.72);
}

.intro-copy {
  display: grid;
}

.intro-panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid rgba(74, 64, 56, 0.74);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.036), rgba(255,255,255,0.006)),
    rgba(28, 24, 21, 0.7);
  box-shadow: var(--shadow-soft);
}

.intro-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-panel li {
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(74, 64, 56, 0.68);
}

.intro-panel li:first-child {
  padding-top: 0;
  border-top: 0;
}

.intro-panel strong {
  color: var(--ink);
  font-weight: 500;
}

.intro-panel span {
  color: var(--muted);
  line-height: 1.58;
}

.eyebrow,
.section-eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.section {
  padding: clamp(44px, 7vw, 76px) 0;
  border-bottom: 1px solid rgba(74, 64, 56, 0.5);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  margin-bottom: 26px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.info-card {
  min-height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid rgba(74, 64, 56, 0.72);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.012em;
}

.info-card p,
.info-card li {
  color: var(--muted);
  line-height: 1.68;
}

.info-card p:last-child,
.info-card ul:last-child {
  margin-bottom: 0;
}

.clean-list {
  margin: 0;
  padding-left: 18px;
}

.notice-band {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(195, 154, 121, 0.3);
  border-radius: 18px;
  background: rgba(48, 35, 25, 0.34);
}

.notice-band strong {
  color: var(--accent-deep);
  font-weight: 500;
}

.notice-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: clamp(58px, 7vw, 86px) 24px 58px;
  color: var(--muted);
}

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

.be-footer-top.be-footer-institutional-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: flex-start;
}

.be-footer-brand {
  display: grid;
  gap: 14px;
}

.be-footer-brand strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.be-footer-brand span {
  max-width: 460px;
  line-height: 1.72;
}

.be-footer-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px);
}

.be-footer-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.be-footer-column-title {
  margin: 0 0 2px;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.be-footer-column a {
  display: grid;
  gap: 5px;
  padding: 13px 0 15px;
  border-top: 1px solid rgba(74, 64, 56, 0.68);
  border-bottom: 0;
  line-height: 1.35;
}

.be-footer-column a:hover {
  border-top-color: rgba(195, 154, 121, 0.5);
}

.be-footer-column a span {
  color: var(--ink);
  font-size: 0.94rem;
}

.be-footer-column a small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.be-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(34px, 5vw, 54px);
  padding-top: 20px;
  border-top: 1px solid rgba(74, 64, 56, 0.6);
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .section-header,
  .page-intro,
  .notice-band {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .be-footer-top.be-footer-institutional-top {
    grid-template-columns: 1fr;
  }

  .be-footer-directory {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
  }

  .be-footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .nav-links {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .wrap {
    width: min(100% - 32px, 1180px);
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.6rem);
  }
}
