:root {
    --ease: cubic-bezier(.22, 1, .36, 1);
    --measure: 44rem;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(39, 56, 46, .04), 0 6px 18px rgba(39, 56, 46, .05);
    --shadow: 0 2px 6px rgba(39, 56, 46, .04), 0 18px 42px rgba(39, 56, 46, .09);
    --mist: #ebece1;
    --white: #fffdf8;
}

::selection { background: #d5e3d8; color: var(--ink); }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; }
body {
    background:
        radial-gradient(1100px 520px at -5% -10%, rgba(255, 255, 255, .9), transparent 60%),
        var(--paper);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures;
}
.content { padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 110px); }
main.wrap:not(.content) { padding-bottom: 72px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: fade-out .2s ease both; }
::view-transition-new(root) { animation: fade-in .36s var(--ease) both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes rise {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
}
@keyframes bar-in {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
@keyframes drift {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--ivory) 84%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    transition: box-shadow .4s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(39, 56, 46, .07); }
.header-inner { min-height: 76px; }
.brand img { transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-36deg); }
.read-progress { position: absolute; inset: auto 0 -1px; height: 2px; overflow: hidden; }
.read-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--ochre));
    transform: scaleX(0);
    transform-origin: left center;
}

.nav-category { position: relative; }
.nav-category::after {
    content: "";
    position: absolute;
    inset: auto 0 4px;
    height: 1.5px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .35s var(--ease);
}
.nav-category:hover::after,
.nav-category[aria-current]::after { transform: scaleX(1); }
nav a.nav-category:hover,
nav a.nav-category[aria-current] { text-decoration: none; }
.nav-group summary::after { transition: transform .28s var(--ease); }
.nav-panel {
    padding: 8px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    animation: rise .26s var(--ease);
}
.nav-panel a { padding: 9px 12px; border-radius: 8px; transition: background-color .2s ease, color .2s ease; }
.nav-panel a:hover { color: var(--green); text-decoration: none; }

/* Shared elements */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin: 0 0 1rem;
    color: var(--green);
    text-decoration: none;
    font-size: .72rem;
    letter-spacing: .18em;
}
a.eyebrow:hover { color: var(--ochre); }
.eyebrow::before {
    content: "";
    width: 1.6rem;
    height: 1px;
    background: var(--ochre);
}
.button {
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .01em;
    transition: background-color .25s ease, color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(39, 56, 46, .16); }
.button span { display: inline-block; transition: transform .3s var(--ease); }
.button:hover span { transform: translate(3px, -3px); }
button.button { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.text-link {
    color: var(--green);
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
    padding-bottom: 2px;
    transition: background-size .3s var(--ease), color .2s ease;
}
.text-link:hover { color: var(--ochre); background-size: 0 1px; background-position: 100% 100%; }
.muted { color: var(--sage); }
.alert { margin: 0 0 1.25rem; padding: .9rem 1.1rem; border: 1px solid #c9dccf; border-radius: 10px; background: #e7f0ea; animation: rise .45s var(--ease); }
.field-error { color: #8c2f2d; font-size: .88rem; margin: .35rem 0 0; }
.panel {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
}
.panel-soft { background: var(--mist); box-shadow: none; }
.aside-title {
    margin: 0 0 .8rem;
    color: var(--ochre);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.9rem; line-height: 1.55; }
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .1rem;
    display: grid;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--green);
    color: white;
    font-size: .7rem;
    font-weight: 700;
}
.section-title { margin: 0 0 1.4rem; letter-spacing: -.02em; }

/* Home */
.hero-copy > * { animation: rise .75s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero .eyebrow { color: var(--sage); }
.hero-figure { border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: rise .9s var(--ease) .1s both; }
.hero-figure img { transition: transform 1.2s var(--ease); }
.hero-figure:hover img { transform: scale(1.035); }

/* Home rubrics */
.home-rubrics { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1rem, 3vw, 2rem); border-top: 1px solid var(--line); }
.home-rubrics-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.home-rubrics-head .eyebrow { width: 100%; margin: 0; }
.home-rubrics-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.home-rubrics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.home-rubric {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.home-rubric:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.home-rubric-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--mist); }
.home-rubric-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.home-rubric:hover .home-rubric-media img { transform: scale(1.045); }
.home-rubric-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}
.home-rubric-body { display: flex; flex: 1; flex-direction: column; gap: .7rem; padding: 22px 24px 24px; }
.home-rubric h3 { margin: 0; font: 500 clamp(1.45rem, 2.2vw, 1.8rem)/1.2 Georgia, serif; letter-spacing: -.02em; }
.home-rubric h3 a { color: var(--ink); text-decoration: none; transition: color .25s ease; }
.home-rubric:hover h3 a { color: var(--green); }
.home-rubric p { min-height: calc(3 * 1.6em); margin: 0; color: var(--sage); font-size: .95rem; line-height: 1.6; }
.home-rubric ul { display: grid; gap: .1rem; margin: .3rem 0 0; padding: .8rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.home-rubric li a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .4rem 0;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, padding .3s var(--ease);
}
.home-rubric li a::after { content: "→"; color: var(--ochre); opacity: 0; transition: opacity .2s ease, transform .3s var(--ease); transform: translateX(-4px); }
.home-rubric li a:hover { color: var(--green); padding-left: .25rem; }
.home-rubric li a:hover::after { opacity: 1; transform: none; }
@media (max-width: 900px) { .home-rubrics-grid { grid-template-columns: minmax(0, 1fr); } }

