/* =========================================================
   AP PCC — public website styles
   Palette from the logo: ink black, vermilion, warm cream.
   ========================================================= */
:root {
  --ink: #17130f;
  --ink-2: #241e19;
  --ink-3: #3a322b;
  --muted: #6f655b;
  --muted-2: #9a8f84;
  --cream: #fbf7f1;
  --paper: #ffffff;
  --sand: #f5ede2;
  --sand-2: #ecdfce;
  --line: #e8ddcf;
  --red: #e2421f;
  --red-600: #c8361a;
  --red-50: #fdefe9;
  --gold: #c9962f;
  --green: #2f7d5b;
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(23, 19, 15, 0.05), 0 2px 10px rgba(23, 19, 15, 0.04);
  --shadow: 0 14px 34px -16px rgba(23, 19, 15, 0.22);
  --shadow-lg: 0 36px 70px -28px rgba(23, 19, 15, 0.35);
  --display: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1220px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}
h3 {
  font-size: 1.35rem;
  line-height: 1.25;
}
.h3 {
  font-size: 1.6rem;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--red);
  font-weight: 500;
}
p {
  margin: 0 0 1em;
}
.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--ink-3);
  max-width: 60ch;
}
.lead-sm {
  font-size: 1.15rem;
  color: var(--ink-3);
}
.center {
  text-align: center;
}
.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2rem;
}
.ic {
  flex: none;
  vertical-align: middle;
}
.img-missing {
  opacity: 0 !important;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.narrow {
  max-width: 780px;
}
.narrow-wide {
  max-width: 1000px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.skip-link:focus {
  left: 0.5rem;
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font: 600 0.98rem/1.2 var(--body);
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn .ic {
  transition: transform 0.2s var(--ease);
}
.btn:hover .ic {
  transform: translateX(3px);
}
.btn-primary {
  --bg: var(--red);
  box-shadow: 0 10px 24px -10px rgba(226, 66, 31, 0.65);
}
.btn-primary:hover {
  --bg: var(--red-600);
  box-shadow: 0 16px 30px -12px rgba(226, 66, 31, 0.7);
}
.btn-dark {
  --bg: var(--ink);
}
.btn-dark:hover {
  --bg: #000;
}
.btn-outline {
  --bg: transparent;
  --fg: var(--ink);
  border-color: rgba(23, 19, 15, 0.22);
}
.btn-outline:hover {
  border-color: var(--ink);
  --bg: var(--paper);
}
.btn-light {
  --bg: #fff;
  --fg: var(--ink);
}
.btn-ghost-light {
  --bg: transparent;
  --fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost-light:hover {
  border-color: #fff;
  --bg: rgba(255, 255, 255, 0.08);
}
.btn-sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.92rem;
}
.btn-lg {
  padding: 1rem 1.65rem;
  font-size: 1.03rem;
}
.btn-block {
  width: 100%;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.link-arrow:hover .ic {
  transform: translateX(3px);
}
.link-arrow .ic {
  transition: transform 0.2s var(--ease);
}

/* ---------- eyebrow / pills ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-light {
  color: #ff8a6b;
}
.pill {
  display: inline-block;
  font: 600 0.75rem/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink-3);
  margin-bottom: 0.9rem;
}
.pill-red {
  background: var(--red-50);
  color: var(--red-600);
}

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink);
  color: #f3e9de;
  font-size: 0.88rem;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  text-align: center;
}
.announce .ic:first-child {
  color: #ff8a6b;
}
.announce a {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(23, 19, 15, 0.35);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex: none;
}
.brand img {
  border-radius: 50%;
  box-shadow: 0 4px 14px -6px rgba(23, 19, 15, 0.5);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font: 600 1.18rem/1.1 var(--display);
  color: var(--ink);
}
.brand-text small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.brand-light .brand-text strong {
  color: #fff;
}
.brand-light .brand-text small {
  color: #b6aa9d;
}
.main-nav {
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-3);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover {
  color: var(--ink);
  background: var(--sand);
}
.main-nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--sand-2);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.5rem 0.4rem;
}
.nav-portal:hover {
  color: var(--red);
}
.nav-toggle {
  display: none;
  border: 0;
  background: var(--sand);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-mobile-cta {
  display: none;
}

/* ---------- sections ---------- */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}
.section-tight {
  padding-top: 2.5rem;
}
.section-sand {
  background: var(--sand);
}
.section-ink {
  background: var(--ink);
  color: #d9cfc4;
  position: relative;
  overflow: hidden;
}
.section-ink::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -200px;
  top: -260px;
  background: radial-gradient(circle, rgba(226, 66, 31, 0.28), transparent 65%);
  pointer-events: none;
}
.section-ink h2,
.section-ink h3 {
  color: #fff;
}
.section-ink h2 em {
  color: #ff8a6b;
}
.section-ink .section-head p {
  color: #b9ada0;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.section-head p {
  font-size: 1.12rem;
  color: var(--muted);
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  max-width: none;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---------- photo frames ---------- */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(226, 66, 31, 0.28), transparent 55%),
    radial-gradient(100% 80% at 0% 100%, rgba(201, 150, 47, 0.25), transparent 60%),
    linear-gradient(145deg, #efe3d3, #e3d2bd);
}
.ph::after {
  /* subtle monogram so empty frames still look intentional */
  content: 'Ap';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 600 clamp(3rem, 8vw, 6rem) / 1 var(--display);
  color: rgba(23, 19, 15, 0.08);
  z-index: 0;
}
.ph img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.3s;
}
.landscape {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.portrait {
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(226, 66, 31, 0.12), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(201, 150, 47, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  margin-bottom: 1.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.75rem;
}
.hero-actions.center {
  justify-content: center;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-3);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-trust .ic {
  color: var(--green);
}
.hero-visual {
  position: relative;
}
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  line-height: 1.3;
  max-width: 240px;
  animation: floaty 6s ease-in-out infinite;
}
.float-a {
  left: -2.25rem;
  bottom: 18%;
}
.float-b {
  right: -1.25rem;
  top: 12%;
  animation-delay: -3s;
}
.float-b .ic {
  color: var(--gold);
}
.float-num {
  font: 600 2.2rem/1 var(--display);
  color: var(--red);
}
@keyframes floaty {
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- marquee ---------- */
.marquee-wrap {
  position: relative;
  padding: 2.2rem 0 1.6rem;
  background: linear-gradient(180deg, var(--paper) 0%, #fff 100%);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.marquee-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-3);
}
.marquee-count {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 34px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
}
.marquee-link {
  font-size: 0.92rem;
}
.marquee {
  overflow: hidden;
  padding: 0.35rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  margin: 0;
  padding: 0 0.375rem;
  list-style: none;
  animation: marquee 70s linear infinite;
}
.marquee-reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 80s;
}
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}
.college-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.1rem 0.5rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px -12px rgba(23, 19, 15, 0.3);
  white-space: nowrap;
  transition: border-color 0.4s, box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.college-chip:hover {
  border-color: rgba(226, 66, 31, 0.35);
  box-shadow: 0 12px 24px -14px rgba(226, 66, 31, 0.45);
  transform: translateY(-2px);
}
.chip-mono {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff1ea, #ffd9cb);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.marquee-reverse .chip-mono {
  background: linear-gradient(145deg, #fbf3e1, #f3dfb3);
  color: #9a6f17;
}
.chip-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.chip-merit {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fdf1d6;
  color: #b8860b;
}
.chip-merit .ic,
.marquee-note .ic {
  fill: currentColor;
}
.marquee-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.marquee-note .ic {
  color: #b8860b;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 640px) {
  .marquee-label {
    font-size: 0.9rem;
  }
  .marquee-note {
    justify-content: flex-start;
  }
  .chip-name {
    font-size: 0.92rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

/* ---------- features ---------- */
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.feature h3 {
  margin: 1.1rem 0 0.5rem;
}
.feature p {
  color: var(--muted);
  margin: 0;
}
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--red-50);
  color: var(--red);
}
.feature-icon-sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex: none;
}
.feature-num {
  font: 600 2.4rem/1 var(--display);
  color: var(--red);
  opacity: 0.85;
}
.callout {
  display: block;
  margin: 2.5rem 0 0;
  font-size: 1.1rem;
  color: var(--ink-2);
}
.callout .ic {
  color: var(--red);
  margin-right: 0.45rem;
  vertical-align: -4px;
}
.callout-center {
  text-align: center;
}

/* ---------- stages ---------- */
.stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.stage {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.stage-photo {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}
.stage-body {
  padding: 2rem 2rem 2.2rem;
}
.stage-body p {
  color: var(--muted);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.checks li {
  position: relative;
  padding-left: 1.85rem;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--red-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2421f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.checks-light li {
  color: #e4dbd1;
}
.checks-light li::before {
  background-color: rgba(255, 255, 255, 0.1);
}
.checks-2col {
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
  margin-bottom: 2rem;
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split-reverse .split-media {
  order: 2;
}
.split-media {
  position: relative;
}
.split-copy > .btn {
  margin-top: 1rem;
}
.badge-card {
  position: absolute;
  right: -1.5rem;
  bottom: 2.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--ink);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  line-height: 1.3;
}
.badge-card strong {
  display: block;
  font: 600 1.4rem/1.1 var(--display);
  color: #ff8a6b;
}
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 1.25rem;
}
.cred {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.4;
}
.cred .ic {
  color: var(--red);
  margin-top: 2px;
}
.cred strong {
  display: block;
  color: var(--ink);
}
.cred span {
  color: var(--muted);
}

/* ---------- services ---------- */
.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.service-card {
  position: relative;
  padding: 2.4rem 2.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}
.service-card-featured {
  background: linear-gradient(160deg, rgba(226, 66, 31, 0.22), rgba(226, 66, 31, 0.04) 60%);
  border-color: rgba(226, 66, 31, 0.45);
}
.service-card h3 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}
.service-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
.service-card .checks {
  margin: 1.25rem 0 2rem;
}
.service-tagline {
  color: #ff8a6b;
  font-weight: 500;
}
.service-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font: 600 0.72rem/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: s;
}
.step {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  border-top: 2px solid var(--line);
}
.step::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 46px;
  height: 2px;
  background: var(--red);
}
.step-n {
  font: 600 1.1rem/1 var(--display);
  color: var(--red);
}
.step h3 {
  margin: 0.9rem 0 0.5rem;
}
.step p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- stats ---------- */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin: 2rem 0;
}
.stat-row div {
  display: flex;
  flex-direction: column;
}
.stat-row strong {
  font: 600 3rem/1 var(--display);
  color: var(--red);
}
.stat-row span {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.stat-row-hero {
  margin-top: 1.5rem;
}

/* ---------- testimonials ---------- */
.testimonial {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  break-inside: avoid;
  margin-bottom: 1.5rem;
}
.testimonial-mark {
  color: var(--red);
  opacity: 0.85;
}
.testimonial blockquote {
  margin: 1rem 0 1.5rem;
  font: 400 1.15rem/1.55 var(--display);
  color: var(--ink);
}
.testimonial figcaption {
  margin-top: auto;
  font-size: 0.92rem;
}
.testimonial figcaption strong {
  display: block;
  color: var(--ink);
}
.testimonial figcaption span {
  color: var(--muted);
}
.masonry {
  columns: 3 320px;
  column-gap: 1.5rem;
}

/* ---------- quote band ---------- */
.quote-band {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}
.quote-band::before,
.quote-band::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.quote-band::before {
  width: 520px;
  height: 520px;
  left: -180px;
  top: -260px;
}
.quote-band::after {
  width: 380px;
  height: 380px;
  right: -120px;
  bottom: -220px;
}
.quote-mark {
  opacity: 0.55;
}
.quote-band blockquote {
  font: 500 clamp(1.7rem, 3.5vw, 2.8rem) / 1.25 var(--display);
  max-width: 900px;
  margin: 1.25rem auto 1rem;
  letter-spacing: -0.01em;
}
.quote-band cite {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ---------- posts ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.post-card:hover .ph img {
  transform: scale(1.04);
}
.post-photo {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}
.post-body {
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-body p {
  color: var(--muted);
  font-size: 0.98rem;
}
.post-body .link-arrow {
  margin-top: auto;
}

/* ---------- CTA band ---------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(226, 66, 31, 0.55), transparent 60%),
    var(--ink);
  color: #d9cfc4;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.cta-band h2 em {
  color: #ff8a6b;
}
.cta-band p {
  margin: 0;
  max-width: 52ch;
}
.cta-band-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex: none;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(226, 66, 31, 0.1), transparent 70%),
    linear-gradient(var(--cream), var(--cream));
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  max-width: 900px;
}
.page-hero-split .page-hero-inner {
  max-width: var(--container);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.page-hero-photo {
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lg);
}
.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.jump-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.jump-links a:hover {
  border-color: var(--ink);
}
.list-title {
  font: 600 0.8rem/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.25rem;
}

/* ---------- prose ---------- */
.prose h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-top: 1.8em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin-top: 1.6em;
}
.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin: 0 0 1.25em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose li::marker {
  color: var(--red);
}
.prose blockquote {
  margin: 1.75em 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--red);
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font: 500 1.2rem/1.5 var(--display);
  color: var(--ink);
}
.prose a {
  color: var(--red-600);
}
.prose-split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.aside-card {
  position: sticky;
  top: 110px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.cred-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1.1rem;
}
.cred-list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.94rem;
  line-height: 1.4;
}
.cred-list strong {
  display: block;
  color: var(--ink);
}
.cred-list span {
  color: var(--muted);
}
.college-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.college-cloud span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}
.college-cloud .merit .ic,
.note .ic {
  color: var(--gold);
  fill: var(--gold);
}

