/* BDArgentumAI — professional nearshore B2B */
:root {
  --navy: #0b1f3a;
  --navy-2: #122a4a;
  --green: #009c3b;
  --green-deep: #0b3d2e;
  --gold: #ffdf00;
  --blue-br: #002776;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --accent: #0d9488;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.14);
  --max: 1120px;
  --font: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "IBM Plex Sans", system-ui, sans-serif;

  /* Spacing scale */
  --space-1: 0.35rem;
  --space-2: 0.55rem;
  --space-3: 0.85rem;
  --space-4: 1.15rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.75rem;
  --space-8: 3.5rem;
  --section-y: clamp(2.5rem, 5vw, 3.75rem);
  --section-y-sm: clamp(1.5rem, 3vw, 2.25rem);
  /* Mobile-first gutters: more side room on phones (iOS/Android) */
  --gutter: clamp(1.25rem, 5.5vw, 1.75rem);
  --gap: 1.15rem;
  --gap-lg: 1.75rem;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --page-pad-left: max(var(--gutter), var(--safe-left));
  --page-pad-right: max(var(--gutter), var(--safe-right));
}

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

html {
  scroll-behavior: smooth;
  /* Prevent iOS rubber-band / 100vw overflow scrapes */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--green-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

/* Body copy fills the text column */
p,
.lead,
.muted,
.prose p,
.card p,
.media-card__body p,
.section-head p,
.event-hero p,
.page-hero p,
.hero .lead,
.cta-media__body p,
.form-note,
.session-card span,
li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Keep short UI labels / CTAs left-aligned */
.btn,
.pill,
.eyebrow,
.badge-hot,
.nav a,
.brand-text,
.stat,
.value-item,
label,
.live-bar,
.fomo-countdown,
.hero-stats,
.founder-caption,
.site-footer a,
.site-footer h4,
h1,
h2,
h3,
h4 {
  text-align: left;
  hyphens: manual;
}

.center,
.center p {
  text-align: center;
}

.container {
  /* Padding-based gutters are more reliable than width-calc on mobile WebKit */
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: var(--page-pad-left);
  padding-right: var(--page-pad-right);
  box-sizing: border-box;
}

/* Full-bleed backgrounds OK; content always stays in padded container */
.page-hero,
.event-hero,
.hero {
  padding-left: 0;
  padding-right: 0;
}

.page-hero > .container,
.event-hero > .container,
.hero > .container,
.page-hero .container,
.event-hero .container,
.hero .container {
  width: 100% !important;
  max-width: var(--max);
  margin-inline: auto !important;
  padding-left: var(--page-pad-left) !important;
  padding-right: var(--page-pad-right) !important;
  box-sizing: border-box;
}

/* Cards / forms inside containers should never kiss the viewport edge */
.card,
.form,
.fomo-panel,
.instructor-card,
.price-card,
.session-card,
.media-card,
.contact-form {
  max-width: 100%;
  box-sizing: border-box;
}

/* Grids: prevent min-content overflow past gutters */
.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.contact-layout,
.event-body-grid,
.about-story-grid,
.split-media,
.cta-media,
.footer-grid,
.form-row {
  min-width: 0;
}

.hero-grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.contact-layout > *,
.event-body-grid > * {
  min-width: 0;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-4);
  padding: 0.7rem 0;
  min-height: 3.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

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

.brand-mark {
  width: auto;
  height: 36px;
  max-width: min(250px, 62vw);
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
  background: #f4f7fb;
  padding: 3px 8px;
  box-sizing: border-box;
  image-rendering: auto;
}

/* Privacy page — equal-width stacked panels */
.privacy-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  box-sizing: border-box;
}

.privacy-page .privacy-panel {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  min-width: 0;
}

.privacy-page .privacy-panel p,
.privacy-page .privacy-panel .muted {
  max-width: none;
}

/* GDPR consent banner */
.gdpr-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 1rem var(--page-pad-left) calc(1.25rem + env(safe-area-inset-bottom, 0px)) var(--page-pad-right);
  background: rgba(6, 16, 31, 0.96);
  color: #e2e8f0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.gdpr-banner__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: flex-end;
  justify-content: space-between;
  box-sizing: border-box;
}

.gdpr-banner__copy {
  flex: 1 1 280px;
  min-width: 0;
}

.gdpr-banner__copy strong {
  display: block;
  color: #fff;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.gdpr-banner__copy p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.9);
  text-align: left;
  hyphens: manual;
}

