/* =========================================================================
   Ace Anderson · Ace of All Trades
   Shared design system for every page.
   Component reference: docs/02-design-system.md
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --c-red: #ff1744;
  --c-purple: #6a1b9a;
  --c-gold: #ffce00;
  --c-blue: #2667FF;
  --ink: #111;
  --paper: #fff;
  --dark: #0d0d12;
  --dark-2: #15151d;
  --dark-3: #1e1e29;
  --mist: #f5f4f8;
  --muted: #55555f;
  --muted-dark: #a7a7b6;
  --line: rgba(17, 17, 17, .1);
  --line-dark: rgba(255, 255, 255, .12);

  /* Context-aware tokens: dark contexts flip these below */
  --soft: var(--muted);
  --rule: var(--line);
  --eyebrow: var(--c-red);

  --f-head: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-label: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --radius: 20px;
  --radius-pill: 100px;
  --shadow: 0 4px 22px rgba(0, 0, 0, .10);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --container: 1200px;
  --gutter: 20px;
  --section-y: 80px;
  --header-h: 72px;
}

@media (min-width: 800px) {
  :root { --gutter: 32px; --section-y: 120px; --header-h: 80px; }
}

.section--dark,
.page-dark,
.card--dark,
.site-footer {
  --soft: var(--muted-dark);
  --rule: var(--line-dark);
  --eyebrow: var(--c-gold);
}