/* ---------- compare table ---------- */
.compare {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.compare th,
.compare td {
  padding: 1.15rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font: 600 1.3rem/1.2 var(--display);
  color: var(--ink);
  background: var(--sand);
}
.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 22%;
}
.compare tr:last-child > * {
  border-bottom: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.85rem;
}
.faq {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s;
}
.faq[open] {
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  font: 600 1.15rem/1.35 var(--display);
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  color: var(--red);
  transition: transform 0.25s var(--ease);
}
.faq[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 1.5rem 1.25rem;
  color: var(--ink-3);
}
.faq-a p:last-child {
  margin: 0;
}

/* ---------- approach timeline ---------- */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  padding-top: 2.25rem;
}
.timeline-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  border: 5px solid var(--red);
}
.timeline-item h3 {
  margin-bottom: 0.25rem;
}

/* ---------- results ---------- */
.filter-bar {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font: 600 0.92rem/1 var(--body);
  cursor: pointer;
  color: var(--ink-3);
}
.chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.college-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 0.85rem;
}
.college {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.college:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
}
.college.is-hidden {
  display: none;
}
.college-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--sand);
  color: var(--ink-3);
  flex: none;
}
.college-name {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  font-size: 0.98rem;
}
.merit-tag {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font: 600 0.72rem/1 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a6418;
  background: #fbf1da;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
}
.merit-tag .ic {
  fill: currentColor;
}

