@font-face {
  font-family: "Scripter";
  src:
    local("Scripter Regular"),
    local("Scripter-Regular"),
    url("assets/fonts/Scripter-Regular.woff2") format("woff2"),
    url("assets/fonts/Scripter-Regular.woff") format("woff"),
    url("assets/fonts/Scripter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #405397;
  --blue-dark: #27346f;
  --blue-deep: #17204d;
  --yellow: #fbd872;
  --yellow-soft: #fff0a4;
  --coral: #e5554f;
  --orange: #f8ad6d;
  --sky: #6f7bd4;
  --cream: #fffaf0;
  --paper: #fffefb;
  --ink: #20233a;
  --muted: #667085;
  --line: rgba(32, 35, 58, 0.12);
  --font-body:
    "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-display: "Scripter", system-ui, sans-serif;
  --font-display-weight: 400;
  --shadow: 0 24px 70px rgba(29, 41, 96, 0.13);
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-section: clamp(4.75rem, 8vw, 7.5rem);
  --space-section-compact: clamp(3.75rem, 6vw, 5.5rem);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--yellow);
}

.container {
  width: min(calc(100% - clamp(1.75rem, 5vw, 5rem)), var(--container));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-section);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 999;
  left: 16px;
  top: -60px;
  background: var(--yellow);
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 800;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-synthesis: none;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.3rem, 7vw, 6.55rem);
  margin-bottom: var(--space-lg);
}
h2 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  margin-bottom: var(--space-lg);
}
h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}
h1 em,
h2 em {
  color: var(--blue);
  font-style: normal;
  position: relative;
  display: inline;
}
h1 em::after,
h2 em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: -2%;
  bottom: 0.08em;
  height: 0.16em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 100%;
  transform: rotate(-1.5deg);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow span {
  width: 32px;
  height: 3px;
  background: var(--yellow);
  border-radius: 999px;
}
.eyebrow-light {
  color: #fff;
}
.section-heading {
  max-width: 780px;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}