/* Page intro */
.page-intro {
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
    padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
    animation: rise .65s var(--ease) both;
}
.page-intro.has-media { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
@media (min-width: 860px) {
    .page-intro:not(.has-media) .page-intro-copy:has(.lede) {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        column-gap: clamp(2rem, 6vw, 5rem);
        align-items: end;
    }
    .page-intro:not(.has-media) .eyebrow { grid-column: 1 / -1; }
    .page-intro:not(.has-media) h1 { grid-column: 1; grid-row: span 2; align-self: end; }
    .page-intro:not(.has-media) .lede { grid-column: 2; margin-top: 0; }
    .page-intro:not(.has-media) .page-meta { grid-column: 2; margin-top: 1rem; }
}
.page-intro h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); letter-spacing: -.045em; text-wrap: balance; }
.page-intro .lede,
.product-info .lede {
    max-width: 44ch;
    margin: 1.15rem 0 0;
    color: var(--sage);
    font-size: clamp(1.08rem, 1.6vw, 1.26rem);
    line-height: 1.6;
    text-wrap: pretty;
}
.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 0;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--sage);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.page-meta li + li::before { content: "·"; margin: 0 .75rem; color: var(--ochre); }
.page-intro-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--ivory);
    box-shadow: var(--shadow);
    animation: rise .85s var(--ease) .12s both;
}
.page-intro-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.page-intro-media:hover img { transform: scale(1.03); }
.page-intro-media figcaption { padding: .7rem 1rem; color: var(--sage); font-size: .78rem; line-height: 1.45; }

