/* ==========================================================================
   Vista Assessments — site styles (v3, mobile-first elevation pass)
   Direction: clean, elevated, organic — psychology.org calm, on Vista brand.
   Palette (from the Vista brand bento):
   paper #F8F9FF · white · navy #16324F/#0D203F · blue #3E7EFF · coral #FF6B6B · cream #FFDB99
   Display: Momcake Pro (licensed target) — stand-in "Plus Jakarta Sans" until licensed.
   ========================================================================== */

:root {
  --navy: #16324F;
  --navy-deep: #0D203F;
  --blue: #3E7EFF;
  --blue-ink: #2f66d6;
  --coral: #FF6B6B;
  --cream: #FFDB99;
  --paper: #F8F9FF;
  --white: #FFFFFF;
  --ink-70: rgba(22,50,79,.72);
  --ink-55: rgba(22,50,79,.55);
  --line: rgba(22,50,79,.08);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-xl: 32px; --r-lg: 24px; --r-md: 16px; --r-pill: 999px;
  --shadow-sm: 0 2px 10px -4px rgba(13,32,63,.14);
  --shadow: 0 10px 30px -18px rgba(13,32,63,.28);
  --shadow-lg: 0 30px 60px -34px rgba(13,32,63,.40);
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 60px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font); color: var(--navy);
  background: var(--paper); line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 var(--r-md) 0; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---- Type ------------------------------------------------------------- */
.display { font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; margin: 0; }
h1.display { font-size: clamp(2.15rem, 6vw, 4.4rem); }
h2.display { font-size: clamp(1.7rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
h3.display { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -0.02em; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); margin: 0 0 1rem; display: inline-flex; align-items: center; gap: .7ch; }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--coral); flex: none; }
.lede { font-size: clamp(1.02rem, 1.4vw, 1.24rem); color: var(--ink-70); max-width: 54ch; margin: 0; }
.hl { color: var(--blue); }
.hl-coral { color: var(--coral); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55ch; font-weight: 700; font-size: 1rem;
  padding: .9rem 1.6rem; border-radius: var(--r-pill); background: var(--bg); color: var(--fg);
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(62,126,255,.65); }
.btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--navy); box-shadow: none; }
.btn.cream { --bg: var(--cream); --fg: var(--navy); }
.btn.cream:hover { box-shadow: 0 14px 26px -14px rgba(255,219,153,.7); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .arw { transition: none; } .btn:hover { transform: none; } }

/* ---- Header + mobile nav ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(248,249,255,.82); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(248,249,255,.94); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.nav .logo { flex: none; display: inline-flex; }
.nav .logo img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { font-weight: 600; font-size: .94rem; position: relative; padding: .2rem 0; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--blue); border-radius: 2px; transition: width .22s var(--ease); }
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--blue-ink); }
.header-cta { flex: none; }

/* Hamburger */
.nav-toggle {
  display: none; flex: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px;
}
.nav-toggle:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .28s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  display: none; flex-direction: column; gap: .2rem;
  padding: .6rem var(--gutter) 1.4rem;
  border-bottom: 1px solid var(--line);
  background: rgba(248,249,255,.98);
}
.mobile-menu a { font-weight: 700; font-size: 1.05rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"] { color: var(--blue-ink); }
.mobile-menu .btn { margin-top: 1rem; border-bottom: 0; align-self: stretch; }

@media (max-width: 980px) {
  .nav-links, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav .logo img { height: 24px; }
  .nav-open .mobile-menu { display: flex; animation: menuIn .28s var(--ease) both; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .nav-open .mobile-menu { animation: none; } }
}

/* ---- Floating brand shapes -------------------------------------------- */
/* Decorative only. Always z-index 0 — content wrappers sit at z-index 2. */
.shape { position: absolute; z-index: 0; pointer-events: none; will-change: transform; }
.shape.diamond { width: 26px; height: 26px; border: 3px solid var(--coral); transform: rotate(45deg); border-radius: 4px; }
.shape.diamond.fill { background: var(--coral); border: 0; }
.shape.square { width: 22px; height: 22px; border-radius: 5px; background: var(--cream); }
.shape.square.blue { background: var(--blue); }
.shape.circle { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); }
.shape.ring { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--navy); }
.shape.tri { width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-bottom: 24px solid var(--coral); background: none; }
.float { animation: floaty 8s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-16px) rotate(calc(var(--rot,0deg) + 10deg)); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
.shapes-live .float { animation: none; }
.shapes-live .shape { transition: none; }

