/* Gallardo Creative — Visuals With Purpose
   Black / white, typography-led. */

:root {
  --paper: #FAFAF8;
  --paper-2: #F1F0EC;
  --ink: #0E0E0E;
  --ink-2: #2A2A2A;
  --muted: #6E6E6A;
  --line: rgba(14, 14, 14, 0.14);
  --line-strong: #0E0E0E;
  --inv-muted: #9A9A95;
  --inv-line: rgba(250, 250, 248, 0.16);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin: 0;
}
.display em { font-style: italic; font-weight: 800; }
.h-xl { font-size: clamp(38px, 10.4vw, 176px); }
.h-lg { font-size: clamp(32px, 7vw, 112px); }
@media (max-width: 520px) { .display { font-stretch: 100%; } }
.h-md { font-size: clamp(32px, 4.6vw, 68px); }
.h-sm { font-size: clamp(24px, 2.6vw, 36px); line-height: 1; }

.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; max-width: 34ch; color: var(--ink-2); }
.muted { color: var(--muted); }
p { margin: 0 0 1em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.inv .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.inv .btn:hover { background: transparent; color: var(--paper); }
.inv .btn.ghost { background: transparent; color: var(--paper); }
.inv .btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn:disabled { opacity: .35; cursor: not-allowed; }

.link-u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .3s var(--ease); }
.link-u:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav .logo img { height: 18px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.nav ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { padding: 11px 16px; font-size: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .3s var(--ease), opacity .3s; }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav ul, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    display: block; position: fixed; inset: 68px 0 0 0; z-index: 49;
    background: var(--paper); padding: 32px var(--gutter);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .mobile-menu a { display: block; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu a.display { font-size: 40px; }
  .mobile-menu a.btn { display: flex; margin-top: 28px; width: 100%; justify-content: center; padding: 18px 24px; border-bottom: 1px solid var(--ink); }
  body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 11vw, 160px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); align-items: end; }
