/* Fresh & Finished — site styles
   Layout concept: purple brand bands alternate with a cool paper ground; every
   card, button and frame borrows the logo's black outline + deep-purple 3D edge. */
:root {
  --purple: #5B2A86;
  --deep: #3A1760;
  --lime: #9BE03C;
  --pink: #FF3D9A;
  --ink: #141414;
  --yellow: #FFD23F;
  --paper: #F6F3FA;
  --paper-2: #ECE5F5;
  --white: #FFFFFF;
  --muted: #564C66;
  --on-purple-muted: #DCD0EE;

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --edge: 6px 6px 0 var(--deep);
  --edge-sm: 4px 4px 0 var(--deep);
  --line: 3px solid var(--ink);
  --radius: 14px;
  --maxw: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: 1.18rem; max-width: 34em; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }

/* Bands and wrapper (side gutter lives on .wrap) */
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-purple { background: var(--purple); color: var(--white); }
.band-deep { background: var(--deep); color: var(--white); }
.band-pink { background: var(--pink); color: var(--ink); }
.band-lime { background: var(--lime); color: var(--ink); }
.band-paper2 { background: var(--paper-2); }
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.stack { display: grid; gap: 18px; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 44rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.band-purple .section-head p, .band-deep .section-head p { color: var(--on-purple-muted); }
.band-pink .section-head p, .band-lime .section-head p { color: var(--ink); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--purple); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--purple); border-bottom: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 12px; }
.brand { display: block; width: clamp(190px, 26vw, 250px); }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav a[aria-current="page"] { color: var(--lime); }
.nav .btn { margin-left: 6px; }
.nav .btn, .nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--pink); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  padding: 13px 22px; border: var(--line); border-radius: 999px;
  background: var(--pink); color: var(--ink); text-decoration: none; cursor: pointer;
  box-shadow: var(--edge-sm); transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--deep); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--deep); }
.btn-lime { background: var(--lime); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); box-shadow: none; }
.btn-ghost:hover { color: var(--white); background: rgba(255,255,255,.1); box-shadow: none; transform: none; }
.nav .btn { padding: 9px 16px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 mark { background: none; color: var(--lime); }
.hero .eyebrow { color: var(--lime); }
.hero .lead { color: var(--on-purple-muted); }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.hero-note { font-size: .92rem; color: var(--on-purple-muted); }
.tilt-frame { transform: rotate(-2.2deg); min-width: 0; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .tilt-frame { transform: rotate(-1.2deg); }
}

/* Before / after slider */
.ba {
  --pos: 50%;
  position: relative; overflow: hidden; aspect-ratio: 10 / 7; max-width: 100%;
  border: var(--line); border-radius: var(--radius); box-shadow: var(--edge); background: var(--paper-2);
  user-select: none; touch-action: pan-y;
}
.band-purple .ba, .band-deep .ba { box-shadow: 8px 8px 0 var(--pink); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--ink); pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border: var(--line); border-radius: 50%; background: var(--lime); pointer-events: none;
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--ink);
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba input[type="range"]:focus-visible ~ .ba-knob { outline: 3px solid var(--pink); outline-offset: 3px; }
.ba-tag {
  position: absolute; top: 12px; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; pointer-events: none;
}
.ba-tag.before { left: 12px; background: var(--white); }
.ba-tag.after { right: 12px; background: var(--lime); }
.ba-sample {
  position: absolute; bottom: 12px; left: 12px; padding: 3px 10px; border-radius: 6px;
  background: rgba(20,20,20,.78); color: var(--white); font-size: .74rem; font-weight: 600; pointer-events: none;
}

/* Strip */
.strip { background: var(--lime); border-block: var(--line); overflow: hidden; }
.strip ul { list-style: none; margin-block: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding-block: 16px; }
.strip li { font-family: var(--display); font-weight: 800; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; }
.strip li.star { color: var(--purple); }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--edge);
  padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0;
}
.card p { color: var(--muted); }
.check { width: 44px; height: 44px; border: var(--line); border-radius: 12px; background: var(--lime); display: grid; place-items: center; }
.check svg { width: 24px; height: 24px; }

