/* v5: transparent logo, wider hero, full The Quantum Family naming, TwoFish links, single artwork */
:root {
  --bg: #f4efe7;
  --bg-soft: #faf6ef;
  --surface: #fffdf9;
  --surface-2: #f8f2e8;
  --surface-blue: #eef5ff;
  --text: #171718;
  --muted: #5d615f;
  --line: #d7cab8;
  --line-strong: #c8b7a0;
  --accent: #1f7df0;
  --accent-dark: #114ea9;
  --accent-soft: rgba(31, 125, 240, 0.12);
  --shadow-soft: 0 14px 34px rgba(16, 24, 40, 0.05);
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.07);
  --radius: 24px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(31, 125, 240, 0.04), transparent 22rem),
    linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  line-height: 1.58;
}

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

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--surface);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  z-index: 1000;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(251, 248, 242, 0.84);
  border-bottom: 1px solid rgba(199, 183, 160, 0.5);
}

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

.brand {
  display: inline-flex;
  align-items: center;
}

.brand:hover { text-decoration: none; }

.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.66rem;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease;
}

.site-nav a:hover {
  text-decoration: none;
  background: rgba(31, 125, 240, 0.08);
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: var(--text);
  font: inherit;
}

.section {
  position: relative;
  padding: 3.9rem 0;
}

.compact-section {
  padding-top: 2.9rem;
  padding-bottom: 2.9rem;
}

.hero {
  padding-top: 5.7rem;
  padding-bottom: 4rem;
  overflow: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.58fr);
  gap: 1rem;
  align-items: end;
}

.hero-copy,
.hero-panel,
.boundary-shell,
.cta-shell {
  border-radius: var(--radius);
}

.hero-copy {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,250,244,0.68));
  border: 1px solid rgba(31, 125, 240, 0.1);
  padding: 1.9rem;
  box-shadow: var(--shadow-soft);
  max-width: 710px;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(237,244,255,0.78), rgba(255,255,255,0.68));
  border: 1px solid rgba(31, 125, 240, 0.1);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
  align-self: start;
  margin-top: 2rem;
  max-width: 300px;
}

.hero-panel-label {
  margin: 0 0 0.5rem;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.panel-title {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  max-width: 15ch;
  margin-bottom: 0.5rem;
}

.panel-copy {
  color: var(--muted);
  max-width: 26ch;
  font-size: 0.93rem;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(31, 125, 240, 0.08);
  border-radius: 999px;
  pointer-events: none;
}

.orbit-a {
  width: 26rem;
  height: 26rem;
  top: -11rem;
  right: -11rem;
}

.eyebrow,
.section-tag,
.boundary-label,
.cta-tag {
  margin: 0 0 0.8rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

h1,
h2,
h3 {
  margin: 0 0 0.72rem;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.85rem, 3.7vw, 2.7rem);
  max-width: 12.5ch;
}

h3 { font-size: 1rem; }

p {
  margin: 0;
  max-width: 60ch;
}

p + p { margin-top: 0.72rem; }

.deck {
  font-size: clamp(1.1rem, 2.05vw, 1.36rem);
  font-weight: 500;
  max-width: 24ch;
}

.subline {
  color: var(--muted);
  max-width: 48ch;
  margin-top: 0.9rem;
}

.section-grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.section-body {
  max-width: 620px;
}

.feature-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.1)),
    linear-gradient(90deg, rgba(31,125,240,0.04), transparent 22rem);
  border-top: 1px solid rgba(31, 125, 240, 0.07);
  border-bottom: 1px solid rgba(31, 125, 240, 0.07);
}

.toned-section {
  background: rgba(255, 252, 247, 0.28);
}

.quote-section {
  background: linear-gradient(180deg, rgba(237,244,255,0.2), rgba(255,255,255,0));
}

.quote-section .section-body {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(31, 125, 240, 0.08);
  border-radius: 20px;
  padding: 1.35rem 1.45rem;
  box-shadow: var(--shadow-soft);
}

.archetypes-section .section-body {
  max-width: 760px;
}

.archetypes-figure {
  margin: 1.35rem 0 0;
  border: 1px solid rgba(31, 125, 240, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #d4c2aa;
  max-width: 760px;
}

.archetypes-figure img {
  width: 100%;
  height: auto;
}

.boundary-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(240px, 0.72fr);
  gap: 0.9rem;
  align-items: start;
  padding: 0.9rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(248,242,232,0.72));
  border: 1px solid rgba(199, 183, 160, 0.5);
  box-shadow: var(--shadow-soft);
}

.boundary-copy {
  padding: 1rem;
}

.boundary-tag {
  margin-bottom: 0.64rem;
}

.boundary-cards {
  display: grid;
  gap: 0.72rem;
}

.boundary-card {
  background: var(--surface);
  border: 1px solid rgba(31, 125, 240, 0.1);
  border-radius: 16px;
  padding: 0.9rem;
  min-height: 108px;
}

.boundary-card p {
  color: var(--muted);
  max-width: 20ch;
  font-size: 0.92rem;
}

.dark-accent {
  background:
    linear-gradient(180deg, rgba(17, 78, 169, 0.04), rgba(17, 78, 169, 0.01)),
    rgba(255,255,255,0.18);
}

.cta-section {
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 0.9rem;
  padding: 0.95rem;
  background: linear-gradient(180deg, rgba(232,240,251,0.88), rgba(244,247,253,0.86));
  border: 1px solid rgba(31, 125, 240, 0.14);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.cta-shell h2,
.cta-shell p,
.cta-shell .section-tag {
  color: var(--text);
}

.cta-copy {
  padding: 1rem 1rem 1rem 1.1rem;
  max-width: 480px;
}

.cta-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.email-form {
  display: grid;
  gap: 0.78rem;
  padding: 1rem;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(31, 125, 240, 0.08);
  border-radius: 18px;
  color: var(--text);
}

.email-form label {
  display: grid;
  gap: 0.36rem;
}

.email-form span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.email-form input {
  width: 100%;
  padding: 0.82rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(199, 183, 160, 0.8);
  background: white;
  color: var(--text);
  font: inherit;
}

.email-form button {
  appearance: none;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: white;
  font: inherit;
  font-weight: 800;
  padding: 0.9rem 1rem;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(17, 78, 169, 0.18);
}

.email-form button:hover {
  transform: translateY(-1px);
}

.form-note,
.quiet-link {
  margin-top: 0.62rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(199, 183, 160, 0.6);
  background: rgba(255,255,255,0.4);
}

.footer-inner {
  min-height: 60px;
}

.footer-inner p,
.footer-inner a {
  font-size: 0.86rem;
  color: var(--muted);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
  }

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

  .hero-grid,
  .boundary-shell,
  .cta-shell,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .section-grid { gap: 0.56rem; }
  .section-tag { margin-bottom: 0; }
  .hero-panel {
    margin-top: 0;
    max-width: 100%;
  }
  .orbit-a { display: none; }
}

@media (max-width: 640px) {
  .section {
    padding-top: 3.3rem;
    padding-bottom: 3.3rem;
  }

  .compact-section {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
  }

  .hero {
    padding-top: 5.2rem;
    padding-bottom: 3.7rem;
  }

  .hero-copy,
  .hero-panel,
  .boundary-shell,
  .cta-shell,
  .quote-section .section-body,
  .email-form,
  .archetypes-figure {
    border-radius: 18px;
  }

  .hero-copy,
  .hero-panel,
  .quote-section .section-body,
  .boundary-copy,
  .cta-copy,
  .email-form {
    padding: 1rem;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-logo {
    height: 28px;
  }
}


.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.form-status-error {
  color: #9b1c1c;
}
