@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-serif-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #332f34;
  --ink-soft: #575055;
  --muted: #81787a;
  --canvas: #f5f0eb;
  --paper: #fffdf9;
  --blue: #8c727b;
  --blue-deep: #68535c;
  --blue-pale: #eadfd9;
  --lavender: #e7d8d8;
  --yellow: #eadca9;
  --rose: #a86f69;
  --line: #ded3cd;
  --shell: min(1180px, calc(100% - 64px));
  --serif: "IBM Plex Serif", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(245, 240, 235, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

.brand em {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 28px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--blue-deep);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
}

.top-nav { display: flex; align-items: center; gap: 24px; }
.top-nav a {
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none;
}
.top-nav a:hover { color: var(--blue-deep); }
.top-nav .nav-cta {
  padding: 7px 0 5px;
  color: var(--ink);
  border-bottom: 1px solid var(--rose);
}

.language-switch {
  min-width: 34px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  color: var(--blue-deep) !important;
  text-align: center;
  text-transform: uppercase;
}

.language-switch[aria-current="page"] {
  color: var(--muted) !important;
  background: var(--blue-pale);
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--blue-deep);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--rose);
}

.eyebrow.dark { color: var(--blue-deep); }

/* Cover */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 38%;
  background: var(--blue-pale);
}

.hero-grid {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  gap: 24px;
  align-items: start;
  padding-block: 52px 44px;
}

.hero-copy {
  z-index: 2;
  grid-column: 3 / -1;
  grid-row: 1;
  padding: 0 0 8px;
}

.hero h1,
.article-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(2.75rem, 4.8vw, 4.35rem);
  line-height: 1;
}

.hero-intro {
  z-index: 2;
  grid-column: 6 / -1;
  grid-row: 2;
  align-self: center;
  padding: 30px 0 28px 20px;
}

.hero-lead {
  max-width: 610px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.button-secondary { min-height: auto; padding: 5px 0; border: 0; border-bottom: 1px solid var(--blue); }
.button-secondary:hover { color: var(--blue-deep); }
.hero-note { margin: 15px 0 0; color: var(--muted); font-size: 0.76rem; }

.hero-visual {
  z-index: 3;
  grid-column: 1 / span 5;
  grid-row: 2;
  align-self: end;
  width: min(410px, 100%);
  margin: -18px 0 0;
  transform: translateX(-5%);
}

.error-grid { min-height: 78vh; grid-template-columns: 1fr; }
.error-grid { display: flex; align-items: center; }
.error-grid .hero-copy { width: 100%; padding-block: 64px; }

.hero-visual picture {
  width: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}

.hero-visual img { width: 100%; }
.sun-disc { display: none; }

.location-card {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 9px;
  align-items: start;
  margin: 11px 10px 0;
  color: var(--muted);
  font-size: 0.73rem;
}

.location-card strong {
  display: inline;
  color: var(--ink);
  font-weight: 500;
}
.location-card small { display: block; }
.location-pin { color: var(--rose); line-height: 1.7; }

/* Directory */
.quick-start { padding: 88px 0 96px; }
.quick-start > .shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(48px, 9vw, 130px);
  align-items: start;
}

.section-heading { max-width: 660px; }
.section-heading h2,
.featured h2,
.useful h2,
.community h2,
.article-aside h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.quick-grid { border-top: 1px solid var(--ink); }
.quick-card {
  display: grid;
  grid-template-columns: 40px 54px minmax(170px, 0.72fr) minmax(230px, 1.2fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 120px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.quick-card:hover h3 { color: var(--blue-deep); }
.card-index { color: var(--muted); font-size: 0.69rem; letter-spacing: 0.1em; }
.card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--blue-deep);
  font-family: var(--serif);
}
.quick-card:nth-child(2) .card-icon { background: var(--lavender); border-color: var(--lavender); }
.quick-card:nth-child(3) .card-icon { background: var(--yellow); border-color: var(--yellow); }
.quick-card h3 { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.12; }
.quick-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.card-link { color: var(--blue-deep); font-size: 0.73rem; font-weight: 500; white-space: nowrap; }

