@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  color-scheme: dark;
  --ink: #101417;
  --ink-soft: #171d20;
  --ink-raised: #20282a;
  --paper: #f1efe8;
  --paper-dim: #d2d2c9;
  --muted: #9ba5a2;
  --line: rgba(235, 239, 228, 0.15);
  --line-dark: rgba(16, 20, 23, 0.16);
  --accent: #20a99a;
  --accent-light: #67d1bd;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
  --page-width: 1280px;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

::selection {
  color: var(--ink);
  background: var(--accent-light);
}

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

[hidden] {
  display: none !important;
}

.section-shell {
  width: min(100% - (var(--page-gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-160%);
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

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

/* Header and navigation */
.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 20, 23, 0.96);
}

.header-inner {
  display: flex;
  width: min(100% - (var(--page-gutter) * 2), var(--page-width));
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--paper);
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--accent);
}

.brand-name {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.28;
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menu-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.primary-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  padding: 0.6rem var(--page-gutter) 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}

.primary-nav.is-open,
.primary-nav[data-open="true"] {
  display: flex;
  flex-direction: column;
}

.primary-nav > a,
.nav-guides > summary {
  display: flex;
  min-height: 46px;
  align-items: center;
  color: var(--paper-dim);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease;
}

.primary-nav > a:hover,
.nav-guides > summary:hover,
.primary-nav > a:focus-visible,
.nav-guides > summary:focus-visible {
  color: var(--accent-light);
}

.nav-guides {
  position: relative;
}

.nav-guides summary {
  list-style: none;
}

.nav-guides summary::-webkit-details-marker {
  display: none;
}

.nav-guides summary::after {
  width: 7px;
  height: 7px;
  margin-left: 0.6rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.nav-guides[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.guide-menu {
  display: grid;
  gap: 0.15rem;
  padding: 0.2rem 0 0.7rem 0.8rem;
  border-left: 1px solid var(--line);
}

.guide-menu a {
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 180ms ease, background 180ms ease;
}

.guide-menu a:hover,
.guide-menu a:focus-visible {
  background: var(--ink-soft);
  color: var(--accent-light);
}

.nav-contact span {
  margin-left: 0.35rem;
  color: var(--accent-light);
}

/* Shared editorial typography */
.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent-light);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  line-height: 1.55;
  text-transform: uppercase;
}

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

em {
  color: var(--accent-light);
  font-family: var(--serif);
  font-weight: 500;
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 13, 15, 0.58));
  content: "";
  pointer-events: none;
}

.image-frame figcaption {
  position: absolute;
  z-index: 1;
  right: 1rem;
  bottom: 0.9rem;
  left: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  color: #f2f1ea;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.image-frame figcaption span:last-child {
  color: rgba(242, 241, 234, 0.72);
}

/* Home hero */
.home-hero {
  display: grid;
  gap: 2.5rem;
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 11vw, 5.9rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.hero-copy h1 em {
  display: inline-block;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.72em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.065em;
}

.hero-intro {
  max-width: 33rem;
  margin-bottom: 1.8rem;
  color: var(--paper-dim);
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.5rem;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--accent-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--paper-dim);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.text-link:hover {
  color: var(--accent-light);
}

.hero-index {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.1em;
}

.hero-image {
  aspect-ratio: 1.18;
  margin: 0;
}

.hero-image img {
  transition: transform 900ms var(--ease);
}

.hero-image:hover img {
  transform: scale(1.025);
}

/* Route guide index */
.route-section {
  padding-top: clamp(3.8rem, 8vw, 6.7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.sequence-heading h2,
.closing-band h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 7vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.section-heading h2 em,
.sequence-heading h2 em,
.closing-band h2 em {
  font-weight: 500;
}

.section-heading > p {
  max-width: 25rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.route-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  transition: border-color 220ms ease, transform 220ms ease;
}

.route-card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 209, 189, 0.5);
}

.card-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.48;
  background: var(--ink-raised);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease), filter 650ms var(--ease);
}

.card-image:hover img,
.route-card:hover .card-image img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 16, 0.18), transparent 48%, rgba(10, 14, 16, 0.38));
  content: "";
  pointer-events: none;
}