.section-heading > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button {
  display: inline-flex;
  min-height: 54px;
  padding: 14px 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(1px) scale(0.98);
}
.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(64, 83, 151, 0.25);
}
.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 36px rgba(64, 83, 151, 0.3);
}
.button-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(64, 83, 151, 0.18);
  color: var(--blue);
}
.button-ghost:hover {
  background: #fff;
}
.button-yellow {
  width: 100%;
  background: var(--yellow);
  color: var(--blue-deep);
}
.button-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.9rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-weight: 900;
  margin-top: 12px;
}
.text-link span {
  font-size: 1.5rem;
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translateX(5px);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    height 0.25s;
}
.site-header.scrolled {
  height: 70px;
  background: rgba(255, 254, 251, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(24, 32, 77, 0.08);
}
.header-inner {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand img {
  width: 94px;
  height: 64px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-weight: 800;
  color: #3d4565;
}
.main-nav a {
  position: relative;
  font-size: 0.93rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
  transition: right 0.2s;
}
.main-nav a:hover::after {
  right: 0;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  padding: 12px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.hero {
  min-height: 820px;
  padding: 95px 0 95px;
  position: relative;
  background: linear-gradient(145deg, #fffefb 0%, #fff9df 55%, #eef2ff 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(
    rgba(64, 83, 151, 0.17) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  mask-image: linear-gradient(to right, transparent, #000 40%, #000);
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.hero-shape-one {
  width: 390px;
  height: 390px;
  right: -160px;
  top: 70px;
  background: var(--yellow);
  opacity: 0.7;
}
.hero-shape-two {
  width: 260px;
  height: 260px;
  left: -140px;
  bottom: 20px;
  background: var(--orange);
  opacity: 0.45;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-lead {
  max-width: 670px;
  color: #505979;
  font-size: 1.18rem;
  line-height: 1.45;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-trust {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  border-top: 1px solid rgba(64, 83, 151, 0.15);
  padding-top: var(--space-lg);
}
.hero-trust strong,
.hero-trust span {
  display: block;
}
.hero-trust strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.hero-trust span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.hero-visual {
  position: relative;
  min-height: 610px;
}
.photo-card {
  position: absolute;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #fff;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-card-main {
  width: 74%;
  height: 480px;
  right: 2%;
  top: 58px;
  transform: rotate(2deg);
}
.photo-card-top {
  width: 44%;
  height: 245px;
  left: 0;
  top: 0;
  transform: rotate(-6deg);
  z-index: 2;
}
.photo-card-bottom {
  width: 46%;
  height: 255px;
  left: 3%;
  bottom: 0;
  transform: rotate(5deg);
  z-index: 3;
}
.floating-note {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 15px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(24, 32, 77, 0.16);
  font-size: 0.86rem;
}
.floating-note svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.note-yellow {
  right: -15px;
  top: 8px;
  background: var(--yellow);
  color: var(--blue-deep);
  transform: rotate(3deg);
}
.note-blue {
  right: -4px;
  bottom: 28px;
  background: var(--blue);
  color: #fff;
  transform: rotate(-3deg);
}
.hero-doodle {
  position: absolute;
  width: 220px;
  left: 25%;
  bottom: 4px;
  fill: none;
  stroke: var(--coral);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: 0.75;
}

.trust-strip {
  background: var(--blue);
  color: #fff;
  padding: 18px 0;
}
.trust-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.08rem;
}
.trust-strip i {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
}

.proposal {
  background: #fff;
}
.tripod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--space-lg);
}
.tripod-card {
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(32, 35, 58, 0.08);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(31, 43, 101, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tripod-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 160px;
  height: 160px;
  right: -55px;
  bottom: -55px;
  border: 24px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}
.tripod-card > .card-icon,
.tripod-card > h3,
.tripod-card > p,
.tripod-card > .card-tag {
  position: relative;
  z-index: 1;
}
.tripod-student {
  background: #f1ecff;
}
.tripod-family {
  background: var(--yellow-soft);
}
.tripod-school {
  background: #ffdce8;
}
.card-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  font-size: 2rem;
  margin: 42px 0 28px;
  transform: rotate(-4deg);
}
.tripod-card p {
  color: #525b77;
}
.card-tag {
  position: relative;
  left: auto;
  bottom: auto;
  display: inline-block;
  align-self: center;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  font-size: 0.8rem;
  white-space: nowrap;
}

.journey {
  background: var(--blue-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.journey::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(251, 216, 114, 0.09);
  border-radius: 50%;
  left: -280px;
  top: -220px;
}
.journey-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
  position: relative;
}
.journey-copy {
  position: sticky;
  top: 110px;
}
.journey-copy h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}
.journey-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}
.journey-cards {
  display: grid;
  gap: 18px;
}
.journey-card {
  background: #fff;
  color: var(--ink);
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 22px;
  align-items: start;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}
.journey-card:nth-child(2) {
  margin-left: 40px;
}
.journey-card:nth-child(3) {
  margin-left: 80px;
}
.journey-step {
  grid-row: 1 / span 3;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: var(--font-display-weight);
  transform: rotate(-4deg);
}
.journey-card h3 {
  margin-bottom: 8px;
}
.journey-card p {
  color: var(--muted);
  margin-bottom: 14px;
}
.journey-card ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.journey-card li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef1ff;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.routine {
  background: var(--cream);
}
.routine-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-bottom: var(--space-2xl);
}
.routine-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}
.routine-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 250px;
  gap: 16px;
}
.gallery-card {
  grid-column: span 4;
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ddd;
}
.gallery-open {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background: transparent;
  cursor: zoom-in;
}
.gallery-card .gallery-open span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.92);
  color: var(--blue-deep);
  box-shadow: 0 10px 30px rgba(23, 32, 77, 0.18);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover .gallery-open span,
.gallery-card .gallery-open:focus-visible span {
  opacity: 1;
  transform: translateY(0);
}
.gallery-open:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: -8px;
  box-shadow: inset 0 0 0 7px var(--blue-deep);
}
.gallery-wide {
  grid-column: span 8;
}
.gallery-tall {
  grid-row: span 2;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover img {
  transform: scale(1.04);
}
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(transparent, rgba(23, 32, 77, 0.86));
}
.gallery-card figcaption {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 18px;
  color: #fff;
}
.gallery-card strong,
.gallery-card span {
  display: block;
}
.gallery-card strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.1;
}
.gallery-card span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

body.viewer-open {
  overflow: hidden;
}
.routine-viewer {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--ink);
  box-shadow: 0 35px 90px rgba(8, 13, 42, 0.35);
  overflow: hidden;
}
.routine-viewer::backdrop {
  background: rgba(10, 15, 45, 0.76);
  backdrop-filter: blur(8px);
}
.routine-viewer[open] {
  animation: routine-viewer-arrives 0.46s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.routine-viewer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 400px);
  min-height: min(720px, calc(100dvh - 40px));
  background: var(--paper);
}
.routine-viewer-photo {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--blue-deep);
}
.routine-viewer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset -20px 0 45px rgba(10, 15, 45, 0.15);
  pointer-events: none;
}
.routine-viewer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.routine-viewer-mark {
  position: absolute;
  right: 22px;
  bottom: 20px;
  padding: 8px 11px 6px;
  border-radius: var(--radius-md);
  background: var(--yellow);
  color: var(--blue-deep);
  box-shadow: 0 12px 24px rgba(23, 32, 77, 0.2);
  font-family: var(--font-display);
  font-size: 1rem;
  transform: rotate(-3deg);
}
.routine-viewer-story {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4vw, 44px);
  background: var(--blue-deep);
  color: #fff;
}
.routine-viewer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}
.routine-viewer-close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(4deg);
}
.routine-viewer-counter {
  margin: 4px 54px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}
