/* ============================================================================
   homepage.css — only what the homepage adds on top of base + components.
   ========================================================================= */

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 5rem);
}

/* A soft sunrise sitting behind the product shot. */
.hero::before {
    content: "";
    position: absolute;
    top: -18%;
    right: -12%;
    width: min(78vw, 780px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
                rgba(232, 153, 44, .26), rgba(216, 69, 28, .13) 42%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2.5rem, 6vw, 4.5rem);
    grid-template-columns: 1fr;
    align-items: center;
}

@media (min-width: 900px) {
    .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
}

.hero__title {
    font-size: var(--step-6);
    letter-spacing: -.035em;
    line-height: .94;
}

.hero__accent {
    background: var(--dawn-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: italic;
}

.hero__lead {
    margin-top: var(--sp-5);
    max-width: 44ch;
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--ink-soft);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

/* ── Hero fact strip ── */

.hero__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: var(--sp-4);
    margin-top: clamp(2rem, 5vw, 3rem);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--line);
}

.hero__fact dt {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.hero__fact dd {
    margin: .35rem 0 0;
    font-size: var(--step--1);
    color: var(--ink);
}

.hero__price {
    font-family: var(--font-display);
    font-size: var(--step-2) !important;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--accent) !important;
    line-height: 1;
}

/* ── Hero visual ── */

.hero__visual { position: relative; }

.hero__stage {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.hero__glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: var(--dawn-soft);
    filter: blur(38px);
    animation: hero-breathe 7s var(--ease) infinite;
}

@keyframes hero-breathe {
    0%, 100% { opacity: .75; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.06); }
}

.hero__shot {
    grid-area: 1 / 1;
    width: 100%;
    max-width: 520px;
    height: auto;
    opacity: 0;
    transition: opacity 1.4s var(--ease);
    filter: drop-shadow(0 30px 45px rgba(20, 19, 15, .22));
}

.hero__shot.is-active { opacity: 1; }

