/*
 * The public face's only stylesheet.
 *
 * Same rules as the moderation panel's: served straight out of public/, linked
 * with asset(), no Vite entry, no framework, no build step. A landing page that
 * needs a toolchain run before it renders is a landing page that will be broken
 * on the day somebody shares a link.
 *
 * The palette is the app's, lifted value-for-value out of
 * ios/TastyMaps/Assets.xcassets — including the dark variants, so a profile
 * opened at night looks like the app it came from rather than like an inverted
 * version of the daytime page. Type is the system stack for the same reason:
 * an iPhone renders this in the face the app already uses, and nothing has to
 * be downloaded before the first paint.
 *
 * There is no photography for this product, so the visual interest is built
 * from type, colour and CSS shapes: a diary card that demonstrates the core
 * idea by repeating one restaurant four times, dot fields for maps, and three
 * accent colours used as marks rather than as fills.
 */

/* --- Tokens ----------------------------------------------------------- */

:root {
    color-scheme: light dark;

    --page: #FBF7F2;         /* Background */
    --raised: #FFFFFF;       /* BackgroundRaised */
    --ink: #221F1D;          /* Ink */
    --ink-soft: #6B615A;
    --line: #E7DDD1;         /* SeparatorLine */

    --coral: #E2543A;
    --coral-muted: #FBE9E4;
    --sage: #5F8460;
    --sage-muted: #E6EEE5;
    --amber: #E0A32E;
    --amber-muted: #FBF0DC;

    --on-accent: #FFFFFF;
    --shadow: 0 1px 2px rgba(34, 31, 29, 0.05), 0 12px 32px -18px rgba(34, 31, 29, 0.35);

    --radius: 18px;
    --radius-sm: 10px;
    --measure: 62ch;
}

@media (prefers-color-scheme: dark) {
    :root {
        --page: #13100E;
        --raised: #1E1A17;
        --ink: #F6F1EA;
        --ink-soft: #A79C92;
        --line: #39322C;

        --coral: #FF7A5C;
        --coral-muted: #3A211A;
        --sage: #8DB58C;
        --sage-muted: #1E2A1E;
        --amber: #F7C25A;
        --amber-muted: #332714;

        --on-accent: #1A1512;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px -22px rgba(0, 0, 0, 0.8);
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* --- Base ------------------------------------------------------------- */

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    margin: 0 0 0.5rem;
    line-height: 1.12;
    letter-spacing: -0.022em;
    font-weight: 700;
    text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.08rem; letter-spacing: -0.01em; }

p {
    margin: 0 0 1rem;
    max-width: var(--measure);
}

a {
    color: var(--coral);
    text-underline-offset: 3px;
    text-decoration-thickness: from-font;
}

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

code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-size: 0.88em;
    background: var(--amber-muted);
    border-radius: 5px;
    padding: 0.1em 0.4em;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

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

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }
.accent-coral { color: var(--coral); }

.eyebrow {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--coral);
}

.lede {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: var(--measure);
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 10;
    background: var(--ink);
    color: var(--page);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
}

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
    border-radius: 4px;
}

/* --- Frame ------------------------------------------------------------ */

.site-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 0 auto;
    padding: 1.6rem 1.5rem 0;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

/* A pin, not a logo file: a circle with a tail, drawn in two borders. */
.wordmark-pin {
    width: 13px;
    height: 13px;
    border-radius: 50% 50% 50% 2px;
    background: var(--coral);
    transform: rotate(45deg);
}