/* Article shell */
.article-shell { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.article-shell.has-aside { grid-template-columns: 15.5rem minmax(0, 1fr); }
.article-aside {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 2rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    padding: .25rem .25rem 1rem 0;
    scrollbar-width: thin;
    font-size: .9rem;
    animation: rise .7s var(--ease) .15s both;
}
.toc, .rubric { display: block; }
.toc ol, .rubric ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc ol { counter-reset: toc; }
.toc li, .rubric li { counter-increment: toc; }
.toc a, .rubric a {
    position: relative;
    display: flex;
    gap: .7rem;
    margin-left: -1px;
    padding: .42rem 0 .42rem 1rem;
    border-left: 2px solid transparent;
    color: var(--sage);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s ease, border-color .25s ease, background-color .25s ease;
}
.article-aside nav a:hover,
.article-aside nav a[aria-current] { text-decoration: none; }
.toc a::before {
    content: counter(toc, decimal-leading-zero);
    flex: none;
    color: color-mix(in srgb, var(--ochre) 70%, transparent);
    font-size: .74rem;
    font-variant-numeric: tabular-nums;
    padding-top: .12rem;
}
.toc a:hover, .rubric a:hover { color: var(--ink); }
.toc a[aria-current], .rubric a[aria-current] { color: var(--ink); font-weight: 650; border-left-color: var(--green); }

/* Prose */
.prose { min-width: 0; font-size: 1.04rem; }
.prose > p,
.prose > ul,
.prose > ol,
.prose > section > p,
.prose > section > ul,
.prose > section > ol { max-width: var(--measure); }
.prose p { margin: 0 0 1.15rem; line-height: 1.82; }
.prose p:empty { display: none; }
.prose p:not(.efi-guide p, .shop-contact p, .fluid-table p, .muted, .alert, .notice) {
    text-align: justify;
    text-align-last: start;
    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    text-wrap: pretty;
    hanging-punctuation: first allow-end;
}
.prose > p:first-child {
    font-size: 1.14rem;
    line-height: 1.75;
    color: var(--ink);
}
.prose strong { font-weight: 650; color: var(--ink); }
.prose a:not(.button) {
    color: var(--green);
    text-decoration-color: color-mix(in srgb, var(--green) 38%, transparent);
    text-decoration-thickness: 1px;
    transition: text-decoration-color .2s ease, color .2s ease;
}
.prose a:not(.button):hover { color: var(--ochre); text-decoration-color: var(--ochre); }
.prose h2 {
    max-width: var(--measure);
    margin: clamp(2.6rem, 5vw, 3.6rem) 0 1.05rem;
    font-size: clamp(1.6rem, 2.4vw, 2.15rem);
    letter-spacing: -.025em;
    text-wrap: balance;
}
.prose h2:not(.efi-panel h2, .shop-contact h2)::before {
    content: "";
    display: block;
    width: 2.25rem;
    height: 2px;
    margin-bottom: 1rem;
    background: var(--ochre);
}
.prose > h2:first-child,
.prose > section:first-child > h2:first-child,
.prose > nav:first-child + section > h2:first-child { margin-top: 0; }
.prose h3 {
    max-width: var(--measure);
    margin: 2rem 0 .6rem;
    font-family: Georgia, serif;
    font-weight: 500;
    font-size: 1.32rem;
    letter-spacing: -.015em;
}
.prose h4 { margin: 1.4rem 0 .4rem; }
.prose ul, .prose ol { margin: .2rem 0 1.4rem; padding-left: 1.2rem; }
.prose li { line-height: 1.72; padding-left: .3rem; }
.prose li + li { margin-top: .55rem; }
.prose li::marker { color: var(--ochre); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { margin-top: .6rem; color: var(--sage); font-size: .84rem; line-height: 1.5; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* Illustrated paragraphs */
.history-illustration {
    display: grid;
    gap: clamp(1.25rem, 3.5vw, 3rem);
    align-items: center;
    max-width: none;
    margin: 1.4rem 0 2rem;
}
.history-illustration > div { display: grid; gap: 1.15rem; }
.history-illustration > p,
.history-illustration > div > p { max-width: none; margin: 0; }
.history-illustration figure {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.history-illustration img { width: 100%; height: auto; border-radius: 0; transition: transform 1.1s var(--ease); }
.history-illustration figure:hover img { transform: scale(1.025); }
.history-illustration figcaption {
    margin: 0;
    padding: .85rem 1.05rem 1rem;
    color: var(--sage);
    font-size: .82rem;
    line-height: 1.5;
    text-wrap: pretty;
}
.history-illustration figcaption a { white-space: nowrap; }
@media (min-width: 1100px) {
    .history-illustration { grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem); }
}

/* Tables */
.fluid-table {
    margin: 1.75rem 0 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.fluid-table caption {
    padding: 1.1rem 1.25rem .9rem;
    font: 500 1.3rem/1.25 Georgia, serif;
    letter-spacing: -.01em;
}
.fluid-table th, .fluid-table td { padding: .75rem 1.25rem; }
.fluid-table thead th {
    font-size: .74rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.fluid-table tbody tr { transition: background-color .2s ease; }
.fluid-table tbody tr:not(.fluid-group):hover { background: #f1efe5; }
.fluid-table tbody th { font-weight: 650; }
.paint-swatch { border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

.engine-table-scroll { border-radius: var(--radius); background: var(--white); }
.engine-track span { transform-origin: left center; animation: bar-in 1s var(--ease) both; }

.culture-entry {
    grid-template-columns: minmax(0, 1fr) min(18rem, 40%);
    align-items: center;
    gap: 1.25rem clamp(1.5rem, 3vw, 2.75rem);
    padding-block: 1.75rem;
}
.culture-entry > div > p:last-child { margin-bottom: 0; }
.culture-entry figure {
    max-width: 18rem;
    overflow: hidden;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.culture-entry img { border-radius: 0; background: #e9e6da; }
.culture-entry figcaption { margin: 0; padding: .7rem .85rem .8rem; }

@media (max-width: 600px) {
    .culture-entry { grid-template-columns: 1fr; }
    .culture-entry figure { max-width: none; }
}

/* Diagnostic */
.prose .efi-guide { max-width: none; }
.efi-guide p, .efi-guide li { max-width: 48rem; }
.prose .efi-panel h2 { margin-top: .35rem; }
.efi-panel { border-radius: var(--radius-lg); box-shadow: var(--shadow); animation: rise .4s var(--ease); }
.efi-choices button {
    border-radius: 12px;
    border-color: var(--line);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease);
}
.efi-choices button:hover { border-color: var(--green); transform: translateX(4px); }
.fold { padding: .35rem 0; }
.fold summary { transition: color .2s ease; }
.fold summary:hover { color: var(--green); }

/* Hub cards */
.discover-sections { gap: clamp(16px, 2.2vw, 28px); }
.discover-section {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
    animation: rise .7s var(--ease) both;
}
.discover-section:nth-child(2) { animation-delay: .05s; }
.discover-section:nth-child(3) { animation-delay: .1s; }
.discover-section:nth-child(4) { animation-delay: .15s; }
.discover-section:nth-child(5) { animation-delay: .2s; }
.discover-section:nth-child(6) { animation-delay: .25s; }
.discover-section:nth-child(n + 7) { animation-delay: .3s; }
.discover-section-link { display: flex; flex-direction: column; overflow: hidden; }
.discover-section img { transition: transform .9s var(--ease); }
.discover-section-copy { display: flex; flex: 1; flex-direction: column; gap: .55rem; padding: 20px 22px 8px; }
.discover-section-copy h2 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -.02em; transition: color .25s ease; }
.discover-section-copy p { line-height: 1.6; font-size: .95rem; }
.card-more { margin-top: auto; padding-top: .6rem; color: var(--green); font-size: .85rem; font-weight: 650; }
.card-more span { display: inline-block; transition: transform .3s var(--ease); }
.discover-photo-credit {
    min-height: calc(2 * 1.45em + 26px);
    padding: 8px 22px 18px;
    font-size: .72rem;
    line-height: 1.45;
}
.discover-section:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.discover-section:hover img { transform: scale(1.045); }
.discover-section:hover h2 { color: var(--green); }
.discover-section:hover .card-more span { transform: translateX(4px); }
.discover-section-link:hover h2 { text-decoration: none; }

/* Shop */
.shop-grid { gap: clamp(16px, 2.2vw, 28px); }
.shop-card, .product-card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
    animation: rise .7s var(--ease) both;
}
.shop-card:nth-child(2) { animation-delay: .06s; }
.shop-card:nth-child(3) { animation-delay: .12s; }
.shop-card-media, .product-card-media { display: block; overflow: hidden; }
.shop-card img, .product-card img { transition: transform .9s var(--ease); }
.shop-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); letter-spacing: -.02em; transition: color .25s ease; }
.shop-card:hover, .product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.shop-card:hover img, .product-card:hover img { transform: scale(1.045); }
.shop-card:hover h3, .product-card:hover h2 { color: var(--green); text-decoration: none; }
.shop-card-arrow { transition: background-color .3s ease, color .3s ease, transform .35s var(--ease), border-color .3s ease; }
.shop-card:hover .shop-card-arrow { background: var(--green); color: white; border-color: var(--green); transform: translate(2px, -2px); }

.shop-bands { display: grid; gap: clamp(16px, 2.2vw, 28px); margin-top: clamp(2.5rem, 5vw, 4rem); }
.shop-contact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin: 0;
    padding: clamp(1.4rem, 3vw, 2.25rem);
    border-radius: var(--radius-lg);
    background: var(--mist);
    animation: rise .7s var(--ease) .1s both;
    transition: box-shadow .4s var(--ease);
}
.shop-contact:not(:has(> img)) { grid-template-columns: minmax(0, 1fr) auto; }
.shop-contact:hover { box-shadow: var(--shadow); }
.shop-contact > img {
    width: clamp(160px, 22vw, 260px);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform .8s var(--ease);
}
.shop-contact:hover > img { transform: scale(1.03); }
.shop-contact h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.shop-contact p { margin: .45rem 0 1rem; max-width: 52ch; color: var(--sage); }
.shop-contact:not(:has(> img)) p { margin-bottom: 0; }
.shop-contact .button { margin: 0; }
main.wrap > .shop-contact { margin-top: clamp(1.5rem, 4vw, 3rem); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
    gap: clamp(16px, 2.2vw, 28px);
    margin: 0 0 2.5rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
    background: var(--ivory);
    border: 1px solid var(--line);
}
.product-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card div { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 18px 22px 22px; }
.product-card h2 { margin: 0; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; transition: color .25s ease; }
.product-card p { margin: 0; color: var(--sage); font-size: .92rem; line-height: 1.55; }
.product-card .price { margin-top: auto; padding-top: .5rem; color: var(--green); font: 500 1.35rem/1.2 Georgia, serif; }
@media (min-width: 760px) {
    .product-grid:has(> .product-card:only-child) { grid-template-columns: 1fr; }
    .product-card:only-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .product-card:only-child .product-card-media img { height: 100%; aspect-ratio: 4 / 3; }
    .product-card:only-child div { justify-content: center; gap: .85rem; padding: clamp(1.5rem, 4vw, 3rem); }
    .product-card:only-child h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
    .product-card:only-child p { max-width: 42ch; font-size: 1rem; }
    .product-card:only-child .price { margin-top: .5rem; font-size: 1.6rem; }
}
.price { font: 500 1.35rem/1.2 Georgia, serif; color: var(--green); }
.shop-note { margin-top: 1rem; }

.product-sheet {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 5vw, 4.5rem);
    align-items: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.product-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow);
    animation: rise .8s var(--ease) both;
}
.product-media img { width: 100%; border: 0; border-radius: 0; transition: transform 1.1s var(--ease); }
.product-media:hover img { transform: scale(1.04); }
.product-info { animation: rise .7s var(--ease) .08s both; }
.product-info h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -.04em; text-wrap: balance; }
.buy-box {
    display: grid;
    gap: .9rem;
    justify-items: start;
    margin-top: 1.75rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--ivory);
    box-shadow: var(--shadow-sm);
}
.buy-box .price { margin: 0; font-size: 2rem; }
.buy-box p { margin: 0; }
.sku { color: var(--sage); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.product-description {
    max-width: var(--measure);
    margin: clamp(3rem, 6vw, 4.5rem) auto 0;
    padding-top: clamp(2.25rem, 4vw, 3rem);
    border-top: 1px solid var(--line);
}
.product-description > * { max-width: none; }
.product-description > h2:first-child { margin-top: 0; }

.empty-state { max-width: 46rem; }
.empty-state .prose p { margin-bottom: 1.25rem; }
.empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }

