:root {
    --bg: #08080a;
    --bg-elevated: #121216;
    --bg-soft: #18181e;
    --line: rgba(220, 60, 70, 0.14);
    --line-strong: rgba(255, 255, 255, 0.1);
    --text: #f2f2f4;
    --muted: #93939c;
    --accent: #e23b45;
    --accent-soft: #ff6b73;
    --accent-ink: #140608;
    --danger: #ff5c5c;
    --success: #5fbf8a;
    --live: #e23b45;
    --upcoming: #6e9ccc;
    --sold: #c9785a;
    --font-display: "Archivo Black", sans-serif;
    --font-body: "Space Grotesk", sans-serif;
    --max: 1200px;
    --header-h: 68px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    background: #08080a;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    font-family: var(--font-body);
    color: var(--text);
    background: #08080a;
    background-image:
        radial-gradient(900px 480px at 88% -8%, rgba(226, 59, 69, 0.1), transparent 55%),
        radial-gradient(700px 400px at 0% 35%, rgba(226, 59, 69, 0.04), transparent 50%),
        linear-gradient(180deg, #0d0d10 0%, var(--bg) 48%, #050506 100%);
    background-attachment: scroll;
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100%;
    max-width: 100%;
    opacity: 0.035;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —— Intro: logo crumbles to ash —— */
body.is-intro {
    overflow: hidden;
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #08080a;
    transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.site-intro.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.site-main,
.site-footer {
    position: relative;
    z-index: 1;
}

/* —— Header —— */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    max-width: 100%;
    backdrop-filter: blur(18px);
    background: rgba(8, 8, 10, 0.94);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
    height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.05rem;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.7rem);
    letter-spacing: -0.04em;
    line-height: 1;
}

.brand-mark {
    color: var(--accent);
}

.brand-text {
    color: var(--text);
}

.nav {
    display: flex;
    gap: clamp(1rem, 3vw, 1.75rem);
    justify-content: center;
}

.nav a {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
    color: var(--accent);
}

.cart-btn {
    justify-self: end;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    background: var(--bg-elevated);
    color: var(--text);
    transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.cart-btn:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-count[data-count="0"] {
    opacity: 0.4;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    background: var(--bg-elevated);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
}

.site-main {
    padding-top: var(--header-h);
    min-height: calc(100vh - var(--header-h) - 100px);
}

/* —— Hero —— */
.hero {
    position: relative;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: flex-end;
    padding: clamp(2.5rem, 8vw, 5rem) clamp(1rem, 3vw, 1.5rem) clamp(3rem, 8vw, 5rem);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background: #0a0a0c;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
    will-change: opacity;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transform: scale(1.08);
    filter: saturate(1.05) contrast(1.06);
}

.hero-bg-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 8, 10, 0.45) 0%, rgba(8, 8, 10, 0.18) 38%, rgba(8, 8, 10, 0.78) 82%, var(--bg) 100%),
        linear-gradient(90deg, rgba(8, 8, 10, 0.88) 0%, rgba(8, 8, 10, 0.35) 45%, rgba(8, 8, 10, 0.25) 100%);
}

.hero-content {
    position: relative;
    max-width: var(--max);
    width: 100%;
    margin: 0 auto;
    animation: riseIn 0.9s var(--ease) both;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
    margin: 0 0 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 14vw, 8.5rem);
    line-height: 0.88;
    letter-spacing: -0.05em;
    color: var(--text);
    text-shadow: 0 0 80px rgba(226, 59, 69, 0.18);
}

.hero-title {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.5vw, 2.35rem);
    letter-spacing: -0.03em;
    max-width: 16ch;
    color: var(--accent-soft);
}

.hero-copy {
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    max-width: 34ch;
    line-height: 1.5;
}

.countdown {
    margin-bottom: 1.75rem;
}

.countdown-label {
    margin: 0 0 0.7rem;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.countdown-grid {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.countdown-unit {
    min-width: 64px;
    padding: 0.8rem 0.7rem;
    background: rgba(16, 17, 19, 0.9);
    border: 1px solid var(--line);
    text-align: center;
}

.countdown-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.countdown-key {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.countdown.compact .countdown-unit {
    min-width: 52px;
    padding: 0.65rem 0.45rem;
}

.countdown.compact .countdown-value {
    font-size: 1.15rem;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.3rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--accent);
    color: var(--accent-ink);
}

.btn-primary:hover:not(:disabled) {
    background: #f04a54;
}

.btn-ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.7rem;
}

.btn-block {
    width: 100%;
}

/* —— Sections —— */
.drops-section,
.cart-page,
.drop-detail,
.empty-state {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 1.5rem);
}

.section-head {
    margin-bottom: 1.75rem;
}

.section-head h1,
.section-head h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
    font-weight: 700;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
    color: var(--accent-ink);
    background: var(--accent);
    border-color: var(--accent);
}

.drops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}

