@import "./sub.css";

:root {
    --shell: 1280px;
    --header-height: 75px;
    --radius: 10px;
    --font-body: "Montserrat", "Segoe UI", sans-serif;
}

[data-font="manrope"] { --font-body: "Manrope", "Segoe UI", sans-serif; }
[data-font="montserrat"] { --font-body: "Montserrat", "Segoe UI", sans-serif; }
[data-font="pt-sans"] { --font-body: "PT Sans", "Segoe UI", sans-serif; }
[data-font="nunito-sans"] { --font-body: "Nunito Sans", "Segoe UI", sans-serif; }
[data-font="source-sans-3"] { --font-body: "Source Sans 3", "Segoe UI", sans-serif; }
[data-font="sf-pro"] { --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; }
[data-font="inter"] { --font-body: "Inter", "Segoe UI", sans-serif; }
[data-font="dm-sans"] { --font-body: "DM Sans", "Segoe UI", sans-serif; }
[data-font="work-sans"] { --font-body: "Work Sans", "Segoe UI", sans-serif; }
[data-font="lato"] { --font-body: "Lato", "Segoe UI", sans-serif; }
[data-font="open-sans"] { --font-body: "Open Sans", "Segoe UI", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 160%;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button,
input,
textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.ui-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    overflow: hidden;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: "liga";
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
}
p,
h1,
h2,
h3 { overflow-wrap: break-word; }
p { margin: 0; }
h1,
h2,
h3 {
    margin: 0;
    color: var(--heading);
    line-height: 120%;
}
h1 { font-size: 45px; font-weight: 700; }
h2 { font-size: 30px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

.shell { width: min(calc(100% - 50px), var(--shell)); margin-inline: auto; }
.page-content { min-height: 70vh; }
.visually-hidden,
.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--button);
    color: var(--button-text);
    transform: translateY(-100px);
}
.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: thin solid var(--line);
    background: var(--page);
}
.header-row { position: relative; display: flex; align-items: center; gap: 30px; height: var(--header-height); }
.wordmark {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
}
.wordmark-logo { width: auto; max-width: 220px; height: 45px; object-fit: contain; object-position: left center; }
.main-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    min-height: 50px;
    padding: 5px 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
}
.main-nav > a {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    white-space: nowrap;
    transition: color 200ms ease-out;
}
.main-nav > a::after {
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 5px;
    background: var(--accent);
    content: "";
    transition: right 200ms ease-out, left 200ms ease-out;
}
.main-nav > a:hover,
.main-nav > a.is-active { color: var(--heading); }
.main-nav > a:hover::after,
.main-nav > a.is-active::after { right: 0; left: 0; }
.header-navigation { border-top: thin solid var(--line); background: var(--page); }
.header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; margin-left: auto; }
.header-actions .round-button { display: inline-flex; align-items: center; justify-content: center; }
.round-button { flex: 0 0 40px; min-width: 40px; min-height: 40px; }
.favorites-link,
.header-search-button,
.random-brand-button,
.favorite-button,
.timeline-controls button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: thin solid var(--line);
    border-radius: 50%;
    background: var(--page);
    color: var(--muted);
    cursor: pointer;
    transition: color 200ms ease-out, border-color 200ms ease-out, background 200ms ease-out, transform 200ms ease-out;
}
.favorites-link { position: relative; }
.favorites-link:hover,
.header-search-button:hover,
.random-brand-button:hover,
.favorite-button:hover,
.timeline-controls button:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-5px);
}
.favorites-link .ui-icon,
.header-search-button .ui-icon,
.random-brand-button .ui-icon,
.favorite-button .ui-icon,
.brand-actions .ui-icon { width: 20px; height: 20px; }
.favorites-link [data-favorites-count] {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-text);
    font-size: 10px;
    line-height: 20px;
    text-align: center;
}
.favorite-button.is-saved { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.random-brand-button.is-rolling .ui-icon { animation: random-dice-roll 500ms ease-out; }
@keyframes random-dice-roll {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}
.favorite-button.is-saved .ui-icon,
.brand-actions .button.is-saved .ui-icon { font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20; }
.nav-toggle { position: relative; display: none; width: 40px; height: 40px; padding: 0; border: thin solid var(--line); border-radius: 50%; background: var(--page); color: var(--heading); cursor: pointer; }
.nav-toggle .ui-icon { position: absolute; top: 10px; left: 10px; transition: opacity 200ms ease-out, transform 200ms ease-out; }
.nav-toggle .nav-icon-close { opacity: 0; transform: rotate(-90deg); }
.nav-toggle.is-open .nav-icon-open { opacity: 0; transform: rotate(90deg); }
.nav-toggle.is-open .nav-icon-close { opacity: 1; transform: none; }
.navigation-backdrop { position: fixed; z-index: 40; inset: var(--header-height) 0 0; visibility: hidden; width: 100%; padding: 0; border: 0; background: #18324f73; opacity: 0; transition: visibility 200ms ease-out, opacity 200ms ease-out; pointer-events: none; }
body.has-nav-open { overflow: hidden; }
body.has-nav-open .navigation-backdrop { visibility: visible; opacity: 1; pointer-events: auto; }

.global-search { position: fixed; z-index: 100; inset: 0; display: grid; place-items: start center; visibility: hidden; padding: 100px 25px 25px; opacity: 0; transition: visibility 200ms ease-out, opacity 200ms ease-out; pointer-events: none; }
.global-search.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.global-search-backdrop { position: absolute; z-index: 0; inset: 0; width: 100%; padding: 0; border: 0; background: #18324f73; cursor: pointer; }
.global-search-panel { position: relative; z-index: 10; width: min(100%, 650px); padding: 25px; border: thin solid var(--line-strong); border-top: 5px solid var(--accent); border-radius: var(--radius); background: var(--page); opacity: 0; transform: translateY(-20px); transition: opacity 200ms ease-out, transform 200ms ease-out; }
.global-search.is-open .global-search-panel { opacity: 1; transform: none; }
.global-search-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.global-search-head h2 { font-size: 20px; }
.global-search-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: thin solid var(--line); border-radius: 50%; background: var(--page); color: var(--muted); cursor: pointer; transition: border-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out; }
.global-search-close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }
.global-search-form { display: grid; grid-template-columns: 20px minmax(0, 1fr) 40px; gap: 10px; align-items: center; padding: 5px 5px 5px 15px; border: thin solid var(--line-strong); border-radius: 25px; }
.global-search-form:focus-within { border-color: var(--accent); }
.global-search-form > .ui-icon { color: var(--muted); }
.global-search-form input { min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.global-search-form button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--button); color: var(--button-text); cursor: pointer; transition: background 200ms ease-out, transform 200ms ease-out; }
.global-search-form button:hover { background: var(--button-hover); }
.global-search-panel > p { margin-top: 10px; color: var(--faint); }
body.has-search-open { overflow: hidden; }

