/* =========================================================
   SAFEcademy — Premium Redesign
   ========================================================= */

:root {
  --primary-navy: #12395D;
  --deep-navy: #0B2947;
  --accent-orange: #FF7A32;
  --soft-orange: #FFF0E7;
  --sky-blue: #EAF5FF;
  --pale-blue: #F5FAFF;
  --soft-green: #EAF4F0;
  --text-dark: #16324F;
  --body-text: #5E7184;
  --border: #DCE7F0;
  --white: #FFFFFF;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-script: "Caveat", cursive;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow-soft: 0 12px 35px rgba(18, 57, 93, 0.06);
  --shadow-hover: 0 18px 40px rgba(18, 57, 93, 0.12);
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.35rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1rem; }

.container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.eyebrow.light {
  color: #ffb48a;
}

.accent {
  color: var(--accent-orange);
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-desc {
  max-width: 540px;
  margin-bottom: 1.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn i {
  font-size: 0.85em;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 122, 50, 0.45);
  outline-offset: 3px;
}

.btn-sm {
  padding: 0.72rem 1.15rem;
  font-size: 0.88rem;
}

.btn-wide {
  width: 100%;
}

.btn-wide i {
  font-size: 1.15em;
}

.btn-orange {
  background: var(--accent-orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 122, 50, 0.28);
}

.btn-orange:hover {
  background: #ff6a18;
  box-shadow: 0 14px 28px rgba(255, 122, 50, 0.35);
}

.btn-navy {
  background: var(--primary-navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(18, 57, 93, 0.22);
}

.btn-navy:hover {
  background: var(--deep-navy);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary-navy);
  background: var(--pale-blue);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--deep-navy);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
}

.announcement-bar p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 960px;
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(18, 57, 93, 0.08);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: min(168px, 46vw);
  object-fit: contain;
}

.brand-light {
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
}

.brand-light .brand-logo {
  height: 52px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

.brand-text span {
  font-weight: 600;
}

.brand-light .brand-text {
  color: var(--white);
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  margin-left: auto;
  margin-right: 0.5rem;
}

.nav-desktop a {
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--primary-navy);
  background: var(--sky-blue);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--primary-navy);
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 1102;
}

.nav-toggle:focus-visible {
  outline: 3px solid rgba(255, 122, 50, 0.45);
  outline-offset: 2px;
}

/* ---------- Mobile side sheet ---------- */
.sidesheet {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}

.sidesheet.is-open {
  pointer-events: auto;
  visibility: visible;
}

.sidesheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 41, 71, 0.48);
  opacity: 0;
  cursor: pointer;
  backdrop-filter: blur(2px);
}

.sidesheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--white);
  box-shadow: -18px 0 50px rgba(18, 57, 93, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  border-radius: 0;
  overflow: hidden;
}

.sidesheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.sidesheet-header .brand-logo {
  height: 36px;
}

.sidesheet-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--primary-navy);
  font-size: 1.15rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidesheet-close:hover {
  background: var(--sky-blue);
  transform: rotate(90deg);
}

.sidesheet-close:focus-visible {
  outline: 3px solid rgba(255, 122, 50, 0.45);
  outline-offset: 2px;
}

.sidesheet-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1rem 0.5rem;
  overflow-y: auto;
  flex: 1;
}

