:root {
  --abyss: #050910;
  --abyss-2: #071018;
  --deep: #0c1a2c;
  --indigo: #1a2748;
  --indigo-mid: #24325c;
  --coral: #e36a7a;
  --coral-bright: #ff8f8c;
  --coral-deep: #c44d5f;
  --turquoise: #3ecfc0;
  --turquoise-dim: #2a9d94;
  --silver: #d7e0ea;
  --silver-dim: #93a3b5;
  --foam: #f4f7fb;
  --surface: rgba(12, 28, 48, 0.72);
  --line: rgba(62, 207, 192, 0.18);
  --radius: 1.35rem;
  --font-display: "Nunito", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --header-h: 4.5rem;
  --glow-coral: 0 0 24px rgba(227, 106, 122, 0.35);
  --glow-teal: 0 0 28px rgba(62, 207, 192, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--silver);
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(62, 207, 192, 0.12), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(227, 106, 122, 0.16), transparent 50%),
    radial-gradient(800px 500px at 80% 100%, rgba(36, 50, 92, 0.55), transparent 55%),
    linear-gradient(180deg, var(--abyss) 0%, var(--abyss-2) 40%, #081422 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(62, 207, 192, 0.55), transparent),
    radial-gradient(1.2px 1.2px at 28% 68%, rgba(255, 143, 140, 0.4), transparent),
    radial-gradient(1px 1px at 63% 18%, rgba(215, 224, 234, 0.35), transparent),
    radial-gradient(1.4px 1.4px at 81% 44%, rgba(62, 207, 192, 0.4), transparent),
    radial-gradient(1px 1px at 44% 86%, rgba(255, 143, 140, 0.35), transparent),
    radial-gradient(1.2px 1.2px at 91% 78%, rgba(215, 224, 234, 0.28), transparent);
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--turquoise);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-bright);
}

:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 3px;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: absolute;
  z-index: 80;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--indigo);
  color: var(--foam);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.shell {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 9, 16, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--foam);
  text-decoration: none;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 30% 30%, var(--turquoise), transparent 42%),
    radial-gradient(circle at 70% 70%, var(--coral), transparent 46%),
    #0a1828;
  box-shadow: var(--glow-teal);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--silver-dim);
}

.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--silver);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--coral-bright);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(12, 26, 44, 0.8);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--foam);
  border-radius: 99px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.hero-ledger {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2.5rem;
  align-items: stretch;
  padding: 3.2rem 0 4rem;
}

.hero-photo {
  position: relative;
  min-height: 28rem;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2.4rem 0.7rem 2.6rem 1.4rem;
  filter: saturate(0.85) contrast(1.05);
  box-shadow: 0 0 0 1px rgba(62, 207, 192, 0.25), var(--glow-teal);
}

.hero-photo figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  background: rgba(5, 9, 16, 0.72);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--silver-dim);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 2px solid rgba(227, 106, 122, 0.55);
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--turquoise);
  margin: 0 0 1rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.55rem);
  line-height: 1.12;
  color: var(--foam);
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.12rem;
  color: var(--silver);
  max-width: 38rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.8rem;
  align-items: center;
}

.office-chip {
  font-size: 0.88rem;
  color: var(--silver-dim);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 0.7rem 0.95rem;
  background: var(--surface);
}

.text-cta {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--coral-bright);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.12rem;
}

.text-cta:hover {
  color: var(--turquoise);
}

.btn-coral,
.btn-ghost {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  transition: transform 0.35s ease, box-shadow 1s ease, color 0.3s ease;
}

.btn-coral {
  color: #fff8f6;
  background: linear-gradient(160deg, #f08a8a 0%, #d45d6e 42%, #a63d5c 100%);
  box-shadow: 0 8px 24px rgba(196, 77, 95, 0.28);
}

.btn-coral::before,
.btn-coral::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease, transform 1.15s ease;
  filter: blur(7px);
}

.btn-coral::before {
  inset: -55% -70%;
  background:
    radial-gradient(ellipse 28% 22% at 18% 50%, rgba(255, 150, 150, 0.7), transparent 62%),
    radial-gradient(ellipse 24% 30% at 78% 28%, rgba(62, 207, 192, 0.45), transparent 64%),
    radial-gradient(ellipse 22% 26% at 72% 78%, rgba(255, 120, 140, 0.5), transparent 65%);
  transform: scale(0.35);
}

.btn-coral::after {
  inset: -20% -30%;
  background:
    radial-gradient(ellipse 18% 40% at 8% 60%, rgba(227, 106, 122, 0.55), transparent 70%),
    radial-gradient(ellipse 16% 36% at 96% 40%, rgba(62, 207, 192, 0.4), transparent 70%);
  transform: scale(0.2) rotate(-12deg);
}