/* ---------- article ---------- */
.article-head {
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
}
.article-head h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}
.link-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 1.5rem;
  margin-right: 1rem;
}
.meta {
  color: var(--muted);
  font-size: 0.92rem;
}
.article-cover {
  aspect-ratio: 21 / 9;
  margin-bottom: 3rem;
}
.article-body {
  font-size: 1.1rem;
  padding-bottom: 2rem;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2rem;
  align-items: start;
}
.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 {
  font-size: 1.8rem;
}
.form {
  display: grid;
  gap: 1.1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: grid;
  gap: 0.4rem;
}
.field > span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.45 var(--body);
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(226, 66, 31, 0.12);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}
.alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.alert-err {
  background: var(--red-50);
  color: var(--red-600);
}
.success-panel {
  text-align: center;
  padding: 2rem 0;
}
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #e6f4ec;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.contact-aside {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 110px;
}
.contact-photo {
  aspect-ratio: 16 / 11;
}
.contact-card {
  background: var(--ink);
  color: #d9cfc4;
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3,
.contact-card h4 {
  color: #fff;
}
.contact-card h4 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0 0.7rem;
  word-break: break-word;
}
.contact-line .ic {
  color: #ff8a6b;
}
.contact-card .checks li {
  color: #e4dbd1;
  font-size: 0.95rem;
}
.contact-card .checks li::before {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ---------- empty + error ---------- */
.empty-public {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.empty-public .ic {
  color: var(--red);
}
.error-page {
  padding: 3rem 0;
}
.error-code {
  font: 600 clamp(5rem, 14vw, 9rem) / 1 var(--display);
  color: var(--red);
  margin-bottom: 0.5rem;
}
.error-page .lead {
  margin-inline: auto;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9ada0;
  padding-top: clamp(3.5rem, 7vw, 5rem);
  font-size: 0.95rem;
}
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin: 0;
  max-width: 18ch;
}
.footer-cta h2 em {
  color: #ff8a6b;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: 3.5rem 0;
}
.footer-brand p {
  margin: 1.25rem 0 0;
  max-width: 36ch;
}
.footer-member {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #d9cfc4;
}
.footer-member .ic {
  color: var(--gold);
  margin-top: 3px;
}
.site-footer h3 {
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.site-footer a {
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #fff;
}
.footer-contact li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  word-break: break-word;
}
.footer-contact .ic {
  color: #ff8a6b;
}
.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.socials a:hover {
  background: var(--red);
  border-color: var(--red);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
}

/* ---------- reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
  .main-nav a {
    padding: 0.5rem 0.6rem;
    font-size: 0.93rem;
  }
  .nav-portal {
    display: none;
  }
}
@media (max-width: 1000px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(23, 19, 15, 0.4);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s var(--ease);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0.25rem;
  }
  .main-nav a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }
  .nav-mobile-cta {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
  }
  .nav-actions .btn {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .hero-grid,
  .split,
  .page-hero-split .page-hero-inner,
  .prose-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .split-reverse .split-media {
    order: 0;
  }
  .hero-visual {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .steps,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .timeline::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cta,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .aside-card,
  .contact-aside {
    position: static;
  }
  .badge-card {
    right: 1rem;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }
  .brand-text small {
    display: none;
  }
  .grid-3,
  .stage-grid,
  .service-grid,
  .steps,
  .timeline,
  .cred-grid,
  .form-row,
  .checks-2col,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .float-a {
    left: 0.5rem;
    bottom: 1rem;
  }
  .float-b {
    right: 0.5rem;
    top: 1rem;
  }
  .float-card {
    max-width: 200px;
    font-size: 0.82rem;
  }
  .hero-photo {
    border-radius: 140px 140px var(--radius) var(--radius);
  }
  .stat-row {
    gap: 1.5rem;
  }
  .stat-row strong {
    font-size: 2.4rem;
  }
  .announce-inner {
    font-size: 0.8rem;
  }
  .announce-inner .ic:first-child {
    display: none;
  }
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .btn-lg {
    width: 100%;
  }
}

/* =========================================================
   MOTION — themed micro-animations (college journey)
   ========================================================= */

/* reading progress — a red “pencil line” across the top */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--red), #f2864f, var(--gold));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* hero: staggered entrance on load */
.hero-anim > * {
  animation: riseIn 0.9s var(--ease) both;
}
.hero-anim > :nth-child(1) { animation-delay: 0.05s; }
.hero-anim > :nth-child(2) { animation-delay: 0.15s; }
.hero-anim > :nth-child(3) { animation-delay: 0.3s; }
.hero-anim > :nth-child(4) { animation-delay: 0.42s; }
.hero-anim > :nth-child(5) { animation-delay: 0.55s; }
.hero-visual-anim {
  animation: photoIn 1.2s 0.2s var(--ease) both;
}
.hero-visual-anim .float-a { animation: popIn 0.7s 1s var(--ease) both, floaty 6s 1.7s ease-in-out infinite; }
.hero-visual-anim .float-b { animation: popIn 0.7s 1.2s var(--ease) both, floaty 6s 1.9s ease-in-out infinite; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
}
@keyframes photoIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(14px) scale(0.85); }
}

