/* ── Fonts ────────────────────────────────────── */
@font-face {
    font-family: "An Nisa";
    src: url("/fonts/an-nisa.regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── Reset & Base ─────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0a0a;
    --color-surface: #111111;
    --color-text: #e8e4df;
    --color-text-muted: #8a8580;
    --color-gold: #c9a84c;
    --color-gold-light: #EAD28D;
    --color-gold-dark: #AF8855;
    --color-gold-deep: #8a6a3a;
    --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-accent: "An Nisa", Georgia, serif;
    --max-width: 720px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ── Hero (mobile-first) ─────────────────────── */
.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(175, 136, 85, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -60%);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.logo {
    width: 200px;
    height: auto;
}

/* ── Logo Crossfade ───────────────────────────── */
.logo-cycle {
    position: relative;
    width: 200px;
}

/* First child sets the container height via normal flow */
.logo-variant:first-child {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

/* Subsequent children overlay exactly on top */
.logo-variant:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.logo-variant {
    opacity: 0;
}

/* 2 logos, 10s total cycle: 5s each (3s hold + 2s fade) */
.logo-variant:nth-child(1) { animation: crossfade2 10s ease infinite 0s; }
.logo-variant:nth-child(2) { animation: crossfade2 10s ease infinite 5s; }

@keyframes crossfade2 {
    0%      { opacity: 0; }
    10%     { opacity: 1; }
    50%     { opacity: 1; }
    60%     { opacity: 0; }
    100%    { opacity: 0; }
}

.tagline {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    color: var(--color-gold-light);
    font-weight: 400;
}

/* ── Gold divider ─────────────────────────────── */
.gold-rule {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-dark), transparent);
    border: none;
    margin: 0 auto;
}

/* ── Sections (mobile-first) ──────────────────── */
section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* ── Brand Story ──────────────────────────────── */
.story h2 {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.75rem;
}

.story p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

/* ── Email Signup ─────────────────────────────── */
.signup {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
}

.signup::before,
.signup::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold-deep), transparent);
}

.signup::before {
    top: -1px;
}

.signup::after {
    bottom: -1px;
}

.signup h2 {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.signup > p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

#signup-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}

#signup-form input[type="email"] {
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: var(--color-surface);
    border: 1px solid #2a2a2a;
    border-bottom: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

#signup-form input[type="email"]:focus {
    border-color: var(--color-gold-dark);
}

#signup-form input[type="email"]::placeholder {
    color: var(--color-text-muted);
}

#signup-form button {
    width: 100%;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
    background-size: 200% 100%;
    color: var(--color-bg);
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-position 0.4s ease;
}

#signup-form button:hover {
    background-position: 100% 0;
}

#signup-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.message.success {
    color: var(--color-gold-light);
}

.message.error {
    color: #c97a7a;
}

/* ── Nav ──────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-gold-light);
}

#cart-count {
    color: var(--color-gold-light);
    font-size: 0.7rem;
}

/* ── Page Layout ──────────────────────────────── */
.page {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
    min-height: 60vh;
}