.routine-viewer-kicker {
  margin: auto 0 16px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}
.routine-viewer-story h2 {
  max-width: 100%;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2.6rem, 3.5vw, 3.3rem);
  letter-spacing: -0.03em;
}
.routine-viewer-story > p:not(.routine-viewer-kicker, .routine-viewer-hint) {
  max-width: 32ch;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.55;
}
.routine-viewer-controls {
  display: flex;
  gap: 8px;
}
.routine-viewer-controls button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.routine-viewer-controls button:hover {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--blue-deep);
}
.routine-viewer-hint {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  line-height: 1.4;
}

@keyframes routine-viewer-arrives {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    clip-path: inset(12% 8% 12% 8% round var(--radius-lg));
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    clip-path: inset(0 round var(--radius-lg));
  }
}

@media (hover: none), (pointer: coarse) {
  .gallery-card .gallery-open span {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .routine-viewer {
    width: min(680px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
  .routine-viewer-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .routine-viewer-photo {
    min-height: min(48dvh, 430px);
  }
  .routine-viewer-photo::after {
    box-shadow: inset 0 -20px 45px rgba(10, 15, 45, 0.15);
  }
  .routine-viewer-story {
    min-height: 360px;
    padding: 34px 28px 28px;
  }
  .routine-viewer-kicker {
    margin-top: 34px;
  }
  .routine-viewer-story h2 {
    max-width: 12ch;
  }
}

@media (max-width: 480px) {
  .routine-viewer {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: var(--radius-md);
  }
  .routine-viewer-photo {
    min-height: 40dvh;
  }
  .routine-viewer-story {
    min-height: 340px;
    padding: 30px 20px 24px;
  }
  .routine-viewer-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .routine-viewer-hint {
    display: none;
  }
}

.values {
  background: #fff;
}
.values-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}
.values-visual {
  position: relative;
  min-height: 610px;
}
.values-photo {
  width: 78%;
  height: 540px;
  border-radius: 180px 180px 32px 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.values-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.values-quote {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 48px;
  width: 58%;
  padding: 22px 25px;
  background: var(--yellow);
  border-radius: 20px;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.55rem;
  line-height: 1.1;
  transform: rotate(-3deg);
  box-shadow: 0 18px 40px rgba(24, 32, 77, 0.16);
}
.values-sun {
  position: absolute;
  right: 20px;
  top: 40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.48;
}
.values-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}
.values-list {
  margin-top: 36px;
  display: grid;
  gap: 12px;
}
.values-list > div {
  padding: 16px 18px;
  border-radius: 17px;
  background: #f7f8fd;
}
.values-list strong,
.values-list span {
  display: block;
}
.values-list strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1;
  margin-bottom: 2px;
}
.values-list span {
  color: var(--muted);
  font-size: 0.87rem;
}

.family {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
}
.family-inner {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
  position: relative;
}
.family-inner::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  border: 90px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.family-copy {
  position: relative;
  z-index: 2;
}
.family-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
  max-width: 650px;
}
.family-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}
.family-points span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.84rem;
}
.family-badge {
  width: 390px;
  height: 390px;
  margin-left: auto;
  position: relative;
  z-index: 2;
}
.family-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 2;
}
.badge-center,
.badge-item {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
}
.badge-center {
  width: 126px;
  height: 126px;
  left: 132px;
  top: 132px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-size: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.badge-center img {
  width: 68%;
  height: 68%;
  object-fit: contain;
}
.badge-item {
  width: 100px;
  height: 100px;
  background: #fff;
  color: var(--blue);
}
.badge-top {
  top: 12px;
  left: 145px;
}
.badge-left {
  left: 20px;
  bottom: 32px;
}
.badge-right {
  right: 20px;
  bottom: 32px;
}

.faq {
  background: #fff;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.faq-heading p:last-child {
  color: var(--muted);
}
.accordion {
  display: grid;
  gap: 12px;
}
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.accordion-item button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 21px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--font-display-weight);
  cursor: pointer;
}
.accordion-item button i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef1ff;
  color: var(--blue);
  font-style: normal;
}
.accordion-panel {
  padding: 0 22px 20px;
  color: var(--muted);
}
.accordion-panel p {
  margin: 0;
}