/* Featured route */
.featured {
  padding: 0 0 110px;
  background: var(--canvas);
}

.featured-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding-top: 58px;
  border-top: 1px solid var(--ink);
}

.featured-grid::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 42%;
  height: calc(100% - 20px);
  right: -32px;
  top: 20px;
  background: var(--yellow);
}

.featured-copy { position: relative; z-index: 1; grid-column: 1 / span 5; }
.featured-copy > p:not(.eyebrow) { max-width: 480px; color: var(--ink-soft); }
.route-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 30px 0;
  border-top: 1px solid var(--line);
}
.route-facts div { display: grid; grid-template-columns: 120px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line); }
.route-facts dt { color: var(--muted); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.route-facts dd { margin: 0; font-family: var(--serif); font-size: 1rem; }
.text-link { color: var(--blue-deep); font-size: 0.85rem; font-weight: 500; text-underline-offset: 5px; }

.route-preview {
  position: relative;
  z-index: 1;
  grid-column: 7 / -1;
  margin: 8px 0 0;
  padding: 0 28px 0 0;
  list-style: none;
}
.route-preview li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(51, 47, 52, 0.28);
}
.route-preview li:first-child { border-top: 1px solid rgba(51, 47, 52, 0.28); }
.route-preview > li > span { color: var(--blue-deep); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; }
.route-preview strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.14rem; font-weight: 500; }
.route-preview p { margin: 0; color: var(--ink-soft); font-size: 0.88rem; }

/* Issue list */
.library {
  padding: 90px 0 108px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.library-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}