.gdpr-banner__links {
  margin-top: 0.45rem !important;
  font-size: 0.84rem !important;
}

.gdpr-banner__links a {
  color: #a7f3d0;
}

.gdpr-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.gdpr-banner .btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1rem;
  white-space: nowrap;
}

.brand-text span {
  font-weight: 500;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.85rem;
  flex-wrap: nowrap;
  flex: 1;
  justify-content: center;
  min-width: 0;
}

.nav a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  white-space: nowrap;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
  color: var(--green-deep);
  text-decoration: none;
}

.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-btn {
  background: none; border: 0; cursor: pointer;
  color: var(--ink); font: inherit; font-size: 0.88rem; font-weight: 500;
  opacity: 0.85; padding: 0.25rem 0; white-space: nowrap;
}
.nav-dd-btn:hover, .nav-dd.is-active .nav-dd-btn, .nav-dd.open .nav-dd-btn {
  opacity: 1; color: var(--green-deep);
}
.nav-dd-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 240px; padding: 0.45rem 0;
  background: #fff; border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.12); z-index: 40;
}
.nav-dd.open .nav-dd-menu, .nav-dd:hover .nav-dd-menu { display: flex; flex-direction: column; }
.nav-dd-menu a {
  padding: 0.55rem 1rem; white-space: normal; font-size: 0.88rem;
}
.prod-hero-kicker { font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--green-deep); }
.prod-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.75rem; align-items: center; margin: 2.5rem 0; }
.prod-feature.reverse { direction: rtl; }
.prod-feature.reverse > * { direction: ltr; }
.prod-feature img { width: 100%; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 10px 28px rgba(15,23,42,.08); }
.prod-feature h3 { margin: 0 0 0.5rem; }
.prod-cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

/* Careers / Carreiras — PT only (class toggled on <html> by main.js + BDLang) */
html.bd-lang-en .nav-careers-pt,
html:not(.bd-lang-pt) .nav-careers-pt {
  display: none !important;
}
html.bd-lang-pt .nav-careers-pt,
html[lang="pt-BR"] .nav-careers-pt,
html[lang="pt"] .nav-careers-pt {
  display: inline !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 0.3rem 0.55rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  line-height: 1.2;
}

.lang-toggle button.active {
  background: var(--navy);
  color: var(--white);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 100%;
  min-width: 0;
  height: auto;
  text-align: center;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 156, 59, 0.25);
}

.btn-primary:hover {
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: #cbd5e1;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.84rem;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink, #0f172a);
  line-height: 1;
  flex-shrink: 0;
}

.menu-btn:hover {
  background: #f8fafc;
}

.menu-btn__icon {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 0.875rem;
}

.menu-btn__bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-btn__bar:nth-child(1) {
  top: 0;
}

.menu-btn__bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-btn__bar:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}

/* Open state → classic X */
.menu-btn.is-open .menu-btn__bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-btn.is-open .menu-btn__bar:nth-child(2) {
  opacity: 0;
}

.menu-btn.is-open .menu-btn__bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* ——— Home hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(0, 156, 59, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(0, 39, 118, 0.25), transparent 50%),
    linear-gradient(160deg, #06101f 0%, #0b1f3a 45%, #0b3d2e 100%);
  color: var(--white);
  padding: var(--section-y) 0;
}

.hero--photo {
  background: #06101f;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 16, 31, 0.94) 0%,
    rgba(11, 31, 58, 0.88) 42%,
    rgba(11, 61, 46, 0.72) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 223, 0, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: var(--gap-lg);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 var(--space-3);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-3);
  max-width: 22ch;
}

.hero .lead {
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  max-width: 46ch;
  margin: 0 0 var(--space-5);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 var(--space-5);
}

.hero-cta:last-child {
  margin-bottom: 0;
}

.page-hero .hero-cta,
.event-hero .hero-cta {
  margin-bottom: 0;
  margin-top: var(--space-4);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
}

.stat strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.stat span {
  display: block;
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.7);
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
}

.hero-card h3 {
  margin: 0 0 var(--space-3);
  font-size: 1.05rem;
}

.hero-card ul {
  margin: 0 0 var(--space-4);
  padding-left: 1.1rem;
  color: var(--muted);
}

.hero-card li {
  margin-bottom: 0.35rem;
}

.hero-card li:last-child {
  margin-bottom: 0;
}

/* ——— Sections ——— */
section {
  padding: var(--section-y) 0;
}

section.section-compact {
  padding: var(--section-y-sm) 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 var(--space-5);
}

