:root {
  --abyss: #050b14;
  --abyss-2: #08121c;
  --indigo: #12182e;
  --surface: rgba(18, 28, 42, 0.78);
  --surface-solid: #121c2a;
  --coral: #ff6f7d;
  --coral-deep: #e24a62;
  --coral-glow: rgba(255, 111, 125, 0.45);
  --turquoise: #3eebd6;
  --turquoise-dim: rgba(62, 235, 214, 0.18);
  --silver: #c9d4e0;
  --silver-bright: #eef3f8;
  --muted: #8b9aab;
  --line: rgba(201, 212, 224, 0.14);
  --radius: 1.35rem;
  --font: "Nunito", system-ui, sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--silver);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(62, 235, 214, 0.08), transparent 55%),
    radial-gradient(900px 500px at 110% 8%, rgba(255, 111, 125, 0.12), transparent 50%),
    radial-gradient(700px 700px at 80% 90%, rgba(62, 235, 214, 0.05), transparent 45%),
    linear-gradient(180deg, var(--abyss) 0%, var(--indigo) 48%, var(--abyss-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(62, 235, 214, 0.09) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255, 111, 125, 0.08) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(238, 243, 248, 0.05) 0 1px, transparent 2px);
  background-size: 180px 180px, 240px 240px, 140px 140px;
  z-index: 0;
}

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(--silver-bright);
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--silver-bright);
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

address { font-style: normal; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--coral);
  color: var(--abyss);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus { top: 0.8rem; }

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

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 0.55rem;
}

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

.meta { color: var(--muted); font-size: 0.95rem; }

.section-title { margin-top: 0; }
.section-intro { max-width: 40rem; color: var(--muted); }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.band { padding: 3.5rem 0; }

.text-link {
  color: var(--coral);
  font-weight: 700;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-coral {
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: var(--abyss);
  box-shadow: 0 0 0 0 var(--coral-glow);
}

.btn-coral::before,
.btn-coral::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 60% 40% 55% 45%;
  background: rgba(62, 235, 214, 0.55);
  opacity: 0;
  transform: scale(0.2);
  z-index: -1;
}

.btn-coral::before { left: 18%; top: 20%; }
.btn-coral::after { right: 16%; bottom: 10%; background: rgba(255, 255, 255, 0.35); }

.btn-coral:hover,
.btn-coral:focus-visible {
  color: var(--abyss);
  box-shadow:
    0 0 0 10px rgba(255, 111, 125, 0.08),
    0 0 28px var(--coral-glow);
}

.btn-coral:hover::before,
.btn-coral:focus-visible::before,
.btn-coral:hover::after,
.btn-coral:focus-visible::after {
  opacity: 1;
  animation: branch-spread 1.1s ease-out forwards;
}

@keyframes branch-spread {
  0% { transform: scale(0.2); opacity: 0.2; filter: blur(0); }
  70% { opacity: 0.9; }
  100% { transform: scale(6.5); opacity: 0; filter: blur(2px); }
}

.btn-ghost {
  background: transparent;
  color: var(--silver-bright);
  border: 1px solid var(--line);
}

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

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

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

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

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 70% 25%, var(--turquoise), transparent 42%),
    radial-gradient(circle at 30% 80%, var(--coral), transparent 40%),
    #0b1520;
  box-shadow: 0 0 16px var(--coral-glow);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.site-nav ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

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

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--silver-bright);
  position: relative;
  margin: 0 auto;
}

.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-editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - 4.4rem);
}

.hero-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 28rem;
  filter: saturate(0.85) contrast(1.05);
}

.hero-figure figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(5, 11, 20, 0.7);
  color: var(--silver);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
}

.hero-panel {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(255, 111, 125, 0.08), transparent 40%),
    rgba(10, 18, 30, 0.55);
  border-left: 1px solid var(--line);
}

.examine-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.examine-list li {
  padding: 1rem 1.1rem 1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 3px 0 0 var(--coral);
}

