/* HANGOUT by RIVAK - editorial streetwear preview (v2). Warm off-white, charcoal, electric blue. */

@font-face {
    font-family: 'Archivo';
    src: url('assets/fonts/Archivo.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #F5F1E8;
    --panel: #E9E3D5;
    --ink: #1D1B17;
    --blue: #2244FF;
    --muted: rgba(29, 27, 23, 0.58);
    --line: rgba(29, 27, 23, 0.16);
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Archivo', "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--bg); color: var(--ink);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; }

/* ---------------- neutral media slots (no fake photos) ---------------- */
.slot {
    position: relative;
    width: 100%; height: 100%;
    background:
        repeating-linear-gradient(135deg, rgba(29, 27, 23, 0.045) 0 12px, transparent 12px 24px),
        var(--panel);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: rgba(29, 27, 23, 0.5);
    overflow: hidden;
}
.slot span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.slot em { font-style: normal; font-size: 11px; letter-spacing: 0.06em; }

/* ---------------- announcement bar ---------------- */
.annc {
    background: var(--ink); color: #F5F1E8;
    text-align: center;
    font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
    padding: 9px 14px;
}

/* ---------------- header ---------------- */
.hd {
    position: sticky; top: 0; z-index: 60;
    display: flex; align-items: center; gap: 18px;
    padding: 14px 20px;
    background: rgba(245, 241, 232, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}
.hd.is-scrolled { box-shadow: 0 14px 30px -22px rgba(29, 27, 23, 0.5); }
.hd-logo img { height: 26px; width: auto; }
.hd-nav { display: none; align-items: center; gap: 26px; margin-left: 14px; }
.hd-nav a {
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    position: relative; padding: 4px 0;
}
.hd-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
    height: 2px; background: var(--blue); transition: right 0.25s ease;
}
.hd-nav a:hover::after { right: 0; }
.hd-icons { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.icbtn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
}
.icbtn:active { background: var(--panel); }
.hd-burger { display: inline-flex; }

/* search strip (UI demo) */
.searchstrip { display: none; border-bottom: 1px solid var(--line); background: var(--bg); padding: 12px 20px; }
.searchstrip.is-open { display: flex; gap: 10px; }
.searchstrip input {
    flex: 1; padding: 12px 16px;
    font: inherit; font-size: 14px;
    background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px;
}
.searchstrip input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }

/* ---------------- drawer ---------------- */
.scrim[hidden], .drawer[hidden] { display: none; }
.scrim { position: fixed; inset: 0; z-index: 70; background: rgba(29, 27, 23, 0.45); }
.drawer {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 80;
    width: min(85vw, 340px);
    display: flex; flex-direction: column;
    background: var(--bg);
    border-right: 1px solid var(--line);
    box-shadow: 30px 0 60px -30px rgba(29, 27, 23, 0.5);
}
.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 14px 14px 20px;
    border-bottom: 1px solid var(--line);
}
.drawer-head img { height: 26px; width: auto; }
.drawer-list { overflow-y: auto; padding: 8px 0 24px; }
.drawer-list > a, .drawer-list > button.dr-item {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; text-align: left;
    padding: 14px 22px;
    font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}
.drawer-list > a:hover, .drawer-list > button.dr-item:hover { color: var(--blue); }
.dr-group { border-bottom: 1px solid var(--line); padding: 12px 22px 16px; }
.dr-group > p {
    font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--muted); font-weight: 800; padding-bottom: 10px;
}
.dr-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dr-sub a {
    font-weight: 700; font-size: 13px; text-align: center;
    padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px;
}