.contact {
  padding: 40px 0 100px;
  background: linear-gradient(#fff 50%, var(--blue-deep) 50%);
}
.contact-card {
  background: var(--blue-deep);
  color: #fff;
  border-radius: 38px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  box-shadow: 0 35px 90px rgba(17, 24, 61, 0.28);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--coral);
  left: -140px;
  bottom: -130px;
  opacity: 0.8;
}
.contact-copy {
  position: relative;
  z-index: 2;
}
.contact-copy h2 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
}
.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}
.contact-links {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}
.contact-links a {
  color: var(--yellow);
  font-weight: 900;
}
.contact-links span {
  color: rgba(255, 255, 255, 0.72);
}
.contact-form {
  background: #fff;
  color: var(--ink);
  padding: 30px;
  border-radius: 26px;
  position: relative;
  z-index: 2;
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 35, 58, 0.14);
  background: #f8f9fd;
  padding: 13px 14px;
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  transition:
    border 0.2s,
    box-shadow 0.2s;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(64, 83, 151, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-note {
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
  margin: 10px 0 0;
}

.site-footer {
  background: var(--blue-deep);
  color: #fff;
  padding: 16px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.65fr 0.65fr;
  gap: 70px;
  padding: 54px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img {
  width: 110px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 16px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 440px;
}
.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer-grid strong {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.footer-grid a,
.footer-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
}

.floating-contact {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--blue-deep);
  padding: 12px 17px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(19, 29, 74, 0.22);
  font-weight: 900;
  font-size: 0.86rem;
}
.floating-contact span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}
.toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 140px);
  max-width: min(92vw, 560px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #11182f;
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition:
    transform 0.3s,
    opacity 0.3s;
  text-align: center;
  font-weight: 700;
}
.toast-spark {
  color: var(--yellow);
  font-size: 1rem;
}
.toast-copy {
  display: grid;
  gap: 2px;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
}
.toast-copy strong {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1rem;
}
.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.accordion-item button {
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.accordion-item button:hover {
  background: #fbfbfe;
  color: var(--blue);
}
.accordion-item button i {
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.accordion-item button[aria-expanded="true"] i {
  transform: rotate(180deg);
  background: var(--yellow);
  color: var(--blue-deep);
}

@media (prefers-reduced-motion: no-preference) {
  .note-yellow {
    animation: note-arrives 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
  }
  .note-blue {
    animation: note-arrives 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
  }
  .floating-note svg {
    animation: spark-turn 0.9s ease-out 0.7s both;
  }
}

@keyframes note-arrives {
  from {
    opacity: 0;
    transform: translateY(-10px) rotate(7deg);
  }
  to {
    opacity: 1;
  }
}

@keyframes spark-turn {
  from {
    transform: rotate(-35deg) scale(0.7);
    opacity: 0.4;
  }
  to {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 17px;
  }
  .header-inner {
    grid-template-columns: 105px 1fr auto;
    gap: 18px;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero-visual {
    min-height: 550px;
  }
  .journey-grid,
  .values-grid,
  .faq-grid {
    gap: 50px;
  }
  .contact-card {
    gap: 40px;
    padding: 44px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 82px 0;
  }
  .site-header {
    height: 70px;
    background: rgba(255, 254, 251, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(24, 32, 77, 0.07);
  }
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .brand img {
    width: 82px;
  }
  .menu-toggle {
    display: block;
    z-index: 102;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    background: var(--blue-deep);
    color: #fff;
    display: grid;
    place-content: center;
    gap: 24px;
    text-align: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .main-nav a {
    font-family: var(--font-display);
    font-size: 1.7rem;
  }
  .header-cta {
    display: none;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-grid,
  .journey-grid,
  .values-grid,
  .family-inner,
  .faq-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow,
  .hero-actions {
    justify-content: center;
  }
  .hero-lead {
    margin-inline: auto;
  }
  .hero-trust {
    text-align: left;
  }
  .hero-visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }
  .tripod-grid {
    grid-template-columns: 1fr;
  }
  .tripod-card {
    min-height: 310px;
  }
  .card-icon {
    margin: 25px 0 18px;
  }
  .journey-copy {
    position: static;
  }
  .journey-card:nth-child(2),
  .journey-card:nth-child(3) {
    margin-left: 0;
  }
  .routine-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .routine-gallery {
    grid-auto-rows: 230px;
  }
  .gallery-card {
    grid-column: span 6;
  }
  .gallery-wide {
    grid-column: span 12;
  }
  .values-visual {
    order: 2;
  }
  .family-badge {
    margin: 0 auto;
  }
  .contact-card {
    padding: 42px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
  .section {
    padding: 68px 0;
  }
  h1 {
    font-size: clamp(3.15rem, 15vw, 4.6rem);
  }
  h2 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }
  .hero {
    padding: 112px 0 72px;
  }
  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-trust div {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 10px;
  }
  .hero-visual {
    min-height: 470px;
    margin-top: 28px;
  }
  .photo-card {
    border-width: 5px;
    border-radius: 20px;
  }
  .photo-card-main {
    height: 360px;
  }
  .photo-card-top {
    height: 185px;
  }
  .photo-card-bottom {
    height: 190px;
  }
  .floating-note {
    font-size: 0.7rem;
    padding: 9px 11px;
  }
  .note-blue {
    right: 0;
    bottom: 18px;
  }
  .trust-strip-inner {
    justify-content: flex-start;
    overflow: auto;
    white-space: nowrap;
    gap: 18px;
    scrollbar-width: none;
  }
  .trust-strip-inner::-webkit-scrollbar {
    display: none;
  }
  .tripod-card {
    padding: 28px;
  }
  .card-tag {
    margin-top: 24px;
  }
  .journey-card {
    grid-template-columns: 50px 1fr;
    padding: 24px 20px;
    column-gap: 15px;
  }
  .journey-step {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .routine-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }
  .gallery-card,
  .gallery-wide {
    grid-column: 1;
  }
  .gallery-tall {
    grid-row: span 1;
  }
  .values-visual {
    min-height: 490px;
  }
  .values-photo {
    height: 450px;
    width: 88%;
  }
  .values-quote {
    width: 72%;
    font-size: 1.22rem;
  }
  .family-badge {
    width: 310px;
    height: 310px;
  }
  .badge-center {
    width: 104px;
    height: 104px;
    left: 103px;
    top: 103px;
  }
  .badge-item {
    width: 82px;
    height: 82px;
    font-size: 0.9rem;
  }
  .badge-top {
    top: 7px;
    left: 114px;
  }
  .badge-left {
    left: 10px;
    bottom: 25px;
  }
  .badge-right {
    right: 10px;
    bottom: 25px;
  }
  .contact {
    padding-bottom: 70px;
  }
  .contact-card {
    padding: 30px 20px;
    border-radius: 28px;
  }
  .contact-form {
    padding: 22px 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}

/* Legal and production utility pages. */
.legal-page,
.error-page {
  min-height: 100vh;
  padding: clamp(32px, 7vw, 72px) 0;
  background: var(--cream);
}
.legal-card {
  width: min(calc(100% - 32px), 860px);
  margin: auto;
  padding: clamp(28px, 6vw, 64px);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow);
}
.legal-logo {
  width: 110px;
  margin-bottom: 35px;
}
.legal-card h1 {
  font-size: clamp(2.6rem, 6vw, 4.9rem);
}
.legal-card h2 {
  margin-top: 34px;
  font-size: 1.8rem;
}
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}
.legal-card a:not(.legal-back) {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.legal-back {
  display: inline-flex;
  margin-top: 32px;
  color: var(--blue);
  font-weight: 900;
}
.error-card {
  position: relative;
  min-height: min(680px, calc(100vh - 144px));
  padding: clamp(34px, 7vw, 76px);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.6fr);
  align-items: center;
  gap: clamp(32px, 8vw, 96px);
  overflow: hidden;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: 0 35px 90px rgba(17, 24, 61, 0.28);
}
.error-card::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.86;
}
.error-card > * {
  position: relative;
  z-index: 1;
}
.error-code {
  margin-bottom: 12px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 10vw, 6rem);
  line-height: 0.9;
}
.error-card h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 4.9rem);
}
.error-copy {
  max-width: 52ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
}
.error-note {
  min-height: 250px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  background: var(--yellow);
  color: var(--blue-deep);
  box-shadow: 0 26px 70px rgba(7, 12, 39, 0.2);
  transform: rotate(2deg);
}
.error-note span {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8vw, 6rem);
}