/* hand-drawn underline under the highlighted words */
.hero h1 em {
  position: relative;
  white-space: nowrap;
}
.scribble {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.32em;
  overflow: visible;
  pointer-events: none;
}
.scribble path {
  fill: none;
  stroke: var(--red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 1.1s 0.9s var(--ease) forwards;
  opacity: 0.85;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* drifting academic doodles */
.doodle {
  position: absolute;
  color: var(--ink);
  opacity: 0.09;
  animation: drift 14s ease-in-out infinite;
}
.doodle:nth-child(even) { color: var(--red); opacity: 0.16; }
.d1 { top: 12%; left: 4%; animation-duration: 16s; }
.d2 { top: 70%; left: 2%; animation-duration: 12s; animation-delay: -4s; }
.d3 { top: 8%; left: 46%; animation-duration: 18s; animation-delay: -2s; }
.d4 { top: 84%; left: 40%; animation-duration: 11s; animation-delay: -6s; }
.d5 { top: 58%; left: 52%; animation-duration: 15s; animation-delay: -8s; }
.d6 { top: 22%; right: 3%; animation-duration: 13s; animation-delay: -3s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(14px, -18px) rotate(8deg); }
  66% { transform: translate(-10px, 10px) rotate(-6deg); }
}

/* paper plane = an application on its way */
.flight {
  position: absolute;
  left: 30%;
  bottom: 6%;
  width: 560px;
  height: 260px;
  pointer-events: none;
  z-index: 0;
}
.flight svg {
  position: absolute;
  inset: 0;
  overflow: visible;
}
.flight-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: 0.45;
}
.plane {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  offset-path: path('M8 236 C 120 262, 190 150, 280 168 S 450 92, 552 18');
  offset-rotate: auto;
  animation: fly 7s 1.2s cubic-bezier(0.45, 0.05, 0.4, 1) infinite both;
}
.plane .ic {
  transform: rotate(45deg);
  filter: drop-shadow(0 6px 8px rgba(226, 66, 31, 0.35));
}
@keyframes fly {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  80% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.hero-grid {
  z-index: 1;
}

/* photo wipe reveal */
.js .reveal .ph img,
.js .ph.reveal img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease), opacity 0.3s;
}
.js .reveal.in .ph img,
.js .ph.reveal.in img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}
.post-card.in:hover .ph img,
.stage.in:hover .ph img {
  transform: scale(1.05);
}

