:root {
  --ink: #090909;
  --ink-2: #11110f;
  --bone: #f2eddf;
  --paper: #d8d2c3;
  --red: #ff3b30;
  --blue: #2247ff;
  --acid: #d7ff3f;
  --line: rgba(242, 237, 223, .22);
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--sans); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; background: var(--acid); color: var(--ink); padding: .75rem 1rem; font-weight: 900; }
.skip-link:focus { top: 1rem; }
.announcement { min-height: 34px; padding: .55rem 2vw; display: flex; justify-content: center; gap: 2rem; background: var(--acid); color: var(--ink); font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; overflow: hidden; white-space: nowrap; }
.site-header { height: 94px; padding: 0 3vw; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 2rem; border-bottom: 1px solid var(--line); background: rgba(9,9,9,.94); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(12px); }
.brand img { width: 165px; max-height: 78px; object-fit: contain; }
.site-nav { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 3.2rem); }
.site-nav a, .site-footer a { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 800; }
.site-nav a:hover, .site-nav a:focus-visible, .site-footer a:hover { color: var(--acid); }
.bag-button, .menu-toggle { border: 1px solid var(--bone); color: var(--bone); background: transparent; padding: .7rem .85rem; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 900; cursor: pointer; }
.bag-count { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; margin-left: .45rem; background: var(--red); color: white; }
.menu-toggle { display: none; }

.hero { min-height: calc(100vh - 128px); display: grid; grid-template-columns: 48% 52%; border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(4rem, 8vw, 8rem) 4vw 5rem; display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 10% 10%, rgba(34,71,255,.18), transparent 35%); }
.eyebrow { margin: 0 0 1rem; color: var(--acid); font-size: .7rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.hero h1, .section-heading h2, .story h2, .newsletter h2, .product-detail h1, .admin-lock h1 { margin: 0; text-transform: uppercase; font-weight: 950; letter-spacing: -.075em; line-height: .82; }
.hero h1 { font-size: clamp(4.5rem, 10vw, 10rem); }
.hero h1 em { color: var(--red); font-style: normal; -webkit-text-stroke: 2px var(--bone); text-shadow: 8px 8px 0 var(--blue); }
.hero-intro { max-width: 560px; margin: 2.4rem 0; color: var(--paper); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.6rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.25rem; border: 2px solid var(--bone); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-weight: 950; font-size: .75rem; cursor: pointer; }
.button-primary { background: var(--bone); color: var(--ink); box-shadow: 6px 6px 0 var(--red); }
.button-primary:hover:not(:disabled), .button-primary:focus-visible:not(:disabled) { background: var(--acid); transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--blue); }
.button:disabled { opacity: .5; cursor: not-allowed; }
.text-link { font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; text-underline-offset: .35rem; }
.hero-art { margin: 0; min-height: 620px; position: relative; overflow: hidden; border-left: 1px solid var(--line); background: #222; }
.hero-art > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.1); }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9,9,9,.82)); pointer-events: none; }
.hero-art figcaption { position: absolute; z-index: 2; bottom: 2rem; left: 2rem; right: 2rem; display: flex; gap: 1rem; align-items: center; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 900; }
.hero-art figcaption strong { font-size: 2rem; color: var(--acid); }
.hero-sticker { position: absolute; z-index: 3; top: 6%; right: 5%; width: 108px; height: 108px; display: grid; place-items: center; text-align: center; border-radius: 50%; transform: rotate(11deg); background: var(--blue); border: 3px solid var(--bone); box-shadow: 6px 6px 0 var(--ink); font-weight: 950; line-height: .85; font-size: 1.3rem; }