.section--paper,
.section--mist {
  --soft: var(--muted);
  --rule: var(--line);
  --eyebrow: var(--c-red);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.page-dark { background: var(--dark); color: #fff; }

img, svg, video, iframe { display: block; max-width: 100%; }

a { color: inherit; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
strong { font-weight: 500; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; }

::selection { background: var(--c-red); color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -64px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-gold);
  color: var(--ink);
  font-family: var(--f-label);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

svg.i {
  width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.section { position: relative; isolation: isolate; padding-block: var(--section-y); }
.section--dark { background: var(--dark); color: #fff; }
.section--mist { background: var(--mist); color: var(--ink); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--tight { padding-block: calc(var(--section-y) * .55); }
.section--flush-top { padding-top: 0; }
.section--line { border-top: 1px solid var(--rule); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
@media (min-width: 800px) { .section-head { margin-bottom: 64px; } }

.grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--trio { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse > :first-child { order: 2; }
}

.stack > * + * { margin-top: 18px; }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: .98; letter-spacing: -.03em; }
.h2 { font-size: clamp(32px, 4.6vw, 56px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.12; }

.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--soft); }
.muted { color: var(--soft); }

.prose > * + * { margin-top: 18px; }
.prose p { color: var(--soft); }

.text-gradient {
  background: linear-gradient(90deg, var(--c-red), #ff6a3d 45%, var(--c-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gold { color: var(--c-gold); }
.text-red { color: var(--c-red); }

/* ---------- 5. Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  background: rgba(13, 13, 18, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: rgba(13, 13, 18, .86); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
.logo__mark {
  flex: none;
  width: 28px; height: 38px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: linear-gradient(150deg, var(--c-red), var(--c-purple));
  box-shadow: 0 6px 18px rgba(255, 23, 68, .35);
  transform: rotate(-8deg);
  transition: transform .35s var(--ease);
}
.logo__mark svg { width: 16px; height: 16px; fill: #fff; }
.logo:hover .logo__mark { transform: rotate(0deg) scale(1.05); }
.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.logo__text small {
  margin-top: 3px;
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.nav-toggle {
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 12px var(--gutter) 28px;
  background: rgba(13, 13, 18, .97);
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; }
.site-nav a {
  display: block;
  padding: 16px 2px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: color .2s, background .2s, box-shadow .2s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--c-gold); }

/* Last nav item = pill CTA */
.site-nav li:last-child a {
  margin-top: 20px;
  padding: 14px 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--c-blue);
  color: #fff;
  text-align: center;
}
.site-nav li:last-child a:hover { background: #1b55e3; color: #fff; box-shadow: 0 8px 24px rgba(38, 103, 255, .45); }

body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 30px; }
  .site-nav a { position: relative; padding: 8px 0; border: 0; font-size: 13px; }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--c-red), var(--c-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav li:last-child a { margin: 0 0 0 6px; padding: 12px 24px; }
  .site-nav li:last-child a::after { display: none; }
  body.nav-open { overflow: auto; }
}

/* ---------- 6. Buttons ---------- */
/* Sliding fill: the hover colour sits in the left half of a 2x-wide gradient
   and slides into view by moving background-position. */
.btn {
  --btn-base: var(--ink);
  --btn-fill: var(--c-red);
  --btn-color: #fff;
  --btn-color-hover: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--btn-color);
  background-color: var(--btn-base);
  background-image: linear-gradient(to right, var(--btn-fill) 50%, var(--btn-base) 50%);
  background-size: 201% 100%;
  background-position: 100% 0;
  cursor: pointer;
  overflow: hidden;
  transition: background-position .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:hover { background-position: 0 0; color: var(--btn-color-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--purple { --btn-base: var(--c-purple); --btn-fill: var(--c-red); }
.btn--red { --btn-base: var(--c-red); --btn-fill: var(--c-purple); }
.btn--gold { --btn-base: var(--c-gold); --btn-fill: #fff; --btn-color: var(--ink); --btn-color-hover: var(--ink); }
.btn--gold:hover { box-shadow: inset 0 0 0 2px var(--c-gold); }
.btn--ink { --btn-base: var(--ink); --btn-fill: var(--c-red); }
.btn--ghost-light { --btn-base: transparent; --btn-fill: #fff; --btn-color: #fff; --btn-color-hover: var(--ink); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); background-color: transparent; }
.btn--ghost-dark { --btn-base: transparent; --btn-fill: var(--ink); --btn-color: var(--ink); --btn-color-hover: #fff; box-shadow: inset 0 0 0 2px var(--ink); background-color: transparent; }

/* Shimmer sweep: solid base, a skewed white highlight passes across on hover */
.btn--shimmer { background-image: none; }
.btn--shimmer::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  transform: skewX(-24deg);
  pointer-events: none;
}
.btn--shimmer:hover { transform: translateY(-2px); box-shadow: 0 14px 40px color-mix(in srgb, var(--btn-base) 45%, transparent); }
.btn--shimmer.btn--gold:hover { box-shadow: 0 14px 40px rgba(255, 206, 0, .4); }
.btn--shimmer:hover::after { animation: shimmer-sweep .85s ease; }
@keyframes shimmer-sweep { from { left: -80%; } to { left: 130%; } }

.btn--lg { min-height: 60px; padding: 18px 36px; font-size: 15px; }
.btn--xl { min-height: 72px; padding: 22px 44px; font-size: 18px; letter-spacing: .1em; }
@media (max-width: 479px) { .btn--xl { min-height: 64px; padding-inline: 24px; font-size: 16px; } }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 7. Signature effects ---------- */

/* 7a. Rotating hero words */
.rotator { display: block; height: 40px; overflow: hidden; }
.rotator__word {
  display: block;
  width: max-content;
  height: 100%;
  padding-right: .06em;
  background: linear-gradient(90deg, var(--c-red), #ff6a3d 45%, var(--c-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rotate-words 8s cubic-bezier(.76, 0, .24, 1) infinite;
}
@media (min-width: 800px) { .rotator { height: 65px; } }

/* 5 words + a copy of the first: each holds 10%, then moves one step */
@keyframes rotate-words {
  0%, 10%  { transform: translateY(0); }
  20%, 30% { transform: translateY(-100%); }
  40%, 50% { transform: translateY(-200%); }
  60%, 70% { transform: translateY(-300%); }
  80%, 90% { transform: translateY(-400%); }
  100%     { transform: translateY(-500%); }
}

/* 7b. Blur card hover */
.blur-effect-card {
  position: relative;
  transition: transform .4s var(--ease), filter .4s var(--ease), opacity .4s var(--ease);
}
@media (hover: hover) and (min-width: 800px) {
  .blur-effect-container:has(.blur-effect-card:hover) .blur-effect-card:not(:hover) {
    filter: blur(10px);
    transform: scale(.9);
    opacity: .8;
  }
  .blur-effect-container .blur-effect-card:hover {
    transform: scale(1.1);
    z-index: 10;
  }
}

/* 7c. Glow gradient hover (element needs a solid background of its own) */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.glow-gradient-child { position: relative; border-radius: var(--radius); }
.glow-gradient-child::before,
.glow-gradient-child::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--gradient-angle), var(--c-red), var(--c-purple), var(--c-gold), var(--c-purple), var(--c-red));
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
  animation: gradient-rotate 10s linear infinite;
}
.glow-gradient-child::after { filter: blur(28px); }
.glow-gradient-child--idle::before { opacity: .35; }
.glow-gradient-child:hover::before { opacity: 1; }
.glow-gradient-child:hover::after { opacity: .75; }
@keyframes gradient-rotate { to { --gradient-angle: 360deg; } }

/* ---------- 8. Components ---------- */

/* Backgrounds */
.bg-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 50% at 8% 0%, rgba(255, 23, 68, .24), transparent 70%),
    radial-gradient(45% 60% at 100% 15%, rgba(106, 27, 154, .5), transparent 70%),
    radial-gradient(40% 45% at 55% 110%, rgba(38, 103, 255, .22), transparent 70%);
}
.bg-glow--gold::before {
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(255, 206, 0, .18), transparent 70%),
    radial-gradient(45% 60% at 100% 30%, rgba(106, 27, 154, .4), transparent 70%),
    radial-gradient(40% 50% at 0% 80%, rgba(255, 23, 68, .16), transparent 70%);
}
.bg-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cards */
.card {
  --accent: var(--c-red);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 800px) { .card { padding: 40px 36px; } }
.card--dark { background: var(--dark-2); color: #fff; border-color: var(--line-dark); box-shadow: none; }
.card--red { --accent: var(--c-red); }
.card--purple { --accent: var(--c-purple); }
.card--gold { --accent: var(--c-gold); }
.card--blue { --accent: var(--c-blue); }
.card--lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card--lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card__icon {
  width: 56px; height: 56px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}
.card--gold .card__icon { color: var(--ink); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card__num { font-family: var(--f-label); font-weight: 700; font-size: 13px; letter-spacing: .16em; color: var(--soft); }
.card__title { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.12; }
.card__text { color: var(--soft); }
.card__action { margin-top: auto; padding-top: 8px; }

/* Image placeholders: drop an <img> inside and the label hides itself */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(120% 80% at 15% 5%, rgba(255, 23, 68, .30), transparent 55%),
    radial-gradient(100% 80% at 95% 100%, rgba(106, 27, 154, .55), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 28px),
    #17171f;
  box-shadow: var(--shadow);
}
.ph--b {
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(38, 103, 255, .35), transparent 55%),
    radial-gradient(100% 80% at 0% 100%, rgba(255, 206, 0, .22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 28px),
    #15161e;
}
.ph--c {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 206, 0, .22), transparent 55%),
    radial-gradient(100% 80% at 100% 100%, rgba(255, 23, 68, .38), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 14px, transparent 14px 28px),
    #18151b;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px; height: 56px;
  opacity: .28;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E");
}
.ph--video::before {
  width: 64px; height: 64px;
  opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='31' fill='rgba(255,255,255,0.14)' stroke='white' stroke-opacity='.5'/%3E%3Cpath d='M26 21l18 11-18 11z' fill='white'/%3E%3C/svg%3E");
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img)::before,
.ph:has(img) .ph__label { display: none; }
.ph__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  margin: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ph__label::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c-red); }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--landscape { aspect-ratio: 3 / 2; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--tall { aspect-ratio: 9 / 16; }

/* Framed portrait: offset white backing card with thin border */
.frame { position: relative; padding: 0 18px 18px 0; }
.frame::before {
  content: "";
  position: absolute;
  inset: 18px 0 0 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #545454;
}
.frame > .ph { position: relative; }

/* Video placeholder: replace inner content with an <iframe> */
.video-ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background:
    radial-gradient(70% 90% at 20% 10%, rgba(255, 23, 68, .30), transparent 60%),
    radial-gradient(60% 80% at 90% 90%, rgba(106, 27, 154, .55), transparent 60%),
    linear-gradient(180deg, #1a1a24, #0f0f15);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.video-ph iframe,
.video-ph video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px);
  pointer-events: none;
}
.play-btn {
  position: relative;
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-purple));
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .07), 0 20px 50px rgba(255, 23, 68, .45);
  animation: play-pulse 2.6s var(--ease) infinite;
}
.play-btn::after { content: ""; margin-left: 5px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
@media (min-width: 800px) { .play-btn { width: 96px; height: 96px; } }
@keyframes play-pulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, .07), 0 20px 50px rgba(255, 23, 68, .45); }
  50% { box-shadow: 0 0 0 22px rgba(255, 255, 255, .02), 0 20px 50px rgba(255, 23, 68, .6); }
}
.video-ph__label {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, .5);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Embed slot for third-party widgets (Tally, booking, etc.). Keep it truly empty
   until the embed is pasted in; the label shows only while it is empty. */