/* eyebrow rule grows in */
.js .reveal .eyebrow::before {
  width: 0;
  transition: width 0.9s 0.25s var(--ease);
}
.js .reveal.in .eyebrow::before {
  width: 26px;
}

/* feature icons come alive on hover */
.feature-icon {
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.feature:hover .feature-icon {
  background: var(--red);
  color: #fff;
  animation: wiggle 0.6s var(--ease);
}
@keyframes wiggle {
  25% { transform: rotate(-10deg) scale(1.08); }
  50% { transform: rotate(8deg) scale(1.08); }
  75% { transform: rotate(-4deg); }
}

/* gentle 3D tilt (set by JS) */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}
[data-tilt].tilting {
  transition: transform 0.12s linear, box-shadow 0.3s;
}

/* primary button shine */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::after {
  left: 130%;
}

/* nav link underline slide */
.main-nav a {
  position: relative;
}

/* steps: progress line fills as each step appears */
.js .step::before {
  width: 0;
  transition: width 1.1s 0.35s var(--ease);
}
.js .step.in::before {
  width: 100%;
}
.step-n {
  display: inline-block;
}
.js .step.in .step-n {
  animation: popIn 0.6s 0.3s var(--ease) both;
}

/* approach timeline line draws across */
.timeline::before {
  transform-origin: 0 50%;
}
.js .timeline::before {
  transform: scaleX(0);
  transition: transform 1.8s 0.2s var(--ease);
}
.js .timeline.in::before {
  transform: scaleX(1);
}
.js .timeline.in .timeline-dot {
  animation: pulse 2.4s 1s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 66, 31, 0.45); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(226, 66, 31, 0); }
}

