/* Light only, by choice. Colour: hanji cream with traditional Korean inks (indigo, rose-red, pine).
   Layout: risograph prints pinned to a paper wall. Text column beside a tilted print, alternating sides, broken up by two-up pairs.
   Type: Black Han Sans headings, IBM Plex Sans KR text, three sizes (--fs-s, --fs-m, --fs-l) and two weights (--fw-regular, --fw-bold).
   Long-form guides add one size, --fs-h2, so a page of section headings doesn't shout. Guides have no callout boxes:
   a tip is a plain sentence, a dated status line uses the homepage's .news strip, and pictures are taped prints.
   Black Han Sans ships one weight, so headings use --fw-regular.
   Shared by the Korean page at / and the English page at /en/. The .alt gloss is the other language's word beside a heading or tile. */
:root {
  color-scheme: light;
  --wall: #EEE8DA;
  --wall-2: #E3DBCA;
  --surface: #F8F5EE;
  --paper: #F7F2E7;
  --paper-ink: #1A2033;
  --ink: #1A2033;
  --ink-2: #535A6D;
  --rule: #D2CBBB;
  --teal: #3A6C50;
  --red: #AE3546;
  --yellow: #C99234;
  --blue: #1F3A75;
  --shadow: rgba(30, 35, 60, .22);
  --grain: .07;
  --night: #1B2A52;
  --night-fg: #F2ECE0;
  --paper-blue: #24438A;
  --paper-green: #3E7D5A;

  --font: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-head: "Black Han Sans", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --fs-s: .875rem;
  --fs-m: 1.0625rem;
  --fs-l: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem);
  --fs-h2: clamp(1.35rem, 1.1rem + .9vw, 1.8rem);
  --fw-regular: 400;
  --fw-bold: 600;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: var(--fw-regular) var(--fs-m)/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b, strong, h4 { font-weight: var(--fw-bold); }
input, select, button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.small { font-size: var(--fs-s); line-height: 1.5; }
html:lang(ko) { word-break: keep-all; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3, .mark, .fact b, .steps li::before {
  font-family: var(--font-head);
}
h1, h2, h3 {
  font-size: var(--fs-l);
  font-weight: var(--fw-regular);
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0;
}
p { margin: 0; text-wrap: pretty; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .8em 1.3em;
  border-radius: 999px;
  font-weight: var(--fw-bold);
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
  cursor: pointer;
}
.btn-solid { background: var(--ink); color: var(--wall); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn-ghost:hover { background: var(--ink); color: var(--wall); }
.btn svg { width: 1.1em; height: 1.1em; }

/* header */
.top { padding-block: 22px; }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.mark { display: flex; align-items: baseline; gap: .4em; text-decoration: none; font-weight: var(--fw-regular); }
.mark span { color: var(--teal); white-space: nowrap; }
@media (max-width: 520px) { .top .mark span { display: none; } }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav .btn { padding: .65em 1.1em; white-space: nowrap; }
.nav .lang { margin-left: 4px; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } .nav { gap: 10px; } }
@media (max-width: 520px) { .nav .btn { font-size: var(--fs-s); } }

/* hero */
.hero { padding-block: clamp(24px, 5vw, 64px) clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-text { display: grid; gap: 24px; min-width: 0; }
.hero h1 .world { color: var(--blue); }
.hero .lede { color: var(--ink-2); max-width: 34em; }
.hero .lede strong { color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .ctas .btn { flex: 1 1 100%; justify-content: center; } }
.hero-print { position: relative; margin: 0; }
.hero-print img { transform: rotate(1.6deg); filter: drop-shadow(0 22px 30px var(--shadow)); animation: settle 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes settle { from { transform: translateY(-18px) rotate(-3deg); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-print { max-width: 440px; justify-self: center; }
}

/* the gap */
.gap { background: var(--wall-2); padding-block: clamp(64px, 9vw, 120px); border-block: 1px solid var(--rule); }
.gap .wrap { display: grid; gap: clamp(40px, 6vw, 64px); }
.gap-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.gap-head .body { display: grid; gap: 16px; color: var(--ink-2); }
.gap-head .body strong { color: var(--ink); }
.cities { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; background: var(--surface); }
.city { padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px; align-content: start; }
.city + .city { border-left: 2px solid var(--ink); }
.city-name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.city-name .alt { font-size: var(--fs-l); font-weight: var(--fw-bold); color: var(--c); }
.city ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.city li { display: flex; gap: 12px; align-items: baseline; }
.city li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--c); transform: translateY(-1px); }
.city .verdict { font-weight: var(--fw-bold); padding-top: 14px; border-top: 1px dashed var(--rule); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.fact { padding: 22px 22px 0 0; display: grid; gap: 6px; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--rule); }
.fact b { font-weight: var(--fw-regular); font-size: var(--fs-l); line-height: 1.15; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact span { color: var(--ink-2); }
.news { display: grid; grid-template-columns: auto 1fr; gap: 18px 24px; align-items: center; padding: 22px 26px; border-radius: 18px; background: var(--night); color: var(--night-fg); }
.news .stamp { font-size: var(--fs-s); font-weight: var(--fw-bold); line-height: 1.2; padding: .5em .8em; border: 1.5px solid currentColor; border-radius: 6px; color: var(--yellow); white-space: nowrap; }
.news p { max-width: 62em; }
@media (max-width: 760px) {
  .gap-head, .cities { grid-template-columns: 1fr; }
  .city + .city { border-left: 0; border-top: 2px solid var(--ink); }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 18px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--rule); }
  .news { grid-template-columns: 1fr; }
  .news .stamp { justify-self: start; }
}

/* services */
.services { padding-block: clamp(72px, 10vw, 130px) 0; }
.services-intro { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(56px, 8vw, 96px); }
.services-intro > p { color: var(--ink-2); }
.parts { display: flex; flex-wrap: wrap; gap: 10px; }
.parts a { text-decoration: none; display: inline-flex; gap: .5em; align-items: baseline; padding: .5em .95em; border: 1.5px solid var(--rule); border-radius: 999px; }
.parts a:hover { border-color: var(--ink); }
.parts .alt { color: var(--teal); font-weight: var(--fw-bold); }

.chapter { display: grid; gap: 12px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); margin-bottom: clamp(48px, 7vw, 88px); scroll-margin-top: 24px; }
.chapter h2 .alt { color: var(--c); margin-left: .3em; }
.chapter .chapter-lede { color: var(--ink-2); max-width: 38em; }
.part { padding-bottom: clamp(72px, 10vw, 130px); }