.embed-slot {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 32px;
  border-radius: var(--radius);
  border: 2px dashed var(--rule);
  text-align: center;
}
.embed-slot:empty::before {
  content: attr(data-label);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft);
}
.embed-slot:not(:empty) { display: block; min-height: 0; padding: 0; border: 0; }

/* Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Checklist */
.checklist { list-style: none; display: grid; gap: 16px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; }
.checklist li::before {
  content: "";
  flex: none;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--c-red) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checklist--gold li::before {
  background-color: var(--c-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checklist--x li::before {
  background-color: rgba(255, 23, 68, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff1744' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}
@media (min-width: 800px) { .checklist--2col { grid-template-columns: 1fr 1fr; gap: 20px 40px; } }

/* Numbered list (used for the Blueprint contents) */
.numbered { list-style: none; counter-reset: num; display: grid; gap: 4px; }
.numbered li {
  counter-increment: num;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.numbered li:last-child { border-bottom: 0; }
.numbered li::before {
  content: counter(num, decimal-leading-zero);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c-gold) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c-gold) 45%, transparent);
  color: var(--c-gold);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 14px;
}
.numbered strong { display: block; font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.2; margin-bottom: 4px; }
.numbered span { color: var(--soft); }

/* Steps (thank-you page) */
.steps { list-style: none; display: grid; gap: 20px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
}
@media (min-width: 800px) { .step { padding: 36px; gap: 28px; } }
.step__num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--ink);
  font-family: var(--f-head);
  font-size: 26px;
  line-height: 1;
}
.step__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; }
.step__text { margin-top: 8px; color: var(--soft); }
.step .btn { margin-top: 20px; }