@media (max-width: 760px) {
  .error-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .error-note {
    min-height: 160px;
  }
}

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

/* ==========================================================
   V2 — posicionamento, oferta, provas e conversão
   ========================================================== */
.hero-signature {
  display: inline-flex;
  margin: -10px 0 25px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(251, 216, 114, 0.34);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.school-offer {
  background: #fff;
  padding-top: var(--space-section-compact);
  padding-bottom: var(--space-3xl);
}
.offer-intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: var(--space-2xl);
}
.offer-intro h2 {
  max-width: 800px;
  margin-bottom: 0;
}
.offer-intro > p {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 7px;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--space-lg);
}
.offer-card {
  min-height: 390px;
  padding: 34px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(29, 41, 96, 0.09);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}
.offer-card:hover {
  transform: translateY(-7px) rotate(-0.4deg);
  box-shadow: 0 24px 54px rgba(29, 41, 96, 0.14);
}
.offer-card:nth-child(2):hover {
  transform: translateY(-7px) rotate(0.4deg);
}
.offer-card:nth-child(3):hover {
  transform: translateY(-7px) rotate(-0.2deg);
}
.offer-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  right: -70px;
  bottom: -70px;
  background: rgba(255, 255, 255, 0.34);
}
.offer-card-yellow {
  background: #fff0a4;
}
.offer-card-blue {
  background: #dfe5ff;
}
.offer-card-pink {
  background: #ffdce8;
}
.offer-kicker {
  display: inline-block;
  margin-bottom: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.offer-card h3 {
  font-size: 2.15rem;
}
.offer-card p {
  color: #4f5873;
}
.offer-card ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 9px;
}
.offer-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: #3f4865;
  font-size: 0.88rem;
}
.offer-card li::before {
  content: "✦";
  color: var(--blue);
  font-size: 0.75rem;
}
.offer-meta {
  margin-top: 20px;
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfbfe;
  color: var(--muted);
  font-size: 0.9rem;
}
.offer-meta strong {
  color: var(--blue);
  margin-right: 5px;
}

