/* thejamalcampbell.com: shared styles for every page except the home stage.
   Brand: Manrope; off-black, off-white, gold (business/personal-brand/.../audit-funnel-copy.md). */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #0A0A0A;
  --ink-2: #161614;
  --ink-3: #22221f;
  --paper: #F7F7F5;
  --white: #FFFFFF;
  --line: #E4E4DF;
  --line-dark: #2C2C28;
  --text: #55554F;          /* body on light, 7.2:1 on paper */
  --text-dark: #C9C9C3;     /* body on dark */
  --stone: #6B6B63;          /* 5:1 on paper */
  --stone-dark: #9A9A92;     /* secondary text on dark */
  --gold: #B88B3B;          /* accent on dark grounds */
  --gold-deep: #85621F;     /* same hue, text-safe on light grounds (5.1:1) */
  --gold-soft: #E8D4A6;

  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --t-sm: clamp(.875rem, .85rem + .1vw, .95rem);
  --t-base: clamp(1rem, .97rem + .18vw, 1.1rem);
  --t-lg: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --t-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.15rem);
  --t-2xl: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --t-3xl: clamp(2.4rem, 1.6rem + 4vw, 4.6rem);

  --gutter: clamp(1rem, 5vw, 4rem);
  --maxw: 74rem;
  --measure: 66ch;
  --section: clamp(4rem, 9vw, 8.5rem);
  --r: 18px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.06; letter-spacing: -.03em; font-weight: 800; margin: 0 0 .5em; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { left: .5rem; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--ink) 94%, transparent); backdrop-filter: blur(10px); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.mark { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; font-size: 1.05rem; }
.mark svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--text-dark); transition: color .15s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.1rem; padding: 0 1.5rem; border-radius: 999px; font-weight: 800; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .14s var(--ease), background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #C99A48; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-3); }
.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: color-mix(in oklab, currentColor 8%, transparent); }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: .88rem; }
.arrow { transition: transform .16s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arrow { transform: translateX(3px); } }

/* ---------- Page heads ---------- */
.hero { background: var(--ink); color: var(--white); padding: clamp(4rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6.5rem); position: relative; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 88% 0%, rgba(184,139,59,.2), transparent 62%), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: auto, 64px 64px, 64px 64px; -webkit-mask-image: linear-gradient(#000 50%, transparent); mask-image: linear-gradient(#000 50%, transparent); }
.hero h1 { font-size: var(--t-3xl); max-width: 18ch; }
.hero .lede { font-size: var(--t-lg); color: var(--text-dark); max-width: 52ch; margin: 0 0 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.crumbs { font-size: .85rem; color: var(--stone-dark); margin-bottom: 1.5rem; }
.crumbs a { color: var(--text-dark); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 .4rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p, .section--dark li { color: var(--text-dark); }
.section--dark .kicker { color: var(--gold); }
.section h2 { font-size: var(--t-2xl); max-width: 22ch; }
.lead-p { font-size: var(--t-lg); color: var(--text); max-width: 56ch; }
.section--dark .lead-p { color: var(--text-dark); }
p { margin: 0 0 1.1em; }
.prose { max-width: var(--measure); color: var(--text); }
.prose h2 { font-size: var(--t-xl); color: var(--ink); margin-top: 2.2em; letter-spacing: -.02em; }
.prose h3 { font-size: var(--t-lg); color: var(--ink); margin-top: 1.8em; letter-spacing: -.015em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-deep); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--gold); color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* split: copy left, list right */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .8rem; height: .45rem; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.section--dark .ticks { border-color: var(--line-dark); }
.section--dark .ticks li { border-color: var(--line-dark); color: var(--white); }
.section--dark .ticks li::before { border-color: var(--gold); }
.crosses li::before { width: .75rem; height: 2px; top: 1.65rem; border: 0; background: var(--stone); transform: none; }

/* steps: an asymmetric numbered rail, not a card grid */
.steps { counter-reset: s; display: grid; gap: 0; margin-top: 3rem; border-top: 1px solid var(--line); }
.step { counter-increment: s; display: grid; grid-template-columns: 5rem 1fr 1.2fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.step::before { content: counter(s, decimal-leading-zero); font-weight: 800; color: var(--gold-deep); font-size: var(--t-lg); }
.step h3 { font-size: var(--t-xl); margin: 0; }
.step p { margin: 0; color: var(--text); }
.section--dark .steps, .section--dark .step { border-color: var(--line-dark); }
.section--dark .step::before { color: var(--gold); }

/* price plate */
.plate { background: var(--ink); color: var(--white); border-radius: calc(var(--r) + 6px); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); box-shadow: 0 30px 70px -30px rgba(10,10,10,.45); }
.price { font-size: var(--t-3xl); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: .3rem 0 1rem; }
.price small { font-size: var(--t-base); font-weight: 600; color: var(--text-dark); letter-spacing: 0; }
.plate p { color: var(--text-dark); }
.bonus { border-top: 1px solid var(--line-dark); padding-top: 1.25rem; margin-top: 1.5rem; color: var(--gold-soft) !important; font-weight: 600; }

/* stories */
.stories { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; margin-top: 3rem; }
.story { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.story:nth-child(2) { margin-top: 3rem; }
.story h3 { font-size: var(--t-xl); }
.story p { color: var(--text); margin: 0; }
.note { font-size: var(--t-sm); color: var(--stone); }

/* FAQ */
.faq { max-width: 52rem; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; font-weight: 700; font-size: var(--t-lg); position: relative; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1.1rem; font-size: 1.6rem; font-weight: 500; color: var(--gold-deep); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text); margin: 0 0 1.4rem; max-width: 62ch; }

/* closing band */
.close-band { background: var(--ink); color: var(--white); padding: var(--section) 0; text-align: left; position: relative; overflow: hidden; }
.close-band h2 { font-size: var(--t-2xl); max-width: 18ch; }
.close-band p { color: var(--text-dark); max-width: 50ch; font-size: var(--t-lg); }
.close-band .ring-mini { position: absolute; right: -6rem; top: 50%; width: 26rem; height: 26rem; translate: 0 -50%; opacity: .5; pointer-events: none; }

/* articles */
.post-list { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 9rem 1fr auto; gap: 1.5rem; padding: 1.75rem 0; text-decoration: none; align-items: baseline; }
.post-list time { color: var(--stone); font-size: var(--t-sm); font-weight: 600; }
.post-list h2 { font-size: var(--t-xl); margin: 0 0 .35rem; max-width: none; }
.post-list p { margin: 0; color: var(--text); max-width: 62ch; }
.post-list .go { color: var(--gold-deep); font-weight: 800; }
@media (hover: hover) and (pointer: fine) { .post-list a:hover h2 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; } }
.article-meta { color: var(--text-dark); font-size: var(--t-sm); display: flex; gap: 1rem; flex-wrap: wrap; }
.article-body { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--white); }
.article-foot { margin-top: 3rem; padding: 2rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); max-width: var(--measure); }
.article-foot h2 { font-size: var(--t-xl); }