.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.svc + .svc, .svc + .pair, .pair + .svc, .search + .svc { margin-top: clamp(72px, 10vw, 128px); }
.svc.flip .print { order: -1; }
.svc-text { display: grid; gap: 16px; min-width: 0; }
.svc-text > p { color: var(--ink-2); }
.gets { list-style: none; margin: 4px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 10px; }
.gets li { display: flex; gap: 12px; align-items: baseline; }
.gets li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--c, var(--teal)); border-radius: 2px; transform: translateY(-1px) rotate(45deg); }

.print { position: relative; margin: 0; min-width: 0; }
.print img { transform: rotate(var(--tilt, -1.2deg)); filter: drop-shadow(0 18px 26px var(--shadow)); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.print:hover img { transform: rotate(0deg) translateY(-4px); }
.print.taped::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 50%;
  width: 118px;
  height: 30px;
  transform: translateX(-50%) rotate(-4deg);
  background: color-mix(in srgb, var(--tape, var(--yellow)) 62%, transparent);
  clip-path: polygon(2% 8%, 98% 0, 100% 92%, 0 100%);
}
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc.flip .print { order: 0; }
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pair .svc-text { padding-top: 34px; }
@media (max-width: 860px) { .pair { grid-template-columns: 1fr; } }

/* visibility map compare */
.compare { --split: 50%; }
.compare-frame { position: relative; filter: drop-shadow(0 18px 26px var(--shadow)); }
.compare-frame img { filter: none; transform: none; }
.compare-frame .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.compare-frame .divider { position: absolute; top: 3%; bottom: 3%; left: var(--split); width: 3px; margin-left: -1.5px; background: var(--paper-ink); pointer-events: none; }
.compare-frame .knob { position: absolute; top: 50%; left: var(--split); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--paper-ink); color: var(--paper); display: grid; place-items: center; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.compare-frame .knob svg { width: 26px; height: 26px; }
.compare-frame .tag { position: absolute; top: 6%; padding: .35em .7em; border-radius: 6px; font-size: var(--fs-s); font-weight: var(--fw-bold); line-height: 1.2; background: var(--paper-ink); color: var(--paper); pointer-events: none; }
.compare-frame .tag-before { left: 5%; }
.compare-frame .tag-after { right: 5%; background: var(--paper-green); color: #fff; }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(input:focus-visible) .compare-frame { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 8px; }

/* search phrases */
.search { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(72px, 10vw, 128px); }
.queries { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(18px, 3vw, 30px); background: var(--paper); color: var(--paper-ink); border-radius: 20px; transform: rotate(.8deg); box-shadow: 0 18px 30px var(--shadow); min-width: 0; font-size: var(--fs-s); line-height: 1.4; }
.qcol { display: grid; gap: 10px; align-content: start; min-width: 0; }
.qcol h4 { margin: 0 0 4px; font-size: var(--fs-s); color: #5a625f; }
.q { display: flex; align-items: center; gap: 10px; padding: .62em .9em; border: 2px solid var(--paper-ink); border-radius: 999px; background: #fff; overflow-wrap: anywhere; }
.q svg { width: 16px; height: 16px; flex: none; }
.ask { padding: .8em 1em; border-radius: 16px 16px 16px 4px; background: var(--paper-blue); color: #fff; overflow-wrap: anywhere; }
.ask:nth-child(odd) { background: var(--paper-green); }
@media (max-width: 860px) { .search { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .queries { grid-template-columns: 1fr; transform: none; } }

/* who */
.who { background: var(--wall-2); border-block: 1px solid var(--rule); padding-block: clamp(64px, 9vw, 120px); }
.who .wrap { display: grid; gap: 40px; }
.who-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.who-head p { color: var(--ink-2); }
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.tiles li { display: grid; gap: 4px; padding: 18px; background: var(--surface); border: 1.5px solid var(--rule); border-radius: 16px; min-width: 0; }
.tiles .alt { font-weight: var(--fw-bold); color: var(--c); word-break: keep-all; }
.tiles span:last-child { font-size: var(--fs-s); }
.who-note { color: var(--ink-2); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .who-head { grid-template-columns: 1fr; } }

/* how */
.how { padding-block: clamp(72px, 10vw, 130px); }
.how .wrap { display: grid; gap: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 0 clamp(18px, 3vw, 36px) 0 0; display: grid; gap: 12px; align-content: start; counter-increment: s; }
.steps li + li { padding-left: clamp(18px, 3vw, 36px); border-left: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-size: var(--fs-l); font-weight: var(--fw-regular); line-height: 1; color: var(--c); }
.steps p { color: var(--ink-2); }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps li, .steps li + li { padding: 0; border: 0; }
}

/* faq */
.faq { padding-bottom: clamp(72px, 10vw, 130px); }
.faq .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 80px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font-weight: var(--fw-bold); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--fs-l); font-weight: var(--fw-regular); line-height: 1; color: var(--teal); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }
@media (max-width: 820px) { .faq .wrap { grid-template-columns: 1fr; } }

/* start */
.start { padding-bottom: clamp(56px, 8vw, 100px); }
.start-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(26px, 5vw, 60px); border-radius: 28px; background: var(--night); color: var(--night-fg); }
.start-card .copy { display: grid; gap: 18px; align-content: start; }
.start-card .copy p { color: color-mix(in srgb, var(--night-fg) 78%, transparent); }
form { display: grid; gap: 14px; min-width: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-s); font-weight: var(--fw-bold); color: color-mix(in srgb, var(--night-fg) 72%, transparent); }
.field input, .field select {
  width: 100%;
  line-height: 1.3;
  padding: .8em .95em;
  border-radius: 12px;
  border: 2px solid transparent;
  background: var(--paper);
  color: var(--paper-ink);
  color-scheme: light;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--yellow); }