.primary-offer,
.split-notes,
.page-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.offer-figure,
.page-hero-split figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.offer-figure img,
.page-hero-split img,
.card img,
.stack-card img,
.team-card img,
.engagement img,
.post-cover img {
  width: 100%;
  object-fit: cover;
}

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

.card, .team-card, .stack-card, .engagement, .form, .contact-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-body, .team-card { padding: 1.1rem 1.15rem 1.3rem; }
.team-card img { height: 16rem; object-position: top; }
.card h3, .card h2 { margin: 0.2rem 0 0.6rem; }
.card h2 { font-size: 1.2rem; }
.card a { color: var(--silver-bright); text-decoration: none; }
.card a:hover { color: var(--turquoise); }

.evidence blockquote {
  margin: 0;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background:
    radial-gradient(500px 180px at 0% 0%, var(--turquoise-dim), transparent 60%),
    var(--surface-solid);
  border: 1px solid var(--line);
  font-size: 1.2rem;
}

.evidence footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  width: min(1120px, calc(100% - 2rem));
  margin: 2.5rem auto 0;
}

.page-hero-split { align-items: stretch; }
.page-hero-split > div { display: flex; flex-direction: column; justify-content: center; }

.stack-cards { display: grid; gap: 1.4rem; }
.stack-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0;
}

.stack-card > div { padding: 1.4rem 1.5rem; }
.stack-card img { height: 100%; min-height: 14rem; }

.engagement {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0;
  margin-bottom: 1.5rem;
}

.engagement > div { padding: 1.4rem 1.6rem; }
.engagement img { height: 100%; min-height: 16rem; }
.engagement h3 { margin-bottom: 0.3rem; color: var(--turquoise); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }

.post-cover {
  width: min(1120px, calc(100% - 2rem));
  margin: 1.5rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.post-cover img { max-height: 28rem; width: 100%; object-fit: cover; }

.prose { max-width: 72ch; }
.prose-narrow { margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: 2rem; }

.cta-row { margin-top: 1.5rem; }
.cta-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.4rem);
  padding: 2rem;
  margin-bottom: 3rem;
}

.form { padding: 1.4rem; }
.form-wide { max-width: 760px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row { margin-bottom: 1rem; }
.form-row label { display: block; font-weight: 700; margin-bottom: 0.35rem; color: var(--silver-bright); }

input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--silver-bright);
  background: rgba(5, 11, 20, 0.65);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.75rem 0.85rem;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--turquoise);
  border-color: transparent;
}

.field-error { color: var(--coral); font-size: 0.9rem; margin: 0.35rem 0 0; }
.form-status { margin-top: 1rem; font-weight: 700; }
.form-status.is-success { color: var(--turquoise); }
.form-status.is-error { color: var(--coral); }

.contact-aside { padding: 1.4rem; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 11, 20, 0.85);
  padding: 2.5rem 0 1.2rem;
}

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

.footer-brand { font-weight: 800; color: var(--silver-bright); font-size: 1.1rem; }
.footer-label { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); font-weight: 800; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-base { margin-top: 2rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 1rem; }

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 12;
  width: min(28rem, calc(100% - 2rem));
}

.cookie-inner {
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow), 0 0 40px rgba(255, 111, 125, 0.12);
}

.cookie-title { font-weight: 800; color: var(--silver-bright); margin-bottom: 0.4rem; }
.cookie-actions { display: flex; gap: 0.6rem; margin-top: 0.8rem; }

.js-error {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  background: var(--coral-deep);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  z-index: 15;
  max-width: 24rem;
}

@media (max-width: 960px) {
  .hero-editorial,
  .primary-offer,
  .split-notes,
  .page-hero-split,
  .stack-card,
  .engagement,
  .card-grid,
  .team-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.4rem;
    background: rgba(5, 11, 20, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.3rem;
  }

  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; }
  .hero-editorial { min-height: auto; }
  .hero-figure img { min-height: 18rem; }
}

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