.image-index {
  position: absolute;
  z-index: 1;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.4rem 0.52rem;
  border: 1px solid rgba(242, 241, 234, 0.42);
  background: rgba(16, 20, 23, 0.65);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.card-panel {
  padding: 1.05rem 1rem 1rem;
}

.card-meta,
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.card-meta span:first-child {
  color: var(--accent-light);
}

.card-panel h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.card-panel h3 a {
  transition: color 180ms ease;
}

.card-panel h3 a:hover {
  color: var(--accent-light);
}

.card-panel > p {
  min-height: 3.3em;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.card-bottom {
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  letter-spacing: 0.02em;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.73rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease;
}

.arrow-link:hover {
  color: var(--accent-light);
}

/* Planning sequence */
.sequence-section {
  overflow: hidden;
  padding: clamp(3.8rem, 8vw, 6.5rem) 0;
  background: #e9e8df;
  color: var(--ink);
}

.sequence-heading {
  max-width: 38rem;
}

.sequence-heading .eyebrow {
  color: #147b71;
}

.sequence-heading h2 em {
  color: #147b71;
}

.sequence-heading > p:last-child {
  max-width: 27rem;
  margin: 1.1rem 0 0;
  color: #58615e;
}

.route-line {
  display: none;
}

.sequence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.sequence-grid li {
  position: relative;
  padding: 1.25rem 0 1.45rem 3.4rem;
  border-top: 1px solid var(--line-dark);
}

.step-number {
  position: absolute;
  top: 1.45rem;
  left: 0;
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(20, 123, 113, 0.45);
  border-radius: 50%;
  color: #147b71;
  font-family: var(--mono);
  font-size: 0.68rem;
}

.sequence-grid h3 {
  margin: 0 0 0.3rem;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.sequence-grid p {
  max-width: 19rem;
  margin: 0 0 0.65rem;
  color: #5c6460;
  font-size: 0.84rem;
  line-height: 1.6;
}

.sequence-grid small {
  color: #147b71;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
}

.sequence-foot {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-dark);
}

.sequence-foot > span {
  color: #147b71;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.sequence-foot p {
  margin: 0;
  color: #5c6460;
  font-size: 0.82rem;
}

.sequence-foot a {
  width: fit-content;
  color: #126c64;
  font-size: 0.81rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.sequence-foot a:hover {
  color: var(--ink);
}

/* Closing band */
.closing-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8rem;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.closing-band .eyebrow {
  margin-bottom: 0.9rem;
}

.closing-band h2 {
  font-size: clamp(2.1rem, 7vw, 3.7rem);
}

.closing-band h2 em {
  color: var(--accent-light);
}

.button-dark {
  border-color: var(--line);
  background: transparent;
  color: var(--paper);
}

.button-dark:hover {
  border-color: var(--accent-light);
  background: var(--accent);
  color: var(--ink);
}

/* Topic guide hero */
.topic-hero {
  display: grid;
  gap: 2rem;
  padding-top: clamp(3rem, 7vw, 5.8rem);
  padding-bottom: clamp(3rem, 7vw, 5.6rem);
}

.topic-heading h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 10vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1;
}

.topic-heading h1 em {
  display: inline-block;
  color: var(--accent-light);
}

.topic-deck {
  max-width: 38rem;
  margin-bottom: 1.6rem;
  color: var(--paper-dim);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
}

.fact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.fact-strip span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.025em;
}

.fact-strip b {
  margin-right: 0.3rem;
  color: var(--accent-light);
  font-weight: 500;
}

.topic-visual {
  aspect-ratio: 1.3;
  margin: 0;
}

/* Article layout */
.article-layout {
  display: grid;
  gap: 2rem;
  padding-top: 2.3rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
}

.article-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  align-self: start;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.09em;
}

.article-rail span:first-child {
  color: var(--accent-light);
}

.article-rail a {
  margin-left: auto;
  color: var(--paper-dim);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0;
  transition: color 180ms ease;
}

.article-rail a:hover {
  color: var(--accent-light);
}

.article-content {
  min-width: 0;
  max-width: 790px;
}

.article-content .lead {
  margin: 0 0 2.3rem;
  color: var(--paper);
  font-size: clamp(1.13rem, 2.5vw, 1.38rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.7;
}

.article-content h2 {
  margin: 2.4rem 0 0.7rem;
  color: var(--paper);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.article-content p:not(.lead) {
  margin-bottom: 1.1rem;
  color: #b9c0bb;
  font-size: 0.94rem;
  line-height: 1.85;
}

.article-content strong {
  color: var(--paper);
  font-weight: 700;
}

.article-content ul {
  display: grid;
  gap: 0.75rem;
  margin: 0.8rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  padding-left: 1.35rem;
  color: #b9c0bb;
  font-size: 0.93rem;
  line-height: 1.75;
}

.article-content li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  content: "";
  transform: rotate(45deg);
}

.article-callout {
  margin-top: 2.7rem;
  padding: 1.35rem 1.4rem;
  border-left: 2px solid var(--accent);
  background: var(--ink-soft);
}

.article-callout > span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent-light);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.12em;
}

.article-callout p {
  margin: 0 !important;
  color: var(--paper) !important;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.55rem) !important;
  line-height: 1.45 !important;
}

.related-links {
  display: grid;
  margin-top: 3.2rem;
  border-top: 1px solid var(--line);
}

.related-links h2 {
  margin: 1.4rem 0 0.8rem;
  font-size: 1.2rem;
}

.related-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--paper-dim);
  font-size: 0.88rem;
  transition: color 180ms ease, padding 180ms ease;
}

.related-links a span {
  color: var(--accent-light);
}

.related-links a:hover {
  padding-left: 0.3rem;
  color: var(--accent-light);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0c1012;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2.8rem;
  padding-bottom: 2.5rem;
}

.footer-domain {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  transition: color 180ms ease;
}

.footer-domain:hover {
  color: var(--accent-light);
}

.footer-brand p,
.footer-column p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.7;
}

.footer-site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 600;
}

