/* ==========================================================================
   maxtpower.com — single stylesheet, no framework.
   Dark by default; light theme follows the OS preference.
   ========================================================================== */

:root {
  --bg: #0b0d12;
  --bg-elev: #12151d;
  --bg-card: rgb(255 255 255 / 0.035);
  --border: rgb(255 255 255 / 0.09);
  --field-border: #687386;
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --accent-1: #7777e8;
  --accent-2: #38bfc5;
  --accent-3: #f1a04f;
  --accent: var(--accent-2);
  --gradient: linear-gradient(110deg, var(--accent-1), var(--accent-2) 55%, var(--accent-3));
  --on-gradient: #0b0d12;
  --warm-glow: #e99b4a;
  --radius: 18px;
  --shadow: 0 20px 60px -20px rgb(0 0 0 / 0.6);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-marker: "Permanent Marker", "Comic Sans MS", cursive;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f7fb;
    --bg-elev: #ffffff;
    --bg-card: #ffffff;
    --border: rgb(15 23 42 / 0.1);
    --field-border: #788398;
    --text: #0f172a;
    --muted: #526077;
    --accent-1: #514fc2;
    --accent-2: #087f8c;
    --accent-3: #b84a0a;
    --accent: #1d4ed8;
    --on-gradient: #ffffff;
    --warm-glow: #d97706;
    --shadow: 0 20px 50px -24px rgb(15 23 42 / 0.25);
    color-scheme: light;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
section[id], header { scroll-margin-top: 5rem; }
#top { scroll-margin-top: 0; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--accent-1); color: var(--on-gradient); }

.skip-link {
  position: fixed; left: 1rem; top: -3rem; z-index: 10;
  padding: .5rem 1rem; border-radius: 8px;
  background: var(--bg-elev); color: var(--text);
}
.skip-link:focus { top: 1rem; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.container.narrow { width: min(760px, 100% - 2.5rem); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-nav-links { display: flex; gap: 1.5rem; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3.5rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-nav .site-nav-brand { font-size: 1.1rem; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.site-nav--floating {
  position: fixed;
  inset: 0 0 auto;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .2s ease;
}
.site-nav--floating.is-visible { visibility: visible; transform: translateY(0); }

/* Icons ------------------------------------------------------------------ */
.icon { display: inline-flex; width: 1em; height: 1em; vertical-align: -0.125em; }
.icon svg { width: 100%; height: 100%; fill: currentColor; }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: 3rem 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
  pointer-events: none;
}
.hero::before {
  width: 42rem; height: 42rem; top: -14rem; right: -10rem;
  background: radial-gradient(circle, var(--accent-1), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 36rem; height: 36rem; bottom: -16rem; left: -12rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--warm-glow) 55%, transparent), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  to { transform: translate3d(-4rem, 3rem, 0) scale(1.1); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 .25rem;
  font-family: var(--font-marker);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  color: var(--muted);
  transform: rotate(-3deg);
  transform-origin: left;
  width: fit-content;
}

.hero-name {
  margin: 0;
  font-size: clamp(3rem, 1.6rem + 6.5vw, 6.25rem);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -0.045em;
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 10s linear infinite;
}

@keyframes shimmer { to { background-position: 200% center; } }

.hero-roles {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  font-weight: 600;
}
.hero-roles li { display: inline-flex; align-items: baseline; gap: .6rem; }
.hero-role-separator { color: var(--accent); }

.availability {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.25rem;
  padding: .4rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  font-size: .875rem;
  font-weight: 600;
}

.hero-headline {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
}

.hero-intro {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.1em;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
  color: var(--muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta a { color: var(--text); font-weight: 600; }

.pulse {
  width: .6rem; height: .6rem; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgb(34 197 94 / .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 .55rem rgb(34 197 94 / 0); }
  100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.hero-actions.center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .975rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--on-gradient);
  background: var(--gradient);
  background-size: 160% auto;
  box-shadow: 0 10px 30px -10px var(--accent-1);
}
.btn-primary:hover { background-position: right center; box-shadow: 0 14px 34px -10px var(--accent-1); }
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.btn-ghost:hover { border-color: var(--accent); }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.75rem;
}
.social a {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 1.15rem;
  transition: color .2s, border-color .2s, transform .2s;
}
.social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social-sm a { width: 2.25rem; height: 2.25rem; font-size: .95rem; border-radius: 10px; }

.hero-portrait {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 26rem);
  padding: 6px;
  border-radius: 34% 66% 58% 42% / 42% 38% 62% 58%;
  background: var(--gradient);
  animation: morph 14s ease-in-out infinite alternate;
  box-shadow: var(--shadow);
}
.hero-portrait img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}
@keyframes morph {
  50% { border-radius: 58% 42% 36% 64% / 56% 62% 38% 44%; }
  100% { border-radius: 46% 54% 64% 36% / 38% 52% 48% 62%; }
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  translate: -50% 0;
  color: var(--muted);
  font-size: 1.1rem;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(6px); } }

/* Stats ------------------------------------------------------------------ */
.stats {
  border-block: 1px solid var(--border);
  background: var(--bg-elev);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: grid;
  gap: .25rem;
  padding: 2rem 1.25rem;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--border); }