.site-head-tag {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

/*
 * The language switcher.
 *
 * `margin-left: auto` rather than a third grid column: the header is a wrap-
 * enabled flex row, so on a narrow screen the three names drop to their own
 * line and stay together instead of being squeezed against the tagline.
 *
 * Small, quiet and to the right — it is a control for the minority of readers
 * who need it, and it must not compete with the wordmark. The current language
 * is the one that is *not* a link, so it reads as a state rather than as a
 * fourth choice; it carries the accent so which one is on can be seen without
 * reading, and a border so it can be seen without colour.
 */
.langs {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.15rem;
    margin-left: auto;
}

.lang {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

a.lang:hover {
    background: var(--raised);
    color: var(--ink);
}

.lang-current {
    border-color: var(--line);
    background: var(--coral-muted);
    color: var(--coral);
    font-weight: 600;
}

main {
    display: block;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-foot {
    max-width: 1080px;
    margin: 4rem auto 0;
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid var(--line);
}

.site-foot-brand {
    margin: 0 0 0.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-foot p { max-width: 52ch; }

.band {
    padding: 3.5rem 0;
    border-top: 1px solid var(--line);
}

.band:first-child { border-top: 0; }

.band-raised {
    border-top: 0;
    margin-top: 1rem;
    padding: 3rem clamp(1.2rem, 4vw, 2.75rem);
    background: var(--raised);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section-head { margin-bottom: 2rem; }

.section-title {
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    margin-bottom: 1.1rem;
}

/* --- Buttons ---------------------------------------------------------- */

.button {
    display: inline-block;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    font-weight: 650;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 0.14s ease, background 0.14s ease, color 0.14s ease;
}

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

.button-primary:hover {
    background: var(--ink);
    color: var(--page);
    transform: translateY(-1px);
}

.button-outline {
    border-color: var(--line);
    background: var(--raised);
    color: var(--ink);
}

.button-outline:hover {
    border-color: var(--coral);
    color: var(--coral);
}

/*
 * Not a link, and styled so it does not read as one: the App Store URL is
 * unset, and inviting a click that goes nowhere is the point being avoided.
 */
.button-waiting {
    background: var(--amber-muted);
    color: var(--ink);
    border-color: var(--amber);
    cursor: default;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.cta-row-centre { justify-content: center; }

.cta-note {
    color: var(--ink-soft);
    font-size: 0.88rem;
}

/* --- Hero ------------------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 3.5rem;
}

.hero h1 { margin-bottom: 1.2rem; }

.hero .lede { font-size: 1.15rem; }

.hero-art {
    position: relative;
    isolation: isolate;
}

/* Two soft washes of the secondary accents, behind the card. */
.art-blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
}

.art-blob-amber {
    width: 190px;
    height: 190px;
    top: -46px;
    right: -30px;
    background: var(--amber-muted);
}

.art-blob-sage {
    width: 150px;
    height: 150px;
    bottom: -40px;
    left: -34px;
    background: var(--sage-muted);
}

/* --- The diary card (the whole pitch, drawn) -------------------------- */

.diary-card {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
}

.diary-card-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.diary-card-emoji {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--coral-muted);
    font-size: 1.25rem;
}

.diary-card-name {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.diary-card-place {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.chip {
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 650;
    white-space: nowrap;
}

.chip-sage {
    background: var(--sage-muted);
    color: var(--sage);
}

.diary-rows li {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.15rem 0.7rem;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--line);
}

.diary-rows li:last-child { border-bottom: 0; }

.diary-date {
    font-size: 0.85rem;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.diary-note {
    grid-column: 1 / -1;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.diary-card-foot {
    margin: 0.9rem 0 0;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.diary-card-foot strong { color: var(--ink); }

/* --- Rating dots ------------------------------------------------------ */

.rating {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.rating i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
}

.rating[data-rating="1"] i:nth-child(-n + 1),
.rating[data-rating="2"] i:nth-child(-n + 2),
.rating[data-rating="3"] i:nth-child(-n + 3),
.rating[data-rating="4"] i:nth-child(-n + 4),
.rating[data-rating="5"] i:nth-child(-n + 5) {
    background: var(--coral);
}

/* --- Pillars and features -------------------------------------------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.25rem;
}

.pillars h2 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.pillars p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

.pillar-mark {
    display: block;
    width: 30px;
    height: 6px;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.pillar-mark-coral { background: var(--coral); }
.pillar-mark-sage { background: var(--sage); }
.pillar-mark-amber { background: var(--amber); }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem 2.25rem;
}

.features h3 { margin-bottom: 0.35rem; }
.features p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* --- Share split and its mini map ------------------------------------ */

.share-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

.mini-map,
.plot {
    position: relative;
    aspect-ratio: 1.6;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at center, var(--line) 1px, transparent 1.2px) 0 0 / 22px 22px,
        var(--raised);
    overflow: hidden;
}

.mini-pin {
    position: absolute;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 4px var(--coral-muted);
}

.mini-pin-lg { width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px; }
.mini-pin-sage { background: var(--sage); box-shadow: 0 0 0 4px var(--sage-muted); }
.mini-pin-amber { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-muted); }

/* --- Closing ---------------------------------------------------------- */

.closing {
    text-align: center;
    padding: 4rem 0 1rem;
}

.closing .lede,
.closing p { margin-left: auto; margin-right: auto; }

.closing h1 { margin-bottom: 1rem; }

/* --- Profile ---------------------------------------------------------- */

.profile-head,
.map-head {
    text-align: center;
    padding: 3rem 0 2rem;
}

.profile-head p,
.map-head p { margin-left: auto; margin-right: auto; }

.avatar {
    width: 84px;
    height: 84px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--coral);
    color: var(--on-accent);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.avatar-quiet {
    background: var(--raised);
    border: 1px solid var(--line);
    color: var(--ink-soft);
}

.handle {
    margin: 0.15rem 0 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.profile-place {
    margin: 0.7rem 0 0;
    font-weight: 650;
}

.profile-bio {
    margin: 0.9rem auto 0;
    max-width: 46ch;
    color: var(--ink-soft);
}

.counters,
.map-numbers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

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

.counter { text-align: center; }

.counter-value {
    margin: 0;
    font-size: clamp(1.6rem, 4.5vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.counter-label {
    margin: 0.2rem 0 0;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.counters-foot {
    margin: 0.75rem auto 0;
    text-align: center;
    max-width: 46ch;
}

.profile-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.cuisines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.cuisine {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--raised);
    border: 1px solid var(--line);
    font-size: 0.94rem;
}

.cuisine-emoji { font-size: 1.05rem; }
.cuisine-label { font-weight: 650; }

.cuisine-count {
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
    font-size: 0.85rem;
}

.visits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1rem;
}

.visit {
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}

.visit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.visit-name {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.visit-meta {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

.visit-meta .dot {
    margin: 0 0.15rem;
    opacity: 0.55;
}

.visit-note {
    margin: 0.6rem 0 0;
    font-size: 0.93rem;
}

.empty {
    margin: 0;
    padding: 1.6rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--ink-soft);
    max-width: none;
    text-align: center;
}

/* --- Shared review ---------------------------------------------------- */

.shared-review {
    width: min(100% - 2.5rem, 760px);
    margin: 2.5rem auto 4rem;
}

.shared-review-head { padding: 1rem 0 1.75rem; }
.shared-review-head h1 { margin-bottom: 0.45rem; font-size: clamp(2rem, 7vw, 3.5rem); }
.shared-review-cover { overflow: hidden; margin: 0 0 1.5rem; border-radius: var(--radius); background: var(--raised); }
.shared-review-cover img { display: block; width: 100%; max-height: 430px; object-fit: cover; }
.shared-review-cover figcaption { padding: 0.45rem 0.75rem; color: var(--ink-soft); font-size: 0.75rem; }
.shared-review-place, .shared-review-facts { color: var(--ink-soft); }

.shared-review-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.94rem;
}

.shared-review-facts a { color: inherit; }

.shared-review-card {
    padding: clamp(1.1rem, 5vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--raised);
    box-shadow: var(--shadow);
}

.shared-review-byline { display: flex; align-items: center; gap: 0.85rem; }
.shared-review-avatar {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--coral-muted);
    color: var(--coral);
    font-size: 1.2rem;
    font-weight: 750;
}

.shared-review-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }

.shared-review-author { margin: 0; font-weight: 700; }
.shared-review-byline .small { margin: 0; }
.shared-review-byline .rating { margin-left: auto; }

.shared-review-note {
    margin: 1.5rem 0;
    padding: 0;
    border: 0;
    color: var(--ink);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    line-height: 1.5;
    white-space: pre-line;
}

.shared-review-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.6rem;
    margin: 1.3rem 0 0;
}

.shared-review-ratings div, .shared-review-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
}

.shared-review-ratings dt, .shared-review-hours li span:first-child { color: var(--ink-soft); }
.shared-review-ratings dd { margin: 0; font-weight: 700; }

.shared-review-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.shared-review-gallery a, .shared-review-gallery figure {
    overflow: hidden;
    margin: 0;
    border-radius: var(--radius-sm);
    background: var(--page);
}

.shared-review-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.shared-review-gallery-provider figcaption { padding: 0.4rem 0.55rem; color: var(--ink-soft); font-size: 0.75rem; }
.shared-review-details { margin-top: 2rem; }
.shared-review-details h3 { margin-top: 1.6rem; }
.shared-review-hours { margin: 0; padding: 0; list-style: none; }
.shared-review-download { margin-top: 2.5rem; text-align: center; }

@media (max-width: 460px) {
    .shared-review { width: min(100% - 1.5rem, 760px); margin-top: 1.25rem; }
}

/* --- The private shell ------------------------------------------------ */

.locked {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.locked p { margin-left: auto; margin-right: auto; }

/* A shackle over a body — a padlock, without an icon font. */
.locked-mark {
    display: block;
    width: 22px;
    height: 17px;
    margin: 0 auto 1.1rem;
    border-radius: 4px;
    background: var(--sage);
    position: relative;
}

.locked-mark::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 13px;
    width: 14px;
    height: 12px;
    transform: translateX(-50%);
    border: 3px solid var(--sage);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

/* --- The map plot ----------------------------------------------------- */

.plot { margin-top: 1.75rem; }

.pin {
    position: absolute;
    width: 11px;
    height: 11px;
    margin: -5.5px 0 0 -5.5px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 3px var(--coral-muted);
}

/* Somewhere they went back to. The app's whole premise, one size larger. */
.pin-repeat {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    background: var(--amber);
    box-shadow: 0 0 0 4px var(--amber-muted);
}

.plot-foot {
    margin: 0.8rem auto 0;
    text-align: center;
    max-width: 52ch;
}

.city-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.5rem 1.25rem;
}

.city {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}

.city-name { font-weight: 650; }

.city-country {
    color: var(--ink-soft);
    font-size: 0.85rem;
    flex: 1;
}

.city-count {
    color: var(--sage);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* --- Narrow screens --------------------------------------------------- */

@media (max-width: 860px) {
    .hero,
    .share-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero { padding-bottom: 2.5rem; }

    /* The illustration is support, not the argument. */
    .hero-art { order: 2; }

    .art-blob { display: none; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }

    main { padding: 0 1.1rem; }

    .site-head { padding: 1.2rem 1.1rem 0; }

    /*
     * At this width the header has already wrapped, so the switcher has its own
     * line and nothing to be pushed away from. The negative margin cancels the
     * first pill's padding, which lines the names up with the wordmark above
     * them rather than a few pixels to its right.
     */
    .langs { margin-left: -0.55rem; }

    .counters,
    .map-numbers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem 0.5rem;
        padding: 1.25rem 1rem;
    }

    /*
     * The decorative map may change shape; `.plot` may not. Its pins were
     * projected server-side against ProfileQuery::ASPECT, and stretching the
     * box would stretch the geography with it.
     */
    .mini-map { aspect-ratio: 1.15; }

    .band { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