.journey-card:nth-child(4) {
  margin-left: 120px;
}

.proof-section {
  background: linear-gradient(180deg, #fff 0%, #f4f6ff 100%);
}
.proof-heading {
  max-width: 920px;
  margin-bottom: var(--space-2xl);
}
.proof-heading > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: var(--space-md);
}
.proof-card {
  min-height: 255px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(29, 41, 96, 0.08);
  border: 1px solid rgba(64, 83, 151, 0.09);
}
.proof-card strong,
.proof-card span {
  display: block;
}
.proof-card strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
}
.proof-card span {
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--font-display-weight);
  margin: 7px 0 22px;
}
.proof-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}

.family-inner {
  min-height: 610px;
}
.family-quote {
  max-width: 650px;
  margin: 34px 0 0;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.35;
}
.family-quote cite {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
}

.testimonials {
  background: var(--cream);
}
.testimonials-heading {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: var(--space-2xl);
}
.testimonials-heading h2 {
  margin-bottom: 0;
}
.testimonials-heading > p {
  color: var(--muted);
  font-size: 1.04rem;
  margin-bottom: 7px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  gap: 16px;
}
.testimonial-card {
  min-height: 325px;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(29, 41, 96, 0.08);
  display: flex;
  flex-direction: column;
}
.quote-mark {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 4.9rem;
  line-height: 0.7;
}
.testimonial-card p {
  color: #464f6a;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 26px 0 auto;
}
.testimonial-card strong {
  color: var(--blue);
  font-size: 0.83rem;
}
.testimonial-action {
  background: var(--yellow);
  justify-content: center;
}
.testimonial-label {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}
.testimonial-action h3 {
  font-size: 2rem;
  color: var(--blue-deep);
  margin: 16px 0 26px;
}
.testimonial-action .button {
  align-self: flex-start;
}

.form-heading {
  display: grid;
  gap: 2px;
  margin-bottom: 20px;
}
.form-heading strong {
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.form-heading span {
  color: var(--muted);
  font-size: 0.82rem;
}
.contact-form select {
  width: 100%;
  border: 1px solid rgba(32, 35, 58, 0.14);
  background: #f8f9fd;
  padding: 13px 14px;
  border-radius: 12px;
  outline: none;
  color: var(--ink);
}
.contact-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(64, 83, 151, 0.1);
}
.privacy-check {
  grid-template-columns: 19px 1fr !important;
  align-items: start;
  gap: 9px !important;
  font-weight: 600 !important;
  line-height: 1.4;
}
.privacy-check input {
  width: 17px !important;
  height: 17px;
  margin: 2px 0 0;
  padding: 0 !important;
}
.privacy-check a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 800;
}
.contact-address {
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}
.contact-address strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.map-link {
  display: inline-flex;
  margin-top: 11px;
  color: var(--yellow);
  font-weight: 900;
}

