/* Smoke and Slice Designs - site styles.
   Palette from the logo: charcoal smoke and ember orange on a smoke-grey page. */

:root {
  --ink: #1c2a33;
  --ink-soft: #4a5660;
  --ash: #e7e8e4;
  --paper: #f7f7f4;
  --line: #c9ccc5;
  --ember: #c2451e;
  --ember-deep: #a63a18;
  --glow: #f2875f;

  --display: "Bowlby One", "Arial Black", sans-serif;
  --text: Bitter, Georgia, serif;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ash);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember-deep); }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 2px; }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: clamp(40px, 5vw, 72px); }
/* two plain sections in a row share one gap instead of stacking both paddings */
.section + .section { padding-top: clamp(8px, 2vw, 24px); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p, .lede { color: var(--ink-soft); font-size: 1.15rem; }
.lede { max-width: 60ch; }
.small { font-size: 0.9rem; color: var(--ink-soft); }
.more { margin-top: 28px; font-weight: 600; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.35rem;
  background: var(--ember); color: #fff;
  font: 600 1rem/1.2 var(--text);
  border: 2px solid var(--ember); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}
.btn:hover { background: var(--ember-deep); border-color: var(--ember-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-small { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.95rem; }
.btn-buy {
  width: 100%; min-height: 64px; margin-top: 6px;
  font: 400 1.2rem/1.2 var(--display); letter-spacing: 0.01em;
  border-bottom: 4px solid var(--ember-deep);
}
.btn-buy:hover { border-bottom-color: #7f2c12; }
.buy-note { margin-top: 10px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0.35rem 0.9rem;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  font: 500 0.95rem/1.2 var(--text); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .count { opacity: 0.7; font-size: 0.85em; }
.chip:disabled { opacity: 0.4; cursor: default; }
.sort[hidden] { display: none; }

/* ---------------------------------------------------------------- masthead */

.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
/* keep anchor jumps and keyboard focus clear of the sticky header */
html { scroll-padding-top: 88px; }
.masthead-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand span { font-family: var(--display); font-size: 1.15rem; line-height: 1; white-space: nowrap; }
.masthead-cta { white-space: nowrap; }
.brand > span, .brand-sub { transition: color 200ms ease-out; }
/* :active is the same effect for a finger, which has no hover */
.brand:hover > span, .brand:active > span { color: var(--ember-deep); }
.brand:hover .brand-sub, .brand:active .brand-sub { color: var(--ember); }
.brand img { transition: transform 200ms ease-out; }
.brand:hover img, .brand:active img { transform: rotate(-12deg); }
.brand-sub { display: block; font-family: var(--text); font-size: 0.85rem; color: var(--ink-soft); margin-top: 3px; }

.search-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; justify-content: center;
  text-decoration: none; font-weight: 500;
}
.search-link:hover { color: var(--ember-deep); }
@media (max-width: 1239px) {
  .search-link-text { display: none; }
  .masthead-row { gap: 8px; }
  .search-link { order: 1; }   /* magnifier first, menu at the far right */
  .menu { order: 2; }
}
.menu-icon { display: none; }
/* phones: icon-only menu button and a slightly smaller name, so the row fits inside the page margin */
@media (max-width: 479px) {
  .menu > summary { padding: 0; width: 44px; justify-content: center; }
  .menu-icon { display: block; flex: none; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand img { width: 38px; height: 38px; }
  .brand span { font-size: 1rem; }
  .brand-sub { font-size: 0.8rem; }
  .masthead-row { min-height: 64px; }
}
/* the smallest phones (320px wide) */
@media (max-width: 359px) {
  .brand { gap: 7px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 0.9rem; }
  .masthead-row { gap: 4px; }
}

.search-link[aria-expanded="true"] { color: var(--ember-deep); }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0 18px; }
.search-panel[hidden] { display: none; }
.search-panel input {
  width: 100%; min-height: 52px; padding: 0.5rem 0.2rem; font: inherit; font-size: 1.2rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--ink);
}
.search-panel input:focus-visible { outline: none; border-bottom-color: var(--ember); }
.suggest { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px 24px; }
@media (min-width: 760px) { .suggest { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.suggest a {
  display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: var(--radius); text-decoration: none;
}
.suggest a:hover { background: var(--ash); color: inherit; }
.suggest img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; flex: none; background: #d6d7d2; }
.suggest-name { display: block; font-weight: 600; line-height: 1.3; }
.suggest-meta { display: block; font-size: 0.85rem; color: var(--ink-soft); }
.suggest-more { margin: 10px 0 0; font-weight: 600; }
.suggest-more:empty { display: none; }

.search-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.search-row { display: flex; gap: 10px; max-width: 640px; margin-bottom: 20px; }
.search-row input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0.5rem 0.9rem; font: inherit; font-size: 1.1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--ink-soft); border-radius: var(--radius);
}

.menu > summary {
  list-style: none; cursor: pointer; min-height: 44px; padding: 0.5rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600;
  display: inline-flex; align-items: center;
}
.menu > summary::-webkit-details-marker { display: none; }
.nav { list-style: none; margin: 0; padding: 0; }
.nav a, .nav summary { display: block; padding: 10px 4px; text-decoration: none; font-weight: 500; cursor: pointer; }
.nav summary { list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; display: inline-block; margin-left: 6px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.nav details ul { list-style: none; margin: 0; padding: 0 0 0 14px; }

@media (max-width: 1239px) {
  .menu[open] > nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .masthead-cta { display: none; }
}

@media (min-width: 1240px) {
  .menu > summary, .nav-etsy { display: none; }
  .nav { display: flex; gap: 20px; align-items: center; white-space: nowrap; }
  .nav a:hover, .nav summary:hover { color: var(--ember-deep); }
  .nav-hobbies { position: relative; }
  .nav details ul {
    position: absolute; top: 100%; left: -16px; min-width: 210px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 8px 16px;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden; background: var(--ash); text-align: center;
  padding-block: clamp(32px, 5vw, 56px);
}
.hero-copy { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin: 0; }
.hero-line { display: block; }
.hero-word { display: inline-block; color: var(--ember-deep); white-space: nowrap; }
.hero-word.is-new { animation: word-in 420ms cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes word-in {
  from { opacity: 0; transform: translateY(0.3em); }
  to { opacity: 1; transform: none; }
}
/* phones: one thought per line, so the headline is four lines whichever hobby word is showing */
@media (max-width: 699px) {
  .hero h1 { font-size: min(2.5rem, 10.2vw); }
  .hero-word, .hero-last { display: block; }
}
.hero .lede { margin-inline: auto; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
/* fixed width, so a longer hobby name never changes how the two buttons wrap */
.hero-actions [data-hero-cta] { min-width: 15em; }

/* The curved row (site.js lays it out). It fills the hero behind the words; .hero-gap holds the
   clear space it runs through. Without JavaScript there is no row and no gap. */
.hero-gap { display: none; height: clamp(250px, 25vw, 340px); margin-block: 12px; }
.js .hero-gap { display: block; }
.hero-band {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 500ms ease;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-band.is-ready { opacity: 1; }
.band-tile { position: absolute; transform-style: preserve-3d; }
.band-strip { position: absolute; top: 0; overflow: hidden; background: #d6d7d2; }
.band-strip:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.band-strip:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.band-strip img { position: absolute; top: 0; max-width: none; object-fit: cover; }
/* !important: each tile sets its animation inline, which would otherwise win */
.hero-band.is-paused .band-tile { animation-play-state: paused !important; }

/* small and quiet, in the corner of the row */
.hero-gap { position: relative; z-index: 1; }
.hero-pause {
  position: absolute; right: max(16px, calc(50% - 600px)); bottom: 0;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.hero-pause:hover { background: var(--ink); color: var(--paper); }
.hero-pause .icon-play, .hero-pause.is-stopped .icon-pause { display: none; }
.hero-pause.is-stopped .icon-play { display: block; }

/* Hobby links. The one matching the red word lights up, and its underline fills over the 6 seconds
   until the word moves on (site.js restarts it; .is-still holds it full while the word is stopped). */
.hero-links {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0 14px; margin: 20px 0 0; padding: 0; list-style: none;
}
.hero-links a {
  position: relative; display: inline-block; padding: 10px 2px;
  color: var(--ink-soft); font-weight: 600; text-decoration: none; transition: color 200ms ease;
}
.hero-links a:hover, .hero-links a.is-current { color: var(--ember-deep); }
.hero-links a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 2px;
  background: var(--ember-deep); transform: scaleX(0); transform-origin: left;
}
.hero-links a:hover::after, .hero-links a.is-current::after { transform: scaleX(1); }
.js .hero-links:not(.is-still) a.is-current:not(:hover)::after { animation: link-fill 6s linear; }
@keyframes link-fill { from { transform: scaleX(0); } }
@media (min-width: 700px) {
  .hero-links li + li::before { content: "\00b7"; margin-right: 14px; color: var(--ink-soft); }
}

/* ---------------------------------------------------------------- product grid */

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 28px 18px;
  grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr));
}
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.season-row + .season-row { margin-top: 40px; }
.season-row-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  margin-bottom: 14px;
}
.season-row-head h3 { margin: 0; font-size: 1.3rem; }
.season-row-head a { font-weight: 600; }
/* a column the height of its row, so the colour dots line up along the foot of every card */
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card-img {
  display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  background: var(--tint, #d6d7d2);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease-out; }
.card-img { position: relative; }
.badge-new {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: 999px;
  background: var(--ember); color: #fff; font: 600 0.8rem/1.4 var(--text);
}
.card a:hover .card-img img { transform: scale(1.03); }
/* one line everywhere, so every row lines up; the full name is on the design page */
.card-name {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-weight: 600; font-size: 1.05rem; line-height: 1.3; margin-top: 10px;
}
.card-dots { display: block; margin-top: auto; padding-top: 8px; }
.dots { display: flex; align-items: center; gap: 5px; }
.dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(28, 42, 51, 0.28);
}
.dot-more { font-size: 0.8rem; color: var(--ink-soft); margin-left: 2px; }
.card-meta { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-top: 2px; }
.card[hidden] { display: none; }

/* ---------------------------------------------------------------- hobbies */

.hobbies {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .hobbies { grid-template-columns: repeat(4, 1fr); } }
.hobby { display: block; text-decoration: none; }
.hobby img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: #d6d7d2; }
.hobby-name { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.15; margin-top: 12px; }
.hobby-count { display: block; color: var(--ink-soft); font-size: 0.9rem; }

/* ---------------------------------------------------------------- story rows */

.story { display: grid; gap: clamp(40px, 6vw, 80px); }
.story-row { display: grid; gap: 24px; align-items: center; }
.story-img img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.story-text h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; }
.story-text p { font-size: 1.15rem; max-width: 46ch; }
@media (min-width: 760px) {
  .story-row { grid-template-columns: 5fr 6fr; gap: 56px; }
  .story-row:nth-child(even) .story-img { order: 2; }
}

/* ---------------------------------------------------------------- bands */

.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .section-head p, .band-ink .card-meta, .band-ink .dot-more { color: #c3cad0; }
.band-ink .dot { box-shadow: 0 0 0 1px rgba(247, 247, 244, 0.55); }
.band-ink a:hover { color: var(--glow); }
.band-ink :focus-visible { outline-color: var(--glow); }

/* ---------------------------------------------------------------- crew */

.crew {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 32px 20px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .crew { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .crew { grid-template-columns: repeat(6, 1fr); } }
.crew-member img { height: 200px; width: auto; margin: 0 auto 14px; }
.crew-member h3 { font-size: 1.05rem; }
.crew-member p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------- reviews */

.review-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.review { background: var(--paper); border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; }
.stars { color: var(--ember); font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 12px; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.05rem; }
.review-by { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

/* Home page testimonials: the designs people bought, stacked. Without JavaScript the photos stay
   hidden and the reviews are a plain list. */
.testimonials {
  overflow: hidden; background: var(--ink); color: var(--paper);
  padding-block: clamp(48px, 7vw, 88px);
}
.testimonials h2 { color: var(--paper); }
.testimonials .section-head p { color: var(--ash); }
.testimonials a { color: var(--glow); }
.tm { display: grid; gap: 32px; align-items: center; margin-top: 12px; }
.tm-stage { display: none; }
.tm-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.tm-quote h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 4px; }
.tm-quote h3 a { color: var(--paper); text-decoration: none; }
.tm-quote h3 a:hover { color: var(--glow); }
.tm-by { margin: 0 0 12px; color: var(--ash); font-size: 0.95rem; }
.tm-quote .stars { color: var(--glow); }
.tm-quote blockquote { position: relative; margin: 0; }
.tm-quote blockquote p { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.tm-controls { display: none; align-items: center; gap: 12px; margin-top: 24px; }
.tm-btn {
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ember); color: #fff; cursor: pointer;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 150ms ease;
}
.tm-btn:hover { background: var(--ember-deep); transform: scale(1.1); }
.tm-btn:active { transform: scale(0.94); }
.tm-pause { position: static; border-color: var(--ink-soft); background: transparent; color: var(--paper); }
.tm-pause:hover { background: var(--paper); color: var(--ink); }
.tm-count { margin: 0 0 0 auto; color: var(--ash); font-variant-numeric: tabular-nums; }

.js .tm-controls { display: flex; }
.js .tm-stage {
  display: block; position: relative; width: min(66%, 400px); aspect-ratio: 1;
  margin: 16px auto; perspective: 1100px; touch-action: pan-y;
}
.js .tm-quotes { gap: 0; }
.js .tm-quote {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 250ms ease, visibility 0s linear 250ms;
}
.js .tm-quote.is-active { opacity: 1; visibility: visible; transition: opacity 250ms ease; }
.tm-card {
  position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 20px; background: var(--ink-soft);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none;
  transition: transform 750ms cubic-bezier(0.3, 1.25, 0.5, 1), opacity 400ms ease, filter 500ms ease;
}
.tm-card img { width: 100%; height: 100%; object-fit: cover; }
.tm-card[data-pos="0"] { z-index: 3; opacity: 1; pointer-events: auto; transform: none; }
.tm-card[data-pos="-1"], .tm-card[data-pos="1"] { z-index: 2; opacity: 1; pointer-events: auto; filter: brightness(0.62); }
.tm-card[data-pos="-1"] { transform: translate3d(-24%, -7%, -130px) rotateY(24deg) rotate(-4deg); }
.tm-card[data-pos="1"] { transform: translate3d(24%, -7%, -130px) rotateY(-24deg) rotate(4deg); }
.tm-card[data-pos="-2"] { z-index: 1; transform: translate3d(-40%, -10%, -300px) rotateY(40deg); }
.tm-card[data-pos="2"] { z-index: 1; transform: translate3d(40%, -10%, -300px) rotateY(-40deg); }
.tm-card[data-pos="0"]:hover img { transform: scale(1.04); }
.tm-card img { transition: transform 400ms ease; }

/* the words arrive one after another */
.tm-quote .w { display: inline-block; white-space: pre-wrap; }
.tm-quote.is-active .w { animation: word-up 480ms ease both; animation-delay: calc(var(--i) * 14ms); }
@keyframes word-up {
  from { opacity: 0; filter: blur(5px); transform: translateY(0.4em); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
/* phones: arrows straight under the photos, so a long review never pushes them off the screen */
@media (max-width: 859px) {
  .tm-side { display: flex; flex-direction: column-reverse; }
  .tm-controls { margin: 0 0 24px; }
}
@media (min-width: 860px) {
  .tm { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 72px; }
  .js .tm-stage { width: min(72%, 420px); }
}
@media (prefers-reduced-motion: reduce) {
  .tm-card, .tm-card img, .tm-btn { transition: none; }
  .tm-quote.is-active .w { animation: none; }
}

/* ---------------------------------------------------------------- crew page */

.crew-profile {
  display: grid; gap: 20px 40px; padding: 40px 0; border-top: 1px solid var(--line);
}
.crew-profile > img { height: 240px; width: auto; justify-self: center; }
@media (min-width: 760px) {
  .crew-profile { grid-template-columns: 260px 1fr; align-items: start; }
  .crew-profile > img { height: 320px; }
}
.crew-profile h2 { margin-bottom: 4px; }
.crew-niche { color: var(--ink-soft); }
.crew-designs-head { margin-top: 24px; }

.fabrics dt { font-weight: 700; margin-top: 12px; }
.fabrics dd { margin: 2px 0 0; color: var(--ink-soft); }

/* ---------------------------------------------------------------- buying steps */

.buying { border-top: 1px solid var(--line); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: block;
  font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--ember); margin-bottom: 10px;
}
.steps strong { display: block; font-size: 1.1rem; }

/* ---------------------------------------------------------------- collection pages */

.collection-head {
  display: grid; gap: 16px; align-items: end; grid-template-columns: 1fr auto;
  padding-top: clamp(32px, 5vw, 64px); padding-bottom: 8px;
}
.collection-art { height: 130px; width: auto; }
@media (min-width: 760px) {
  .collection-head { gap: 24px; }
  .collection-art { height: 280px; }
}
.toolbar {
  display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar-selects { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.sort select {
  min-height: 40px; padding: 0.3rem 0.6rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.result-count { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 20px; }

/* ---------------------------------------------------------------- product page */

.crumbs { padding-top: 20px; font-size: 0.95rem; color: var(--ink-soft); }
.product {
  display: grid; gap: 32px; padding-top: 16px; padding-bottom: 56px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; }
  .details, .size-chart { grid-column: 1; }
  .buy { position: sticky; top: 96px; align-self: start; grid-row: 1 / span 3; grid-column: 2; }
}
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--tint, #d6d7d2); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs {
  list-style: none; margin: 12px 0 0; padding: 0 0 6px; display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x proximity;
}
.thumbs li { flex: none; scroll-snap-align: start; }
@media (min-width: 900px) { .thumbs { flex-wrap: wrap; overflow: visible; } }
.thumbs button {
  display: block; padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer;
  width: 64px; height: 64px; overflow: hidden;
}
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumb-video { position: relative; }
.thumb-video::after {
  /* play triangle */
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border: 11px solid transparent; border-left: 17px solid #fff; border-right: 0;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.6));
}
.gallery-main video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.gallery-main [hidden] { display: none; }

.buy-type { color: var(--ink-soft); margin: 0 0 4px; }
.buy h1 { font-size: clamp(2rem, 4vw, 3rem); }
.price { font-size: 1.35rem; font-weight: 700; margin-bottom: 14px; }
.buy-lede { font-size: 1.1rem; }
.option { margin: 22px 0; }
.option-head { font-family: var(--text); font-weight: 700; font-size: 1rem; margin: 0 0 10px; letter-spacing: 0; }
.swatches, .size-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.swatches li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px 3px 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.85rem;
}
.swatch { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(28, 42, 51, 0.25); }
.size-list li {
  min-width: 48px; padding: 6px 10px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.95rem;
}
.note { background: var(--paper); border-left: 4px solid var(--ember); padding: 12px 14px; border-radius: 0 var(--radius) var(--radius) 0; }

.details h2 { font-size: 1.45rem; margin-top: 1.6em; }
.details h2:first-child { margin-top: 0; }
.details p { max-width: 68ch; }
.ticks { margin: 0 0 1em; padding-left: 1.2em; }
.ticks li { margin-bottom: 4px; }
.disclosure { margin-top: 2em; max-width: 68ch; }

.size-chart { background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.size-chart-head { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin: 1.4em 0 0.6em; }
.size-chart .size-chart-head { margin-top: 0; }
.size-chart-head h2 { margin: 0; }
.units { display: flex; gap: 6px; }
.size-block { margin-top: 24px; }
.size-block h3 { margin-bottom: 4px; }
.table-scroll { overflow-x: auto; }
.sizes { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.sizes caption { text-align: left; color: var(--ink-soft); font-size: 0.9rem; padding-bottom: 6px; }
.sizes th, .sizes td { text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.sizes thead th { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.sizes .cm { display: block; font-size: 0.85rem; color: var(--ink-soft); }

.type-group + .type-group { margin-top: 48px; }
/* only with the script running, so without it every design still shows */
.js .type-group:not(.is-open):not(.is-filtered) .card.is-extra { display: none; }
.type-group.is-open .card.is-extra { animation: card-in 320ms ease-out both; }
@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.group-more { margin-top: 24px; }
.group-more[hidden] { display: none; }
.type-group[hidden] { display: none; }
.type-group-head { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--ink); color: #d4d9dd; padding: 56px 0 28px; margin-top: 40px; }
.footer a { color: var(--paper); }
.footer a:hover { color: var(--glow); }
.footer .btn { color: #fff; }
.footer :focus-visible { outline-color: var(--glow); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { font-family: var(--display); font-size: 1.4rem; color: var(--paper); margin-bottom: 8px; }
.footer-head { font-weight: 700; color: var(--paper); margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer-small { margin-top: 36px; padding-top: 20px; border-top: 1px solid #34434d; font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