/* Mobile: smaller, quieter, and the busy ones disappear entirely */
@media (max-width: 700px) {
  .shape { transform: scale(.7); opacity: .55; }
  .shape.m-hide { display: none; }
}

/* ---- Hero (scroll-swipe, all viewports) ------------------------------- */
.hero-scroll { position: relative; height: 220vh; }
.hero-pin { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; overflow: hidden;
  padding-top: var(--header-h);
  background:
    radial-gradient(90% 70% at 82% 12%, rgba(62,126,255,.10), transparent 60%),
    radial-gradient(70% 60% at 6% 96%, rgba(255,219,153,.20), transparent 60%),
    var(--paper);
}
.panel { grid-area: 1 / 1; width: 100%; will-change: transform, opacity; position: relative; z-index: 2; }

/* Panel 1 — intro */
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px,4vw,64px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { margin-bottom: 1.3rem; }
.hero-copy .lede { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; height: auto; }
/* Mobile-only soft background figure (the person holding the puzzle) */
.hero-bg-figure { display: none; }
.scroll-cue { display: inline-flex; align-items: center; gap: .6ch; margin-top: 2rem; color: var(--ink-55); font-weight: 600; font-size: .9rem; }
.scroll-cue .mouse { width: 20px; height: 32px; border: 2px solid var(--ink-55); border-radius: 12px; position: relative; flex: none; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; background: var(--ink-55); border-radius: 2px; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%,100% { opacity: 0; transform: translate(-50%,0); } 50% { opacity: 1; transform: translate(-50%,6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .mouse::after { animation: none; } }

/* Page-load entrance for the hero copy */
.js .hero-copy > * { opacity: 0; transform: translateY(16px); animation: riseIn .7s var(--ease) forwards; }
.js .hero-copy > *:nth-child(1) { animation-delay: .05s; }
.js .hero-copy > *:nth-child(2) { animation-delay: .14s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .23s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .32s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .41s; }
.js .hero-figure { opacity: 0; transform: translateY(20px) scale(.98); animation: riseIn .8s var(--ease) .2s forwards; }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .hero-figure { opacity: 1; transform: none; animation: none; }
}

/* Panel 2 — selector */
.select-panel { text-align: center; }
.select-head { max-width: 42ch; margin: 0 auto clamp(20px,3vw,40px); }
.select-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(12px,1.8vw,22px); max-width: 960px; margin-inline: auto; }
.scard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(20px,2.6vw,34px); text-align: left; cursor: pointer; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  display: flex; flex-direction: column; gap: .7rem; min-height: 210px;
}
.scard:hover, .scard:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(62,126,255,.4); outline: none; }
.scard .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(62,126,255,.10); flex: none; }
.scard .ic img { width: 26px; height: 26px; }
.scard h3 { color: var(--navy); }
.scard p { margin: 0; color: var(--ink-55); font-size: .96rem; }
.scard .go { margin-top: auto; font-weight: 700; color: var(--blue-ink); display: inline-flex; align-items: center; gap: .4ch; }
.scard::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); border: 2px solid var(--blue); opacity: 0; transition: opacity .25s; pointer-events: none; }
.scard:hover::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .scard:hover { transform: none; } }

/* Mobile hero: text-first, compact selector rows, soft figure background */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .hero-bg-figure {
    display: block; position: absolute; z-index: 0; right: -8vw; bottom: -4vh;
    width: min(62vw, 300px); opacity: .38; pointer-events: none;
  }
  .hero-copy h1 { max-width: 15ch; }
  .select-head h2 { font-size: 1.45rem; }
  .select-cards { grid-template-columns: 1fr; gap: 10px; }
  .scard { flex-direction: row; align-items: center; min-height: 0; padding: 14px 16px; gap: .9rem; }
  .scard .ic { width: 40px; height: 40px; }
  .scard .ic img { width: 22px; height: 22px; }
  .scard h3 { font-size: 1.02rem; }
  .scard p { display: none; }
  .scard .go { margin: 0 0 0 auto; font-size: 1.1rem; }
  .scard .go .lbl { display: none; }
}

