/* 22/8 — storefront styles */
:root {
  --ink: #0b0b0b; --paper: #fff; --muted: #767676; --line: #e6e6e6; --soft: #f5f4f2; --accent: #8a5a3b;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1440px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 14px; line-height: 1.5; letter-spacing: .01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.upper { text-transform: uppercase; letter-spacing: .12em; }
.muted { color: var(--muted); }

/* announcement + header */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; }
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; }
.nav { display: flex; gap: 26px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.nav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.on { border-color: var(--ink); }
.logo { font-weight: 700; font-size: 30px; letter-spacing: .06em; line-height: 1; }
.logo span { font-weight: 300; }
.tools { display: flex; justify-content: flex-end; gap: 22px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; align-items: center; }
.tools button { background: none; border: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; font-size: inherit; }
.burger { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }
.search-row { display: none; border-top: 1px solid var(--line); padding: 14px 0; }
.search-row.open { display: block; }
.search-row form { display: flex; gap: 12px; }
.search-row input { flex: 1; border: 0; border-bottom: 1px solid var(--ink); padding: 8px 0; outline: none; font-size: 16px; }

/* hero */
.hero { position: relative; height: calc(100vh - 104px); min-height: 520px; overflow: hidden; background: #111; color: #fff; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; }
.hero h1 { font-size: clamp(38px, 7vw, 110px); font-weight: 700; letter-spacing: .02em; line-height: .95; text-transform: uppercase; }
.hero p { margin: 16px 0 26px; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.btn { display: inline-block; padding: 14px 34px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: .2s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* sections */
section.block { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; }
.section-head h2 { font-size: 22px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section-head a { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.tile { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--soft); color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 22px; bottom: 22px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--soft); }
.split .img { background: #222; }
.split .img img { width: 100%; height: 100%; object-fit: cover; }
.split .txt { display: flex; flex-direction: column; justify-content: center; padding: 64px; gap: 18px; }
.split h2 { font-size: clamp(30px, 4vw, 56px); line-height: 1; text-transform: uppercase; }
.split p { max-width: 460px; color: #333; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 16px; }
.card .ph { position: relative; aspect-ratio: 3/4; background: var(--soft); overflow: hidden; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.card .ph img.alt { opacity: 0; }
.card:hover .ph img.alt { opacity: 1; }
.card .badge { position: absolute; top: 12px; left: 12px; background: #fff; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; z-index: 1; }
.card .meta { padding-top: 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.card .meta .sub { color: var(--muted); text-transform: none; letter-spacing: 0; }

/* shop page */
.page-title { padding: 48px 0 24px; }
.page-title h1 { font-size: 34px; text-transform: uppercase; letter-spacing: .06em; }
.filters { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); padding: 7px 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; background: #fff; }
.chip.on, .chip:hover { border-color: var(--ink); }
select.sort { border: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: none; cursor: pointer; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; padding: 32px 0 80px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--soft); }
.buy { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 22px; }
.buy h1 { font-size: 22px; text-transform: uppercase; letter-spacing: .08em; }
.buy .price { font-size: 18px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.size { border: 1px solid var(--line); background: #fff; padding: 12px 0; cursor: pointer; font-size: 12px; }
.size.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.size:disabled { color: #bbb; text-decoration: line-through; cursor: not-allowed; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
details summary::after { content: '+'; }
details[open] summary::after { content: '–'; }
details > div { padding-top: 12px; color: #333; }
.specs { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; font-size: 13px; }
.specs dt { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; padding-top: 2px; }

/* cart / checkout */
.cart-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-row img { width: 110px; aspect-ratio: 3/4; object-fit: cover; background: var(--soft); }
.qty { display: inline-flex; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 32px; height: 32px; background: none; border: 0; cursor: pointer; }
.qty span { width: 32px; display: grid; place-items: center; }
.link { background: none; border: 0; border-bottom: 1px solid; cursor: pointer; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-top: 10px; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; padding-bottom: 80px; }
.summary { background: var(--soft); padding: 28px; align-self: start; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 12px; }
.summary .row { display: flex; justify-content: space-between; }
.summary .total { border-top: 1px solid #d8d8d8; padding-top: 12px; font-weight: 700; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #cfcfcf; padding: 12px; background: #fff; outline: none; }
.field input:focus { border-color: var(--ink); }
.form h3 { grid-column: 1 / -1; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-top: 12px; }
.notice { padding: 12px 14px; background: #fff4e5; border: 1px solid #f1d3a6; font-size: 13px; }
.error { color: #b00020; font-size: 13px; }
.empty { padding: 80px 0; text-align: center; }

/* jacket passport / timeline */
.timeline { list-style: none; border-left: 1px solid var(--ink); margin: 10px 0 0 6px; }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px; background: #fff; border: 1px solid var(--ink); border-radius: 50%; }
.timeline li:last-child::before { background: var(--ink); }
.timeline b { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.timeline .when { color: var(--muted); font-size: 12px; }
.code-tag { display: inline-block; border: 1px solid var(--ink); padding: 4px 10px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .08em; }
.track-box { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px 0 80px; }
.track-box form { display: flex; gap: 8px; margin-top: 24px; }
.track-box input { flex: 1; border: 1px solid var(--ink); padding: 12px; text-transform: uppercase; }

/* drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .25s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer header { display: flex; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.drawer header button { background: none; border: 0; font-size: 20px; cursor: pointer; }
.drawer .items { flex: 1; overflow: auto; padding: 0 24px; }
.drawer .foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer .cart-row { grid-template-columns: 80px 1fr auto; }
.drawer .cart-row img { width: 80px; }

/* mobile menu */
.mnav { display: none; }

/* footer */
footer.site { background: var(--ink); color: #ddd; padding: 64px 0 28px; margin-top: 40px; }
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 8px; font-size: 13px; }
footer a:hover { color: #fff; }
.news { display: flex; border-bottom: 1px solid #555; margin-top: 12px; max-width: 380px; }
.news input { flex: 1; background: none; border: 0; padding: 10px 0; color: #fff; outline: none; }
.news button { background: none; border: 0; color: #fff; letter-spacing: .14em; font-size: 11px; text-transform: uppercase; cursor: pointer; }
.fbottom { display: flex; justify-content: space-between; border-top: 1px solid #2a2a2a; margin-top: 48px; padding-top: 20px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #888; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 22px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: .3s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .mnav.open { display: grid; gap: 14px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
}
@media (max-width: 1000px) {
  .grid, .tiles { grid-template-columns: repeat(2, 1fr); }
  .pdp, .two, .split { grid-template-columns: 1fr; }
  .split .img { aspect-ratio: 4/5; }
  .split .txt { padding: 40px 24px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .buy, .summary { position: static; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .tools .hide-m { display: none; }
  .logo { font-size: 24px; }
  .bar { height: 58px; }
  .gallery { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .grid { gap: 28px 10px; }
  .hero { height: 78vh; }
  .mnav.open { display: grid; gap: 14px; padding: 18px 0 22px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
  .fbottom { flex-direction: column; gap: 8px; }
  .cart-row { grid-template-columns: 84px 1fr; }
  .cart-row > :last-child { grid-column: 2; }
  .cart-row img { width: 84px; }
}

/* =========================================================
   v2 — clean editorial e-commerce layout
   (contained 1180px page, left logo + inline nav, grey product tiles)
   ========================================================= */
:root { --wrap: 1200px; --tile: #efeff0; --muted: #8a8a8a; }
body { font-size: 13px; font-weight: 400; }
.wrap { padding: 0 20px; }

/* announcement bar with arrows */
.announce { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px; font-size: 10.5px; letter-spacing: .04em; text-transform: none; }
.announce button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 14px; padding: 0 6px; line-height: 1; }
.announce span { flex: 1; text-align: center; }

/* header: logo left, nav inline, icons right */
header.site { border-bottom: 0; background: #fff; }
.bar { display: flex; gap: 26px; height: 58px; }
.bar .logo { order: 0; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.bar .logo span { font-weight: 800; }
.bar > div:first-child { order: 1; flex: 1; display: flex; align-items: center; }
.bar .tools { order: 2; gap: 16px; }
.nav { gap: 16px; font-size: 12px; letter-spacing: .02em; }
.nav a { border: 0; padding: 0; }
.nav a:hover, .nav a.on { text-decoration: underline; text-underline-offset: 4px; }
.tools .ico { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; position: relative; }
.tools .ico svg { width: 17px; height: 17px; }
.tools .count { position: absolute; top: -6px; right: -9px; background: var(--ink); color: #fff; font-size: 9px; min-width: 15px; height: 15px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; letter-spacing: 0; }

/* contained hero with caption bar */
.hero { max-width: 1180px; margin: 0 auto; height: auto; min-height: 0; aspect-ratio: 16 / 8; background: #111; }
.hero .copy { bottom: 0; padding: 70px 20px 16px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.hero h1 { font-size: 15px; font-weight: 700; letter-spacing: .01em; text-transform: none; line-height: 1.3; }
.hero p { margin: 6px 0 0; font-size: 11px; letter-spacing: .02em; text-transform: none; }
.hero p a { text-decoration: underline; text-underline-offset: 3px; }

/* centered section titles */
.s-title { text-align: center; padding: 36px 20px 0; }
.s-title h2 { font-size: 30px; font-weight: 400; letter-spacing: -.01em; text-transform: uppercase; }
.s-title p { max-width: 820px; margin: 12px auto 0; font-size: 12px; line-height: 1.5; color: #333; }
.cta { display: block; width: max-content; margin: 34px auto 0; font-size: 15px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; letter-spacing: .02em; }
section.block { padding: 30px 0 46px; }

/* product grid: grey tiles, centered caption */
.grid { gap: 40px 12px; }
.card .ph { background: var(--tile); }
.card .ph img { object-fit: cover; }
.card .badge { background: transparent; padding: 0; font-size: 10px; letter-spacing: .06em; }
.card .meta { display: block; text-align: center; padding-top: 12px; font-size: 11px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.card .meta > div:first-child { font-weight: 700; }
.card .meta .sub { display: none; }
.card .meta > div:last-child { color: var(--muted); font-weight: 400; margin-top: 2px; }
.card.editorial .ph { aspect-ratio: 3/4; }

/* grey promo block with small black buttons */
.promo { max-width: 810px; margin: 20px auto 40px; background: var(--tile); padding: 66px 20px; text-align: center; }
.promo h3 { font-size: 20px; font-weight: 400; text-transform: uppercase; }
.promo p { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; margin: 10px 0 22px; }
.promo .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn.sm { padding: 9px 0; width: 74px; font-size: 10.5px; letter-spacing: .02em; text-transform: none; font-weight: 700; border-radius: 2px; text-align: center; }

/* editorial banner with label box */
.banner { position: relative; max-width: 1180px; margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; background: #222; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner .label { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: #111; color: #f3e3b0; padding: 14px 26px 10px; font-size: clamp(22px, 4vw, 54px); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.banner-cap { text-align: center; padding: 18px 20px 0; }
.banner-cap a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }

/* tiles */
.tiles { max-width: 1180px; margin: 0 auto; gap: 12px; padding: 0 20px; }
.tile span { left: 0; right: 0; bottom: 14px; text-align: center; font-size: 12px; letter-spacing: .04em; }

/* back to top */
.totop { position: fixed; right: 24px; bottom: 24px; width: 38px; height: 38px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 8px; font-weight: 700; text-transform: uppercase; cursor: pointer; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s; line-height: 1.1; }
.totop.show { opacity: 1; pointer-events: auto; }

/* light footer */
footer.site { background: #fff; color: #333; border-top: 1px solid var(--line); }
footer.site h4 { color: var(--ink); }
footer.site a:hover { color: var(--ink); text-decoration: underline; }
footer.site .logo { color: var(--ink) !important; font-weight: 800; }
footer.site .logo span { font-weight: 800; }
footer.site p { color: #666 !important; }
.news { border-color: #bbb; }
.news input, .news button { color: var(--ink); }
.fbottom { border-color: var(--line); color: #888; }

/* pages */
.page-title { text-align: center; padding: 36px 0 18px; }
.page-title h1 { font-size: 30px; font-weight: 400; letter-spacing: -.01em; }
.page-title p { margin-left: auto; margin-right: auto; }
.filters { justify-content: center; border: 0; }
.chip { border: 0; padding: 4px 8px; font-size: 11px; letter-spacing: .02em; }
.chip.on, .chip:hover { text-decoration: underline; text-underline-offset: 4px; }
.gallery img { background: var(--tile); }
.buy h1 { font-size: 18px; letter-spacing: 0; font-weight: 700; text-transform: none; }

@media (max-width: 1100px) {
  .bar > div:first-child { order: -1; flex: 0; }
  .bar .logo { flex: 1; text-align: center; }
}
@media (max-width: 760px) {
  .hero { aspect-ratio: 4 / 5; }
  .s-title h2 { font-size: 22px; }
  .banner { aspect-ratio: 4 / 5; }
  .banner .label { font-size: 26px; padding: 10px 16px 8px; }
  .tiles { padding: 0 16px; gap: 8px; }
}

/* =========================================================
   v3 — full-screen desktop layout (edge to edge)
   ========================================================= */
:root { --wrap: 100%; --gutter: clamp(16px, 2.2vw, 40px); }
.wrap { max-width: none; padding: 0 var(--gutter); }
.bar { height: 64px; }
.bar .logo { font-size: 32px; }
.nav { font-size: 13px; gap: 22px; }

/* hero fills the first screen */
.hero { max-width: none; width: 100%; aspect-ratio: auto; height: calc(100vh - 92px); min-height: 560px; }
.hero .copy { padding: 120px var(--gutter) 36px; }
.hero h1 { font-size: clamp(28px, 3.4vw, 56px); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.hero p { font-size: 13px; margin-top: 10px; }

/* full-width banner and tiles */
.banner { max-width: none; width: 100%; aspect-ratio: auto; height: calc(100vh - 92px); min-height: 520px; }
.tiles { max-width: none; padding: 0 var(--gutter); gap: 10px; }
.tile { aspect-ratio: 3 / 4.2; }

/* wider grids, bigger titles */
.grid { gap: 44px 10px; }
.s-title h2 { font-size: clamp(28px, 2.6vw, 44px); }
.s-title p { font-size: 13px; }
.promo { max-width: none; margin: 30px var(--gutter) 50px; padding: 90px 20px; }
.promo h3 { font-size: clamp(22px, 2vw, 32px); }
.pdp { gap: 40px; }

@media (min-width: 1600px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .card .meta { font-size: 12.5px; }
}
@media (max-width: 760px) {
  .hero { height: 82vh; min-height: 0; }
  .banner { height: 70vh; min-height: 0; }
  .promo { margin: 20px 16px 40px; padding: 56px 16px; }
}