.home-intro {
    padding-top: 60px;
    padding-bottom: 50px;
}
.home-intro-copy { max-width: 750px; }
.home-intro-copy h1 { max-width: 600px; font-size: 40px; }
.home-intro-copy p { max-width: 600px; margin-top: 20px; color: var(--muted); font-size: 20px; line-height: 150%; }
.home-search-area { max-width: 600px; justify-self: end; width: 100%; }
.home-actions { display: flex; gap: 10px; margin-top: 20px; }
.catalog-search label,
.feedback-form label > span { display: block; margin-bottom: 10px; color: var(--muted); font-size: 15px; font-weight: 600; }
.search-control {
    display: grid;
    grid-template-columns: 25px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 5px 5px 5px 15px;
    border: thin solid var(--line-strong);
    border-radius: var(--radius);
    background: var(--page);
    transition: border-color 200ms ease-out;
}
.search-control:focus-within,
.feedback-form input:focus,
.feedback-form textarea:focus { border-color: var(--accent); outline: 0; }
.search-control > .ui-icon { color: var(--muted); }
.search-control input {
    min-width: 0;
    padding: 10px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 15px;
}
.search-control input::placeholder { color: var(--faint); }
.search-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 5px;
    background: var(--button);
    color: var(--button-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 200ms ease-out;
}
.search-control button:hover { background: var(--button-hover); }
.catalog-search small { display: block; margin-top: 10px; color: var(--faint); font-size: 15px; }
.home-search-line { padding: 20px; border-left: 5px solid var(--accent); background: var(--accent-soft); }
.home-search-deck { padding: 25px; border: thin solid var(--line); border-radius: var(--radius); }
.home-search-deck .search-deck-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.home-search-deck .search-deck-heading > .ui-icon { width: 30px; height: 30px; color: var(--accent); }
.home-search-deck .search-deck-heading label { margin: 0; color: var(--heading); }
.home-search-deck .search-deck-heading small { margin: 0; }
.home-search-deck .search-control { grid-template-columns: 1fr 45px; padding-left: 15px; }
.home-search-deck .search-control button { width: 45px; padding: 0; }
.search-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.search-shortcuts a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 5px 15px; border: thin solid var(--line); border-radius: 5px; color: var(--muted); font-size: 15px; font-weight: 600; transition: border-color 200ms ease-out, color 200ms ease-out; }
.search-shortcuts a:hover { border-color: var(--accent); color: var(--accent); }
.home-search-index { padding: 20px 0; border-top: thin solid var(--line); border-bottom: thin solid var(--line); }
.search-index-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-index-row .search-control { grid-template-columns: 25px 1fr; }
.search-letter-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 15px; }
.search-letter-row a { display: grid; place-items: center; min-width: 35px; height: 35px; border-radius: 5px; color: var(--muted); font-weight: 600; transition: background 200ms ease-out, color 200ms ease-out; }
.search-letter-row a:hover { background: var(--accent-soft); color: var(--accent); }
.search-letter-row .search-letter-all { width: auto; padding: 0 15px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 5px 15px;
    border: thin solid transparent;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
}
.button:hover { transform: translateY(-5px); }
.button:active { transform: none; }
.button-primary { background: var(--button); color: var(--button-text); }
.button-primary:hover { background: var(--button-hover); }
.button-quiet { border-color: var(--line-strong); background: var(--page); color: var(--heading); }
.button-quiet:hover { border-color: var(--accent); color: var(--accent); }
.inline-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 15px; font-weight: 600; }
.inline-link span { transition: transform 200ms ease-out; }
.inline-link:hover span { transform: translateX(5px); }

