/* Long Nose People — heritage knitwear with a wink.
   Layout: centred 1240px wrap, white product tiles on bone, navy + gold from the neck label. */
:root {
  --navy: #1E2A3E;
  --label-navy: #1B2638;
  --gold: #D2A949;
  --cream: #ECE3CC;
  --bone: #F6F3EC;
  --ink: #1E2A3E;
  --muted: #5E636B;
  --line: #DDD6C8;
  --white: #FFFFFF;
  --display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
p { margin: 0; }
.eyebrow { font: 500 12px/1 var(--body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow-gold { color: var(--gold); }
.lede { font-size: 18px; color: var(--muted); max-width: 60ch; margin-top: 16px; }
.muted { color: var(--muted); }
.selectable { user-select: all; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px;
  background: var(--navy); color: var(--cream);
  border: 1px solid var(--navy); border-radius: 0;
  font: 500 13px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--label-navy); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-cream:hover { background: var(--white); }
.btn-wide { width: 100%; }
.link-arrow { font: 500 13px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

/* Announcement + header */
.announce { background: var(--navy); color: var(--cream); text-align: center; font: 400 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; padding: 11px 16px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(246, 243, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav-right { justify-content: flex-end; }
.nav a, .bag-btn { font: 500 12px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 10px 0; }
.nav a.is-active { border-bottom: 1px solid var(--gold); }
.bag-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; border-radius: 11px; background: var(--navy); color: var(--cream); font-size: 11px; letter-spacing: 0; padding: 0 6px; }
.wordmark { display: flex; flex-direction: column; align-items: center; text-decoration: none; font-family: var(--display); font-weight: 600; line-height: .92; letter-spacing: 0.16em; text-transform: uppercase; }
.wordmark span:first-child { font-size: 22px; }
.wordmark span:last-child { font-family: var(--body); font-weight: 500; font-size: 10px; letter-spacing: 0.6em; margin-top: 6px; padding-left: .6em; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 12px 10px; }
.menu-btn span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; }
.mobile-nav { border-top: 1px solid var(--line); padding: 8px var(--gutter) 16px; display: flex; flex-direction: column; }
.mobile-nav a { padding: 14px 0; text-decoration: none; font: 500 13px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; border-bottom: 1px solid var(--line); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; background: var(--bone); border-bottom: 1px solid var(--line); }
.hero img { width: 100%; height: clamp(420px, 52vw, 720px); object-fit: cover; object-position: 50% 40%; background: var(--white); order: 2; }
.hero-copy { padding: clamp(32px, 5vw, 72px) var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); min-width: 0; }
.hero-copy h1 { color: var(--navy); font-size: clamp(40px, 5vw, 76px); }
.hero-sub { font-size: 18px; margin-top: 18px; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Grid + cards */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; }
.card-img { background: var(--white); aspect-ratio: 900 / 1073; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.1; }
.card-sub { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.card-price { font: 500 14px/1 var(--body); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.card-dots { display: flex; gap: 6px; margin-top: 8px; }
.card-dots i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }

/* Bands */
.band-navy { background: var(--label-navy); color: var(--cream); }
.band-navy h2 { color: var(--cream); }
.band-cream { background: var(--cream); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.split > img { width: 100%; aspect-ratio: 1148 / 600; object-fit: cover; }
.split-copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; min-width: 0; }
.split-copy p { max-width: 48ch; font-size: 17px; }
.band-navy .split-copy p { color: #CFD3DA; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); }
.fact { display: flex; flex-direction: column; gap: 8px; }
.fact-n { font-family: var(--display); font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--navy); }
.fact-l { font-size: 14px; color: var(--muted); max-width: 22ch; }

/* Shop */
.page-head { margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); background: transparent; font: 500 12px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.chip span { color: var(--muted); margin-left: 6px; }
.chip[aria-selected="true"] { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.chip[aria-selected="true"] span { color: var(--gold); }

/* Product */
.back { display: inline-block; margin-bottom: 28px; font: 500 12px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.back::before { content: "← "; }
.product { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery-main { background: var(--white); aspect-ratio: 900 / 1073; display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumb { width: 84px; height: 100px; padding: 0; border: 1px solid var(--line); background: var(--white); cursor: pointer; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.p-info { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.p-info .eyebrow { margin-bottom: -8px; }
.price { font: 500 20px/1 var(--body); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.p-desc { color: var(--muted); font-size: 17px; max-width: 46ch; }
.opt { display: flex; flex-direction: column; gap: 12px; }
.opt-label { font: 500 12px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; }
.opt-label strong { font-weight: 500; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); cursor: pointer; padding: 0; position: relative; }
.swatch.is-on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--gold); }
.sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.size { min-height: 48px; border: 1px solid var(--line); background: var(--white); font: 500 13px/1 var(--body); letter-spacing: 0.1em; cursor: pointer; color: var(--ink); }
.size.is-on { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.size-guide { font-size: 13px; color: var(--muted); align-self: flex-start; }
.form-msg { font-size: 14px; color: var(--navy); min-height: 1.2em; }
.form-msg.is-error { color: #9B2C1F; }
.details { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.details li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 12px; }
.details li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--gold); }

/* Story */
.story { max-width: 820px; }
.story h1 { font-size: clamp(44px, 7vw, 84px); }
.story-body { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.4; }
.story-logo { background: var(--white); padding: clamp(32px, 6vw, 80px) var(--gutter); }
.story-logo img { max-width: 1100px; margin: 0 auto; width: 100%; }
.label-img { width: 220px; margin-top: 8px; box-shadow: 0 8px 24px rgba(30, 42, 62, .18); }

/* Launch */
.launch-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.launch-inner p { margin-top: 12px; color: var(--muted); }
.launch-inner .eyebrow { margin: 0 0 14px; }
.signup { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.signup input { min-height: 48px; padding: 0 16px; border: 1px solid var(--navy); background: var(--white); font: 400 16px var(--body); color: var(--ink); min-width: 0; }
.signup .form-msg { grid-column: 1 / -1; }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 28px; }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
th { font: 500 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Footer */
.site-footer { background: var(--label-navy); color: var(--cream); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid a, .footer-grid p { display: block; font-size: 14px; color: #CFD3DA; text-decoration: none; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.wordmark-foot { align-items: flex-start; color: var(--cream); margin-bottom: 18px; }
.foot-h { font: 500 12px/1 var(--body) !important; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 18px !important; }
.foot-base { border-top: 1px solid rgba(236, 227, 204, .18); margin-top: 48px; padding-block: 22px; font-size: 12px; letter-spacing: 0.12em; color: #9AA1AC; }

/* Bag drawer */
.scrim { position: fixed; inset: 0; background: rgba(20, 26, 38, .45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bone); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.close { background: none; border: 0; font: 500 12px/1 var(--body); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; min-height: 44px; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.empty { padding: 48px 0; text-align: center; color: var(--muted); }
.line-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img { width: 80px; height: 96px; object-fit: cover; background: var(--white); }
.li-name { font-family: var(--display); font-size: 20px; line-height: 1.1; }
.li-meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 12px; }
.qty button { width: 36px; height: 36px; background: none; border: 0; cursor: pointer; font-size: 16px; color: var(--ink); }
.qty span { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.li-right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; font-variant-numeric: tabular-nums; }
.remove { background: none; border: 0; font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px 0; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.subtotal { display: flex; justify-content: space-between; font: 500 14px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
.subtotal strong { font-size: 18px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-left { display: none; }
  .nav-right a { display: none; }
  .header-row { min-height: 64px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .product, .launch-inner, .footer-grid { grid-template-columns: 1fr; }
  .p-info { position: static; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero img { order: 0; height: 100vw; max-height: 560px; }
  .hero-copy { padding: 32px var(--gutter) 40px; }
  .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .signup { grid-template-columns: 1fr; }
  .card-row { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* SEO multi-page additions */
.crumbs { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--ink); }
.card h3.card-name { margin: 0; }
.card p.card-sub, .card p.card-price { margin: 0; }
.shop-group { margin-bottom: clamp(48px, 6vw, 80px); }
.group-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
.shop-group[hidden] { display: none !important; }
a.swatch { display: inline-block; }
.story-body p + p { margin-top: 0; }
.size[data-size="One size"] { grid-column: span 2; padding: 0 18px; white-space: nowrap; }

.nav a, .bag-btn { white-space: nowrap; }
.nav { gap: 24px; }
@media (max-width: 1180px) { .nav { gap: 16px; } .nav a, .bag-btn { letter-spacing: 0.14em; font-size: 11px; } }

@media (max-width: 1120px) { .menu-btn { display: block; } .nav-left { display: none; } .nav-right a { display: none; } }