/* The clock's own face, echoed as a badge under the photo. */
.hero__badge {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-grid;
    gap: .1rem;
    padding: .85rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero__badge-time {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 500;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.hero__badge-label {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

@media (max-width: 899px) {
    .hero__badge { position: static; margin-top: var(--sp-4); justify-self: start; }
    .hero__visual { display: grid; justify-items: start; }
}


/* ── Ticker ─────────────────────────────────────────────────────────────── */

.ticker {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--surface);
    padding-block: .85rem;
    user-select: none;
}

.ticker__track {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    width: max-content;
    /* The markup repeats the list twice, so translating by exactly -50% lands
       back on an identical frame and the loop is invisible. */
    animation: ticker-scroll 46s linear infinite;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__item {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
}

.ticker__dot { color: var(--accent); font-size: .5rem; }

@media (prefers-reduced-motion: reduce) {
    .ticker__track { animation: none; }
    .ticker { overflow-x: auto; }
}


/* ── Statement ──────────────────────────────────────────────────────────── */

.statement { text-align: center; }

.statement__text {
    font-family: var(--font-display);
    font-size: var(--step-3);
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -.02em;
    color: var(--ink-soft);
    text-wrap: balance;
}

.statement__text strong { color: var(--ink); font-weight: 700; }

.statement__beep {
    font-family: var(--font-mono);
    font-size: .78em;
    letter-spacing: .04em;
    color: var(--accent);
    white-space: nowrap;
}


/* ── Pillars ────────────────────────────────────────────────────────────── */

.pillars__grid {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}

.pillar {
    display: flex;
    flex-direction: column;
    padding-top: var(--sp-7);
}

.pillar__num {
    position: absolute;
    top: var(--sp-5);
    right: var(--sp-5);
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .14em;
    color: var(--ink-faint);
}

.pillar__art {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 96px;
    margin-bottom: var(--sp-5);
}

.pillar__title { margin-bottom: var(--sp-3); }

.pillar__text {
    color: var(--ink-soft);
    font-size: var(--step--1);
    margin-bottom: var(--sp-5);
    flex: 1;
}

.pillar .link { align-self: flex-start; }

/* Dawn rings — concentric pulses, the light warming up. */
.dawn-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0;
    animation: dawn-pulse 3.4s var(--ease) infinite;
}

.dawn-ring--1 { width: 34px; height: 34px; animation-delay: 0s; }
.dawn-ring--2 { width: 62px; height: 62px; animation-delay: .5s; }
.dawn-ring--3 { width: 90px; height: 90px; animation-delay: 1s; }

@keyframes dawn-pulse {
    0%   { opacity: 0;   transform: scale(.72); }
    35%  { opacity: .85; }
    100% { opacity: 0;   transform: scale(1.12); }
}

.dawn-core {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dawn);
    box-shadow: 0 0 22px 4px var(--accent-wash);
}

/* Waveform — the music alarm. */
.wave { display: flex; align-items: center; gap: 4px; height: 62px; }

.wave span {
    width: 4px;
    border-radius: 2px;
    background: var(--accent);
    animation: wave-bounce 1.25s var(--ease) infinite;
}

.wave span:nth-child(1)  { height: 22%; animation-delay: 0s; }
.wave span:nth-child(2)  { height: 55%; animation-delay: .08s; }
.wave span:nth-child(3)  { height: 88%; animation-delay: .16s; }
.wave span:nth-child(4)  { height: 42%; animation-delay: .24s; }
.wave span:nth-child(5)  { height: 100%; animation-delay: .32s; }
.wave span:nth-child(6)  { height: 34%; animation-delay: .4s; }
.wave span:nth-child(7)  { height: 72%; animation-delay: .48s; }
.wave span:nth-child(8)  { height: 48%; animation-delay: .56s; }
.wave span:nth-child(9)  { height: 92%; animation-delay: .64s; }
.wave span:nth-child(10) { height: 30%; animation-delay: .72s; }

@keyframes wave-bounce {
    0%, 100% { transform: scaleY(.4); opacity: .55; }
    50%      { transform: scaleY(1);  opacity: 1; }
}

/* WiFi arcs. */
.wifi { position: relative; width: 84px; height: 62px; }

.wifi__arc {
    position: absolute;
    left: 50%;
    bottom: 6px;
    border: 2.5px solid var(--accent);
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-right-color: transparent;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: wifi-fade 2.6s var(--ease) infinite;
}

.wifi__arc--1 { width: 26px; height: 26px; animation-delay: 0s; }
.wifi__arc--2 { width: 50px; height: 50px; animation-delay: .3s; }
.wifi__arc--3 { width: 74px; height: 74px; animation-delay: .6s; }

.wifi__dot {
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%);
}

@keyframes wifi-fade {
    0%, 100% { opacity: .2; }
    45%      { opacity: 1; }
}


/* ── Showcase ───────────────────────────────────────────────────────────── */

.showcase__grid {
    display: grid;
    gap: var(--sp-4);
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 760px) {
    .showcase__grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 15rem;
    }
    .showcase__item--tall { grid-row: span 2; }
    .showcase__item--wide { grid-column: span 2; }
}

.showcase__item {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-2);
}

.showcase__item img {
    width: 100%;
    height: 100%;
    min-height: 11rem;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.showcase__item:hover img { transform: scale(1.04); }


/* ── Colours ────────────────────────────────────────────────────────────── */

.colours__shelf {
    margin: 0 0 var(--sp-6);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.colours__shelf img {
    width: 100%;
    max-height: 26rem;
    object-fit: cover;
}

.colours__shelf figcaption {
    padding: var(--sp-3) var(--sp-5);
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.swatches {
    display: grid;
    gap: var(--sp-4);
    grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
}

.swatch {
    display: grid;
    gap: var(--sp-2);
    text-align: center;
}

.swatch img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: transform var(--slow) var(--ease), box-shadow var(--slow) var(--ease);
}

.swatch:hover img {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.swatch__name {
    font-family: var(--font-mono);
    font-size: var(--step--2);
    letter-spacing: .06em;
    color: var(--ink-muted);
}