.btn-coral:hover,
.btn-coral:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  box-shadow:
    0 0 10px rgba(255, 143, 140, 0.7),
    16px -10px 22px rgba(227, 106, 122, 0.35),
    -18px 8px 24px rgba(62, 207, 192, 0.28),
    22px 14px 28px rgba(255, 127, 127, 0.22);
}

.btn-coral:hover::before,
.btn-coral:focus-visible::before,
.btn-coral:hover::after,
.btn-coral:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.btn-ghost {
  color: var(--foam);
  background: transparent;
  border: 1px solid rgba(62, 207, 192, 0.35);
}

.btn-ghost:hover {
  border-color: var(--coral);
  color: var(--coral-bright);
}

.panel {
  background: linear-gradient(180deg, rgba(16, 36, 58, 0.78), rgba(10, 22, 38, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(215, 224, 234, 0.06);
}

.section {
  padding: 3.4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.page-hero h1,
.article-body h2 {
  font-family: var(--font-display);
  color: var(--foam);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.muted {
  color: var(--silver-dim);
}

.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
}

.spotlight img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.spotlight-copy {
  padding: 2.2rem 2rem;
}

.spotlight-copy h2 {
  margin-top: 0.4rem;
}

.feature-rows {
  display: grid;
  gap: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.2rem;
  align-items: start;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.feature-row:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--coral);
}

.feature-row h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  color: var(--foam);
}

.feature-row p {
  margin: 0;
  color: var(--silver-dim);
}

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.quote {
  padding: 1.6rem 1.5rem;
}

.quote blockquote {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  color: var(--foam);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.45;
}

.quote cite {
  font-style: normal;
  color: var(--silver-dim);
  font-size: 0.92rem;
}

.insights-preview {
  display: grid;
  gap: 1.2rem;
}

.insight-line {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.insight-line:hover h3 {
  color: var(--coral-bright);
}

.insight-line time {
  color: var(--turquoise);
  font-size: 0.88rem;
}

.insight-line h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  color: var(--foam);
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin: 0.3rem 0 0.8rem;
  max-width: 18ch;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--foam);
  margin-top: 2rem;
}

.prose ul,
.article-body ul {
  padding-left: 1.1rem;
}

.media-frame {
  border-radius: 1.6rem 0.6rem 1.8rem 1.1rem;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(227, 106, 122, 0.22), var(--glow-coral);
  margin: 1.4rem 0 2rem;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  padding: 1.3rem 1.4rem 1.3rem 5rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--turquoise);
  font-size: 1.4rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  color: var(--foam);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.person {
  overflow: hidden;
}

.person img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.8);
}

.person-body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.person h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--foam);
}

.person .role {
  color: var(--coral-bright);
  font-size: 0.9rem;
  margin: 0.15rem 0 0.6rem;
}

.card-media {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.2rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.card-media img {
  width: 100%;
  height: 100%;
  min-height: 8rem;
  object-fit: cover;
  border-radius: 1rem;
}

.card-media h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--foam);
}

.includes {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.includes li {
  padding-left: 1rem;
  position: relative;
}

.includes li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--turquoise);
  position: absolute;
  left: 0;
  top: 0.55rem;
  box-shadow: 0 0 10px var(--turquoise);
}

.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--foam);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(62, 207, 192, 0.25);
  background: rgba(5, 9, 16, 0.55);
  color: var(--foam);
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-error {
  min-height: 1.2rem;
  color: var(--coral-bright);
  font-size: 0.88rem;
  margin: 0.25rem 0 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
}

.form-status.is-success {
  background: rgba(62, 207, 192, 0.12);
  color: var(--turquoise);
}

.form-status.is-error,
.island-error {
  background: rgba(227, 106, 122, 0.12);
  color: var(--coral-bright);
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 14, 0.85);
  padding: 2.6rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 1.6rem;
}

.footer-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--turquoise);
  margin: 0 0 0.4rem;
}

.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--foam);
  margin: 0 0 0.6rem;
}

.footer-label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--foam);
  margin: 0 0 0.6rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.site-footer a {
  color: var(--silver);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--coral-bright);
}

address {
  font-style: normal;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--silver-dim);
  font-size: 0.88rem;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
}

.cookie-inner {
  width: min(920px, 100%);
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(18, 38, 62, 0.95), rgba(8, 18, 32, 0.96));
  border: 1px solid rgba(227, 106, 122, 0.35);
  box-shadow: var(--glow-coral);
}

.cookie-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.lost {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.lost h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--foam);
  margin: 0 0 0.6rem;
}

@media (max-width: 900px) {
  .hero-ledger,
  .spotlight,
  .quotes,
  .contact-split,
  .footer-grid,
  .team-grid,
  .card-media,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    min-height: 18rem;
  }

  .hero-copy {
    border-left: 0;
    padding-left: 0;
    border-top: 2px solid rgba(227, 106, 122, 0.55);
    padding-top: 1.4rem;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(5, 9, 16, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1.2rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.7rem;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-coral,
  .btn-coral::before,
  .btn-coral::after {
    transition: none;
  }
}