.section-head h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark .section-head p,
.section-dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

/* ——— Cards / grids ——— */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  width: 100%;
  align-items: stretch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  width: 100%;
  align-items: start;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  width: 100%;
  align-items: stretch;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
  min-width: 0;
  width: 100%;
}

.card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.05rem;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 156, 59, 0.12), rgba(0, 39, 118, 0.1));
  margin: 0 0 var(--space-3);
  font-size: 1.1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-3);
}

.pill-row:first-child {
  margin-top: 0;
  margin-bottom: var(--space-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green-deep);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  border: 1px solid #a7f3d0;
}

.pill--hot {
  background: linear-gradient(135deg, #ecfdf5, #fef9c3);
  border-color: #fde68a;
  color: #0b3d2e;
}

/* Technology depth (services) */
.tech-depth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  width: 100%;
  align-items: stretch;
}

.tech-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.tech-group h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.08rem;
}

.tech-group > .muted {
  margin: 0 0 var(--space-3);
  font-size: 0.9rem;
}

.tech-group .pill-row {
  margin-top: 0;
}

.tech-group--featured {
  grid-column: 1 / -1;
  border-color: rgba(0, 156, 59, 0.35);
  background:
    linear-gradient(135deg, rgba(0, 156, 59, 0.04), rgba(0, 39, 118, 0.03)),
    var(--white);
}

.tech-group--featured h3 {
  color: var(--green-deep);
}

@media (max-width: 900px) {
  .tech-depth-grid {
    grid-template-columns: 1fr;
  }

  .tech-group--featured {
    grid-column: auto;
  }
}

/* Value strip */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.value-item {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.value-item strong {
  display: block;
  font-size: 1.25rem;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.value-item span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

/* Pricing */
.price-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.price-card h3 {
  margin: 0;
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green), var(--shadow);
  position: relative;
}

.price-card .amount {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: var(--space-2) 0;
  line-height: 1.15;
}

.price-card .amount small {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card .muted {
  margin: 0;
}

/* Forms — never stretch row gaps when parent card is tall */
.form {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  align-items: stretch;
  height: auto;
  flex: none;
}

.form.card,
.card.form {
  padding: var(--space-5);
  height: auto;
  align-self: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  align-items: start;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
}

label > span {
  display: block;
}

input,
select,
textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  background: var(--white);
  color: var(--ink);
  line-height: 1.35;
  width: 100%;
  max-width: 100%;
  min-height: 2.65rem;
  height: auto;
  flex: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(0, 156, 59, 0.35);
  border-color: var(--green);
}

textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
}

/* Contact page layout */
.section-contact {
  padding: var(--section-y) 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--gap-lg);
  align-items: start;
}

.contact-form {
  width: 100%;
}

.contact-submit {
  width: 100%;
  max-width: 100%;
  justify-content: center;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.contact-side-photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  box-shadow: var(--shadow);
  background: #0b1f3a;
}

.contact-side-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-list {
  margin: 0;
  padding-left: 1.1rem;
}

.card-list li {
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.card-list li:last-child {
  margin-bottom: 0;
}

/* Founder */
.founder-spotlight {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.founder-photo {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: transparent;
  /* Show full founder portrait — no letterbox color bar */
  aspect-ratio: auto;
  max-height: none;
  line-height: 0;
}

.founder-photo img {
  width: 100%;
  height: auto;
  max-height: min(560px, 70vh);
  object-fit: cover;
  object-position: center top;
  background: transparent;
  display: block;
}

/* Photo avatars must not show the green/blue letter placeholder fill */
.avatar.avatar--photo {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.founder-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.founder-caption strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.founder-caption span {
  font-size: 0.9rem;
  color: var(--muted);
}

.avatar--photo {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #e2e8f0;
}

.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.form-success,
.form-error {
  display: none;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.form-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-success.show {
  display: block;
}

.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-error.show {
  display: block;
}

/* Events */
.event-hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-y) 0;
  background:
    linear-gradient(135deg, rgba(0, 39, 118, 0.92), rgba(11, 61, 46, 0.9)),
    radial-gradient(circle at 20% 20%, rgba(255, 223, 0, 0.2), transparent 40%);
  color: white;
}

.event-hero--photo {
  background: var(--navy);
}

.event-hero--photo .event-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.event-hero--photo .event-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-hero--photo .event-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 16, 31, 0.9) 0%,
    rgba(0, 39, 118, 0.82) 50%,
    rgba(11, 61, 46, 0.72) 100%
  );
}