/* graduation caps tossed in the quote band */
.cap-toss {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cap-toss span {
  position: absolute;
  bottom: -60px;
  color: rgba(255, 255, 255, 0.55);
  animation: toss 9s ease-out infinite;
}
.cap-toss span:nth-child(1) { left: 8%; animation-delay: 0s; }
.cap-toss span:nth-child(2) { left: 22%; animation-delay: 2.6s; animation-duration: 8s; }
.cap-toss span:nth-child(3) { left: 78%; animation-delay: 1.2s; animation-duration: 10s; }
.cap-toss span:nth-child(4) { left: 90%; animation-delay: 4s; }
.cap-toss span:nth-child(5) { left: 62%; animation-delay: 5.5s; animation-duration: 8.5s; }
.cap-toss span:nth-child(6) { left: 35%; animation-delay: 3.4s; animation-duration: 7s; }
.cap-toss span:nth-child(7) { left: 50%; animation-delay: 6.5s; animation-duration: 7.5s; }
@keyframes toss {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  55% { transform: translateY(-340px) rotate(200deg); opacity: 0.9; }
  100% { transform: translateY(-120px) rotate(400deg); opacity: 0; }
}
.quote-band .container {
  position: relative;
}

/* CTA paper plane loops around the band */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-plane {
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(255, 138, 107, 0.9);
  offset-path: path('M -40 160 C 180 40, 380 220, 620 90 S 1000 20, 1300 120');
  offset-rotate: auto;
  animation: fly 9s linear infinite;
}
.cta-plane .ic {
  transform: rotate(45deg);
}

/* merit star twinkle */
.twinkle {
  animation: twinkle 2.4s ease-in-out infinite;
}
@keyframes twinkle {
  50% { transform: scale(1.35) rotate(20deg); }
}

/* count-up numbers keep width steady */
[data-count] {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1000px) {
  .flight { display: none; }
  .doodle { opacity: 0.06; }
}
@media (prefers-reduced-motion: reduce) {
  .scribble path { stroke-dashoffset: 0; }
  .plane, .cta-plane, .cap-toss, .doodle { display: none; }
  .js .reveal .ph img { clip-path: none; transform: none; }
  .js .timeline::before { transform: none; }
  .js .step::before { width: 100%; }
}

/* =========================================================
   POLISH v2 — Outfit type, buttery motion, richer icons
   ========================================================= */

/* typography tuned for Outfit */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.022em;
}
h1 {
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 em,
h2 em {
  font-weight: 600;
  background: linear-gradient(100deg, var(--red) 10%, #f2864f 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  letter-spacing: 0.16em;
}
.btn {
  font-weight: 600;
  letter-spacing: 0.005em;
}

/* smooth scrolling (Lenis) */
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis {
  scroll-behavior: auto;
}
.lenis.lenis-stopped {
  overflow: clip;
}
.lenis [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* softer, longer reveals */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.985);
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* hero comes into focus */
.hero-anim > * {
  animation: riseFocus 1.3s var(--ease) both;
}
.hero-anim > :nth-child(1) { animation-delay: 0.1s; }
.hero-anim > :nth-child(2) { animation-delay: 0.22s; }
.hero-anim > :nth-child(3) { animation-delay: 0.38s; }
.hero-anim > :nth-child(4) { animation-delay: 0.52s; }
.hero-anim > :nth-child(5) { animation-delay: 0.66s; }
@keyframes riseFocus {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
.hero-visual-anim {
  animation: photoIn 1.6s 0.25s var(--ease) both;
}
@keyframes photoIn {
  from {
    opacity: 0;
    transform: translate3d(0, 48px, 0) scale(0.94);
  }
}
.hero-visual-anim .float-a { animation: popIn 1s 1.1s var(--ease) both, floaty 7s 2.1s ease-in-out infinite; }
.hero-visual-anim .float-b { animation: popIn 1s 1.3s var(--ease) both, floaty 7s 2.3s ease-in-out infinite; }
.scribble path {
  animation: draw 1.4s 1s var(--ease-io) forwards;
}
.doodle {
  animation-timing-function: var(--ease-io);
}
.plane {
  animation-timing-function: var(--ease-io);
}

/* photo wipe — slower and silkier */
.js .reveal .ph img,
.js .ph.reveal img {
  transition: clip-path 1.5s var(--ease), transform 2s var(--ease), opacity 0.4s;
}
.ph img {
  transition: transform 1.2s var(--ease);
}

/* buttons, links, cards */
.btn {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.12s;
}
.btn-primary::after {
  transition: left 0.9s var(--ease);
}
.btn .ic {
  transition: transform 0.5s var(--ease);
}
.btn:hover .ic-arrow-right,
.link-arrow:hover .ic-arrow-right {
  transform: translateX(4px);
}
.site-header {
  transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.5s;
}
.main-nav a {
  transition: color 0.3s, background-color 0.35s var(--ease);
}
[data-tilt] {
  transition: transform 0.9s var(--ease), box-shadow 0.6s var(--ease);
}
[data-tilt].tilting {
  transition: box-shadow 0.6s var(--ease);
}

/* richer icon tiles: soft gradient, glow and a duotone fill */
.feature-icon,
.college-icon,
.success-icon,
.faq-icon {
  position: relative;
  background: linear-gradient(145deg, #fff3ee 0%, #ffe1d6 100%);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(226, 66, 31, 0.12), 0 10px 22px -14px rgba(226, 66, 31, 0.55);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}
.feature-icon-sm {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}
.feature-icon .ic,
.college-icon .ic,
.success-icon .ic,
.stat-icon .ic,
.cred .ic,
.contact-line .ic {
  stroke-width: 1.6;
}
.feature-icon .ic > :is(path, rect, circle),
.college-icon .ic > :is(path, rect, circle),
.success-icon .ic > :is(path, rect, circle) {
  fill: currentColor;
  fill-opacity: 0.14;
}
.feature-icon {
  transition: transform 0.7s var(--ease), background 0.5s, color 0.4s, box-shadow 0.6s var(--ease);
}
.feature:hover .feature-icon {
  animation: none;
  background: linear-gradient(145deg, var(--red) 0%, #f2864f 100%);
  color: #fff;
  transform: translateY(-4px) rotate(-6deg) scale(1.06);
  box-shadow: 0 16px 28px -14px rgba(226, 66, 31, 0.7);
}
.feature:hover .feature-icon .ic > * {
  fill-opacity: 0.22;
}
.socials a {
  transition: background-color 0.4s var(--ease), border-color 0.4s, transform 0.5s var(--ease);
}
.socials a:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim > *,
  .hero-visual-anim {
    filter: none;
  }
  .btn:hover,
  .feature:hover .feature-icon {
    transform: none;
  }
}

/* =========================================================
   HERO v2
   ========================================================= */
.hero {
  display: flex;
  align-items: center;
  min-height: min(880px, calc(100svh - 78px));
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4.5rem, 8vw, 7rem);
}
.hero-bg {
  background: none;
  overflow: hidden;
}
.hero > .container {
  min-width: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: blobMove 20s var(--ease-io) infinite alternate;
}
.blob-1 {
  width: 560px;
  height: 560px;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle, #ffb8a3 0%, transparent 68%);
}
.blob-2 {
  width: 520px;
  height: 520px;
  left: -200px;
  bottom: -240px;
  background: radial-gradient(circle, #f5dca8 0%, transparent 68%);
  animation-delay: -10s;
}
@keyframes blobMove {
  to {
    transform: translate3d(-70px, 60px, 0) scale(1.15);
  }
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 19, 15, 0.1) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 28% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 28% 45%, #000 20%, transparent 75%);
}

/* copy */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.6rem;
  padding: 0.5rem 1.05rem 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 66, 31, 0.18);
  box-shadow: 0 10px 24px -16px rgba(226, 66, 31, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.2s ease-out infinite;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  margin-bottom: 1.6rem;
}
.hero .lead {
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  max-width: 52ch;
}
.hero-actions {
  margin: 2.2rem 0 2.6rem;
}
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 640px;
  padding: 0.95rem 0.4rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 22px 44px -28px rgba(23, 19, 15, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.hero-proof:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 30px 56px -28px rgba(23, 19, 15, 0.42);
}
.hero-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.2rem 1.1rem;
}
.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 25%, var(--line) 75%, transparent);
}
.hero-stat-ic {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--red);
  background: linear-gradient(145deg, #fff3ee, #ffdccf);
  box-shadow: inset 0 0 0 1px rgba(226, 66, 31, 0.12);
  animation: checkPop 0.7s var(--ease) both;
}
.hero-stat:nth-child(1) .hero-stat-ic { animation-delay: 1s; }
.hero-stat:nth-child(2) .hero-stat-ic { animation-delay: 1.15s; }
.hero-stat:nth-child(3) .hero-stat-ic { animation-delay: 1.3s; }
.hero-stat-ic.ic-gold {
  color: #a8791c;
  background: linear-gradient(145deg, #fdf5e2, #f6e0ad);
  box-shadow: inset 0 0 0 1px rgba(201, 150, 47, 0.2);
}
.hero-stat-ic.ic-ink {
  color: #fff;
  background: linear-gradient(145deg, #3a322b, var(--ink));
  box-shadow: none;
}
.hero-stat-ic .ic {
  stroke-width: 1.6;
}
.hero-stat-ic .ic > :is(path, rect, circle) {
  fill: currentColor;
  fill-opacity: 0.14;
}
.hero-stat-text {
  min-width: 0;
}
.hero-stat strong {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  font: 650 clamp(1.6rem, 2.4vw, 2rem) / 1 var(--display);
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-stat strong small {
  margin-left: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}
.hero-stat-text > span {
  display: block;
  margin-top: 0.35rem;
  white-space: nowrap;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--muted);
}

/* visual */
.hero-visual {
  isolation: isolate;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 7% -5% -4% 9%;
  z-index: -1;
  border-radius: 260px 260px 34px 34px;
  background: linear-gradient(160deg, #ffd6c8 0%, #f7e4c0 100%);
  transform: rotate(4deg);
}
.hero-orbit {
  position: absolute;
  z-index: -2;
  top: -7%;
  right: -12%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(226, 66, 31, 0.3);
  animation: heroSpin 70s linear infinite;
}
.hero-orbit::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 150, 47, 0.18);
}
.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 4.85;
  border-radius: 260px 260px 30px 30px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.7), 0 60px 100px -45px rgba(23, 19, 15, 0.5);
}
.hero-seal {
  position: absolute;
  z-index: 3;
  left: -52px;
  top: 14%;
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 24px 44px -20px rgba(23, 19, 15, 0.7);
  animation: popIn 1s 0.9s var(--ease) both;
}
.hero-seal > svg {
  position: absolute;
  inset: 2px;
  width: 120px;
  height: 120px;
  animation: heroSpin 24s linear infinite;
}
.hero-seal text {
  font: 600 8.6px var(--body);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, 0.92);
}
.hero-seal-core {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red), #f2864f);
  box-shadow: 0 8px 18px -8px rgba(226, 66, 31, 0.9);
}
@keyframes heroSpin {
  to {
    transform: rotate(360deg);
  }
}

