/*
 * mynewstock's main website (2026-11-26). The page is a wholesale market's notice board: warm paper, deep indigo
 * ink, tall condensed capitals for what matters, and the product's own posts as its pictures. No stock
 * photographs, no label over a heading, no row of matching cards. The brand's pink is kept for the one thing a
 * reader should do; marigold marks a price or a count.
 */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../studio/fonts/barlow-condensed-700-latin.woff2") format("woff2") }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../studio/fonts/barlow-condensed-800-latin.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../studio/fonts/poppins-400-latin.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../studio/fonts/poppins-500-latin.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../studio/fonts/poppins-600-latin.woff2") format("woff2") }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../studio/fonts/poppins-700-latin.woff2") format("woff2") }

:root {
    --paper: #F5F2EA;
    --paper-deep: #ECE7DA;
    --white: #FFFFFF;
    --ink: #17152B;
    --indigo: #2A2766;
    --pink: #E0337A;
    --pink-deep: #C2205F;
    --marigold: #FFB627;
    --muted: #55526B;
    --line: rgba(23, 21, 43, .16);
    --on-dark: #F5F2EA;
    --on-dark-muted: #BDB9D3;
    --wa: #128C7E;
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --edge: clamp(16px, 4vw, 48px);
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 84px }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); overflow-x: clip }
img { display: block; max-width: 100%; height: auto }
h1, h2, h3, p, ul, ol, figure { margin: 0 }
ul, ol { padding: 0; list-style: none }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em }
::selection { background: var(--marigold); color: var(--ink) }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px }
svg { width: 1.15em; height: 1.15em; flex: none }

.wrap { width: min(1240px, 100% - var(--edge) * 2); margin-inline: auto }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--on-dark) }
.skip-link:focus { top: 12px }

/* Headings: tall condensed capitals, set tight, balanced. */
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .94; letter-spacing: -.005em; text-wrap: balance }
h1 { font-size: clamp(3.2rem, 8.2vw, 6rem) }
h2 { font-size: clamp(2.3rem, 5.2vw, 4rem) }
h3 { font: 600 1.15rem/1.3 var(--body) }
p { text-wrap: pretty }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1.5px solid transparent; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .14s var(--ease), background-color .14s, border-color .14s, color .14s }
.button:active { transform: scale(.97) }
.button-large { min-height: 54px; padding: 0 26px; font-size: 16px }
.button-primary { background: var(--pink); color: #fff }
.button-quiet { border-color: var(--ink); color: var(--ink) }
.button-light { background: var(--paper); color: var(--ink) }
@media (hover: hover) and (pointer: fine) {
    .button-primary:hover { background: var(--pink-deep) }
    .button-quiet:hover { background: var(--ink); color: var(--paper) }
    .button-light:hover { background: var(--marigold) }
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(10px) }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px }
.brand img { width: 178px }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto }
.site-nav a { padding: 10px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; text-decoration: none; touch-action: manipulation }
.site-nav .nav-login { margin-left: 8px; color: var(--indigo); font-weight: 600 }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { background: var(--paper-deep) } }
.menu-button { display: none; width: 46px; height: 46px; margin-left: auto; padding: 0; border: 1.5px solid var(--ink); border-radius: 12px; background: none; color: var(--ink); place-items: center; touch-action: manipulation }
.menu-button svg { width: 22px; height: 22px }

/* Hero: the words at the left, the wall of posts at the right, bleeding off the page's edge. */
.hero { overflow: clip; border-bottom: 1px solid var(--line) }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center }
.hero-copy { padding-block: clamp(40px, 7vw, 96px) }
.hero-lede { max-width: 34em; margin-top: 22px; font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: var(--muted) }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }
.hero-note { max-width: 30em; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted) }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; height: min(86svh, 760px); margin-right: calc(var(--edge) * -1); -webkit-mask-image: linear-gradient(#0000, #000 9%, #000 91%, #0000); mask-image: linear-gradient(#0000, #000 9%, #000 91%, #0000) }
.wall-col { overflow: hidden }
.wall-run { display: grid; gap: 14px; animation: drift 62s linear infinite }
.wall-col-2 .wall-run { animation-duration: 78s; animation-direction: reverse }
.wall-col-3 .wall-run { animation-duration: 70s }
.wall-run img { width: 100%; border-radius: 6px; box-shadow: 0 10px 26px rgba(23, 21, 43, .16) }
/* Each run holds its posts twice: moving it up by half of itself (and half a gap) brings it back where it began. */
@keyframes drift { to { transform: translateY(calc(-50% - 7px)) } }
@media (prefers-reduced-motion: reduce) { .wall-run { animation: none } html { scroll-behavior: auto } }

/* Sections */
section { padding-block: clamp(56px, 9vw, 120px) }
.hero { padding-block: 0 }
.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 56px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px) }
.lead p, .split-copy p, .scan-copy > p, .models-copy p { color: var(--muted); max-width: 36em }
.rail-note { margin-top: 22px; font-size: 14px; color: var(--muted) }