.library-note { margin: 0 0 4px; color: var(--muted); font-family: var(--serif); font-size: 1.02rem; line-height: 1.5; }
.library-grid { border-top: 1px solid var(--ink); }
.story-card {
  min-height: 148px;
  display: grid;
  grid-template-columns: 160px minmax(260px, 0.9fr) minmax(280px, 1.2fr) 220px;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.story-card:nth-child(even) { padding-left: 7%; }
.story-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.story-meta span { color: var(--blue-deep); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.story-meta span:last-child { color: var(--muted); font-weight: 400; letter-spacing: 0.02em; text-transform: none; }
.story-card h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; }
.story-card > p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.story-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.story-actions a { color: var(--blue-deep); font-size: 0.76rem; font-weight: 500; text-underline-offset: 4px; }
.story-actions a:last-child:not(:first-child) { color: var(--muted); }

/* Reference desk */
.useful { padding: 96px 0; background: var(--blue-pale); }
.useful-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(60px, 10vw, 150px); }
.section-heading.light > p:not(.eyebrow) { max-width: 470px; color: var(--ink-soft); }
.resource-list { border-top: 1px solid var(--ink); }
.resource-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(51, 47, 52, 0.22);
  text-decoration: none;
}
.resource-list a:hover strong { color: var(--blue-deep); }
.resource-list small,
.resource-list strong { display: block; }
.resource-list small { color: var(--muted); font-size: 0.63rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.resource-list strong { margin-top: 2px; font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.resource-list b { color: var(--rose); font-size: 1rem; font-weight: 400; }

.community { padding: 70px 0; background: var(--lavender); border-top: 1px solid rgba(51, 47, 52, 0.12); }
.community-panel { display: grid; grid-template-columns: 1fr 210px; gap: 80px; align-items: end; }
.community-panel > div { max-width: 760px; }
.community-panel p:not(.eyebrow) { max-width: 650px; margin-bottom: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 1.04rem; }
.community .button-primary { width: 100%; }

.site-footer { padding: 35px 0; color: #eee9e7; background: #3b3539; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 38px; align-items: start; font-size: 0.76rem; }
.footer-inner p { margin: 0; }
.footer-inner strong { color: white; font-family: var(--serif); font-size: 0.98rem; font-weight: 500; }
.footer-inner span,
.footer-note { color: #bdb2b5; }
.footer-inner a { color: #e8dda9; text-underline-offset: 4px; }

/* Articles */
.article-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.article-hero::after {
  content: "";
  position: absolute;
  width: 31%;
  height: 100%;
  top: 0;
  right: 0;
  background: var(--blue-pale);
}
.article-hero-grid {
  position: relative;
  z-index: 1;
  min-height: 430px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
  padding-block: 48px;
}
.article-hero-grid > div { grid-column: 1 / span 8; }
.article-hero h1 { max-width: 820px; font-size: clamp(2.7rem, 5vw, 4.65rem); line-height: 0.98; }
.article-hero p:not(.eyebrow) { max-width: 650px; color: var(--ink-soft); font-family: var(--serif); font-size: 1.13rem; line-height: 1.52; }
.article-hero picture {
  grid-column: 10 / -1;
  width: calc(100% + 36px);
  justify-self: end;
  transform: translateX(12px);
  padding: 0;
  background: transparent;
  border: 0;
}
.article-hero img { width: 100%; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; color: var(--muted); font-size: 0.7rem; }
.breadcrumbs a { color: var(--blue-deep); text-underline-offset: 3px; }
.article-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 150px)); gap: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.article-facts div { padding: 11px 18px 0 0; }
.article-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.article-facts dt { color: var(--muted); font-size: 0.63rem; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }
.article-facts dd { margin: 3px 0 0; font-family: var(--serif); font-size: 0.98rem; }

.article-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding-block: 68px 110px;
}
.article-body { grid-column: 2 / span 7; }
.article-updated { margin: 0 0 56px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.71rem; }
.article-body section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 22px;
  margin: 0 0 64px;
}
.step-number {
  grid-column: 1;
  grid-row: 1;
  width: 30px;
  padding-top: 5px;
  color: var(--rose);
  border-top: 1px solid var(--rose);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.article-body h2 {
  grid-column: 2;
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.article-body section > p,
.article-body section > .article-links {
  grid-column: 2;
}
.article-body p { color: var(--ink-soft); font-size: 1rem; }
.article-body section > p:first-of-type { margin-top: 0; }
.article-links { margin-top: 25px; border-top: 1px solid var(--ink); }
.article-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-deep);
  font-size: 0.81rem;
  font-weight: 500;
  text-decoration: none;
}
.article-links a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.article-links b { color: var(--rose); font-weight: 400; }
.article-aside {
  position: sticky;
  top: 104px;
  grid-column: 10 / -1;
  padding: 24px 0 0;
  border-top: 2px solid var(--yellow);
}
.article-aside h2 { font-size: 1.85rem; }
.article-aside p:not(.eyebrow) { color: var(--muted); font-size: 0.86rem; }
.article-aside .button { width: 100%; margin-top: 10px; }
.share-note {
  margin-left: 64px;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.share-note strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.share-note p { margin: 5px 0 0; color: var(--muted); font-size: 0.86rem; }
.share-note a { color: var(--blue-deep); text-underline-offset: 4px; }

/* City profile */
.city-intro {
  margin: 0 0 56px 64px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.city-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 64px 64px;
  background: var(--line);
  border: 1px solid var(--line);
}

.city-facts div { padding: 20px; background: var(--paper); }
.city-facts dt { color: var(--muted); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.city-facts dd { margin: 5px 0 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.source-note { color: var(--muted); font-size: 0.78rem !important; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 44px, 1180px); }
  .hero-grid { min-height: 570px; }
  .hero-copy { grid-column: 2 / -1; }
  .hero-visual { grid-column: 1 / span 5; transform: translateX(-3%); }
  .hero-intro { grid-column: 6 / -1; padding-left: 8px; }
  .quick-start > .shell { grid-template-columns: 210px minmax(0, 1fr); gap: 44px; }
  .quick-card { grid-template-columns: 34px 42px minmax(150px, 0.8fr) 1.2fr; }
  .card-link { grid-column: 3 / -1; }
  .story-card { grid-template-columns: 130px minmax(220px, 0.8fr) 1fr; }
  .story-actions { grid-column: 2 / -1; flex-direction: row; gap: 18px; }
  .article-hero-grid > div { grid-column: 1 / span 9; }
  .article-hero picture { grid-column: 10 / -1; width: calc(100% + 24px); }
  .article-body { grid-column: 1 / span 8; }
  .article-aside { grid-column: 10 / -1; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  .top-nav > a:not(.nav-cta):not(.language-switch) { display: none; }
  .brand em { display: none; }
  .hero::before { height: 31%; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding-block: 42px 36px; }
  .hero-copy { grid-column: 1; grid-row: 1; align-self: auto; padding: 0; }
  .hero h1 { max-width: 620px; font-size: clamp(2.55rem, 10vw, 4.1rem); }
  .hero-visual { grid-column: 1; grid-row: 2; width: min(78vw, 460px); margin: 0 0 0 auto; transform: none; }
  .hero-intro { grid-column: 1; grid-row: 3; padding: 0; }
  .quick-start { padding-block: 72px 78px; }
  .quick-start > .shell { grid-template-columns: 1fr; gap: 34px; }
  .quick-start .section-heading { max-width: 390px; }
  .quick-card { grid-template-columns: 34px 42px 1fr; min-height: 0; padding: 18px 0; }
  .quick-card h3 { grid-column: 3; }
  .quick-card p { grid-column: 3; }
  .card-link { grid-column: 3; }
  .featured { padding-bottom: 78px; }
  .featured-grid { grid-template-columns: 1fr; gap: 42px; padding-top: 42px; }
  .featured-grid::after { width: 76%; height: 43%; top: auto; bottom: -20px; right: 0; }
  .featured-copy,
  .route-preview { grid-column: 1; }
  .route-preview { width: 92%; margin-left: auto; padding-right: 16px; }
  .library { padding-block: 74px 80px; }
  .library-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 38px; }
  .library-note { max-width: 520px; }
  .story-card,
  .story-card:nth-child(even) { grid-template-columns: 110px 1fr; gap: 18px; min-height: 0; padding: 24px 0; }
  .story-card h3 { grid-column: 2; }
  .story-card > p { grid-column: 2; }
  .story-actions { grid-column: 2; }
  .useful { padding-block: 76px; }
  .useful-grid { grid-template-columns: 1fr; gap: 42px; }
  .community-panel { grid-template-columns: 1fr; gap: 28px; }
  .community-panel .button { width: fit-content; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; grid-row: 2; }
  .article-hero::after { width: 22%; }
  .article-hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding-block: 38px 42px; }
  .article-hero-grid > div { grid-column: 1; }
  .article-hero h1 { font-size: clamp(2.55rem, 10vw, 4.1rem); }
  .article-hero picture { display: none; }
  .article-layout { grid-template-columns: 1fr; gap: 64px; padding-block: 48px 78px; }
  .article-body,
  .article-aside { grid-column: 1; }
  .article-aside { position: static; max-width: 420px; }
}

@media (max-width: 520px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { font-size: 0.96rem; }
  .header-inner { min-height: 62px; }
  .brand { font-size: 1rem; }
  .top-nav .nav-cta { font-size: 0.72rem; }
  .hero-grid { padding-top: 34px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-visual { width: 88vw; }
  .section-heading h2,
  .featured h2,
  .useful h2,
  .community h2 { font-size: 2.35rem; }
  .quick-card { grid-template-columns: 26px 34px 1fr; gap: 12px; }
  .card-icon { width: 30px; height: 30px; }
  .story-card,
  .story-card:nth-child(even) { grid-template-columns: 1fr; gap: 9px; }
  .story-meta,
  .story-card h3,
  .story-card > p,
  .story-actions { grid-column: 1; }
  .story-meta { flex-direction: row; gap: 12px; }
  .story-actions { margin-top: 8px; }
  .community-panel .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-note { grid-column: auto; grid-row: auto; }
  .article-hero::after { display: none; }
  .article-facts { grid-template-columns: 1fr; }
  .article-facts div { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .article-facts div + div { padding-left: 0; border-left: 0; }
  .article-body section { grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; margin-bottom: 50px; }
  .article-body h2 { font-size: 1.85rem; }
  .share-note { margin-left: 44px; }
  .city-intro,
  .city-facts { margin-left: 44px; }
  .city-facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
