:root {
  --abyss: #040a12;
  --abyss-2: #07141d;
  --indigo: #10182c;
  --surface: rgba(16, 30, 44, 0.82);
  --surface-solid: #10202c;
  --coral: #ff6f7d;
  --coral-deep: #e24a62;
  --coral-glow: rgba(255, 111, 125, 0.42);
  --turquoise: #3eebd6;
  --turquoise-dim: rgba(62, 235, 214, 0.16);
  --silver: #c9d4e0;
  --silver-bright: #eef3f8;
  --muted: #8b9aab;
  --line: rgba(201, 212, 224, 0.15);
  --radius: 1.15rem;
  --font: "Quicksand", system-ui, sans-serif;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.06rem;
  line-height: 1.68;
  color: var(--silver);
  background:
    radial-gradient(900px 480px at 88% -8%, rgba(255, 111, 125, 0.14), transparent 52%),
    radial-gradient(700px 520px at -8% 18%, rgba(62, 235, 214, 0.09), transparent 50%),
    radial-gradient(640px 640px at 70% 100%, rgba(62, 235, 214, 0.05), transparent 48%),
    linear-gradient(185deg, var(--abyss) 0%, var(--indigo) 46%, var(--abyss-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(62, 235, 214, 0.1) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 48%, rgba(255, 111, 125, 0.09) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 78%, rgba(238, 243, 248, 0.05) 0 1px, transparent 2px);
  background-size: 170px 170px, 230px 230px, 130px 130px;
  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: 700;
  letter-spacing: -0.028em;
  color: var(--silver-bright);
  line-height: 1.18;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
h3 { font-size: 1.12rem; }

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(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

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

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

.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.2rem 0; }

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

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  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(4, 10, 18, 0.74);
  border-bottom: 1px solid var(--line);
}

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

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

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50% 40% 55% 45%;
  background:
    radial-gradient(circle at 72% 28%, var(--turquoise), transparent 44%),
    radial-gradient(circle at 28% 78%, var(--coral), transparent 42%),
    #0a151e;
  box-shadow: 0 0 18px var(--coral-glow);
}

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

.site-nav ul {
  display: flex;
  gap: 1.05rem;
  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.94rem;
}

.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.85rem;
}

.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-path {
  width: min(1080px, calc(100% - 2rem));
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.hero-copy h1 { max-width: 18ch; }

.note-stack {
  display: grid;
  gap: 0.85rem;
  padding-top: 0.4rem;
}

.field-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1.05rem;
  box-shadow: var(--shadow);
}

.field-note time,
.field-note .note-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--turquoise);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field-note p { margin: 0; font-size: 0.95rem; }

.hero-strip {
  margin: 2rem 0 0;
  position: relative;
}

.hero-strip img {
  width: 100%;
  height: min(52vh, 28rem);
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
}

.hero-strip figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(4, 10, 18, 0.72);
  color: var(--silver);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
}

.stage-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.stage-rail::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 1.15rem;
  height: 2px;
  background: linear-gradient(90deg, var(--turquoise), var(--coral));
  opacity: 0.45;
}

.stage-rail li {
  position: relative;
  padding-top: 2.4rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.stage-rail li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px var(--coral-glow);
}

.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(--turquoise);
}

.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,
.walk-card img,
.post-cover img {
  width: 100%;
  object-fit: cover;
}

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

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

.card-body, .team-card, .case-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.18rem; }
.card a { color: var(--silver-bright); text-decoration: none; }
.card a:hover { color: var(--turquoise); }

.case-grid {
  display: grid;
  gap: 1rem;
}

.page-hero {
  width: min(1080px, 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.35rem; }
.stack-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0;
}

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

.walk-grid {
  display: grid;
  gap: 1.1rem;
}

.walk-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0;
}

.walk-step {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--coral);
  background:
    radial-gradient(80px 80px at 50% 20%, var(--turquoise-dim), transparent 70%),
    rgba(4, 10, 18, 0.45);
  border-right: 1px solid var(--line);
}

.walk-card > div { padding: 1.2rem 1.35rem; }
.walk-card h2 { margin: 0 0 0.5rem; font-size: 1.25rem; }

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

.post-cover img { max-height: 26rem; 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.35rem);
  padding: 2rem;
  margin-bottom: 3rem;
}

.form { padding: 1.35rem; }
.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(4, 10, 18, 0.65);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  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.35rem; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 18, 0.88);
  padding: 2.4rem 0 1.2rem;
}

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

.footer-brand { font-weight: 700; color: var(--silver-bright); font-size: 1.08rem; }
.footer-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.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;
  left: 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: 700; color: var(--silver-bright); margin-bottom: 0.4rem; }
.cookie-actions { display: flex; gap: 0.6rem; margin-top: 0.8rem; }

.js-error {
  position: fixed;
  right: 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-path,
  .primary-offer,
  .split-notes,
  .page-hero-split,
  .stack-card,
  .card-grid,
  .team-grid,
  .footer-grid,
  .form-grid,
  .stage-rail,
  .walk-card {
    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.3rem;
    background: rgba(4, 10, 18, 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-copy h1 { max-width: none; }
  .stage-rail::before { display: none; }
  .walk-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 0.7rem; }
}

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