:root {
  --ink: #0b1f33;
  --text: #1f3448;
  --muted: #5b6b7c;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --tint: #e9f1f8;
  --line: #dbe5f0;
  --accent: #0e7490;
  --accent-dark: #0a5a70;
  --accent-soft: #e0f2f7;
  --amber: #b45309;
  --display: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: Consolas, "SFMono-Regular", Menlo, monospace;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 5px;
}

.container { width: min(100% - 40px, 1180px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.head-bar {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--ink);
  color: #67e8f9;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}
.brand-word {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}
.head-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
}
.head-nav > a,
.nav-more > summary {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
  cursor: pointer;
  list-style: none;
}
.nav-more { position: relative; }
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more > summary { white-space: nowrap; }
.nav-more > summary::after { content: " \25BE"; color: var(--muted); }
.head-nav > a:hover,
.nav-more > summary:hover,
.nav-more[open] > summary { background: var(--accent-soft); color: var(--accent-dark); }
.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: 260px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: grid;
}
.nav-panel a {
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-panel a span {
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--accent);
  padding-top: 0.15rem;
}
.nav-panel a:hover { background: var(--accent-soft); }
.head-cta {
  display: inline-block;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.head-cta:hover { background: var(--accent-dark); }

.cat-strip { border-top: 1px solid var(--line); }
.cat-strip .container {
  display: flex;
  gap: 0.2rem;
  overflow-x: auto;
}
.cat-strip a {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 0.4rem;
  align-items: baseline;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.cat-strip a span {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--accent);
}
.cat-strip a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #eaf2fa;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 32, 0.92) 0%, rgba(6, 18, 32, 0.74) 48%, rgba(6, 18, 32, 0.35) 100%),
    linear-gradient(0deg, rgba(6, 18, 32, 0.55), rgba(6, 18, 32, 0.2));
}
.hero-inner {
  position: relative;
  padding: 84px 0 56px;
}
.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}
.hero-kicker { color: #9fd8e4; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.hero-kicker .dot { background: #67e8f9; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: var(--accent-dark); }
.hero h1 {
  color: #ffffff;
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  max-width: 17ch;
  margin: 0 0 0.45em;
}
.hero h1 span { color: #67e8f9; }
.hero-lede {
  max-width: 58ch;
  font-size: 1.1rem;
  color: #c8d7e6;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 2rem; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--accent);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #ffffff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #ffffff; }
.btn-line { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.btn-line:hover { background: var(--accent-soft); }

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.hero-stats li { display: grid; gap: 0.05rem; }
.hero-stats b {
  font-family: var(--display);
  font-size: 1.6rem;
  color: #ffffff;
}
.hero-stats span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb3c8;
}

.hero-float {
  position: relative;
  padding-bottom: 56px;
  display: flex;
  justify-content: flex-end;
}
.float-card {
  width: min(100%, 580px);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 24px 50px rgba(4, 14, 26, 0.35);
}
.float-card .eyebrow { color: var(--accent-dark); margin-bottom: 0.45rem; }
.float-card p { margin-bottom: 0.7rem; font-size: 0.95rem; }
.text-link { color: var(--accent-dark); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.text-link:hover { text-decoration: underline; }

/* ---------- sections ---------- */

.section { padding: 70px 0; }
.section-tint { background: var(--tint); }
.section-flat { margin-top: 56px; }
.page-pad { padding: 40px 0 84px; }
.narrow { width: min(100% - 40px, 860px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.7rem;
}
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0; }
.section-head .eyebrow { margin-bottom: 0.35rem; }
.section-sub { max-width: 46ch; color: var(--muted); margin: 0; font-size: 0.96rem; }
.section-head > .text-link { margin-bottom: 0.3rem; white-space: nowrap; }
.count-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  align-self: center;
}

/* ---------- category tiles ---------- */

.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 152px;
  padding: 1.15rem 1.15rem 1.05rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9cfdf; }
.cat-code {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.cat-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.cat-sub { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.cat-count {
  margin-top: auto;
  padding-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-count i { font-style: normal; color: var(--accent); font-size: 0.95rem; }

/* ---------- cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.guide-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #dde7f1; }
.guide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.guide-card:hover .guide-media img { transform: scale(1.03); }
.guide-body { padding: 1.05rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.guide-body .eyebrow { font-size: 0.6rem; letter-spacing: 0.08em; margin-bottom: 0.45rem; }
.guide-title { font-size: 1.16rem; margin: 0 0 0.4em; }
.guide-title a { color: var(--ink); text-decoration: none; }
.guide-title a:hover { color: var(--accent-dark); }
.guide-excerpt { color: var(--muted); font-size: 0.92rem; margin: 0 0 1rem; }
.guide-meta {
  margin: auto 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.9rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.guide-meta .go { margin-left: auto; color: var(--accent); font-size: 0.9rem; }

/* ---------- values ---------- */

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
}
.value-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  margin-bottom: 0.9rem;
}
.value h3 { font-size: 1.18rem; }
.value p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.center-cta { display: flex; justify-content: center; margin-top: 2.2rem; }

/* ---------- page head / breadcrumbs ---------- */

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin: 0 0 1.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.crumbs li { display: inline-flex; gap: 0.35rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-dark); }
.crumbs ol > span { color: #a9b9c9; }

.page-head { margin-bottom: 2rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 0.35em; max-width: 20ch; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 66ch; margin: 0; }
.updated {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 1rem 0 0;
}

.cat-intro {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin-bottom: 0.5rem;
}
.cat-intro p { margin: 0 0 0.8rem; color: var(--text); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin: 0; }
.chips li {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

/* ---------- lists ---------- */

.list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 3rem; }
.list-block { border-top: 2px solid var(--ink); padding-top: 1rem; }
.list-head { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.4rem; }
.list-head h3 { font-size: 1.15rem; margin: 0; }
.list-head a { color: var(--ink); text-decoration: none; }
.list-head a:hover { color: var(--accent-dark); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.link-list a { color: var(--text); text-decoration: none; font-size: 0.93rem; }
.link-list a:hover { color: var(--accent-dark); }
.link-list span {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  flex: 0 0 auto;
}

.other-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.other-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}
.other-list a:hover { border-color: var(--accent); }
.other-list i { margin-left: auto; font-style: normal; color: var(--accent); }

/* ---------- article ---------- */

.article-head { margin-bottom: 2rem; }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 24ch; margin-bottom: 0.4em; }
.byline { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); margin: 1rem 0 0; }
.byline a { color: var(--accent-dark); text-decoration: none; }

.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; align-items: start; }
.article-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.side-card .eyebrow { margin-bottom: 0.55rem; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.toc a { color: var(--text); text-decoration: none; font-size: 0.85rem; }
.toc a:hover { color: var(--accent-dark); }
.side-cat {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.side-line {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0;
  padding: 0.35rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
  color: var(--muted);
}
.side-line b { color: var(--text); font-weight: 600; }
.side-tip p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.prose { max-width: 72ch; font-size: 1.05rem; line-height: 1.78; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 2.1em 0 0.55em; }
.prose p { margin: 0 0 1.15em; }
.prose a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }

.shot {
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  border-top: 1px solid var(--line);
}

.faq { margin-top: 2.6rem; }
.faq h2 { font-size: 1.5rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.2rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 2rem 0.95rem 0;
  position: relative;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.15rem;
  top: 0.8rem;
  font-family: var(--mono);
  color: var(--accent);
  font-size: 1.1rem;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 0 1rem; margin: 0; font-size: 0.96rem; }

.author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.6rem;
  padding: 1.3rem 1.4rem;
  background: var(--tint);
  border-radius: var(--radius);
}
.author-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #67e8f9;
  font-weight: 700;
  font-size: 1.2rem;
}
.author-box h2 { font-size: 1rem; margin-bottom: 0.3em; }
.author-box p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.read-next {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
}
.read-next h2 { font-size: 1.25rem; margin-bottom: 0.35em; }
.read-next h2 a { color: var(--ink); text-decoration: none; }
.read-next h2 a:hover { color: var(--accent-dark); }
.read-next p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- info ---------- */