.manifesto { padding: 1rem 3vw; display: flex; gap: 1.5rem; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.manifesto p { white-space: nowrap; font-size: clamp(.8rem, 1.3vw, 1.2rem); font-weight: 950; letter-spacing: .05em; }
.manifesto i { display: block; width: 10px; height: 10px; flex: 0 0 auto; background: var(--red); transform: rotate(45deg); }
.collection { padding: clamp(5rem, 9vw, 9rem) 3vw; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(3.5rem, 7vw, 7rem); }
.section-heading > p { max-width: 470px; color: var(--paper); line-height: 1.55; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 1.2rem; }
.product-grid-featured { grid-template-columns: 1.3fr 1fr 1fr; }
.product-card-wide { grid-row: span 2; }
.product-card[hidden] { display: none; }
.product-image { height: clamp(360px, 42vw, 610px); position: relative; overflow: hidden; display: block; background: #1a1a19; border: 1px solid var(--line); }
.product-card-wide .product-image { height: 100%; min-height: 720px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.product-image:hover img { transform: scale(1.035); filter: contrast(1.08); }
.product-badge { position: absolute; top: 1rem; left: 1rem; background: var(--acid); color: var(--ink); padding: .45rem .6rem; font-size: .65rem; font-weight: 950; text-transform: uppercase; letter-spacing: .1em; }
.product-view { position: absolute; right: 1rem; bottom: 1rem; padding: .55rem .7rem; background: var(--ink); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: .25s ease; }
.product-image:hover .product-view, .product-image:focus-visible .product-view { opacity: 1; transform: none; }
.product-meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.product-meta h3 { margin: 0 0 .35rem; text-transform: uppercase; font-size: 1rem; }
.product-meta p { margin: 0; color: #9d988d; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.product-meta strong { white-space: nowrap; }

.rail-break { min-height: 420px; padding: 5vw; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 5vw; background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.rail-break::before { content: ''; position: absolute; left: 0; right: 0; top: 18%; height: 12px; border-block: 3px solid var(--ink); opacity: .2; }
.rail-sign { padding: 2rem; display: flex; flex-direction: column; position: relative; z-index: 1; background: #154d35; color: white; border: 8px solid #e7e0cb; outline: 3px solid #111; box-shadow: 10px 12px 0 rgba(0,0,0,.25); transform: rotate(-1deg); }
.rail-sign small { letter-spacing: .2em; font-weight: 900; }
.rail-sign strong, .rail-sign span { font-size: clamp(3rem, 7vw, 7rem); line-height: .84; letter-spacing: -.06em; }
.rail-sign span { color: var(--acid); }
.rail-break > p { font-size: clamp(1.2rem, 2.4vw, 2.2rem); font-weight: 800; line-height: 1.25; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter { color: var(--bone); border: 1px solid var(--line); background: transparent; padding: .55rem .8rem; cursor: pointer; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 900; }
.filter.active { background: var(--bone); color: var(--ink); }

.story { display: grid; grid-template-columns: .65fr 1fr .9fr; gap: 4vw; padding: clamp(5rem, 9vw, 9rem) 3vw; align-items: center; border-block: 1px solid var(--line); background: #0e0e0d; }
.story-mark { font-size: clamp(7rem, 16vw, 15rem); font-weight: 950; color: var(--red); letter-spacing: -.4em; transform: rotate(-8deg); }
.story-mark span { color: var(--blue); }
.story h2 { font-size: clamp(3rem, 5vw, 5.7rem); }
.story-copy > p:not(.eyebrow) { color: var(--paper); line-height: 1.65; font-size: 1.02rem; }
.story figure { margin: 0; transform: rotate(2deg); border: 8px solid var(--bone); box-shadow: 12px 12px 0 var(--red); }
.story figure img { aspect-ratio: .8; object-fit: cover; }
.newsletter { padding: clamp(5rem, 9vw, 9rem) 7vw; display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: end; background: var(--blue); }
.newsletter h2 { font-size: clamp(3.2rem, 6vw, 6.6rem); }
.newsletter-form label { display: block; margin-bottom: .8rem; text-transform: uppercase; font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: .7rem; }
.field-row input { min-width: 0; border: 2px solid var(--bone); background: transparent; color: white; padding: 1rem; border-radius: 0; }
.field-row input::placeholder { color: rgba(255,255,255,.62); }
.field-row input:focus { outline: 3px solid var(--acid); outline-offset: 2px; }
.form-note, .form-status { color: rgba(255,255,255,.72); line-height: 1.5; font-size: .75rem; }
.form-status { color: var(--acid); font-weight: 800; }
.site-footer { padding: 3rem 3vw; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.site-footer img { width: 160px; }
.site-footer p { margin: .25rem 0; color: #aaa59a; font-size: .78rem; }
.site-footer nav { display: flex; gap: 1.5rem; }
.operator-note { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--line); }

.bag { position: fixed; z-index: 80; top: 0; right: 0; width: min(440px, 100%); height: 100dvh; padding: 1.5rem; display: flex; flex-direction: column; background: var(--bone); color: var(--ink); transform: translateX(102%); transition: transform .3s ease; }
.bag[aria-hidden="false"] { transform: none; }
.bag-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.bag-header h2 { text-transform: uppercase; font-size: 2rem; }
.bag-close { border: 0; background: none; font-size: 2.5rem; cursor: pointer; }
.bag-empty { margin: auto; text-align: center; }
.bag-empty > span { font-size: 5rem; color: var(--blue); }
.bag-empty h3 { font-size: 1.6rem; text-transform: uppercase; }
.bag-footer { border-top: 1px solid rgba(0,0,0,.3); font-size: .8rem; }
.scrim { position: fixed; z-index: 70; inset: 0; background: rgba(0,0,0,.7); }

.compact-header { position: static; grid-template-columns: 1fr auto; }
.product-detail { min-height: calc(100vh - 94px); display: grid; grid-template-columns: 1.15fr .85fr; }
.product-detail-image { margin: 0; min-height: 760px; position: relative; background: #222; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-image span { position: absolute; left: 2rem; top: 2rem; background: var(--acid); color: var(--ink); padding: .55rem .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 950; }
.product-detail-copy { padding: clamp(3rem, 7vw, 7rem) 6vw; align-self: center; }
.product-detail h1 { font-size: clamp(4rem, 7vw, 7rem); }
.product-price { font-size: 1.5rem; font-weight: 900; }
.product-description { color: var(--paper); font-size: 1.1rem; line-height: 1.65; }
.detail-list { margin: 2rem 0; border-block: 1px solid var(--line); }
.detail-list p { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; margin: 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.detail-list p:last-child { border: 0; }
.detail-list span { color: #9d988d; text-transform: uppercase; letter-spacing: .08em; }
.button-full { width: 100%; }
.notice { grid-column: 1 / -1; margin: 0; padding: .8rem 2rem; background: var(--red); font-weight: 900; text-align: center; }

.admin-page { min-height: 100vh; background: radial-gradient(circle at 70% 10%, rgba(34,71,255,.25), transparent 35%), var(--ink); }
.admin-lock { width: min(850px, calc(100% - 2rem)); min-height: 100vh; margin: 0 auto; padding: 5rem 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.admin-lock > img { width: 250px; margin-bottom: 3rem; }
.admin-lock h1 { font-size: clamp(4rem, 10vw, 8rem); }
.admin-lock > p:not(.eyebrow) { max-width: 680px; color: var(--paper); line-height: 1.6; }
.admin-preview-grid { width: 100%; margin: 2rem 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.admin-preview-grid span { padding: 1.25rem; border: 1px solid var(--line); color: #827e74; text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }
.admin-header { min-height: 82px; padding: 0 3vw; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.admin-header img { width: 150px; height: 70px; object-fit: contain; }
.admin-header div { display: flex; gap: 1.5rem; align-items: center; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.admin-header div span { color: var(--acid); }
.admin-dashboard { width: min(1450px, 94%); margin: 0 auto; padding: 4rem 0 7rem; }
.admin-title { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.admin-title h1 { font-size: clamp(4rem, 9vw, 8rem); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 3rem; }
.admin-stats article { min-height: 145px; padding: 1.3rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); }
.admin-stats span { color: #9d988d; text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; }
.admin-stats strong { font-size: 3.8rem; color: var(--acid); }
.admin-panel { margin-top: 2rem; border: 1px solid var(--line); background: #0d0d0c; }
.admin-panel-heading { padding: 1.4rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; border-bottom: 1px solid var(--line); }
.admin-panel-heading h2 { margin: 0; text-transform: uppercase; font-size: 2rem; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { color: #8e8a80; text-transform: uppercase; letter-spacing: .09em; font-size: .65rem; }
.admin-table td { font-size: .82rem; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: .5rem; border-radius: 50%; background: var(--acid); }
.admin-empty { padding: 3rem 1.4rem; color: #9d988d; }
.admin-empty strong { color: var(--bone); font-size: 1.2rem; }
.admin-tools { margin-top: 2rem; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); }
.admin-tools span { min-height: 90px; padding: 1rem; display: grid; align-items: end; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .09em; font-size: .7rem; color: #817d73; }
.admin-login { width: min(480px, calc(100% - 2rem)); min-height: 100vh; margin: 0 auto; padding: 5rem 0; display: flex; flex-direction: column; justify-content: center; }
.admin-login > img { width: 220px; margin-bottom: 2rem; }
.admin-login h1 { margin: 0; text-transform: uppercase; font-size: clamp(4rem, 12vw, 7rem); line-height: .82; letter-spacing: -.07em; }
.admin-login > p:not(.eyebrow):not(.login-error) { color: #9d988d; }
.admin-login form { margin: 2rem 0; display: grid; gap: .65rem; }
.admin-login label { margin-top: .6rem; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.admin-login input { width: 100%; padding: .9rem; border: 1px solid var(--line); background: #151513; color: var(--bone); }
.admin-login input:focus { outline: 3px solid var(--acid); outline-offset: 2px; }
.login-error { padding: .8rem; background: rgba(255,59,48,.15); border: 1px solid var(--red); }

@media (max-width: 900px) {
  .announcement span:nth-of-type(n+4) { display: none; }
  .site-header { height: 76px; grid-template-columns: 120px 1fr auto; gap: 1rem; }
  .brand img { width: 120px; }
  .menu-toggle { display: block; justify-self: end; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 2rem; flex-direction: column; background: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 610px; }
  .hero-art { min-height: 70vh; border-left: 0; }
  .product-grid, .product-grid-featured { grid-template-columns: repeat(2, 1fr); }
  .product-card-wide { grid-row: auto; }
  .product-card-wide .product-image { min-height: 0; height: clamp(360px, 55vw, 600px); }
  .rail-break, .newsletter { grid-template-columns: 1fr; }
  .story { grid-template-columns: .5fr 1fr; }
  .story figure { grid-column: 1 / -1; width: min(520px, 80%); justify-self: center; }
  .site-footer { grid-template-columns: 140px 1fr; }
  .site-footer nav { grid-column: 1 / -1; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-image { min-height: 70vh; }
}

@media (max-width: 580px) {
  .announcement { justify-content: flex-start; }
  .site-header { padding-inline: 1rem; grid-template-columns: 1fr auto auto; }
  .bag-button { padding: .55rem; font-size: 0; }
  .bag-count { margin: 0; font-size: .7rem; }
  .hero-copy { padding: 4rem 1.2rem; min-height: 560px; }
  .hero h1 { font-size: clamp(4.2rem, 24vw, 7rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .manifesto { justify-content: flex-start; }
  .manifesto p:nth-of-type(n+2), .manifesto i:nth-of-type(n+2) { display: none; }
  .collection { padding-inline: 1rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
  .product-grid, .product-grid-featured { grid-template-columns: 1fr; }
  .product-image, .product-card-wide .product-image { height: 125vw; max-height: 650px; }
  .rail-break { padding: 5rem 1rem; }
  .rail-sign { padding: 1rem; border-width: 5px; }
  .story { padding-inline: 1rem; grid-template-columns: 1fr; }
  .story-mark { font-size: 9rem; }
  .newsletter { padding-inline: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; padding-inline: 1rem; }
  .site-footer nav { grid-column: auto; flex-wrap: wrap; }
  .compact-header { grid-template-columns: 1fr auto; }
  .product-detail-image { min-height: 62vh; }
  .product-detail-copy { padding: 4rem 1rem; }
  .product-detail h1 { font-size: 3.8rem; }
  .admin-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-tools { grid-template-columns: repeat(2, 1fr); }
  .admin-title, .admin-panel-heading { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