/* floating cards */
.float-card {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 50px -24px rgba(23, 19, 15, 0.38);
  border-radius: 18px;
}
.float-plan {
  left: -2.75rem;
  bottom: 8%;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  min-width: 236px;
  max-width: 252px;
  padding: 1rem 1.15rem 1.15rem;
}
.float-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}
.float-title .ic {
  color: var(--red);
}
.plan-list {
  display: grid;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--ink-3);
}
.plan-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: planIn 0.7s var(--ease) both;
}
.plan-check {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  animation: checkPop 0.6s var(--ease) both;
}
.plan-check .ic {
  stroke-width: 3;
}
.plan-list li:nth-child(1) { animation-delay: 1.5s; }
.plan-list li:nth-child(2) { animation-delay: 1.9s; }
.plan-list li:nth-child(3) { animation-delay: 2.3s; }
.plan-list li:nth-child(1) .plan-check { animation-delay: 1.8s; }
.plan-list li:nth-child(2) .plan-check { animation-delay: 2.2s; }
.plan-list li:nth-child(3) .plan-check { animation-delay: 2.6s; }
.plan-bar {
  height: 6px;
  margin-top: 0.15rem;
  overflow: hidden;
  border-radius: 99px;
  background: var(--sand);
}
.plan-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #f2864f, var(--gold));
  transform-origin: 0 50%;
  animation: planFill 1.8s 1.6s var(--ease) both;
}
@keyframes planIn {
  from {
    opacity: 0;
    transform: translate3d(-8px, 0, 0);
  }
}
@keyframes checkPop {
  from {
    transform: scale(0);
  }
}
@keyframes planFill {
  from {
    transform: scaleX(0.06);
  }
}
.float-b {
  right: -1.75rem;
  top: 9%;
}
.float-ic {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #fdf3dc, #f7e2b0);
}
.hero-visual-anim .float-plan { animation: popIn 1s 1.1s var(--ease) both, floaty 7s 2.1s ease-in-out infinite; }
.hero-visual-anim .float-b { animation: popIn 1s 1.3s var(--ease) both, floaty 7s 2.3s ease-in-out infinite; animation-delay: 1.3s, -1.2s; }