/* Contact */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.contact-form { display: grid; gap: 1.25rem; max-width: none; }
.contact-form .field { display: grid; gap: .45rem; }
.contact-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-form label, .support-form label { font-size: .86rem; font-weight: 650; }
.contact-form input:not([type="hidden"]),
.contact-form select,
.contact-form textarea,
.support-form input {
    width: 100%;
    margin: 0;
    padding: .82rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: inherit;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 11rem; }
.contact-form input:not([type="hidden"]):hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: #cbcabd; }
.contact-form input:not([type="hidden"]):focus,
.contact-form select:focus,
.contact-form textarea:focus,
.support-form input:focus {
    outline: none;
    border-color: var(--green);
    background: white;
    box-shadow: 0 0 0 4px rgba(54, 91, 73, .16);
}
.field-hint { margin: 0; color: var(--sage); font-size: .86rem; line-height: 1.5; }
.contact-form .button { justify-self: start; }
.contact-aside { display: grid; gap: 1rem; position: sticky; top: 6.5rem; }
.panel-link {
    position: relative;
    display: grid;
    gap: .2rem;
    padding-right: 3.5rem;
    color: var(--ink);
    text-decoration: none;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.panel-link .aside-title { margin-bottom: .2rem; }
.panel-link span:not(.aside-title):not(.panel-arrow) { color: var(--sage); font-size: .95rem; line-height: 1.55; }
.panel-arrow {
    position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--green);
    transition: background-color .3s ease, color .3s ease, transform .35s var(--ease);
}
.panel-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.panel-link:hover .panel-arrow { background: var(--green); color: white; transform: translate(2px, -2px); }

