:root,
.palette-b {
    --bg: #f8f5ec;
    --bg-soft: #f0ece0;
    --bg-darker: #ece6d4;
    --bg-placeholder: #ebe6d6;
    --bg-dark: #2a2620;
    --bg-dark-placeholder: #4a3e2e;
    --line: #dcd5c2;
    --line-soft: #e5dfcc;
    --text: #2a2826;
    --text-soft: #3d3a35;
    --text-muted: #8a857c;
    --text-tertiary: #a8a49c;
    --text-dark: #f1ede3;
    --text-dark-soft: rgba(241, 237, 227, 0.7);
    --text-dark-muted: rgba(241, 237, 227, 0.5);
    --accent: #7d8a6a;
    --accent-soft: #e5ead8;
    --login-card: #fefcf5;
    --font-editorial: "Fraunces", Georgia, serif;
    --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --header-bg: rgba(248, 245, 236, 0.85);
}

.palette-f {
    --bg: #fafaf7;
    --bg-soft: #f1f1ed;
    --bg-darker: #ececea;
    --bg-placeholder: #ececea;
    --bg-dark: #252523;
    --bg-dark-placeholder: #3a3835;
    --line: #dfdfdb;
    --line-soft: #eae9e5;
    --text: #252523;
    --text-soft: #3a3835;
    --text-muted: #82807a;
    --text-tertiary: #a5a39d;
    --text-dark: #fafaf7;
    --text-dark-soft: rgba(250, 250, 247, 0.7);
    --text-dark-muted: rgba(250, 250, 247, 0.5);
    --accent: #7d8a6a;
    --accent-soft: #e8ecdc;
    --login-card: #ffffff;
    --header-bg: rgba(250, 250, 247, 0.85);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font-ui);
    font-weight: 400;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern" 1;
    transition: background-color .25s ease;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: inline-block; vertical-align: middle; }

/* ============ ENTRANCE ============ */
.entrance {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 1.1s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--entrance-delay, 0ms);
    will-change: opacity, transform;
}
.is-loaded .entrance {
    opacity: 1;
    transform: translateY(0);
}

.brand.entrance {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
    transition: opacity 1.3s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.is-loaded .brand.entrance {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.nav-item.entrance {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .9s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform .9s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--entrance-delay, 0ms);
}
.is-loaded .nav-item.entrance {
    opacity: 1;
    transform: translateY(0);
}

.icon-link.entrance {
    opacity: 0;
    transition: opacity 1s ease;
    transition-delay: var(--entrance-delay, 0ms);
    transform: none;
}
.is-loaded .icon-link.entrance {
    opacity: 1;
}

.hero-entrance {
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--entrance-delay, 400ms);
}
.is-loaded .hero-entrance {
    opacity: 1;
}

