/*
Theme Name: Orologeria Encyclopedia
Theme URI: https://orologeria.it/
Author: OROLOGERIA.IT
Description: Tema editoriale proprietario per l'enciclopedia italiana dell'orologeria.
Version: 0.9.48
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: orologeria
*/

:root {
    --ink: #171714;
    --ink-soft: #5e5c55;
    --paper: #f4f1e9;
    --paper-deep: #e8e1d3;
    --white: #fffefb;
    --line: rgba(23, 23, 20, 0.16);
    --line-dark: rgba(244, 241, 233, 0.18);
    --gold: #a67835;
    --gold-light: #d7bb84;
    --night: #161614;
    --night-soft: #24231f;
    --serif: Iowan Old Style, Baskerville, "Times New Roman", Times, serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --content: 760px;
    --wide: 1240px;
    --radius: 3px;
    --shadow: 0 22px 70px rgba(24, 19, 10, 0.09);
    --mobile-header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}

html.menu-open,
body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.menu-open {
    height: 100dvh;
}

a {
    color: inherit;
    text-decoration-color: rgba(166, 120, 53, 0.5);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

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

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

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--night);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    padding-top: env(safe-area-inset-top);
    color: var(--paper);
    background: rgba(22, 22, 20, 0.97);
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(calc(100% - 40px), var(--wide));
    min-height: 76px;
    margin: 0 auto;
    gap: 28px;
}

.site-brand {
    display: inline-flex;
    align-items: baseline;
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-brand span {
    color: var(--gold-light);
}

.site-nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: clamp(16px, 2.1vw, 30px);
    list-style: none;
}

.site-nav a {
    color: rgba(244, 241, 233, 0.82);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.055em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
    color: var(--gold-light);
}

.site-nav-tools {
    display: none;
}

.menu-toggle {
    position: relative;
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--paper);
    background: transparent;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
}

.menu-toggle > span[aria-hidden],
.menu-toggle::before,
.menu-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 18px;
    height: 1px;
    margin: 0;
    content: "";
    background: currentColor;
    transition: opacity 160ms ease, transform 220ms ease;
}

.menu-toggle::before {
    transform: translate(-50%, -6px);
}

.menu-toggle > span[aria-hidden] {
    transform: translate(-50%, 0);
}

.menu-toggle::after {
    transform: translate(-50%, 6px);
}