.section { padding-block: 70px; }
.section-head { margin-bottom: 30px; }
.section-head p { max-width: 700px; margin-top: 10px; color: var(--muted); font-size: 15px; }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; }

.type-index { display: flex; flex-wrap: wrap; gap: 10px; }
.type-index a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 10px 15px;
    border: thin solid var(--line);
    border-radius: var(--radius);
    background: var(--page);
    transition: border-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
    flex: 0 1 auto;
}
.type-index a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-5px); }
.type-index a.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.type-index .type-index-icon { width: 20px; height: 20px; color: var(--accent); }
.type-index span { font-size: 15px; font-weight: 600; }
.type-index strong { color: var(--muted); font-size: 15px; }
.type-index .type-index-open { width: 15px; height: 15px; color: var(--faint); }
.home-types-directory { border-top: thin solid var(--line); }
.type-directory { display: flex; flex-wrap: wrap; column-gap: 30px; }
.type-directory a { display: flex; flex: 1 1 280px; align-items: center; gap: 15px; min-height: 60px; padding: 10px 0; border-bottom: thin solid var(--line); color: var(--heading); transition: color 200ms ease-out; }
.type-directory a:hover { color: var(--accent); }
.type-directory a.is-active { color: var(--accent); }
.type-directory a.is-active .type-directory-open { color: var(--accent); }
.type-directory-icon { width: 25px; height: 25px; color: var(--accent); }
.type-directory-name { flex: 1 1 auto; font-size: 15px; font-weight: 600; }
.type-directory-count { min-width: 30px; color: var(--muted); font-size: 15px; font-weight: 500; text-align: right; }
.type-directory-open { width: 20px; height: 20px; color: var(--faint); transition: color 200ms ease-out, transform 200ms ease-out; }
.type-directory a:hover .type-directory-open { color: var(--accent); transform: translateX(5px); }

.country-section { border-top: thin solid var(--line); }
.country-index { display: flex; flex-wrap: wrap; gap: 10px; }
.country-index a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 45px;
    padding: 10px 15px;
    border: thin solid var(--line);
    border-radius: var(--radius);
    color: var(--heading);
    font-size: 15px;
    font-weight: 600;
    transition: border-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
}
.country-index a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-5px); }
.country-index strong { color: var(--muted); font-size: 15px; }
.country-flag { flex: 0 0 auto; width: 30px; height: 20px; border-radius: 5px; object-fit: cover; }

.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: thin solid var(--line);
    border-radius: var(--radius);
    background: var(--page);
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: border-color 200ms ease-out, transform 200ms ease-out;
}
.brand-card:hover { border-color: var(--line-strong); transform: translateY(-5px); }
.brand-card-media { display: grid; place-items: center; height: 220px; padding: 30px; }
.brand-card-media picture { display: contents; }
.brand-card-media img { width: 100%; height: 160px; object-fit: contain; transition: transform 250ms ease-out; }
.brand-card:hover .brand-card-media img { transform: translateY(-5px); }
.brand-placeholder { display: grid; place-items: center; width: 90px; height: 90px; border: thin solid var(--line); border-radius: 50%; color: var(--accent); font-size: 30px; font-weight: 500; }
.card-favorite { position: absolute; z-index: 30; top: 15px; right: 15px; }
.brand-card-body { position: relative; padding: 20px 55px 20px 20px; border-top: thin solid var(--line); }
.brand-card-body h3 a { transition: color 200ms ease-out; }
.brand-card-body h3 a:hover { color: var(--accent); }
.brand-country { display: inline-flex; align-items: center; gap: 10px; margin-top: 5px; color: var(--muted); font-size: 15px; transition: color 200ms ease-out; }
.brand-country:hover { color: var(--accent); }
.card-open { position: absolute; top: 50%; right: 20px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--muted); transform: translateY(-50%); transition: color 200ms ease-out; }
.card-open:hover { color: var(--accent); }
.brand-grid-small { grid-template-columns: repeat(4, 1fr); }
.brand-grid-small .brand-card-media { height: 190px; }
.brand-grid-small .brand-card-media img { height: 130px; }

