/* ============================================================
   BLEACH — responsive stylesheet
   Fluid from ~320px phones up to large desktops.
   Nothing uses fixed pixel widths that can exceed the viewport.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #000;
  --ink: #0b0b0b;
  --white: #ffffff;
  --pink: #f54b9b;
  --pink-dark: #e02f85;
  --muted: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --max: 1240px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --serif: "PP Editorial New", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

/* visible keyboard focus for accessibility */
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;            /* hard guarantee: never scroll sideways */
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  font-size: clamp(0.7rem, 1.6vw, 0.8rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

/* boxed BLEACH logo */
.brand {
  display: inline-grid;
  place-content: center;
  gap: 2px;
  width: 52px; height: 52px;
  border: 1.5px solid var(--white);
  flex: none;
}
.brand span {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: center;
  padding-left: 0.18em;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--white);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* hamburger (CSS-only) */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  border: 0; background: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span { height: 2px; width: 100%; background: var(--white); transition: 0.3s; }

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1rem var(--pad);
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-toggle:checked ~ .nav-links { max-height: 60vh; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.05rem 2rem;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
  max-width: 100%;
}
.btn:hover { background: var(--pink-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; border: 1.5px solid var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--pink); color: var(--white); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-row .btn { flex: 1 1 240px; }   /* side by side on wide, stack on narrow */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(560px, 92svh, 1000px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6rem var(--pad) 4rem;
  background: #1a1012 url("images/hero-hair.jpg") center/cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15) 35%, rgba(0,0,0,.55));
  z-index: -1;
}
.hero__inner { width: min(100%, 880px); display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); justify-items: center; }
.hero__title {
  font-size: clamp(3.5rem, 18vw, 11rem);
  letter-spacing: 0.02em;
  line-height: 0.9;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.hero__standards {
  font-size: clamp(1.4rem, 5.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.hero__standards .heart { color: var(--pink); }
.hero .btn-row { width: min(100%, 720px); }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { text-align: center; }
.statement h2 {
  font-size: clamp(1.8rem, 6.5vw, 4rem);
  text-transform: uppercase;
}
.statement .accent { color: var(--pink); }
.statement p.lead {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--muted);
  max-width: 46ch;
  margin-inline: auto;
}

/* ============================================================
   SPLIT (image + text)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: grid; gap: 1.25rem; }
.split__body h2 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  text-transform: uppercase;
}
.split__body p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 52ch; }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ============================================================
   VALUE CARDS
   ============================================================ */
.cards-head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1rem; justify-items: center; }
.cards-head h2 { font-size: clamp(1.9rem, 5.5vw, 3.5rem); text-transform: uppercase; }
.cards-head p { color: var(--muted); max-width: 48ch; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__media { aspect-ratio: 3 / 4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; gap: 0.6rem; }
.card__body h3 { font-size: clamp(1.1rem, 2.4vw, 1.4rem); text-transform: uppercase; }
.card__body p { color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { text-align: center; background: var(--ink); border-block: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.8rem, 5.5vw, 3.5rem); text-transform: uppercase; margin-bottom: 2rem; }
.cta-band .btn-row { width: min(100%, 720px); margin-inline: auto; }

/* ============================================================
   SHOP
   ============================================================ */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.shop__media { background: #f3f3f3; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; }
.shop__media img { width: 100%; height: 100%; object-fit: cover; }
.shop__body { display: grid; gap: 1.25rem; }
.shop__body h2 { font-size: clamp(2rem, 5.5vw, 3.75rem); text-transform: uppercase; }
.shop__body p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 46ch; }
.shop__body .btn { justify-self: start; }
@media (max-width: 720px) {
  .shop { grid-template-columns: 1fr; }
  .shop__body .btn { justify-self: stretch; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.site-footer .brand { margin-inline: auto; margin-bottom: 1.5rem; }
.footer-email { font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 600; letter-spacing: 0.04em; }
.footer-email:hover { color: var(--pink); }
.footer-addr { color: var(--muted); margin-top: 0.5rem; font-size: 0.95rem; letter-spacing: 0.05em; }
.socials { display: flex; gap: 1.25rem; justify-content: center; margin-top: 1.75rem; }
.socials a {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transition: 0.2s;
}
.socials a:hover { background: var(--pink); border-color: var(--pink); }
.socials svg { width: 20px; height: 20px; fill: var(--white); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; justify-content: center; margin-top: 2rem; }
.footer-nav a { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-nav a:hover { color: var(--white); }
.copyright { margin-top: 2rem; color: rgba(255,255,255,.4); font-size: 0.8rem; }

/* ============================================================
   SUBPAGE (forms / team)
   ============================================================ */
.page-hero { text-align: center; padding: clamp(3.5rem,9vw,6rem) var(--pad) clamp(2rem,5vw,3rem); }
.page-hero h1 { font-size: clamp(2.2rem, 7vw, 5rem); text-transform: uppercase; }
.page-hero p { color: var(--muted); margin-top: 1rem; font-size: clamp(1rem,2.2vw,1.25rem); max-width: 52ch; margin-inline: auto; }

/* form page hero: BLEACH BABY + 3D Spline phone */
.form-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  width: min(100% - 2*var(--pad), var(--max));
  margin: 0 auto;
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
}
.form-hero__title { margin: 0; }
.form-hero__title img { width: min(100%, 600px); }
.spline-embed {
  /* fixed native size renders the whole phone at every rotation angle (matches the
     live site's ~460px frame); we scale the box down with CSS zoom on smaller
     screens instead of cropping it */
  position: relative;
  width: 480px;
  height: 480px;
  max-width: 100%;
  margin-inline: auto;
  zoom: 0.75;                 /* desktop display ≈ 360px */
}
.spline-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
/* cover the "Built with Spline" badge (bottom-right of the embed) */
.spline-embed__cover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--black);
  z-index: 2;
  pointer-events: auto;
}
@media (max-width: 820px) {
  .form-hero { grid-template-columns: 1fr; text-align: center; }
  .form-hero__title img { margin-inline: auto; }
}
/* shrink the whole 3D phone box on smaller screens so it isn't oversized */
@media (max-width: 820px) { .spline-embed { zoom: 0.6; } }   /* tablet ≈ 288px */
@media (max-width: 600px) { .spline-embed { zoom: 0.45; } }  /* phone  ≈ 216px */

.form-embed {
  width: min(100% - 2*var(--pad), 820px);
  margin: 0 auto clamp(3rem,8vw,6rem);
  min-height: 60vh;
  border-radius: 18px;
  overflow: hidden;
}
/* Weavely embed.js injects an auto-resizing iframe that grows to fit the whole form,
   so the page scrolls normally — no trapped inner scrollbar. */
.form-embed iframe { width: 100%; border: 0; display: block; }
.form-embed__fallback { display: block; text-align: center; padding: 2rem; color: var(--muted); }

/* ---------- owner profiles + carousel ---------- */
.profile { margin-bottom: clamp(3.5rem, 9vw, 6rem); }
.profile:last-child { margin-bottom: 0; }
.profile__info { text-align: center; max-width: 60ch; margin: clamp(1.5rem,4vw,2.25rem) auto 0; display: grid; gap: 1rem; justify-items: center; }
.profile__name { font-size: clamp(2.5rem, 11vw, 7rem); line-height: 0.92; text-transform: uppercase; color: var(--pink); }
.profile__role { color: var(--white); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.85rem; font-weight: 600; }
.profile__bio { color: var(--muted); font-size: clamp(1rem, 2.1vw, 1.15rem); }

/* endless auto-scrolling marquee — glides left and loops seamlessly */
.marquee {
  width: 100%;
  overflow: hidden;
  /* soft fade at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-left 40s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track figure {
  flex: 0 0 auto;
  width: min(72vw, 380px);
  aspect-ratio: 3 / 4;
  margin: 0 clamp(0.75rem, 2vw, 1.25rem) 0 0;   /* trailing gap owned per-item → seamless at -50% */
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
}
.marquee__track img { width: 100%; height: 100%; object-fit: cover; }

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }   /* hold still for motion-sensitive users */
}

/* team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.team-card { display: grid; gap: 0.75rem; }
.team-card__media { aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; background: var(--ink); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.15rem; text-transform: uppercase; }
.team-card p { color: var(--pink); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
