/* Kunashir.com — modern editorial layer */
:root {
  --pine-950: #071713;
  --pine-900: #0b241d;
  --pine-800: #11372c;
  --pine-700: #1c5947;
  --moss: #b9d76a;
  --moss-light: #e5edc9;
  --sand: #eef1e9;
  --paper: #fbfcf8;
  --ink: #0d1d18;
  --muted: #66736d;
  --line: rgba(7, 35, 28, .13);
  --ember: #ef6a4d;
  --sky: #a9d8d1;
  --shadow: 0 28px 90px rgba(4, 27, 21, .15);
  --soft-shadow: 0 14px 44px rgba(4, 27, 21, .08);
  --radius: 1.75rem;
  --content: 1440px;
}

html { scroll-padding-top: 7rem; }
body {
  background: var(--sand);
  font-family: "Segoe UI Variable Text", "Aptos", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.75;
  letter-spacing: -.005em;
}
body::before {
  background:
    radial-gradient(circle at 8% 9%, rgba(169,216,209,.3), transparent 30rem),
    radial-gradient(circle at 91% 26%, rgba(185,215,106,.22), transparent 28rem),
    linear-gradient(rgba(7,35,28,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,35,28,.025) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
::selection { color: #fff; background: var(--pine-700); }

.update-strip {
  min-height: 2rem;
  padding: .35rem 1rem;
  color: rgba(255,255,255,.94);
  background: var(--pine-950);
  font-size: .67rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.update-strip span { color: rgba(255,255,255,.55); }

.site-header {
  top: 0;
  border-bottom-color: rgba(255,255,255,.08);
  background: rgba(7,23,19,.87);
  box-shadow: 0 10px 32px rgba(4,20,16,.12);
  backdrop-filter: blur(24px) saturate(145%);
}
.header-inner {
  width: min(var(--content), calc(100% - 3rem));
  min-height: 5.15rem;
  gap: 1.8rem;
}
.brand { align-items: center; gap: .75rem; }
.brand strong {
  font-family: "Segoe UI Variable Display", "Aptos Display", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.42rem;
  font-weight: 760;
  letter-spacing: -.055em;
}
.brand small {
  max-width: 10rem;
  padding-left: .75rem;
  border-left: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.55);
  font-size: .56rem;
  line-height: 1.35;
  letter-spacing: .12em;
}
.main-nav ul { gap: .15rem; }
.main-nav a {
  padding: .58rem .72rem;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  font-weight: 680;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.main-nav a:hover { color: #fff; transform: translateY(-1px); }
.main-nav a[aria-current="page"] {
  color: var(--pine-950);
  background: var(--moss);
}
.icon-button, .language-switch {
  min-height: 2.65rem;
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.icon-button:hover, .language-switch:hover {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
.icon-button[data-search-open] { font-size: 0; }
.icon-button[data-search-open]::before { content: "⌕"; font-size: 1.25rem; line-height: 1; }
.language-switch { padding-inline: 1rem; }

.breadcrumbs {
  width: min(var(--content), calc(100% - 3rem));
  margin: 1.45rem auto .85rem;
  color: #718079;
  font-size: .7rem;
  font-weight: 620;
}
.breadcrumbs a:hover { color: var(--ember); }

.hero {
  width: min(var(--content), calc(100% - 3rem));
  min-height: clamp(38rem, 71vh, 51rem);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 2.35rem;
  box-shadow: 0 32px 100px rgba(4,27,21,.22);
}
.hero-media img {
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.002);
}
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(4,20,16,.88) 0%, rgba(4,20,16,.42) 50%, rgba(4,20,16,.07) 80%),
    linear-gradient(0deg, rgba(4,20,16,.86) 0%, rgba(4,20,16,.05) 72%),
    linear-gradient(180deg, rgba(4,20,16,.16), transparent 28%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}
.hero-content {
  width: min(66rem, 86%);
  padding: clamp(2rem, 5.7vw, 5.75rem);
  padding-bottom: clamp(3rem, 7vw, 6.3rem);
}
.eyebrow {
  margin-bottom: 1.35rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  font-size: .64rem;
  letter-spacing: .16em;
}
.eyebrow::before {
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 .22rem rgba(185,215,106,.16);
}
.hero h1 {
  max-width: 14ch;
  font-family: "Segoe UI Variable Display", "Aptos Display", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.25rem, 7.3vw, 7.4rem);
  font-weight: 690;
  line-height: .9;
  letter-spacing: -.072em;
}
.hero-lead {
  max-width: 47rem;
  margin-top: 1.8rem;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}
.hero-credit {
  right: 1.35rem;
  bottom: 1.35rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.65);
  background: rgba(4,20,16,.45);
}

.meta-bar {
  width: min(76rem, calc(100% - 6rem));
  margin-top: -2.25rem;
  overflow: hidden;
  border-color: rgba(7,35,28,.1);
  border-radius: 1.4rem;
  background: rgba(251,252,248,.89);
  box-shadow: 0 22px 65px rgba(4,27,21,.13);
  backdrop-filter: blur(22px);
}
.meta-item { padding: 1.25rem 1.5rem; }
.meta-label { color: #829088; font-size: .56rem; letter-spacing: .15em; }
.meta-value { margin-top: .32rem; color: var(--pine-950); font-size: .86rem; font-weight: 760; }

.page-shell {
  width: min(79rem, calc(100% - 3rem));
  margin: clamp(4.5rem, 8vw, 8rem) auto;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7.5rem);
}
.toc {
  top: 7.6rem;
  padding: 1.15rem 1.25rem 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 1.35rem;
  color: #fff;
  background:
    radial-gradient(circle at 90% 5%, rgba(185,215,106,.14), transparent 9rem),
    var(--pine-950);
  box-shadow: var(--soft-shadow);
}
.toc-title { color: var(--moss); font-size: .61rem; letter-spacing: .16em; }
.toc li { border-bottom-color: rgba(255,255,255,.08); }
.toc a {
  grid-template-columns: 1.65rem 1fr;
  padding: .7rem .15rem;
  color: rgba(255,255,255,.63);
  font-size: .73rem;
  transition: color .16s ease, transform .16s ease;
}
.toc a::before { color: rgba(185,215,106,.68); }
.toc a:hover { color: #fff; transform: translateX(.2rem); }
.toc-note {
  margin-top: 1rem;
  border: 1px solid rgba(185,215,106,.14);
  color: rgba(255,255,255,.72);
  background: rgba(185,215,106,.08);
}

.article { max-width: 53rem; }
.article-intro {
  position: relative;
  margin-bottom: 3.8rem;
  padding: 0 0 0 1.5rem;
  border-left: .32rem solid var(--ember);
  color: var(--pine-950);
  font-family: "Segoe UI Variable Display", "Aptos Display", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 2.45vw, 2.1rem);
  font-weight: 580;
  line-height: 1.4;
  letter-spacing: -.035em;
}
.key-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin: 0 0 3rem;
}
.key-facts > div {
  min-height: 8.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  border-color: rgba(7,35,28,.09);
  border-radius: 1.2rem;
  background: rgba(251,252,248,.73);
  box-shadow: 0 10px 34px rgba(4,27,21,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.key-facts > div:hover {
  transform: translateY(-3px);
  border-color: rgba(239,106,77,.25);
  box-shadow: var(--soft-shadow);
}
.key-facts dt { color: #849089; font-size: .55rem; letter-spacing: .14em; }
.key-facts dd { color: var(--pine-950); font-size: .84rem; font-weight: 720; }

.article-table-wrap {
  margin: 1.75rem 0 4rem;
  border: 0;
  border-radius: 1.3rem;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}
.article-table { font-size: .82rem; }
.article-table th, .article-table td { padding: 1rem 1.2rem; border-bottom-color: rgba(7,35,28,.08); }
.article-table th { color: #fff; background: var(--pine-800); font-size: .58rem; letter-spacing: .14em; }
.article-table tbody tr { transition: background .16s ease; }
.article-table tbody tr:hover { background: rgba(185,215,106,.09); }

.article-section {
  position: relative;
  margin: 0 0 1.15rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border: 1px solid rgba(7,35,28,.09);
  border-radius: 1.55rem;
  background: rgba(251,252,248,.62);
  box-shadow: 0 8px 30px rgba(4,27,21,.035);
}
.article-section:nth-of-type(even) { background: rgba(229,237,201,.28); }
.section-number {
  width: fit-content;
  margin-bottom: 1rem;
  padding: .38rem .62rem;
  border-radius: 999px;
  color: #aa3e29;
  background: rgba(239,106,77,.12);
  font-size: .58rem;
  letter-spacing: .16em;
}
.article h2 {
  max-width: 18ch;
  margin-bottom: 1.45rem;
  font-family: "Segoe UI Variable Display", "Aptos Display", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  font-weight: 670;
  line-height: 1.02;
  letter-spacing: -.055em;
}
.article h3 { margin-top: 2rem; color: var(--pine-700); font-size: .98rem; font-weight: 760; }
.article p { color: #3d4b45; }

.article-photo {
  position: relative;
  width: min(64rem, calc(100vw - 3rem));
  margin: 4.8rem 0 4.8rem clamp(-4rem, -4vw, -2rem);
}
.article-photo img {
  aspect-ratio: 16 / 9;
  border-radius: 1.8rem;
  box-shadow: 0 28px 70px rgba(4,27,21,.18);
}
.article-photo figcaption {
  margin: .8rem .5rem 0;
  color: #718079;
  font-size: .65rem;
}

.article-note {
  margin: 4rem 0 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(239,106,77,.18);
  border-radius: 1.2rem;
  background: rgba(239,106,77,.07);
}
.article-note strong { color: #a9432f; font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.practical-list {
  margin: 0 0 3rem;
  padding: .5rem 1.4rem 1.2rem;
  border: 1px solid rgba(7,35,28,.08);
  border-top: 0;
  border-radius: 0 0 1.2rem 1.2rem;
  background: rgba(251,252,248,.62);
}
.practical-list li { grid-template-columns: 2.4rem 1fr; padding: 1rem 0; }
.practical-list li::before {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pine-950);
  background: var(--moss);
}
.source-box {
  margin-top: 4.5rem;
  padding: 1.7rem 1.85rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at 95% 0, rgba(169,216,209,.16), transparent 15rem),
    var(--pine-950);
  box-shadow: var(--soft-shadow);
}
.source-box h2 { color: var(--moss); font-size: .65rem; }
.source-box a { color: rgba(255,255,255,.82); text-decoration-color: rgba(185,215,106,.45); }
.source-box p { color: rgba(255,255,255,.48); }

.faq {
  margin-top: 6rem;
  padding: 3.5rem 0 0;
  border-top: 0;
}
.faq::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 3rem;
  background: linear-gradient(90deg, var(--ember), rgba(239,106,77,0));
}
.faq details {
  margin-bottom: .55rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(7,35,28,.09);
  border-radius: 1rem;
  background: rgba(251,252,248,.58);
}
.faq summary { padding-block: 1.25rem; }
.faq details p { padding-bottom: 1.25rem; }

.related {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background:
    radial-gradient(circle at 84% 5%, rgba(185,215,106,.14), transparent 24rem),
    radial-gradient(circle at 15% 100%, rgba(169,216,209,.1), transparent 25rem),
    var(--pine-950);
}
.related-inner { width: min(var(--content), calc(100% - 3rem)); }
.related h2 {
  font-family: "Segoe UI Variable Display", "Aptos Display", ui-sans-serif, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -.055em;
}
.related-grid { gap: 1rem; }
.related-card {
  min-height: 18rem;
  padding: 1.45rem;
  border-color: rgba(255,255,255,.1);
  border-radius: 1.4rem;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.related-card:hover {
  transform: translateY(-7px);
  border-color: rgba(185,215,106,.35);
  background: linear-gradient(145deg, rgba(185,215,106,.12), rgba(255,255,255,.04));
}
.related-card small { color: var(--moss); }
.related-card strong {
  font-family: "Segoe UI Variable Display", "Aptos Display", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.38rem;
  font-weight: 650;
  letter-spacing: -.035em;
}

.site-footer { padding-top: 5rem; background: #030d0a; }
.footer-inner { width: min(var(--content), calc(100% - 3rem)); }
.footer-brand .brand strong { font-size: 1.8rem; }
.footer-nav h3 { color: var(--moss); }
.footer-nav a { transition: color .16s ease, transform .16s ease; }
.footer-nav a:hover { color: #fff; transform: translateX(.2rem); }

.search-layer { background: rgba(2,12,9,.82); backdrop-filter: blur(22px); }
.search-panel { border: 1px solid rgba(255,255,255,.12); border-radius: 1.5rem; }
.search-head { padding: 1.2rem; }
.search-head input { border-radius: 1rem; }
.search-close { border-radius: 1rem; }

@media (max-width: 1180px) {
  .key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key-facts > div { min-height: 7rem; }
  .article-photo { width: 100%; margin-left: 0; }
}

@media (max-width: 860px) {
  .header-inner { width: calc(100% - 2rem); }
  .hero { width: calc(100% - 2rem); min-height: 37rem; border-radius: 1.7rem; }
  .hero-content { width: 100%; padding: 2.2rem; padding-bottom: 3.4rem; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.4rem); }
  .meta-bar { width: calc(100% - 3rem); }
  .page-shell { width: calc(100% - 2rem); }
  .toc { position: static; padding: 1.25rem; background: var(--pine-950); }
  .toc ol { columns: 2; column-gap: 2rem; }
  .article { max-width: none; }
  .article-photo { width: 100%; }
}

@media (max-width: 580px) {
  body { font-size: .98rem; }
  .update-strip { min-height: 1.8rem; }
  .header-inner { width: calc(100% - 1rem); min-height: 4.45rem; }
  .brand strong { font-size: 1.28rem; }
  .breadcrumbs { width: calc(100% - 1.25rem); }
  .hero { width: calc(100% - 1rem); min-height: 34rem; border-radius: 1.25rem; }
  .hero-content { padding: 1.35rem; padding-bottom: 2.4rem; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.75rem, 14vw, 4.2rem); line-height: .93; }
  .hero-lead { font-size: .9rem; }
  .eyebrow { margin-bottom: 1rem; }
  .meta-bar { width: calc(100% - 1.5rem); margin-top: -1.2rem; border-radius: 1rem; }
  .page-shell { width: calc(100% - 1.25rem); margin-top: 4rem; gap: 3.5rem; }
  .toc ol { columns: 1; }
  .article-intro { padding-left: 1rem; font-size: 1.34rem; }
  .key-facts { grid-template-columns: 1fr 1fr; }
  .key-facts > div { min-height: 7.5rem; padding: .9rem; }
  .article-section { padding: 1.25rem; border-radius: 1.2rem; }
  .article h2 { font-size: clamp(1.8rem, 9vw, 2.55rem); }
  .article-photo { margin: 3.2rem 0; }
  .article-photo img { aspect-ratio: 4 / 3; border-radius: 1.2rem; }
  .related-inner, .footer-inner { width: calc(100% - 2rem); }
  .related-card { min-height: 12.5rem; }
}

@media print {
  .article-section { padding: 0; border: 0; box-shadow: none; background: transparent; }
  .article-intro { border-left: 0; padding-left: 0; }
}