.alphabet-panel { display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: center; border-top: thin solid var(--line); }
.alphabet-copy p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.alphabet { display: grid; grid-template-columns: repeat(13, 1fr); gap: 5px; }
.alphabet a { display: grid; place-items: center; min-width: 35px; height: 40px; border-radius: 5px; color: var(--muted); font-size: 15px; font-weight: 600; transition: background 200ms ease-out, color 200ms ease-out; }
.alphabet a:hover,
.alphabet a.is-active { background: var(--accent); color: var(--accent-text); }
.home-seo-sections { display: flex; gap: 60px; border-top: thin solid var(--line); }
.home-seo-sections article { flex: 1 1 0; }
.home-seo-sections h2 { font-size: 25px; }
.home-seo-sections p { max-width: 600px; margin-top: 15px; color: var(--muted); }

.page-heading { padding-top: 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.breadcrumbs .ui-icon { width: 15px; height: 15px; color: var(--faint); }
.breadcrumbs a { transition: color 200ms ease-out; }
.breadcrumbs a:hover { color: var(--accent); }
.page-heading-grid { padding: 45px 0; border-bottom: thin solid var(--line); }
.page-heading-grid p { max-width: 700px; margin-top: 15px; color: var(--muted); }
.catalog-toolbar { padding: 20px 0; border-bottom: thin solid var(--line); }
.alphabet-compact { display: flex; flex-wrap: wrap; gap: 5px; width: 100%; }
.alphabet-compact a { flex: 0 0 35px; min-width: 35px; width: 35px; height: 35px; }
.alphabet-compact .alphabet-all { flex: 0 0 auto; min-width: 60px; width: auto; padding-inline: 15px; white-space: nowrap; }
.catalog-results { padding-top: 35px; }
.result-line { margin-bottom: 15px; color: var(--muted); font-size: 15px; }
.result-line strong { color: var(--heading); }
.empty-state { padding: 30px; border: thin solid var(--line); border-radius: var(--radius); color: var(--muted); }

.brand-profile { display: grid; grid-template-columns: 1fr 500px; gap: 80px; align-items: center; padding-block: 70px; }
.brand-copy > p { max-width: 700px; margin-top: 20px; color: var(--muted); font-size: 20px; line-height: 150%; }
.brand-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.brand-actions .button .ui-icon { width: 20px; height: 20px; }
.brand-facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 40px 0 0; overflow: hidden; border: thin solid var(--line-strong); border-radius: var(--radius); }
.brand-facts div { min-width: 0; padding: 20px; border-bottom: thin solid var(--line); }
.brand-facts div:nth-child(2n) { border-left: thin solid var(--line); }
.brand-facts dt { color: var(--muted); font-size: 15px; }
.brand-facts dd { margin: 5px 0 0; color: var(--heading); font-size: 20px; font-weight: 700; line-height: 130%; }
.brand-facts a { color: var(--accent); }
.brand-facts a:hover { text-decoration: underline; text-underline-offset: 5px; }
.brand-emblem { position: relative; display: grid; place-items: center; min-height: 400px; padding: 50px; border: thin solid var(--line); border-radius: var(--radius); }
.brand-emblem picture { display: contents; }
.brand-emblem img { width: 100%; height: 300px; object-fit: contain; }
.brand-emblem > span:not(.brand-placeholder) { position: absolute; right: 15px; bottom: 15px; color: var(--faint); font-size: 15px; }
.logo-download { position: absolute; z-index: 30; top: 15px; right: 15px; display: grid; place-items: center; width: 40px; height: 40px; border: thin solid var(--line); border-radius: 50%; background: var(--page); color: var(--muted); transition: border-color 200ms ease-out, color 200ms ease-out, background 200ms ease-out, transform 200ms ease-out; }
.logo-download:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); transform: translateY(-5px); }
.brand-download-copy { padding-bottom: 70px; }
.brand-download-copy h2 { max-width: 800px; font-size: 25px; }
.brand-download-copy p { max-width: 800px; margin-top: 10px; color: var(--muted); }