/* Split intro */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* Compare table */
.compare-wrap { overflow-x: auto; border: var(--line); border-radius: var(--radius); box-shadow: var(--edge); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 2px solid var(--paper-2); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 1.15rem; border-bottom: var(--line); }
.compare thead th.us { background: var(--lime); }
.compare tbody th { font-weight: 600; color: var(--muted); width: 26%; }
.compare td.us { background: #F3FBE7; font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Mixtape */
.tape {
  position: relative; background: var(--ink); color: var(--white); border-radius: 18px; padding: 22px; border: var(--line);
  box-shadow: 8px 8px 0 var(--pink); display: grid; gap: 18px;
}
.tape-label { background: var(--white); color: var(--ink); border-radius: 10px; padding: 18px 20px 20px; display: grid; gap: 10px; border-top: 10px solid var(--lime); }
.tape-label.pink { border-top-color: var(--pink); }
.tape-side { font-family: var(--display); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.tape-label ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.tape-reels { display: flex; justify-content: center; gap: 70px; align-items: center; }
.reel { width: 54px; height: 54px; border-radius: 50%; border: 6px solid var(--white); background: repeating-conic-gradient(var(--ink) 0 30deg, #3a3a3a 30deg 60deg); }
.tape a { color: var(--purple); font-weight: 700; }

/* Numbered list (5 signs) */
.signs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.signs li {
  counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center;
  background: var(--white); border: var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--edge-sm);
  font-weight: 600; font-size: 1.08rem;
}
.signs li::before {
  content: counter(s); width: 54px; height: 54px; border: var(--line); border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.4rem;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.steps li { counter-increment: st; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: var(--line); min-width: 0; }
.steps li::before { content: "Step " counter(st); font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.steps p { color: var(--muted); font-size: .98rem; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* House rules */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); box-shadow: 8px 8px 0 var(--lime); counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; padding: 18px 24px; border-bottom: 2px dashed #D7CDE6; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.rules li:last-child { border-bottom: 0; }
.rules li::before { content: counter(r) "."; color: var(--pink); font-weight: 800; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font: 600 .95rem var(--body); padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.gallery-item { display: grid; gap: 12px; align-content: start; min-width: 0; }
.gallery-item h3 { font-size: 1.15rem; }
.gallery-item p { color: var(--muted); font-size: .95rem; }
.slot {
  aspect-ratio: 10 / 7; border: 3px dashed var(--purple); border-radius: var(--radius); background: var(--paper-2);
  display: grid; place-items: center; text-align: center; padding: 20px; color: var(--purple); font-weight: 600;
}
.slot span { display: block; font-family: var(--display); font-weight: 800; font-size: 1.2rem; }

/* Placeholder marker (things Shawn still needs to fill in) */
.ph { outline: 2px dashed var(--pink); outline-offset: 2px; border-radius: 4px; background: rgba(255,61,154,.08); padding-inline: 4px; }
.band-purple .ph, .band-deep .ph, .site-footer .ph { background: rgba(255,61,154,.22); }

/* Forms */
.form { display: grid; gap: 18px; background: var(--white); border: var(--line); border-radius: var(--radius); box-shadow: var(--edge); padding: clamp(20px, 3vw, 32px); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 600; cursor: pointer; background: var(--paper); }
.radios input { accent-color: var(--purple); width: auto; padding: 0; border: 0; margin: 0; }
.radios label:has(input:checked) { background: var(--lime); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border: 2px solid var(--ink); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.form-status.ok { background: #EAF8D6; }
.form-status.warn { background: #FFF2C2; }

/* Contact aside */
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.aside-list li { display: grid; gap: 2px; }
.aside-list .k { font-family: var(--display); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq summary { font-family: var(--display); font-weight: 800; font-size: 1.12rem; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .lead { color: var(--on-purple-muted); }

/* CTA band */
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.cta p { font-size: 1.15rem; max-width: 34em; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #D8D2E2; padding-block: 56px 40px; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr 1fr; gap: 32px 48px; align-items: start; }
.site-footer img { width: 120px; }
.site-footer h3 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--white); }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid #3A3446; padding-top: 18px; font-size: .88rem; color: #A79FB6; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Preview banner (only in the preview build) */
.preview-bar { background: var(--yellow); color: var(--ink); font-size: .9rem; font-weight: 600; border-bottom: 2px solid var(--ink); }
.preview-bar .wrap { padding-block: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.mt { margin-top: 28px; }