.sidesheet-nav a {
  padding: 0.95rem 1rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidesheet-nav a:hover,
.sidesheet-nav a:focus-visible {
  background: var(--sky-blue);
  color: var(--primary-navy);
}

.sidesheet-footer {
  padding: 1rem 1.15rem 1.35rem;
  border-top: 1px solid var(--border);
  background: var(--pale-blue);
}

@media (prefers-reduced-motion: reduce) {
  .sidesheet-panel,
  .sidesheet-backdrop {
    transition: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 55%, #ffffff 100%);
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: #cfe7ff;
  top: -60px;
  right: 18%;
}

.blob-2 {
  width: 220px;
  height: 220px;
  background: #ffe4d2;
  bottom: 10%;
  left: -40px;
  opacity: 0.35;
}

.dot-grid {
  position: absolute;
  width: 96px;
  height: 96px;
  left: 6%;
  bottom: 18%;
  background-image: radial-gradient(circle, #9ec4e8 1.5px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.55;
}

.ring {
  position: absolute;
  border: 1.5px solid rgba(110, 168, 214, 0.35);
  border-radius: 50%;
}

.ring-1 {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 18%;
}

.ring-2 {
  width: 260px;
  height: 260px;
  right: 4%;
  top: 10%;
  opacity: 0.5;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.hero-content .lead {
  max-width: 48ch;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.script-quote {
  font-family: var(--font-script);
  font-size: 1.85rem;
  color: var(--primary-navy);
  margin: 0;
  opacity: 0.85;
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(18, 57, 93, 0.14);
  aspect-ratio: 1 / 1.05;
  background: var(--sky-blue);
}

.hero-frame--composite {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #f4f9ff, #e8f3ff);
  border: none;
  box-shadow: none;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero-frame--composite img {
  object-fit: contain;
}

.hero-media:hover .hero-frame img {
  transform: scale(1.02);
}

.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  z-index: 2;
}

.float-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sky-blue);
  color: var(--primary-navy);
  flex-shrink: 0;
}

.badge-1 { top: 10%; left: -4%; }
.badge-2 { bottom: 18%; left: -2%; }
.badge-3 { top: 38%; right: -6%; }

/* ---------- Values ---------- */
.values {
  padding: 20px 0 40px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.value-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.35rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 64px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent-orange);
  transform: translateX(-50%);
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  transition: transform 0.3s var(--ease);
}

.value-card:hover .value-icon {
  transform: translateY(-2px) scale(1.05);
}

.icon-orange { background: var(--soft-orange); color: var(--accent-orange); }
.icon-blue { background: var(--sky-blue); color: #2f6ea8; }
.icon-green { background: var(--soft-green); color: #2f8a68; }
.icon-violet { background: #f0e9ff; color: #6b5bb8; }

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-copy p {
  max-width: 48ch;
}

.about-copy .btn {
  margin-top: 0.5rem;
}

.about-media {
  position: relative;
  min-height: 420px;
}

.about-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}

.about-blob {
  position: absolute;
  inset: 8% -4% -4% 8%;
  background: #d9ecff;
  border-radius: 40% 60% 50% 50% / 45% 40% 60% 55%;
  opacity: 0.65;
}

.about-rings {
  position: absolute;
  right: -10px;
  top: 8%;
  width: 160px;
  height: 160px;
  border: 1.5px solid rgba(110, 168, 214, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(110, 168, 214, 0.12);
}

.about-dots {
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 72px;
  height: 72px;
  background-image: radial-gradient(circle, #9ec4e8 1.5px, transparent 1.6px);
  background-size: 14px 14px;
}

.about-frame {
  position: relative;
  margin-left: auto;
  width: min(100%, 460px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(18, 57, 93, 0.12);
  aspect-ratio: 1 / 1.05;
  z-index: 1;
}

.about-frame--composite {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1.05;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.about-frame--composite img {
  object-fit: contain;
  border-radius: var(--radius-xl);
}

.about-media:hover .about-frame img {
  transform: scale(1.02);
}

.about-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.about-badge strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.9rem;
  line-height: 1.2;
}

.about-badge span:last-child {
  display: block;
  font-size: 0.8rem;
  color: var(--body-text);
}

.ab-1 { top: 8%; left: 0; }
.ab-2 { top: 38%; right: -8px; }
.ab-3 { bottom: 10%; left: 12%; }

/* ---------- Solutions ---------- */
.solutions {
  background: var(--pale-blue);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.solution-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 1.45rem 1.35rem 1.55rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
  cursor: default;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 64px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--accent-orange);
  transform: translateX(-50%);
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: #c5d8ea;
}

.solution-top {
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.solution-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--sky-blue);
  color: var(--primary-navy);
  transition: background 0.25s ease, color 0.25s ease;
}

.solution-card:hover .solution-icon {
  background: var(--primary-navy);
  color: var(--white);
}

.solution-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
  min-height: 2.5em;
}

.solution-card p {
  margin: 0;
  font-size: 0.93rem;
}

/* ---------- Focus Areas ---------- */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.focus-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.75rem;
}

.focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.98rem;
}

.focus-icon {
  display: inline-flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.focus-icon svg {
  display: block;
}

.focus-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.collage-dots {
  position: absolute;
  inset: -12px -18px;
  background-image: radial-gradient(circle, #9ec4e8 1.4px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.35;
  pointer-events: none;
  border-radius: 24px;
}

.collage-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  z-index: 1;
}

.collage-main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.collage-featured {
  grid-column: 1 / -1;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
  aspect-ratio: auto;
}

.collage-featured img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.collage-item:not(.collage-main) {
  aspect-ratio: 1 / 0.95;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.collage-item:hover img {
  transform: scale(1.03);
}

.collage-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem 0.55rem 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.collage-label .float-icon {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
}

/* ---------- Program ---------- */
.program {
  padding-top: 20px;
  padding-bottom: 40px;
}

.program-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 2.75rem;
  border-radius: var(--radius-xl);
  background: url("assets/program-27-bg.png");
  background-size: cover;
  background-position: center;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.program-banner > div {
  position: relative;
  z-index: 1;
}

.program-banner .eyebrow.light {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: #E85D26;
}

.program-banner h2 {
  font-family: "SF Pro Display", var(--font-display);
  font-weight: 700;
  font-size: 50px;
  text-transform: capitalize;
  color: var(--white);
  max-width: 20ch;
}

.program-banner h2 .highlight-orange {
  color: #F2680D;
}

.program-banner p:not(.eyebrow) {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--white);
  max-width: 56ch;
  margin-bottom: 0;
}

.program-banner .btn-orange {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: flex-end;
}

/* ---------- Founder ---------- */
.founder {
  background: linear-gradient(180deg, var(--white), var(--pale-blue) 40%, var(--white));
}

.founder-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  padding: 2.5rem;
}

.founder-copy .eyebrow {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: #E85D26;
  letter-spacing: 0.08em;
}

.founder-copy h2 {
  font-family: "SF Pro Display", var(--font-display);
  font-weight: 700;
  font-size: 50px;
  text-transform: capitalize;
  color: #0E2E65;
}

.founder-copy p {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #0E2E65;
}

.founder-photo {
  position: relative;
  margin-inline: auto;
  border-radius: calc(var(--radius-xl) + 4px);
  overflow: hidden;
}

.founder-photo img {
  display: block;
  width: 100%;
  object-position: center top;
  border-radius: inherit;
  transition: transform 0.6s var(--ease);
}

.founder-photo:hover img {
  transform: scale(1.03);
}

.founder-copy .role {
  margin-top: -0.35rem;
  margin-bottom: 1.25rem;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  color: #E85D26;
}

/* ---------- Prague ---------- */
.prague-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.86);
  min-height: 420px;
}