.hero-img-entrance {
    transform: scale(1.08);
    transition: transform 2s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--entrance-delay, 400ms);
    transform-origin: center center;
}
.is-loaded .hero-img-entrance {
    transform: scale(1);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform .9s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============ LOGO FONT SWITCHER (staging) ============ */
.logo-font-a .site-header .brand {
    font-family: "Fraunces", Georgia, serif;
    font-variation-settings: "opsz" 144, "SOFT" 30;
    letter-spacing: -0.3px;
    font-weight: 500;
}
.logo-font-b .site-header .brand {
    font-family: "Cormorant", Georgia, serif;
    font-variation-settings: normal;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 32px;
}
.logo-font-b.palette-b .site-header.is-stuck .brand,
.logo-font-b .site-header.is-stuck .brand { font-size: 22px; }

.logo-font-c .site-header .brand {
    font-family: "Instrument Serif", Georgia, serif;
    font-variation-settings: normal;
    letter-spacing: 0.8px;
    font-weight: 400;
    font-size: 32px;
    line-height: 1;
}
.logo-font-c .site-header.is-stuck .brand { font-size: 24px; }

.logo-font-d .site-header .brand {
    font-family: "Bodoni Moda", Georgia, serif;
    font-variation-settings: normal;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 28px;
}

@media (max-width: 900px) {
    .logo-font-b .site-header .brand { font-size: 24px; }
    .logo-font-c .site-header .brand { font-size: 28px; }
    .logo-font-d .site-header .brand { font-size: 22px; }
}

@media (max-width: 520px) {
    .logo-font-b .site-header .brand { font-size: 22px; }
    .logo-font-c .site-header .brand { font-size: 24px; }
    .logo-font-d .site-header .brand { font-size: 20px; }
}

/* ============ DEV TOOLBAR ============ */
.dev-toolbar {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(42, 40, 38, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 10px 5px 12px;
    border-radius: 999px;
    z-index: 200;
    font-family: var(--font-ui);
    font-size: 9px;
    color: rgba(245, 240, 224, 0.55);
    letter-spacing: 1.3px;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: opacity .2s;
    opacity: 0.65;
    max-width: calc(100vw - 32px);
    flex-wrap: wrap;
}
.dev-toolbar:hover { opacity: 1; }
.dev-toolbar-label { font-weight: 500; color: rgba(245, 240, 224, 0.7); }
.dev-toolbar-sep { width: 0.5px; height: 14px; background: rgba(245, 240, 224, 0.2); }
.dev-toolbar-group { display: inline-flex; gap: 4px; }
.dev-toolbar-group button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 3px 7px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(245, 240, 224, 0.55);
    cursor: pointer;
    transition: all .15s;
}
.dev-toolbar-group button:hover { color: rgba(245, 240, 224, 0.85); }
.dev-toolbar-group button.active {
    background: rgba(245, 240, 224, 0.12);
    color: rgba(245, 240, 224, 0.95);
}
.dev-toolbar .swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0.5px solid rgba(245, 240, 224, 0.3);
}

/* ============ HEADER ============ */
.site-header {
    padding: 24px 32px 10px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    transition: padding .3s cubic-bezier(0.22, 0.61, 0.36, 1),
                background-color .3s ease,
                backdrop-filter .3s ease,
                border-color .3s ease;
    border-bottom: 0.5px solid transparent;
}
.site-header.is-stuck {
    padding: 12px 32px 10px;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--line-soft);
}

.site-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    gap: 32px;
    transition: margin-bottom .3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.site-header.is-stuck .site-header-top { margin-bottom: 0; }

.site-header-side { display: none; }

.site-header-right {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: flex-end;
}

.site-header .brand {
    font-family: var(--font-editorial);
    font-size: 28px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.3px;
    text-align: left;
    white-space: nowrap;
    font-variation-settings: "opsz" 144, "SOFT" 30;
    display: inline-block;
    transition: font-size .3s cubic-bezier(0.22, 0.61, 0.36, 1),
                opacity 1.3s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 1.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.site-header.is-stuck .brand { font-size: 20px; }

.site-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text);
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: opacity .2s, transform .2s;
}
.icon-link:hover { opacity: 0.55; }
.icon-link:active { transform: scale(0.92); }

.site-nav {
    display: flex;
    justify-content: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    transition: gap .3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.site-header.is-stuck .site-nav { gap: 26px; }

.site-nav a {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    transition: opacity .2s,
                font-size .3s cubic-bezier(0.22, 0.61, 0.36, 1),
                letter-spacing .3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 0.5px;
    background: currentColor;
    transition: width .35s cubic-bezier(0.22, 0.61, 0.36, 1),
                left .35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.site-nav a:hover::after { width: 100%; left: 0; }
.site-header.is-stuck .site-nav a {
    font-size: 13px;
    letter-spacing: 0.7px;
}

/* ============ HERO ============ */
.hero {
    padding: 0 32px 0;
    overflow: hidden;
    position: relative;
}

.hero-img-wrap {
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translate3d(0, var(--parallax-y, 0px), 0) scale(var(--entrance-scale, 1));
    will-change: transform;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 22px;
    right: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    font-weight: 500;
    z-index: 2;
    mix-blend-mode: difference;
}
.hero-scroll-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.5);
}
.hero-scroll-hint svg {
    animation: scroll-bounce 2.2s ease-in-out infinite;
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(4px); opacity: 0.6; }
}