.sec-head .label { align-self: start; padding-top: 10px; }
.rule { border-top: 1px solid var(--line-strong); }
.inv { background: var(--ink); color: var(--paper); }
.inv .label, .inv .muted { color: var(--inv-muted); }
.inv .lead { color: #D8D8D3; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 96px); }
.hero-top { display: flex; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.hero h1 { font-size: clamp(46px, 14.5vw, 176px); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .08s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes rise { to { transform: none; } }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 6vw, 72px); align-items: end; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-top { flex-direction: column; gap: 6px; } }

/* viewfinder */
.viewfinder {
  position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%;
  background: var(--paper-2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(20px, 3vw, 36px);
}
.viewfinder::before, .viewfinder::after,
.viewfinder .c3, .viewfinder .c4 {
  content: ""; position: absolute; width: 26px; height: 26px; border: 0 solid var(--ink);
}
.viewfinder::before { top: 12px; left: 12px; border-top-width: 1.5px; border-left-width: 1.5px; }
.viewfinder::after { top: 12px; right: 12px; border-top-width: 1.5px; border-right-width: 1.5px; }
.viewfinder .c3 { bottom: 12px; left: 12px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viewfinder .c4 { bottom: 12px; right: 12px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-top, .vf-bot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vf-rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 8px; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf-cross { position: absolute; left: 50%; top: 24%; width: 34px; height: 34px; transform: translate(-50%, -50%); opacity: .3; }
.vf-cross::before, .vf-cross::after { content: ""; position: absolute; background: var(--ink); }
.vf-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.vf-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.vf-body { position: relative; z-index: 1; }
.vf-brand { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: .95; letter-spacing: -0.02em; }
.vf-typical { margin-top: 18px; font-size: 15px; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.vf-intent { margin-top: 10px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; max-width: 30ch; }
.vf-swap { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.vf-swap.out { opacity: 0; transform: translateY(8px); }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 18px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-size: .55em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* contrast rows */
.contrast { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.contrast > div { padding: 32px 28px 36px 0; border-right: 1px solid var(--line); }
.contrast > div + div { padding-left: 28px; }
.contrast > div:last-child { border-right: 0; }
.contrast .k { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.contrast h3 { margin: 18px 0 22px; }
.contrast .no { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; margin-bottom: 8px; font-size: 15px; }
.contrast .yes { font-size: 16px; }
.contrast .yes b { font-weight: 600; }
@media (max-width: 860px) {
  .contrast { grid-template-columns: 1fr; }
  .contrast > div, .contrast > div + div { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* steps / process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid currentColor; }
.steps > div { padding: 28px 24px 8px 0; }
.steps .n { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.steps h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 12px; line-height: 1; }
.steps p { font-size: 15px; color: var(--muted); }
.inv .steps p { color: var(--inv-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps > div { padding-right: 16px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps h3 { margin-top: 16px; } }

/* list of blueprint chapters */
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid currentColor; }
.chapters li { display: grid; grid-template-columns: 80px 1fr 1.3fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--inv-line); align-items: baseline; }
.chapters li .n { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; }
.chapters li h3 { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px); line-height: 1; letter-spacing: -0.01em; }
.chapters li p { margin: 0; font-size: 15px; color: var(--inv-muted); }
.chapters.light li { border-bottom-color: var(--line); }
.chapters.light li p { color: var(--muted); }
@media (max-width: 760px) { .chapters li { grid-template-columns: 48px 1fr; } .chapters li p { grid-column: 2; } }

/* packages */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); }
.pkg h3.display { font-size: clamp(30px, 3.3vw, 52px); font-stretch: 100%; padding-right: .08em; }
.pkg { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line-strong); display: flex; flex-direction: column; }
.pkg:last-child { border-right: 0; }
.pkg.featured { background: var(--ink); color: var(--paper); }
.pkg.featured .muted, .pkg.featured .label { color: var(--inv-muted); }
.pkg .top { display: flex; justify-content: space-between; align-items: baseline; }
.pkg h3 { margin: 28px 0 10px; }
.pkg .for { font-size: 15px; min-height: 3.2em; }
.pkg .price { margin: 28px 0 4px; font-family: var(--display); font-weight: 700; font-stretch: 100%; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; }
.pkg .price small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; display: block; color: var(--muted); margin-bottom: 6px; }
.pkg.featured .price small { color: var(--inv-muted); }
.pkg ul { list-style: none; margin: 24px 0 32px; padding: 0; border-top: 1px solid var(--line); flex: 1; }
.pkg.featured ul { border-top-color: var(--inv-line); }
.pkg li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 15px; position: relative; }
.pkg.featured li { border-bottom-color: var(--inv-line); }
.pkg li::before { content: "—"; position: absolute; left: 0; }
.pkg .btn { justify-content: space-between; }
.pkg.featured .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pkg.featured .btn:hover { background: transparent; color: var(--paper); }
/* Signature: the bold one */
.pkg.signature { --burgundy: #6E0F1E; background: var(--burgundy); color: #FBF3F0; position: relative; overflow: hidden; }
.pkg.signature > * { position: relative; z-index: 1; }
.pkg.signature::before {
  content: ""; position: absolute; z-index: 0; right: -14%; top: -6%;
  width: 96%; aspect-ratio: 652 / 512;
  background: url("../img/g-mark-gold.png") center / contain no-repeat;
  opacity: .2; pointer-events: none;
}
.pkg.signature .muted, .pkg.signature .label, .pkg.signature .price small { color: #D9BC82; }
.pkg.signature h3 { font-style: italic; }
.pkg.signature ul { border-top-color: rgba(251, 243, 240, .22); }
.pkg.signature li { border-bottom-color: rgba(251, 243, 240, .22); }
.pkg.signature .btn { background: #FBF3F0; color: var(--burgundy); border-color: #FBF3F0; }
.pkg.signature .btn:hover { background: transparent; color: #FBF3F0; }

@media (max-width: 960px) {
  .packages { grid-template-columns: 1fr; }
  .pkg { border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .pkg:last-child { border-bottom: 0; }
  .pkg .for { min-height: 0; }
}

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.principles { counter-reset: p; border-top: 1px solid var(--line-strong); }
.principles > div { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.principles .n { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; padding-top: 6px; }
.principles h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; letter-spacing: -0.01em; }
.principles p { margin: 0; color: var(--muted); max-width: 52ch; }
@media (max-width: 520px) { .principles > div { grid-template-columns: 1fr; gap: 8px; } }

/* founder */
.founder-card { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); display: flex; align-items: flex-end; padding: 28px; overflow: hidden; }
.founder-card .mono-g { position: absolute; right: -6%; top: 4%; width: 78%; opacity: .07; }
.founder-card .cap { position: relative; z-index: 2; }
.founder-card .founder-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.founder-card.has-photo::after { content: ""; position: absolute; inset: 50% 0 0 0; z-index: 1; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.founder-card.has-photo .cap, .founder-card.has-photo .cap .label { color: var(--paper); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; margin: 0; max-width: 64ch; color: var(--muted); }

/* CTA band */
.cta-band { padding: clamp(80px, 12vw, 180px) 0; text-align: left; }
.cta-band .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 40px; }

/* footer */
footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0 28px; }
footer .big-logo { width: 100%; max-width: 100%; opacity: 1; margin: clamp(40px, 7vw, 96px) 0 28px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
footer .cols > div { min-width: 0; }
footer .cols a { overflow-wrap: anywhere; }
footer .cols a { display: block; text-decoration: none; padding: 3px 0; }
footer .cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
footer .label { color: var(--inv-muted); margin-bottom: 14px; display: block; }
footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--inv-line); padding-top: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--inv-muted); }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* Blueprint page: jump to form + launch note */
#bp-form, #bp-done { scroll-margin-top: 88px; }
.intro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 32px; }
.launch-note { margin-top: clamp(40px, 6vw, 64px); background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline; }
.launch-note .label { color: var(--inv-muted); }
.launch-note p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 62ch; }
@media (max-width: 760px) { .launch-note { grid-template-columns: 1fr; gap: 10px; } }
.jump-form {
  position: fixed; z-index: 40; left: 50%; bottom: 20px; transform: translate(-50%, 0);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 14px 22px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.jump-form span { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.jump-form.gone { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }

.confidential { margin-top: 28px; border: 1px solid var(--line-strong); padding: 18px 20px; }
.confidential .label { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.confidential .label::before { content: ""; width: 9px; height: 11px; border: 1.5px solid var(--ink); border-radius: 2px; box-shadow: inset 0 -5px 0 var(--ink); }
.confidential p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }

/* free Blueprint promises */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); margin-top: clamp(40px, 6vw, 72px); }
.promise > div { padding: 24px 28px 8px 0; border-right: 1px solid var(--line); }
.promise > div + div { padding-left: 28px; }
.promise > div:last-child { border-right: 0; }
.promise h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); line-height: 1; letter-spacing: -0.01em; margin: 16px 0 10px; }
.promise p { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) {
  .promise { grid-template-columns: 1fr; }
  .promise > div, .promise > div + div { padding: 24px 0 8px; border-right: 0; border-bottom: 1px solid var(--line); }
}