/* Posts: the words beside one post drawn twice, then every layout in a rail. */
.posts { background: var(--white) }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center }
.split-copy p { margin-top: 18px }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px) }
.pair img { width: 100%; border-radius: 8px; box-shadow: 0 18px 40px rgba(23, 21, 43, .18) }
.pair figure:last-child { margin-top: clamp(20px, 4vw, 56px) }
.pair figcaption { margin-top: 14px; font-size: 14px; color: var(--muted) }
.pair figcaption strong, .tryon figcaption { display: block; font: 700 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink) }
.rail, .days { display: flex; gap: 14px; margin-top: clamp(36px, 5vw, 64px); margin-inline: calc(var(--edge) * -1); padding: 6px var(--edge) 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--edge); scrollbar-width: thin; scrollbar-color: var(--ink) transparent }
.rail li, .days li { flex: 0 0 clamp(150px, 17vw, 208px); scroll-snap-align: start }
.rail img, .days img { width: 100%; border-radius: 6px; box-shadow: 0 8px 20px rgba(23, 21, 43, .14) }
.rail span { display: block; margin-top: 10px; font-size: 13px; font-weight: 500 }

/* Scan to order: the one dark room of the page. */
.scan { background: var(--ink); color: var(--on-dark) }
.scan-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: center }
.scan-post img { width: 100%; border-radius: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transform: rotate(-2.5deg) }
.scan-copy > p { margin-top: 20px; color: var(--on-dark-muted) }
.chat { max-width: 30em; margin-top: 30px }
.chat-to { font-size: 13px; font-weight: 500; color: var(--on-dark-muted) }
.chat-bubble { position: relative; margin-top: 8px; padding: 14px 18px 16px; border-radius: 4px 18px 18px 18px; background: #E7FFDB; color: #10221C; font-size: 15.5px; line-height: 1.5; box-shadow: 0 10px 24px rgba(0, 0, 0, .3) }
.plain-list { display: grid; gap: 12px; max-width: 36em; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(245, 242, 234, .2) }
.plain-list li { position: relative; padding-left: 22px; font-size: 15px; color: var(--on-dark-muted) }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--marigold) }

/* Planner: ten days in a row, each a post. */
.days li { flex-basis: clamp(170px, 19vw, 230px) }
.day-n { display: block; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); font: 700 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em }

/* Catalogue website: six browser frames, set like a pinned board. */
.website { background: var(--white) }
.sites { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px) }
.site { grid-column: span 2 }
/* Three rows: a wide frame and a narrow one, three narrow ones, a narrow one and a wide one. */
.site-1, .site-7 { grid-column: span 4 }
.site-2 { align-self: end }
.site-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 14px 34px rgba(23, 21, 43, .12) }
.site-frame::before { content: ""; display: block; height: 22px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 14px 11px, var(--line) 4px, #0000 4.5px), radial-gradient(circle at 28px 11px, var(--line) 4px, #0000 4.5px), radial-gradient(circle at 42px 11px, var(--line) 4px, #0000 4.5px), var(--paper-deep) }
.site-frame img { width: 100% }
.site figcaption { margin-top: 10px; font-size: 13.5px; font-weight: 500 }

/* Model photos: the shop's photo and what was made from it. */
.models { background: var(--paper-deep) }
.models-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center }
.models-copy p { margin-top: 18px }
.tryon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); align-items: end }
.tryon img { width: 100%; border-radius: 8px; box-shadow: 0 16px 36px rgba(23, 21, 43, .18) }
.tryon figcaption { margin-top: 12px; font-size: 1.05rem }