.page-title {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

.loading, .muted {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.loading-sm, .muted-sm {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* ── Drop Preview (homepage) ──────────────────── */
.drop-preview {
    text-align: center;
}

.drop-preview h2 {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.drop-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.drop-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* ── Countdown ────────────────────────────────── */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-num {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: var(--color-gold-light);
    line-height: 1;
}

.countdown-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 0.3rem;
}

.countdown-live {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-light);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ── Product Grid ─────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.product-card {
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-card.sold-out {
    opacity: 0.5;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-surface);
    border: 1px solid #1a1a1a;
    overflow: hidden;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-image-placeholder.large {
    font-size: 1.2rem;
}

.product-image-placeholder.small {
    font-size: 0.65rem;
}

.badge-sold-out,
.badge-low-stock {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.badge-sold-out {
    background: var(--color-bg);
    color: var(--color-text-muted);
    border: 1px solid #2a2a2a;
}

.badge-low-stock {
    background: var(--color-gold-dark);
    color: var(--color-bg);
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 0;
}

.product-name {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
}

.product-price {
    color: var(--color-gold-light);
    font-size: 0.85rem;
}

/* ── Product Detail ───────────────────────────── */
.product-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-image-large {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-surface);
    border: 1px solid #1a1a1a;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.product-price-large {
    font-size: 1.2rem;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.product-options {
    margin-bottom: 1.5rem;
}

.option-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.size-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-btn {
    width: 48px;
    height: 48px;
    background: var(--color-surface);
    border: 1px solid #2a2a2a;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.size-btn:hover:not(.disabled) {
    border-color: var(--color-gold-dark);
}

.size-btn.selected {
    border-color: var(--color-gold-light);
    color: var(--color-gold-light);
}

.size-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.size-error {
    color: #c97a7a;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.stock-warning {
    color: var(--color-gold-dark);
    font-size: 0.8rem;
    margin-top: 0.75rem;
    text-align: center;
}

.sold-out-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ── Size Guide ───────────────────────────────── */
.size-guide {
    margin-top: 1.5rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 1rem;
}

.size-guide summary {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    cursor: pointer;
    list-style: none;
}

.size-guide summary::before {
    content: "+ ";
    color: var(--color-gold-dark);
}

.size-guide[open] summary::before {
    content: "\2013  ";
}

.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.8rem;
}

.size-guide-table th {
    text-align: left;
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #2a2a2a;
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.size-guide-table td {
    padding: 0.4rem 0.5rem;
    border-bottom: 1px solid #111;
    color: var(--color-text);
}

.product-meta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1a1a1a;
}

.product-meta p {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

/* ── Buttons ──────────────────────────────────── */
.btn-gold {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
    background-size: 200% 100%;
    color: var(--color-bg);
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-position 0.4s ease;
    text-align: center;
}

.btn-gold:hover {
    background-position: 100% 0;
}

.btn-gold:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-full {
    width: 100%;
}

/* ── Drop Card (drops page) ───────────────────── */
.drop-card {
    border: 1px solid #1a1a1a;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.drop-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.drop-card-title {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.06em;
}

.drop-card-status {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border: 1px solid;
}

.status-upcoming { color: var(--color-gold-light); border-color: var(--color-gold-deep); }
.status-live { color: #7ac97a; border-color: #4a7a4a; }
.status-sold_out { color: var(--color-text-muted); border-color: #2a2a2a; }

.drop-card-theme {
    font-size: 0.8rem;
    color: var(--color-gold-dark);
    margin-bottom: 0.5rem;
}

.drop-card-desc {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.drop-card-date {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* ── Cart ─────────────────────────────────────── */
.cart-empty {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 3rem 0;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #1a1a1a;
    align-items: center;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--color-surface);
    border: 1px solid #1a1a1a;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cart-item-name {
    font-size: 0.85rem;
}

.cart-item-size {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--color-gold-light);
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.cart-item-qty {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.cart-item-subtotal {
    font-size: 0.85rem;
    color: var(--color-gold-light);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #c97a7a;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--font-body);
}

.cart-footer {
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cart-total span:last-child {
    color: var(--color-gold-light);
    font-size: 1.1rem;
}

.checkout-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

/* ── Member Badge (nav) ───────────────────────── */
.member-badge {
    color: var(--color-gold-light);
    font-size: 0.6rem;
    opacity: 0.8;
}

/* ── Member Greeting (replaces signup for members) */
.member-greeting {
    text-align: center;
    padding: 1rem 0;
}

.member-greeting-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 0.75rem;
}

.member-greeting-code {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
}

.member-greeting-msg {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* ── Nav Code Entry ───────────────────────────── */
.nav-code-entry {
    font-size: 0.65rem !important;
    color: var(--color-gold-dark) !important;
    border: 1px solid var(--color-gold-deep);
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.08em !important;
}

.nav-code-entry:hover {
    border-color: var(--color-gold-dark) !important;
}

/* ── Code Entry Modal ─────────────────────────── */
.code-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.code-modal {
    position: relative;
    background: var(--color-bg);
    border: 1px solid #1a1a1a;
    padding: 2.5rem 2rem;
    max-width: 360px;
    width: 100%;
    text-align: center;
}

.code-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.code-modal-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 0.5rem;
}

.code-modal-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.code-modal-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--color-surface);
    border: 1px solid #2a2a2a;
    color: var(--color-gold-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    outline: none;
    margin-bottom: 1rem;
    transition: border-color 0.2s ease;
}

.code-modal-input:focus {
    border-color: var(--color-gold-dark);
}

.code-modal-input::placeholder {
    color: #333;
}

.code-modal-error {
    color: #c97a7a;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

/* ── Code Reveal Animation ────────────────────── */
.code-reveal {
    text-align: center;
    padding: 1rem 0;
}

.reveal-line,
.reveal-code-card {
    opacity: 0;
    transform: translateY(12px);
    animation: revealUp 0.7s ease forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-welcome {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
}

.reveal-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.reveal-code-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2.5rem;
    border: 1px solid var(--color-gold-deep);
    background: linear-gradient(135deg, rgba(175, 136, 85, 0.06) 0%, rgba(10, 10, 10, 0.8) 100%);
    margin-bottom: 2rem;
}

.reveal-code-label {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
}

.reveal-code-value {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--color-gold-light);
}

.reveal-copy {
    background: none;
    border: 1px solid #2a2a2a;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.reveal-copy:hover {
    border-color: var(--color-gold-dark);
    color: var(--color-gold-light);
}

.reveal-instruction {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    max-width: 400px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.reveal-closing {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--color-gold-dark);
}

/* ── Success Page ─────────────────────────────── */
.success-content {
    text-align: center;
    padding: 4rem 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--color-gold-dark);
    color: var(--color-gold-light);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-message {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.success-order-id {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.success-note {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ── Footer ───────────────────────────────────── */
.footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
}

.copyright {
    color: #333;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

/* ── Social Links ─────────────────────────────── */
.social {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.social a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.social a:hover {
    color: var(--color-gold-light);
}

/* ── Tablet (min 600px) ──────────────────────── */
@media (min-width: 600px) {
    .hero::before {
        width: 450px;
        height: 450px;
    }

    .logo {
        width: 280px;
    }

    .logo-cycle {
        width: 280px;
    }

    .tagline {
        font-size: 1.35rem;
    }

    section, .page {
        padding: 5rem 2rem;
    }

    .page {
        padding-top: 6rem;
    }

    .story h2,
    .signup h2 {
        font-size: 0.95rem;
    }

    .story p {
        font-size: 1.05rem;
    }

    #signup-form {
        flex-direction: row;
    }

    #signup-form input[type="email"] {
        border-bottom: 1px solid #2a2a2a;
        border-right: none;
        width: auto;
        flex: 1;
    }

    #signup-form button {
        width: auto;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-layout {
        flex-direction: row;
        gap: 3rem;
    }

    .product-image-large {
        flex: 1;
    }

    .product-details {
        flex: 1;
    }

    .countdown-num {
        font-size: 2.5rem;
    }
}

/* ── Desktop (min 900px) ─────────────────────── */
@media (min-width: 900px) {
    .hero::before {
        width: 550px;
        height: 550px;
    }

    .hero-content {
        gap: 1.5rem;
    }

    .logo {
        width: 340px;
    }

    .logo-cycle {
        width: 340px;
    }

    .tagline {
        font-size: 1.5rem;
    }

    section, .page {
        padding: 6rem 2rem;
    }

    .page {
        padding-top: 7rem;
        max-width: 960px;
    }

    .story h2,
    .signup h2 {
        font-size: 1rem;
    }

    .countdown-num {
        font-size: 3rem;
    }

    .nav-links {
        gap: 2rem;
    }
}