/* Combination equation (Niche Finder) */
.combo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  text-align: center;
}
.combo__part {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.combo__op { font-family: var(--f-head); font-size: 28px; line-height: 1; color: var(--c-gold); }
.combo__result { flex-basis: 100%; margin-top: 8px; font-family: var(--f-head); font-size: clamp(26px, 3vw, 34px); line-height: 1.1; color: var(--c-gold); }

/* Price block */
.price-card { text-align: center; }
.price-card .badge { align-self: center; }
.price { display: flex; align-items: baseline; justify-content: center; gap: 18px; margin-block: 12px 8px; }
.price__now { font-family: var(--f-head); font-size: clamp(80px, 11vw, 128px); line-height: 1; letter-spacing: -.04em; color: var(--c-gold); }
.price__was {
  font-family: var(--f-head);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--soft);
  text-decoration: line-through;
  text-decoration-color: var(--c-red);
  text-decoration-thickness: 3px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 23, 68, .14);
  color: #ff6b85;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.badge--gold { background: rgba(255, 206, 0, .14); color: var(--c-gold); }
@keyframes blink { 50% { opacity: .25; } }

/* FAQ (native <details>) */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: border-color .3s;
}
.page-dark .faq details,
.section--dark .faq details { background: var(--dark-2); border-color: var(--line-dark); box-shadow: none; }
.faq details[open] { border-color: color-mix(in srgb, var(--c-gold) 50%, transparent); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  font-family: var(--f-label);
  font-size: 20px;
  line-height: 1;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 24px 24px; color: var(--soft); }

/* Testimonials */
.quote-card { gap: 22px; }
.quote-card__mark { font-family: var(--f-head); font-size: 72px; line-height: .7; height: 34px; color: var(--accent); }
.quote-card blockquote { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(21px, 2vw, 24px); line-height: 1.3; letter-spacing: -.01em; }
.quote-card figcaption { margin-top: auto; padding-top: 8px; }

.person { display: flex; align-items: center; gap: 14px; }
.person__name { display: block; font-weight: 500; line-height: 1.3; }
.person__meta { display: block; font-size: 14px; color: var(--soft); }

.avatar {
  position: relative;
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-purple), var(--c-red));
  color: #fff;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
}
.avatar--gold { background: linear-gradient(135deg, var(--c-gold), var(--c-red)); color: var(--ink); }
.avatar--blue { background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.testimonial-feature { max-width: 920px; margin-inline: auto; text-align: center; }
.testimonial-feature blockquote { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(28px, 4vw, 48px); line-height: 1.12; letter-spacing: -.02em; }
.testimonial-feature blockquote::before { content: "\201C"; display: block; height: .55em; font-size: 1.8em; line-height: .9; color: var(--c-red); }
.testimonial-feature figcaption { display: flex; justify-content: center; margin-top: 32px; text-align: left; }

/* Logo strip */
.logo-strip { padding-block: 40px 48px; }
.logo-strip__caption {
  margin-bottom: 24px;
  text-align: center;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--soft);
}
.logo-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 44px;
}
.logo-slot {
  display: grid;
  place-items: center;
  min-height: 44px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 23px);
  letter-spacing: -.01em;
  white-space: nowrap;
  color: currentColor;
  filter: grayscale(1);
  opacity: .55;
  transition: opacity .3s var(--ease);
}
.logo-slot:hover { opacity: 1; }
.logo-slot img { max-height: 36px; width: auto; }