.event-hero--photo .container,
.event-hero .container {
  position: relative;
  z-index: 1;
}

.event-hero h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: -0.03em;
  max-width: 24ch;
  line-height: 1.18;
}

.event-hero p {
  margin: 0 0 var(--space-2);
  line-height: 1.5;
}

.event-hero p:last-of-type {
  margin-bottom: 0;
}

.session-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: var(--space-4) 0;
}

.session-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.session-card strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.session-card span {
  font-size: 0.88rem;
  opacity: 0.9;
  line-height: 1.35;
}

.badge-hot {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  margin: 0 0 var(--space-3);
  line-height: 1.25;
}

.live-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
  margin: var(--space-4) 0 0;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  line-height: 1.35;
}

.live-bar strong {
  color: #ffdf00;
}

.curriculum-list li {
  text-align: left;
  hyphens: manual;
}

.curriculum-list .muted {
  text-align: left;
}

/* Workshop instructor */
.instructor-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.instructor-photo {
  width: 112px;
  height: 112px;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
  background: #0b1f3a;
}

.instructor-copy h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.instructor-copy p {
  text-align: justify;
}

@media (max-width: 520px) {
  .instructor-card {
    grid-template-columns: 1fr;
  }

  .instructor-photo {
    width: 96px;
    height: 96px;
  }
}

/* FOMO waitlist checkout panel */
.fomo-panel {
  border: 1px solid #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 60%);
  border-radius: var(--radius);
  padding: var(--space-5);
}

.fomo-panel h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.2rem;
}

.fomo-countdown {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  margin: var(--space-3) 0;
}

.fomo-countdown.urgent {
  color: #b45309;
}

.fomo-countdown.expired {
  color: #991b1b;
  font-size: 1.15rem;
}

.event-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap-lg);
  align-items: start;
  width: 100%;
}

.event-body-grid .price-tiers {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  .event-body-grid {
    grid-template-columns: 1fr;
  }
}

/* About / prose */
.prose {
  max-width: 72ch;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose > *:last-child {
  margin-bottom: 0;
}

.prose p {
  color: #334155;
  margin: 0 0 var(--space-3);
  line-height: 1.6;
}

.prose h2,
.prose h3 {
  letter-spacing: -0.02em;
  margin: var(--space-5) 0 var(--space-2);
  line-height: 1.25;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.founder-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--green), var(--blue-br));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 1.65rem;
  flex-shrink: 0;
}

.founder-card h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.25rem;
  line-height: 1.25;
}

.founder-card p {
  margin: 0;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  background: #06101f;
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-7) 0 var(--space-5);
  margin-top: 0;
  position: relative;
  z-index: 2;
  clear: both;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-5) var(--space-4);
  margin-bottom: var(--space-5);
}

.site-footer h4 {
  margin: 0 0 var(--space-3);
  color: white;
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.35;
}

.site-footer a:last-child {
  margin-bottom: 0;
}

.site-footer a:hover {
  color: white;
}

.site-footer p {
  margin: 0;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

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

.center {
  text-align: center;
}

.mt-1 {
  margin-top: var(--space-2) !important;
}
.mt-2 {
  margin-top: var(--space-4) !important;
}
.mt-3 {
  margin-top: var(--space-5) !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}

.hidden {
  display: none !important;
}

/* Legacy CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--green-deep), var(--navy));
  color: white;
  border-radius: calc(var(--radius) + 4px);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ——— Photography & media ——— */
.hero-visual {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0b1f3a;
  min-height: 0;
}

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

.hero-visual-stack {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.6rem;
  height: 380px;
  min-height: 320px;
  max-height: 420px;
  width: 100%;
}

.hero-visual-stack .hero-visual:first-child {
  grid-row: 1 / -1;
}

.hero-visual-stack .hero-visual {
  min-height: 0;
  height: 100%;
}

.hero-visual-stack .hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.hero-card-overlay {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  box-shadow: var(--shadow);
  max-height: calc(100% - 1.4rem);
  overflow: auto;
}

.hero-card-overlay h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  line-height: 1.25;
}

.hero-card-overlay ul {
  margin: 0 0 0.7rem;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.hero-card-overlay li {
  margin-bottom: 0.2rem;
}

.hero-card-overlay li:last-child {
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-y-sm) 0;
  color: white;
  background: var(--navy);
}