@media (max-width: 1000px) {
  .offer-intro,
  .testimonials-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .testimonial-action {
    grid-column: 1 / -1;
    min-height: auto;
  }
  .journey-card:nth-child(4) {
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .hero-signature {
    font-size: 0.88rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-action {
    grid-column: auto;
  }
  .offer-card {
    min-height: auto;
    padding: 28px;
  }
  .offer-meta {
    justify-content: flex-start;
  }
  .proof-card {
    min-height: auto;
  }
  .testimonial-card {
    min-height: auto;
  }
  .testimonial-action h3 {
    font-size: 1.65rem;
  }
  .family-quote {
    font-size: 1.1rem;
  }
}

.routine-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.routine-tags span {
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(64, 83, 151, 0.12);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.environments {
  background: #fff;
}
.environments-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 6vw, 5rem);
  align-items: end;
  margin-bottom: var(--space-2xl);
}
.environments-heading h2 {
  margin-bottom: 0;
}
.environments-heading > p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 7px;
}
.environments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.environment-card {
  margin: 0;
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ddd;
}
.environment-card:nth-child(2) {
  transform: translateY(24px);
}
.environment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.environment-card:hover img {
  transform: scale(1.04);
}
.environment-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(23, 32, 77, 0.92));
}
.environment-card figcaption {
  position: absolute;
  z-index: 2;
  left: 25px;
  right: 25px;
  bottom: 24px;
  color: #fff;
}
.environment-card strong,
.environment-card span {
  display: block;
}
.environment-card strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.environment-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
}

.team-section {
  background: #f4f6ff;
}
.team-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: center;
}
.team-visual {
  min-height: 610px;
  position: relative;
}
.team-visual img {
  width: 88%;
  height: 570px;
  object-fit: cover;
  border-radius: 36px 180px 36px 36px;
  box-shadow: var(--shadow);
}
.team-note {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 58%;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 1.25rem;
  line-height: 1.2;
  transform: rotate(-2deg);
  box-shadow: 0 18px 40px rgba(24, 32, 77, 0.14);
}
.team-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}
.team-points {
  display: grid;
  gap: 10px;
  margin: 29px 0;
}
.team-points > div {
  padding: 15px 17px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(64, 83, 151, 0.08);
}
.team-points strong,
.team-points span {
  display: block;
}
.team-points strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.team-points span {
  color: var(--muted);
  font-size: 0.87rem;
}

@media (max-width: 1000px) {
  .environments-heading,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .team-visual {
    min-height: 520px;
  }
  .team-visual img {
    height: 500px;
  }
}

@media (max-width: 680px) {
  .environments-grid {
    grid-template-columns: 1fr;
  }
  .environment-card {
    min-height: 350px;
  }
  .environment-card:nth-child(2) {
    transform: none;
  }
  .team-visual {
    min-height: 440px;
  }
  .team-visual img {
    width: 94%;
    height: 420px;
    border-radius: 30px 120px 30px 30px;
  }
  .team-note {
    width: 74%;
    font-size: 1.05rem;
  }
}

/* ==========================================================
   High-end editorial pass — warm structuralism + Z-axis depth
   ========================================================== */
:root {
  --ease-premium: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-float:
    0 2px 3px rgba(23, 32, 77, 0.03), 0 18px 52px rgba(23, 32, 77, 0.1),
    0 50px 110px rgba(23, 32, 77, 0.06);
}

html * {
  transition-timing-function: var(--ease-premium) !important;
}
[id] {
  scroll-margin-top: 112px;
}

.button {
  gap: 12px;
  border: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 34px rgba(23, 32, 77, 0.12);
  transition:
    transform 0.55s var(--ease-premium),
    box-shadow 0.55s var(--ease-premium),
    background 0.55s var(--ease-premium);
}
.button-orbital {
  justify-content: space-between;
  padding: 7px 8px 7px 22px;
}
.button-orbit {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1rem;
  transition: transform 0.55s var(--ease-premium);
}
.button-orbital:hover .button-orbit {
  transform: translate(3px, -2px) scale(1.06);
}
.button-orbital:active {
  transform: translateY(1px) scale(0.98);
}
.button-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 22px 52px rgba(64, 83, 151, 0.3);
}
.button-small.button-orbital {
  min-height: 48px;
  padding: 5px 6px 5px 17px;
}
.button-small .button-orbit {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}
.button-yellow .button-orbit {
  background: var(--blue-deep);
  color: #fff;
}

.eyebrow {
  width: fit-content;
  min-height: 0;
  margin-bottom: 18px;
  padding: 0;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: none;
}
.eyebrow span {
  width: 32px;
  height: 3px;
  border-radius: 999px;
}
.eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.photo-card {
  border: 7px solid rgba(255, 255, 255, 0.92);
  outline: 1px solid rgba(64, 83, 151, 0.08);
  outline-offset: 5px;
  box-shadow: var(--shadow-float);
}

