/* Brand colors = RAL codes from the design doc (sRGB approximations) */
:root {
  --sunset: #D4652F;   /* RAL 2010 */
  --jade: #7A888E;     /* RAL 7000 */
  --raspberry: #6B1C3F;/* RAL 4004 */
  --purple: #354D73;   /* RAL 5000 Deep Space Purple */
  --avocado: #F1DD38;  /* RAL 1016 70s Avocado */
  --ink: #121014;
  --ink-2: #1D1A21;
  --line: #34303a;
  --paper: #F4F4F0;
  --muted: #ADA7B2;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --r: 18px;
  --wrap: min(1180px, 100% - 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sunset); text-underline-offset: 3px; }
a:hover { color: var(--avocado); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 500; }
:focus-visible { outline: 3px solid var(--avocado); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--avocado); color: var(--ink); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { font-family: var(--display); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sunset); margin: 0 0 .6em; }
.wrap { width: var(--wrap); margin-inline: auto; }
section { padding: clamp(48px, 8vw, 96px) 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 14px max(16px, (100% - 1180px) / 2); background: rgb(18 16 20 / .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand img { width: 150px; }
#nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
#nav a { color: var(--paper); text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 99px; }
#nav a:hover { background: var(--ink-2); }
#nav a[aria-current="page"] { background: var(--sunset); color: var(--ink); }
.menu-btn { display: none; margin-left: auto; background: none; color: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font: 600 .95rem var(--body); }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--ink); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); }
  #nav.open { display: flex; }
}

/* buttons, chips */
.btn { display: inline-block; font: 700 1rem var(--display); background: var(--sunset); color: var(--ink); border: 0; border-radius: 99px; padding: 16px 30px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--avocado); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.chip { font: 600 .9rem var(--body); background: var(--ink-2); color: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--ink); }

/* page hero (inner pages) */
.page-hero { padding: clamp(56px, 9vw, 110px) 0 clamp(28px, 4vw, 48px); background:
  radial-gradient(60% 120% at 100% 0, rgb(107 28 63 / .55), transparent 60%),
  radial-gradient(50% 100% at 0 100%, rgb(53 77 115 / .5), transparent 60%); }
.page-hero p { max-width: 62ch; font-size: 1.15rem; }

/* home */
.hero { position: relative; overflow: hidden; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center; background: radial-gradient(80% 70% at 50% 40%, var(--purple), var(--ink) 75%); }
.hero-inner { position: relative; z-index: 2; width: var(--wrap); }
.hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 54ch; margin: 0 auto 2em; }
.hero h1 span { color: var(--sunset); }
.spools { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.spool { position: absolute; top: -140px; width: var(--s); animation: fall var(--d) linear var(--delay) infinite; opacity: .9; }
@keyframes fall { to { transform: translateY(calc(100vh + 280px)) rotate(var(--rot)); } }
@media (prefers-reduced-motion: reduce) { .spool { animation: none; display: none; } html { scroll-behavior: auto; } }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.promise div { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.promise h3 { color: var(--avocado); }
.band { background: var(--raspberry); }
.band-sunset { background: var(--sunset); color: var(--ink); }
.band-sunset a { color: var(--ink); }
.contact { font-size: .85rem; color: var(--muted); text-align: center; padding: 28px 0 0; }
.contact address { font-style: normal; }

/* cards / grid */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sort select { font: inherit; background: var(--ink-2); color: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-left: 6px; }
.count { margin: 0 0 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--paper); text-decoration: none; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--sunset); color: var(--paper); }
.card[hidden] { display: none; }
.card-img { position: relative; aspect-ratio: 1200 / 829; background: #222; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: var(--paper); font: 700 .7rem var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; }
.card-body { padding: 16px 18px 20px; }
.card-body p { margin: .2em 0 0; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--line); margin-right: 8px; vertical-align: -1px; }
.price { font-weight: 600; color: var(--avocado); }
.price.big { font: 700 1.8rem var(--display); margin: 0 0 .6em; }

/* link tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.tiles a { display: block; padding: 22px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line); color: var(--paper); text-decoration: none; font: 500 1rem var(--display); }
.tiles a::after { content: ' \2192'; color: var(--sunset); }
.tiles a:hover { border-color: var(--sunset); }

/* carousel */
.carousel { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; min-height: clamp(360px, 52vh, 520px); display: grid; align-items: center; padding: clamp(40px, 6vw, 80px) max(16px, (100% - 1180px) / 2); background: var(--bg); color: var(--fg, var(--paper)); position: relative; overflow: hidden; }
.slide > div { position: relative; z-index: 1; max-width: 640px; }
.slide .stat { font: 900 clamp(3rem, 11vw, 8rem)/.95 var(--display); margin: 0 0 .15em; letter-spacing: -.03em; }
.slide p { font-size: 1.15rem; max-width: 52ch; }
.slide .art { position: absolute; right: -4%; top: 50%; width: min(48%, 560px); transform: translateY(-50%) rotate(-6deg); border-radius: var(--r); box-shadow: 0 30px 60px rgb(0 0 0 / .45); }
@media (max-width: 760px) { .slide .art { opacity: .18; width: 90%; right: -20%; } }
.car-ctl { position: absolute; bottom: 18px; right: max(16px, (100% - 1180px) / 2); display: flex; gap: 8px; z-index: 3; }
.car-ctl button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgb(18 16 20 / .7); color: var(--paper); font-size: 1.2rem; cursor: pointer; }
.car-dots { position: absolute; bottom: 30px; left: max(16px, (100% - 1180px) / 2); display: flex; gap: 8px; z-index: 3; }
.car-dots button { width: 12px; height: 12px; border-radius: 99px; border: 0; padding: 0; background: rgb(244 244 240 / .45); cursor: pointer; }
.car-dots button[aria-current="true"] { width: 32px; background: var(--paper); }

/* picker */
.picker { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; width: var(--wrap); margin-inline: auto; }
@media (max-width: 860px) { .picker { grid-template-columns: 1fr; } }
.picker-img img { border-radius: var(--r); width: 100%; transition: opacity .2s; }
.swatches { border: 0; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 12px; }
.swatches legend { padding: 0; margin-bottom: 12px; }
.swatch { width: 46px; height: 46px; border-radius: 50%; background: var(--c); border: 3px solid var(--ink); box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--sunset); }
.stock { color: var(--sunset); font-weight: 600; }

/* settings pages */
.figs { display: grid; gap: 28px; }
.figs figure { margin: 0; background: #fff; border-radius: var(--r); padding: 12px; }
.figs figcaption { color: var(--ink); font-weight: 600; padding: 10px 6px 2px; }
.banner-img { border-radius: var(--r); width: 100%; }

/* prose (legal etc.) */
.prose { width: min(760px, 100% - 32px); margin-inline: auto; padding-bottom: 80px; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose li { margin-bottom: .4em; }
.note { background: var(--ink-2); border-left: 4px solid var(--avocado); padding: 14px 18px; border-radius: 8px; }
.prop65 { width: var(--wrap); margin: 0 auto 40px; border: 2px solid var(--paper); border-radius: 8px; padding: 14px 18px; font-size: .9rem; }
.prop65 p { margin: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px max(16px, (100% - 1180px) / 2) 28px; margin-top: 40px; }
.foot-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-cols nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-cols nav a { color: var(--muted); }
.foot-logo { width: 150px; margin-bottom: 6px; }
