:root {
    --ink: #151515;
    --muted: #67625c;
    --paper: #fbfaf7;
    --cream: #f2eee6;
    --night: #101010;
    --plum: #4b1d3f;
    --red: #db3036;
    --teal: #0e8f8b;
    --gold: #c79631;
    --green: #19a75b;
    --line: rgba(21, 21, 21, 0.12);
    --shadow: 0 24px 60px rgba(16, 21, 24, 0.18);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #fffdf8 0%, var(--paper) 38%, #f7f1e7 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px clamp(16px, 4vw, 56px);
    background: rgba(251, 250, 247, 0.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand,
.nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 900;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: white;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--red), var(--gold), var(--teal), var(--red));
    box-shadow: 0 10px 25px rgba(219, 48, 54, 0.28);
    animation: polishSpin 8s linear infinite;
}

.nav {
    gap: 8px;
}

.nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover {
    color: var(--ink);
    background: white;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 88svh;
    display: grid;
    align-items: end;
    padding: clamp(96px, 12vw, 150px) clamp(16px, 5vw, 72px) 28px;
    overflow: hidden;
    color: white;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.76), rgba(5, 5, 5, 0.2) 62%, rgba(5, 5, 5, 0.54)),
        url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1800&q=80") center/cover;
    transform: scale(1.04);
    animation: slowZoom 16s ease-in-out infinite alternate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.15) 45%, transparent 53%),
        radial-gradient(circle at 72% 25%, rgba(199, 150, 49, 0.28), transparent 22%);
    mix-blend-mode: screen;
    animation: silkSweep 7s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    z-index: -1;
    background: linear-gradient(0deg, rgba(251, 250, 247, 1), rgba(251, 250, 247, 0));
}

.hero-content {
    width: min(720px, 100%);
    padding-bottom: clamp(42px, 8vw, 100px);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(4rem, 15vw, 10.5rem);
    line-height: 0.82;
    letter-spacing: 0;
    text-wrap: balance;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.hero-content p:not(.eyebrow) {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 2vw, 1.28rem);
    line-height: 1.6;
}

.hero-actions,
.product-foot,
.shop-head,
.cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.btn,
.mini-btn,
.select-chip,
.icon-btn {
    border: 0;
    cursor: pointer;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
}

.primary {
    color: white;
    background: linear-gradient(135deg, var(--red), #8f1632 48%, var(--plum));
    box-shadow: 0 14px 30px rgba(219, 48, 54, 0.32);
}

.ghost {
    color: white;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(10px);
}

.btn:hover,
.mini-btn:hover,
.select-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(21, 21, 21, 0.2);
}

.hero-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.hero-strip span,
.brand-wall span {
    flex: 0 0 auto;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
    font-weight: 800;
}

.section {
    padding: clamp(56px, 8vw, 110px) clamp(16px, 5vw, 72px);
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 70px);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-grid article,
.product,
.admin-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(17, 17, 17, 0.08);
}

.feature-grid article {
    position: relative;
    overflow: hidden;
    padding: 24px;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-grid article::after,
.product::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    opacity: 0;
    transform: translateX(-80%);
    transition: opacity 220ms ease, transform 520ms ease;
}

.feature-grid article:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-grid article:hover::after,
.product:hover::after {
    opacity: 1;
    transform: translateX(80%);
}

.feature-grid span {
    color: var(--teal);
    font-weight: 900;
}

.brand-wall {
    display: flex;
    gap: 12px;
    overflow: hidden;
    padding: 22px clamp(16px, 5vw, 72px);
    background: var(--ink);
    color: white;
}

.brand-wall span {
    animation: drift 18s linear infinite;
}

.runway {
    overflow: hidden;
    padding: 24px 0;
    background: linear-gradient(90deg, var(--night), #2a1525, var(--night));
}

.runway-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: galleryScroll 34s linear infinite;
}

.runway:hover .runway-track {
    animation-play-state: paused;
}

.runway img {
    width: clamp(180px, 28vw, 340px);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    filter: saturate(1.08) contrast(1.06);
    transform: translateY(0) scale(1);
    transition: transform 260ms ease, filter 260ms ease;
}

.runway img:nth-child(even) {
    margin-top: 34px;
}

.runway img:hover {
    filter: saturate(1.22) contrast(1.12);
    transform: translateY(-10px) scale(1.03);
}

.shop {
    background:
        linear-gradient(180deg, var(--paper), var(--cream));
}

.shop-head {
    margin-bottom: 28px;
}

.filters {
    display: flex;
    gap: 10px;
    width: min(560px, 100%);
}

.filters input,
.filters select,
.note-label textarea,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    outline: none;
}

