/* 3 Guys and a Dog */
:root {
  --night: #16241C;
  --night-2: #1F3329;
  --night-line: #2E4638;
  --dust: #D9C7A3;
  --dust-2: #CBB68D;
  --dust-3: #E6D9BE;
  --ink: #2A1D13;
  --ink-soft: #5A4532;
  --saddle: #7B4A2B;
  --saddle-dark: #5E3720;
  --red: #E0402F;
  --amber: #F5AB3C;
  --green: #45A85E;
  --blue: #3F74E0;
  --warm: #FFE3A6;

  --display: "Rye", "Rockwell Extra Bold", Georgia, serif;
  --body: "Bitter", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: 2.125rem;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dust);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 50;
  background: var(--amber); color: var(--ink); padding: 8px 14px; text-decoration: none;
}
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: var(--night);
  color: var(--dust);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.brand img { width: 50px; height: 40px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 2px solid var(--dust-2); color: var(--dust);
  border-radius: 999px; padding: 6px 8px 6px 16px; cursor: pointer; font-weight: 600;
}
.cart-btn:hover { background: var(--night-2); }
.cart-count {
  min-width: 28px; height: 28px; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--dust); color: var(--night); font-size: var(--step--1); font-weight: 800;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.25); } }

/* ---------- buttons ---------- */
.btn, .add, .checkout {
  border: 0; cursor: pointer;
  background: var(--red); color: #fff7ea; font-weight: 800; font-size: var(--step-1);
  padding: 15px 20px; border-radius: 6px;
  box-shadow: 0 4px 0 #9b2418;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn { display: inline-block; text-decoration: none; padding: 13px 26px; }
.add, .checkout { width: 100%; }
.btn:hover, .add:hover, .checkout:hover { background: #ea4b39; }
.btn:active, .add:active, .checkout:active { transform: translateY(3px); box-shadow: 0 1px 0 #9b2418; }
.add:disabled, .checkout:disabled { background: #a99a80; box-shadow: none; cursor: not-allowed; transform: none; }

/* ---------- hero (both pages) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 50% -10%, #23392c 0%, transparent 70%),
    var(--night);
  color: var(--dust);
  padding: 0 var(--gutter) clamp(48px, 7vw, 96px);
}
.lights { display: block; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); height: 170px; overflow: visible; }
.lights #wire { fill: none; stroke: #0c1510; stroke-width: 3; }
.bulb { cursor: pointer; }
.bulb .glow { transition: opacity .25s ease; }
.bulb .glass { transition: fill .25s ease; }
.bulb.off .glow { opacity: 0; }
.bulb.off .glass { fill: #3a3a33 !important; }
.bulb:focus-visible { outline: none; }
.bulb:focus-visible .socket { stroke: var(--amber); stroke-width: 2; }
.lights-note {
  position: absolute; left: 50%; top: 128px; transform: translateX(-50%);
  margin: 0; font-style: italic; color: var(--warm); min-height: 1.6em; text-align: center; width: max-content; max-width: 90vw;
}

/* home: brand on the left, the roster (the logo, one post per guy) on the right */
.hero-home .hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.hero-home h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: .98; letter-spacing: .01em;
  color: var(--dust-3);
  text-shadow: 0 0 28px rgba(245, 171, 60, .18), 0 4px 0 #0c1510;
}
.h1-row { display: block; }
.hero-home h1 .amp { font-size: .5em; vertical-align: .32em; color: var(--dust-2); margin-right: .1em; }
.hero-sub { max-width: 38ch; margin: 18px 0 0; font-size: var(--step-1); color: var(--dust); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero-cutoff { margin: 0; color: var(--warm); font-style: italic; }
.hero-cutoff:empty { display: none; }

.roster { justify-self: center; width: min(100%, 400px); }
.roster svg { display: block; width: 100%; height: auto; overflow: visible; }
.roster a { cursor: pointer; }
.roster a:focus-visible { outline: none; }
.roster .guy {
  fill: var(--dust-3);
  transform-box: fill-box; transform-origin: 50% 100%;
  transition: transform .5s var(--ease-out), fill .25s ease;
}
.roster-blue .guy { fill: var(--red); }
.roster text { font-family: var(--body); font-weight: 600; font-size: 6.4px; letter-spacing: .02em; fill: var(--dust-2); text-anchor: middle; transition: fill .25s ease; }
.roster a:hover .guy, .roster a:focus-visible .guy { transform: translateY(-4px); }
.roster a:hover text, .roster a:focus-visible text { fill: var(--warm); }
.roster a:focus-visible .guy { stroke: var(--amber); stroke-width: 1.4; }
.roster-sam:hover .guy, .roster-sam:focus-visible .guy { fill: #D69A62; }
.roster-zane:hover .guy, .roster-zane:focus-visible .guy { fill: #8af59a; }
.roster-nolan:hover .guy, .roster-nolan:focus-visible .guy { fill: #f4efe6; }
.roster-blue:hover .guy, .roster-blue:focus-visible .guy { fill: #b9c7d3; }
/* Blue can't sit still. */
.roster-blue .guy { animation: wag 7s ease-in-out 2.5s infinite; }
@keyframes wag {
  0%, 86%, 100% { rotate: 0deg; }
  89% { rotate: -9deg; }
  92% { rotate: 7deg; }
  95% { rotate: -4deg; }
}

/* product page */
.crumbs {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--step--1); color: var(--dust-2);
}
.crumbs a { text-underline-offset: 3px; }
.crumbs a + a::before { content: "/"; display: inline-block; margin-right: 10px; color: var(--night-line); text-decoration: none; }

.shop {
  max-width: var(--max); margin: clamp(20px, 3vw, 36px) auto 0;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* gallery */
.mockup { margin: 0; min-width: 0; }
.gallery-main {
  /* light "photo booth" backdrop so a black shirt reads against the dark page */
  background: radial-gradient(closest-side, #f3ead6, var(--dust) 85%);
  border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4;
  display: grid; place-items: center; position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(42, 29, 19, .28)); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs:empty { display: none; }
.gallery-thumbs button {
  flex: 0 0 64px; height: 84px; padding: 0; border: 2px solid var(--night-line); border-radius: 10px;
  background: var(--dust); cursor: pointer; overflow: hidden;
}
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--amber); }
.mockup-note { text-align: center; font-size: var(--step--1); color: #9fb0a5; margin-top: 10px; font-style: italic; }

/* hang-tag panel */
.panel {
  position: relative;
  background: var(--dust-3);
  color: var(--ink);
  padding: 48px clamp(20px, 3vw, 36px) 32px;
  border-radius: 6px;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%, 0 28px);
  box-shadow: inset 0 0 0 1px rgba(123, 74, 43, .15);
}
.panel::before { /* the punched hole */
  content: ""; position: absolute; top: 16px; left: 50%; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: var(--night); box-shadow: inset 0 2px 3px rgba(0,0,0,.4);
}
.product-name { font-family: var(--display); font-weight: 400; font-size: var(--step-3); color: var(--saddle-dark); }
.price { margin: 8px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-value { font-size: var(--step-3); font-weight: 800; }

.desc { color: var(--ink-soft); font-size: var(--step--1); margin-bottom: 20px; }
.desc p { margin: 0 0 8px; }
.desc ul, .desc ol { margin: 0 0 8px; padding-left: 20px; }
.desc:empty { display: none; }

.opt { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.opt legend { font-weight: 800; padding: 0; margin-bottom: 8px; }
.opt-current { font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 2px solid rgba(42, 29, 19, .25); background: var(--c);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.12);
}
.swatch[aria-checked="true"] { outline: 3px solid var(--saddle); outline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  min-width: 56px; padding: 9px 12px; cursor: pointer; font-weight: 600;
  background: var(--dust); border: 2px solid var(--dust-2); color: var(--ink);
  border-radius: 4px 4px 4px 4px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  padding-left: 18px;
}
.tag:hover { border-color: var(--saddle); }
.tag[aria-checked="true"] { background: var(--saddle); border-color: var(--saddle); color: var(--dust-3); }
.tag:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }
.qty-row label { font-weight: 800; }
.qty { display: inline-flex; border: 2px solid var(--dust-2); border-radius: 999px; overflow: hidden; background: var(--dust); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; font-weight: 600; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }
.qty-step:hover { background: var(--dust-2); }
.form-msg { min-height: 1.4em; margin: 10px 0 0; font-size: var(--step--1); color: var(--saddle-dark); font-weight: 600; }

.facts { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 2px dashed var(--dust-2); display: grid; gap: 6px; font-size: var(--step--1); color: var(--ink-soft); }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.facts li.cutoff::before { background: var(--red); }
.facts li:empty { display: none; }

.info { margin-top: 14px; font-size: var(--step--1); }
.info details { border-top: 1px solid var(--dust-2); }
.info details:last-child { border-bottom: 1px solid var(--dust-2); }
.info summary { cursor: pointer; padding: 10px 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.info summary::-webkit-details-marker { display: none; }
.info summary::after { content: "+"; font-weight: 400; transition: transform .2s ease; }
.info details[open] summary::after { transform: rotate(45deg); }
.info ul { margin: 0 0 12px; padding-left: 18px; color: var(--ink-soft); }
.info p { margin: 0 0 12px; color: var(--ink-soft); }

/* loading: the real layout, greyed out, so nothing jumps when the shirt shows up */
.shop.is-loading .gallery-main::after,
.lines.is-loading .line-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 247, 234, .38) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.shop.is-loading .product-name,
.shop.is-loading .price-value {
  color: transparent; background: var(--dust-2); border-radius: 4px;
  display: inline-block; min-width: 9ch; user-select: none;
}
.shop.is-loading .product-name { min-width: 70%; }
.shop.is-loading .opt,
.shop.is-loading .qty-row,
.shop.is-loading .add,
.shop.is-loading .mockup-note { visibility: hidden; }

.missing { max-width: 640px; margin: clamp(24px, 4vw, 48px) auto 0; text-align: left; }
.missing-title { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; color: var(--dust-3); margin: 0; }
.missing-text { margin: 12px 0 24px; }

/* ---------- product extras ("What's on it") ---------- */
.details, .lines, .faq, .more, .back-home { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.details h2, .lines h2, .faq h2, .more h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--saddle-dark); }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 28px; }
.detail h3 { font-size: var(--step-1); margin: 16px 0 6px; }
.detail p { margin: 0; max-width: 46ch; }
.detail-art { background: var(--dust-3); border-radius: 10px; display: grid; place-items: center; padding: clamp(16px, 4vw, 40px); aspect-ratio: 1 / 1; }
.detail-art img { max-height: 100%; width: auto; object-fit: contain; }
.detail-art-front { aspect-ratio: 4 / 3; }
.detail-art-front img { width: 82%; height: auto; }
.back-home { padding-bottom: clamp(56px, 8vw, 104px); }
.back-home p { margin: 0; color: var(--ink-soft); }

/* ---------- lines (each guy gets his own look) ---------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px clamp(24px, 5vw, 64px);
  align-items: end; margin-bottom: clamp(24px, 4vw, 40px);
}
.lines-intro { margin: 0; max-width: 40ch; font-size: var(--step-1); justify-self: end; }

/* Two columns, the right one hung a little lower, like tags on a rack. */
.line-list {
  list-style: none; margin: 0; padding: 0 0 56px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
}
.line:nth-child(even) { translate: 0 56px; }
.line { position: relative; display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; }
.line-art { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; overflow: hidden; }
.line-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.line h3 { font-size: var(--step-2); }
.line-owner { margin: 0 0 4px; font-size: var(--step--1); opacity: .8; }
.line-pitch { margin: 6px 0 0; max-width: 40ch; }
.line-badge {
  position: absolute; top: 14px; left: 14px; margin: 0;
  padding: 3px 12px; border-radius: 999px;
  font-size: var(--step--1); font-weight: 800; letter-spacing: .01em;
  background: rgba(22, 36, 28, .82); color: var(--dust-3);
}
.line.is-live .line-badge { background: var(--red); color: #fff7ea; }

/* a line with shirts: the photo on the same light booth as the product page, then one row per shirt.
   Fourthwall's flat mockups carry wide transparent margins, hence the scale-up. */
.line.is-live .line-shot { background: radial-gradient(closest-side, #f3ead6, var(--dust) 92%); }
.line-shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(42, 29, 19, .28));
  transform: scale(1.28);
  transition: transform .7s var(--ease-out);
}
.line.is-live:hover .line-shot img { transform: scale(1.34); }
.line-products { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.line-products:not(:empty) { margin-top: auto; padding-top: 20px; }
.line-product {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 4px; text-decoration: none; font-weight: 800;
  transition: transform .08s ease, background-color .2s ease;
}
.line-product:active { transform: translateY(2px); }
.lp-price { white-space: nowrap; font-weight: 600; }
.lp-price::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .55em; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateY(-.1em) rotate(45deg); }

.line-sam { background: var(--saddle); color: var(--dust-3); }
.line-sam h3 { font-family: var(--display); font-weight: 400; }
.line-sam .line-art {
  background:
    repeating-linear-gradient(-14deg, rgba(217, 199, 163, .1) 0 12px, transparent 12px 34px),
    var(--saddle-dark);
}
.line-sam .line-product { background: var(--dust-3); color: var(--saddle-dark); }
.line-sam .line-product:hover { background: var(--warm); }

.line-zane { background: #0f1a12; color: #8af59a; font-family: var(--mono); }
.line-zane h3 { font-family: inherit; font-size: var(--step-1); }
.line-zane h3::before { content: "> "; opacity: .6; }
.line-zane .line-art { background: #0a120c; border-bottom: 1px solid #1d3322; }
.term { margin: 0; font-size: clamp(1rem, 2.2vw, 1.45rem); color: #8af59a; text-shadow: 0 0 12px rgba(138, 245, 154, .35); }
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.line-zane .line-product { background: #8af59a; color: #0f1a12; }
.line-zane .line-product:hover { background: #b6ffc0; }

.line-nolan { background: #f4efe6; color: #1c1c1c; }
.line-nolan h3 { font-style: italic; font-weight: 800; color: #b3261e; }
.line-nolan .line-art {
  background:
    repeating-conic-gradient(#1c1c1c 0 25%, #f4efe6 0 50%) 0 0 / 24px 24px repeat-x,
    linear-gradient(112deg, transparent 0 71%, #b3261e 71% 75%, transparent 75% 78%, #b3261e 78% 79.5%, transparent 79.5%),
    #e8e0d1;
}
/* two strips of burnt rubber */
.skid { position: absolute; left: -12%; width: 124%; height: 46%; border-radius: 50%; border-top: 13px solid rgba(28, 28, 28, .62); rotate: -9deg; }
.skid:first-child { top: 44%; }
.skid + .skid { top: 56%; border-top-color: rgba(28, 28, 28, .45); }
.line-nolan .line-product { background: #1c1c1c; color: #f4efe6; }
.line-nolan .line-product:hover { background: #b3261e; }

.line-blue { background: #b9c7d3; color: #1f2a33; }
.line-blue h3 { font-weight: 800; }
.line-blue .line-art {
  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%231f2a33' fill-opacity='.28'%3E%3Cellipse cx='20' cy='27' rx='9' ry='8'/%3E%3Ccircle cx='9' cy='17' r='4'/%3E%3Ccircle cx='16' cy='10' r='4'/%3E%3Ccircle cx='24' cy='10' r='4'/%3E%3Ccircle cx='31' cy='17' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background:
    var(--paw) 14% 78% / 56px no-repeat, var(--paw) 34% 52% / 56px no-repeat,
    var(--paw) 56% 70% / 56px no-repeat, var(--paw) 78% 40% / 56px no-repeat,
    var(--paw) 96% 16% / 56px no-repeat, #a9b9c7;
}
.line-blue .line-product { background: #1f2a33; color: #e7eef4; }
.line-blue .line-product:hover { background: #2f4050; }

.lines.is-loading .line-art { background: var(--dust-2); }
.lines.is-loading .line-art > *,
.lines.is-loading .line-badge { visibility: hidden; }

/* rise in as they scroll into view (app.js adds .will-reveal, then .revealed) */
.will-reveal .line { opacity: 0; transform: translateY(28px); }
.will-reveal.revealed .line { opacity: 1; transform: none; transition: opacity .6s ease, transform .9s var(--ease-out); }
.will-reveal.revealed .line:nth-child(2) { transition-delay: .09s; }
.will-reveal.revealed .line:nth-child(3) { transition-delay: .18s; }
.will-reveal.revealed .line:nth-child(4) { transition-delay: .27s; }

/* ---------- products that don't belong to a line yet ---------- */
.product-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; gap: 4px; }
.tile-shot { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: radial-gradient(closest-side, #f3ead6, var(--dust-3) 92%); margin-bottom: 8px; }
.tile-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); transition: transform .7s var(--ease-out); }
.tile:hover .tile-shot img { transform: scale(1.18); }
.tile-name { font-weight: 800; text-decoration: none; }
.tile-name:hover { text-decoration: underline; }
.tile-price { margin: 0; color: var(--ink-soft); }

/* ---------- faq ---------- */
.faq { padding-bottom: clamp(56px, 8vw, 104px); }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 2px solid var(--dust-2); max-width: 760px; }
.faq details:last-of-type { border-bottom: 2px solid var(--dust-2); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; font-size: var(--step-1); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; max-width: 62ch; }

.foot { background: var(--night); color: #a9b8ad; padding: 28px var(--gutter); text-align: center; font-size: var(--step--1); }
.foot p { margin: 0; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(10, 16, 12, .55); z-index: 40; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41;
  width: min(420px, 100%); background: var(--dust-3); color: var(--ink);
  display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.3);
  animation: slide-in .22s ease-out;
}
@keyframes slide-in { from { transform: translateX(100%); } }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 12px; border-bottom: 2px dashed var(--dust-2); }
.cart-head h2 { font-family: var(--display); font-weight: 400; font-size: var(--step-2); color: var(--saddle-dark); }
.cart-close { background: none; border: 2px solid var(--dust-2); border-radius: 999px; padding: 4px 14px; cursor: pointer; font-weight: 600; }
.cart-items { list-style: none; margin: 0; padding: 8px 20px; overflow-y: auto; flex: 1; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--dust-2); }
.cart-item-name { font-weight: 800; }
.cart-item-name a { text-decoration: none; }
.cart-item-name a:hover { text-decoration: underline; }
.cart-item-meta { color: var(--ink-soft); font-size: var(--step--1); grid-column: 1; }
.cart-item-price { font-weight: 600; text-align: right; }
.cart-item-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: var(--step--1); }
.cart-item-actions button { background: none; border: 1px solid var(--dust-2); border-radius: 4px; width: 30px; height: 30px; cursor: pointer; }
.cart-item-actions .remove { width: auto; padding: 0 10px; margin-left: auto; text-decoration: underline; border: 0; }
.cart-empty { padding: 24px 20px; margin: 0; color: var(--ink-soft); }
.cart-foot { padding: 16px 20px 24px; border-top: 2px dashed var(--dust-2); }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: var(--step-1); margin: 0; }
.cart-fine { font-size: var(--step--1); color: var(--ink-soft); margin: 2px 0 14px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-home .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .roster { justify-self: start; width: min(100%, 240px); }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .lines-intro { justify-self: start; }
  .line-list { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .line:nth-child(even) { translate: none; }
  .lights { height: 120px; }
  .lights-note { top: 92px; }
}
@media (max-width: 420px) {
  .brand span { font-size: .95rem; }
  .cart-btn { padding-left: 12px; }
  .line-body { padding: 18px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
