/* Migracion.my: generated by the site builder. design=ticket, layout=mirrored, palette=palm, font=slab, favicon=ring */
@font-face { font-family: "Site Display"; src: url("https://www.migracion.my/assets/fonts/zilla-slab-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Site Display"; src: url("https://www.migracion.my/assets/fonts/zilla-slab-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Site Body"; src: url("https://www.migracion.my/assets/fonts/work-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Site Body"; src: url("https://www.migracion.my/assets/fonts/work-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Site Body"; src: url("https://www.migracion.my/assets/fonts/work-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
:root {
  --paper: #F4F7F1; --surface: #FCFDFB; --ink: #1A2A1F; --muted: #606C62;
  --line: #D5DAD4; --line-strong: #AEB5AE;
  --accent: #2F7D4F; --accent-strong: #286B44; --on-accent: #FFFFFF; --link: #2F7D4F;
  --sun: #F59E5B; --on-sun: #1A2A1F; --perf: rgba(255, 255, 255, 0.45); --perf-stub: rgba(26, 42, 31, 0.45); --focus: #2F7D4F;
  --pulse: rgba(47, 125, 79, 0.45); --wave-back: rgba(244, 247, 241, 0.35); --shadow: rgba(26, 42, 31, 0.35);
  --chart: #2F7D4F; --chart-strong: #296441; --utility-bg: #25623E;
  --board-bg: #1A2A1F; --board-ink: #F4F7F1; --board-muted: #B3BAB2;
  --board-line: rgba(244, 247, 241, 0.18); --board-line-strong: rgba(244, 247, 241, 0.45);
  --footer-bg: #1A2A1F; --footer-ink: #F4F7F1; --footer-muted: #B3BAB2;
  --footer-link: #F59E5B; --footer-line: rgba(244, 247, 241, 0.2);
  --radius: 3px; --radius-sm: 2px; --radius-box: 3px; --radius-input: 2px;
  --font-display: "Site Display", Georgia, "Times New Roman", serif;
  --font-body: "Site Body", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display-weight: 700; --tracking: -0.01em; --h1: clamp(2.4rem, 5.6vw, 4.3rem);
  --stub: 6.75rem; --tilt: -3deg;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--tracking); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance;
}
.wrap { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.nw { white-space: nowrap; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .6rem 1rem;
  background: var(--surface); color: var(--ink); border-radius: var(--radius-input);
}
.skip:focus { top: 1rem; }

/* Header and menus */
.site-header { position: relative; z-index: 20; }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 2rem; padding-block: 1rem;
}
.brand, .footer-brand {
  display: inline-flex; align-items: center; gap: .65rem; text-decoration: none;
  font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--tracking); font-size: 1.3rem; line-height: 1.15;
}
.brand { color: var(--ink); }
.brand img, .footer-brand img { width: 34px; height: 34px; flex: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
.nav a, .menu > summary {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem 0; color: var(--ink); font-weight: 500;
  text-decoration: none; border-bottom: 2px solid transparent; cursor: pointer;
}
.nav a:hover, .menu > summary:hover { border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after {
  content: ""; width: .42rem; height: .42rem; margin-left: .1rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .15s;
}
.menu[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.menu-panel {
  position: absolute; z-index: 40; top: calc(100% + .5rem); left: 0; padding: 1rem 1.1rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius-box); box-shadow: 0 20px 44px -20px var(--shadow);
}
.menu-right .menu-panel { left: auto; right: 0; }
@media (min-width: 761px) {
  .site-header .wrap { position: relative; }
  .nav .menu:not(.menu-right) { position: static; }
  .nav .menu:not(.menu-right) .menu-panel { left: auto; right: 0; top: calc(100% - .4rem); }
}
.menu-heading { margin: 0 0 .45rem; font-size: .85rem; font-weight: 700; color: var(--muted); }
.site-header .nav .menu-panel ul, .utility .menu-panel ul { display: block; }
.site-header .menu-panel a, .utility .menu-panel a {
  display: flex; align-items: center; gap: .6rem; padding: .35rem .3rem; border: 0; border-radius: 6px;
  color: var(--ink); font-weight: 500; text-decoration: none; background: none;
}
.site-header .menu-panel a:hover, .utility .menu-panel a:hover { background: var(--paper); text-decoration: underline; }
.menu-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; width: min(48rem, 92vw); }
.menu-guides ul { list-style: none; margin: 0; padding: 0; }
.menu-flags ul { list-style: none; margin: 0; padding: 0; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; width: min(27rem, 88vw); }
.flag { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px var(--line); flex: none; }
.flag-lg { width: 28px; height: 21px; }
.flag-stack { display: inline-flex; flex: none; }
.flag-stack img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--paper); }
.flag-stack img + img { margin-left: -6px; }
.utility { position: relative; z-index: 25; font-size: .92rem; }
.utility .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .4rem; }
.utility p { margin: 0; }
.utility .menu > summary { padding: .15rem 0; color: inherit; }

/* Hero basics */
.hero h1 { font-size: var(--h1); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: .7rem 1.4rem; border: 2px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.btn-small { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.btn-secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }
.trust { display: flex; align-items: center; gap: .8rem; max-width: 38em; margin: 0; font-size: .95rem; color: var(--muted); }
.trust .flag-stack img { width: 22px; height: 22px; }

/* Homepage sections */
.section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.section-intro { max-width: 44em; margin-bottom: 1.75rem; color: var(--muted); }
.section-title + .guide-clusters, .section-title + .service-list, .section-title + .fact-list,
.section-title + .explore-list, .section-title + .stats-layout { margin-top: 1.5rem; }
.guide-clusters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.guide-cluster h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.guide-cluster ul, .service-list, .explore-list, .fact-list, .nation-links, .stat-tiles { list-style: none; margin: 0; padding: 0; }
.guide-cluster a { display: block; padding: .7rem 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.gt { display: block; font-weight: 700; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.guide-cluster a:hover .gt { text-decoration-thickness: 2px; }
.gd { display: block; margin-top: .2rem; font-size: .95rem; color: var(--muted); }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.service-list h3 { font-size: 1.25rem; margin-bottom: .4em; }
.service-list h3 a { color: inherit; }
.service-list p { margin: 0; color: var(--muted); }
.explore-list a { display: block; color: var(--ink); text-decoration: none; }
.explore-title {
  display: block; font-family: var(--font-display); font-weight: var(--display-weight);
  letter-spacing: var(--tracking); font-size: 1.2rem; line-height: 1.25; color: var(--link);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em;
}
.explore-list a:hover .explore-title { text-decoration-thickness: 2px; }
.explore-desc { display: block; margin-top: .3rem; color: var(--muted); }
.fact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.fact-list li { display: flex; flex-direction: column; gap: .35rem; }
.fact-num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--chart); }
.fact-label { font-weight: 600; }
.fact-list a { margin-top: auto; font-size: .95rem; }
.nation-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: .6rem; }
.nation-links a {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; color: var(--ink); font-weight: 600;
  text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-input);
}
.nation-links a:hover { border-color: var(--accent); }

/* Stats, counters and charts */
.stats-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.75rem; margin: 1.5rem 0; }
.prose .stat-tiles { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); padding: 0; }
.stat-tiles li { display: flex; flex-direction: column; gap: .3rem; padding-top: .9rem; border-top: 3px solid var(--chart); margin: 0; }
.stat-value { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .95rem; line-height: 1.4; }
.stats-source, .chart-source { margin: 0; font-size: .85rem; color: var(--muted); }
.chart-figure { margin: 1.75rem 0; padding: 1.4rem 1.4rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-box); }
.stats-layout .chart-figure { margin: 0; }
.chart-figure figcaption { display: flex; flex-direction: column; gap: .2rem; margin-bottom: 1rem; }
.chart-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.15rem; line-height: 1.25; }
.chart-sub { font-size: .9rem; color: var(--muted); }
.chart-canvas { min-height: 1rem; }
.chart-table { margin: .9rem 0 .5rem; font-size: .9rem; }
.chart-table summary { cursor: pointer; color: var(--link); width: max-content; }
.chart-table table { margin-top: .5rem; border-collapse: collapse; width: 100%; }
.chart-table th, .chart-table td { padding: .35rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.chart-table td { text-align: right; font-variant-numeric: tabular-nums; }
.js .chart-figure:not(.is-ready) .chart-canvas { min-height: 12rem; }
.cc { position: relative; padding-left: 2.5rem; }
.cc-plot { position: relative; height: 15rem; margin-top: 1.75rem; border-bottom: 1px solid var(--line-strong); }
.cc-grid span { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--line); }
.cc-grid em { position: absolute; right: calc(100% + .45rem); top: -.7em; font-style: normal; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.cc-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.cc-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; outline-offset: 2px; cursor: default; }
.cc-bar {
  width: min(62%, 3.25rem); background: var(--chart); border-radius: 4px 4px 0 0;
  transform: scaleY(0); transform-origin: bottom; transition: transform .9s cubic-bezier(.2, .75, .25, 1), background .15s;
}
.cc-col:nth-child(2) .cc-bar { transition-delay: .06s; } .cc-col:nth-child(3) .cc-bar { transition-delay: .12s; }
.cc-col:nth-child(4) .cc-bar { transition-delay: .18s; } .cc-col:nth-child(5) .cc-bar { transition-delay: .24s; }
.cc-col:nth-child(6) .cc-bar { transition-delay: .3s; }
.is-in .cc-bar { transform: scaleY(1); }
.cc-val { margin-bottom: .3rem; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .2s; }
.cc-col.show .cc-val { opacity: 1; }
.cc-col:hover .cc-val, .cc-col:focus .cc-val { opacity: 1; }
.cc-col:hover .cc-bar, .cc-col:focus .cc-bar { background: var(--chart-strong); }
.cc-x { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: .45rem; font-size: .85rem; color: var(--muted); text-align: center; }
.hb { display: grid; gap: .55rem; }
.hb-row { display: grid; grid-template-columns: minmax(7rem, 15rem) minmax(0, 1fr) 3.75rem; align-items: center; gap: .75rem; font-size: .93rem; border-radius: 4px; outline-offset: 3px; }
.hb-label { line-height: 1.25; }
.hb-track { height: .85rem; }
.hb-bar { display: block; height: 100%; min-width: 3px; background: var(--chart); border-radius: 0 4px 4px 0; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .75, .25, 1), background .15s; }
.is-in .hb-bar { transform: scaleX(1); }
.hb-row:hover .hb-bar, .hb-row:focus .hb-bar { background: var(--chart-strong); }
.hb-val { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* Inner pages */
.page-head { position: relative; padding-block: clamp(2.25rem, 5.5vw, 4.25rem) clamp(1.75rem, 4vw, 2.75rem); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 24ch; }
.page-head .lead { margin: 0; }
.updated { margin: 1rem 0 0; font-size: .92rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.25rem; padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .3rem; opacity: .6; }
.breadcrumb a { color: inherit; }
.page-body { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.page-body.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.45rem; margin: 2.2rem 0 .6rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.5rem 0 .4rem; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.25rem; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.aside { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-box); }
.guide-aside { position: sticky; top: 1.25rem; }
.aside h2 { font-size: 1.1rem; margin-bottom: .5em; }
.aside * + h2 { margin-top: 1.5rem; }
.aside p:last-child { margin-bottom: 0; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { padding: .4rem 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.35; }
.aside-links li:first-child { border-top: 0; }
.aside-links [aria-current] { font-weight: 700; }
.aside-cta { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 3px solid var(--sun); }
.sources { margin: 2.5rem 0 1.5rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-box) var(--radius-box) 0; background: var(--surface); }
.prose .sources h2 { margin: 0 0 .5rem; font-size: 1.1rem; }
.sources ul { margin: 0; }
.next-guide { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-box); }
.next-guide span { font-size: .85rem; color: var(--muted); }
.next-guide a { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.2rem; }