.timeline-section { overflow: hidden; border-top: thin solid var(--line); border-bottom: thin solid var(--line); }
.timeline-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.timeline-head p { max-width: 700px; margin-top: 10px; color: var(--muted); font-size: 15px; }
.timeline-controls { display: flex; align-items: center; gap: 5px; }
.timeline-controls span { min-width: 70px; color: var(--muted); font-size: 15px; text-align: center; }
.timeline-map { position: relative; min-height: 400px; outline: 0; }
.timeline-path { position: absolute; z-index: 0; inset: 0; overflow: visible; pointer-events: none; }
.timeline-path path { fill: none; stroke: var(--timeline-line); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.timeline-section.is-drawn .timeline-path path { opacity: 1; transition: opacity 500ms ease-out; }
.timeline-grid { position: relative; z-index: 10; display: grid; grid-template-columns: repeat(var(--timeline-columns, 3), 1fr); column-gap: 60px; row-gap: 90px; align-items: start; padding: 10px 0 35px; }
.timeline-part { position: relative; width: 100%; max-width: 350px; justify-self: center; padding-top: 30px; }
.timeline-anchor { position: absolute; z-index: 40; top: 0; left: 50%; width: 15px; height: 15px; border: 5px solid var(--page); border-radius: 50%; background: var(--timeline-dot); transform: translate(-50%, -50%); transition: background 200ms ease-out; }
.timeline-part:hover .timeline-anchor,
.timeline-part.is-current .timeline-anchor { background: var(--accent); }
.timeline-date { display: block; margin: 0 auto 15px; padding: 0; border: 0; background: transparent; color: var(--heading); font-size: 20px; font-weight: 700; cursor: pointer; transition: color 200ms ease-out; }
.timeline-date:hover { color: var(--accent); }
.timeline-logo-stage { position: relative; display: grid; place-items: center; height: 250px; padding: 30px; border: thin solid var(--line); border-radius: var(--radius); background: var(--page); backface-visibility: hidden; transform: translateZ(0); transition: border-color 200ms ease-out, transform 200ms ease-out; }
.timeline-part:hover .timeline-logo-stage,
.timeline-part.is-current .timeline-logo-stage,
.timeline-vertical-part.is-current .timeline-logo-stage { border-color: var(--line-strong); transform: translateY(-5px); }
.timeline-logo-panel { position: absolute; inset: 0; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity 250ms ease-out, transform 250ms ease-out; pointer-events: none; }
.timeline-logo-panel.is-active { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.timeline-logo-panel picture { position: absolute; inset: 30px; display: grid; place-items: center; }
.timeline-logo-stage img { width: 100%; height: 190px; object-fit: contain; }
.timeline-variants { display: flex; justify-content: center; gap: 5px; margin-top: 15px; }
.timeline-variants button { width: 35px; height: 15px; padding: 5px 0; border: 0; background: transparent; cursor: pointer; }
.timeline-variants button span { display: block; height: 5px; border-radius: 5px; background: var(--line-strong); transition: background 200ms ease-out; }
.timeline-variants button:hover span,
.timeline-variants button.is-active span { background: var(--accent); }
.timeline-description { position: relative; z-index: 20; margin-top: 15px; padding: 10px 0; background: var(--page); color: var(--muted); font-size: 15px; line-height: 160%; }
.timeline-description p + p,
.timeline-description ul,
.timeline-description ol { margin-top: 10px; }
.timeline-description a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }

.timeline-vertical { position: relative; max-width: 900px; outline: 0; }
.timeline-vertical::before { position: absolute; top: 20px; bottom: 20px; left: 105px; width: 5px; border-radius: 5px; background: var(--timeline-line); content: ""; }
.timeline-vertical-part { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 50px; padding-bottom: 60px; }
.timeline-vertical-part:last-child { padding-bottom: 0; }
.timeline-vertical-dot { position: absolute; z-index: 20; top: 15px; left: 100px; width: 15px; height: 15px; border: 5px solid var(--page); border-radius: 50%; background: var(--timeline-dot); }
.timeline-vertical-part.is-current .timeline-vertical-dot { background: var(--accent); }
.timeline-vertical .timeline-date { grid-column: 1; margin: 0; padding-top: 5px; text-align: right; }
.timeline-vertical .timeline-logo-stage,
.timeline-vertical .timeline-variants,
.timeline-vertical .timeline-description { grid-column: 2; }

.timeline-horizontal { outline: 0; }
.timeline-year-strip { display: flex; gap: 10px; overflow-x: auto; padding: 0 0 20px; border-bottom: thin solid var(--line); scrollbar-width: thin; }
.timeline-year-item { display: flex; flex: 0 0 160px; align-items: center; gap: 10px; min-height: 80px; padding: 5px 10px; border: thin solid var(--line); border-radius: 5px; background: var(--page); color: var(--muted); cursor: pointer; transition: border-color 200ms ease-out, color 200ms ease-out, background 200ms ease-out; }
.timeline-year-item:hover,
.timeline-year-item.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.timeline-year-thumb { display: grid; flex: 0 0 70px; place-items: center; width: 70px; height: 60px; }
.timeline-year-thumb img { width: 100%; height: 50px; object-fit: contain; }
.timeline-year-item strong { font-size: 15px; white-space: nowrap; }
.timeline-horizontal-panels { padding-top: 40px; }
.timeline-horizontal-part { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 50px; align-items: start; }
.timeline-horizontal-part[hidden] { display: none; }
.timeline-horizontal-date { padding-top: 10px; }
.timeline-horizontal-date span { color: var(--muted); }
.timeline-horizontal-date h3 { margin-top: 5px; font-size: 30px; }
.timeline-horizontal-content { max-width: 800px; }
.timeline-horizontal .timeline-logo-stage { height: 400px; }
.timeline-horizontal .timeline-logo-stage img { height: 330px; }

.pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 35px; padding-top: 20px; border-top: thin solid var(--line); font-size: 15px; }
.pagination > :last-child { text-align: right; }
.pagination a,
.pagination .is-disabled { display: inline-flex; align-items: center; gap: 10px; }
.pagination a { color: var(--accent); font-weight: 600; }
.pagination .is-disabled { color: var(--faint); }
.catalog-search-footer { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 60px; padding: 30px 0; border-top: thin solid var(--line); border-bottom: thin solid var(--line); }
.catalog-search-footer h2 { font-size: 20px; }
.catalog-search-footer p { max-width: 600px; margin-top: 5px; color: var(--muted); }
.catalog-search-footer form { display: grid; grid-template-columns: 20px minmax(200px, 350px) 40px; gap: 10px; align-items: center; padding: 5px 5px 5px 15px; border: thin solid var(--line-strong); border-radius: var(--radius); }
.catalog-search-footer form:focus-within { border-color: var(--accent); }
.catalog-search-footer form > .ui-icon { color: var(--muted); }
.catalog-search-footer input { min-width: 0; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.catalog-search-footer button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 5px; background: var(--button); color: var(--button-text); cursor: pointer; transition: background 200ms ease-out; }
.catalog-search-footer button:hover { background: var(--button-hover); }
.catalog-type-footer { padding-top: 50px; }
.catalog-type-footer h2 { margin-bottom: 20px; font-size: 20px; }
.favorites-loading { color: var(--muted); }
.favorites-empty { padding: 40px 0; }
.favorites-empty p { margin-bottom: 20px; color: var(--muted); }
.editorial-placeholder { padding: 30px 0; border-top: thin solid var(--line); border-bottom: thin solid var(--line); }
.editorial-placeholder p { margin-top: 10px; color: var(--muted); }

