:root {
    --bg: #eceee8;
    --paper: #f7f6f2;
    --ink: #17191b;
    --muted: #5a6168;
    --line: #d4d7db;
    --badge: #c62828;
    --accent: #2c4a52;
    --card: #fcfbf8;
    --btn-ink: #f4f5f6;
    --shadow: 0 8px 18px rgba(23, 25, 27, 0.14), 0 2px 6px rgba(23, 25, 27, 0.1);
    --shadow-lg: 0 26px 48px rgba(23, 25, 27, 0.24), 0 8px 16px rgba(23, 25, 27, 0.12);
    --nav-h: 72px;
    --max: 1040px;
}

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

html {
    scroll-behavior: smooth;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 0.8rem;
    top: -3rem;
    z-index: 50;
    padding: 0.5rem 0.8rem;
    background: var(--ink);
    color: #f4f5f6;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.8rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

html.is-locked,
body.is-locked {
    overflow: hidden;
    overscroll-behavior: none;
}

body.is-locked {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

body {
    margin: 0;
    color: var(--ink);
    background-color: #eceee8;
    background-image:
        url("images/paper.webp"),
        linear-gradient(165deg, #f5f4ef 0%, #eceee9 46%, #e4e9e8 100%);
    background-size: 320px 320px, auto;
    background-attachment: fixed;
    font-family: "Roboto Slab", serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
    filter: saturate(1.35) contrast(1.08) brightness(1.04);
}

.logo img,
.footer-brand img {
    filter: none;
    background: none;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
    margin: 0 0 0.7rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.6rem, 7vw, 5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

p:last-child {
    margin-bottom: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background-color: var(--paper);
    background-image:
        linear-gradient(rgba(247, 246, 242, 0.82), rgba(247, 246, 242, 0.82)),
        url("images/paper.webp");
    background-size: auto, 320px 320px;
    background-attachment: scroll, fixed;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(23, 25, 27, 0.1);
}

.nav {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.55rem 0.8rem;
    width: min(var(--max), calc(100% - 10vw));
    min-height: var(--nav-h);
    margin: 0 auto;
}

.lang-switch {
    display: inline-flex;
    flex-shrink: 0;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--card);
}

.lang-switch button {
    min-width: 2.2rem;
    padding: 0.32rem 0.5rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.lang-switch button.is-on {
    background: var(--accent);
    color: var(--btn-ink);
}

.logo {
    flex: 0 1 auto;
    min-width: 0;
    overflow: visible;
    line-height: 0;
    text-decoration: none;
    background: none;
}

.logo img {
    width: auto;
    height: 42px;
}

.footer-brand img {
    width: auto;
    height: 48px;
    margin-bottom: 0.6rem;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.4rem;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.nav-list a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--ink);
}

.nav-toggle {
    display: none;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--card);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0;
    background: var(--ink);
}

main {
    width: 100%;
    margin: 0;
}

main > section:not(.hero) {
    width: min(var(--max), calc(100% - 10vw));
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 5rem 0 0;
}

.hero {
    --hero-fade: 1;
    position: relative;
    height: 100dvh;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.eyebrow {
    margin-bottom: 0.55rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.welcome {
    max-width: 38rem;
    font-size: 1.2rem;
    color: var(--ink);
}

.hero-stage,
.hero-veil,
.hero-copy {
    opacity: var(--hero-fade);
    transition: opacity 0.12s linear;
}

.hero-stage {
    position: absolute;
    inset: 0;
    background: #121416;
}

.hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 1.15s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img,
.hero-slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(92vw, calc(70vh * 16 / 9));
    height: min(70vh, calc(92vw * 9 / 16));
    transform: translate(-50%, -52%);
    object-fit: contain;
    object-position: center;
    background: #0d0f11;
}

.hero-slide figcaption {
    position: absolute;
    right: 6vw;
    bottom: 8vh;
    z-index: 2;
    max-width: 18rem;
    padding: 0.75rem 0.9rem;
    background: rgba(23, 25, 27, 0.78);
    color: #f4f5f6;
    text-align: left;
    opacity: 0;
    box-shadow: var(--shadow);
    transition: opacity 0.8s ease 0.25s;
}

.hero-slide.is-active figcaption {
    opacity: 1;
}

.hero-slide figcaption span,
.hero-slide figcaption em {
    display: block;
}

.hero-slide figcaption span {
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c5d4d2;
    opacity: 1;
}

.hero-slide figcaption strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
}

.hero-slide figcaption em {
    margin-top: 0.3rem;
    font-size: 0.92rem;
    font-style: normal;
    color: #e8eeed;
    opacity: 1;
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(23, 25, 27, 0.66) 0%, rgba(23, 25, 27, 0.2) 52%, rgba(23, 25, 27, 0.32) 100%),
        linear-gradient(180deg, rgba(23, 25, 27, 0.32) 0%, transparent 30%, rgba(23, 25, 27, 0.58) 100%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(var(--max), calc(100% - 10vw));
    height: 100%;
    margin: 0 auto;
    padding: 0 0 9vh;
}

.hero .eyebrow {
    color: #c5d4d2;
}

.hero h1,
.hero .welcome {
    color: #f4f5f6;
}

.hero h1 {
    text-shadow: 0 2px 0 rgba(23, 25, 27, 0.25), 0 14px 32px rgba(23, 25, 27, 0.45);
}

.hero .welcome {
    max-width: 34rem;
    text-shadow: 0 10px 28px rgba(23, 25, 27, 0.45);
}

.hero .ghost-btn {
    border-color: #f4f5f6;
    color: #f4f5f6;
    background: rgba(244, 245, 246, 0.1);
}

.hero .ghost-btn:hover {
    background: #f4f5f6;
    color: var(--ink);
}

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

.intro {
    display: grid;
    gap: 1rem;
    max-width: 42rem;
}

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

.timeline li {
    padding: 1.4rem 0 1.6rem;
    border-top: 1px solid var(--line);
}

.role {
    margin-bottom: 0.25rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-grid,
.shop-grid,
.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.quote-card blockquote {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.55;
}

.quote-stars {
    margin: 0 0 0.65rem;
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 0.12em;
}

.quote-who {
    margin: 0;
}

.quote-who strong {
    display: block;
    color: var(--ink);
    font-size: 0.95rem;
}

.quote-who span {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
}

.quote-empty {
    max-width: 38rem;
    color: var(--muted);
}

.news-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #e8e9e4;
}

.news-card h3,
.news-card p,
.news-card a {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
}

.news-card h3 {
    margin-top: 1.1rem;
}

.news-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

.news-card a {
    margin-bottom: 1.15rem;
}

.news-card:not(:has(img)) h3 {
    margin-top: 1.25rem;
}

.card,
.product-card {
    padding: 1.25rem 1.2rem 1.3rem;
    border: 1px solid var(--line);
    background-color: var(--card);
    background-image: url("images/cardstock.webp");
    background-size: 180px 180px;
    box-shadow: var(--shadow);
    transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.card:hover,
.product-card:hover {
    transform: translateY(-4px);
    border-color: #9aa3aa;
    box-shadow: var(--shadow-lg);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.4rem 0 0;
}

.hero-actions .add-btn,
.hero-actions .ghost-btn {
    text-decoration: none;
}

.shop-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.6rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
}

.shop-steps span:first-child {
    margin-right: 0.4rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.card.product,
.product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.product-media {
    position: relative;
    aspect-ratio: 3 / 2;
    background: #e8e9e4;
}

.card.product img,
.product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.15rem 1.2rem;
}

.card-body > p:not(.card-meta):not(.price),
.product-excerpt {
    flex: 1;
    font-size: 0.92rem;
}

.product-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    margin-bottom: 0.4rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card a,
.service-card .add-btn {
    display: inline-block;
    margin-top: 0.7rem;
    font-weight: 500;
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.service-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    object-position: center;
    background: #e8e9e4;
}

.timeline h3 {
    font-size: 1.05rem;
}

.firm-sm {
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.service-card .card-meta,
.service-card h3,
.service-card p,
.service-card .add-btn {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
}

.service-card .card-meta {
    margin-top: 1.1rem;
}

.service-card .add-btn {
    align-self: flex-start;
    margin-top: auto;
    margin-bottom: 1.2rem;
}

.card.is-picked,
.product-card.is-picked {
    box-shadow: var(--shadow-lg);
}

a.card {
    color: inherit;
    text-decoration: none;
}

a.card h3 {
    color: var(--ink);
}

.more-link {
    margin-top: 1.4rem;
}

.shop-head {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 1.5rem;
    align-items: end;
}

.shop-info {
    display: grid;
    gap: 0.35rem;
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter,
.add-btn,
.ghost-btn,
.cart-btn,
.cart-close,
.order-btn {
    font-family: inherit;
    cursor: pointer;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.ghost-btn:hover {
    background: var(--ink);
    color: #f4f5f6;
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter,
.cart-btn {
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.filter.is-on {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--btn-ink);
}

.shop-count {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.product-card.is-hidden {
    display: none;
}

.badge {
    position: absolute;
    left: 0.6rem;
    top: 0.6rem;
    padding: 0.22rem 0.5rem;
    background: var(--badge);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(23, 25, 27, 0.22);
}

.product-buy {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-top: 1rem;
}

.price,
.cart-sum {
    display: none;
}

button.order-btn {
    font-family: inherit;
}

.add-btn,
.order-btn {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #f4f5f6;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow);
}

.add-btn:hover,
.order-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #f4f5f6;
}

.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
}

.cart-icon {
    display: block;
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 1.05rem;
    padding: 0 0.22rem;
    background: var(--accent);
    color: var(--btn-ink);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.05rem;
    text-align: center;
}

.cart-layer[hidden] {
    display: none;
}

.cart-layer {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.cart-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(23, 25, 27, 0.28);
    cursor: pointer;
}

.cart-drawer {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(400px, 100%);
    height: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 1.3rem 1.2rem 1.4rem;
    background: var(--paper);
    box-shadow: -12px 0 32px rgba(23, 25, 27, 0.12);
}

.cart-top,
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.cart-top {
    margin-bottom: 1rem;
}

.cart-top h2 {
    margin: 0;
    font-size: 1.4rem;
}

.cart-close {
    border: 0;
    background: none;
    color: var(--muted);
    font-size: 0.95rem;
}

.cart-list {
    flex: 1;
    overflow: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-item {
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
}

.cart-item button {
    border: 0;
    background: none;
    color: var(--muted);
    cursor: pointer;
}

.cart-empty {
    color: var(--muted);
}

.cart-foot {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.order-btn {
    display: inline-flex;
    margin-top: 0.8rem;
}

.order-btn[hidden],
.order-btn:disabled {
    display: none !important;
    pointer-events: none;
}

.product-layer[hidden] {
    display: none;
}

.product-layer {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.product-modal {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 1.2rem 1.15rem 1.3rem;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.product-modal img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    margin-bottom: 0.9rem;
    object-fit: contain;
    object-position: center;
    background: #e8e9e4;
}

.product-modal h2 {
    font-size: 1.35rem;
}

.modal-close {
    position: absolute;
    top: 0.7rem;
    right: 0.8rem;
    z-index: 2;
    padding: 0.25rem 0.4rem;
    background: var(--paper);
}

.modal-desc {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.option-set {
    margin: 0 0 0.85rem;
    padding: 0;
    border: 0;
}

.option-set legend {
    margin-bottom: 0.4rem;
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.option-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.88rem;
    cursor: pointer;
}

.option-row input {
    accent-color: var(--accent);
}

.option-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    color: var(--ink);
    font-size: 0.95rem;
    cursor: pointer;
}

.option-check[hidden] {
    display: none;
}

.modal-hint {
    margin-bottom: 1rem;
    font-size: 0.82rem;
}

.footer-credit {
    width: 100%;
    margin: 0;
    font-size: 0.78rem;
}

.site-footer {
    margin-top: 5rem;
    background-color: #d9ddd6;
    background-image:
        linear-gradient(rgba(223, 227, 222, 0.55), rgba(223, 227, 222, 0.55)),
        url("images/paper.webp");
    background-size: auto, 320px 320px;
    background-attachment: scroll, fixed;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-inner {
    width: min(var(--max), calc(100% - 10vw));
    margin: 0 auto;
    padding: 2.6rem 0 1.6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 1.2fr 0.85fr;
    gap: 1.8rem 1.4rem;
}

.footer-brand {
    margin: 0 0 0.55rem;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 600;
}

.footer-title {
    margin: 0 0 0.7rem;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.footer-links li + li {
    margin-top: 0.35rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .card-grid,
    .quote-grid,
    .shop-head,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .shop-grid,
    .card-grid,
    .quote-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        order: 2;
        background: var(--card);
        border-color: var(--line);
    }

    .nav-toggle span {
        background: var(--ink);
    }

    .lang-switch {
        order: 3;
    }

    .cart-btn {
        flex-shrink: 0;
        order: 4;
    }

    .nav-list {
        order: 5;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: var(--nav-h);
        right: 5vw;
        left: 5vw;
        flex-direction: column;
        padding: 0.8rem 1rem;
        border: 1px solid var(--line);
        background: var(--paper);
    }

    .nav.is-open .nav-list {
        display: flex;
    }

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

    section {
        padding-top: 3.4rem;
    }

    .product-modal {
        width: 100%;
        max-height: 100%;
        padding: 1rem 0.9rem 1.2rem;
    }
}

@media (max-width: 640px) {
    body,
    .site-header,
    .site-footer {
        background-attachment: scroll;
    }

    body {
        font-size: 16px;
    }

    main > section:not(.hero) {
        width: min(var(--max), calc(100% - 8vw));
    }

    .hero-copy {
        padding-bottom: 6vh;
    }

    .hero-slide img,
    .hero-slide video {
        width: min(94vw, calc(52vh * 16 / 9));
        height: min(52vh, calc(94vw * 9 / 16));
        transform: translate(-50%, -46%);
    }

    .hero-slide figcaption {
        right: auto;
        left: 8vw;
        bottom: auto;
        top: calc(var(--nav-h) + 1rem);
        text-align: left;
        max-width: 78%;
    }

    .card-grid,
    .quote-grid,
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-buy {
        flex-wrap: wrap;
    }

    .card-body {
        padding: 0.9rem 0.95rem 1rem;
    }

    h3 {
        font-size: 1.08rem;
    }

    .product-actions {
        width: 100%;
    }

    .product-actions .ghost-btn,
    .product-actions .add-btn {
        flex: 1;
        text-align: center;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

.card-grid .reveal:nth-child(2),
.shop-grid .reveal:nth-child(2),
.quote-grid .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.card-grid .reveal:nth-child(3),
.shop-grid .reveal:nth-child(3),
.quote-grid .reveal:nth-child(3) {
    transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .card,
    .product-card {
        transition: none;
    }

    .card:hover,
    .product-card:hover {
        transform: none;
    }

    .hero-slide,
    .hero-slide img,
    .hero-slide figcaption,
    .site-header {
        transition: none;
    }

    .reveal {
        transform: none;
    }

    .reveal {
        opacity: 1;
    }
}

.map-wrap {
    width: min(var(--max), calc(100% - 10vw));
    margin: 0 auto;
    padding: calc(var(--nav-h) + 2.4rem) 0 3.5rem;
}

.map-wrap h1 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.map-toc {
    margin: 0 0 2.2rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
}

.map-toc ol {
    margin: 0.6rem 0 0;
    padding-left: 1.2rem;
}

.map-toc li {
    margin: 0.25rem 0;
}

.map-block {
    margin: 0 0 1.8rem;
    padding-bottom: 1.6rem;
    border-bottom: 1px solid var(--line);
}

.map-block h2 {
    margin: 0 0 0.6rem;
    font-size: 1.25rem;
}

.map-block h2 a {
    color: inherit;
    text-decoration: none;
}

.map-block h2 a:hover {
    color: var(--accent);
}

.map-block ul {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
}

.map-block li {
    margin: 0.45rem 0;
}

.map-page .nav-toggle,
.map-page .lang-switch,
.map-page .cart-btn {
    display: none;
}

.map-page .nav-list {
    display: flex;
}

@media (max-width: 900px) {
    .map-page .nav-toggle {
        display: none;
    }

    .map-page .nav-list {
        display: flex;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0;
        border: 0;
        background: transparent;
    }
}
