/* =========================================================================
   THE STRENGTH COLLECTIVE — shared stylesheet
   Dark theme, whole page. One accent family (purple/lilac). One typeface.
   Tokens and conventions per SC-design.md.
   ========================================================================= */

:root {
  --deep: #252128;
  --surface: #2f2b32;
  --surface-2: #35313a;
  --ink: #191620;
  --purple-ink: #2a1636;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --text: #ffffff;
  --text-2: #e8e8e8;
  --text-3: #bdbdbd;
  --lilac: #ccb1d5;
  --purple: #b463d2;
  --purple-bright: #c47ee0;
  --purple-deep: #8f43ae;
  --maxw: 1240px;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--surface); color: var(--text-2);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: var(--lilac); text-decoration: none; }
a:hover { color: var(--purple-bright); }
img { max-width: 100%; display: block; }
input::placeholder, textarea::placeholder { color: #8b8590; }
::selection { background: rgba(180,99,210,.4); }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; color: var(--text); }
h1, h2 { text-transform: uppercase; font-weight: 900; letter-spacing: -.015em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; position: relative; z-index: 2; }
#shell { position: relative; background: var(--surface); }

/* ---------- section rhythm ---------- */
.sec     { padding-block: clamp(72px, 10vw, 140px); }
.sec-md  { padding-block: clamp(72px, 9vw, 120px); }
.sec-lg  { padding-block: clamp(88px, 11vw, 150px); }
.sec-xl  { padding-block: clamp(96px, 13vw, 180px); }
.sec-xl2 { padding-block: clamp(96px, 12vw, 160px); }
.bg-ink-deep     { background: linear-gradient(180deg, var(--ink), var(--deep)); }
.bg-deep-surface { background: linear-gradient(180deg, var(--deep), var(--surface)); }
.bg-surface-deep { background: linear-gradient(180deg, var(--surface), var(--deep)); }
.bg-surface      { background: var(--surface); }

/* ---------- type ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--purple-bright); margin-bottom: 22px; }
.eyebrow.lilac { color: var(--lilac); }
.accent { color: var(--lilac); }
.h-hero { font-size: clamp(50px, 9vw, 118px); line-height: .92; text-shadow: 0 3px 40px rgba(0,0,0,.5); }
.h-page { font-size: clamp(46px, 7.5vw, 100px); line-height: .92; text-shadow: 0 3px 40px rgba(0,0,0,.5); }
.h-sec { font-size: clamp(32px, 5vw, 60px); }
.h-kicker { font-size: clamp(30px, 5.5vw, 68px); line-height: .98; letter-spacing: -.02em; }
.hero-sub { margin: 28px 0 0; max-width: 56ch; font-size: clamp(17px, 2vw, 22px); line-height: 1.5; font-weight: 500; color: var(--text-2); text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.lead { margin: 26px 0 0; font-size: clamp(16px, 1.7vw, 19px); color: var(--text-3); max-width: 62ch; }
.num-unit { font-style: normal; color: var(--text-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
  font-size: 14px; line-height: 1; white-space: nowrap;
  padding: 16px 26px; border-radius: var(--pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s, background .18s, border-color .18s, color .18s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--purple); border-color: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); color: #fff; }
.btn-ghost:hover { border-color: var(--purple-bright); color: var(--purple-bright); background: rgba(180,99,210,.10); }
.btn-ghost.blur { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-lg { padding: 19px 34px; font-size: 15px; }
.btn-sm { padding: 12px 20px; font-size: 13px; }
.btn svg { flex: 0 0 auto; }

/* ---------- nav ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 74px;
  border-bottom: 1px solid transparent;
  transition: background .3s, height .3s, border-color .3s;
}
#nav.scrolled {
  background: rgba(30,27,34,.86);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line); height: 66px;
}
#nav nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: invert(1); flex: 0 0 auto; }
.brand-stack { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.brand-tag { font-size: 9px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--lilac); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); }
.nav-links a:hover { color: var(--purple-bright); }
.nav-links a[aria-current="page"] { color: var(--purple-bright); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-tel { font-size: 13.5px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.nav-tel:hover { color: var(--purple-bright); }
#burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
#burger:hover { color: var(--purple-bright); }

/* ---------- drawer ---------- */
#drawer {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(25,22,32,.98);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transform: translateY(-100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 40px;
}
#drawer.open { transform: none; }
#drawer a.dlink {
  font-size: 26px; font-weight: 800; text-transform: uppercase; color: #fff;
  padding: 14px 8px; width: min(340px, 80vw); text-align: center;
  border-bottom: 1px solid var(--line);
}
#drawer a.dlink:last-of-type { border-bottom: 0; }
#drawer a.dlink:hover, #drawer a.dlink[aria-current="page"] { color: var(--purple-bright); }
#drawer .btn { margin-top: 22px; }
#drawer-close { position: absolute; top: 24px; right: 24px; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
#drawer-close:hover { color: var(--purple-bright); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero.short { min-height: 78vh; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-zoom { animation: heroZoom 16s var(--ease) both; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(25,22,32,.72) 0%, rgba(25,22,32,.20) 34%, rgba(25,22,32,.55) 68%, rgba(25,22,32,.97) 100%),
    radial-gradient(90% 70% at 15% 90%, rgba(143,67,174,.34), transparent 60%);
}
.hero .wrap { padding-top: 120px; padding-bottom: clamp(56px, 8vw, 104px); }
.hero.short .wrap { padding-top: 140px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero-copy { max-width: 820px; }
.hero-claims { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--lilac); margin-bottom: 26px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--purple); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-block: clamp(40px, 5vw, 64px); }
.stat { padding: 8px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: clamp(26px, 3.4vw, 40px); line-height: 1; font-weight: 900; letter-spacing: -.02em; color: #fff; }
.stat-label { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; }

/* ---------- panels & cards ---------- */
.payoff {
  border-radius: var(--r-lg); padding: clamp(32px, 4.5vw, 56px);
  background: linear-gradient(120deg, var(--purple-ink), var(--surface-2));
  border: 1px solid var(--line); max-width: 900px;
}
.payoff p { margin: 0; font-size: clamp(19px, 2.6vw, 30px); line-height: 1.25; font-weight: 800; color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.cards .full { grid-column: 1 / -1; }
.pcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.pcard .cbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.pcard:hover .cbg { transform: scale(1.06); }
.pcard .cscrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,25,.15), rgba(20,18,25,.86)); pointer-events: none; }
.tag {
  align-self: flex-start; display: inline-flex; padding: 7px 14px; border-radius: var(--pill);
  background: rgba(37,33,40,.45);
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 800; letter-spacing: .20em; text-transform: uppercase; color: var(--lilac);
  margin-bottom: 14px; position: relative;
}
.pcard h3 { font-size: clamp(21px, 2.4vw, 30px); text-transform: uppercase; position: relative; }
.pcard > p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; font-weight: 500; color: var(--text-2); max-width: 38ch; position: relative; }
.pcard.grad { background: linear-gradient(140deg, var(--purple-deep), var(--purple-ink)); }
.watermark {
  position: absolute; top: 22px; right: 26px;
  font-size: clamp(60px, 8vw, 110px); line-height: .85; font-weight: 900; letter-spacing: -.03em;
  text-transform: uppercase; color: rgba(255,255,255,.10); text-align: right; pointer-events: none;
}