.info-prose { max-width: 76ch; }
.info-prose h2 { font-size: 1.4rem; }

/* ---------- footer ---------- */

.site-foot { background: var(--ink); color: #c6d4e2; margin-top: 0; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 0.9fr;
  gap: 2.2rem;
  padding: 3.2rem 0 2.6rem;
}
.site-foot .brand { color: #ffffff; margin-bottom: 1rem; }
.site-foot .brand-mark { background: rgba(255, 255, 255, 0.1); }
.foot-brand p { font-size: 0.9rem; color: #a9bacb; max-width: 40ch; }
.foot-note { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.06em; color: #7f97ad; margin: 0; }
.foot-col h2 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa6bb;
  margin-bottom: 1rem;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 0.5rem; }
.foot-col li a {
  color: #c6d4e2;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 0.5rem;
}
.foot-col li a span { font-family: var(--mono); font-size: 0.58rem; color: #67e8f9; padding-top: 0.18rem; }
.foot-col li a:hover { color: #ffffff; }
.foot-readout li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--mono);
  font-size: 0.64rem;
  color: #8fa6bb;
}
.foot-readout li b { color: #ffffff; font-weight: 600; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: #8fa6bb;
}
.foot-bottom p { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .article-shell { grid-template-columns: minmax(0, 1fr) 250px; gap: 2rem; }
}

@media (max-width: 960px) {
  .head-bar { min-height: 64px; gap: 0.8rem; }
  .head-cta { display: none; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .article-shell { grid-template-columns: 1fr; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
  .side-tip { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 54px 0; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, 1180px); }
  .narrow { width: min(100% - 32px, 860px); }
  .brand-word { font-size: 0.85rem; }
  .head-nav > a { padding: 0.45rem 0.55rem; font-size: 0.88rem; }
  .nav-panel { right: -40px; width: 230px; }
  .cat-strip .container { width: 100%; padding-inline: 8px; }
  .hero-inner { padding: 56px 0 40px; }
  .hero h1 { font-size: clamp(2rem, 9.2vw, 2.7rem); }
  .hero-lede { font-size: 1rem; }
  .hero-stats { gap: 1.1rem; }
  .hero-stats b { font-size: 1.35rem; }
  .hero-float { padding-bottom: 36px; }
  .float-card { padding: 1.1rem 1.2rem; }
  .section { padding: 42px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .section-head > .text-link { margin-bottom: 0; }
  .cat-tiles, .card-grid, .list-grid, .other-list { grid-template-columns: 1fr; }
  .cat-tile { min-height: 0; }
  .article-side { grid-template-columns: 1fr; }
  .page-pad { padding: 26px 0 60px; }
  .page-head h1 { font-size: clamp(1.8rem, 8.6vw, 2.4rem); }
  .prose { font-size: 1rem; }
  .shot { margin-inline: -8px; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.4rem 0 2rem; }
  .foot-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .brand-word { display: none; }
  .head-nav { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .cat-tile:hover, .guide-card:hover, .btn:hover { transform: none; }
  .guide-card:hover .guide-media img { transform: none; }
}