/* ============ MANIFESTO (sez. 2) ============ */
.manifesto {
    padding: 96px 32px 88px;
    text-align: center;
}

.manifesto-title {
    font-family: var(--font-editorial);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text);
    max-width: 620px;
    margin: 0 auto 22px;
    letter-spacing: -0.4px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.manifesto-sub {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* ============ ENTRIES (sez. 3 — tre card simmetriche) ============ */
.entries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 0 20px 96px;
}

.entry {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.entry-img {
    aspect-ratio: 0.88;
    background: var(--bg-placeholder);
    position: relative;
    overflow: hidden;
}

.entry-img-inner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .8s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.entry-img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 70px;
    background: var(--line);
    z-index: 1;
    pointer-events: none;
}

.entry:hover .entry-img-inner { transform: scale(1.04); }

.entry-title-wrap {
    text-align: center;
    overflow: hidden;
}

.entry-title {
    padding: 24px 0 0;
    text-align: center;
    font-family: var(--font-editorial);
    font-size: 15px;
    letter-spacing: 2.5px;
    color: var(--text);
    font-weight: 500;
    text-transform: uppercase;
    transition: opacity .2s, letter-spacing .3s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: inline-block;
}

.entry:hover .entry-title { letter-spacing: 3px; }

/* ============ CASE STUDY (sez. 4 — fondo scuro) ============ */
.case-study {
    background: var(--bg-dark);
    color: var(--text-dark);
    padding: 96px 32px;
}

.case-study-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.case-study-img {
    aspect-ratio: 1.2;
    background: var(--bg-dark-placeholder);
    position: relative;
}
.case-study-img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 80px;
    background: rgba(241, 237, 227, 0.2);
}

.case-study-label {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-dark-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 500;
}

.case-study-title {
    font-family: var(--font-editorial);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.case-study-body {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-dark-soft);
    line-height: 1.75;
    margin-bottom: 28px;
}

.case-study-cta {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--text-dark);
    border-bottom: 0.5px solid rgba(241, 237, 227, 0.5);
    padding-bottom: 4px;
    transition: letter-spacing .3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity .2s;
}
.case-study-cta:hover {
    letter-spacing: 2.2px;
    opacity: 0.85;
}

/* ============ SHOP FEATURED (sez. 5 — carosello) ============ */
.shop-featured {
    padding: 96px 32px;
}

.shop-featured-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.shop-featured-kicker {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
}

.shop-featured-title {
    font-family: var(--font-editorial);
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.3px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.shop-featured-cta {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border-bottom: 0.5px solid var(--text);
    padding-bottom: 4px;
    color: var(--text);
    transition: letter-spacing .3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.shop-featured-cta:hover { letter-spacing: 2.2px; }

.shop-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
}

.product {
    text-decoration: none;
    color: inherit;
}

.product-img {
    aspect-ratio: 0.95;
    background: var(--bg-placeholder);
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
}

.product-img-inner {
    position: absolute;
    inset: 0;
    transition: transform .8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.product-img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 50px;
    background: var(--line);
}

.product:hover .product-img-inner { transform: scale(1.04); }

.product-collection {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 500;
}

.product-name {
    font-family: var(--font-editorial);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.1px;
}

.product-price {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--text);
    margin-top: 4px;
}

/* ============ PROCESS (sez. 6) ============ */
.process {
    padding: 96px 32px;
    border-top: 0.5px solid var(--line);
}

.process-head {
    text-align: center;
    margin-bottom: 56px;
}