.menu-toggle[aria-expanded="true"]::before {
    transform: translate(-50%, 0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span[aria-hidden] {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
    transform: translate(-50%, 0) rotate(-45deg);
}

.site-main {
    min-height: 65vh;
}

.shell {
    width: min(calc(100% - 40px), var(--wide));
    margin-inline: auto;
}

.content-width {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.hero {
    position: relative;
    display: grid;
    min-height: min(760px, calc(100vh - 76px));
    align-items: center;
    overflow: hidden;
    color: var(--paper);
    background:
        radial-gradient(circle at 78% 18%, rgba(166, 120, 53, 0.22), transparent 36%),
        linear-gradient(140deg, #11110f, #24211b 68%, #151513);
}

.hero::after {
    position: absolute;
    right: -12vw;
    bottom: -40%;
    width: min(68vw, 920px);
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(215, 187, 132, 0.18);
    border-radius: 50%;
    box-shadow: inset 0 0 0 70px rgba(255, 255, 255, 0.008), inset 0 0 0 140px rgba(255, 255, 255, 0.006);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--wide));
    min-width: 0;
    margin: 0 auto;
    padding: clamp(80px, 12vw, 150px) 0;
}

.eyebrow {
    display: flex;
    align-items: center;
    margin: 0 0 24px;
    gap: 12px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.2em;
    line-height: 1.3;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 36px;
    height: 1px;
    content: "";
    background: currentColor;
}

.hero h1 {
    max-width: min(100%, 980px);
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(52px, 8.6vw, 128px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.87;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-intro {
    max-width: 680px;
    margin: 34px 0 0;
    color: rgba(244, 241, 233, 0.74);
    font-family: var(--serif);
    font-size: clamp(20px, 2.4vw, 29px);
    line-height: 1.42;
}

.hero-visual .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(46px, 7vw, 112px);
}

.home-hero-copy {
    min-width: 0;
}

.hero-visual h1 {
    max-width: 760px;
    font-size: clamp(54px, 6.3vw, 96px);
    line-height: 0.96;
}

.home-hero-visual {
    position: relative;
    min-width: 0;
    margin: 0;
}

.home-hero-visual::before {
    position: absolute;
    z-index: -1;
    inset: 9% -5% 17% 10%;
    content: "";
    background: radial-gradient(circle, rgba(215, 187, 132, 0.2), transparent 70%);
    filter: blur(22px);
}

.home-hero-visual > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-hero-visual picture {
    display: block;
    overflow: hidden;
    background: rgba(255, 254, 251, 0.96);
    border: 1px solid rgba(215, 187, 132, 0.34);
    border-radius: 50% 50% 4px 4px;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.home-hero-image {
    width: 100%;
    aspect-ratio: 1;
    padding: clamp(16px, 2.2vw, 34px);
    object-fit: contain;
}

.home-hero-visual figcaption {
    display: grid;
    margin-top: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 3px 16px;
}

.home-hero-visual figcaption span,
.home-hero-visual figcaption small {
    color: rgba(244, 241, 233, 0.58);
    font-size: 10px;
    letter-spacing: 0.12em;
    line-height: 1.45;
    text-transform: uppercase;
}

.home-hero-visual figcaption strong {
    grid-column: 1;
    font-family: var(--serif);
    font-size: clamp(18px, 2vw, 25px);
    font-weight: 400;
    line-height: 1.18;
}

.home-hero-visual figcaption small {
    grid-row: 1 / span 2;
    grid-column: 2;
    max-width: 180px;
    text-align: right;
    text-transform: none;
}

.entity-search {
    position: relative;
    width: min(100%, 760px);
    margin-top: 46px;
}

.search-field-wrap {
    display: flex;
    align-items: stretch;
    padding: 6px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.search-field-wrap input[type="search"] {
    min-width: 0;
    flex: 1;
    padding: 15px 17px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.search-field-wrap button {
    min-width: 120px;
    padding: 14px 22px;
    color: var(--paper);
    background: var(--night);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.search-field-wrap button:hover {
    color: var(--night);
    background: var(--gold-light);
}

.search-suggestions {
    position: fixed;
    z-index: 1300;
    display: none;
    max-height: min(390px, calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(16, 14, 10, 0.26);
    -webkit-overflow-scrolling: touch;
}

.search-suggestions.is-open {
    display: block;
}

.suggestion {
    display: grid;
    min-height: 52px;
    padding: 13px 17px;
    gap: 1px;
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

.suggestion:last-child {
    border-bottom: 0;
}

.suggestion-type {
    color: var(--gold);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.suggestion-title {
    font-family: var(--serif);
    font-size: 20px;
}

.search-empty {
    padding: 16px;
    color: var(--ink-soft);
    font-size: 14px;
}

.section.home-paths {
    padding: clamp(24px, 4vw, 52px) 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.home-path-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.home-path {
    display: flex;
    min-width: 0;
    min-height: 132px;
    padding: clamp(18px, 2vw, 28px);
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    color: var(--ink);
    background: var(--white);
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.home-path::after {
    align-self: flex-end;
    content: "→";
    color: var(--gold);
    font-size: 20px;
    line-height: 1;
}

.home-path strong {
    font-family: var(--serif);
    font-size: clamp(21px, 1.65vw, 28px);
    font-weight: 400;
    line-height: 1.08;
}

.home-path span {
    margin-top: auto;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.45;
}

.home-path:hover,
.home-path:focus-visible {
    color: var(--paper);
    background: var(--night);
}

.home-path:hover span,
.home-path:focus-visible span {
    color: rgba(244, 241, 233, 0.72);
}

.home-visual-grid,
.home-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 28px);
}

.home-visual-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 18px 52px rgba(24, 19, 10, 0.06);
}

.home-visual-card > a,
.home-price-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.home-visual-card-media,
.home-price-card figure {
    margin: 0;
    overflow: hidden;
    background: #f5f3ed;
    border-bottom: 1px solid var(--line);
}

.home-visual-card-media {
    aspect-ratio: 4 / 3;
}

.home-collection-grid .home-visual-card-media {
    aspect-ratio: 1;
}

.home-visual-card-media picture,
.home-price-card picture {
    display: block;
    height: 100%;
}

.home-visual-card-media img,
.home-price-card img {
    width: 100%;
    height: 100%;
    padding: clamp(12px, 1.4vw, 22px);
    object-fit: contain;
    transition: transform 260ms ease;
}

.home-visual-type-historical .home-visual-card-media img,
.home-visual-type-press .home-visual-card-media img,
.home-visual-type-watch_view .home-visual-card-media img,
.home-visual-type-side_profile .home-visual-card-media img {
    padding: 0;
    object-fit: cover;
}

.home-visual-card > a:hover .home-visual-card-media img,
.home-visual-card > a:focus-visible .home-visual-card-media img,
.home-price-card > a:hover figure img,
.home-price-card > a:focus-visible figure img {
    transform: scale(1.025);
}

.home-visual-card-copy,
.home-price-card > a > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: clamp(20px, 2.2vw, 30px);
}

.home-card-label {
    margin: 0 0 13px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.home-visual-card h3,
.home-price-card h3,
.home-editorial-list h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(23px, 2.3vw, 34px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.home-collection-grid h3,
.home-brand-grid h3 {
    font-size: clamp(22px, 2vw, 31px);
}

.home-card-summary {
    display: -webkit-box;
    margin: 15px 0 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-card-credit {
    margin: auto 0 0;
    padding-top: 20px;
    color: var(--ink-soft);
    font-size: 9px;
    line-height: 1.45;
}

.section-dark .home-visual-card,
.home-caliber-section .home-visual-card {
    color: var(--paper);
    background: var(--night-soft);
    border-color: var(--line-dark);
    box-shadow: none;
}

.section-dark .home-visual-card-media,
.home-caliber-section .home-visual-card-media {
    border-color: var(--line-dark);
}

.section-dark .home-card-summary,
.section-dark .home-card-credit,
.home-caliber-section .home-card-summary,
.home-caliber-section .home-card-credit {
    color: rgba(244, 241, 233, 0.6);
}

.home-caliber-section {
    color: var(--paper);
    background:
        radial-gradient(circle at 12% 18%, rgba(166, 120, 53, 0.16), transparent 36%),
        var(--night);
}

.home-caliber-section .section-lead {
    color: rgba(244, 241, 233, 0.62);
}

.home-price-card {
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
}

.home-price-card figure {
    aspect-ratio: 16 / 10;
}

.home-price-value {
    margin: 24px 0 0;
    color: var(--ink);
    font-family: var(--mono);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 650;
    line-height: 1;
}

.home-price-date {
    margin: 10px 0 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.45;
}

.home-history-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    align-items: stretch;
    gap: clamp(26px, 5vw, 70px);
}

.home-visual-card-wide > a {
    display: grid;
    grid-template-rows: minmax(280px, 1fr) auto;
}

.home-visual-card-wide .home-visual-card-media {
    min-height: 0;
    aspect-ratio: auto;
}

.home-editorial-list {
    display: grid;
    border-top: 1px solid var(--line);
}

.home-editorial-list article {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.home-editorial-list h3 a {
    text-decoration: none;
}

.home-editorial-list article > p:last-child {
    margin: 12px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

.watch-archive-section {
    padding-top: clamp(34px, 5vw, 70px);
}

.watch-filter-panel {
    margin-bottom: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.watch-filter-panel summary {
    display: flex;
    min-height: 56px;
    padding: 16px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-weight: 720;
    list-style: none;
}

.watch-filter-panel summary::-webkit-details-marker {
    display: none;
}

.watch-filter-panel summary span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 600;
}

.watch-filter-panel summary span::after {
    content: "+";
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.watch-filter-panel[open] summary span::after {
    content: "−";
}

.watch-filter-form {
    display: grid;
    padding: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    border-top: 1px solid var(--line);
}

.watch-filter-form label {
    display: grid;
    min-width: 0;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 720;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.watch-filter-form input,
.watch-filter-form select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 2px;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
}

.watch-filter-hint {
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.watch-filter-search {
    grid-column: span 2;
}

.watch-filter-actions {
    display: flex;
    grid-column: span 2;
    align-items: center;
    gap: 18px;
}

.watch-filter-actions button,
.watch-card-actions button,
.compare-tray button {
    min-height: 44px;
    padding: 10px 16px;
    color: var(--paper);
    background: var(--night);
    border: 1px solid var(--night);
    border-radius: 2px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.watch-filter-actions a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 13px;
}

.watch-filter-note {
    align-self: center;
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.5;
}

.watch-archive-status {
    display: flex;
    margin-bottom: 18px;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.watch-archive-page-position {
    color: var(--ink-soft);
    font-size: 12px;
}

.watch-archive-status p {
    margin: 0;
    color: var(--ink-soft);
}

.watch-archive-status strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
}

.active-filter-list {
    display: flex;
    margin: 0 0 26px;
    padding: 0;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.active-filter-list a {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 12px;
    align-items: center;
    gap: 7px;
    background: var(--paper-deep);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
}

.watch-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.watch-archive-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 15px 45px rgba(24, 19, 10, 0.055);
}

.watch-archive-card-no-media {
    align-self: start;
    border-top: 3px solid var(--gold);
}

.watch-archive-card-no-media .watch-card-copy {
    min-height: 216px;
    padding-top: 17px;
}

.watch-card-media {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f4f2ec;
    border-bottom: 1px solid var(--line);
}

.watch-card-media picture {
    display: block;
    height: 100%;
}

.watch-card-media img {
    width: 100%;
    height: 100%;
    padding: 14px;
    object-fit: contain;
    transition: transform 240ms ease;
}

.watch-card-media:hover img {
    transform: scale(1.025);
}

.watch-card-copy {
    display: flex;
    min-height: 260px;
    padding: 20px;
    flex: 1;
    flex-direction: column;
}

.watch-card-brand,
.watch-card-reference,
.watch-card-facts {
    margin: 0;
}

.watch-card-brand {
    color: var(--gold);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.watch-archive-card h2 {
    margin: 10px 0 7px;
    font-family: var(--serif);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 400;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.watch-archive-card h2 a {
    text-decoration: none;
}

.watch-card-reference {
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.watch-card-facts {
    margin-top: 15px;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.55;
}

.watch-card-actions {
    display: flex;
    margin-top: auto;
    padding-top: 22px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.watch-card-actions > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 12px;
    font-weight: 720;
}

.watch-card-actions button {
    min-height: 44px;
    padding: 8px 11px;
    color: var(--ink);
    background: transparent;
    border-color: var(--line);
}

.watch-card-actions button[aria-pressed="true"] {
    color: var(--paper);
    background: var(--night);
    border-color: var(--night);
}

.compare-tray {
    position: fixed;
    z-index: 85;
    right: 20px;
    bottom: 20px;
    display: grid;
    width: min(430px, calc(100% - 40px));
    padding: 16px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 14px;
    color: var(--paper);
    background: var(--night);
    border: 1px solid var(--line-dark);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
}

.compare-tray[hidden] {
    display: none;
}

.compare-tray p,
.compare-tray ol {
    margin: 0;
}

.compare-tray p {
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.compare-tray ol {
    padding-left: 18px;
    font-size: 11px;
    line-height: 1.4;
}

.compare-tray > a,
.compare-tray > button {
    color: var(--paper);
    font-size: 11px;
}

.compare-tray > a[aria-disabled="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.compare-tray > button {
    min-height: 44px;
    padding: 7px;
    border-color: var(--line-dark);
}

@media (max-width: 1050px) {
    .watch-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 700px) {
    .watch-filter-form,
    .watch-archive-grid {
        grid-template-columns: 1fr;
    }

    .watch-filter-search,
    .watch-filter-actions {
        grid-column: auto;
    }

    .watch-filter-actions {
        justify-content: space-between;
    }

    .watch-archive-status {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .watch-archive-card {
        display: grid;
        grid-template-columns: minmax(120px, 36%) minmax(0, 1fr);
    }

    .watch-archive-card-no-media {
        display: block;
    }

    .watch-archive-card-no-media .watch-card-copy {
        min-height: 0;
    }

    .watch-archive-card-no-media .watch-card-actions {
        align-items: center;
        flex-flow: row wrap;
    }

    .watch-card-media {
        min-width: 0;
        height: 100%;
        min-height: 250px;
        aspect-ratio: auto;
        border-right: 1px solid var(--line);
        border-bottom: 0;
    }

    .watch-card-copy {
        min-height: 250px;
        padding: 17px;
    }

    .watch-card-actions {
        align-items: center;
        flex-flow: row wrap;
    }

    .compare-tray {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: calc(100% - 20px);
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .compare-tray > button {
        grid-column: 2;
    }
}

@media (max-width: 359px) {
    .watch-archive-card {
        grid-template-columns: 1fr;
    }

    .watch-card-media {
        min-height: 0;
        aspect-ratio: 1;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}

.watch-archive-section.has-compare-tray {
    padding-bottom: max(180px, calc(130px + env(safe-area-inset-bottom)));
}

@media (prefers-reduced-motion: reduce) {
    .home-visual-card-media img,
    .home-price-card img {
        transition: none;
    }
}

.section {
    padding: clamp(72px, 10vw, 130px) 0;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-dark {
    color: var(--paper);
    background: var(--night);
    border: 0;
}

.section-warm {
    background: var(--paper-deep);
}

.section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
    align-items: end;
    margin-bottom: 46px;
    gap: 40px;
}

.section-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1;
}

.section-lead {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
}

.section-dark .section-lead {
    color: rgba(244, 241, 233, 0.62);
}

.section-action {
    display: inline-flex;
    align-items: center;
    margin-top: 28px;
    gap: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-decoration: none;
    text-transform: uppercase;
}

.section-action::after {
    content: "→";
    font-size: 18px;
    transition: transform 160ms ease;
}

.section-action:hover::after {
    transform: translateX(4px);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.brand-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.brand-archive-index {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px 24px;
    margin: 0 0 28px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--paper-deep);
}

.brand-archive-index p {
    margin: 7px 0 0;
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brand-archive-index ol {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 7px;
    flex-wrap: wrap;
    list-style: none;
}

.brand-archive-index a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
}

.brand-archive-index a:hover,
.brand-archive-index a:focus-visible {
    border-color: var(--gold);
    background: var(--paper);
}

.brand-archive-grid + .brand-archive-grid {
    margin-top: 18px;
}

.brand-archive-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: border-color 180ms ease, transform 180ms ease;
}

.brand-archive-card:hover {
    border-color: rgba(166, 120, 53, 0.72);
    transform: translateY(-3px);
}

.brand-archive-card:focus-within {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.brand-archive-media {
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    background: var(--paper-deep);
}

.brand-archive-media picture,
.brand-archive-image {
    display: block;
    width: 100%;
    height: 100%;
}

.brand-archive-image {
    object-fit: cover;
    transition: transform 420ms ease;
}

.brand-archive-card:hover .brand-archive-image {
    transform: scale(1.025);
}

.brand-archive-body {
    display: flex;
    min-height: 330px;
    padding: clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) 82px;
    flex-direction: column;
}

.brand-archive-card-text .brand-archive-body {
    min-height: 360px;
    padding-top: clamp(34px, 4vw, 52px);
}

.brand-archive-card .card-type {
    margin-bottom: 34px;
}

.brand-archive-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(29px, 2.5vw, 39px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.brand-archive-facts {
    display: flex;
    margin: 25px 0 0;
    gap: 14px 24px;
    flex-wrap: wrap;
}

.brand-archive-facts div {
    display: grid;
    gap: 4px;
}

.brand-archive-facts dt {
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-archive-facts dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.brand-archive-summary {
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
}

.brand-archive-totals {
    display: flex;
    margin: auto 0 0;
    padding-top: 28px;
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.04em;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-archive-totals strong {
    color: var(--ink);
    font-weight: 700;
}

.brand-archive-link {
    position: absolute;
    z-index: 2;
    inset: 0;
}

.brand-archive-action {
    position: absolute;
    right: clamp(24px, 2.6vw, 34px);
    bottom: 22px;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-archive-card:hover .brand-archive-action,
.brand-archive-card:focus-within .brand-archive-action {
    color: var(--gold-deep);
}

.entity-card {
    position: relative;
    min-height: 250px;
    padding: clamp(24px, 3vw, 38px);
    overflow: hidden;
    background: var(--paper);
}

.section-warm .entity-card {
    background: var(--paper-deep);
}

.section-dark .card-grid {
    background: var(--line-dark);
    border-color: var(--line-dark);
}

.section-dark .entity-card {
    background: var(--night);
}

.entity-card::after {
    position: absolute;
    right: 22px;
    bottom: 16px;
    color: var(--gold);
    content: "↗";
    font-size: 19px;
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.entity-card:hover::after {
    opacity: 1;
    transform: translate(0, 0);
}

.entity-card a {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.card-type {
    margin: 0 0 50px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.card-title {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(25px, 2.6vw, 38px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.card-summary {
    display: -webkit-box;
    margin: 15px 0 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.section-dark .card-summary {
    color: rgba(244, 241, 233, 0.6);
}

.alpha-index {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 44px;
    gap: 8px;
}

.alpha-index a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    font-family: var(--mono);
    font-size: 12px;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.page-hero {
    padding: clamp(70px, 10vw, 130px) 0 clamp(54px, 7vw, 90px);
    color: var(--paper);
    background:
        radial-gradient(circle at 80% 20%, rgba(166, 120, 53, 0.18), transparent 38%),
        var(--night);
}

.page-hero h1 {
    max-width: 1000px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(46px, 7vw, 94px);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.02;
    overflow-wrap: anywhere;
}

.reference-title-name,
.reference-title-code {
    display: block;
}

.reference-title-code {
    margin-top: 0.22em;
    font-family: var(--mono);
    font-size: 0.52em;
    font-weight: 500;
    letter-spacing: 0.015em;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
}

.page-hero .lede {
    max-width: 720px;
    margin: 28px 0 0;
    color: rgba(244, 241, 233, 0.68);
    font-family: var(--serif);
    font-size: clamp(19px, 2.2vw, 26px);
    line-height: 1.45;
}

.breadcrumbs {
    margin-bottom: 28px;
    color: rgba(244, 241, 233, 0.58);
    font-size: 12px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

.breadcrumbs li {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.breadcrumbs li:not(:last-child)::after {
    margin-left: 8px;
    content: "/";
    color: var(--gold-light);
}

.breadcrumbs a {
    color: inherit;
}

.entity-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
    gap: clamp(45px, 7vw, 100px);
}

.prose {
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.75;
}

.prose > *:first-child {
    margin-top: 0;
}

.prose h2,
.prose h3 {
    margin: 2.1em 0 0.55em;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.prose h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.prose h3 {
    font-size: 27px;
}

.prose a {
    color: #79531e;
}

.prose blockquote {
    margin: 2em 0;
    padding: 0 0 0 24px;
    color: var(--ink-soft);
    border-left: 2px solid var(--gold);
}

.facts-panel {
    position: sticky;
    top: 106px;
    padding: 26px;
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow);
}

.facts-panel h2 {
    margin: 0 0 19px;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
}

.fact-list {
    margin: 0;
}

.fact-row {
    display: grid;
    grid-template-columns: minmax(90px, 0.85fr) minmax(0, 1.15fr);
    padding: 10px 0;
    gap: 14px;
    border-top: 1px solid var(--line);
}

.fact-row dt {
    color: var(--ink-soft);
    font-size: 12px;
}

.fact-row dd {
    margin: 0;
    font-size: 13px;
    font-weight: 650;
    text-align: right;
    overflow-wrap: anywhere;
}

.taxonomy-chips {
    display: flex;
    flex-wrap: wrap;
    margin: 28px 0 0;
    padding: 0;
    gap: 8px;
    list-style: none;
}

.taxonomy-chips a {
    display: inline-block;
    padding: 7px 12px;
    color: var(--ink-soft);
    font-size: 11px;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 99px;
}

.source-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: sources;
}

.source-list li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 16px 0;
    gap: 10px;
    border-top: 1px solid var(--line);
    counter-increment: sources;
}

.source-list li::before {
    color: var(--gold);
    content: counter(sources, decimal-leading-zero);
    font-family: var(--mono);
    font-size: 11px;
}

.source-list a {
    font-family: var(--serif);
    font-size: 18px;
}

.source-meta {
    display: block;
    margin-top: 2px;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 11px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.timeline-branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 24px;
}

.timeline-branch,
.timeline-undated {
    min-width: 0;
}

.timeline-branch > h3,
.timeline-undated h3 {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
}

.timeline-undated {
    display: grid;
    grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.timeline-undated p {
    margin: 0;
    color: var(--ink-soft);
}

.timeline-node {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    padding: 22px;
    gap: 20px;
    background: var(--paper);
}

.timeline-node > * {
    min-width: 0;
    overflow-wrap: anywhere;
}

.timeline-year {
    color: var(--gold);
    font-family: var(--mono);
    font-size: 13px;
}

.timeline-node h3,
.timeline-node strong {
    display: block;
    margin: 0;
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
}

.timeline a.timeline-node {
    color: inherit;
    text-decoration: none;
    transition: background 160ms ease;
}

.timeline a.timeline-node:hover {
    color: inherit;
    background: var(--white);
}

.timeline-node small {
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dark {
    color: var(--gold);
}

.term-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.term-link {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease;
}

.term-link-static {
    cursor: default;
}

.term-link-static small a {
    position: relative;
    z-index: 1;
}

.term-link:hover {
    color: var(--paper);
    background: var(--night);
}

.term-link > span {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.05;
}

.term-link p {
    margin: 16px 0;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.55;
}

.term-link:hover p {
    color: rgba(244, 241, 233, 0.65);
}

.term-link small {
    color: var(--gold);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.term-grid-large .term-link {
    min-height: 230px;
}

.manifesto-band {
    padding: clamp(78px, 12vw, 150px) 0;
    color: var(--paper);
    background: var(--gold);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 0.45fr 1.55fr;
    align-items: start;
    gap: 40px;
}

.manifesto-grid .eyebrow {
    color: #fff2d8;
}

.manifesto-grid h2 {
    max-width: 900px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 67px);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.03;
}

.manifesto-grid .section-action {
    grid-column: 2;
    margin-top: 0;
    color: #fff2d8;
}

.entity-section {
    margin-top: 70px;
}

.entity-page-nav {
    position: sticky;
    z-index: 90;
    top: 76px;
    color: var(--paper);
    background: rgba(31, 30, 27, 0.97);
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(12px);
}

.entity-page-nav-inner {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 22px;
}

.entity-page-nav-inner > span {
    flex: 0 0 auto;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.entity-page-nav-links {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.entity-page-nav-links::-webkit-scrollbar {
    display: none;
}

.entity-page-nav a {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 10px;
    color: var(--paper-muted);
    font-size: 12px;
    text-decoration: none;
}

.entity-page-nav a:hover,
.entity-page-nav a:focus-visible {
    color: var(--white);
}

.entity-page-nav a[aria-current="location"] {
    color: var(--white);
    box-shadow: inset 0 -2px 0 var(--gold-light);
}

#panoramica,
#galleria,
#fonti,
#collezioni,
#modelli,
#referenze,
#calibri,
.entity-copy h2[id] {
    scroll-margin-top: 148px;
}

.entity-section > h2 {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}

.watch-gallery {
    padding-top: clamp(36px, 6vw, 72px);
    background: var(--night);
    color: var(--paper);
}

.gallery-header .section-title,
.gallery-header .section-lead {
    color: inherit;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.gallery-item {
    margin: 0;
    min-width: 0;
}

.gallery-item-primary {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-open {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    color: inherit;
    background: var(--night-soft);
    border: 1px solid var(--line-dark);
    cursor: zoom-in;
}

.gallery-open picture,
.gallery-open img {
    display: block;
    width: 100%;
}

.gallery-open img {
    height: auto;
    object-fit: contain;
    transition: transform 240ms ease;
}

.gallery-open:hover img,
.gallery-open:focus-visible img {
    transform: scale(1.02);
}

.gallery-item figcaption,
.gallery-dialog figcaption {
    margin-top: 12px;
    padding: 0 2px;
    color: var(--gold-light);
    font-size: 12px;
    line-height: 1.5;
}

.gallery-item figcaption span,
.gallery-item figcaption a,
.gallery-dialog figcaption span,
.gallery-dialog figcaption a {
    display: block;
    color: rgba(244, 241, 233, 0.72);
}

.editorial-visual {
    margin: 30px 0 38px;
}

.editorial-visual picture,
.editorial-visual img {
    display: block;
    width: 100%;
}

.editorial-visual img {
    height: auto;
    max-height: 720px;
    object-fit: contain;
    background: var(--paper);
}

.editorial-visual figcaption {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.5;
}

.editorial-visual figcaption span,
.editorial-visual figcaption a {
    display: block;
}

.gallery-dialog {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    color: var(--paper);
    background: rgba(10, 10, 9, 0.98);
    border: 0;
}

.gallery-dialog::backdrop {
    background: rgba(10, 10, 9, 0.92);
}

.gallery-dialog-inner {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    width: min(100% - 24px, 1500px);
    min-height: 100dvh;
    margin: 0 auto;
    gap: 12px;
}

.gallery-dialog-single .gallery-dialog-inner {
    grid-template-columns: minmax(0, 1fr);
}

.gallery-dialog figure {
    margin: 0;
    min-width: 0;
    text-align: center;
}

.gallery-dialog img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 130px);
    margin: 0 auto;
    object-fit: contain;
    touch-action: pinch-zoom;
    transition: transform 180ms ease;
}

.gallery-dialog img.is-zoomed {
    transform: scale(1.75);
    cursor: zoom-out;
}

.gallery-close,
.gallery-nav {
    min-width: 48px;
    min-height: 48px;
    color: var(--paper);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    cursor: pointer;
}

.gallery-close {
    position: fixed;
    z-index: 2;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
    font-size: 28px;
}

.gallery-counter {
    position: fixed;
    top: max(20px, env(safe-area-inset-top));
    left: 50%;
    z-index: 2;
    margin: 0;
    padding: 7px 12px;
    color: rgba(244, 241, 233, 0.82);
    background: rgba(10, 10, 9, 0.66);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    transform: translateX(-50%);
}

.gallery-nav {
    font-size: 22px;
}

.gallery-is-open {
    overflow: hidden;
}

.retail-price-section {
    padding: clamp(24px, 4vw, 38px);
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow);
}

.retail-price-section > h2 {
    margin-top: 0.15em;
}

.retail-price-value {
    margin: 20px 0 4px;
    font-family: var(--serif);
    font-size: clamp(38px, 7vw, 64px);
    line-height: 1;
}

.retail-price-meta {
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 13px;
}

.market-price-section {
    background: var(--paper);
}

.market-price-range {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 16px;
}

.market-price-range > div {
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--white);
}

.market-price-range span,
.market-price-range strong {
    display: block;
}

.market-price-range span {
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.market-price-range strong {
    margin-top: 6px;
    font-family: var(--serif);
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1;
}

@media (max-width: 420px) {
    .market-price-range {
        grid-template-columns: 1fr;
    }
}

.price-history-chart {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 28px;
    overflow: visible;
}

.price-chart-axis {
    stroke: var(--line);
}

.price-chart-line {
    fill: none;
    stroke: var(--gold);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.price-chart-point {
    fill: var(--white);
    stroke: var(--gold);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.price-history-details {
    margin-top: 18px;
    font-family: var(--sans);
    font-size: 13px;
}

.price-history-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.price-history-list li {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.retail-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.price-filter-panel {
    margin-bottom: 24px;
}

.price-page-hero {
    padding-block: clamp(52px, 7vw, 88px) clamp(44px, 5vw, 64px);
}

.price-page-hero h1 {
    font-size: clamp(46px, 6vw, 82px);
}

.price-archive-section {
    padding-top: clamp(48px, 7vw, 88px);
}

.price-filter-form {
    grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(155px, 0.7fr));
}

.price-filter-help {
    grid-column: 1 / -1;
    max-width: 760px;
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.55;
}

.price-filter-notice {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 14px;
    border-left: 3px solid var(--gold);
    background: var(--paper-deep);
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.5;
}

.price-filter-form .watch-filter-actions {
    grid-column: 1 / -1;
}

.price-archive-status {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 18px;
    scroll-margin-top: 100px;
    font-size: 13px;
}

.price-archive-range {
    color: var(--ink-soft);
}

.price-archive-page {
    color: var(--ink-soft);
}

.price-archive-context {
    color: var(--ink-soft);
    font-size: 12px;
}

.price-archive-empty-summary {
    color: var(--ink-soft);
}

.price-archive-status p {
    margin: 0;
}

.price-archive-status strong {
    color: var(--gold);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
}

.retail-archive-card {
    min-width: 0;
    padding: clamp(24px, 3vw, 38px);
    background: var(--white);
}

.retail-archive-card-no-media {
    align-self: start;
    padding-block: clamp(22px, 2.4vw, 30px);
}

.retail-card-media {
    aspect-ratio: 4 / 3;
    margin: calc(clamp(24px, 3vw, 38px) * -1) calc(clamp(24px, 3vw, 38px) * -1) 26px;
    overflow: hidden;
    background: var(--paper-deep);
}

.retail-card-media picture,
.retail-card-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.retail-card-media img {
    object-fit: cover;
}

.retail-archive-card .eyebrow {
    margin-bottom: 16px;
}

.retail-archive-card h2,
.retail-archive-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(25px, 2.5vw, 36px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.retail-archive-card h2 a,
.retail-archive-card h3 a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.retail-archive-reference,
.retail-archive-configuration,
.retail-price-kind {
    margin: 8px 0 0;
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.retail-price-kind {
    margin: -10px 0 18px;
    font-family: var(--sans);
}

.retail-archive-observed {
    margin: -8px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.retail-archive-price {
    margin: 30px 0 20px;
    color: var(--gold);
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
}

.retail-archive-meta {
    margin: 0;
    font-family: var(--sans);
    font-size: 12px;
}

.retail-archive-meta > div {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    gap: 16px;
    border-top: 1px solid var(--line);
}

.retail-archive-meta dt {
    color: var(--ink-soft);
}

.retail-archive-meta dd {
    margin: 0;
    text-align: right;
}

.retail-archive-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 26px;
    gap: 12px 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.retail-archive-actions a,
.retail-source-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.retail-observation-details {
    margin-top: 14px;
    font-size: 13px;
    border-top: 1px solid var(--line);
}

.retail-observation-details summary {
    min-height: 44px;
    padding: 13px 0 9px;
    cursor: pointer;
    font-weight: 700;
}

.retail-source-link {
    display: inline-flex;
    margin-top: 12px;
}

.retail-archive-history {
    margin-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.retail-archive-history summary {
    min-height: 44px;
    padding: 13px 0 9px;
    cursor: pointer;
    font-weight: 700;
}

.retail-archive-history ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.retail-archive-history li {
    display: grid;
    grid-template-columns: minmax(100px, 1fr) auto auto;
    align-items: baseline;
    padding: 9px 0;
    gap: 12px;
    border-top: 1px solid var(--line);
}

.retail-archive-history a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-method-band {
    padding: clamp(42px, 6vw, 72px) 0;
    background: var(--paper-deep);
    border-bottom: 1px solid var(--line);
}

.price-method-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr;
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
}

.price-method-grid h2 {
    margin: 8px 0 0;
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.05;
}

.price-method-grid > p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.source-context {
    display: block;
    margin-top: 7px;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.45;
}

.relation-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.relation-row a {
    display: flex;
    min-height: 120px;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: inherit;
    background: var(--paper);
    text-decoration: none;
}

.relation-row small {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.relation-row strong {
    font-size: 19px;
    font-weight: 500;
}

.article-copy > p:first-child::first-letter {
    float: left;
    margin: 0.06em 0.09em 0 0;
    color: var(--gold);
    font-size: 4.2em;
    line-height: 0.78;
}

.error-hero {
    min-height: 72vh;
}

.archive-intro {
    max-width: 760px;
}

.term-source {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.term-source a {
    color: currentColor;
    text-underline-offset: 3px;
}

.pagination,
.nav-links {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 45px;
    gap: 8px;
}

.nav-links {
    min-width: 0;
}

.page-numbers {
    display: grid;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    place-items: center;
    text-decoration: none;
    border: 1px solid var(--line);
}

.page-numbers.current {
    color: var(--paper);
    background: var(--night);
}

.archive-pagination ul.page-numbers {
    display: flex;
    width: fit-content;
    max-width: 100%;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    margin: 45px auto 0;
    padding: 0;
    gap: 4px;
    list-style: none;
    border: 0;
}

.archive-pagination ul.page-numbers > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-pagination .page-numbers.dots {
    min-width: 16px;
    padding-inline: 0;
    border: 0;
}

.archive-pagination .page-numbers.current {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Price pagination remains usable as a two-dimensional touch target on mobile. */
.price-pagination .page-numbers:not(.dots) {
    min-width: 44px;
    height: 44px;
}

.retail-archive-history a {
    min-width: 44px;
}

.search-results-heading {
    margin-bottom: 42px;
}

.no-results {
    padding: 50px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
}

.no-results a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.entity-action-row {
    margin: 44px 0 0;
}

.compare-section {
    background: var(--paper-deep);
}

.compare-hero h1 {
    font-size: clamp(42px, 6vw, 78px);
}

.compare-form {
    padding: clamp(24px, 4vw, 44px);
    background: var(--white);
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow);
}

.compare-form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.compare-form legend {
    margin-bottom: 22px;
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 38px);
}

.compare-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
}

.compare-controls label {
    display: grid;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 750;
    gap: 7px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.compare-controls input {
    width: 100%;
    min-height: 52px;
    padding: 12px 15px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 14px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.compare-vs {
    padding-bottom: 15px;
    color: var(--gold);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 750;
}

.compare-controls button {
    min-height: 52px;
    padding: 12px 24px;
    color: var(--paper);
    background: var(--night);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.compare-controls button:hover {
    color: var(--night);
    background: var(--gold-light);
}

.compare-notice {
    margin: 20px 0 0;
    padding: 14px 17px;
    color: #5c3316;
    background: #f4dfc1;
    border-left: 3px solid var(--gold);
    font-size: 14px;
}

.compare-table-wrap {
    max-width: 100%;
    margin-top: 42px;
    overflow-x: auto;
    background: var(--white);
    box-shadow: var(--shadow);
    overscroll-behavior-inline: contain;
}

.compare-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.compare-table caption {
    padding: 18px 22px;
    color: var(--ink-soft);
    background: var(--paper);
    font-size: 12px;
    text-align: left;
}

.compare-table th,
.compare-table td {
    padding: 17px 20px;
    vertical-align: top;
    border: 1px solid var(--line);
    overflow-wrap: anywhere;
}

.compare-table thead th {
    color: var(--paper);
    background: var(--night);
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
}

.compare-table thead th:first-child,
.compare-table tbody th {
    width: 22%;
}

.compare-table tbody th {
    position: sticky;
    z-index: 1;
    left: 0;
    color: var(--ink-soft);
    background: var(--paper);
    font-size: 11px;
    letter-spacing: 0.045em;
    text-align: left;
    text-transform: uppercase;
}

.compare-table tbody td {
    background: var(--white);
    font-size: 14px;
}

.compare-table tr.is-different td {
    background: #fffaf0;
}

.compare-source-note {
    max-width: 820px;
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.compare-picker {
    margin-top: clamp(60px, 8vw, 100px);
}

.compare-pick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.compare-pick {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    color: var(--ink);
    background: var(--paper);
    text-decoration: none;
}

.compare-pick:hover {
    color: var(--paper);
    background: var(--night);
}

.compare-pick span,
.compare-pick small {
    color: var(--gold);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.compare-pick strong {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    line-height: 1.12;
}

.site-footer {
    padding: 65px 0 30px;
    color: rgba(244, 241, 233, 0.68);
    background: #10100f;
    border-top: 1px solid var(--line-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.8fr);
    padding-bottom: 46px;
    gap: 50px;
}

.footer-title {
    margin: 0 0 15px;
    color: var(--paper);
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
}

.footer-copy {
    max-width: 460px;
    margin: 0;
    font-size: 13px;
}

.footer-contributors {
    max-width: 460px;
    margin-top: 28px;
}

.footer-contributors-title {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.footer-contributors-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 18px 24px;
    list-style: none;
}

.footer-contributor-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--paper);
    text-decoration: none;
}

.footer-contributor-logo {
    display: block;
    width: min(200px, 100%);
    height: auto;
    opacity: 0.9;
}

.footer-contributor-link:hover .footer-contributor-logo,
.footer-contributor-link:focus-visible .footer-contributor-logo {
    opacity: 1;
}

.footer-heading {
    margin: 0 0 14px;
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li + li {
    margin-top: 8px;
}

.footer-menu a {
    color: rgba(244, 241, 233, 0.72);
    font-size: 13px;
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    gap: 20px;
    font-size: 11px;
    border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
    margin: 0;
}

.cookie-consent {
    position: fixed;
    z-index: 1200;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    max-width: 900px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 18px 20px;
    color: var(--paper);
    background: rgba(16, 16, 15, 0.98);
    border: 1px solid rgba(215, 187, 132, 0.35);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    gap: 24px;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent h2 {
    margin: 0 0 5px;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
}

.cookie-consent p {
    max-width: 620px;
    margin: 0;
    color: rgba(244, 241, 233, 0.78);
    font-size: 13px;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.cookie-consent-actions button {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid rgba(244, 241, 233, 0.38);
    border-radius: 2px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-consent-reject {
    color: var(--paper);
    background: transparent;
}

.cookie-consent-accept {
    color: var(--night);
    background: var(--gold-light);
    border-color: var(--gold-light) !important;
}

.cookie-consent-actions button:hover,
.cookie-consent-actions button:focus-visible {
    color: var(--night);
    background: var(--paper);
    border-color: var(--paper);
}

.magazine-hero .lede,
.glossary-hero .lede {
    max-width: 820px;
}

.magazine-feature-section {
    background: var(--white);
}

.magazine-topic-index,
.glossary-category-index {
    border-block: 1px solid var(--line);
    background: var(--paper-deep);
}

.magazine-topic-index .shell,
.glossary-category-index {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-block: 15px;
}

.magazine-topic-index p,
.glossary-category-index p {
    flex: 0 0 auto;
    margin: 0;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.magazine-topic-index ol,
.glossary-category-index ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.magazine-topic-index a,
.glossary-category-index a {
    display: grid;
    min-height: 44px;
    padding: 0 16px;
    place-items: center;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.magazine-topic-index a:hover,
.magazine-topic-index a:focus-visible,
.glossary-category-index a:hover,
.glossary-category-index a:focus-visible {
    color: var(--paper);
    background: var(--night);
    border-color: var(--night);
}

.magazine-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.magazine-card {
    position: relative;
    display: grid;
    min-width: 0;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    transition: border-color 180ms ease, transform 180ms ease;
}

.section-warm .magazine-card {
    background: var(--white);
}

.magazine-card:hover {
    border-color: rgba(166, 120, 53, 0.72);
    transform: translateY(-3px);
}

.magazine-card:focus-within {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.magazine-card-featured {
    grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
    min-height: 540px;
    color: var(--paper);
    background: var(--night);
    border-color: var(--night);
}

.magazine-card-media {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--paper-deep);
}

.magazine-card-featured .magazine-card-media {
    height: 100%;
    aspect-ratio: auto;
    background: var(--night-soft);
}

.magazine-card-media picture,
.magazine-card-image {
    display: block;
    width: 100%;
    height: 100%;
}

.magazine-card-image {
    object-fit: cover;
    transition: transform 420ms ease;
}

.magazine-card:hover .magazine-card-image {
    transform: scale(1.025);
}

.magazine-card-body {
    display: flex;
    min-height: 310px;
    padding: clamp(25px, 3.2vw, 42px);
    flex-direction: column;
}

.magazine-card-featured .magazine-card-body {
    min-height: 100%;
    justify-content: center;
}

.magazine-card-body .card-type {
    margin-bottom: 24px;
}

.magazine-card h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(29px, 3vw, 46px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.04;
}

.magazine-card-featured h2 {
    font-size: clamp(38px, 4.2vw, 62px);
}

.magazine-card-body > p:not(.card-type) {
    margin: 20px 0 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.magazine-card-featured .magazine-card-body > p:not(.card-type) {
    color: rgba(244, 241, 233, 0.7);
}

.magazine-card-cta {
    margin-top: auto;
    padding-top: 28px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.magazine-card-related {
    position: relative;
    z-index: 3;
    margin-top: 12px;
    color: inherit;
    font-size: 12px;
    line-height: 1.45;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

.magazine-card-link {
    position: absolute;
    z-index: 2;
    inset: 0;
}

.article-related-entity {
    display: grid;
    grid-template-columns: minmax(180px, 0.42fr) minmax(0, 0.58fr);
    align-items: center;
    margin: 54px 0 0;
    overflow: hidden;
    background: var(--paper-deep);
    border: 1px solid var(--line);
}

.article-related-entity figure {
    height: 100%;
    min-height: 230px;
    margin: 0;
    overflow: hidden;
}

.article-related-entity figure picture,
.article-related-image {
    display: block;
    width: 100%;
    height: 100%;
}

.article-related-image {
    object-fit: cover;
}

.article-related-entity > div {
    padding: clamp(25px, 4vw, 42px);
}

.article-related-entity .card-type {
    margin-bottom: 18px;
}

.article-related-entity h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 40px);
    overflow-wrap: anywhere;
}

.glossary-search {
    max-width: 760px;
    margin-top: 38px;
}

.glossary-search label {
    display: block;
    margin-bottom: 10px;
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.glossary-search > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(244, 241, 233, 0.32);
}

.glossary-search input,
.glossary-search button {
    min-height: 54px;
    border: 0;
    border-radius: 0;
}

.glossary-search input {
    min-width: 0;
    padding: 0 18px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
}

.glossary-search button {
    padding: 0 28px;
    color: var(--paper);
    background: var(--gold);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    cursor: pointer;
}

.glossary-alpha {
    display: grid;
    grid-template-columns: repeat(13, minmax(38px, 1fr));
    gap: 8px;
}

.glossary-alpha a,
.glossary-alpha span {
    display: grid;
    min-height: 44px;
    place-items: center;
    font-family: var(--mono);
    font-size: 11px;
    border: 1px solid var(--line);
}

.glossary-alpha a {
    color: var(--ink);
    background: var(--white);
    text-decoration: none;
}

.glossary-alpha a:hover,
.glossary-alpha a:focus-visible {
    color: var(--paper);
    background: var(--night);
}

.glossary-alpha span {
    color: rgba(23, 23, 20, 0.34);
    background: transparent;
}

.glossary-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.glossary-category-index {
    margin-top: 22px;
    padding-inline: 18px;
}

.glossary-status p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
}

.glossary-status strong {
    color: var(--ink);
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
}

.glossary-status a {
    color: var(--gold);
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.glossary-group {
    padding-top: clamp(62px, 8vw, 94px);
    scroll-margin-top: 110px;
}

.glossary-term-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.glossary-term-card {
    position: relative;
    min-width: 0;
    min-height: 260px;
    padding: clamp(24px, 3vw, 36px);
    background: var(--paper);
    scroll-margin-top: 110px;
}

.glossary-term-card:hover {
    background: var(--white);
}

.glossary-letter {
    margin: 0 0 38px;
    color: var(--gold);
    font-family: var(--mono);
    font-size: 11px;
}

.glossary-term-card h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(25px, 2.45vw, 37px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.04;
    overflow-wrap: anywhere;
}

.glossary-term-card > p:not(.glossary-letter) {
    display: -webkit-box;
    margin: 16px 0 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.glossary-term-card > span {
    position: absolute;
    right: 28px;
    bottom: 24px;
    left: 28px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.glossary-term-card > a {
    position: absolute;
    z-index: 2;
    inset: 0;
}

@media (max-width: 940px) {
    .price-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        z-index: 990;
        top: calc(var(--mobile-header-height) + env(safe-area-inset-top));
        right: 0;
        bottom: auto;
        left: 0;
        display: none;
        width: 100%;
        height: calc(100vh - var(--mobile-header-height) - env(safe-area-inset-top));
        height: calc(100dvh - var(--mobile-header-height) - env(safe-area-inset-top));
        min-height: 0;
        padding-top: clamp(18px, 4dvh, 36px);
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: max(24px, env(safe-area-inset-bottom));
        padding-left: max(20px, env(safe-area-inset-left));
        overflow-x: hidden;
        overflow-y: auto;
        color: var(--paper);
        background:
            radial-gradient(circle at 88% 7%, rgba(166, 120, 53, 0.18), transparent 34%),
            linear-gradient(150deg, #161614 0%, #1d1b17 58%, #121210 100%);
        border-top: 1px solid var(--line-dark);
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav .menu,
    .site-nav-tools {
        width: min(100%, 720px);
        margin: 0 auto;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .site-nav li {
        width: 100%;
    }

    .site-nav a {
        display: flex;
        width: 100%;
        min-height: clamp(48px, 6.25dvh, 56px);
        align-items: center;
        font-family: var(--serif);
        font-size: clamp(24px, 7vw, 30px);
        font-weight: 400;
        letter-spacing: 0;
        line-height: 1.12;
        text-transform: none;
        border-bottom: 1px solid rgba(244, 241, 233, 0.13);
        transition: color 160ms ease, padding-left 160ms ease, border-color 160ms ease;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible,
    .site-nav .current-menu-item > a,
    .site-nav .current_page_item > a {
        padding-left: 8px;
        color: var(--gold-light);
        border-color: rgba(215, 187, 132, 0.48);
    }

    .site-nav-tools {
        display: grid;
    }

    .hero-visual .hero-inner {
        grid-template-columns: 1fr;
        padding-block: 72px;
        gap: 48px;
    }

    .home-hero-copy {
        max-width: 760px;
    }

    .home-hero-visual {
        width: min(100%, 620px);
    }

    .home-visual-grid,
    .home-collection-grid,
    .home-price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-history-grid {
        grid-template-columns: 1fr;
    }

    .home-visual-card-wide > a {
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
        grid-template-rows: auto;
    }

    .section-header,
    .entity-layout {
        grid-template-columns: 1fr;
    }

    .facts-panel {
        position: static;
        order: -1;
    }

    .card-grid,
    .brand-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-archive-index {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .brand-archive-index p {
        margin-top: 0;
    }

    .magazine-card-featured {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .magazine-topic-index .shell,
    .glossary-category-index {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .magazine-card-featured .magazine-card-media {
        min-height: 420px;
        aspect-ratio: 16 / 10;
    }

    .glossary-alpha {
        grid-template-columns: repeat(9, minmax(38px, 1fr));
    }

    .glossary-term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .retail-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .price-method-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .term-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
    }

    .manifesto-grid .section-action {
        grid-column: 1;
    }

    .compare-controls {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .compare-vs {
        display: none;
    }

    .compare-controls button {
        grid-column: 1 / -1;
    }

    .compare-pick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        display: block;
        max-height: calc(100svh - 24px);
        padding: 14px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .cookie-consent h2 {
        margin-bottom: 4px;
        font-size: 18px;
        line-height: 1.15;
    }

    .cookie-consent p {
        font-size: 12px;
        line-height: 1.45;
    }

    .cookie-consent-actions {
        margin-top: 12px;
    }

    .cookie-consent-actions button {
        flex: 1;
    }

    .price-filter-form {
        padding: 18px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .price-page-hero {
        padding-block: 38px 42px;
    }

    .price-page-hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .price-archive-section {
        padding-top: 38px;
    }

    .price-archive-status {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .retail-archive-history li {
        grid-template-columns: 1fr auto;
    }

    .retail-archive-history li a {
        grid-column: 1 / -1;
    }

    :root {
        --mobile-header-height: 68px;
    }

    body {
        font-size: 16px;
    }

    .header-inner {
        min-height: 68px;
        gap: 16px;
    }

    .site-brand {
        font-size: clamp(20px, 6.8vw, 24px);
        letter-spacing: 0.025em;
    }

    .site-nav {
        padding-right: max(15px, env(safe-area-inset-right));
        padding-left: max(15px, env(safe-area-inset-left));
    }

    .header-inner,
    .shell,
    .hero-inner,
    .content-width {
        width: min(calc(100% - 30px), var(--wide));
    }

    .hero {
        min-height: max(620px, calc(100svh - 68px - env(safe-area-inset-top)));
    }

    .hero-visual {
        min-height: auto;
    }

    .hero-visual .hero-inner {
        padding-block: 48px 44px;
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 48px);
        letter-spacing: -0.035em;
        line-height: 0.98;
    }

    .hero-visual h1 {
        font-size: clamp(42px, 12.6vw, 56px);
        line-height: 0.96;
    }

    .hero-intro {
        margin-top: 24px;
        font-size: 18px;
        line-height: 1.48;
    }

    .entity-search {
        margin-top: 28px;
    }

    .home-hero-visual {
        width: 100%;
    }

    .home-hero-visual picture {
        border-radius: 42% 42% 3px 3px;
    }

    .home-hero-image {
        padding: 14px;
    }

    .home-hero-visual figcaption {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .home-hero-visual figcaption small {
        grid-row: auto;
        grid-column: 1;
        max-width: none;
        margin-top: 5px;
        text-align: left;
    }

    .search-field-wrap {
        display: block;
    }

    .search-field-wrap input[type="search"],
    .search-field-wrap button {
        width: 100%;
    }

    .card-grid,
    .brand-archive-grid {
        grid-template-columns: 1fr;
    }

    .magazine-grid,
    .glossary-term-grid {
        grid-template-columns: 1fr;
    }

    .magazine-card-featured .magazine-card-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .magazine-card-body,
    .magazine-card-featured .magazine-card-body {
        min-height: 0;
    }

    .magazine-card-cta {
        margin-top: 22px;
        padding-top: 0;
    }

    .article-related-entity {
        grid-template-columns: 1fr;
    }

    .article-related-entity figure {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .glossary-search > div {
        grid-template-columns: 1fr;
    }

    .glossary-search button {
        width: 100%;
    }

    .glossary-alpha {
        grid-template-columns: repeat(6, minmax(38px, 1fr));
    }

    .glossary-status {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .brand-archive-body,
    .brand-archive-card-text .brand-archive-body {
        min-height: 0;
    }

    .home-visual-grid,
    .home-collection-grid,
    .home-price-grid {
        grid-template-columns: 1fr;
    }

    .home-path-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-path {
        min-height: 118px;
        padding: 18px;
    }

    .home-path:last-child {
        grid-column: 1 / -1;
    }

    .home-visual-card-media,
    .home-collection-grid .home-visual-card-media,
    .home-price-card figure {
        aspect-ratio: 4 / 3;
    }

    .home-visual-card h3,
    .home-price-card h3,
    .home-editorial-list h3,
    .home-collection-grid h3,
    .home-brand-grid h3 {
        font-size: clamp(27px, 8vw, 34px);
    }

    .home-visual-card-wide > a {
        display: flex;
    }

    .home-visual-card-wide .home-visual-card-media {
        aspect-ratio: 4 / 3;
    }

    .retail-archive-grid {
        grid-template-columns: 1fr;
    }

    .term-grid,
    .relation-row {
        grid-template-columns: 1fr;
    }

    .compare-controls,
    .compare-pick-grid {
        grid-template-columns: 1fr;
    }

    .compare-controls button {
        grid-column: auto;
    }

    .compare-table {
        display: block;
        min-width: 0;
    }

    .compare-table-wrap {
        overflow: visible;
    }

    .compare-table thead,
    .compare-table tbody {
        display: block;
    }

    .compare-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compare-table thead th:first-child {
        display: none;
    }

    .compare-table thead th,
    .compare-table tbody th,
    .compare-table tbody td {
        display: block;
        width: auto;
        min-width: 0;
        padding: 14px;
    }

    .compare-table tbody th {
        position: static;
        grid-column: 1 / -1;
        border-bottom: 0;
    }

    .compare-table tbody td {
        font-size: 13px;
    }

    .compare-table caption {
        display: block;
    }

    .entity-card {
        min-height: 220px;
    }

    .section-header {
        margin-bottom: 34px;
        gap: 18px;
    }

    .pagination,
    .nav-links {
        gap: 6px;
    }

    .page-numbers {
        min-width: 40px;
        height: 40px;
        padding-inline: 8px;
    }

    .page-hero {
        padding: 44px 0 52px;
    }

    .entity-page-nav {
        top: calc(69px + env(safe-area-inset-top));
    }

    .entity-page-nav-inner {
        display: block;
        width: 100%;
        min-height: 0;
        padding: 8px 15px 7px;
    }

    .entity-page-nav-inner > span {
        display: block;
        margin: 0 0 3px 8px;
    }

    .entity-page-nav-links {
        width: 100%;
        padding-bottom: 1px;
    }

    .entity-page-nav a {
        min-height: 44px;
    }

    .page-hero h1 {
        max-width: 100%;
        font-size: clamp(38px, 11.25vw, 52px);
        letter-spacing: -0.03em;
        line-height: 1.06;
        overflow-wrap: anywhere;
    }

    .compare-hero h1 {
        font-size: clamp(36px, 10.5vw, 46px);
    }

    .page-hero .lede {
        margin-top: 24px;
        font-size: 18px;
        line-height: 1.5;
    }

    .breadcrumbs {
        margin-bottom: 22px;
        font-size: 11px;
        line-height: 1.5;
    }

    .breadcrumbs ol {
        gap: 5px 6px;
    }

    .breadcrumbs li:not(:last-child)::after {
        margin-left: 6px;
    }

    .eyebrow {
        margin-bottom: 20px;
        gap: 9px;
        font-size: 10px;
        letter-spacing: 0.16em;
        line-height: 1.5;
    }

    .eyebrow::before {
        width: 24px;
        flex: 0 0 24px;
    }

    .section {
        padding: 56px 0;
    }

    .entity-layout {
        gap: 44px;
    }

    .facts-panel {
        padding: 22px;
    }

    .prose {
        font-size: 18px;
        line-height: 1.72;
    }

    .prose h2 {
        font-size: clamp(28px, 8.5vw, 36px);
        line-height: 1.12;
    }

    .prose h3 {
        font-size: 25px;
    }

    .fact-row {
        grid-template-columns: minmax(90px, 1fr) minmax(0, 1.25fr);
    }

    .gallery-grid {
        display: flex;
        width: 100%;
        padding: 0 0 8px;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item,
    .gallery-item-primary {
        min-width: min(86vw, 390px);
        scroll-snap-align: start;
    }

    .gallery-dialog-inner {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
        width: calc(100% - 12px);
        gap: 4px;
    }

    .gallery-dialog img {
        max-height: calc(100dvh - 170px);
    }

    .gallery-nav {
        min-width: 44px;
        min-height: 44px;
    }

    .timeline-node {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .timeline-undated {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-contributors {
        margin-top: 24px;
    }

    .footer-contributor-logo {
        width: min(180px, 100%);
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 359px) {
    .home-path-grid {
        grid-template-columns: 1fr;
    }

    .home-path:last-child {
        grid-column: auto;
    }
}

@media (max-width: 359px) {
    .page-hero h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .fact-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .fact-row dd {
        text-align: left;
    }

    .gallery-dialog-inner {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Magazine V1: additive styles, scoped to avoid existing archive-card rules. */
.entity-card.magazine-card .magazine-hero-image {
    margin: -38px -38px 25px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--paper-deep);
}

.entity-card.magazine-card .magazine-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.magazine-byline {
    margin: 22px 0 0;
    color: rgba(244, 241, 233, 0.76);
    font-size: 14px;
}

.magazine-byline a {
    color: inherit;
    text-underline-offset: 3px;
}

.magazine-categories {
    margin-top: 28px;
}

.magazine-categories ul {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.magazine-categories a {
    display: block;
    padding: 7px 11px;
    color: var(--paper);
    border: 1px solid rgba(244, 241, 233, 0.35);
    font-size: 12px;
    text-decoration: none;
}

.article-copy .magazine-hero-image {
    margin: 0 0 28px;
}

.article-copy .magazine-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}
