:root {
  --page: #ffffff;
  --paper: #fff;
  --ink: #111820;
  --muted: #59616b;
  --line: #d7d0c4;
  --line-dark: #b77832;
  --black: #000;
  --accent: #c46f24;
  --electric: #c46f24;
  --violet: #4f46e5;
  --heat: #ff7a1a;
  --accent-soft: rgba(196, 111, 36, 0.08);
  --container: min(1200px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  min-height: 76px;
  padding: 0 max(16px, calc((100vw - 1200px) / 2));
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.16);
}

.site-header::after {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0;
  background: var(--black);
}

.brand img {
  width: clamp(190px, 22vw, 285px);
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.4rem, 3vw, 3rem);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 76px;
  border-bottom: 2px solid transparent;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.primary-nav a:hover {
  color: #fff;
  border-color: #fff;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.language-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

main {
  width: var(--container);
  margin: 0 auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 46px;
  padding: 1.2rem max(16px, calc((100vw - 1200px) / 2));
  background: #000;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer img {
  width: 150px;
}

.site-footer small {
  font-size: 0.78rem;
}

.front-page {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 30px;
}

.latest-news h2 {
  margin: 0 0 1rem;
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 900;
}

.latest-news article {
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.latest-news time {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 900;
}

.latest-news a {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
}

.latest-news a:hover,
.main-story a:hover h1 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.main-story {
  min-width: 0;
}

.main-story a {
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.main-visual {
  position: relative;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at 66% 28%, rgba(255, 255, 255, 0.25), transparent 9rem),
    #111820;
  color: #fff;
  box-shadow: none;
}

.main-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-visual:has(img) {
  background: #111820;
}

.main-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(140deg, #000, transparent 78%);
}

.main-visual:has(img)::before {
  display: none;
}

.main-visual span,
.main-visual strong,
.signal-orbit {
  position: relative;
}

.main-visual span {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.78;
}

.main-visual strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.signal-orbit {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: min(38vw, 180px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 58%);
}

.signal-orbit::before,
.signal-orbit::after,
.signal-orbit i {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.signal-orbit::before {
  inset: 18%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.signal-orbit::after {
  inset: 43%;
  background: var(--electric);
  box-shadow: 0 0 30px rgba(196, 111, 36, 0.5);
}

.signal-orbit i {
  width: 10px;
  height: 10px;
  background: var(--heat);
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.45);
}

.signal-orbit i:nth-child(1) {
  top: 18%;
  left: 46%;
}

.signal-orbit i:nth-child(2) {
  right: 20%;
  bottom: 28%;
  background: var(--violet);
}

.signal-orbit i:nth-child(3) {
  bottom: 22%;
  left: 22%;
}

.main-story h1 {
  margin: 1.35rem 0 0.65rem;
  padding: 0;
  background: transparent;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.main-story p {
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.article-page {
  width: min(980px, calc(100% - 32px));
}

.article-shell {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.article-header {
  max-width: 820px;
  margin: 0 auto 2rem;
}

.article-section {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.article-header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.article-dek {
  max-width: 720px;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-cover {
  margin: 0 0 clamp(2rem, 5vw, 3.4rem);
}

.article-cover img {
  width: 100%;
  border-radius: 10px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.78;
}

.article-body p {
  margin: 0 0 1.35rem;
}

.article-body blockquote {
  margin: 2.4rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 4px solid var(--accent);
  color: #000;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.article-body blockquote p {
  margin: 0;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    background: #050505;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: auto;
    padding: 0.85rem 0;
  }

  .front-page {
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
  }

}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1200px);
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.55rem;
    min-height: auto;
    padding: 0.75rem 14px;
  }

  .brand img {
    width: min(210px, 52vw);
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .language-toggle {
    min-width: 92px;
    height: 38px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

  .primary-nav {
    left: 14px;
    right: 14px;
  }

  .front-page {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    padding-top: 22px;
  }

  .main-visual {
    aspect-ratio: 16 / 9;
    min-height: auto;
    border-radius: 8px;
  }

  .main-visual img {
    object-position: center;
  }

  .signal-orbit {
    width: 120px;
  }

  .main-story {
    order: -1;
  }

  .main-story h1 {
    margin-top: 1rem;
    font-size: clamp(1.85rem, 9vw, 2.55rem);
    line-height: 1.02;
  }

  .main-story p,
  .latest-news a {
    font-size: 0.98rem;
  }

  .latest-news h2 {
    font-size: 1rem;
  }

  .article-page {
    width: min(100% - 28px, 980px);
  }

  .article-shell {
    padding-top: 1.8rem;
  }

  .article-header {
    margin-bottom: 1.4rem;
  }

  .article-header h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .article-dek {
    font-size: 1.02rem;
  }

  .article-meta {
    gap: 0.45rem;
    flex-direction: column;
  }

  .article-cover {
    margin-bottom: 1.8rem;
  }

  .article-cover img {
    border-radius: 8px;
  }

  .article-body {
    font-size: 1.03rem;
    line-height: 1.68;
  }

  .article-body blockquote {
    margin: 2rem 0;
    padding: 1.1rem 0 1.1rem 1rem;
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 34px;
    padding: 1.1rem 14px 1.25rem;
  }

  .site-footer img {
    width: 130px;
  }

}

@media (max-width: 420px) {
  .brand img {
    width: min(184px, 48vw);
  }

  .language-toggle {
    min-width: 86px;
    font-size: 0.62rem;
  }

  .front-page {
    padding-top: 18px;
  }

}
