    @font-face { font-family: "Brown LL Pan"; src: url("../fonts/brown-ll-pan-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
    @font-face { font-family: "Brown LL Pan"; src: url("../fonts/brown-ll-pan-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
    :root {
      --panel-r: 34px;
      --panel-gap: 6px;
      --tile-r: 18px;
      --ink: #111;
      --muted: #606060;
      --line: #dedede;
      --soft: #f5f6f6;
      --sky: #24d6ff;
      --sky-soft: #a0edff;
      --grass: #00d900;
      --lime: #37ee50;
      --radius: 26px;
      --shadow: 0 24px 70px rgba(0, 0, 0, .10);
      --max: 1240px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: "Brown LL Pan", Arial, sans-serif;
      font-size: 16px;
      line-height: 1.55;
      text-rendering: optimizeLegibility;
    }
    body.no-scroll { overflow: hidden; }
    b, strong, h4 { font-weight: 500; }
    img { display: block; max-width: 100%; }
    .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
    .icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
    .icon-arrow { width: .8em; height: .8em; }
    a { color: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { font: inherit; }
    :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

    .skip-link {
      position: fixed;
      left: 16px;
      top: -60px;
      z-index: 1000;
      padding: 12px 16px;
      background: #000;
      color: #fff;
      border-radius: 10px;
    }
    .skip-link:focus { top: 12px; }

    .wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, .94);
      border-bottom: 1px solid rgba(0, 0, 0, .08);
      backdrop-filter: blur(16px);
    }
    .header-row {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .logo { width: 214px; height: auto; }
    .nav { display: flex; align-items: center; gap: 8px; }
    .nav a {
      text-decoration: none;
      padding: 10px 12px;
      border-radius: 999px;
      font-size: .88rem;
    }
    .nav a:hover { background: var(--soft); }
    .nav .nav-cta { background: #000; color: #fff; padding-inline: 18px; }
    .menu-button { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }

    .hero {
      min-height: calc(100svh - 76px);
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
      align-items: center;
      gap: clamp(40px, 7vw, 96px);
      padding-block: 64px 76px;
    }
    .eyebrow {
      margin: 0 0 20px;
      color: #3b3b3b;
      font-size: .82rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
    }
    h1, h2, h3, p { margin-top: 0; }
    h1 {
      max-width: 720px;
      margin-bottom: 24px;
      font-size: clamp(3rem, 6.2vw, 5.6rem);
      line-height: 1;
      font-weight: 400;
    }
    .quote-card {
      max-width: 680px;
      padding: 24px 28px;
      border-radius: 24px;
      background: var(--soft);
    }
    .lead {
      margin-bottom: 16px;
      font-size: clamp(1.08rem, 1.5vw, 1.25rem);
      line-height: 1.45;
    }
    .signature { margin: 0; color: var(--muted); font-size: .92rem; }
    .signature strong { color: #000; display: block; }
    .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
    .btn {
      min-height: 50px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 13px 22px;
      border: 1px solid transparent;
      border-radius: 999px;
      background: #fff;
      color: #000;
      text-decoration: none;
      font-weight: 400;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.1); }
    .btn-primary { background: #000; color: #fff; }
    .btn-sky { background: var(--sky-soft); }
    .btn-accent { border-color: transparent; background: linear-gradient(90deg, var(--sky), var(--lime)); }
    .btn-small { min-height: 42px; padding: 9px 14px; font-size: .82rem; }
    .hero-visual { position: relative; }
    .hero-visual::before {
      content: "";
      position: absolute;
      inset: -18px 9% 14% -18px;
      z-index: -1;
      border-radius: 36px;
      background: linear-gradient(135deg, var(--sky-soft), var(--lime));
    }
    .cover-frame {
      --cover-r: 36px;
      --cover-pad: 12px;
      margin: 0;
      padding: var(--cover-pad) var(--cover-pad) 0;
      border-radius: var(--cover-r);
      background: #fff;
      box-shadow: var(--shadow);
      transform: rotate(1.5deg);
    }
    /* The JPEG keeps the white margins and crop marks of the print file: crop to the artwork (1512x734 of 1600x822). */
    .cover-crop {
      overflow: hidden;
      aspect-ratio: 1512 / 734;
      border-radius: calc(var(--cover-r) - var(--cover-pad));
    }
    .cover-crop img { width: 105.82%; max-width: none; margin: -2.91% 0 0 -2.91%; }
    .cover-note {
      padding: 16px 8px 18px;
      font-size: .86rem;
    }
    .cover-note strong { font-size: 1.1rem; }

    .section { padding-block: 100px; }
    .section-soft { background: var(--soft); }
    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 42px;
    }
    .section-heading h2 {
      margin-bottom: 0;
      max-width: 760px;
      font-size: clamp(2rem, 4.2vw, 4.4rem);
      line-height: 1.05;
      font-weight: 400;
    }
    .section-heading p { margin-bottom: 4px; color: var(--muted); max-width: 430px; }

    .welcome-title { margin-bottom: clamp(32px, 4vw, 56px); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.08; font-weight: 400; }
    .welcome-grid {
      display: grid;
      grid-template-columns: minmax(420px, .95fr) minmax(0, 1.05fr);
      gap: clamp(36px, 5vw, 72px);
      align-items: center;
    }
    .portrait { --portrait-r: 30px; --portrait-pad: 12px; margin: 0; padding: var(--portrait-pad); border-radius: var(--portrait-r); background: #fff; box-shadow: var(--shadow); }
    .portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
    .welcome-copy p { font-size: 1.04rem; max-width: 760px; }
    .welcome-copy p:last-child { margin-bottom: 0; }
    .welcome-copy .big-quote { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.34; }

    .explorer-shell {
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }
    .country-tabs {
      display: grid;
      grid-template-columns: repeat(10, minmax(0, 1fr));
      gap: 6px;
      overflow: visible;
      align-items: end;
      padding: 0;
      border: 0;
      background: transparent;
    }
    .country-tab {
      min-width: 0;
      width: 100%;
      min-height: 46px;
      margin-bottom: 0;
      padding: 11px 6px 12px;
      border: 1px solid var(--line);
      border-bottom: 0;
      border-radius: 16px 16px 0 0;
      background: rgba(255,255,255,.72);
      cursor: pointer;
      font-weight: 500;
      font-size: .82rem;
      white-space: nowrap;
      color: var(--ink);
    }
    .country-tab:hover { background: rgba(255,255,255,.96); }
    .country-tab[aria-selected="true"] {
      position: relative;
      z-index: 1;
      color: var(--tab-ink, #fff);
      background: var(--tab-color, var(--country-color));
      border-color: var(--tab-color, var(--country-color));
    }
    .country-panel {
      min-height: 650px;
      overflow: hidden;
      border-radius: 0 0 var(--panel-r) var(--panel-r);
      color: var(--country-ink, #fff);
      background: var(--country-color, var(--sky));
      box-shadow: 0 18px 54px rgba(0,0,0,.10);
      transition: background-color .2s ease;
    }
    .detail-hero {
      position: relative;
      min-height: 400px;
      color: var(--country-ink, #fff);
      background: var(--country-color, var(--sky));
    }
    .detail-copy { position: relative; z-index: 1; max-width: min(68%, 780px); padding: clamp(32px, 6vw, 72px); }
    .detail-copy h3 { margin-bottom: 18px; font-size: clamp(2.1rem, 4.8vw, 4.8rem); line-height: 1; font-weight: 400; }
    .detail-copy p { color: inherit; }
    .detail-copy .actions { margin-bottom: 0; }
    .country-panel .eyebrow { color: inherit; }
    .country-art {
      position: absolute;
      inset: 0;
      overflow: hidden;
      pointer-events: none;
    }
    /* Ornaments are crops of the print pages: --ornament-ratio is the crop's own ratio, so they are never stretched. */
    .country-pattern {
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
      aspect-ratio: var(--ornament-ratio);
      background-repeat: no-repeat;
      background-size: 100% 100%;
    }
    .stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--panel-gap); padding: var(--panel-gap); background: var(--country-color, var(--sky)); }
    .stat { padding: 24px; color: #111; background: rgba(255,255,255,.94); border-radius: var(--tile-r); }
    .stat b { display: block; margin-bottom: 6px; color: var(--country-color); font-size: clamp(1.1rem, 2vw, 1.7rem); line-height: 1.1; }
    .stat span { color: var(--muted); font-size: .82rem; }
    .detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--panel-gap); padding: 0 var(--panel-gap) var(--panel-gap); background: var(--country-color, var(--sky)); }
    .detail-block { padding: clamp(28px, 4vw, 50px); color: #111; background: rgba(255,255,255,.94); border-radius: var(--tile-r); }
    /* Nested radius: outer radius minus the gap between the shapes. */
    .detail-block:nth-last-child(2) { border-bottom-left-radius: calc(var(--panel-r) - var(--panel-gap)); }
    .detail-block:last-child { border-bottom-right-radius: calc(var(--panel-r) - var(--panel-gap)); }
    .detail-block h4 { margin: 0 0 22px; font-size: 1.3rem; }
    .clean-list, .route-list { list-style: none; margin: 0; padding: 0; }
    .clean-list li { position: relative; padding: 0 0 14px 24px; }
    .clean-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--country-color, var(--sky)); }
    .phrase-list { display: grid; gap: 10px; }
    .phrase-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; padding-block: 10px; border-bottom: 1px solid var(--line); }
    .phrase-row:last-child { border-bottom: 0; }
    .phrase-row strong { font-weight: 500; }
    .phrase-row span { color: var(--muted); }
    /* Brown LL Pan has no such letters: set the whole phrase in one face rather than mix two inside a word. */
    .phrase-row .alt-font { font-family: Arial, sans-serif; font-weight: bold; }
    .route-list { counter-reset: route; }
    .route-list li { counter-increment: route; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 0 0 18px; }
    .route-list li::before { content: counter(route, decimal-leading-zero); color: var(--muted); font-size: .76rem; padding-top: 3px; }
    .audio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
    .audio-card { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border-radius: 20px; background: #fff; }
    .audio-card img { width: 140px; border-radius: 10px; }
    .audio-card strong { display: block; margin-bottom: 10px; font-size: 1.1rem; line-height: 1.3; }
    .audio-card a { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 500; text-underline-offset: 3px; }
    .audio-card .icon { width: 12px; height: 12px; }

    .download-band {
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
      gap: 42px;
      padding: clamp(34px, 6vw, 72px);
      border-radius: 36px;
      background: linear-gradient(120deg, #a0edff 0%, #24d6ff 38%, #37ee50 100%);
    }
    .download-band h2 { margin-bottom: 18px; font-size: clamp(2.3rem, 5vw, 5rem); line-height: 1.04; font-weight: 400; }
    .download-band p { max-width: 680px; }
    .download-links { display: grid; gap: 12px; align-content: center; }
    .download-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 22px;
      border: 1px solid rgba(0,0,0,.2);
      border-radius: 20px;
      background: rgba(255,255,255,.8);
      text-decoration: none;
      font-weight: 500;
    }
    .download-link:hover { background: #fff; }
    .download-link .icon { width: 20px; height: 20px; }
    .download-link .icon-arrow { width: 16px; height: 16px; }

    /* Same control as .button-return on the main site. */
    .to-top {
      position: fixed;
      z-index: 40;
      bottom: 40px;
      left: min(calc(50% + 630px), calc(100% - 75px));
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: #f2fcf2;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s ease, background-color .2s ease;
    }
    .to-top.active { opacity: 1; pointer-events: auto; }
    .to-top:hover { background: #e9fbe9; }
    .to-top .icon { width: 34px; height: 34px; fill: #1bce1b; opacity: .6; transition: opacity .2s ease; }
    .to-top:hover .icon { opacity: 1; }

    footer { border-top: 1px solid var(--line); padding-block: 40px; }
    .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
    .footer-row p { margin: 0; color: var(--muted); font-size: .82rem; }
    .footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
    .footer-links a { font-size: .82rem; text-underline-offset: 3px; }

    @media (max-width: 1120px) {
      .country-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
      .country-tab { border: 1px solid var(--line); border-radius: 999px; }
      .country-panel { --panel-r: 28px; margin-top: 8px; border-radius: var(--panel-r); }
      .phrase-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .audio-card { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 14px; }
      .audio-card img { width: 100px; }
      .audio-card strong { font-size: 1rem; }
    }

    @media (max-width: 1410px) {
      .to-top { bottom: 15px; }
    }

    @media (max-width: 980px) {
      .hero { grid-template-columns: 1fr; min-height: auto; }
      .hero-visual { max-width: 760px; }
      .detail-hero { min-height: 0; }
      .detail-copy { max-width: none; padding-bottom: 24px; }
      .country-art { position: relative; inset: auto; height: 240px; }
      .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
      .download-band { grid-template-columns: 1fr; }
    }

    @media (max-width: 760px) {
      .wrap { width: min(100% - 28px, var(--max)); }
      .header-row { min-height: 68px; }
      .logo { width: 174px; }
      .menu-button { display: inline-flex; }
      .nav {
        position: fixed;
        inset: 68px 14px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: #fff;
        box-shadow: var(--shadow);
      }
      .nav.open { display: flex; }
      .nav a { padding: 14px; }
      .hero { padding-block: 54px 72px; gap: 46px; }
      h1 { font-size: clamp(2.5rem, 16vw, 5rem); }
      .quote-card { padding: 20px; }
      .hero-visual { margin-top: 12px; }
      .hero-visual::before { inset: -12px 6px 12px; border-radius: 26px; }
      .cover-frame { --cover-r: 26px; --cover-pad: 10px; margin-inline: 6px; }
      .section { padding-block: 72px; }
      .section-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
      .welcome-grid { grid-template-columns: 1fr; }
      .portrait { max-width: 560px; }
      .country-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
      .detail-copy { padding: 28px 22px 20px; }
      .country-art { height: 180px; }
      .stats { grid-template-columns: 1fr 1fr; }
      .stat { padding: 20px 18px; }
      .detail-grid { grid-template-columns: minmax(0, 1fr); }
      .detail-block { padding: 30px 24px; }
      .detail-block:nth-last-child(2) { border-bottom-left-radius: var(--tile-r); }
      .detail-block:last-child { border-bottom-left-radius: calc(var(--panel-r) - var(--panel-gap)); }
      .audio-card { grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 16px; }
      .audio-card img { width: 140px; }
      .audio-card strong { font-size: 1.1rem; }
      .download-band { padding: 34px 24px; border-radius: 26px; }
      .footer-row { align-items: start; flex-direction: column; }
      .to-top { left: auto; right: 14px; width: 52px; height: 52px; }
      .to-top .icon { width: 28px; height: 28px; }
    }

    @media (max-width: 440px) {
      .actions .btn { width: 100%; }
      .stats { grid-template-columns: 1fr; }
      .audio-card { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 14px; }
      .audio-card img { width: 104px; }
      .audio-card strong { font-size: 1rem; }
      .phrase-row { grid-template-columns: 1fr; gap: 2px; }
    }

    @media (max-width: 360px) {
      .detail-block { padding: 24px 18px; }
      .audio-card { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 12px; }
      .audio-card img { width: 76px; }
      .audio-card strong { font-size: .95rem; }
      .audio-card a { font-size: .88rem; }
    }

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

    section[id] { scroll-margin-top: 145px; }
    /* Clean print artifacts without modifying source files. */
    .portrait-crop { overflow: hidden; aspect-ratio: 1; border-radius: calc(var(--portrait-r) - var(--portrait-pad)); }
    .portrait-crop img { width: 108%; max-width: none; transform: translate(-4%, -4%); aspect-ratio: 1; }