.filters input,
.filters select {
    min-height: 48px;
    padding: 0 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.product:hover,
.product.selected {
    transform: translateY(-8px) rotateX(1deg);
    border-color: rgba(219, 48, 54, 0.45);
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, white, #fff8ef);
}

.product-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--cream);
    isolation: isolate;
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.42));
    opacity: 0;
    transition: opacity 240ms ease;
}

.product:hover .product-media::after,
.product.selected .product-media::after {
    opacity: 1;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.product:hover img {
    transform: scale(1.08);
}

.select-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 10px 14px;
    border-radius: 999px;
    color: white;
    background: rgba(21, 21, 21, 0.82);
}

.product.selected .select-chip,
.product.selected .mini-btn {
    background: var(--green);
}

.product-body {
    display: grid;
    min-height: 210px;
    padding: 18px;
}

.product-brand {
    margin-bottom: 6px;
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-body p {
    color: var(--muted);
    line-height: 1.5;
}

.choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 4px 0 14px;
}

.choice-row label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.choice-row select {
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid rgba(21, 21, 21, 0.16);
    border-radius: 8px;
    background: linear-gradient(180deg, white, #fbf6ef);
    color: var(--ink);
    font-weight: 800;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.choice-row select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(199, 150, 49, 0.18);
}

.product-foot strong {
    color: var(--teal);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mini-btn {
    min-width: 86px;
    min-height: 40px;
    border-radius: 999px;
    color: white;
    background: var(--ink);
}

.cart {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    width: min(420px, 100%);
    height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 70px rgba(0, 0, 0, 0.18);
    transform: translateX(106%);
    transition: transform 260ms ease;
    backdrop-filter: blur(18px);
}

.cart.open {
    transform: translateX(0);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cream);
    font-size: 1.5rem;
}

.cart-items {
    overflow: auto;
}

.cart-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.cart-line button {
    border: 0;
    color: var(--red);
    background: transparent;
    cursor: pointer;
    font-weight: 900;
}

.note-label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.note-label textarea {
    min-height: 90px;
    padding: 12px;
    resize: vertical;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.floating-cart {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: white;
    background: var(--green);
    box-shadow: 0 18px 40px rgba(25, 167, 91, 0.35);
    cursor: pointer;
    font-weight: 900;
}

.floating-cart span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.site-footer {
    overflow: hidden;
    color: white;
    background:
        linear-gradient(135deg, rgba(219, 48, 54, 0.18), transparent 34%),
        linear-gradient(225deg, rgba(14, 143, 139, 0.18), transparent 36%),
        var(--night);
}

.footer-marquee {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.footer-marquee div {
    display: flex;
    width: max-content;
    gap: 16px;
    padding: 16px 0;
    animation: footerFlow 22s linear infinite;
}

.footer-marquee span {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 6vw, 90px);
    padding: clamp(46px, 7vw, 90px) clamp(16px, 5vw, 72px);
}

.footer-brand {
    max-width: 620px;
}

.footer-brand .brand {
    width: max-content;
    margin-bottom: 24px;
}

.footer-brand h2 {
    max-width: 680px;
    color: white;
    font-size: clamp(2.4rem, 6vw, 5.8rem);
}

.footer-brand p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-content: start;
}

.footer-links div {
    min-height: 230px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.footer-links div:hover {
    transform: translateY(-6px);
    border-color: rgba(199, 150, 49, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.footer-links h3 {
    color: var(--gold);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links a,
.footer-links span {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 800;
}

.footer-links a {
    transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 18px clamp(16px, 5vw, 72px) 26px;
    color: rgba(255, 255, 255, 0.56);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slowZoom {
    from { transform: scale(1.04) translateY(0); }
    to { transform: scale(1.1) translateY(-10px); }
}

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(-180px); }
}

@keyframes polishSpin {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}

@keyframes silkSweep {
    0%, 100% { opacity: 0.38; transform: translateX(-8%); }
    50% { opacity: 0.72; transform: translateX(8%); }
}

@keyframes galleryScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes footerFlow {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 70px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: white;
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .hero {
        min-height: 84svh;
        padding-top: 86px;
    }

    .hero-actions,
    .shop-head,
    .filters {
        align-items: stretch;
        flex-direction: column;
    }

    .runway {
        padding: 16px 0;
    }

    .runway-track {
        gap: 12px;
        animation-duration: 26s;
    }

    .runway img:nth-child(even) {
        margin-top: 22px;
    }

    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-main,
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-links div {
        min-height: auto;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .product-body {
        min-height: auto;
    }
}

@media (min-width: 761px) and (max-width: 1099px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
