/* Layout: the business card's 46° stripe system. Bands cut through the hero and the closing panel;
   everything else sits on a calm 12-column grid so the product photos carry the color. */
:root {
  --paper: #fbfafd;
  --surface: #ffffff;
  --ink: #141821;
  --muted: #5b6072;
  --line: #e4e3ee;
  --blue: #0279bd;
  --magenta: #c50296;
  --blue-wash: #dcecf6;
  --blue-soft: #b3d7eb;
  --pink-wash: #f8e1f2;
  --pink-soft: #edb3df;
  --on-accent: #ffffff;
  --closing-bg: #0279bd;
  --logo-light: block;
  --logo-dark: none;

  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", sans-serif;
  --f-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem);
  --step-3: clamp(2.1rem, 1.3rem + 3.4vw, 3.75rem);

  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --slant: 46deg;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1118; --surface: #161a23; --ink: #eef0f6; --muted: #a2a7b8; --line: #272c39;
    --blue: #3ea6e3; --magenta: #ea4fbe;
    --blue-wash: #112838; --blue-soft: #18435f; --pink-wash: #2c1527; --pink-soft: #5c2450;
    --on-accent: #0e1118; --closing-bg: #0b3e5f;
    --logo-light: none; --logo-dark: block;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1118; --surface: #161a23; --ink: #eef0f6; --muted: #a2a7b8; --line: #272c39;
  --blue: #3ea6e3; --magenta: #ea4fbe;
  --blue-wash: #112838; --blue-soft: #18435f; --pink-wash: #2c1527; --pink-soft: #5c2450;
  --on-accent: #0e1118; --closing-bg: #0b3e5f;
    --logo-light: none; --logo-dark: block;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0; }
.eyebrow, .spec {
  font: 500 var(--step--1)/1.4 var(--f-mono);
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); margin: 0 0 0.75rem;
}
.spec { color: var(--magenta); font-size: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em; justify-content: center;
  font: 600 var(--step-0)/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 0.95em 1.4em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--magenta); color: var(--on-accent); }
.btn--primary:hover { background: var(--blue); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: #ffffff; color: #0279bd; }
.btn--light:hover { background: #f8e1f2; color: #c50296; }
.btn--sm { padding: 0.7em 1.1em; font-size: 0.9rem; }
.link-arrow { font-weight: 600; color: var(--blue); text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--magenta); }

/* Top bar */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.7rem; }
.brand img { height: 42px; width: auto; }
.logo-light { display: var(--logo-light) !important; }
.logo-dark { display: var(--logo-dark) !important; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav { display: none; } .topbar__inner .btn { margin-left: auto; } }