/* ---------- splits & media ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.start { align-items: start; }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glow { position: absolute; inset: 0; background: radial-gradient(70% 50% at 30% 20%, rgba(180,99,210,.28), transparent 60%); mix-blend-mode: screen; pointer-events: none; }
.glow.drift { animation: drift 14s ease-in-out infinite; }
.price-row { margin-top: 30px; display: flex; align-items: baseline; gap: 12px; }
.price-big { font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: #fff; }
.price-unit { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }

/* ---------- lists ---------- */
.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--text-2); }
.ticks .tick { color: var(--purple-bright); font-weight: 900; }
.ticks.ruled li:last-child { border-bottom: 1px solid var(--line); }
.ticks-sm { list-style: none; margin: 14px 0 0; padding: 0; max-width: 44ch; position: relative; }
.ticks-sm li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.ticks-sm .tick { color: var(--purple-bright); font-weight: 900; }
.ticks-sm.lilac li { color: #fff; }
.ticks-sm.lilac .tick { color: var(--lilac); }
.rowlist { list-style: none; margin: 34px 0 0; padding: 0; }
.rowlist li { padding: 15px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 15px; color: var(--text-2); }
.rowlist .arrow { color: var(--purple-bright); }
.rowlist a { color: var(--text-2); }
.rowlist a:hover { color: var(--purple-bright); }
.speclist { list-style: none; margin: 30px 0 0; padding: 0; max-width: 480px; }
.speclist li { padding: 15px 0; border-top: 1px solid var(--line); }
.speclist li:last-child { border-bottom: 1px solid var(--line); }
.speclist b { display: block; font-size: 15.5px; font-weight: 800; color: #fff; }
.speclist span { font-size: 13px; font-weight: 500; color: var(--text-3); line-height: 1.45; }

/* ---------- inventory list (full-list.html) ---------- */
.inv-cols { columns: 300px 3; column-gap: 16px; }
.inv-card {
  break-inside: avoid; margin-bottom: 16px; padding: 26px 28px 20px;
  border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line);
}
.inv-card h3 { margin: 0 0 6px; font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.inv-sub { padding: 14px 0 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .20em; text-transform: uppercase; color: var(--purple-bright); }
.inv-item { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--text-2); }
.inv-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.inv-cta p { margin: 0; font-size: clamp(17px, 2vw, 22px); font-weight: 800; color: var(--text); }

/* ---------- contrast columns ---------- */
.contrast { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.contrast h3 { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .20em; text-transform: uppercase; }
.contrast ul { list-style: none; margin: 0; padding: 0; }
.contrast li { padding: 15px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; font-weight: 600; font-size: 15px; }
.contrast li:last-child { border-bottom: 1px solid var(--line); }
.col-not h3 { color: var(--text-3); }
.col-not li { color: var(--text-3); }
.col-not .x { color: #6a6470; font-weight: 900; }
.col-are h3 { color: var(--purple-bright); }
.col-are li { color: #fff; }
.col-are .tick { color: var(--purple-bright); font-weight: 900; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.step { padding: 28px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.step-num { font-size: clamp(34px, 4vw, 48px); font-weight: 900; letter-spacing: -.02em; color: var(--purple-bright); line-height: 1; }
.step h3 { margin-top: 16px; font-size: clamp(19px, 2vw, 24px); text-transform: uppercase; }
.step p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; font-weight: 500; color: var(--text-3); max-width: 34ch; }
.step.grad { background: linear-gradient(140deg, var(--purple-deep), var(--purple-ink)); }
.step.grad .step-num { color: var(--lilac); }
.step.grad p { color: #fff; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); position: relative; }
.plan.feature { background: linear-gradient(160deg, var(--purple-ink), var(--surface-2)); border-color: var(--purple); box-shadow: 0 24px 70px -30px rgba(180,99,210,.6); }
.ribbon { position: absolute; top: -13px; left: 30px; display: inline-flex; padding: 6px 14px; border-radius: var(--pill); background: var(--purple); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ptag { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--purple-bright); }
.pname { font-size: 24px; font-weight: 900; text-transform: uppercase; color: #fff; margin-top: 10px; }
.pfrom { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-top: 14px; }
.pprice { font-size: clamp(38px, 5vw, 52px); font-weight: 900; letter-spacing: -.02em; color: #fff; margin-top: 14px; }
.pfrom + .pprice { margin-top: 4px; }
.pprice .num-unit { font-size: .34em; }
.plan .ticks { flex: 1; }
.plan .btn { margin-top: 28px; width: 100%; }

/* ---------- glass / offer panels ---------- */
.glass {
  padding: clamp(30px, 4vw, 44px); border-radius: var(--r-lg);
  background: rgba(53,49,58,.72);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.glass .big { margin: 0; font-size: clamp(19px, 2.4vw, 28px); line-height: 1.25; font-weight: 800; color: #fff; max-width: 24ch; }
.glass .note { margin: 0; font-size: 12px; color: var(--text-3); }
.offer-card {
  display: flex; flex-direction: column; padding: clamp(30px, 4vw, 44px); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--purple-ink), var(--surface-2));
  border: 1px solid var(--purple); box-shadow: 0 24px 70px -30px rgba(180,99,210,.6);
}
.offer-card .ticks li { color: #fff; }
.offer-card .btn { margin-top: 26px; }
.offer-card .pprice .num-unit { font-size: .42em; }

/* ---------- mural ---------- */
.mural { position: relative; isolation: isolate; overflow: hidden; }
.mural-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mural-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30,27,34,.90), rgba(30,27,34,.965)); }
.mural .wrap { text-align: center; }
.mural .cta-row { justify-content: center; }

/* ---------- footer ---------- */
footer { background: linear-gradient(180deg, var(--surface), #1e1b22 220px); border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px; padding-top: 56px; }
.foot-blurb { margin: 18px 0 0; font-size: 14px; color: #8b8590; max-width: 36ch; }
footer h4 { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.foot-col p { margin: 0; font-size: 14px; font-weight: 500; color: var(--text-3); }
.foot-col p + p { margin-top: 12px; }
.foot-col a { color: var(--text-3); }
.foot-col a:hover { color: var(--lilac); }
.foot-links { display: flex; flex-direction: column; gap: 2px; }
.foot-links a { padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--text-3); }
.foot-links a:hover { color: var(--lilac); }
.foot-bottom { margin-top: 40px; padding: 22px 0 34px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot-copy { font-size: 12.5px; color: #8b8590; }
.badge { display: inline-flex; padding: 6px 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--lilac); }

/* ---------- thread ---------- */
#thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .5; }
#thread path { filter: drop-shadow(0 0 6px rgba(180,99,210,.65)); }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes drift { 0% { transform: translate3d(-4%,-2%,0); } 50% { transform: translate3d(4%,3%,0); } 100% { transform: translate3d(-4%,-2%,0); } }

@media (max-width: 1024px) {
  .nav-links, .nav-tel { display: none; }
  #burger { display: inline-flex; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero .wrap { padding-top: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-zoom, .glow.drift { animation: none !important; }
  .pcard:hover .cbg { transform: none; }
}