.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.article-card { min-width: 0; border: thin solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 200ms ease-out, transform 200ms ease-out; }
.article-card:hover { border-color: var(--line-strong); transform: translateY(-5px); }
.article-card-cover { display: block; overflow: hidden; height: 250px; border-bottom: thin solid var(--line); }
.article-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease-out; }
.article-card:hover .article-card-cover img { transform: translateY(-5px); }
.article-card-copy { padding: 25px; }
.article-card h2 { margin-top: 10px; font-size: 20px; }
.article-card h2 a:hover { color: var(--accent); }
.article-card p { margin: 15px 0; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 15px; color: var(--faint); font-size: 15px; }
.article-page { padding-top: 30px; }
.article-header { max-width: 900px; margin: 60px auto 40px; text-align: center; }
.article-header h1 { font-size: 45px; }
.article-header > p { max-width: 750px; margin: 20px auto 0; color: var(--muted); font-size: 20px; }
.article-header .article-meta { justify-content: center; margin-top: 20px; }
.article-cover { width: 100%; max-height: 700px; border-radius: var(--radius); object-fit: cover; }
.article-content { max-width: 800px; margin: 50px auto 0; color: var(--text); font-size: 20px; line-height: 170%; }
.article-content h2 { margin: 50px 0 20px; }
.article-content h3 { margin: 40px 0 15px; }
.article-content p, .article-content ul, .article-content ol, .article-content blockquote { margin: 0 0 25px; }
.article-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.article-content blockquote { padding-left: 25px; border-left: 5px solid var(--accent); color: var(--muted); }