.drop-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s var(--ease);
    animation: cardIn 0.6s var(--ease) both;
}

.drop-card:nth-child(2) { animation-delay: 0.05s; }
.drop-card:nth-child(3) { animation-delay: 0.1s; }
.drop-card:nth-child(4) { animation-delay: 0.15s; }
.drop-card:nth-child(5) { animation-delay: 0.2s; }
.drop-card:nth-child(6) { animation-delay: 0.25s; }

@keyframes cardIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.drop-card:hover {
    border-color: rgba(226, 59, 69, 0.38);
    transform: translateY(-4px);
}

.drop-card.is-hidden {
    display: none;
}

.drop-media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #000;
}

.drop-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.drop-card:hover .drop-media img {
    transform: scale(1.04);
}

.drop-badge {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    padding: 0.3rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.badge-3d {
    left: auto;
    right: 0.75rem;
    background: rgba(8, 8, 10, 0.88);
    color: var(--accent-soft);
    border: 1px solid rgba(226, 59, 69, 0.4);
}

.badge-live {
    background: var(--live);
    color: var(--accent-ink);
}

.badge-upcoming {
    background: var(--upcoming);
    color: #061018;
}

.badge-sold_out,
.badge-ended {
    background: rgba(0, 0, 0, 0.75);
    color: var(--sold);
    border: 1px solid rgba(196, 122, 90, 0.4);
}

.drop-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}

.drop-meta h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    font-weight: 700;
}

.drop-meta p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.drop-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.drop-price {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.drop-price.xl {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    margin: 0.45rem 0 1rem;
    color: var(--accent);
}

.muted {
    color: var(--muted);
    font-size: 0.85rem;
}

.drop-media-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.drop-detail {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
    padding-top: clamp(1.75rem, 4vw, 3rem);
}

.drop-detail-media {
    position: relative;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.drop-detail-media.has-3d,
.drop-detail-media.has-photo,
.drop-detail-media.has-viewer {
    aspect-ratio: 1 / 1.05;
    min-height: min(62vh, 580px);
    background: #000;
}

.drop-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.view-switch {
    display: flex;
    gap: 0;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
    width: fit-content;
    max-width: 100%;
}

.view-switch button {
    padding: 0.65rem 1.1rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.view-switch button.is-active {
    background: var(--accent);
    color: var(--accent-ink);
}

.view-switch button:hover:not(.is-active) {
    color: var(--text);
}

.viewer-panel {
    position: absolute;
    inset: 0;
    display: none;
}

.viewer-panel.is-active {
    display: block;
}

.viewer-panel--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.view-chooser-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(226, 59, 69, 0.1), transparent 55%),
        rgba(8, 8, 10, 0.94);
    text-align: center;
}

.view-chooser-overlay.is-hidden {
    display: none;
}

.view-chooser-overlay h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    letter-spacing: -0.02em;
}

.view-chooser-overlay p {
    margin: 0;
    color: var(--muted);
    max-width: 28ch;
    font-size: 0.92rem;
}

.view-chooser-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.model-canvas-host {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.model-canvas-host canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    cursor: grab;
}

.model-canvas-host canvas:active {
    cursor: grabbing;
}

.model-canvas-host.is-loaded .model-progress {
    opacity: 0;
    pointer-events: none;
}

.model-progress {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 3rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.model-progress-bar {
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: width 0.15s linear;
}

.model-hint {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 2;
}

.eyebrow {
    margin: 0 0 0.45rem;
    color: var(--accent);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
}

.drop-detail-info h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.85rem);
    letter-spacing: -0.03em;
}

.lead {
    color: var(--muted);
    margin: 0.65rem 0 0;
}

.desc {
    color: #c4c8ce;
    line-height: 1.65;
    margin: 0 0 1.35rem;
}

.specs {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    border-top: 1px solid var(--line);
}