.footer-site-link:hover {
  color: var(--paper);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-column h2 {
  margin: 0 0 0.35rem;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-column > a {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  transition: color 180ms ease;
}

.footer-column > a:hover {
  color: var(--accent-light);
}

.footer-details p {
  margin: 0 0 0.4rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 1rem;
  padding-bottom: 1.1rem;
  border-top: 1px solid var(--line);
  color: #7f8986;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.07em;
  line-height: 1.6;
}

/* Cookie preferences */
.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 1rem;
  max-width: 780px;
  margin-inline: auto;
  padding: 1.1rem;
  border: 1px solid rgba(103, 209, 189, 0.38);
  background: #182022;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.cookie-copy strong {
  color: var(--paper);
  font-size: 0.93rem;
}

.cookie-copy p,
.cookie-preference-panel p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions button,
.cookie-preference-panel button {
  min-height: 39px;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper-dim);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.cookie-actions button:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.cookie-actions button:hover,
.cookie-preference-panel button:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

.cookie-actions button:first-child:hover {
  background: var(--accent-light);
  color: var(--ink);
}

.cookie-preference-panel {
  grid-column: 1 / -1;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.cookie-preference-panel button {
  margin-top: 0.8rem;
}

/* Responsive layout */
@media (min-width: 600px) {
  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .route-card-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .route-card-feature .card-image {
    height: 100%;
    min-height: 250px;
    aspect-ratio: auto;
  }

  .route-card-feature .card-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.2rem, 3vw, 2rem);
  }

  .sequence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .sequence-grid li:nth-child(2) {
    border-top: 1px solid var(--line-dark);
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner {
    right: 1.5rem;
    bottom: 1.5rem;
    left: auto;
    width: min(780px, calc(100% - 3rem));
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.25rem;
  }

  .cookie-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 760px) {
  .header-inner {
    min-height: 84px;
  }

  .menu-toggle {
    display: none;
  }

  .primary-nav,
  .primary-nav.is-open,
  .primary-nav[data-open="true"] {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.3rem, 3vw, 2.8rem);
    padding: 0;
    border: 0;
    background: transparent;
  }

  .primary-nav > a,
  .nav-guides > summary {
    min-height: 84px;
    font-size: 0.78rem;
  }

  .nav-contact {
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--line);
  }

  .guide-menu {
    position: absolute;
    top: calc(100% - 0.65rem);
    left: -1rem;
    z-index: 25;
    width: 250px;
    padding: 0.65rem;
    border: 1px solid var(--line);
    background: #151b1e;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.34);
  }

  .home-hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5.5rem);
  }

  .hero-image {
    aspect-ratio: 1.04;
  }

  .section-heading {
    grid-template-columns: 1fr 0.6fr;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .section-heading > p {
    justify-self: end;
    padding-bottom: 0.25rem;
  }

  .route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-card-feature {
    grid-column: auto;
    display: block;
  }

  .route-card-feature .card-image {
    min-height: 0;
    aspect-ratio: 1.48;
  }

  .route-card-feature .card-panel {
    display: block;
    padding: 1.05rem 1rem 1rem;
  }

  .sequence-grid {
    position: relative;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3.5rem;
  }

  .route-line {
    position: relative;
    display: flex;
    height: 1px;
    justify-content: space-between;
    margin-top: 2.1rem;
    background: rgba(20, 123, 113, 0.28);
  }

  .route-line span {
    position: relative;
    top: -4px;
    width: 9px;
    height: 9px;
    border: 1px solid #147b71;
    border-radius: 50%;
    background: #e9e8df;
  }

  .sequence-grid li,
  .sequence-grid li:nth-child(2) {
    padding: 0.5rem 0 0;
    border-top: 0;
  }

  .step-number {
    position: static;
    display: none;
  }

  .sequence-grid h3 {
    margin-bottom: 0.5rem;
  }

  .sequence-foot {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.3rem;
    margin-top: 2rem;
  }

  .closing-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .topic-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .topic-visual {
    aspect-ratio: 1.04;
  }

  .article-layout {
    grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 8vw, 7rem);
    padding-top: 3rem;
  }

  .article-rail {
    position: sticky;
    top: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0;
    border: 0;
  }

  .article-rail a {
    margin: 0.3rem 0 0;
  }

  .footer-main {
    grid-template-columns: 1.25fr 1fr 0.75fr 1.15fr;
    gap: 2rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1100px) {
  .route-grid {
    gap: 1.25rem;
  }

  .route-card-feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
  }

  .route-card-feature .card-image {
    height: 100%;
    min-height: 260px;
    aspect-ratio: auto;
  }

  .route-card-feature .card-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
  }

  .topic-visual {
    aspect-ratio: 1.28;
  }
}

@media (max-width: 420px) {
  .hero-index {
    flex-direction: column;
    gap: 0.35rem;
  }

  .fact-strip {
    flex-direction: column;
    gap: 0.45rem;
  }

  .card-meta,
  .card-bottom {
    font-size: 0.52rem;
  }

  .cookie-banner {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    padding: 0.9rem;
  }

  .cookie-actions button {
    flex: 1 1 auto;
  }
}

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