/* link page */
.links { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .75rem; max-width: 34rem; }
.links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; border: 1px solid var(--line-dark); border-radius: 14px; text-decoration: none; font-weight: 700; color: var(--white); transition: border-color .15s var(--ease), background .15s var(--ease); }
.links a:hover { border-color: var(--gold); background: var(--ink-2); }
.links small { display: block; font-weight: 500; color: var(--text-dark); font-size: .85rem; }
.links .primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.links .primary small { color: #2a2414; }
.links .primary:hover { background: #C99A48; }


/* disclosure */
.disclosure { background: #FFF8E8; border: 1px solid #EAD9AE; color: #4A3A12; border-radius: 12px; padding: 1rem 1.25rem; font-size: var(--t-sm); max-width: 52rem; }
.hero .disclosure { background: rgba(232,212,166,.08); border-color: rgba(232,212,166,.25); color: var(--gold-soft); margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: var(--text-dark); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem; border-top: 1px solid var(--line-dark); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-foot a { text-decoration: none; color: var(--text-dark); font-size: .95rem; }
.site-foot a:hover { color: var(--white); }
.foot-line { color: var(--white); font-size: var(--t-lg); font-weight: 700; letter-spacing: -.01em; max-width: 22ch; margin: 1rem 0 1.5rem; line-height: 1.3; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--stone-dark); }
.legal ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.legal a { font-size: .85rem; color: var(--stone-dark); }

/* ---------- Small screens ---------- */
@media (max-width: 880px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 700; padding: .55rem .9rem; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .9rem; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { border-color: var(--gold); }
  .menu-panel { position: absolute; right: 0; top: calc(100% + .6rem); width: min(19rem, calc(100vw - 2rem)); background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 16px; padding: .5rem; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
  .menu-panel a { display: block; padding: .8rem 1rem; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--white); }
  .menu-panel a:hover { background: var(--ink-3); }
  .menu-panel .btn { width: 100%; margin-top: .4rem; }
  .split, .plate, .stories { grid-template-columns: 1fr; }
  .story:nth-child(2) { margin-top: 0; }
  .step { grid-template-columns: 3rem 1fr; }
  .step p { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .post-list a { grid-template-columns: 1fr; gap: .4rem; }
  .post-list .go { display: none; }
  .close-band .ring-mini { opacity: .18; right: -12rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* dark grounds: restate text colour where a light-ground rule would win */
.section--dark .step p { color: var(--text-dark); }
.section--dark .step h3, .section--dark h3 { color: var(--white); }
.plate .ticks { border-color: var(--line-dark); }
.plate .ticks li { color: var(--white); border-color: var(--line-dark); }
.plate .ticks li::before { border-color: var(--gold); }
.price small { display: block; margin-top: .6rem; }
.plate .price { color: var(--white); }

/* checkout plate (/ai-audit/) */
.plate.checkout { grid-template-columns: 1fr; padding: clamp(1.75rem, 4vw, 2.75rem); border: 1px solid var(--line-dark); background: var(--ink-2); }
.btn--block { width: 100%; min-height: 3.6rem; font-size: 1rem; }
.checkout-note { color: var(--stone-dark) !important; margin-top: 1rem; }

/* booking calendar (/audit-booked/) */
/* the widget draws its own card; form_embed.js sets the iframe height */
.calendar iframe { width: 100%; min-height: 640px; border: 0; overflow: hidden; }