.specs li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.specs strong {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

/* —— Cart —— */
.cart-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 1.35rem;
    align-items: start;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-row {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 0.9rem;
    padding: 0.9rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
}

.cart-thumb {
    width: 88px;
    height: 110px;
    overflow: hidden;
    background: #000;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-info h3 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
}

.cart-info p {
    margin: 0 0 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.cart-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.7rem;
}

.cart-controls label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cart-controls input {
    width: 68px;
    padding: 0.4rem 0.45rem;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    color: var(--text);
}

.link-btn {
    background: none;
    border: none;
    color: var(--sold);
    cursor: pointer;
    padding: 0;
    font-size: 0.82rem;
}

.cart-summary {
    padding: 1.2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}

.cart-summary h2 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.15rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checkout-title {
    margin: 0 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.checkout-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-form input,
.checkout-form textarea {
    padding: 0.75rem 0.85rem;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    color: var(--text);
    resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: 1px solid var(--accent);
    border-color: var(--accent);
}

.alert {
    padding: 0.85rem 1rem;
    margin-bottom: 1.15rem;
    border: 1px solid var(--line);
}

.alert.success {
    border-color: rgba(125, 186, 138, 0.35);
    color: var(--success);
    background: rgba(125, 186, 138, 0.06);
}

.alert.error {
    border-color: rgba(232, 106, 90, 0.35);
    color: var(--danger);
    background: rgba(232, 106, 90, 0.06);
}

.empty-state {
    text-align: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.empty-state h1,
.empty-state h2 {
    font-family: var(--font-display);
    margin: 0 0 0.7rem;
}

.empty-state p {
    color: var(--muted);
    margin: 0 0 1.35rem;
}

.toast {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 100;
    padding: 0.8rem 1rem;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 1.5rem;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 1.75rem clamp(1rem, 3vw, 1.5rem);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--accent);
}

.footer-brand p {
    margin: 0.3rem 0 0;
    color: var(--muted);
}

.footer-meta {
    display: flex;
    gap: 1.1rem;
    color: var(--muted);
    font-size: 0.85rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.footer-meta a {
    color: var(--muted);
    text-decoration: none;
}

.footer-meta a:hover {
    color: var(--accent);
}

.about-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 1.5rem);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-block {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    padding: 1.25rem;
}

.about-block.full {
    grid-column: 1 / -1;
}

.about-block h2 {
    margin: 0 0 0.65rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--accent);
}

.about-block p {
    margin: 0;
    color: #c4c8ce;
    line-height: 1.65;
}

.contact-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    padding: 1.25rem;
}

.contact-panel h2 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

@media (max-width: 720px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}


/* —— Responsive —— */
@media (max-width: 980px) {
    .drops-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .drop-detail,
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .drop-detail-media.has-viewer {
        min-height: min(55vh, 480px);
    }
}

@media (max-width: 720px) {
    :root {
        --header-h: 60px;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        padding: 0 0.9rem;
        padding-left: max(0.9rem, env(safe-area-inset-left));
        padding-right: max(0.9rem, env(safe-area-inset-right));
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nav-toggle {
        display: inline-flex;
        width: 42px;
        height: 42px;
    }

    .nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(8, 8, 10, 0.98);
        border-bottom: 1px solid var(--line);
        padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom));
        max-height: calc(100svh - var(--header-h));
        overflow-y: auto;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 1rem 1.15rem;
        border-bottom: 1px solid var(--line);
        font-size: 0.85rem;
    }

    .cart-btn {
        width: 42px;
        height: 42px;
    }

    .drops-section,
    .cart-page,
    .drop-detail,
    .empty-state {
        padding: 1.75rem 0.9rem 2.5rem;
    }

    .filter-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .filter-btn {
        text-align: center;
        padding: 0.7rem 0.5rem;
    }

    .drops-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .drop-media {
        aspect-ratio: 1 / 1.05;
    }

    .hero {
        min-height: calc(100svh - var(--header-h));
        padding: 2rem 0.9rem calc(2.5rem + env(safe-area-inset-bottom));
        align-items: flex-end;
    }

    .hero-brand {
        font-size: clamp(3rem, 18vw, 4.5rem);
    }

    .hero-title {
        max-width: 100%;
        font-size: 1.25rem;
    }

    .hero-copy {
        max-width: 100%;
        margin-bottom: 1.35rem;
    }

    .countdown-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }

    .countdown-unit {
        min-width: 0;
        padding: 0.7rem 0.25rem;
    }

    .countdown-value {
        font-size: 1.15rem;
    }

    .hero-actions,
    .detail-actions {
        width: 100%;
    }

    .hero-actions .btn,
    .detail-actions .btn {
        flex: 1 1 auto;
        min-height: 46px;
    }

    .drop-detail-media.has-viewer {
        min-height: 58svh;
        aspect-ratio: auto;
        height: 58svh;
    }

    .view-switch {
        width: 100%;
    }

    .view-switch button {
        flex: 1;
        min-height: 44px;
    }

    .view-chooser-actions {
        width: 100%;
        flex-direction: column;
    }

    .view-chooser-actions .btn {
        width: 100%;
        min-height: 48px;
    }

    .cart-row {
        grid-template-columns: 72px 1fr;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .cart-controls {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .checkout-form input,
    .checkout-form textarea {
        min-height: 46px;
        font-size: 16px;
    }

    .checkout-form textarea {
        min-height: 88px;
    }

    .checkout-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem 0.9rem calc(1.5rem + env(safe-area-inset-bottom));
    }

    .toast {
        left: 0.75rem;
        right: 0.75rem;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        text-align: center;
    }
}

@media (max-width: 400px) {
    .countdown-unit {
        padding: 0.6rem 0.15rem;
    }

    .countdown-key {
        font-size: 0.58rem;
    }

    .btn {
        padding: 0.75rem 0.85rem;
        font-size: 0.7rem;
    }

    .brand {
        font-size: 1.35rem;
    }
}