.process-kicker {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 500;
}

.process-title {
    font-family: var(--font-editorial);
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.3px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
}

.process-img {
    aspect-ratio: 1.3;
    background: var(--bg-placeholder);
    margin-bottom: 20px;
    position: relative;
}
.process-img::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 50px;
    background: var(--line);
}

.process-num {
    font-family: var(--font-editorial);
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 8px;
}

.process-step-title {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
}

.process-step-body {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

/* ============ PRO BANNER (sez. 7) ============ */
.pro-banner {
    background: var(--bg-darker);
    padding: 72px 32px;
    border-top: 0.5px solid var(--line);
    border-bottom: 0.5px solid var(--line);
}

.pro-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.pro-banner-kicker {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.pro-banner-title {
    font-family: var(--font-editorial);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.3px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.pro-banner-body {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.75;
}

.pro-banner-ctas {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.btn-pro {
    display: inline-block;
    width: 100%;
    max-width: 300px;
    padding: 14px 24px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
    border: 0.5px solid var(--text);
    background: transparent;
    color: var(--text);
    transition: all .25s;
}
.btn-pro:hover {
    background: var(--text);
    color: var(--bg);
}

.cta-inline {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.8px;
    color: var(--text);
    text-transform: uppercase;
    border-bottom: 0.5px solid var(--text);
    padding-bottom: 4px;
    transition: letter-spacing .3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cta-inline:hover { letter-spacing: 2.2px; }

/* ============ NEWSLETTER (sez. 8) ============ */
.newsletter {
    padding: 72px 32px;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-editorial);
    font-size: 26px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.newsletter-sub {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 420px;
    margin: 0 auto;
    border-bottom: 0.5px solid var(--text);
    padding-bottom: 10px;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text);
    outline: none;
    padding: 4px 0;
}

.newsletter-form button {
    background: transparent;
    border: none;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    padding: 4px 0 4px 12px;
    transition: letter-spacing .3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.newsletter-form button:hover { letter-spacing: 1.8px; }

/* ============ FOOTER (sez. 9 — MINIMAL) ============ */
.site-footer {
    padding: 72px 32px 48px;
    background: var(--bg);
    border-top: 0.5px solid var(--line);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    color: var(--text);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 36px;
    font-family: var(--font-editorial);
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text);
    transition: opacity .2s, letter-spacing .3s cubic-bezier(0.22, 0.61, 0.36, 1);
    position: relative;
}
.footer-nav a:hover {
    letter-spacing: 3px;
    opacity: 0.75;
}

.footer-legal {
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    font-family: var(--font-ui);
    letter-spacing: 0.3px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .site-header { padding: 20px 20px 10px; }
    .site-header.is-stuck { padding: 10px 20px 8px; }
    .site-header .brand { font-size: 22px; }
    .site-header.is-stuck .brand { font-size: 18px; }
    .site-header-icons { gap: 10px; }
    .site-header-right { gap: 20px; }
    .site-nav { gap: 22px; justify-content: flex-end; }
    .site-nav a { font-size: 13px; letter-spacing: 0.8px; font-weight: 400; }
    .site-header.is-stuck .site-nav { gap: 18px; }
    .hero { padding: 0 20px 0; }
    .hero-img-wrap { aspect-ratio: 4/5; }

    .manifesto { padding: 64px 20px 56px; }
    .manifesto-title { font-size: 26px; }

    .entries { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 64px; }
    .entry-img { aspect-ratio: 4/3; }

    .case-study { padding: 64px 20px; }
    .case-study-inner { grid-template-columns: 1fr; gap: 28px; }
    .case-study-title { font-size: 26px; }
    .case-study-img { aspect-ratio: 4/3; }

    .shop-featured { padding: 64px 20px; }
    .shop-featured-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .shop-featured-title { font-size: 22px; }
    .shop-featured-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

    .process { padding: 64px 20px; }
    .process-title { font-size: 22px; }
    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-img { aspect-ratio: 4/3; max-width: 320px; margin-left: auto; margin-right: auto; }

    .pro-banner { padding: 56px 20px; }
    .pro-banner-inner { grid-template-columns: 1fr; gap: 28px; }
    .pro-banner-title { font-size: 22px; }

    .newsletter { padding: 56px 20px; }
    .newsletter-title { font-size: 22px; }

    .site-footer { padding: 56px 20px 36px; }
    .footer-nav { gap: 22px; font-size: 12px; letter-spacing: 2px; }
}

@media (max-width: 520px) {
    .site-header-top { flex-wrap: wrap; }
    .site-header .brand { font-size: 20px; }
    .site-header-right { width: 100%; justify-content: space-between; gap: 12px; margin-top: 10px; }
    .site-nav { gap: 14px; justify-content: flex-start; flex: 1; }
    .site-nav a { font-size: 12px; letter-spacing: 0.7px; font-weight: 400; }
    .manifesto-title { font-size: 22px; }
    .case-study-title { font-size: 22px; }
    .shop-featured-grid { grid-template-columns: 1fr 1fr; }
    .shop-featured-title { font-size: 20px; }
    .footer-nav { font-size: 11px; gap: 18px; letter-spacing: 1.8px; }
    .entry-title { font-size: 13px; letter-spacing: 1.8px; }
}

/* ============ LOGIN ============ */
.login-wrapper {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--bg);
}

.login-card {
    background: var(--login-card);
    border: 0.5px solid var(--line);
    padding: 44px 40px;
    max-width: 400px;
    width: 100%;
}

.login-card h1 {
    font-family: var(--font-editorial);
    font-size: 26px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 8px;
    color: var(--text);
    letter-spacing: -0.2px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

.login-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
    margin: 0 0 32px;
    font-family: var(--font-ui);
}

.login-form label { display: block; margin-bottom: 20px; }

.login-form label span {
    display: block;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 500;
    color: var(--text-soft);
    margin-bottom: 8px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.login-form input {
    width: 100%;
    padding: 10px 0;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 0.5px solid var(--line);
    outline: none;
    transition: border-color .2s;
}

.login-form input:focus { border-bottom-color: var(--text); }

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-align: center;
    border: 0.5px solid var(--text);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: all .2s;
}

.btn:hover { background: var(--text); color: var(--bg); }

.btn-primary { width: 100%; margin-top: 12px; }

.flash-messages { max-width: 400px; margin: 14px auto 0; }

.flash {
    padding: 10px 14px;
    font-size: 12px;
    font-family: var(--font-ui);
    margin-bottom: 8px;
}

.flash-error { background: #f5e4e4; color: #8a3a3a; border-left: 2px solid #8a3a3a; }
.flash-info { background: #dce7ec; color: #3a5e6a; border-left: 2px solid #3a5e6a; }
.flash-success { background: var(--accent-soft); color: #4a5a38; border-left: 2px solid var(--accent); }

/* ============ ACCESSIBILITY: prefers-reduced-motion ============ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .entrance, .hero-entrance, .hero-img-entrance {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-img { transform: none !important; }
    .site-header, .site-header-top, .site-header .brand, .site-nav, .site-nav a {
        transition: none !important;
    }
    .entry-img-inner, .product-img-inner, .entry-title, .cta-inline, .case-study-cta,
    .shop-featured-cta, .footer-nav a, .btn-pro {
        transition: none !important;
    }
    .entry:hover .entry-img-inner, .entry:hover .entry-title,
    .product:hover .product-img-inner,
    .cta-inline:hover, .case-study-cta:hover, .shop-featured-cta:hover,
    .footer-nav a:hover, .site-nav a::after, .footer-nav a::after {
        transform: none !important;
        letter-spacing: inherit !important;
    }
    .hero-scroll-hint svg { animation: none !important; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