/* Marquee (credits) */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { list-style: none; display: flex; flex: none; }
.marquee__group li {
  display: flex;
  align-items: center;
  padding-right: 44px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee__group li::after { content: "\2660"; margin-left: 44px; font-size: .5em; color: var(--c-red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Gallery (6 placeholders) */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery > * { aspect-ratio: 4 / 5; }
.gallery > :nth-child(1),
.gallery > :nth-child(6) { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 20px; }
  .gallery > * { aspect-ratio: auto !important; height: 100%; }
  .gallery > :nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery > :nth-child(3) { grid-row: span 2; }
  .gallery > :nth-child(5),
  .gallery > :nth-child(6) { grid-column: span 2; }
}

/* Portfolio grid */
.portfolio { display: grid; gap: 28px; }
@media (min-width: 700px) { .portfolio { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .portfolio { grid-template-columns: repeat(3, 1fr); } }
.portfolio-item { display: block; text-decoration: none; color: inherit; }
.portfolio-item .ph { aspect-ratio: 4 / 3; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.portfolio-item:hover .ph { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-item__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.portfolio-item__title { font-family: var(--f-head); font-weight: 700; font-size: 21px; line-height: 1.2; }
.portfolio-item__tag { font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }

/* Reels row (three 9:16 placeholders) */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
.reels > :nth-child(2) { margin-top: 40px; }
@media (min-width: 800px) { .reels { gap: 20px; } .reels > :nth-child(2) { margin-top: 64px; } }

/* Closing CTA card */
.cta-card {
  padding: 56px 24px;
  border-radius: var(--radius);
  background: var(--dark-2);
  color: #fff;
  text-align: center;
}
@media (min-width: 800px) { .cta-card { padding: 96px 64px; } }
.cta-card__title { max-width: 840px; margin-inline: auto; font-size: clamp(34px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.03em; }
.cta-card__text { max-width: 560px; margin: 22px auto 36px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-dark); }

/* Info card for "book via reps / direct" style blocks */
.option-card { gap: 14px; }
.option-card .eyebrow { margin-bottom: 0; }

/* ---------- 9. Page sections ---------- */

/* Home hero */
.hero { padding-block: 48px 64px; overflow: hidden; }
@media (min-width: 800px) { .hero { padding-block: 88px 104px; } }
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 72px; } }
.hero__title { font-size: 34px; line-height: 40px; letter-spacing: -.03em; text-wrap: initial; }
.hero__title > span { display: block; }
@media (min-width: 800px) { .hero__title { font-size: 56px; line-height: 65px; } }
.hero__sub { max-width: 560px; margin-top: 24px; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--soft); }
.hero__actions { margin-top: 36px; }

.role-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 44px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
@media (min-width: 800px) { .role-links { font-size: 17px; gap: 8px 22px; } }
.role-links a { position: relative; padding-block: 6px; text-decoration: none; color: #fff; transition: color .25s; }
.role-links a::after {
  content: "";
  position: absolute;
  left: 0; right: .2em; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.role-links a:hover::after { transform: scaleX(1); }
.role-links a:nth-of-type(1):hover { color: var(--c-red); }
.role-links a:nth-of-type(2):hover { color: var(--c-gold); }
.role-links a:nth-of-type(3):hover { color: #6d97ff; }
.role-links__sep { color: rgba(255, 255, 255, .28); }

.hero-portrait { position: relative; width: 100%; max-width: 380px; margin-inline: auto; }
@media (min-width: 960px) { .hero-portrait { max-width: 440px; } }
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 6% -14% -10% 6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 23, 68, .55), rgba(106, 27, 154, .35) 55%, transparent);
  filter: blur(36px);
}
.hero-portrait .ph { box-shadow: var(--shadow-lg); }
.credit-badge {
  position: absolute;
  left: -10px; bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(13, 13, 18, .72);
  border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) { .credit-badge { left: -36px; } }
.credit-badge small { font-family: var(--f-label); font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold); }
.credit-badge strong { font-family: var(--f-head); font-weight: 700; font-size: 22px; line-height: 1.1; }

/* Inner page hero */
.page-hero { padding-block: 64px 72px; overflow: hidden; }
@media (min-width: 800px) { .page-hero { padding-block: 112px 120px; } }
.page-hero__title { max-width: 16ch; font-size: clamp(40px, 6.4vw, 84px); line-height: .98; letter-spacing: -.03em; }
.page-hero__sub { max-width: 620px; margin-top: 26px; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--soft); }
.page-hero__actions { margin-top: 36px; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__title,
.page-hero--center .page-hero__sub { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; } }

/* Confetti (thank-you page) */
.confetti-host { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.confetti {
  position: absolute;
  top: -24px;
  width: 8px; height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confetti-fall 3.5s cubic-bezier(.25, .6, .4, 1) forwards;
}
@keyframes confetti-fall {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--x, 0px), var(--fall, 90vh), 0) rotate(var(--r, 360deg)); }
}

/* ---------- 10. Footer ---------- */
.site-footer {
  padding-block: 72px 32px;
  background: var(--dark);
  color: #fff;
  border-top: 1px solid var(--line-dark);
}
.footer-grid { display: grid; gap: 44px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.25fr .75fr 1.2fr; gap: 56px; } }
.footer-blurb { max-width: 380px; margin-top: 20px; color: var(--muted-dark); }
.footer-title {
  margin-bottom: 18px;
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--c-gold);
}
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--muted-dark); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-dark);
  font-family: var(--f-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.footer-social:hover { border-color: var(--c-red); background: rgba(255, 23, 68, .1); }
.footer-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.newsletter-copy { color: var(--muted-dark); margin-bottom: 18px; }
.newsletter {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-dark);
  transition: border-color .2s, box-shadow .2s;
}
.newsletter:focus-within { border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(38, 103, 255, .25); }
.newsletter input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter input:focus { outline: none; }
.newsletter .btn { min-height: 44px; padding: 10px 22px; font-size: 13px; }
.form-note { min-height: 22px; margin-top: 10px; font-size: 14px; color: var(--c-gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--muted-dark);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--muted-dark); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer-legal .built-with { color: rgba(167, 167, 182, .75); }