/* Nationality cards */
.nation-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; margin: 1.25rem 0 1.75rem; }
.nation { padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-box); scroll-margin-top: 1.5rem; }
.nation:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--pulse); }
.prose .nation h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .5rem; font-size: 1.1rem; }
.prose .nation ul { margin: 0; padding-left: 1.1rem; font-size: .95rem; }

/* Widgets */
.countdown { display: flex; align-items: center; gap: 1.1rem; margin: 1.25rem 0 1.5rem; padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--sun); border-radius: 0 var(--radius-box) var(--radius-box) 0; }
.countdown-num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.6rem; line-height: 1; color: var(--chart); font-variant-numeric: tabular-nums; }
.countdown p { margin: 0; }
.calc { display: grid; gap: .6rem; margin: 1.25rem 0 1.75rem; padding: 1.25rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-box); }
.calc label { font-weight: 700; }
.calc input { width: 7rem; padding: .55rem .7rem; font: inherit; font-size: 1.15rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: var(--radius-input); }
.calc output { font-size: 1.05rem; }
.progress-box { position: sticky; top: .75rem; z-index: 5; margin: 0 0 1.75rem; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-box); box-shadow: 0 10px 24px -18px var(--shadow); }
.progress-box p { margin: 0 0 .6rem; }
.progress-bar { height: .6rem; margin-bottom: .75rem; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress-bar span { display: block; width: 0; height: 100%; background: var(--chart); border-radius: 999px; transition: width .35s; }
.prose ul.check { list-style: none; padding-left: 0; }
.prose ul.check li { display: flex; gap: .7rem; align-items: flex-start; }
.prose ul.check input { width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; flex: none; accent-color: var(--accent); }
.prose ul.check input:checked + label { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }

/* Contact form */
.contact-form { max-width: 38rem; }
.prose .form-title { margin-bottom: 1.1rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-input);
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.form-hint { margin: .75rem 0 0; font-size: .92rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: var(--surface); border: 1.5px solid var(--accent); border-radius: var(--radius-box); }
.alert:focus { outline: none; }
.alert-error { border-color: #C2362B; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert ul { margin: .25rem 0 0; padding-left: 1.25rem; }

/* Footer */
.site-footer { padding-block: 2.5rem 2rem; background: var(--footer-bg); color: var(--footer-ink); }
.footer-brand { color: var(--footer-ink); font-size: 1.15rem; }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--footer-line);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.footer-links a, .footer-guides a { color: var(--footer-ink); text-decoration: none; }
.footer-links a:hover, .footer-guides a:hover { text-decoration: underline; }
.footer-guides { margin-bottom: 1.5rem; }
.footer-heading { margin: 0 0 .5rem; font-weight: 700; font-size: .9rem; color: var(--footer-muted); }
.footer-guides ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; font-size: .95rem; }
.footer-note { max-width: 62em; font-size: .92rem; color: var(--footer-muted); }
.copyright { margin: 0; font-size: .88rem; color: var(--footer-muted); }