.prague-content {
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prague-content h2 {
  color: var(--white);
  max-width: 18ch;
}

.prague-dates {
  font-weight: 700;
  color: var(--accent-orange);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.prague-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 0.5rem 0 1.5rem;
}

.info-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.info-box i {
  color: var(--accent-orange);
  margin-top: 0.2rem;
}

.info-box strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
}

.info-box span,
.info-box a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.prague-visual {
  position: relative;
  min-height: 100%;
}

.prague-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.prague-visual--composite {
  display: flex;
  align-items: stretch;
  background: var(--deep-navy);
}

.prague-visual--composite img {
  object-fit: cover;
  object-position: center;
}

.prague-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 41, 71, 0.85) 0%, rgba(11, 41, 71, 0.35) 45%, rgba(11, 41, 71, 0.55) 100%),
    linear-gradient(180deg, transparent 40%, rgba(11, 41, 71, 0.55));
}

.prague-script {
  position: absolute;
  right: 8%;
  bottom: 18%;
  z-index: 2;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  color: var(--white);
  text-align: right;
}

.prague-swoosh {
  position: absolute;
  right: 10%;
  bottom: 12%;
  width: 140px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent-orange);
  z-index: 2;
  transform: rotate(-6deg);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0 1.5rem;
}

.pill-list li {
  padding: 0.55rem 0.95rem;
  background: var(--pale-blue);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-email {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.contact-form-card h3 {
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
}

.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--pale-blue);
  color: var(--text-dark);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #8fb8dc;
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(143, 184, 220, 0.25);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #e06b6b;
  background: #fff5f5;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--body-text);
}