.page-hero--media {
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 16, 31, 0.92) 0%,
    rgba(11, 31, 58, 0.78) 45%,
    rgba(11, 61, 46, 0.55) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
  max-width: min(22ch, 100%);
  line-height: 1.18;
}

.page-hero .lead,
.page-hero p.lead {
  margin: 0;
  max-width: none;
  width: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.88rem, 1.35vw, 1.05rem);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  hyphens: manual;
}

/* Prefer true single-line when space allows; ellipsis only as last resort on very narrow */
@media (min-width: 720px) {
  .page-hero .lead {
    text-overflow: clip;
  }
}

.page-hero .hero-cta {
  margin-top: var(--space-4);
}

.media-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.media-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.media-card__img--wide {
  aspect-ratio: 21 / 9;
}

a.media-card,
a.event-list-card {
  display: flex;
  text-decoration: none;
  color: inherit;
  max-width: 720px;
}

a.media-card:hover,
a.event-list-card:hover {
  text-decoration: none;
}

.media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media-card:hover .media-card__img img {
  transform: scale(1.03);
}

.media-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  gap: var(--space-2);
  text-align: left;
}

.media-card__body h2,
.media-card__body h3 {
  margin: 0;
  line-height: 1.3;
  width: 100%;
}

.media-card__body p {
  margin: 0;
  width: 100%;
}

/* Keep pills/titles/body top-aligned across equal-height cards */
.media-card__body .pill-row {
  margin: 0;
  padding: 0;
  width: 100%;
  order: -1; /* pills first when present */
}

.media-card__body .btn {
  margin-top: var(--space-2);
  align-self: flex-start;
}

.media-card__body .badge-hot {
  margin: 0;
}

/* Case study cards: consistent vertical rhythm */
.grid-3 > .media-card .media-card__body {
  gap: 0.65rem;
}

.grid-3 > .media-card .media-card__body .pill-row {
  margin-bottom: 0.15rem;
}

.grid-3 > .media-card .media-card__body h3.mt-2 {
  margin-top: 0 !important;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.7rem;
  align-items: stretch;
}

.photo-strip--pair {
  grid-template-columns: 1fr 1fr;
}

.photo-strip--pair figure,
.photo-strip--pair figure:first-child {
  min-height: 150px;
  height: 150px;
}

.photo-strip figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 160px;
  height: 100%;
  box-shadow: var(--shadow);
  background: #0b1f3a;
}

.photo-strip figure:first-child {
  min-height: 240px;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
}

.photo-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  background: linear-gradient(transparent, rgba(6, 16, 31, 0.8));
}

.cta-media {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.15fr);
  gap: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(120deg, var(--green-deep), var(--navy));
  color: white;
  align-items: stretch;
  width: 100%;
}

.cta-media--split {
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.05fr);
}

.cta-media__photo {
  min-height: 220px;
  position: relative;
  align-self: stretch;
}

.cta-media__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
  position: absolute;
  inset: 0;
}

.cta-media__body {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-3);
  min-width: 0;
}

.cta-media__body h2 {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.25;
}

.cta-media__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.5;
  font-size: 0.95rem;
}

.cta-media__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: var(--space-1);
}

.cta-media--flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.cta-media--flip .cta-media__photo {
  order: 2;
}

.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--gap-lg);
  align-items: start;
  width: 100%;
}

.split-media .prose {
  max-width: none;
}

.split-media .prose h2:first-child {
  margin-top: 0;
}

/* About story + founder: balanced columns */
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: var(--gap-lg);
  align-items: start;
  width: 100%;
}

.split-media__photo {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 240px;
  height: 100%;
  background: #0b1f3a;
}

.split-media__photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.portrait-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  align-items: stretch;
}

.portrait-pair figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  background: #0b1f3a;
}

.portrait-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-top {
  margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4);
  height: 150px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Process cards on dark */
.section-dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .card h3 {
  color: #fff;
}

/* Nested cta without double chrome */
.split-media .cta-media {
  box-shadow: none;
}

