:root {
  --bg: #0b0b0b;
  --bg-soft: #121212;
  --surface: rgba(255,255,255,.035);
  --surface-strong: rgba(255,255,255,.065);
  --text: #f3efe8;
  --text-soft: #c9c2b8;
  --muted: #8f887f;
  --line: rgba(255,255,255,.11);
  --accent: #b9482d;
  --accent-bright: #df6a42;
  --accent-soft: rgba(185,72,45,.18);
  --shadow: 0 24px 80px rgba(0,0,0,.42);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max-width: 1180px;
  --nav-height: 76px;
  --section-space: clamp(5rem, 10vw, 9rem);
  --ease: cubic-bezier(.2,.75,.25,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 18px);
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(185,72,45,.09), transparent 24rem),
    linear-gradient(180deg, #0b0b0b 0%, #0d0d0d 45%, #090909 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 999;
  background-image:
    linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 80%);
}

::selection {
  background: var(--accent);
  color: white;
}

a {
  color: inherit;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: .18em;
}

a:hover {
  text-decoration-color: var(--accent-bright);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(10,10,10,.94), rgba(10,10,10,.74));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .3s ease, background .3s ease;
}

nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

nav > .container > a {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}

nav ul {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 1.8vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  margin: 0;
}

nav li a {
  position: relative;
  color: var(--text-soft);
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: color .25s ease;
}

nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -.45rem;
  height: 1px;
  background: var(--accent-bright);
  transition: right .3s var(--ease);
}

nav li a:hover,
nav li a:focus-visible {
  color: var(--text);
}

nav li a:hover::after,
nav li a:focus-visible::after {
  right: 0;
}

main {
  position: relative;
}

section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: calc(var(--section-space) + var(--nav-height)) var(--section-space);
  isolation: isolate;
}

section:not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, transparent 0%, rgba(255,255,255,.015) 45%, transparent 100%);
}

section:not(.hero)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(80%, 900px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 0%, transparent 28%),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.05), transparent 22rem);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 650;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-bright), transparent);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--text);
  text-wrap: balance;
}

h1 {
  max-width: 980px;
  margin-bottom: 1.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8.5rem);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.055em;
}

h2 {
  max-width: 980px;
  margin-bottom: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -.015em;
}

p {
  max-width: 760px;
  color: var(--text-soft);
}

.lead {
  max-width: 760px;
  margin-bottom: 1.8rem;
  color: var(--text-soft);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.55;
}

strong {
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 2rem;
}

.card {
  grid-column: span 3;
  position: relative;
  min-height: 220px;
  padding: 1.6rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition:
    transform .35s var(--ease),
    border-color .35s ease,
    background .35s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: auto -20% -45% 35%;
  height: 180px;
  background: radial-gradient(circle, rgba(185,72,45,.23), transparent 65%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity .35s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(223,106,66,.4);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}

.card:hover::before {
  opacity: 1;
}

.metric {
  margin-bottom: .5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .85rem 1.2rem;
  margin: .5rem .6rem 0 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 650;
  transition:
    transform .25s var(--ease),
    border-color .25s ease,
    background .25s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(223,106,66,.55);
  background: var(--accent-soft);
  outline: none;
}

.cta:first-of-type {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  box-shadow: 0 14px 40px rgba(185,72,45,.24);
}

.cta:first-of-type:hover,
.cta:first-of-type:focus-visible {
  background: linear-gradient(135deg, var(--accent-bright), #ef7b51);
}

#story .container,
#leadership .container,
#speaking .container,
#fire .container,
#recognition .container,
#contact .container {
  position: relative;
}

#story .container::after,
#leadership .container::after,
#speaking .container::after,
#fire .container::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10%;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.045), transparent 66%);
  z-index: -1;
}

#fire {
  background:
    radial-gradient(circle at 75% 50%, rgba(185,72,45,.2), transparent 26rem),
    linear-gradient(180deg, transparent, rgba(185,72,45,.025), transparent);
}

#contact {
  min-height: 82svh;
  text-align: center;
}

#contact .container {
  display: grid;
  justify-items: center;
}

#contact p {
  margin-inline: auto;
}