/* ---------------- hero ---------------- */
.hero {
    position: relative;
    min-height: min(78svh, 780px);
    display: flex; align-items: flex-end;
    isolation: isolate;
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media .slot { height: 100%; justify-content: flex-start; align-items: flex-end; padding: 16px; gap: 2px; }
.hero-media .slot span { opacity: 0.45; }
.hero-media .slot em { opacity: 0.4; }
.hero-content { padding: 40px 20px 46px; max-width: 760px; }
.eyebrow {
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 800;
    color: var(--blue);
    padding-bottom: 14px;
}
.hero h1 {
    font-size: clamp(34px, 9.4vw, 76px);
    font-weight: 900; font-stretch: 118%;
    line-height: 0.98; letter-spacing: -0.01em; text-transform: uppercase;
}
.hero-sub {
    padding-top: 16px;
    font-size: 14.5px; line-height: 1.6; color: rgba(29, 27, 23, 0.78);
    max-width: 44ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 26px;
    font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    border-radius: 2px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-blue { background: var(--blue); color: #FFFFFF; }
.btn-blue:hover { background: #1A38D8; }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: scale(0.97); }

/* entrance animation (subtle, once) */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.7s cubic-bezier(0.22, 0.9, 0.3, 1) both; }
.rise-1 { animation-delay: 0.08s; }
.rise-2 { animation-delay: 0.18s; }
.rise-3 { animation-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* ---------------- sections ---------------- */
.sec { padding: 56px 20px 8px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-bottom: 22px; }
.sec-head h2 {
    font-size: clamp(22px, 5.6vw, 34px);
    font-weight: 900; font-stretch: 116%; text-transform: uppercase; letter-spacing: 0.01em;
}
.sec-link {
    flex: 0 0 auto;
    font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--blue); border-bottom: 2px solid var(--blue); padding-bottom: 2px;
}

/* category cards */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-card { display: block; position: relative; overflow: hidden; border-radius: 4px; }
.cat-card .slot { aspect-ratio: 4 / 5; transition: transform 0.5s cubic-bezier(0.22, 0.9, 0.3, 1); }
.cat-card:hover .slot { transform: scale(1.04); }
.cat-card .cat-name {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px;
    font-size: 14px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
    color: #FFFFFF;
    background: linear-gradient(transparent, rgba(29, 27, 23, 0.78));
}

/* product grid */
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.prod { display: block; }
.prod-media { position: relative; }
.prod .slot { aspect-ratio: 3 / 3.9; border-radius: 4px; }
.heart {
    position: absolute; top: 8px; right: 8px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(245, 241, 232, 0.94); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
}
.heart.is-on { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.heart.is-on svg { fill: #FFFFFF; }
.prod-name { padding-top: 10px; font-weight: 700; font-size: 13.5px; }
.prod-price { padding-top: 2px; font-size: 12px; color: var(--muted); font-weight: 600; }

/* editorial campaign */
.edit {
    margin-top: 56px;
    display: grid; gap: 0;
    background: var(--ink); color: #F5F1E8;
}
.edit-media { min-height: 300px; }
.edit-media .slot {
    background:
        repeating-linear-gradient(135deg, rgba(245, 241, 232, 0.06) 0 12px, transparent 12px 24px),
        #2A2721;
    color: rgba(245, 241, 232, 0.55);
}
.edit-body { padding: 40px 24px 44px; }
.edit-body h2 {
    font-size: clamp(26px, 7vw, 44px);
    font-weight: 900; font-stretch: 118%; text-transform: uppercase; line-height: 1.02;
}
.edit-body p { padding: 16px 0 22px; font-size: 14px; line-height: 1.65; color: rgba(245, 241, 232, 0.75); max-width: 46ch; }
.btn-invert { background: #F5F1E8; color: var(--ink); }
.btn-invert:hover { background: var(--blue); color: #FFFFFF; }

/* outfit reels */
.reel-row {
    display: flex; gap: 12px; overflow-x: auto;
    padding: 2px 0 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.reel-row::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 42%; min-width: 0; scroll-snap-align: start; position: relative; display: block; border-radius: 4px; overflow: hidden; }
.reel .slot { aspect-ratio: 9 / 14; justify-content: flex-start; align-items: flex-start; padding: 10px; gap: 2px; text-align: left; }
.reel-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid rgba(29, 27, 23, 0.5);
    background: rgba(245, 241, 232, 0.7);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--ink); padding-left: 3px;
}

/* manifesto */
.mani { padding: 72px 20px 24px; text-align: center; }
.mani h2 {
    font-size: clamp(28px, 8vw, 56px);
    font-weight: 900; font-stretch: 120%; text-transform: uppercase; line-height: 1.02;
}
.mani h2 .accent { color: var(--blue); }
.mani p {
    margin: 20px auto 0; max-width: 52ch;
    font-size: 14.5px; line-height: 1.7; color: rgba(29, 27, 23, 0.78);
}
.mani-media { margin-top: 30px; }
.mani-media .slot { aspect-ratio: 16 / 6; border-radius: 4px; }
@media (max-width: 720px) { .mani-media .slot { aspect-ratio: 16 / 9; } }

/* newsletter */
.news { padding: 64px 20px; text-align: center; }
.news h2 { font-size: clamp(24px, 6.6vw, 40px); font-weight: 900; font-stretch: 116%; text-transform: uppercase; }
.news p.sub { padding: 10px 0 22px; font-size: 13.5px; color: var(--muted); }
.news-form { display: flex; flex-direction: column; gap: 10px; max-width: 440px; margin: 0 auto; }
.news-form input {
    padding: 14px 18px;
    font: inherit; font-size: 14px;
    background: #FFFFFF; border: 1px solid var(--line); border-radius: 2px;
    text-align: center;
}
.news-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.news-msg { min-height: 18px; padding-top: 12px; font-size: 12.5px; font-weight: 600; }
.news-msg.err { color: #C01F1F; }
.news-msg.info { color: var(--muted); }

/* ---------------- footer ---------------- */
.foot {
    margin-top: 64px;
    background: var(--ink); color: #F5F1E8;
    padding: 46px 20px 90px;
}
.foot-logo { height: 30px; width: auto; margin-bottom: 26px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.foot-cols h3 {
    font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 800;
    color: rgba(245, 241, 232, 0.55); padding-bottom: 12px;
}
.foot-cols a, .foot-cols .soon {
    display: block; padding: 5px 0;
    font-size: 13.5px; font-weight: 600; color: rgba(245, 241, 232, 0.88);
}
.foot-cols a:hover { color: var(--blue); }
.foot-cols .soon { color: rgba(245, 241, 232, 0.45); }
.foot-cols .soon i { font-style: normal; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid rgba(245, 241, 232, 0.3); border-radius: 999px; padding: 2px 7px; margin-left: 8px; }
.foot-base {
    margin-top: 34px; padding-top: 18px;
    border-top: 1px solid rgba(245, 241, 232, 0.18);
    font-size: 11.5px; color: rgba(245, 241, 232, 0.55); line-height: 1.7;
}

/* ---------------- listing / inner pages ---------------- */
.page-hero { padding: 44px 20px 30px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px, 8vw, 54px); font-weight: 900; font-stretch: 118%; text-transform: uppercase; }
.page-hero p { padding-top: 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.listbar {
    position: sticky; top: 67px; z-index: 40;
    display: flex;
    background: var(--bg); border-bottom: 1px solid var(--line);
}
.listbar button {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 0; font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.listbar button + button { border-left: 1px solid var(--line); }
.page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 20px 12px 40px; }
.page-body { max-width: 680px; margin: 0 auto; padding: 30px 20px 50px; }
.page-body h2 { font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; padding: 20px 0 8px; }
.page-body p { font-size: 14px; line-height: 1.7; color: rgba(29, 27, 23, 0.8); padding-bottom: 10px; }
.page-body .note {
    background: var(--panel); border: 1px dashed rgba(29, 27, 23, 0.35); border-radius: 4px;
    padding: 14px 16px; font-size: 12.5px; color: var(--muted);
}
.tagchip {
    display: inline-block; margin-top: 12px;
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800;
    background: var(--blue); color: #FFFFFF; padding: 4px 12px; border-radius: 999px;
}
.empty-state { text-align: center; padding: 80px 20px 100px; }
.empty-state h1 { font-size: clamp(26px, 7vw, 40px); font-weight: 900; text-transform: uppercase; }
.empty-state p { padding: 12px 0 22px; font-size: 14px; color: var(--muted); }

/* ---------------- auth popup (demo UI, same as approved flow) ---------------- */
.auth[hidden] { display: none; }
.auth {
    position: fixed; inset: 0; z-index: 90;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(29, 27, 23, 0.5);
}
.auth-card {
    position: relative;
    width: min(100%, 360px);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 24px 20px 18px;
    box-shadow: 0 44px 80px -30px rgba(29, 27, 23, 0.6);
}
.auth-card > img { display: block; height: 30px; width: auto; margin: 0 auto 14px; }
.auth-close { position: absolute; top: 8px; right: 8px; }
.auth-tabs { display: flex; gap: 4px; background: var(--panel); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.auth-tabs button { flex: 1; padding: 9px 0; border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.auth-tabs button.is-on { background: var(--ink); color: #F5F1E8; }
.auth-field { margin-bottom: 10px; text-align: left; }
.auth-field label { display: block; padding: 0 2px 6px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.auth-field input { width: 100%; padding: 12px 14px; font: inherit; font-size: 14px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 4px; }
.auth-field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.auth-go {
    width: 100%; margin-top: 4px; padding: 13px 0;
    background: var(--blue); color: #FFFFFF;
    border-radius: 4px;
    font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.auth-legal { margin-top: 12px; font-size: 11px; color: var(--muted); text-align: center; }
.auth-legal a { text-decoration: underline; font-weight: 700; }
.auth-note { margin-top: 10px; font-size: 10.5px; line-height: 1.55; color: var(--muted); text-align: center; }

/* ---------------- tablet / desktop ---------------- */
@media (min-width: 720px) {
    .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .prod-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
    .reel { flex: 0 0 19%; }
    .edit { grid-template-columns: 1.15fr 1fr; align-items: stretch; }
    .edit-body { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
    .edit-media { min-height: 420px; }
    .news-form { flex-direction: row; }
    .news-form input { flex: 1; text-align: left; }
    .foot-cols { grid-template-columns: repeat(4, 1fr); }
    .page-grid { grid-template-columns: repeat(4, 1fr); gap: 22px 18px; padding: 26px 40px 50px; }
}
@media (min-width: 960px) {
    .hd { padding: 16px 40px; gap: 26px; }
    .hd-logo img { height: 30px; }
    .hd-nav { display: flex; }
    .hd-burger { display: none; }
    .sec { padding: 72px 40px 12px; }
    .hero-content { padding: 60px 48px 70px; }
    .foot { padding: 56px 40px 40px; }
    .listbar { top: 71px; }
}