/* Fallback layout when pinning is off (reduced-motion / no-JS) */
.hero-scroll.static { height: auto; }
.hero-scroll.static .hero-pin { position: static; min-height: 0; padding-block: calc(var(--header-h) + clamp(24px,5vw,60px)) clamp(56px,9vw,110px); }
.hero-scroll.static .panel { grid-area: auto; }
.hero-scroll.static .select-panel { margin-top: clamp(48px,7vw,90px); }

/* ---- Sections --------------------------------------------------------- */
.section { position: relative; padding-block: clamp(56px, 9vw, 120px); overflow: hidden; }
.section.paper { background: var(--paper); }
.section.white { background: var(--white); }
.section.cream { background: var(--cream); }
.section-head { max-width: 62ch; margin-bottom: clamp(26px,4vw,56px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* Value / UVP */
.value { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px,5vw,72px); align-items: center; }
@media (max-width: 900px) { .value { grid-template-columns: 1fr; } .value-figure { order: 2; } }
.value-figure { position: relative; display: grid; place-items: center; }
.value-figure > img { width: min(70%, 320px); }
@media (max-width: 900px) { .value-figure > img { width: min(52%, 240px); } }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px,3.4vw,48px); box-shadow: var(--shadow);
}
.value-card .lede { color: var(--navy); font-weight: 500; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px,2vw,22px); }
@media (max-width: 780px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px,3vw,40px); box-shadow: var(--shadow-sm); }
.stat .num { font-weight: 800; font-size: clamp(2.4rem,5vw,3.6rem); line-height: 1; letter-spacing: -.03em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat .num.blue { color: var(--blue); }
.stat .cap { margin-top: .5rem; color: var(--ink-55); font-weight: 600; }

/* Audience */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px,2.4vw,26px); }
@media (max-width: 780px) { .audience { grid-template-columns: 1fr; } }
.aud { border-radius: var(--r-xl); padding: clamp(26px,3.2vw,44px); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .9rem; position: relative; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.aud:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .aud:hover { transform: none; } }
.aud.light { background: var(--white); }
.aud.dark { background: var(--navy); color: #fff; }
.aud .tag { font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.aud.light .tag { color: var(--blue-ink); } .aud.dark .tag { color: var(--cream); }
.aud .go { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: .4ch; position: relative; z-index: 2; }
.aud.light .go { color: var(--blue-ink); } .aud.dark .go { color: var(--cream); }
.aud .puz { position: absolute; right: -12px; bottom: -12px; width: 96px; opacity: .9; z-index: 0; }
.aud > *:not(.puz) { position: relative; z-index: 1; }

/* Capability — roomy pull-quote */
.capability { text-align: center; max-width: 20ch; margin-inline: auto; position: relative; z-index: 2; }
.capability .quotemark { font-size: 3rem; line-height: 0; color: var(--coral); font-weight: 800; display: block; height: 1.4rem; }
.capability p { font-size: clamp(1.3rem,2.4vw,2rem); font-weight: 700; line-height: 1.42; letter-spacing: -.02em; color: var(--navy); max-width: 22ch; margin: 1rem auto 0; }
@media (min-width: 620px) { .capability, .capability p { max-width: 30ch; } }
@media (min-width: 900px) { .capability, .capability p { max-width: 38ch; } }

/* Partner band (navy, DELIBERATELY blue-free per client) */
.partner { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.partner .wrap { position: relative; z-index: 2; padding-block: clamp(56px,8vw,104px); }
.partner-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px,4vw,56px); align-items: center; }
@media (max-width: 820px) { .partner-inner { grid-template-columns: 1fr; } }
.partner h2 { color: #fff; } .partner .lede { color: rgba(255,255,255,.8); }
.partner .eyebrow { color: var(--cream); }
.partner .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -140px; top: -160px; z-index: 1; background: radial-gradient(circle, rgba(255,219,153,.20), transparent 70%); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding-block: clamp(40px,6vw,68px); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; }
.footer-grid .logo img { height: 26px; width: auto; }
.footer-nav { display: flex; gap: 1.1rem 1.5rem; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.72); font-weight: 600; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-meta { width: 100%; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.4rem; font-size: .85rem; color: rgba(255,255,255,.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* ==========================================================================
   Interior pages
   ========================================================================== */

.page-hero { position: relative; overflow: hidden;
  background: radial-gradient(80% 70% at 88% 0%, rgba(62,126,255,.10), transparent 60%),
              radial-gradient(70% 60% at 0% 100%, rgba(255,219,153,.22), transparent 60%), var(--paper);
  padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 76px); }
.page-hero .crumb { font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-ink); }
.page-hero h1 { margin-top: .6rem; }
.page-hero .lede { margin-top: 1.1rem; }
.js .page-hero .wrap > * { opacity: 0; transform: translateY(14px); animation: riseIn .6s var(--ease) forwards; }
.js .page-hero .wrap > *:nth-child(1) { animation-delay: .05s; }
.js .page-hero .wrap > *:nth-child(2) { animation-delay: .13s; }
.js .page-hero .wrap > *:nth-child(3) { animation-delay: .21s; }
.js .page-hero .wrap > *:nth-child(4) { animation-delay: .29s; }
@media (prefers-reduced-motion: reduce) { .js .page-hero .wrap > * { opacity: 1; transform: none; animation: none; } }

/* Founder */
.founder { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }
.founder-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; position: relative;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep)); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
@media (max-width: 860px) { .founder-photo { aspect-ratio: 1/1; max-width: 420px; margin-inline: auto; } }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-photo .ph { text-align: center; color: rgba(255,255,255,.72); padding: 2rem; }
.founder-photo .mono { display: grid; place-items: center; width: 98px; height: 98px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--cream); color: var(--navy); font-weight: 800; font-size: 2.1rem; letter-spacing: .02em; }
.founder-photo .ph-name { font-weight: 700; color: #fff; }
.founder-photo .ph-name span { font-weight: 500; color: rgba(255,255,255,.55); font-size: .9rem; }
.founder-body .role { color: var(--blue-ink); font-weight: 700; margin: 0 0 .4rem; }
.founder-body h2 { margin-bottom: 1rem; }
.founder-body p { color: var(--ink-70); }
.founder-body p + p { margin-top: 1rem; }

/* Info blocks */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 34px); }
@media (max-width: 780px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.info-card h3 { margin-bottom: .7rem; }
.info-card p { color: var(--ink-70); margin: 0; }

/* Assessments */
.assess { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px, 2.2vw, 24px); }
@media (max-width: 900px) { .assess { grid-template-columns: 1fr; } }
.assess-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .9rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.assess-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .assess-card:hover { transform: none; } }
.assess-card .ic { width: 60px; height: 60px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; }
.assess-card .ic img { width: 34px; height: 34px; }
.assess-card p { color: var(--ink-70); margin: 0; }

