:root {
  --ink: #fff;
  --muted: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.34);
  --u: clamp(0.78px, 0.06945vw, 1px);
  --page-x: clamp(28px, 7vw, 104px);
  --content-right: calc(var(--page-x) + clamp(88px, 9vw, 132px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #0d0d0d; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  background: #0d0d0d;
  overflow-x: hidden;
  isolation: isolate;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.page-bg-noise,
.page-bg-tint {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}
.page-bg-noise { z-index: -3; mix-blend-mode: luminosity; opacity: 0.15; }
.page-bg-tint { z-index: -4; background: #0d0d0d; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: rgba(13, 13, 13, 0.18);
  pointer-events: none;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc(80 * var(--u)) calc(100 * var(--u)) 0;
  pointer-events: none;
}
.logo-link,
.nav,
.menu-overlay { pointer-events: auto; }
.logo-link {
  width: 80px;
  height: 104px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}
.logo { width: 80px; height: auto; display: block; }

.nav {
  position: fixed;
  top: calc(80 * var(--u));
  right: calc(100 * var(--u));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.72));
  z-index: 2;
}
.menu-btn {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  cursor: pointer;
}
.menu-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  display: block;
}
.menu-text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}
.nav-divider {
  width: 1px;
  height: 30px;
  background: #fff;
  margin: 24px 0 16px;
}
.service-link {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.page-hero {
  padding: 110px var(--content-right) 20px var(--page-x);
  min-height: clamp(260px, 32vh, 320px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.page-kicker,
.news-category,
.news-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.page-kicker {
  font-size: 15px;
  letter-spacing: 0.18em;
  margin-bottom: 26px;
}
.page-title {
  width: min(100%, 760px);
  margin: 0 auto;
  font-size: clamp(28px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}
.news-meta {
  width: min(100%, 760px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.article-body {
  padding: 78px var(--content-right) 112px var(--page-x);
}
.article-content {
  width: min(100%, 760px);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
  letter-spacing: 0.04em;
}
.article-content h2 {
  color: #fff;
  font-size: clamp(22px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.detail-nav {
  padding: 0 var(--content-right) 126px var(--page-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
}
.detail-nav-link {
  min-height: 58px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: background 0.22s ease, border-color 0.22s ease;
}
.detail-nav-link:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.82);
}
.detail-nav-link.prev { justify-self: start; }
.detail-nav-link.next { justify-self: end; }
.detail-nav-link.list { min-width: 190px; }

.cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 58px var(--page-x) 74px var(--page-x);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo { width: 130px; height: auto; }
.footer-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-privacy:hover { color: #fff; }
.footer-copyright { color: rgba(255, 255, 255, 0.52); white-space: nowrap; }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.menu-overlay.is-open { display: block; }
.menu-overlay-bg { position: absolute; inset: 0; }
.menu-overlay-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(451 * var(--u));
  height: 100%;
  padding-top: calc(198 * var(--u));
  padding-left: calc(134 * var(--u));
  background: rgba(30, 29, 29, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}
.menu-overlay-close {
  position: absolute;
  top: calc(80 * var(--u));
  right: calc(100 * var(--u));
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  cursor: pointer;
}
.menu-overlay-close-x { position: relative; width: 18px; height: 18px; }
.menu-overlay-close-x::before,
.menu-overlay-close-x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: #fff;
}
.menu-overlay-close-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-overlay-close-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-overlay-close-text { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }
.menu-overlay-nav { display: flex; flex-direction: column; gap: 0; }
.menu-overlay-group { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 20px; }
.menu-overlay-link {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
}
.menu-overlay-link-line { display: block; width: 100%; height: 1.5px; background: #fff; }
.menu-overlay-link:hover { opacity: 0.7; }
.menu-overlay-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
  margin-top: 0;
}
.menu-overlay-group:hover .menu-overlay-sub,
.menu-overlay-group:focus-within .menu-overlay-sub { max-height: 300px; opacity: 1; margin-top: 10px; }
.menu-overlay-sub-link {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
}
.menu-overlay-sub-link:hover { opacity: 0.6; }

@media (max-width: 860px) {
  :root { --content-right: var(--page-x); }
  .site-header { padding: clamp(22px, 5vw, 28px) clamp(18px, 5vw, 24px) 0; }
  .logo-link, .logo { width: 64px; height: auto; }
  .nav { top: clamp(22px, 5vw, 28px); right: clamp(18px, 5vw, 24px); }
  .nav-divider, .service-link { display: none; }
  .menu-overlay-close { top: clamp(22px, 5vw, 28px); right: clamp(18px, 5vw, 24px); }
  .menu-overlay-panel {
    width: min(451px, 86vw);
    padding: 128px 40px 60px;
  }
  .page-hero { min-height: clamp(240px, 36vh, 300px); padding-top: 130px; }
  .article-body {
    padding-top: 56px;
  }
  .detail-nav {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }
  .detail-nav-link,
  .detail-nav-link.prev,
  .detail-nav-link.next {
    width: 100%;
    justify-self: stretch;
  }
  .detail-nav-link.list { grid-row: 1; }
  .cta-row, .footer-meta { align-items: flex-start; flex-direction: column; }
}