.feedback-heading { grid-template-columns: 1fr; }
.feedback-layout { display: grid; grid-template-columns: 350px 1fr; gap: 80px; align-items: start; }
.feedback-copy p { margin-top: 15px; color: var(--muted); }
.feedback-form { max-width: 750px; }
.feedback-form > label { display: block; margin-top: 20px; }
.feedback-form input,
.feedback-form textarea { width: 100%; padding: 15px; border: thin solid var(--line-strong); border-radius: var(--radius); background: var(--page); color: var(--text); transition: border-color 200ms ease-out; }
.feedback-form textarea { resize: vertical; }
.feedback-form label small { display: block; margin-top: 5px; color: var(--danger); }
.feedback-form .button { margin-top: 25px; }
.turnstile-field { margin-top: 20px; }
.turnstile-field small { display: block; margin-top: 5px; color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-success { margin-bottom: 20px; padding: 15px 20px; border-left: 5px solid var(--success); background: var(--success-soft); color: var(--success); }

.explore-more-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.explore-more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.explore-more-card { overflow: hidden; border: thin solid var(--line); border-radius: var(--radius); background: var(--page); transition: border-color 200ms ease-out, transform 200ms ease-out; }
.explore-more-card:hover { border-color: var(--line-strong); transform: translateY(-5px); }
.explore-more-media { display: grid; place-items: center; height: 150px; padding: 20px; }
.explore-more-media img { width: 100%; height: 110px; object-fit: contain; transition: transform 200ms ease-out; }
.explore-more-card:hover .explore-more-media img { transform: translateY(-5px); }
.explore-more-card .brand-placeholder { width: 70px; height: 70px; font-size: 25px; }
.explore-more-copy { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; border-top: thin solid var(--line); }
.explore-more-copy h3 { min-width: 0; font-size: 15px; }
.explore-more-copy h3 a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.explore-more-copy > a { display: grid; flex: 0 0 35px; place-items: center; width: 35px; height: 35px; border: thin solid var(--line); border-radius: 50%; color: var(--muted); transition: border-color 200ms ease-out, color 200ms ease-out; }
.explore-more-copy > a:hover { border-color: var(--accent); color: var(--accent); }

.error-page-body { min-height: 100vh; background: var(--page); }
.error-site-header { display: flex; align-items: center; min-height: 80px; padding: 15px 25px; border-bottom: thin solid var(--line); }
.error-site-header a { display: inline-flex; align-items: center; }
.error-site-header img { width: auto; max-width: 200px; height: 45px; object-fit: contain; object-position: left center; }
.error-page { display: grid; min-height: calc(100vh - 80px); place-items: center; padding-top: 50px; padding-bottom: 50px; }
.error-copy { width: 100%; max-width: 650px; text-align: center; }
.error-code { display: block; margin-bottom: 10px; color: var(--accent); font-size: 60px; font-weight: 700; line-height: 100%; }
.error-copy > p { max-width: 550px; margin: 15px auto 0; color: var(--muted); font-size: 20px; line-height: 150%; }
.error-copy > .button { margin-top: 20px; }
.random-brand-card { max-width: 450px; margin: 35px auto 0; padding: 20px; border: thin solid var(--line); border-radius: var(--radius); text-align: left; }
.random-brand-preview { display: flex; align-items: center; gap: 20px; }
.random-brand-preview img { flex: 0 0 120px; width: 120px; height: 90px; object-fit: contain; }
.random-brand-preview span { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.random-brand-preview small { color: var(--muted); }
.random-brand-preview strong { overflow: hidden; color: var(--heading); font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.random-brand-card .button { width: 100%; margin-top: 15px; }

.site-footer { margin-top: 20px; border-top: thin solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 70px; align-items: start; padding-block: 40px; }
.footer-brand { display: inline-flex; align-items: center; max-width: 220px; }
.footer-brand img { width: auto; max-width: 220px; height: 45px; object-fit: contain; object-position: left center; }
.footer-grid p { max-width: 450px; margin-top: 5px; color: var(--muted); font-size: 15px; }
.footer-grid nav { display: flex; gap: 20px; color: var(--muted); font-size: 15px; }
.footer-grid nav a:hover { color: var(--accent); }
.release { color: var(--faint); font-size: 15px; }

.reveal { opacity: 1; transform: none; }
.has-motion .reveal { opacity: 0; transform: translateY(10px); }
.has-motion .reveal.is-visible { opacity: 1; transform: none; transition: opacity 300ms ease-out, transform 300ms ease-out; }
:where(a, button, input, textarea):focus-visible { outline: 5px solid var(--accent-soft); outline-offset: 5px; }

@media (max-width: 1100px) {
    .main-nav { gap: 15px; }
    .brand-grid { grid-template-columns: repeat(3, 1fr); }
    .alphabet-panel { grid-template-columns: 1fr; gap: 30px; }
    .brand-profile { grid-template-columns: 1fr 400px; gap: 50px; }
    .article-list { grid-template-columns: repeat(2, 1fr); }
    .explore-more-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    :root { --header-height: 65px; }
    .shell { width: min(calc(100% - 30px), var(--shell)); }
    .nav-toggle { display: inline-flex; }
    .wordmark { max-width: 180px; }
    .wordmark-logo { max-width: 180px; height: 35px; }
    .header-navigation { position: absolute; top: 100%; right: 0; left: 0; visibility: hidden; max-height: calc(100vh - var(--header-height)); overflow-y: auto; border-top: 0; border-bottom: thin solid var(--line); opacity: 0; transform: translateY(-10px); transition: visibility 200ms ease-out, opacity 200ms ease-out, transform 200ms ease-out; pointer-events: none; }
    .header-navigation.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
    .main-nav { align-content: flex-start; gap: 10px; min-height: 0; padding: 15px 0; }
    .main-nav > a { flex: 0 0 auto; min-height: 40px; padding: 10px 15px; }
    .home-intro { padding-top: 45px; padding-bottom: 40px; }
    .home-seo-sections { gap: 30px; }
    .brand-grid,
    .brand-grid-small { grid-template-columns: repeat(2, 1fr); }
    .page-heading-grid { padding-top: 40px; }
    .global-search { padding: 80px 15px 15px; }
    .global-search-panel { padding: 20px; }
    .catalog-search-footer { display: block; }
    .catalog-search-footer form { width: 100%; margin-top: 20px; grid-template-columns: 20px minmax(0, 1fr) 40px; }
    .brand-profile { grid-template-columns: 1fr; }
    .brand-emblem { grid-row: 1; min-height: 350px; }
    .brand-emblem img { height: 250px; }
    .feedback-layout { grid-template-columns: 1fr; gap: 40px; }
    .explore-more-actions { justify-content: flex-start; margin-top: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid nav { flex-wrap: wrap; }
}

@media (max-width: 600px) {
    h1 { font-size: 35px; }
    h2 { font-size: 25px; }
    .home-intro-copy h1 { font-size: 35px; }
    .home-intro-copy p,
    .brand-copy > p { font-size: 15px; }
    .section { padding-block: 50px; }
    .split-head { display: block; }
    .split-head > .inline-link { margin-top: 20px; }
    .home-actions,
    .brand-actions { align-items: stretch; }
    .button { min-height: 50px; }
    .type-index a { flex: 1 1 auto; }
    .type-index .type-index-open { margin-left: auto; }
    .home-seo-sections { display: block; }
    .home-seo-sections article + article { margin-top: 40px; }
    .search-index-row { grid-template-columns: 1fr; }
    .search-index-row .button { width: 100%; }
    .home-search-line,
    .home-search-deck { padding: 15px; }
    .search-control { grid-template-columns: 20px minmax(0, 1fr) auto; }
    .home-search-deck .search-control { grid-template-columns: minmax(0, 1fr) 45px; }
    .search-index-row .search-control { grid-template-columns: 20px minmax(0, 1fr); }
    .search-control button { padding: 0 15px; }
    .brand-card-media { height: 190px; }
    .brand-card-media img { height: 130px; }
    .alphabet { grid-template-columns: repeat(7, 1fr); }
    .brand-facts { grid-template-columns: 1fr; }
    .brand-facts div:nth-child(2n) { border-left: 0; }
    .brand-facts div:last-child { border-bottom: 0; }
    .brand-emblem { padding: 30px; }
    .brand-download-copy { padding-bottom: 50px; }
    .timeline-head { display: block; }
    .timeline-controls { margin-top: 20px; }
    .timeline-path { display: none; }
    .timeline-grid { display: block; padding: 5px 0 10px 35px; }
    .timeline-grid::before { position: absolute; top: 10px; bottom: 10px; left: 5px; width: 5px; border-radius: 5px; background: var(--timeline-line); content: ""; }
    .timeline-part { max-width: none; margin: 0 0 50px; padding: 0 0 0 25px; }
    .timeline-part:last-child { margin-bottom: 10px; }
    .timeline-anchor { top: 20px; left: -30px; }
    .timeline-date { margin: 0 0 15px; text-align: left; }
    .timeline-logo-stage { height: 230px; }
    .timeline-logo-panel picture { inset: 25px; }
    .timeline-logo-stage img { height: 180px; }
    .timeline-vertical { padding-left: 35px; }
    .timeline-vertical::before { top: 10px; bottom: 10px; left: 5px; }
    .timeline-vertical-part { display: block; padding: 0 0 50px 25px; }
    .timeline-vertical-part:last-child { padding-bottom: 0; }
    .timeline-vertical-dot { top: 20px; left: -30px; transform: translateX(-50%); }
    .timeline-vertical .timeline-date { margin: 0 0 15px; padding: 0; text-align: left; }
    .timeline-horizontal-panels { padding-top: 30px; }
    .timeline-horizontal-part { display: block; }
    .timeline-horizontal-part[hidden] { display: none; }
    .timeline-horizontal-date { margin-bottom: 20px; padding-top: 0; }
    .timeline-horizontal-date h3 { font-size: 25px; }
    .timeline-horizontal .timeline-logo-stage { height: 230px; }
    .timeline-horizontal .timeline-logo-stage img { height: 180px; }
    .pagination { grid-template-columns: 1fr 1fr; }
    .pagination > span:nth-child(2) { grid-column: 1 / -1; grid-row: 1; text-align: center; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .article-list { grid-template-columns: 1fr; }
    .article-header { margin-top: 40px; }
    .article-header h1 { font-size: 35px; }
    .article-content { margin-top: 40px; font-size: 15px; }
    .explore-more-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .explore-more-media { height: 120px; padding: 15px; }
    .explore-more-media img { height: 90px; }
    .explore-more-copy { padding: 10px 15px; }
    .explore-more-copy > a { flex-basis: 30px; width: 30px; height: 30px; }
    .error-code { font-size: 50px; }
    .error-copy > p { font-size: 15px; }
}

@media (max-width: 500px) {
    .header-row { gap: 10px; }
    .wordmark { max-width: 140px; }
    .wordmark-logo { max-width: 140px; }
    .home-actions { display: grid; }
    .brand-grid,
    .brand-grid-small { grid-template-columns: 1fr; }
    .brand-card-media { height: 220px; }
    .brand-card-media img { height: 160px; }
    .brand-actions { display: grid; }
    .footer-grid nav { display: grid; gap: 10px; }
    .footer-brand img { max-width: 180px; height: 40px; }
    .random-brand-preview img { flex-basis: 90px; width: 90px; height: 70px; }
}

@media (max-width: 400px) {
    .header-row { gap: 5px; }
    .header-actions { gap: 5px; }
    .wordmark,
    .wordmark-logo { max-width: 100px; }
    .explore-more-grid { grid-template-columns: 1fr; }
}

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