.split-media .cta-media__body {
  padding: var(--space-4) 0 0;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .nav {
    gap: 0.1rem 0.55rem;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .header-actions .btn-sm {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .grid-4,
  .value-strip,
  .price-tiers,
  .footer-grid,
  .session-cards,
  .founder-card,
  .form-row,
  .photo-strip,
  .cta-media,
  .cta-media--flip,
  .cta-media--split,
  .split-media,
  .about-story-grid,
  .hero-visual-stack,
  .portrait-pair,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual-stack {
    height: auto;
    max-height: none;
    min-height: 0;
    grid-template-rows: auto;
    gap: 0.55rem;
  }

  .hero-visual-stack .hero-visual:first-child {
    grid-row: auto;
  }

  .hero-visual-stack .hero-visual {
    min-height: 180px;
    height: 180px;
  }

  .hero-visual-stack .hero-visual:first-child {
    height: 240px;
    min-height: 240px;
  }

  .hero-visual-stack .hero-visual img {
    height: 100%;
  }

  .cta-media--flip .cta-media__photo {
    order: 0;
  }

  .cta-media__photo {
    min-height: 180px;
    height: 180px;
  }

  .cta-media__photo img {
    position: relative;
    min-height: 180px;
  }

  .page-hero h1,
  .hero h1,
  .event-hero h1 {
    max-width: none;
  }

  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: var(--page-pad-left);
    right: var(--page-pad-right);
    top: calc(100% + 0.35rem);
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.65rem;
    box-shadow: var(--shadow-lg);
    gap: 0;
    z-index: 60;
  }

  .nav.open a {
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    white-space: normal;
  }

  .nav-dd { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-dd-btn { text-align: left; padding: 0.85rem 0.2rem; width: 100%; white-space: normal; height: auto; }
  .nav-dd:hover .nav-dd-menu { display: none; }
  .nav-dd.open .nav-dd-menu {
    display: flex; position: static; box-shadow: none; border: 0;
    min-width: 0; padding: 0 0 0.4rem 0.8rem;
  }
  .prod-feature, .prod-feature.reverse { grid-template-columns: 1fr; direction: ltr; }

  .nav.open a:hover,
  .nav.open a.active {
    background: #f1f5f9;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .photo-strip figure,
  .photo-strip figure:first-child {
    min-height: 180px;
    height: 180px;
  }

  .founder-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .avatar {
    width: 72px;
    height: 72px;
    font-size: 1.35rem;
    border-radius: 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .split-media .cta-media__body {
    padding: var(--space-4) 0 0;
  }

  .value-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  :root {
    /* Extra breathing room on small phones (iPhone SE / Galaxy A-series) */
    --gutter: 1.35rem;
  }

  .value-strip {
    grid-template-columns: 1fr;
  }

  .hero-cta,
  .page-hero .hero-cta,
  .event-hero .hero-cta,
  .cta-media__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn,
  .page-hero .hero-cta .btn,
  .event-hero .hero-cta .btn,
  .cta-media__actions .btn,
  .blog-post .btn,
  .blog-post a.btn,
  .blog-post__body a.btn,
  .blog-post__body .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    text-wrap: balance;
    overflow-wrap: anywhere;
    height: auto;
    line-height: 1.35;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Avoid edge-flush live bars / pills */
  .live-bar,
  .session-cards,
  .price-tiers {
    gap: 0.65rem;
  }

  h1 {
    font-size: clamp(1.55rem, 7vw, 2rem);
    line-height: 1.2;
  }

  .lead {
    font-size: 1rem;
  }
}

/* Very small devices */
@media (max-width: 380px) {
  :root {
    --gutter: 1.15rem;
  }
}

/* Payment method (card vs purchase order) on register forms */
.payment-method-block {
  margin: 0.75rem 0 1rem;
}
.payment-method-fieldset {
  border: 1px solid var(--border, #d5e0da);
  border-radius: 10px;
  padding: 0.75rem 0.9rem 0.9rem;
  margin: 0;
}
.payment-method-fieldset legend {
  padding: 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #5a7268);
}
.pay-option {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin: 0.45rem 0;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1.4;
}
.pay-option input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.po-fields {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.65rem;
}
.po-fields.hidden {
  display: none;
}
.po-secondary-title {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #1a2e28);
}
.po-file-label input[type="file"] {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  max-width: 100%;
}
.po-upload-panel {
  margin-top: 1rem;
}
.po-upload-card {
  border: 1px solid var(--border, #d5e0da);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: #f7faf8;
}
.po-upload-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.po-ok {
  color: #0b6b4a;
  font-weight: 500;
}
.po-warn {
  color: #8a5a00;
  font-weight: 500;
}
.fomo-countdown.po-status-line {
  font-size: 1rem;
  font-weight: 600;
}

/* ── Blog carousel, toolbar, pagination ─────────────────────────── */
.blog-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}
.blog-carousel__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  min-height: 12rem;
}
.blog-carousel__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--green-deep);
  box-shadow: var(--shadow);
}
.blog-carousel__btn:hover {
  background: var(--bg);
}
.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 42rem;
}
.blog-filters .pill {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--white);
}
.blog-filters .pill.pill--hot {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}
.blog-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.blog-search input {
  min-width: 12rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 2rem;
  align-items: center;
}
.blog-post__body h2 {
  margin-top: 1.75rem;
  color: var(--green-deep);
}
.blog-post__body h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--green-deep, #0a3d2e);
}
.blog-post__body h4 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--ink, #1a1a1a);
}
/* Blog body: never justify. Long UTMs + CTAs look broken when justified. */
.blog-post__body,
.blog-post__body p,
.blog-post__body li {
  text-align: left;
  text-justify: auto;
  hyphens: manual;
  overflow-wrap: anywhere;
  word-break: break-word;
}
/*
 * In-article prose links ONLY (markdown body).
 * Do NOT style buttons, CTA cards, Register/Book, Work with BDArgentumAI, nav, footer.
 */