/* ---------- 11. Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rotator__word,
  .marquee__track,
  .play-btn,
  .badge::before,
  .glow-gradient-child::before,
  .glow-gradient-child::after { animation: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .blur-effect-card,
  .btn,
  .card--lift { transition: none; }
}


/* ===== A·C·E hero trio (ported from aceofalltrades.xyz GHL home) ===== */
.ace-trio { display: flex; gap: 14px; }
.ace-card { position: relative; flex: 1 1 0; height: clamp(380px, 46vw, 580px); border-radius: 20px; overflow: hidden; background-size: cover; background-position: center top; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: flex .5s ease, transform .5s ease; }
.ace-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55)); }
.ace-card__logo { width: min(58%, 230px); height: auto; position: relative; z-index: 1; filter: drop-shadow(0 6px 24px rgba(0,0,0,.45)); transition: transform .5s ease; }
.ace-card:hover, .ace-card:focus-visible { flex: 2 1 0; }
.ace-card:hover .ace-card__logo, .ace-card:focus-visible .ace-card__logo { transform: scale(1.06); }
.ace-card__label { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; z-index: 1; color: #fff; font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .35em; text-transform: uppercase; }
.hero__grid--solo { grid-template-columns: 1fr; }
@media (min-width: 960px) { .hero__grid--solo { grid-template-columns: 1fr; } }
@media (max-width: 799px) { .ace-trio { flex-direction: column; margin-top: 40px; } .ace-card, .ace-card:hover { flex: none; height: 300px; } }

/* real network logos in the strip */
.logo-row--imgs .logo-slot { background: none; }
.logo-row--imgs .logo-slot img { height: 36px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .8; transition: opacity .2s; }
.logo-row--imgs .logo-slot:hover img { opacity: 1; }

/* card photos + real avatars */
.card .card__media { margin-bottom: 18px; border-radius: 14px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ================================================================
   GHL-REPLICA THEME (aceofalltrades.xyz) — Montserrat + fixed face
   ================================================================ */

/* Montserrat everywhere */
body, button, input, select, textarea { font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .hero__title, .page-hero__title, .cta-card__title, .card__title, .logo__text, .eyebrow, .btn { font-family: 'Montserrat', sans-serif; }
h1, h2, .h1, .h2, .hero__title, .page-hero__title { font-weight: 800; }

/* Fixed portrait backdrop that the page scrolls over */
.body--ace { background: #0a0a0e; }
.body--ace::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(10,10,14,.5), rgba(10,10,14,.6)),
    url('https://images.leadconnectorhq.com/image/f_webp/q_80/r_1200/u_https://storage.googleapis.com/msgsndr/bmVQ0sJekg3y1Ouv84j2/media/6864ac33a9584cc93c9e2f28.jpeg');
  background-size: cover; background-position: center top;
}
.body--ace .section--dark { background: transparent; }
.body--ace .hero { background: transparent; }

/* Foggy-glass pill header */
.body--ace .site-header,
.site-header--pill { position: sticky; top: 14px; z-index: 99; background: transparent; border: 0; box-shadow: none; padding-inline: 16px; }
.body--ace .site-header .site-header__inner,
.site-header--pill .site-header__inner {
  background: rgba(24,24,30,.45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  padding: 12px 14px 12px 28px;
  max-width: 1220px; margin-inline: auto;
}
.logo__img { height: 44px; width: auto; display: block; }
@media (max-width: 800px) { .logo__img { height: 34px; } }
.site-nav li:last-child a { background: var(--red, #e01b42) !important; color: #fff !important; border-radius: 100px; padding: 12px 28px !important; }

/* Trio sits right under the pill */
.section--trio { padding-top: 28px; padding-bottom: 12px; }

/* Hero reel thumb floating right */
.hero-reel { position: relative; display: block; width: min(420px, 100%); margin-inline: auto; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 48px rgba(0,0,0,.5); }
.hero-reel img { display: block; width: 100%; height: auto; }
.hero-reel__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.hero-reel__play svg { width: 64px; height: 64px; filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); transition: transform .25s; }
.hero-reel:hover .hero-reel__play svg { transform: scale(1.15); }

/* WHAT I DO header row */
.whatido-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.whatido-head .lead { margin-top: 8px; }

/* Photo cards with glowing colored edges */
.card--photo { background-size: cover; background-position: center; color: #fff; border-radius: 18px; }
.card--photo .card__text { color: rgba(255,255,255,.85); }
.card--glow-red    { border: 1.5px solid #ff1744; box-shadow: 0 0 0 1px rgba(255,23,68,.25), 0 0 26px rgba(255,23,68,.38); }
.card--glow-purple { border: 1.5px solid #8e3df0; box-shadow: 0 0 0 1px rgba(142,61,240,.25), 0 0 26px rgba(142,61,240,.38); }
.card--glow-gold   { border: 1.5px solid #ffce00; box-shadow: 0 0 0 1px rgba(255,206,0,.25), 0 0 26px rgba(255,206,0,.34); }
.text-red { color: #ff4d6a; } .text-purple { color: #b98df7; }

/* Two-line white pill buttons */
.btn--pill-light { background: #fff; color: #16161c; border-radius: 999px; padding: 14px 34px; display: inline-flex; flex-direction: column; gap: 0; line-height: 1.2; text-align: center; font-weight: 700; }
.btn--pill-light span { font-weight: 500; color: #8a8a93; font-size: .82em; }
.btn--pill-light:hover { background: #f2f2f2; color: #16161c; transform: translateY(-2px); }

/* Floating signature portrait (no box) */
.about-float { display: flex; justify-content: center; }
.about-float img { width: min(440px, 88%); height: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.55)); animation: ace-float 6s ease-in-out infinite alternate; }
@keyframes ace-float { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .about-float img { animation: none; } }

/* Comedy full-bleed */
.section--comedy { min-height: 560px; display: flex; align-items: center; }
.comedy-copy { max-width: 560px; }
.comedy-copy .h2 { color: #fff; }

/* Solid white testimonial cards on the dark backdrop */
.quote-card--solid { background: #fff; color: #2b2b31; border-radius: 20px; padding: 40px 32px; text-align: center; box-shadow: 0 18px 44px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 18px; }
.quote-card--solid .quote-card__mark { color: #e01b42; font-size: 64px; line-height: .5; font-weight: 800; }
.quote-card--solid blockquote { margin: 0; font-size: 16px; line-height: 1.7; color: #55555e; }
.person--center { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: auto; }
.person--center .avatar { width: 56px; height: 56px; }
.person__name.text-red { color: #e01b42; font-weight: 700; }
.body--ace #testimonials .h2, .body--ace #testimonials .lead { color: #fff; }
.body--ace #testimonials .lead.muted { color: rgba(255,255,255,.65); }

/* Red CTA card */
.cta-red { border-radius: 28px; padding: clamp(40px, 6vw, 80px); color: #fff; }
.cta-red__title { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; max-width: 14ch; line-height: 1.1; margin: 0 0 18px; }
.cta-red__text { max-width: 520px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.92); margin: 0 0 32px; }
.cta-red .btn--pill-light strong { color: #16161c; }

/* Minimal GHL-style footer */
.site-footer--minimal { background: transparent; border-top: 0; padding: 48px 0 40px; }
.site-footer--minimal .footer-gif img { width: min(420px, 86%); height: auto; margin-inline: auto; display: block; }
.site-footer--minimal .footer-copy { margin-top: 20px; font-weight: 700; color: #fff; }
.site-footer--minimal .footer-legal { margin-top: 10px; }
.site-footer--minimal .footer-legal a { color: #ff4d6a; }
.site-footer--minimal .footer-credit { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.site-footer--minimal .footer-credit a { color: rgba(255,255,255,.6); }

/* Fix: dark page color lives on <html>; body stays transparent so the
   fixed .body--ace::before photo backdrop can show through behind every page. */
html { background: #0d0d12; }
body.page-dark { background: transparent !important; }
/* ---------- Nav CTA: Find Your Spark (glowing) ---------- */
.site-nav li.nav-spark a {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, #ffce00 0%, #ffe46b 35%, #ff9f1c 70%, #ffce00 100%) !important;
  background-size: 220% 100% !important;
  color: #141414 !important; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  border-radius: 100px; padding: 12px 26px !important;
  box-shadow: 0 0 0 1px rgba(255, 228, 107, .7), 0 0 18px rgba(255, 206, 0, .55), 0 0 42px rgba(255, 159, 28, .35);
  animation: spark-flow 4s linear infinite, spark-pulse 2.4s ease-in-out infinite;
  transition: transform .2s var(--ease, ease), box-shadow .2s;
}
.site-nav li.nav-spark a::after { display: none !important; }
.site-nav li.nav-spark a:hover,
.site-nav li.nav-spark a[aria-current="page"] {
  color: #141414 !important; transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 0 1px rgba(255, 240, 170, .9), 0 0 26px rgba(255, 206, 0, .8), 0 0 60px rgba(255, 159, 28, .5);
}
.nav-spark__glint {
  position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-20deg);
  animation: spark-glint 3.2s ease-in-out infinite;
}
@keyframes spark-flow  { 0% { background-position: 0% 50%; } 100% { background-position: 220% 50%; } }
@keyframes spark-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 228, 107, .7), 0 0 16px rgba(255, 206, 0, .5), 0 0 36px rgba(255, 159, 28, .3); }
  50%      { box-shadow: 0 0 0 1px rgba(255, 240, 170, .95), 0 0 26px rgba(255, 206, 0, .85), 0 0 58px rgba(255, 159, 28, .5); }
}
@keyframes spark-glint { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@media (max-width: 959px) { .site-nav li.nav-spark a { margin-top: 20px; display: block; text-align: center; padding: 14px 24px !important; } }
@media (prefers-reduced-motion: reduce) {
  .site-nav li.nav-spark a, .nav-spark__glint { animation: none; }
}

/* ---------- Footer social circles ---------- */
.footer-socials { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 6px; padding: 0; }
.footer-socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: #fff; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04);
  transition: transform .2s var(--ease, ease), border-color .2s, background .2s, color .2s, box-shadow .2s;
}
.footer-socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-socials__imdb svg { width: 30px; height: 30px; }
.footer-socials a:hover, .footer-socials a:focus-visible {
  transform: translateY(-2px); color: #141414; background: var(--c-gold); border-color: var(--c-gold);
  box-shadow: 0 0 18px rgba(255,206,0,.45);
}

/* ---------- Actor: Instagram reels ---------- */
@media (min-width: 960px) { .split--reels { grid-template-columns: .8fr 1.6fr; } }
.reels--ig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reels--ig > :nth-child(2) { margin-top: 0 !important; }
.ig-reel { position: relative; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.18); height: 560px; }
.ig-reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 959px) {
  .reels--ig { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .ig-reel { height: 640px; }
}

/* ---------- Actor: gallery photos ---------- */
.gallery__img { border-radius: 14px; overflow: hidden; }
.gallery__img img { transition: transform .6s var(--ease, ease); }
.gallery__img:hover img { transform: scale(1.04); }

/* ---------- Actor: representation ---------- */
.reps { list-style: none; padding: 0; margin: 20px 0 6px; display: grid; gap: 10px; }
.rep { display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; border-radius: 14px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: border-color .2s, background .2s, transform .2s; }
.rep:hover { border-color: var(--c-gold); background: rgba(255,206,0,.06); transform: translateY(-1px); }
.rep__logo { flex: 0 0 120px; height: 56px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 8px 12px; }
.rep__logo img { max-width: 100%; max-height: 40px; object-fit: contain; display: block; }
.rep__meta { display: grid; gap: 2px; text-align: left; }
.rep__meta strong { font-size: 15px; }
.rep__meta small { color: var(--muted-dark); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Creator: linked brand cards ---------- */
.org-card { display: block; text-decoration: none; color: inherit; }
.org-card__face { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; display: grid; place-content: center; gap: 10px; text-align: center; padding: 24px;
  color: #fff; background: radial-gradient(120% 90% at 20% 10%, rgba(255,23,68,.55), transparent 60%), linear-gradient(135deg, #15151d, #0d0d12);
  border: 1px solid rgba(255,255,255,.08); transition: transform .3s var(--ease, ease), box-shadow .3s; }
.org-card--b .org-card__face { background: radial-gradient(120% 90% at 80% 10%, rgba(106,27,154,.65), transparent 60%), linear-gradient(135deg, #15151d, #0d0d12); }
.org-card--c .org-card__face { background: radial-gradient(120% 90% at 50% 100%, rgba(255,206,0,.45), transparent 60%), linear-gradient(135deg, #15151d, #0d0d12); }
.org-card__name { font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; }
.org-card__url { font-size: 13px; color: var(--c-gold); letter-spacing: .03em; }
.org-card:hover .org-card__face { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.35), 0 0 0 1px rgba(255,206,0,.4); }
.logo-slot a { color: inherit; text-decoration: none; }
.logo-slot a:hover { color: var(--c-red); }
.site-footer--minimal .footer-legal { justify-content: center; }

/* ---------- Blog & Press ---------- */
.blog-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; }
.blog-filters button { font: inherit; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark);
  background: transparent; border: 1px solid rgba(255,255,255,.18); border-radius: 100px; padding: 10px 20px; cursor: pointer; transition: all .2s; }
.blog-filters button:hover, .blog-filters button.is-active { color: #141414; background: var(--c-gold); border-color: var(--c-gold); }
.blog-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-empty { text-align: center; color: var(--muted-dark); grid-column: 1 / -1; }
.blog-card { display: flex; flex-direction: column; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(255,206,0,.45); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.blog-card__img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1e1e29, #0d0d12); display: grid; place-items: center; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__ph { font-weight: 900; letter-spacing: .2em; color: rgba(255,206,0,.6); }
.blog-card__body { padding: 22px 22px 26px; display: grid; gap: 10px; }
.blog-card__meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-gold); }
.blog-card__title { font-family: var(--f-head); font-size: 22px; line-height: 1.2; }
.blog-card__excerpt { color: var(--muted-dark); font-size: 15px; }
.blog-card__more { font-weight: 700; font-size: 14px; color: #fff; }
.post__container { max-width: 760px; }
.post__title { font-family: var(--f-head); font-size: clamp(36px, 6vw, 64px); line-height: 1.05; margin: 12px 0 16px; }
.post__excerpt { font-size: 20px; color: var(--muted-dark); }
.post__cover img { width: 100%; border-radius: var(--radius); margin: 32px 0; display: block; }
.post__body { font-size: 18px; line-height: 1.75; color: #e9e7f0; }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2, .post__body h3 { font-family: var(--f-head); color: #fff; line-height: 1.2; margin-top: 1.6em; }
.post__body h2 { font-size: 32px; } .post__body h3 { font-size: 24px; }
.post__body a { color: var(--c-gold); }
.post__body blockquote { border-left: 3px solid var(--c-gold); padding-left: 20px; font-size: 22px; color: #fff; font-style: italic; }
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body figure img { width: 100%; border-radius: 14px; }
.post__body figcaption { font-size: 14px; color: var(--muted-dark); margin-top: 8px; text-align: center; }
.post__video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.post__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post__back { margin-top: 48px; }

/* ---------- Words From Ace (home) ---------- */
.latest-post__slot { max-width: 1040px; margin: 0 auto; }
.latest-card { display: grid; text-decoration: none; color: #fff; border-radius: var(--radius); overflow: hidden;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.latest-card:hover { transform: translateY(-4px); border-color: rgba(255,206,0,.45); box-shadow: 0 18px 44px rgba(0,0,0,.4); }
@media (min-width: 860px) { .latest-card { grid-template-columns: 1.15fr 1fr; } }
.latest-card__img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1e1e29, #0d0d12); display: grid; place-items: center; overflow: hidden; }
.latest-card__img img { width: 100%; height: 100%; object-fit: cover; }
.latest-card__body { padding: 32px; display: grid; gap: 14px; align-content: center; justify-items: start; }
.latest-card__title { font-family: var(--f-head); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; }
.latest-card__excerpt { color: var(--muted-dark); font-size: 17px; }
.latest-post__all { text-align: center; margin-top: 28px; }
.latest-post__all a { color: var(--c-gold); font-weight: 700; text-decoration: none; }
.latest-post__all a:hover { text-decoration: underline; }