form .btn, .cta-go .btn { justify-content: center; background: var(--yellow); color: #15201E; border-color: var(--yellow); margin-top: 6px; }
form .status { min-height: 1.5em; font-size: var(--fs-s); color: var(--yellow); }
form .note { margin: 0; font-size: var(--fs-s); color: color-mix(in srgb, var(--night-fg) 72%, transparent); }
@media (max-width: 820px) { .start-card { grid-template-columns: 1fr; } }

/* footer */
.foot { padding-block: 40px 56px; border-top: 1px solid var(--rule); }
.foot .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 56px; align-items: start; }
.foot .meaning { margin-top: 8px; color: var(--ink-2); font-size: var(--fs-s); }
.foot .meaning a { text-decoration: none; }
.foot .meaning a:hover { text-decoration: underline; }
.fine { display: grid; gap: 8px; font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
.fine a { text-underline-offset: 2px; }
.biz { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; padding-top: 20px; border-top: 1px solid var(--rule); font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
.biz dt { font-weight: var(--fw-bold); color: var(--ink); }
.biz dd { margin: 0; }
.biz a { text-decoration: none; }
@media (max-width: 720px) { .foot .wrap { grid-template-columns: 1fr; } }

/* guides: article pages built by guides.py, and the hub at /en/guides/ */
.guide-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(16px, 4vw, 48px) clamp(48px, 7vw, 88px); }
.guide-title { display: grid; gap: 20px; min-width: 0; }
.crumbs { font-size: var(--fs-s); color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.dek { color: var(--ink-2); max-width: 34em; }
.byline { font-size: var(--fs-s); color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--rule); }
.guide-print img { --tilt: 1.4deg; }
@media (max-width: 860px) {
  .guide-head { grid-template-columns: 1fr; }
  .guide-print { max-width: 440px; justify-self: center; }
}
.guide-body { display: grid; grid-template-columns: minmax(0, 42em) minmax(0, 280px); justify-content: space-between; gap: 48px clamp(32px, 6vw, 80px); align-items: start; padding-bottom: clamp(64px, 9vw, 110px); }
@media (max-width: 960px) { .guide-body { grid-template-columns: minmax(0, 1fr); } }

.prose { min-width: 0; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h2); margin-top: 2.2em; scroll-margin-top: 24px; }
.prose h3 { font: var(--fw-bold) var(--fs-m)/1.4 var(--font); letter-spacing: 0; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding: 0; list-style: none; display: grid; gap: .5em; }
.prose li { position: relative; padding-left: 1.6em; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 8px; height: 8px; background: var(--c, var(--teal)); border-radius: 2px; transform: rotate(45deg); }
.prose ol { counter-reset: o; }
.prose ol > li { counter-increment: o; }
.prose ol > li::before { content: counter(o); position: absolute; left: 0; font-family: var(--font-head); color: var(--teal); }
.prose blockquote { margin: 1.4em 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); color: var(--ink-2); }
.prose .news { margin-block: 1.8em; }
.prose .news a { color: inherit; }
.prose .print { margin-block: 2.6em; }
.prose .print + * { margin-top: 0; }
.prose .table-wrap { overflow-x: auto; border: 1.5px solid var(--rule); border-radius: 14px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--rule); }
.prose th { font-weight: var(--fw-bold); background: var(--wall-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose .sources { margin-top: 3em; padding-top: 20px; border-top: 1px solid var(--rule); font-size: var(--fs-s); line-height: 1.6; color: var(--ink-2); }
.prose .sources h2 { font-size: var(--fs-m); margin: 0 0 10px; }
.prose .sources a { color: inherit; overflow-wrap: anywhere; }

.series { position: sticky; top: 24px; padding: 20px 22px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--rule); font-size: var(--fs-s); line-height: 1.5; }
.series-name { font-weight: var(--fw-bold); margin-bottom: 10px; }
.series ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.series a { color: var(--ink-2); text-decoration: none; }
.series a:hover { color: var(--ink); text-decoration: underline; }
.series a[aria-current] { color: var(--ink); font-weight: var(--fw-bold); }
@media (max-width: 960px) { .series { position: static; } }
.cta-go { align-content: center; justify-items: start; }

.guides-hub { padding-block: clamp(24px, 5vw, 64px) 0; }
.silo { padding-bottom: clamp(64px, 9vw, 110px); }
.silo .chapter h2 a { text-decoration: none; }
.silo .chapter h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 40px); }
.cards .lead { grid-column: span 2; grid-row: span 2; }
.cards a { display: grid; gap: 14px; text-decoration: none; font-weight: var(--fw-bold); line-height: 1.35; }
.cards .lead a { font: var(--fw-regular) var(--fs-h2)/1.2 var(--font-head); }
.cards img { filter: drop-shadow(0 12px 18px var(--shadow)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.cards li:nth-child(odd) img { transform: rotate(-1deg); }
.cards li:nth-child(even) img { transform: rotate(1deg); }
.cards a:hover img { transform: rotate(0deg) translateY(-4px); }
.cards a:hover span { text-decoration: underline; }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .cards .lead { grid-column: auto; grid-row: auto; } }

.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; }

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