/* Pricing */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 2px solid var(--ink) }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 28px clamp(16px, 2.4vw, 32px) 30px; border-bottom: 1px solid var(--line) }
.plan + .plan { border-left: 1px solid var(--line) }
.plan-popular { background: var(--white) }
.plan h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px }
.plan-badge { padding: 4px 10px; border-radius: 999px; background: var(--marigold); font-size: 12px; font-weight: 600 }
.plan-price { font: 800 3.2rem/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums }
.plan-price small { font: 500 14px/1 var(--body); color: var(--muted) }
.plan-for { color: var(--muted); font-size: 14.5px }
.ticks { display: grid; gap: 9px; margin-bottom: auto; font-size: 14.5px }
.ticks li { display: flex; gap: 10px; align-items: flex-start }
.ticks svg { margin-top: .28em; color: var(--wa) }
.plan .button { align-self: flex-start; margin-top: 8px }
.plan-none, .pricing-note { margin-top: 18px; color: var(--muted); font-size: 14px }

/* Questions */
.faq { background: var(--white) }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start }
.faq-list { border-top: 2px solid var(--ink) }
.faq-list details { border-bottom: 1px solid var(--line) }
.faq-list summary { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none; touch-action: manipulation }
.faq-list summary::-webkit-details-marker { display: none }
.faq-list summary::after { content: "+"; flex: none; font: 500 1.4rem/1 var(--body); transition: transform .2s var(--ease) }
.faq-list details[open] summary::after { transform: rotate(45deg) }
.faq-list details p { max-width: 42em; padding-bottom: 20px; color: var(--muted) }

/* Closing and footer */
.closing { background: var(--pink); color: #fff }
.closing-inner { display: grid; gap: 22px; justify-items: start }
.closing h2 { font-size: clamp(2.8rem, 7.4vw, 5.6rem) }
.closing p { max-width: 34em; font-size: 1.05rem }
.site-footer { padding-block: 36px; background: var(--ink); color: var(--on-dark-muted); font-size: 14px }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px }
.footer-brand { display: grid; gap: 8px; margin-right: auto; max-width: 30em }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px }
.footer-links a { padding: 6px 0; color: var(--on-dark) }
.footer-copy { width: 100% }

/* A tablet and a phone */
@media (max-width: 1080px) {
    .site-nav { position: absolute; inset: 72px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--edge) 18px; border-bottom: 1px solid var(--line); background: var(--paper) }
    .site-nav.is-open { display: flex }
    .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px }
    .site-nav .nav-login { margin-left: 0 }
    .header-cta { margin-left: auto }
    .menu-button { display: grid; margin-left: 0 }
}
@media (max-width: 860px) {
    .hero-grid, .split, .scan-grid, .models-grid, .faq-wrap, .lead { grid-template-columns: minmax(0, 1fr) }
    .hero-copy { padding-block: 36px 8px }
    /* The wall turns on its side: two rows sliding past each other. */
    .wall { grid-template-columns: none; grid-template-rows: repeat(2, auto); height: auto; margin: 0 calc(var(--edge) * -1) 36px; -webkit-mask-image: none; mask-image: none }
    .wall-col-3 { display: none }
    .wall-run { display: flex; width: max-content; animation-name: slide; animation-duration: 54s }
    .wall-col-2 .wall-run { animation-duration: 66s }
    .wall-run img { width: 150px }
    .pair figure:last-child { margin-top: 28px }
    .scan-post { max-width: 300px }
    .sites { grid-template-columns: repeat(2, minmax(0, 1fr)) }
    .site, .site-1, .site-7 { grid-column: auto }
    .site-2 { align-self: auto }
    .plan + .plan { border-left: 0 }
}
@keyframes slide { to { transform: translateX(calc(-50% - 7px)) } }
@media (max-width: 560px) {
    .header-cta { display: none }
    .menu-button { margin-left: auto }
    .hero-actions .button { flex: 1 1 100% }
    .sites { grid-template-columns: minmax(0, 1fr) }
    .pair { gap: 10px }
    .pair figcaption { font-size: 13px }
}