@media (max-width: 1000px) {
  .hero {
    min-height: 0;
  }
  .hero-visual {
    margin-top: 1.5rem;
  }
  .hero-seal {
    left: -14px;
    top: 6%;
    transform: scale(0.8);
  }
  .float-plan {
    left: -0.75rem;
  }
  .float-b {
    right: -0.75rem;
  }
}
@media (max-width: 560px) {
  .hero-proof {
    grid-template-columns: 1fr;
    padding: 0.4rem 0.9rem;
  }
  .hero-stat {
    padding: 0.8rem 0.2rem;
  }
  .hero-stat + .hero-stat::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
  }
  .hero h1 {
    font-size: clamp(2.1rem, 9.4vw, 2.8rem);
  }
  .hero-pill {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }
  .hero-seal {
    width: 96px;
    height: 96px;
    left: -8px;
    transform: none;
  }
  .hero-seal > svg {
    transform-origin: center;
    width: 92px;
    height: 92px;
  }
  .float-plan {
    min-width: 0;
    max-width: 210px;
    bottom: 4%;
  }
  .hero-orbit {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-blob,
  .hero-orbit,
  .hero-seal > svg {
    animation: none;
  }
}

/* hero proof: compact columns on tablets, stacked rows on small phones */
@media (max-width: 680px) {
  .hero-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.3rem 0.85rem;
  }
  .hero-stat-ic {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .hero-stat-text > span {
    white-space: normal;
  }
}
@media (min-width: 421px) and (max-width: 560px) {
  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.9rem 0.3rem;
  }
  .hero-stat {
    padding: 0.3rem 0.8rem;
  }
  .hero-stat + .hero-stat::before {
    left: 0;
    right: auto;
    top: 12%;
    bottom: 12%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--line) 25%, var(--line) 75%, transparent);
  }
}
@media (max-width: 420px) {
  .hero-stat {
    flex-direction: row;
    align-items: center;
  }
}

/* portal login link: icon + two-line label */
.nav-portal {
  gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  border-radius: 999px;
  transition: background-color 0.35s var(--ease), color 0.3s;
}
.nav-portal:hover {
  background: var(--sand);
  color: var(--ink);
}
.nav-portal-ic {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 14px -10px rgba(23, 19, 15, 0.4);
  transition: background-color 0.35s var(--ease), color 0.35s;
}
.nav-portal:hover .nav-portal-ic {
  background: var(--red);
  color: #fff;
}
.nav-portal-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}
.nav-portal-text small {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.nav-portal-text strong {
  font-size: 0.95rem;
  font-weight: 600;
}
@media (max-width: 1280px) {
  .main-nav a {
    padding: 0.5rem 0.62rem;
    font-size: 0.94rem;
  }
  .nav-portal {
    padding-right: 0.5rem;
  }
}
/* small laptops: keep the login link visible but compact */
@media (min-width: 1001px) and (max-width: 1180px) {
  .nav-portal {
    display: inline-flex;
    padding-right: 0.4rem;
  }
  .brand-text small,
  .nav-portal-text small {
    display: none;
  }
  .main-nav a {
    padding: 0.5rem 0.5rem;
    font-size: 0.92rem;
  }
  .nav-portal-ic {
    width: 32px;
    height: 32px;
  }
}
@media (min-width: 1001px) and (max-width: 1100px) {
  .main-nav li:first-child {
    display: none;
  }
}
