:root {
    --ink: #f3efe6;
    --mute: #8f8a82;
    --line: #2c2c2c;
    --bg: #0c0c0c;
    --signal: #ff4d1c;
    --paper: #f3efe6;
    --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --text: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--text);
    font-size: 18px;
}

a { color: inherit; }

button, input { font: inherit; color: inherit; }

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--line);
}

.brand {
    order: 1;
    margin-right: auto;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 34px;
    letter-spacing: 0.12em;
    line-height: 1;
}

.brand span { color: var(--signal); }

.find {
    order: 3;
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.find input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #4a4a4a;
    padding: 8px 0;
    outline: none;
}

.find input::placeholder { color: #6d6962; }

.find button,
.range button {
    background: transparent;
    border: 0;
    color: var(--signal);
    cursor: pointer;
    padding: 8px 0;
}

.ask {
    order: 2;
    background: var(--signal);
    color: #140700;
    text-decoration: none;
    padding: 8px 12px;
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 20px;
}

.strip, .tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
}

.strip { border-bottom: 1px solid var(--line); }

.strip a, .sort a {
    text-decoration: none;
    color: var(--mute);
    border: 1px solid var(--line);
    padding: 5px 9px;
    font-family: var(--display);
    letter-spacing: 0.06em;
    font-size: 16px;
}

.strip a.on, .sort a.on {
    background: var(--paper);
    color: #111;
    border-color: var(--paper);
}

.gap { flex-basis: 12px; }

.tools { justify-content: space-between; }

.count {
    margin: 0;
    font-family: var(--display);
    font-size: 42px;
    line-height: 0.9;
    font-weight: 700;
}

.count span {
    margin-left: 8px;
    color: var(--mute);
    font-size: 18px;
    letter-spacing: 0.08em;
}

.sort { margin: 0; display: flex; gap: 6px; }

.range { display: flex; align-items: center; gap: 10px; }

.range input {
    width: 92px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #4a4a4a;
    padding: 6px 0;
    outline: none;
}

.wall { padding: 0 20px 56px; }

.band {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px 14px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
    animation: rise 420ms ease both;
}

.band:nth-child(2) { animation-delay: 40ms; }
.band:nth-child(3) { animation-delay: 80ms; }
.band:nth-child(4) { animation-delay: 120ms; }
.band:nth-child(5) { animation-delay: 160ms; }
.band:nth-child(6) { animation-delay: 200ms; }

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.shot {
    grid-row: span 2;
    width: 92px;
    height: 92px;
    object-fit: cover;
    display: block;
}

.copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.copy small { color: var(--mute); letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--display); font-size: 14px; }
.copy strong { font-weight: 560; font-size: 22px; line-height: 1.15; }
.copy em { font-style: normal; color: var(--mute); font-size: 16px; }

.price, .giant {
    font-family: var(--display);
    font-weight: 700;
    color: var(--signal);
    letter-spacing: -0.03em;
    line-height: 0.85;
}

.price { font-size: 40px; }
.price small, .giant small { margin-left: 6px; font-size: 0.42em; letter-spacing: 0.08em; }

.band:hover .shot { outline: 2px solid var(--signal); outline-offset: 2px; }

.gallery {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    margin: 16px 0 8px;
}

.gallery img { width: 100%; height: 120px; object-fit: cover; display: block; }
.gallery img:first-child { grid-row: span 2; height: 248px; }

.empty { color: var(--mute); padding: 28px 0; }

.sheet { padding: 22px 20px 72px; max-width: 920px; }

.back { color: var(--mute); }

.where {
    margin: 22px 0 0;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--display);
    color: var(--mute);
}

.giant { margin: 8px 0 12px; font-size: clamp(64px, 18vw, 120px); }

.sheet h1 {
    margin: 0;
    font-weight: 560;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.05;
}

.lead { max-width: 34em; font-size: 22px; line-height: 1.35; }

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 8px 0 22px;
    border-top: 1px solid var(--line);
}

.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mute); font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; }
.facts dd { margin: 2px 0 0; font-family: var(--display); font-size: 28px; font-weight: 700; }

.ask.wide { display: inline-block; font-size: 26px; padding: 12px 16px; }

@media (min-width: 880px) {
    .find { order: 2; flex: 1 1 280px; }
    .ask { order: 3; }
    .band { grid-template-columns: 140px minmax(0, 1fr) auto; }
    .shot { grid-row: auto; width: 140px; height: 96px; }
    .gallery img:first-child { height: 320px; }
    .gallery img { height: 156px; }
    .facts { grid-template-columns: repeat(3, 1fr); }
}