.stat-value {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { color: var(--muted); font-size: .9rem; }

/* Sections --------------------------------------------------------------- */
.section { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }

.section-title {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  margin: 0 0 2rem;
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-title span {
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
  align-self: center;
}

.lead {
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
  margin-top: 0;
}
.section p { color: var(--muted); }
.section .lead { color: var(--text); }

/* Cards ------------------------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: var(--shadow); }
.card h3 { margin: 1rem 0 .5rem; font-size: 1.15rem; }
.card p { margin: 0; font-size: .95rem; }
.card-icon {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 14px;
  color: var(--on-gradient);
  background: var(--gradient);
  font-size: 1.25rem;
}

/* Timeline --------------------------------------------------------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 2rem;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: .4rem; top: .5rem; bottom: .5rem;
  width: 2px;
  background: linear-gradient(var(--accent-1), var(--accent-2), transparent);
  border-radius: 2px;
}
.timeline li { position: relative; padding-bottom: 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-2rem + .4rem - 5px);
  top: .45rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline li:first-child::before { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent); }
.timeline-years {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.timeline h3 { margin: .2rem 0 .35rem; font-size: 1.15rem; }
.timeline .at { font-weight: 500; color: var(--muted); }
.timeline .at a { color: var(--text); }
.timeline p { margin: 0; font-size: .975rem; }

/* Toolbox ---------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: .9rem;
  font-weight: 500;
  transition: border-color .2s, color .2s;
}
.chips li:hover { border-color: var(--accent); color: var(--accent); }
.subhead { margin: 2.5rem 0 .75rem; font-size: 1.05rem; }

/* Clients strip ---------------------------------------------------------- */
.clients { padding-block: 2rem; border-bottom: 1px solid var(--border); text-align: center; }
.clients-heading {
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  font-weight: 600;
  opacity: .85;
}
.clients-note { margin: 1rem 0 0; font-size: .75rem; color: var(--muted); opacity: .8; }

.section-alt { background: var(--bg-elev); border-block: 1px solid var(--border); }
.section-intro { max-width: 44rem; margin: -1rem 0 2.5rem; font-size: 1.05rem; }

@media (min-width: 1024px) { .cards.cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* Proof ------------------------------------------------------------------ */
.proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof-item { padding-left: 1.25rem; border-left: 3px solid var(--accent); }
.proof-item h3 {
  margin: 0 0 .5rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.proof-item p { margin: 0; font-size: .95rem; }
.proof-link { display: inline-block; margin-top: .75rem; font-size: .9rem; font-weight: 600; }

/* Engagement plans ------------------------------------------------------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.plan-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--gradient) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow);
}
.plan h3 { margin: 0; font-size: 1.3rem; }
.plan-price { margin: .35rem 0 0; color: var(--accent) !important; font-weight: 700; }
.plan-summary { margin: .75rem 0 1.25rem; font-size: 1rem; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .checks { margin-bottom: 1.75rem; }

.checks { margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: .65rem; align-items: baseline; color: var(--muted); font-size: .95rem; }
.checks li + li { margin-top: .55rem; }
.checks .icon { flex: none; color: var(--accent); }
.checks-lg li { font-size: 1.1rem; color: var(--text); }
.checks-lg li + li { margin-top: .85rem; }

/* Process ---------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.5rem;
  margin: 4rem 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}
.process-num {
  font-size: .85rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.process h3 { margin: .25rem 0 .35rem; font-size: 1.1rem; }
.process p { margin: 0; font-size: .95rem; }

.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.05rem; }
.cta-note { margin-top: 1.25rem; font-size: .9rem; }

/* Closing CTA ------------------------------------------------------------ */
.cta { text-align: center; }
.cta h2 {
  margin: 0 0 .75rem;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.cta p { max-width: 34rem; margin-inline: auto; }

/* Hospitality ------------------------------------------------------------ */
.hospitality { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hospitality { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.hospitality-copy .card-icon { margin-bottom: 1.25rem; }
.speaking-cta { margin-top: 2rem; }
.speaker-kit { margin-top: 2rem; max-width: 52rem; }
.book { margin-top: 1.25rem; max-width: 52rem; border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.book .eyebrow { margin-bottom: .5rem; font-size: 1.4rem; color: var(--accent); }
.book h3 { margin-top: 0; }
.book .btn { margin-top: .5rem; }
.hospitality-copy p { font-size: 1.05rem; margin: 0; }
.hospitality-items { display: grid; gap: 1rem; }
.hospitality-items .card h3 { margin-top: 0; }

/* Testimonials ----------------------------------------------------------- */
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
.quote { margin: 0; padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; line-height: 1.6; color: var(--text); }
.quote blockquote::before { content: "“"; color: var(--accent); font-weight: 800; }
.quote figcaption { color: var(--muted); font-size: .9rem; }

/* Contact form ----------------------------------------------------------- */
.contact-form {
  display: grid;
  gap: 1rem 1.25rem;
  margin: 2.5rem 0 1.5rem;
  padding: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  text-align: left;
}
.contact-form[hidden] { display: none; }
.form-fallback { margin-top: 1.5rem; }
@media (min-width: 640px) { .contact-form { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.project-details summary { cursor: pointer; padding-block: .5rem; font-size: .9rem; font-weight: 600; }
.project-details-grid { display: grid; gap: 1rem; padding-block: 1rem .5rem; }
@media (min-width: 640px) {
  .project-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-details-grid .field:first-child { grid-column: 1 / -1; }
}
.cta .book-enquiry-note { margin: 0; font-size: .95rem; }
.cta .form-privacy { margin: 0; font-size: .8rem; font-weight: 400; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-foot .cf-turnstile { min-width: 0; flex: 1 1 18rem; }
.form-foot .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: #22c55e; }
.form-status[data-kind="err"] { color: #f43f5e; }
@media (prefers-color-scheme: light) {
  .form-status[data-kind="ok"] { color: #15803d; }
  .form-status[data-kind="err"] { color: #be123c; }
}
.form-flash { display: none; margin: 1.5rem auto 0; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; }
.form-flash:target { display: block; }
.form-flash-ok { background: color-mix(in srgb, #22c55e 15%, transparent); color: var(--text) !important; }
.form-flash-err { background: color-mix(in srgb, #f43f5e 15%, transparent); color: var(--text) !important; }
.cta-note .icon { color: var(--accent); }
/* Turnstile needs ~300px; let the form use the full width on small phones. */
@media (max-width: 480px) {
  .contact-form { margin-inline: -1.25rem; padding: 1.25rem .6rem; border-radius: 0; border-inline: 0; }
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  padding-block: 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
}
.site-footer .social { justify-content: center; margin-top: 0; }
.copyright { margin: 1.5rem 0 0; }

/* 404 -------------------------------------------------------------------- */
.not-found {
  min-height: 80svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.not-found h1 {
  margin: 0;
  font-size: clamp(5rem, 3rem + 10vw, 10rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.not-found p { color: var(--muted); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero { padding-block: 2rem 3rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-portrait { order: -1; width: min(60%, 15rem); justify-self: start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

@media (max-width: 680px) {
  section[id] { scroll-margin-top: 7rem; }
  .site-nav .container { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .site-nav-brand { min-height: 2.75rem; justify-content: center; font-size: 1rem; }
  .site-nav-links { justify-content: space-between; gap: .5rem; }
  .site-nav-links a { min-height: 2.75rem; font-size: .85rem; }
}

@media (max-width: 480px) {
  .hero-grid { position: relative; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-name { order: -3; padding-right: 5.5rem; font-size: 3rem; }
  .hero-roles { order: -2; gap: .3rem .6rem; font-size: .95rem; margin-top: 1rem; }
  .hero-roles li { gap: .4rem; }
  .availability { order: -1; margin: 1rem 0 0; align-self: flex-start; font-size: .75rem; }
  .hero-headline { margin-top: 1rem; font-size: 1.15rem; }
  .hero-intro { margin-top: .75rem; font-size: 1rem; }
  .hero-actions { margin-top: 1.25rem; gap: .6rem; }
  .hero .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { padding: .75rem 1rem; font-size: .9rem; }
  .hero-meta { margin-top: 1rem; font-size: .8rem; }
  .hero-portrait { position: absolute; top: 0; right: 0; width: 4.5rem; }
  .hero-portrait { padding: 3px; }
  .stat { padding: 1.25rem .75rem; }
}

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