:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --text-light: #4a4a4a;
  --text-muted: #888;
  --border: #e8e8e8;
  --aurora: linear-gradient(95deg, #0066ff 0%, #8b00ff 50%, #ff0080 100%);
  --shadow-block: 6px 6px 0 var(--text);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ---- Type scale ---- */

.h-display {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.h-section {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
}

.h-card {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ---- Aurora text ---- */

.aurora-text {
  background: var(--aurora);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- Container ---- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Top strip ---- */

.top-strip {
  height: 12px;
  background: var(--aurora);
  width: 100%;
}

/* ---- Nav ---- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-nav__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
}

.site-nav__wordmark .ai {
  background: var(--aurora);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.site-nav__links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav__links a:hover {
  color: var(--text-light);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown__toggle:hover {
  color: var(--text-light);
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 110;
  list-style: none;
}

.nav-dropdown--open .nav-dropdown__menu {
  display: block;
}

@media (min-width: 769px) {
  .nav-dropdown:hover .nav-dropdown__menu {
    display: block;
  }
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.nav-dropdown__menu a:hover {
  background: #f5f5f5;
}

/* Ignite CTA button */
.nav-cta {
  background: var(--aurora);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.15s;
}

.nav-cta:hover {
  opacity: 0.9;
  color: #ffffff !important;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .site-nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

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

  .site-nav__links li {
    width: 100%;
  }

  .site-nav__links a,
  .nav-dropdown__toggle {
    display: block;
    padding: 0.75rem 0;
    width: 100%;
    font-size: 1rem;
    text-align: left;
  }

  .nav-dropdown__toggle {
    justify-content: flex-start;
  }

  .nav-dropdown__menu {
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-dropdown__menu a {
    padding: 0.5rem 0 0.5rem 1rem;
  }

  .nav-dropdown--open .nav-dropdown__menu {
    display: block;
  }

  .nav-cta {
    display: block;
    text-align: left;
    width: auto;
    margin-top: 0.5rem;
  }
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.site-footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.site-footer__wordmark .ai {
  background: var(--aurora);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-footer__triptych {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
  list-style: none;
}

.site-footer__columns a {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
}

.site-footer__columns a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer__bio {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.site-footer__trademark {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Sections ---- */

.section {
  padding: 3rem 0;
}

.section--tight {
  padding: 1.5rem 0;
}

/* ---- Offset shadow (cards, photos, form panels) ---- */

.shadow-block {
  box-shadow: var(--shadow-block);
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}

.btn--primary {
  background: var(--aurora);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

.btn--outline:hover {
  background: var(--text);
  color: var(--bg);
}

/* ---- Forms ---- */

.form-group {
  display: flex;
  gap: 0.5rem;
  max-width: 480px;
}

.form-group--stacked {
  flex-direction: column;
  max-width: 100%;
}

.form-group--stacked input[type="email"] {
  width: 100%;
}

.form-group--stacked button {
  width: 100%;
}

.form-group input[type="email"] {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group input[type="email"]:focus {
  border-color: var(--text);
}

.form-group button {
  white-space: nowrap;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.form-note a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* ---- Cookie banner removed 22 May 2026, no analytics cookies in use ---- */

/* ---- Exit popup ---- */

.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
}

.exit-popup-overlay.is-visible {
  display: flex;
}

.exit-popup {
  background: var(--bg);
  max-width: 520px;
  width: 90%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-block);
}

.exit-popup__aurora-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--aurora);
}

.exit-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.exit-popup__close:hover {
  color: var(--text);
}

.exit-popup h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.exit-popup p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.exit-popup__secondary {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1.25rem;
}

.exit-popup__secondary a {
  color: var(--text);
  text-decoration: underline;
}

.exit-popup__dismiss {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
}

.exit-popup__dismiss:hover {
  color: var(--text-light);
}

/* ---- Ladder grid ---- */

.ladder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ladder-card {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 8px;
  padding: 1.5rem;
}

.ladder-card--enterprise {
  grid-column: 1 / -1;
  border-width: 2px;
}

@media (max-width: 768px) {
  .ladder-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Photo triptych (homepage) ---- */

.photo-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.photo-triptych__frame {
  border: 2px solid var(--text);
  border-radius: 8px;
  overflow: hidden;
  height: 320px;
  transition: transform 0.2s;
}

.photo-triptych__frame:hover {
  transform: translate(-3px, -3px);
}

.photo-triptych__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-triptych__caption {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--text);
  background: var(--bg);
}

@media (max-width: 768px) {
  .photo-triptych {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .photo-triptych__frame {
    height: 140px;
  }

  .photo-triptych__caption {
    font-size: 0.75rem;
  }
}

/* ---- Callout cards ---- */

.callout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.callout-card {
  background: var(--bg);
  border: 1.5px solid var(--text);
  border-radius: 8px;
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .callout-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Article body (blog markdown) ---- */

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body a {
  font-weight: 600;
  text-decoration: underline;
}

.article-body em {
  font-style: italic;
}

.article-body strong {
  font-weight: 700;
  color: var(--text);
}

.article-body blockquote {
  border-left: 3px solid var(--text);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.article-body ol,
.article-body ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.4rem;
}

/* ---- Utility ---- */

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

a {
  color: inherit;
}