footer {
  position: relative;
  padding: 2.6rem 0 3.2rem;
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(80%, 900px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
}

/* Progressive reveal animation */
@media (prefers-reduced-motion: no-preference) {
  section .container > * {
    opacity: 0;
    transform: translateY(28px);
    animation: reveal .9s var(--ease) forwards;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }

  section .container > *:nth-child(2) { animation-delay: .05s; }
  section .container > *:nth-child(3) { animation-delay: .1s; }
  section .container > *:nth-child(4) { animation-delay: .15s; }

  .hero .container > * {
    animation-timeline: auto;
    animation-range: normal;
  }

  .hero .eyebrow { animation-delay: .15s; }
  .hero h1 { animation-delay: .3s; }
  .hero .lead { animation-delay: .45s; }
  .hero .cta { animation-delay: .6s; }

  @keyframes reveal {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* Tablet */
@media (max-width: 980px) {
  .card {
    grid-column: span 6;
  }

  .hero {
    background-position: 62% 30%;
  }

  h1 {
    max-width: 820px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --nav-height: 66px;
  }

  nav ul {
    display: none;
  }

  nav .container {
    justify-content: center;
  }

  section {
    min-height: auto;
    padding-block: calc(var(--section-space) + var(--nav-height)) var(--section-space);
  }

  .hero {
    min-height: 100svh;
  }

  .hero .container {
    align-self: end;
    padding-bottom: 2rem;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.7rem);
  }

  h2 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .grid {
    display: block;
  }

  .card {
    margin-bottom: 1rem;
    min-height: 180px;
  }

  .cta {
    width: 100%;
    margin-right: 0;
  }

  #story .container::after,
  #leadership .container::after,
  #speaking .container::after,
  #fire .container::after {
    right: -40%;
    width: 90vw;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}


/* Hero media stack */
.hero-media { position:absolute; inset:0; z-index:-2; overflow:hidden; }
.hero-picture,.hero-picture img,.hero-cinemagraph { position:absolute; inset:0; width:100%; height:100%; }
.hero-picture img,.hero-cinemagraph { object-fit:cover; object-position:center 30%; }
.hero-picture img { filter:saturate(.88) contrast(1.04) brightness(.76); transform:scale(1.015); }
.hero-cinemagraph { opacity:.24; mix-blend-mode:screen; pointer-events:none; filter:saturate(.7) contrast(1.08) brightness(.72); }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(8,8,8,.97) 0%,rgba(8,8,8,.86) 42%,rgba(8,8,8,.42) 74%,rgba(8,8,8,.22) 100%),linear-gradient(to top,var(--bg) 0%,transparent 30%),radial-gradient(circle at 79% 35%,rgba(185,72,45,.16),transparent 28rem); }
.ember-field { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.ember { position:absolute; bottom:-5%; display:block; width:5px; height:5px; border-radius:50%; background:radial-gradient(circle,#ffd3a0 0%,#ff8a3d 40%,rgba(255,77,0,.15) 72%,transparent 100%); box-shadow:0 0 8px rgba(255,138,61,.75),0 0 18px rgba(255,77,0,.28); opacity:0; animation:ember-rise var(--duration,9s) linear infinite; animation-delay:var(--delay,0s); }
.ember-1{left:72%;--duration:8.5s;--delay:-1s}.ember-2{left:81%;--duration:11s;--delay:-4s}.ember-3{left:88%;--duration:9.2s;--delay:-7s}.ember-4{left:66%;--duration:12.5s;--delay:-5.5s}.ember-5{left:93%;--duration:10.2s;--delay:-2.5s}.ember-6{left:77%;--duration:13.5s;--delay:-9s}
@keyframes ember-rise { 0%{transform:translate3d(0,0,0) scale(.4);opacity:0} 8%{opacity:.7} 42%{transform:translate3d(18px,-34vh,0) scale(.7);opacity:.5} 72%{transform:translate3d(-12px,-62vh,0) scale(.5);opacity:.28} 100%{transform:translate3d(8px,-92vh,0) scale(.2);opacity:0} }
@media(max-width:760px){.hero-picture img,.hero-cinemagraph{object-position:62% 18%}.hero-overlay{background:linear-gradient(180deg,rgba(8,8,8,.30) 0%,rgba(8,8,8,.72) 55%,var(--bg) 100%),radial-gradient(circle at 75% 28%,rgba(185,72,45,.12),transparent 20rem)}.hero-cinemagraph{opacity:.18}.ember-field{opacity:.7}}
@media(prefers-reduced-motion:reduce){.hero-cinemagraph,.ember{display:none}}
nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10,10,10,.9); }
nav a.is-active { color: var(--text); }
nav a.is-active::after { right: 0; }
.js-reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal { opacity: 1; transform: none; } }