@media (max-width: 900px) {
  .page-body.has-aside { grid-template-columns: 1fr; }
  .guide-aside { position: static; }
  .stats-layout { grid-template-columns: 1fr; }
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .guide-clusters, .service-list { grid-template-columns: 1fr; gap: 1.5rem; }
  .brand { font-size: 1.15rem; }
  .nav ul { gap: .25rem 1.1rem; }
  .menu { position: static; }
  .menu-panel { left: 1.25rem; right: 1.25rem; width: auto; max-height: 70vh; overflow: auto; }
  .menu-right .menu-panel { left: 1.25rem; right: 1.25rem; }
  .menu-guides { grid-template-columns: 1fr; width: auto; }
  .menu-flags ul { width: auto; }
  .hb-row { grid-template-columns: minmax(0, 1fr) 3.5rem; }
  .hb-label { grid-column: 1 / -1; }
  .cc { padding-left: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cc-bar, .hb-bar, .progress-bar span { transition: none; }
}

/* Design: ticket */
.site-header { border-bottom: 1px solid var(--line); }
.nav-flags .menu > summary { padding: .3rem .8rem; border: 1.5px dashed var(--line-strong); border-radius: 999px; }
.hero { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem); overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.mirrored .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.mirrored .hero-copy { order: 2; }
.mirrored { --tilt: 3deg; }
.hero-art { display: flex; justify-content: center; filter: drop-shadow(0 22px 26px var(--shadow)); }
.ticket {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--stub);
  width: 100%; max-width: 27rem; min-height: 17rem; overflow: hidden;
  background: var(--accent); color: var(--on-accent); border-radius: var(--radius);
  transform: rotate(var(--tilt));
  -webkit-mask:
    radial-gradient(circle at calc(100% - var(--stub)) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--stub)) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(100% - var(--stub)) 0, #0000 13px, #000 13.5px) top / 100% 51% no-repeat,
    radial-gradient(circle at calc(100% - var(--stub)) 100%, #0000 13px, #000 13.5px) bottom / 100% 51% no-repeat;
  animation: ticket-in .9s cubic-bezier(.2, .75, .25, 1) .1s both;
}
.ticket-main { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.6rem 1.4rem 1.4rem 1.75rem; }
.ticket-brand { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking); font-size: 1.55rem; line-height: 1.1; overflow-wrap: anywhere; }
.ticket dl { margin: 0; }
.ticket-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.ticket-fields div:first-child { grid-column: 1 / -1; }
.ticket dt { font-size: .8rem; }
.ticket dd { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.12rem; line-height: 1.2; }
.ticket-domain { margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--perf); font-size: .88rem; overflow-wrap: anywhere; }
.ticket-stub {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 1.6rem .6rem 1.4rem; text-align: center;
  background: var(--sun); color: var(--on-sun); border-left: 2px dashed var(--perf-stub);
}
.ticket-stub dd { font-size: 1.2rem; overflow-wrap: anywhere; }
.sun { width: 46px; height: 46px; }
@keyframes ticket-in {
  from { opacity: 0; transform: translateY(1.5rem) rotate(calc(var(--tilt) * -1.5)); }
  to { opacity: 1; transform: rotate(var(--tilt)); }
}
.guides, .services { border-top: 2px dashed var(--line-strong); }
.guides { background: var(--surface); }
.guide-cluster a { border-top: 2px dashed var(--line); }
.service-list li { padding-top: 1.25rem; border-top: 2px dashed var(--line-strong); }
.stats { border-top: 2px dashed var(--line-strong); }
.explore { border-top: 2px dashed var(--line-strong); }
.explore-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.explore-list li { border-bottom: 2px dashed var(--line); }
.explore-list a { padding: 1.1rem 0; }
.page-head { border-bottom: 2px dashed var(--line-strong); }
@media (max-width: 860px) {
  .hero .wrap, .mirrored .hero .wrap { grid-template-columns: 1fr; }
  .mirrored .hero-copy { order: 0; }
  .hero-art { justify-content: flex-start; padding-inline: .5rem; }
}
@media (max-width: 720px) {
  .ticket { --stub: 5.5rem; }
  .explore-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ticket { animation: none; } }