/* Stripes (from the card) */
.stripes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.stripes i {
  position: absolute; top: -10%; bottom: -10%; left: var(--x); width: var(--w);
  background: var(--c); transform: skewX(var(--slant)); transform-origin: top left;
  animation: stripe-in .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d);
}
@keyframes stripe-in { from { translate: -40vw 0; } to { translate: 0 0; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: var(--step-3); font-weight: 800; }
.hero h1 .hl { color: var(--magenta); display: block; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 34ch; margin-top: 1.25rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.stats { display: flex; flex-wrap: wrap; gap: 0 2.5rem; margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 30rem; }
.stats div { display: grid; gap: 0.15rem; }
.stats dt { font: 500 0.72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.stats dd { margin: 0; font: 700 1.5rem/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.stars { color: var(--magenta); font-size: 0.85rem; letter-spacing: 0.08em; vertical-align: middle; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .reel { justify-self: center; }
}

/* Reel (promo animation) */
.reel { margin: 0; width: min(100%, 340px); justify-self: end; display: grid; gap: 0.75rem; }
.phone {
  position: relative; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 34px; padding: 10px; background: #141821;
  box-shadow: 0 30px 60px -25px rgba(2, 121, 189, .45), 0 18px 40px -20px rgba(197, 2, 150, .35);
}
.phone canvas { width: 100%; height: 100%; display: block; border-radius: 25px; background: #ffffff; }
.reel__bar { display: flex; align-items: center; gap: 0.5rem; justify-content: space-between; }
.reel__label { font: 500 0.72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); text-align: center; flex: 1; min-width: 0; }
.reel__note { font-size: 0.85rem; color: var(--muted); }
.chip-btn {
  font: 600 0.8rem/1 var(--f-body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.55em 0.9em; cursor: pointer;
}
.chip-btn:hover { border-color: var(--ink); }

/* Section heads */
section { scroll-margin-top: 80px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.75rem; }
.section-head__note { color: var(--muted); max-width: 32ch; font-size: 0.95rem; }

/* Season rail */
.season { padding-block: clamp(2.5rem, 5vw, 4rem); background: var(--surface); border-block: 1px solid var(--line); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.rail .card { scroll-snap-align: start; }

/* Product card */
.card { display: grid; gap: 0.6rem; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; min-width: 0; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--blue-wash); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.card__media::after {
  content: "View on Etsy ↗"; position: absolute; inset: auto -20% 0 -20%; height: 3rem;
  display: grid; place-items: center; font: 600 0.85rem/1 var(--f-body); color: #ffffff;
  background: #c50296; transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card__media img, .card:focus-visible .card__media img { transform: scale(1.05); }
.card:hover .card__media::after, .card:focus-visible .card__media::after { transform: translateY(0); }
.card__badge {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 1;
  font: 500 0.66rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--surface); color: var(--ink); padding: 0.45em 0.6em; border-radius: 6px;
}
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.card__name { font-weight: 600; line-height: 1.35; font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { font: 500 0.9rem/1.35 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--magenta); white-space: nowrap; }

/* Shop */
.shop { padding-block: clamp(3rem, 6vw, 5rem); }
.filters { display: grid; gap: 0.9rem; margin-bottom: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font: 600 0.9rem/1 var(--f-body); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 0.6em 1em; cursor: pointer;
  display: inline-flex; gap: 0.45em; align-items: center;
}
.chip small { font: 500 0.75rem/1 var(--f-mono); color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-pressed="true"] small { color: inherit; opacity: .7; }
.chips--tags .chip { font-weight: 500; font-size: 0.85rem; }
.chips--tags .chip[aria-pressed="true"] { background: var(--magenta); border-color: var(--magenta); color: var(--on-accent); }
.filters__row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.field { flex: 1 1 260px; min-width: 0; }
.field--select { flex: 0 1 220px; }
.field input, .field select {
  width: 100%; font: 500 1rem/1.2 var(--f-body); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 0.8em 1em;
}
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; }
.result-count { font: 500 0.8rem/1.4 var(--f-mono); color: var(--muted); margin-bottom: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 2rem 1.25rem; }
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; } }
.more { display: flex; justify-content: center; margin-top: 2.5rem; }
.empty { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }

/* About */
.about { padding-block: clamp(3rem, 6vw, 5rem); background: var(--pink-wash); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); }
.about__story { display: grid; gap: 1rem; align-content: start; }
.about__story h2 { margin-bottom: 0.5rem; }
.about__story p { max-width: 58ch; }
.craft { display: grid; gap: 0; }
.craft__item { padding-block: 1.25rem; border-top: 1.5px solid var(--ink); display: grid; gap: 0.35rem; }
.craft__item .spec { margin: 0; }
.craft__item p:last-child { color: var(--muted); max-width: 58ch; }
@media (max-width: 860px) { .about__grid { grid-template-columns: minmax(0, 1fr); } }

/* Reviews */
.reviews { padding-block: clamp(3rem, 6vw, 5rem); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.quote { margin: 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 1.25rem; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.quote blockquote::before { content: "★★★★★"; display: block; color: var(--magenta); letter-spacing: 0.1em; font-size: 0.85rem; margin-bottom: 0.6rem; }
.quote figcaption { display: grid; gap: 0.1rem; font-size: 0.9rem; }
.quote figcaption span { color: var(--muted); font-size: 0.8rem; }

/* Social */
.social { padding-block: clamp(3rem, 6vw, 5rem); background: var(--surface); border-top: 1px solid var(--line); }
.social__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .social__grid { grid-template-columns: minmax(0, 1fr); } }
.ig__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.handle { font: 500 0.75rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.ig__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; }
@media (max-width: 520px) { .ig__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ig__item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--blue-wash); }
.ig__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.ig__item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.ig__reel { position: absolute; top: 0.4rem; right: 0.4rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(20,24,33,.7); display: grid; place-items: center; }
.ig__reel::before { content: ""; border-left: 8px solid #ffffff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.tiktok-embed { margin: 0; max-width: 100%; min-width: 0 !important; border: 0; padding: 0; }
.tt__fallback {
  display: grid; gap: 1rem; justify-items: start; padding: 1.75rem; border-radius: var(--radius);
  background: var(--blue-wash); position: relative; overflow: hidden;
}
.tt__fallback img { height: 64px; width: auto; }
.tt__fallback p { max-width: 32ch; }

/* Closing */
.closing { position: relative; overflow: hidden; background: var(--closing-bg); color: #ffffff; padding-block: clamp(3.5rem, 8vw, 6rem); }
.stripes--closing i { opacity: .35; animation: none; }
.closing__inner { position: relative; z-index: 1; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.closing h2 { font-size: var(--step-3); font-weight: 800; max-width: 16ch; }
.closing p { opacity: .85; margin-bottom: 1rem; }

/* Footer */
.footer { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; }
.footer__inner > img { height: 56px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin: 0; }
.footer__links dt { font: 500 0.7rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); }
.footer__links dd { margin: 0; font-weight: 600; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--magenta); }
.footer__small { flex-basis: 100%; color: var(--muted); font-size: 0.85rem; }

/* Quick view */
.quick { border: 0; padding: 0; border-radius: 20px; max-width: min(860px, calc(100% - 32px)); width: 100%; background: var(--surface); color: var(--ink); }
.quick::backdrop { background: rgba(14, 17, 24, .6); backdrop-filter: blur(4px); }
.quick__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 640px) { .quick__inner { grid-template-columns: minmax(0, 1fr); } .quick__media { max-height: 50vh; } }
.quick__media { background: var(--blue-wash); overflow: hidden; }
.quick__media img { width: 100%; height: 100%; object-fit: cover; }
.quick__body { padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 0.85rem; align-content: center; }
.quick__body .spec { margin: 0; }
.quick__full { color: var(--muted); font-size: 0.92rem; }
.quick__price { font: 500 1.6rem/1 var(--f-mono); color: var(--magenta); }
.quick__note { font-size: 0.8rem; color: var(--muted); }
.quick__close { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 1; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); }

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