/* Contact — DELIBERATELY blue-free accents per client (navy + cream) */
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--navy); background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-md); padding: .85rem 1rem; transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255,219,153,.55); }
.form .btn { --bg: var(--navy); --fg: #fff; align-self: flex-start; margin-top: .3rem; }
.form .btn:hover { box-shadow: 0 14px 26px -14px rgba(22,50,79,.6); }
.form .hint { color: var(--ink-55); font-size: .86rem; }
.contact-aside { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow); }
.contact-aside h3 { color: #fff; margin-bottom: 1rem; }
.contact-aside .row { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-aside .row:first-of-type { border-top: 0; }
.contact-aside .row a, .contact-aside .row span { color: rgba(255,255,255,.85); overflow-wrap: anywhere; }
.contact-aside .k { font-weight: 700; color: var(--cream); min-width: 82px; flex: none; }

/* Benefits (3-up feature cards) */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px, 2.2vw, 24px); }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.8vw, 34px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .7rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .benefit:hover { transform: none; } }
.benefit .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(62,126,255,.10); display: grid; place-items: center; }
.benefit .ic img { width: 26px; height: 26px; }
.benefit p { color: var(--ink-70); margin: 0; }

/* Checklist card (audience pages) */
.check-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px,3.4vw,44px); box-shadow: var(--shadow-sm); }
.check-card h3 { margin-bottom: 1rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-70); }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: .15em; border-radius: 7px; background: var(--blue);
  clip-path: none; mask: none; display: inline-block;
  background: rgba(62,126,255,.14); position: relative; }