.form-note a {
  color: var(--primary-navy);
  font-weight: 700;
  text-decoration: underline;
}

.form-status {
  margin: 0.75rem 0 0;
  font-weight: 600;
  min-height: 1.4em;
}

.form-status.success { color: #2f8a68; }
.form-status.error { color: #c44747; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "brand social"
    "nav nav";
  gap: 1.25rem 2rem;
  align-items: center;
  padding-bottom: 1.75rem;
}

.footer-top .brand { grid-area: brand; }

.footer-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.footer-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  grid-area: social;
  display: flex;
  gap: 0.65rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.footer-bottom p { margin: 0; }

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ---------- Reveal animations (anime.js driven) ---------- */
.reveal {
  opacity: 0;
  will-change: opacity, transform;
}

.hero-content.reveal .eyebrow,
.hero-content.reveal h1,
.hero-content.reveal .lead,
.hero-content.reveal .hero-actions,
.hero-content.reveal .script-quote {
  opacity: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-content h1 { max-width: none; }
  .badge-3 { right: 0; }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-2 { right: 0; }
}

@media (max-width: 992px) {
  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero-grid,
  .about-grid,
  .focus-grid,
  .founder-panel,
  .prague-banner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 0;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .hero-frame {
    aspect-ratio: 4 / 3;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-media {
    min-height: 0;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .about-frame {
    margin-inline: auto;
  }

  .program-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .founder-photo {
    margin-inline: auto;
    max-width: 420px;
  }

  .prague-info {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "social";
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1320px, calc(100% - 32px));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .values-grid,
  .solutions-grid,
  .focus-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .about-copy .btn,
  .focus-copy .btn {
    width: 100%;
  }

  .float-badge {
    font-size: 0.78rem;
    padding: 0.55rem 0.8rem 0.55rem 0.55rem;
  }

  .float-icon {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .badge-1 { top: 6%; left: 4%; }
  .badge-2 { bottom: 10%; left: 4%; }
  .badge-3 { top: auto; bottom: 28%; right: 4%; }

  .about-badge {
    padding: 0.55rem 0.75rem;
  }

  .ab-1 { left: 4%; }
  .ab-2 { right: 4%; }
  .ab-3 { left: 8%; }

  .founder-panel {
    padding: 1.35rem;
  }

  .founder-copy h2,
  .program-banner h2 {
    font-size: 2.1rem;
  }

  .founder-copy .eyebrow,
  .founder-copy .role,
  .program-banner .eyebrow.light {
    font-size: 0.85rem;
  }

  .founder-copy p,
  .program-banner p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .prague-content {
    padding: 2rem 1.5rem;
  }

  .contact-form-card {
    padding: 1.35rem;
  }

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

@media (max-width: 576px) {
  :root {
    --header-h: 68px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .script-quote {
    font-size: 1.5rem;
  }

  .program-banner {
    padding: 1.5rem;
  }

  .prague-script {
    font-size: 1.55rem;
    right: 6%;
    bottom: 14%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-content.reveal .eyebrow,
  .hero-content.reveal h1,
  .hero-content.reveal .lead,
  .hero-content.reveal .hero-actions,
  .hero-content.reveal .script-quote {
    opacity: 1;
  }
}