/* Support */
.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.support-panel { display: grid; gap: 1.25rem; }
.support-panel .prose p { margin: 0; font-size: 1.1rem; }
.support-form { display: grid; gap: .5rem; }
.support-row { display: flex; gap: .75rem; }
.support-row input { width: 7rem; }
.notice {
    margin: 0;
    padding: .9rem 1.1rem;
    border-left: 3px solid var(--ochre);
    border-radius: 0 10px 10px 0;
    background: var(--mist);
    color: var(--ink);
}
.support-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    animation: rise .85s var(--ease) .1s both;
}
.support-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease); }
.support-media:hover img { transform: scale(1.03); }

/* Footer */
.site-footer {
    margin-top: 0;
    padding: clamp(3rem, 6vw, 4.5rem) 0 0;
    border-top: 3px solid var(--ochre);
    color: #e9e6da;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
    gap: 2rem clamp(1.5rem, 3vw, 3rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.brand-inverse { color: var(--paper); font-size: 1rem; }
.brand-inverse em { color: #b9d2c0; }
.footer-brand p { max-width: 34ch; margin: 1rem 0 0; color: #c8cdc4; font-size: .9rem; line-height: 1.6; }
.footer-heading {
    display: table;
    margin-bottom: .9rem;
    color: #f2cf9e;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-decoration: none;
    text-transform: uppercase;
}
.footer-column { display: block; }
.footer-column ul { margin: 0; padding: 0; list-style: none; display: grid; align-content: start; gap: .55rem; }
.footer-column li a { font-weight: 500; }
.site-footer a:hover { text-decoration: none; }
.footer-column a:not(.footer-heading) { color: #d6d9d0; font-size: .9rem; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #f2cf9e; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem 2rem;
    padding-block: 1.25rem 1.5rem;
    border-top: 1px solid rgba(244, 241, 232, .14);
    color: #aeb5ab;
    font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.site-footer .footer-legal { margin: 0; gap: 4px 20px; }
.footer-legal a { color: #d6d9d0; text-decoration: none; }

/* Scroll reveal */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal.is-visible { opacity: 1; translate: 0 0; }

@media (max-width: 999px) {
    .article-shell.has-aside { grid-template-columns: minmax(0, 1fr); }
    .article-aside { display: none; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .page-intro.has-media,
    .contact-layout,
    .support-layout,
    .product-sheet { grid-template-columns: minmax(0, 1fr); }
    .contact-aside { position: static; }
    .shop-contact, .shop-contact:not(:has(> img)) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .prose p:not(.efi-guide p, .shop-contact p, .fluid-table p, .muted, .alert, .notice) {
        text-align: left;
        hyphens: manual;
    }
    .contact-form .field-row { grid-template-columns: minmax(0, 1fr); }
    .fluid-table caption { padding: .9rem 1rem .7rem; font-size: 1.15rem; }
    .fluid-table th, .fluid-table td { padding: .6rem .85rem; }
}
@media (max-width: 680px) {
    .site-header { position: static; backdrop-filter: none; background: var(--ivory); }
    .read-progress { display: none; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) { animation: none !important; }
    .reveal { opacity: 1; translate: none; }
    .hero-figure:hover img,
    .page-intro-media:hover img,
    .history-illustration figure:hover img,
    .discover-section:hover,
    .discover-section:hover img,
    .shop-card:hover,
    .shop-card:hover img,
    .product-card:hover,
    .product-card:hover img,
    .product-media:hover img,
    .support-media:hover img,
    .panel-link:hover,
    .button:hover,
    .shop-contact:hover > img,
    .efi-choices button:hover { transform: none; }
}

/* Content blocks */
.media-credit { font-size: .92em; opacity: .85; }
.content-figure { margin: 2rem 0; max-width: var(--measure); }
.content-figure img { width: 100%; max-height: 32rem; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.content-figure a { display: block; border-radius: 12px; transition: transform .4s var(--ease); }
.content-figure a:hover { transform: translateY(-2px); }
.content-figure figcaption { margin-top: .6rem; color: var(--sage); font-size: .9rem; line-height: 1.5; }
.table-note { margin: -8px 0 28px; color: var(--sage); font-size: .9rem; }
.fluid-table .nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fluid-table small { display: block; margin-top: .15em; color: var(--sage); font-size: .85em; }
.data-figure { margin: 24px 0 32px; min-width: 0; }
.data-figure figcaption { padding-top: 12px; color: var(--sage); font-size: .9rem; max-width: var(--measure); }
.fold-body > :first-child { margin-top: .25rem; }
.fold-body > :last-child { margin-bottom: 1rem; }
.callout {
    margin: 1.75rem 0;
    padding: 1.1rem 1.35rem;
    max-width: var(--measure);
    background: #edf3ee;
    border: 1px solid #c9dccf;
    border-left: 4px solid var(--green);
    border-radius: 10px;
}
.callout-warning { background: #f8efe4; border-color: #e4cfb4; border-left-color: var(--ochre); }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