/* page intro (inner pages) */
.page-intro { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-intro .display { margin: 18px 0 28px; }

/* reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(64px) scale(.985); filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
/* big titles also wipe up from a line */
.display.reveal { clip-path: inset(0 0 100% 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease), clip-path 1.2s var(--ease); }
.display.reveal.in { clip-path: inset(-20% -10% -20% -10%); }

/* glitch: short "tear" bursts on italic title words (toggled from main.js).
   Slices of the word shift sideways in the same ink, covering the original band, with a very faint red/green edge. */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; color: inherit; background: var(--paper);
}
.inv .glitch::before, .inv .glitch::after { background: var(--ink); }
.glitch::before { text-shadow: -1px 0 rgba(255, 40, 60, .28); }
.glitch::after { text-shadow: 1px 0 rgba(40, 220, 120, .24); }
.glitch.glitching { animation: gl-jit .45s steps(1) both; }
.glitch.glitching::before { opacity: 1; animation: gl-a .45s steps(1) both; }
.glitch.glitching::after { opacity: 1; animation: gl-b .45s steps(1) both; }
@keyframes gl-jit { 0% { transform: translateX(.01em); } 30% { transform: none; } 60% { transform: translateX(-.008em); } 100% { transform: none; } }
@keyframes gl-a {
  0%   { clip-path: inset(18% 0 70% 0); transform: translateX(-.035em); }
  25%  { clip-path: inset(62% 0 30% 0); transform: translateX(.025em); }
  50%  { clip-path: inset(40% 0 52% 0); transform: translateX(-.018em); }
  75%  { clip-path: inset(80% 0 12% 0); transform: translateX(.03em); }
  100% { clip-path: inset(50% 0 50% 0); transform: none; opacity: 0; }
}
@keyframes gl-b {
  0%   { clip-path: inset(70% 0 22% 0); transform: translateX(.02em); }
  25%  { clip-path: inset(8% 0 84% 0);  transform: translateX(-.03em); }
  50%  { clip-path: inset(55% 0 38% 0); transform: translateX(.015em); }
  75%  { clip-path: inset(28% 0 64% 0); transform: translateX(-.022em); }
  100% { clip-path: inset(50% 0 50% 0); transform: none; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
  .glitch::before, .glitch::after { display: none; }
  .marquee-track, .hero h1 .line > span { animation: none; transform: none; }
}

/* ======================================================
   BLUEPRINT EXPERIENCE (form)
   ====================================================== */
.bp-app { border: 1px solid var(--line-strong); background: var(--paper); }
.bp-progress { display: flex; border-bottom: 1px solid var(--line-strong); }
.bp-progress button {
  flex: 1; background: none; border: 0; border-right: 1px solid var(--line);
  padding: 14px 10px; text-align: left; cursor: default;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  position: relative;
}
.bp-progress button:last-child { border-right: 0; }
.bp-progress button.done { color: var(--ink); cursor: pointer; }
.bp-progress button.current { color: var(--paper); background: var(--ink); }
.bp-progress .t { display: block; }
@media (max-width: 760px) { .bp-progress .t { display: none; } .bp-progress button { text-align: center; } }

.bp-body { padding: clamp(24px, 5vw, 64px); min-height: 520px; }
.bp-step { display: none; }
.bp-step.active { display: block; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bp-step h2 { margin: 12px 0 10px; }
.bp-step > .muted { max-width: 60ch; margin-bottom: 36px; }

.field { margin-bottom: 30px; }
.field > label, .field > .flabel { display: block; font-weight: 500; margin-bottom: 4px; }
.field .hint { display: block; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.field .req { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 6px; letter-spacing: .06em; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url],
.field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 12px 0; font-size: 18px; border-radius: 0; outline: none;
  transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-width: 2px; padding-bottom: 11px; }
.field.error input, .field.error textarea, .field.error select { border-bottom-color: #B00020; }
.field .err { display: none; color: #B00020; font-size: 13px; margin-top: 6px; }
.field.error .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--line-strong);
  font-size: 14px; cursor: pointer; user-select: none;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chip span:hover { background: var(--paper-2); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.chip input:disabled + span { opacity: .35; cursor: not-allowed; }

.upload {
  border: 1px dashed var(--line-strong); padding: 24px; text-align: center; cursor: pointer;
  transition: background .2s;
}
.upload:hover, .upload.drag { background: var(--paper-2); }
.upload input { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumbs figure { margin: 0; position: relative; width: 84px; height: 84px; border: 1px solid var(--line); background: var(--paper-2); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 12px; cursor: pointer; line-height: 22px; padding: 0; }

.bp-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px clamp(24px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.bp-nav .count { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }

.review { border-top: 1px solid var(--line-strong); }
.review .grp { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr auto; gap: 20px; }
.review .grp h4 { margin: 0; font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.review dl { margin: 0; display: grid; grid-template-columns: 170px 1fr; gap: 6px 16px; font-size: 15px; }
.review dt { color: var(--muted); }
.review dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.review .edit { background: none; border: 0; text-decoration: underline; cursor: pointer; font-size: 13px; font-family: var(--mono); }
@media (max-width: 760px) { .review .grp { grid-template-columns: 1fr auto; } .review dl { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 2px; } .review dd { margin-bottom: 10px; } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin-top: 28px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); flex: none; }

.bp-done { text-align: left; padding: clamp(32px, 6vw, 80px); }
.bp-done .tick { width: 56px; height: 56px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 24px; margin-bottom: 28px; }
.bp-done ol { padding-left: 1.2em; max-width: 56ch; }
.bp-done li { margin-bottom: 10px; }
.form-alert { display: none; margin-top: 16px; padding: 14px 16px; border: 1px solid #B00020; color: #B00020; font-size: 15px; }
.form-alert.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bp-aside { position: sticky; top: 96px; }
.bp-layout { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 1000px) { .bp-layout { grid-template-columns: minmax(0, 1fr); } .bp-aside { position: static; } }
.bp-progress button { min-width: 0; }
@media (max-width: 420px) { .bp-progress button { padding: 12px 2px; } }
.facts { border-top: 1px solid var(--line-strong); margin-top: 28px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts div span:first-child { color: var(--muted); }

/* package value line */
.pkg .worth { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 15px; line-height: 1.5; font-weight: 500; }
.pkg .worth span { display: block; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pkg.featured .worth { border-top-color: var(--inv-line); }
.pkg.featured .worth span { color: var(--inv-muted); }
.pkg.signature .worth { border-top-color: rgba(251, 243, 240, .25); }
.pkg.signature .worth span { color: #D9BC82; }
.pkg.signature .price { color: #E8CC8E; }
.faq details p + p { margin-top: -12px; }

/* package "what's included" groups */
.pkg ul.incl li.h { padding: 18px 0 6px; border-bottom: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pkg ul.incl li.h::before { content: none; }
.pkg ul.incl li.h:first-child { padding-top: 12px; }
.pkg.featured ul.incl li.h { color: var(--inv-muted); }
.pkg.signature ul.incl li.h { color: #D9BC82; }

/* ======================================================
   BUILD-A-CAMPAIGN
   ====================================================== */
.bc-how { list-style: none; padding: 0; margin: clamp(32px, 5vw, 56px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.bc-how li { padding: 18px 24px 0 0; font-size: 15px; color: var(--ink-2); }
.bc-how li .label { display: block; margin-bottom: 8px; }
@media (max-width: 760px) { .bc-how { grid-template-columns: 1fr; } .bc-how li { padding: 14px 0; border-bottom: 1px solid var(--line); } }

.bc-wrap { padding: 0 0 clamp(72px, 10vw, 140px); }
.bc-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .bc-layout { grid-template-columns: minmax(0, 1fr); } }

.bc-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.bc-presets .label { margin-right: 8px; }
.bc-presets button { background: none; border: 1px solid var(--line-strong); padding: 9px 16px; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.bc-presets button.on { background: var(--ink); color: var(--paper); }

.bc-group { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.bc-group > .label { display: block; margin-bottom: 14px; }
.bc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.bc-card {
  text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 14px 14px 12px; cursor: grab;
  display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.4;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.bc-card:hover { border-color: var(--ink); background: #fff; transform: translateY(-2px); }
.bc-card:active { cursor: grabbing; }
.bc-card-top { display: flex; justify-content: space-between; gap: 10px; }
.bc-card b { font-weight: 600; }
.bc-plus { font-family: var(--mono); width: 22px; height: 22px; flex: none; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 13px; line-height: 1; }
.bc-desc { color: var(--muted); }
.bc-cost { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-top: auto; padding-top: 4px; }

.bc-box { position: sticky; top: 88px; border: 1.5px solid var(--ink); background: var(--paper); padding: clamp(20px, 2.5vw, 28px); transition: background .3s, color .3s, box-shadow .2s; }
.bc-box.ready { box-shadow: 0 0 0 4px rgba(14,14,14,.08); }
.bc-box.over { box-shadow: 0 0 0 4px var(--ink); }
.bc-drop-hint { display: none; border: 1px dashed currentColor; padding: 14px; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 14px 0 0; }
.bc-box.ready .bc-drop-hint { display: block; }
@media (max-width: 960px) { .bc-box { position: static; } }

.bc-status { font-family: var(--display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 60px); line-height: .95; letter-spacing: -.02em; margin: 8px 0 6px; }
.bc-status.is-custom { font-style: italic; }
.bc-status.pop { animation: pop .5s var(--ease); }
@keyframes pop { 30% { transform: scale(1.06); } }
.bc-blurb { font-size: 15px; color: var(--muted); margin: 0; }

.bc-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line-strong); max-height: 46vh; overflow: auto; }
.bc-list li { display: grid; grid-template-columns: 96px 1fr 26px; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bc-list li .g { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bc-list li.base .n { color: var(--muted); }
.bc-list li.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: rgba(217,188,130,.45); } 100% { background: transparent; } }
.bc-list button { background: none; border: 1px solid var(--line-strong); width: 24px; height: 24px; border-radius: 50%; cursor: pointer; line-height: 1; padding: 0; }
.bc-list .inc { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--muted); }
.bc-sentence { font-size: 15px; line-height: 1.5; margin: 16px 0 0; padding: 14px; background: var(--paper-2); }
.bc-price-wrap { margin-top: 18px; }
.bc-price { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; margin: 4px 0 6px; }
.bc-note { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.bc-box .btn { width: 100%; justify-content: space-between; }
.bc-alt { display: block; margin-top: 12px; font-size: 14px; }

/* package colors carry into the box */
.bc-box.pkg-campaign { background: var(--ink); color: var(--paper); }
.bc-box.pkg-campaign .label, .bc-box.pkg-campaign .bc-blurb, .bc-box.pkg-campaign .bc-note, .bc-box.pkg-campaign .bc-list .g, .bc-box.pkg-campaign .bc-list .inc, .bc-box.pkg-campaign li.base .n { color: var(--inv-muted); }
.bc-box.pkg-campaign .bc-list, .bc-box.pkg-campaign .bc-list li { border-color: var(--inv-line); }
.bc-box.pkg-campaign .bc-sentence { background: rgba(255,255,255,.07); }
.bc-box.pkg-campaign .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.bc-box.pkg-campaign .bc-list button { border-color: var(--paper); color: var(--paper); }
.bc-box.pkg-signature { background: #6E0F1E; color: #FBF3F0; border-color: #6E0F1E; }
.bc-box.pkg-signature .label, .bc-box.pkg-signature .bc-blurb, .bc-box.pkg-signature .bc-note, .bc-box.pkg-signature .bc-list .g, .bc-box.pkg-signature .bc-list .inc, .bc-box.pkg-signature li.base .n { color: #D9BC82; }
.bc-box.pkg-signature .bc-price { color: #E8CC8E; }
.bc-box.pkg-signature .bc-list, .bc-box.pkg-signature .bc-list li { border-color: rgba(251,243,240,.22); }
.bc-box.pkg-signature .bc-sentence { background: rgba(255,255,255,.07); }
.bc-box.pkg-signature .btn { background: #FBF3F0; color: #6E0F1E; border-color: #FBF3F0; }
.bc-box.pkg-signature .bc-list button { border-color: #FBF3F0; color: #FBF3F0; }

/* mobile summary bar */
.bc-bar { display: none; }
@media (max-width: 960px) {
  .bc-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--ink); color: var(--paper); padding: 12px 16px; font-size: 14px; }
  .bc-bar .label { color: var(--inv-muted); display: block; font-size: 10px; }
  .bc-bar b { font-family: var(--display); font-stretch: 112%; text-transform: uppercase; font-size: 18px; }
  .bc-bar a { color: var(--paper); font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
  body[data-page="build"] footer { padding-bottom: 80px; }
}


/* ======================================================
   Interactive effects (assets/js/fx.js)
   ====================================================== */
/* 2. particle headline: the real text stays for screen readers and selection, the dots draw it */
[data-particles].pt-on { position: relative; color: transparent; }
[data-particles].pt-on .line > span { animation: none; transform: none; }
.pt-canvas { position: absolute; left: calc(var(--pt-pad, 80px) * -1); top: calc(var(--pt-pad, 80px) * -1); pointer-events: none; }
.hero { overflow-x: clip; }

/* 4. word-by-word scroll reveal */
.words-on .w { opacity: .16; transition: opacity .25s linear; }

/* 5. tilt cards */
.tilt { position: relative; }
.tilt-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .35s;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), var(--glow, rgba(212,175,106,.20)), transparent 62%);
}
.tilting .tilt-glow { opacity: 1; }
.pk-card.featured, .pk-card.signature { --glow: rgba(255,255,255,.14); }

/* "Limited slots this week" counter under Confidential (Blueprint page) */
.bp-slots { margin-top: 12px; border: 1px solid var(--line-strong); padding: 18px 20px; }
.bp-slots .label { color: var(--ink); display: flex; align-items: center; gap: 8px; }
.bp-slots .label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 3px rgba(47,179,107,.18); }
.bp-slots.is-full .label::before { background: #c8443a; box-shadow: 0 0 0 3px rgba(200,68,58,.18); }
.bp-slots-n { margin: 10px 0 0; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.02em; }
.bp-slots-n span { color: var(--muted); }
.bp-slots-bar { display: flex; gap: 4px; margin-top: 14px; }
.bp-slots-bar i { flex: 1; height: 6px; background: var(--line); }
.bp-slots-bar i.on { background: var(--ink); }
.bp-slots-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

/* launch countdown (Blueprint page), same box as the slot counter */
.bp-count { margin-top: 12px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg, #F6F5F1); padding: 18px 20px; }
.bp-count .label { color: inherit; opacity: .75; }
.bp-count-n { display: flex; align-items: flex-start; margin-top: 10px; font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-count-n span { display: flex; flex-direction: column; }
.bp-count-n i { font-style: normal; padding: 0 2px; }
.bp-count-n small { margin-top: 6px; font-family: var(--mono); font-weight: 400; font-stretch: 100%; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.bp-count .bp-slots-note { color: inherit; opacity: .75; }
.bp-count.is-over .bp-count-n { opacity: .35; }

/* waiting list: shown on the form when this week's slots are full */
.bp-waitlist { margin: 0 0 4px; padding: 14px 18px; border: 1px dashed currentColor; background: rgba(200,68,58,.05); }
.bp-waitlist .label { color: #b23a31; }
.bp-waitlist p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.bp-waitlist-note { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid #c8443a; background: rgba(200,68,58,.05); font-size: 15px; line-height: 1.5; }
.bp-closed h2 em { font-style: italic; }