.blog-post__prose p a,
.blog-post__prose li a,
.blog-post__prose blockquote a,
.blog-post__prose td a,
.blog-post__prose th a,
.blog-post__body > p a,
.blog-post__body > ul a,
.blog-post__body > ol a,
.blog-post__body > blockquote a,
.blog-post__body p a,
.blog-post__body li a,
.blog-post__body blockquote a {
  color: #0b5cab;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1.5px;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.12s ease;
}
.blog-post__prose p a:hover,
.blog-post__prose li a:hover,
.blog-post__prose blockquote a:hover,
.blog-post__prose p a:focus-visible,
.blog-post__prose li a:focus-visible,
.blog-post__body p a:hover,
.blog-post__body li a:hover,
.blog-post__body p a:focus-visible,
.blog-post__body li a:focus-visible {
  color: #084078;
  text-decoration-thickness: 2px;
}
.blog-post__prose p a:visited,
.blog-post__prose li a:visited,
.blog-post__body p a:visited,
.blog-post__body li a:visited {
  color: #0b5cab;
}
/* Launch arrow after absolute http(s) prose links only */
.blog-post__prose p a[href^="http://"]::after,
.blog-post__prose p a[href^="https://"]::after,
.blog-post__prose li a[href^="http://"]::after,
.blog-post__prose li a[href^="https://"]::after,
.blog-post__prose blockquote a[href^="http://"]::after,
.blog-post__prose blockquote a[href^="https://"]::after,
.blog-post__body p a[href^="http://"]::after,
.blog-post__body p a[href^="https://"]::after,
.blog-post__body li a[href^="http://"]::after,
.blog-post__body li a[href^="https://"]::after,
.blog-post__body blockquote a[href^="http://"]::after,
.blog-post__body blockquote a[href^="https://"]::after {
  content: " ↗";
  font-weight: 700;
  font-size: 0.92em;
  text-decoration: none;
  display: inline;
  white-space: nowrap;
  margin-left: 0.12em;
  color: inherit;
  speak: never;
}
/* Explicitly restore site button / card CTAs (never inherit prose link look) */
.blog-post__body a.btn,
.blog-post__body .btn,
.blog-post__body .hero-cta a,
.blog-post__body .card a.btn,
.blog-post__body .blog-cta a,
.blog-post a.btn,
.blog-post .hero-cta a,
.blog-post .card a.btn {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  text-underline-offset: unset;
  text-decoration-thickness: unset;
  overflow-wrap: normal;
  word-break: normal;
}
.blog-post__body a.btn::after,
.blog-post__body .btn::after,
.blog-post__body .hero-cta a::after,
.blog-post__body .blog-cta a::after,
.blog-post a.btn::after,
.blog-post .hero-cta a::after {
  content: none !important;
}
/* Primary/ghost button colors must win over prose link color */
.blog-post .btn-primary,
.blog-post a.btn-primary {
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}
.blog-post .btn-ghost,
.blog-post a.btn-ghost {
  color: inherit;
  font-weight: 600;
  text-decoration: none !important;
}
/* In-article figures (markdown ![alt](url)) — no launch arrow on image triggers */
.blog-post__body a.blog-lightbox-trigger,
.blog-post__prose a.blog-lightbox-trigger {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
  display: block;
}
.blog-post__body a.blog-lightbox-trigger::after,
.blog-post__prose a.blog-lightbox-trigger::after {
  content: none;
}
.blog-figure {
  margin: 1.25rem 0 1.5rem;
  border: 1px solid var(--line, #d5dbe6);
  border-radius: 14px;
  overflow: hidden;
  background: #f7f9fc;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}
.blog-figure a.blog-lightbox-trigger {
  position: relative;
  display: block;
  cursor: zoom-in;
}
.blog-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.blog-figure__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(11, 61, 145, 0.92);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.25);
}
.blog-figure figcaption {
  margin: 0;
  padding: 0.65rem 0.9rem 0.8rem;
  font-size: 0.88rem;
  color: #5b6578;
  line-height: 1.4;
  border-top: 1px solid var(--line, #e2e8f0);
  background: #fff;
}
/* Lightbox overlay */
.blog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.blog-lightbox[hidden] {
  display: none !important;
}
.blog-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(8, 15, 30, 0.82);
  cursor: zoom-out;
}
.blog-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(1200px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.blog-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 3rem);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #0b1220;
}
.blog-lightbox__cap {
  margin: 0;
  color: #e8eef7;
  font-size: 0.9rem;
  text-align: center;
  max-width: 40rem;
  line-height: 1.4;
}
.blog-lightbox__close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b1220;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.blog-lightbox__close:hover {
  background: #e8eef7;
}
body.blog-lightbox-open {
  overflow: hidden;
}
.blog-post__body ul,
.blog-post__body ol {
  padding-left: 1.35rem;
  margin: 0.65rem 0 1rem;
}
.blog-post__body li {
  margin: 0.4rem 0;
  line-height: 1.55;
}
/* Professional callout / pull-quote for markdown > blocks */
.blog-post__body blockquote {
  margin: 1.35rem 0;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 4px solid var(--green-mid, #1b7a5a);
  background: linear-gradient(135deg, #f3faf6 0%, #f7f9fc 100%);
  border-radius: 0 10px 10px 0;
  color: var(--ink, #1a1a1a);
  box-shadow: 0 1px 2px rgba(10, 61, 46, 0.06);
}
.blog-post__body blockquote p {
  margin: 0.35rem 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #243028;
}
.blog-post__body blockquote p:first-child {
  margin-top: 0;
}
.blog-post__body blockquote p:last-child {
  margin-bottom: 0;
}
/* Professional data tables */
.blog-post__body table.blog-table,
.blog-post__body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.35rem 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
  background: #fff;
  border: 1px solid #d7e0da;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 61, 46, 0.06);
}
.blog-post__body table.blog-table th,
.blog-post__body table th {
  background: linear-gradient(180deg, #0f4c3a 0%, #0a3d2e 100%);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #0a3d2e;
  letter-spacing: 0.01em;
}
.blog-post__body table.blog-table td,
.blog-post__body table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e6ece8;
  vertical-align: top;
  color: #1f2a24;
}
.blog-post__body table.blog-table tr:last-child td,
.blog-post__body table tr:last-child td {
  border-bottom: none;
}
.blog-post__body table.blog-table tbody tr:nth-child(even) td,
.blog-post__body table tr:nth-child(even) td {
  background: #f6faf8;
}
.blog-post__body table.blog-table tbody tr:hover td,
.blog-post__body table tr:hover td {
  background: #eef7f2;
}
.blog-post__body pre {
  margin: 1.15rem 0;
  padding: 1rem 1.1rem;
  background: #0f1f1a;
  color: #e8f0ec;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.5;
}
.blog-post__body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.blog-post__body code {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: #eef3f0;
  padding: 0.12em 0.35em;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .blog-post__body table.blog-table,
  .blog-post__body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 900px) {
  .blog-carousel__track {
    grid-template-columns: 1fr;
  }
  .blog-carousel__track .media-card:nth-child(n + 2) {
    display: none;
  }
}

/* Support page + human verification */
.support-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .support-layout { grid-template-columns: 1fr; }
}
.support-aside .card { position: sticky; top: 1rem; }
.human-check-block {
  margin: 0.85rem 0 0.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #dbe4e0;
  border-radius: 10px;
  background: #f7faf8;
}
.human-check-label span { font-weight: 600; }
.human-check-hint { margin: 0.35rem 0 0; font-size: 0.85rem; color: #5a7268; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.faq-list { margin-top: 1rem; display: grid; gap: 0.65rem; }
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 0.15rem 0.85rem 0.15rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 0.25rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: #0b3d2e;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  padding: 0 0.25rem 1rem;
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}
.section-alt { background: #f4f7f5; padding-top: 2.5rem; padding-bottom: 2.5rem; }