.offer-grid {
  align-items: start;
  gap: clamp(18px, 2.4vw, 30px);
}
.offer-card {
  padding: 6px;
  background: rgba(64, 83, 151, 0.055);
  border: 1px solid rgba(64, 83, 151, 0.06);
  border-radius: 38px;
  box-shadow: var(--shadow-float);
  overflow: visible;
  transition:
    transform 0.75s var(--ease-premium),
    box-shadow 0.75s var(--ease-premium);
}
.offer-card:nth-child(2) {
  margin-top: 24px;
}
.offer-card:nth-child(3) {
  margin-top: -10px;
}
.offer-card:hover,
.offer-card:nth-child(2):hover,
.offer-card:nth-child(3):hover {
  transform: translateY(-10px) rotate(-0.5deg);
  box-shadow:
    0 3px 4px rgba(23, 32, 77, 0.025),
    0 28px 72px rgba(23, 32, 77, 0.14),
    0 70px 130px rgba(23, 32, 77, 0.07);
}
.offer-card:nth-child(2):hover {
  transform: translateY(14px) rotate(0.5deg);
}
.js .offer-card.reveal.visible:hover {
  transform: translateY(-10px) rotate(-0.5deg);
}
.js .offer-card.reveal.visible:nth-child(2):hover {
  transform: translateY(-10px) rotate(0.5deg);
}
.offer-card-core {
  min-height: 376px;
  height: 100%;
  padding: 28px;
  border-radius: 31px;
  overflow: hidden;
  position: relative;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.82),
    inset 0 -1px 0 rgba(23, 32, 77, 0.04);
}
.offer-card-yellow .offer-card-core {
  background: #fff0a4;
}
.offer-card-blue .offer-card-core {
  background: #dfe5ff;
}
.offer-card-pink .offer-card-core {
  background: #ffdce8;
}
.offer-card::after {
  display: none;
}
.offer-card-core::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}
.offer-card-core > * {
  position: relative;
  z-index: 1;
}

.tripod-card,
.journey-card,
.proof-card,
.testimonial-card,
.accordion-item {
  border-color: transparent;
  outline: 1px solid rgba(64, 83, 151, 0.06);
  outline-offset: 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 24px 64px rgba(23, 32, 77, 0.09);
}
.journey-card {
  box-shadow:
    inset 0 1px 0 #fff,
    0 26px 70px rgba(7, 12, 39, 0.18);
}
.journey-card:nth-child(2) {
  transform: rotate(0.35deg);
}
.journey-card:nth-child(3) {
  transform: rotate(-0.45deg);
}

.contact-card {
  padding: 8px;
  border: 0;
  border-radius: 42px;
  background: var(--blue-deep);
  box-shadow:
    0 4px 6px rgba(17, 24, 61, 0.06),
    0 38px 100px rgba(17, 24, 61, 0.28);
}
.contact-card::after {
  display: none;
}
.contact-card::before {
  z-index: 1;
  left: -140px;
  right: auto;
  top: auto;
  bottom: -130px;
}
.contact-copy,
.contact-form {
  z-index: 2;
}
.contact-copy {
  padding: clamp(32px, 5vw, 56px);
}
.contact-form {
  align-self: start;
  margin: clamp(48px, 5vw, 62px) 8px 8px;
  padding: 32px;
  border: 0;
  border-radius: 32px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 24px 60px rgba(7, 12, 39, 0.2);
}

.reveal {
  transition:
    opacity 0.9s var(--ease-settle),
    transform 0.9s var(--ease-settle),
    filter 0.9s var(--ease-settle);
}
.js .reveal {
  transform: translateY(48px);
  filter: blur(8px);
}

@media (max-width: 900px) {
  .site-header,
  .site-header.scrolled {
    backdrop-filter: none;
  }
  .offer-card,
  .offer-card:nth-child(2),
  .offer-card:nth-child(3),
  .offer-card:hover,
  .offer-card:nth-child(2):hover,
  .offer-card:nth-child(3):hover,
  .journey-card:nth-child(2),
  .journey-card:nth-child(3) {
    transform: none;
  }
  .offer-card:nth-child(2),
  .offer-card:nth-child(3) {
    margin-top: 0;
  }
  .contact-card {
    padding: 7px;
  }
  .contact-copy {
    padding: 34px 28px 10px;
  }
  .contact-form {
    align-self: stretch;
    margin: 12px 6px 6px;
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 72px;
  }
  .hero-copy .eyebrow {
    margin-inline: auto;
  }
  .offer-grid {
    gap: 24px;
  }
  .offer-card,
  .offer-card-core {
    min-height: auto;
  }
  .offer-card-core {
    padding: 26px;
  }
  .contact-card {
    border-radius: 30px;
  }
  .contact-card::after {
    border-radius: 24px;
  }
  .contact-form {
    margin: 12px 6px 6px;
    padding: 24px 18px;
    border: 0;
    border-radius: 24px;
  }
}