.checklist li .tick { flex: none; width: 22px; height: 22px; margin-top: .15em; border-radius: 7px; background: rgba(62,126,255,.14); display: grid; place-items: center; color: var(--blue-ink); font-weight: 800; font-size: .8rem; }
.checklist li::before { display: none; }

/* Two-col prose intro */
.lead-2col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 820px) { .lead-2col { grid-template-columns: 1fr; } }
.lead-2col p { color: var(--ink-70); }

/* ---- Reveal ----------------------------------------------------------- */
/* Gated behind .js so content is always visible if scripts fail to load */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1 !important; transform: none !important; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Selector reduced to two audiences (Parents retired 2026-07-23) */
.select-cards.two { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 720px; margin-inline: auto; }
@media (max-width: 860px) { .select-cards.two { grid-template-columns: 1fr; } }

/* ==========================================================================
   Photography (added 2026-08-11)
   Real photography carrying warmth the flat illustrations can't. Stock —
   so nothing here is captioned as a Vista session, and alt text stays
   descriptive rather than claiming these are our students.
   ========================================================================== */

/* Wide letterbox band — one per inner page, directly under the hero */
.photo-band { position: relative; z-index: 2; }
.photo-band .shot {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow-lg);
  background: var(--navy);
}
.photo-band .shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--focus, center 40%);
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
}
.photo-band:hover .shot img { transform: scale(1.05); }
/* soft navy wash so photos sit in the palette instead of shouting over it */
.photo-band .shot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,32,63,.14) 0%, rgba(13,32,63,0) 42%, rgba(13,32,63,.20) 100%);
  pointer-events: none;
}
@media (max-width: 860px) {
  .photo-band .shot { aspect-ratio: 5 / 4; border-radius: var(--r-lg); }
}

/* Three-photo mosaic — the home page's visual breather */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: clamp(12px, 1.6vw, 20px);
  align-items: center;
}
.photo-mosaic figure {
  margin: 0; position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.photo-mosaic figure img { width: 100%; height: 100%; object-fit: cover; }
.photo-mosaic .tall  { aspect-ratio: 3 / 4; }
.photo-mosaic .wide  { aspect-ratio: 4 / 3; transform: translateY(clamp(-28px, -2.4vw, -14px)); box-shadow: var(--shadow-lg); }
.photo-mosaic .short { aspect-ratio: 3 / 4; transform: translateY(clamp(14px, 2.4vw, 28px)); }
@media (max-width: 860px) {
  /* two 3:4 shots pair on the first row, the wide shot anchors beneath them */
  .photo-mosaic { grid-template-columns: 1fr 1fr; gap: 12px; }
  .photo-mosaic .tall  { order: 1; }
  .photo-mosaic .short { order: 2; transform: none; }
  .photo-mosaic .wide  { order: 3; grid-column: 1 / -1; aspect-ratio: 16 / 10; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-band .shot img, .photo-band:hover .shot img { transition: none; transform: none; }
}

/* Founder portrait in the "Why Vista" block (home) — teaser for the About page */
.value-portrait { margin: 0; width: min(100%, 318px); }
.value-portrait img {
  /* height:auto is required — the img's height attribute is a presentational
     hint that otherwise wins over aspect-ratio and locks the box to 781px */
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 30%;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); background: var(--navy);
}
.value-portrait figcaption { margin-top: 1.1rem; text-align: left; }
.value-portrait figcaption strong { display: block; font-weight: 700; color: var(--navy); }
.value-portrait figcaption span { display: block; margin-top: .15rem; font-size: .88rem; color: var(--ink-55); }
.value-more { margin-top: 1.6rem; }
@media (max-width: 860px) {
  .value-portrait { width: min(100%, 300px); margin-inline: auto; }
  .value-portrait figcaption { text-align: center; }
}
