/* Delexn */

:root {
  --bg: #070606;
  --bg-elev: #0d0b0b;
  --cream: #f3efe9;
  --muted: #8f8884;
  --red: #9c1c1c;
  --red-deep: #5c1010;
  --red-hover: #b42323;
  --line: rgba(156, 28, 28, 0.4);
  --hair: rgba(243, 239, 233, 0.1);
  --nav-h: 80px;
  --wrap: 1120px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text-xs: 0.72rem;
  --text-sm: 0.82rem;
  --text-body: 1rem;
  --text-lead: 1.05rem;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 88px;
  --space-9: 120px;
  --btn-h: 50px;
  --btn-px: 24px;
  --btn-size: 11px;
  --btn-track: 0.16em;
}

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

html {
  scroll-behavior: smooth;
  background: #070606;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100%;
  position: relative;
}

/*
 * Page backdrop: the same red/black wash as the hero, with radial glows
 * spaced down the full document so the red stays visible in every section
 * (and in full-page screenshots). A left vignette keeps body text readable.
 */
body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #070606;
  background-image:
    linear-gradient(90deg,
      rgba(7, 6, 6, 0.62) 0%,
      rgba(7, 6, 6, 0.28) 36%,
      transparent 62%),
    radial-gradient(ellipse 90% 42% at 100% 6%, rgba(92, 16, 16, 0.62) 0%, transparent 68%),
    radial-gradient(ellipse 80% 38% at 92% 28%, rgba(110, 20, 20, 0.48) 0%, transparent 70%),
    radial-gradient(ellipse 85% 40% at 100% 52%, rgba(92, 16, 16, 0.52) 0%, transparent 70%),
    radial-gradient(ellipse 80% 38% at 88% 76%, rgba(110, 20, 20, 0.48) 0%, transparent 70%),
    radial-gradient(ellipse 90% 42% at 100% 100%, rgba(92, 16, 16, 0.58) 0%, transparent 68%),
    linear-gradient(180deg, #080606 0%, #120808 45%, #160909 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: #e8d0d0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1, h2, h3 {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: #e8d8d4;
}

.wrap {
  width: min(calc(100% - 64px), var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  background: var(--red);
  color: var(--cream);
  padding: 8px 14px;
}

.skip-link:focus {
  top: 12px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.nav.is-scrolled,
.nav.is-solid {
  background: rgba(7, 6, 6, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hair);
}

.nav-inner {
  width: min(calc(100% - 64px), var(--wrap));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  line-height: 0;
}

.wordmark:hover {
  opacity: 0.82;
}

.wordmark-img {
  display: block;
  width: auto;
  max-width: none;
}

.wordmark-img--nav {
  height: 26px;
}

.wordmark-img--footer {
  height: 48px;
}

.mark-img {
  display: block;
  width: auto;
  height: 30px;
}

.wordmark--footer .mark-img {
  height: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  color: #c4bdb7;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--cream);
}

.nav-cta {
  color: var(--cream) !important;
  border: 1px solid rgba(156, 28, 28, 0.7);
  padding: 8px 16px;
}

.nav-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--cream);
  margin: 6px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-h);
  padding: 0 var(--btn-px);
  font-size: var(--btn-size);
  font-weight: 500;
  letter-spacing: var(--btn-track);
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
  will-change: transform;
}

.btn-primary {
  background: var(--red);
  color: var(--cream);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(243, 239, 233, 0.28);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: var(--cream);
  color: var(--cream);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

.hero-media img {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      #070606 0%,
      #070606 38%,
      rgba(7, 6, 6, 0.72) 50%,
      rgba(7, 6, 6, 0.18) 68%,
      transparent 100%),
    linear-gradient(155deg,
      transparent 42%,
      rgba(92, 16, 16, 0.4) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 0 96px;
  max-width: 720px;
  margin-left: max(32px, calc((100% - var(--wrap)) / 2));
  margin-right: auto;
  width: min(calc(100% - 64px), 720px);
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #c45c5c;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: #c8c0b8;
  max-width: 34rem;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-note {
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0;
  color: #d8d2cc;
  max-width: 40rem;
}

/* Sections */
.section {
  position: relative;
  padding: var(--space-9) 0;
  background: transparent;
  border-top: 0;
}

.section-head {
  margin-bottom: 64px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: start;
}

.about-copy .lede {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 24px;
}

.principles {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hair);
}

.principles li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair);
}

.principles span,
.curriculum-list span,
.steps span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #c45c5c;
  letter-spacing: 0.08em;
  padding-top: 4px;
}

.principles strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 6px;
}

.principles p {
  font-size: 0.92rem;
}

/* Curriculum */
.curriculum-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}

.curriculum-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 16px;
  padding: 28px 0;
  border-top: 1px solid var(--hair);
}

.curriculum-list h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.curriculum-list p {
  font-size: 0.95rem;
}

/* Process */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.steps h3 {
  font-size: 1.7rem;
  margin: 20px 0 12px;
}

.steps p {
  font-size: 0.95rem;
}

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.faq .section-head {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.accordion {
  border-top: 1px solid var(--hair);
}

.acc-item {
  border-bottom: 1px solid var(--hair);
}

.acc-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
  font-weight: 400;
}

.acc-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 22px 0;
  color: var(--cream);
  font-size: 1.05rem;
}

.acc-btn:hover,
.acc-btn:focus-visible {
  color: #e8d0d0;
}

.acc-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.4em;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: #c45c5c;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s, transform 0.25s;
}

.acc-icon::before {
  width: 12px;
  height: 1px;
}

.acc-icon::after {
  width: 1px;
  height: 12px;
}

.acc-btn[aria-expanded="true"] .acc-icon::after {
  opacity: 0;
}

.acc-panel {
  padding: 0 36px 22px 0;
}

.acc-panel a {
  color: #d4a0a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Apply */
.apply-risk {
  font-size: 1rem;
  line-height: 1.65;
  color: #d8d2cc;
  max-width: 46rem;
  margin: 0 0 48px;
}

.apply-risk a {
  color: #e8d0d0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apply-risk a:hover {
  color: var(--cream);
}

.apply-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: start;
}

.apply-copy h2 {
  margin-bottom: 20px;
}

.apply-copy p {
  max-width: 36rem;
}

.apply-copy p a {
  color: #d4a0a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apply-copy p a:hover {
  color: var(--cream);
}

.apply-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 36px;
}

.apply-contact a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d4a0a0;
}

.apply-contact a:hover {
  color: var(--cream);
}

.apply-contact a[href^="mailto:"] {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.apply-form {
  border-top: 1px solid var(--hair);
  padding-top: 8px;
  position: relative;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  margin-bottom: 28px;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c45c5c;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  color: var(--cream);
  padding: 12px 0;
  outline: none;
  border-radius: 0;
  transition: border-color 0.25s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5c5754;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--red);
}

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

.form-error {
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #e8a4a4;
}

.form-contact-use {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.65;
  color: #d8d2cc;
}

.form-contact-use a {
  color: #e8d0d0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-contact-use a:hover {
  color: var(--cream);
}

.form-fine {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #6e6965;
}

.form-fine a {
  color: #d4a0a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.form-success strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 8px;
}

.form-success a {
  color: #d4a0a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.apply-form.is-sent .btn,
.apply-form.is-sent .field,
.apply-form.is-sent .hp-field,
.apply-form.is-sent .form-fine,
.apply-form.is-sent .form-contact-use {
  display: none;
}

/* Footer */
.footer {
  border-top: 0;
  padding: 64px 0 36px;
  background: transparent;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.footer-meta a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4bdb7;
}

.footer-meta a:hover {
  color: var(--cream);
}

.footer-meta a[href^="mailto:"] {
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.disclaimer {
  font-size: 0.76rem;
  line-height: 1.7;
  color: #6e6965;
  max-width: 78ch;
  margin-bottom: 40px;
}

.disclaimer p + p {
  margin-top: 12px;
}

.disclaimer strong {
  color: #8f8884;
  font-weight: 600;
}

.disclaimer a {
  color: #8f8884;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.disclaimer a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-size: 0.8rem;
  color: #6e6965;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer-legal-links a {
  color: #6e6965;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

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

/* Reveal — visible by default so content is never blank without JS */
.reveal {
  opacity: 1;
  transform: none;
}

html.js.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

html.js.reveal-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1140px) {
  .nav-menu {
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .about-grid,
  .faq-wrap,
  .apply-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq .section-head {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media img {
    width: 64%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg,
        #070606 0%,
        #070606 36%,
        rgba(7, 6, 6, 0.8) 48%,
        rgba(7, 6, 6, 0.22) 70%,
        transparent 100%),
      linear-gradient(155deg, transparent 40%, rgba(92, 16, 16, 0.4) 100%);
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 68px;
  }

  .wrap,
  .nav-inner {
    width: min(calc(100% - 40px), var(--wrap));
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    width: min(calc(100% - 40px), 720px);
    margin-left: 20px;
    padding: 40px 0 64px;
  }

  .hero-media img {
    width: 100%;
    object-position: 50% 22%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg,
        rgba(7, 6, 6, 0.72) 0%,
        rgba(7, 6, 6, 0.45) 55%,
        transparent 100%),
      linear-gradient(155deg,
        rgba(7, 6, 6, 0.2) 0%,
        rgba(92, 16, 16, 0.45) 100%);
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: #070606;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }

  .nav .wordmark,
  .nav-toggle {
    position: relative;
    z-index: 60;
  }

  .nav.is-open .nav-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .curriculum-list,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-8) 0;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .footer-top,
  .footer-bottom,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero-glow { display: none; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .wordmark-img--nav {
    height: 20px;
  }

  .wordmark-img--footer {
    height: 40px;
  }

  .mark-img {
    height: 24px;
  }

  .wordmark--footer .mark-img {
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  html.js.reveal-ready .reveal,
  html.js.reveal-ready .reveal.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-progress span,
  .hero-glow,
  .acc-panel,
  .btn,
  .tilt-card,
  .lift-card,
  .js-magnetic {
    transition: none !important;
    animation: none !important;
  }

  .hero-glow { display: none !important; }
}



/* Legal pages */
.legal-page {
  padding: 48px 0 120px;
  max-width: 720px;
}

.legal-page .eyebrow {
  margin-bottom: 16px;
}

.legal-page h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  margin-bottom: 16px;
}

.legal-page .legal-updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--cream);
  margin: 36px 0 12px;
}

.legal-page p,
.legal-page li {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.legal-page ul {
  padding-left: 1.2em;
  margin-bottom: 16px;
}

.legal-page a {
  color: #d4a0a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page .legal-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-size: 0.82rem;
  color: #7a746e;
}


/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 60%, #c45c5c);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* Hero cursor glow */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    560px circle at var(--glow-x, 72%) var(--glow-y, 38%),
    rgba(156, 28, 28, 0.28),
    transparent 62%
  );
  transition: opacity 0.5s var(--ease);
  mix-blend-mode: screen;
}

.hero.is-glowing .hero-glow {
  opacity: 1;
}

/* Hover lift and tilt */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    box-shadow: 0 10px 28px rgba(156, 28, 28, 0.28);
  }

  .lift-card {
    transition: transform 0.45s var(--ease), background 0.45s var(--ease);
  }

  .lift-card:hover {
    transform: translateY(-3px);
  }

  .principles li {
    transition: background 0.35s var(--ease);
  }

  .tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
    padding: 8px 8px 8px 0;
    border-radius: 2px;
  }

  .tilt-card:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
}

/* Native details accordion */
.acc-btn {
  list-style: none;
  cursor: pointer;
}

.acc-btn::-webkit-details-marker {
  display: none;
}

.acc-item[open] .acc-btn {
  color: #e8d0d0;
}

.acc-panel {
  padding: 0 36px 22px 0;
  animation: acc-in 0.35s var(--ease);
}

@keyframes acc-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Section lead */
.section-lead {
  margin-top: 20px;
  max-width: 38rem;
  font-size: 1rem;
  color: #c8c0b8;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070606;
  transition: opacity 0.18s var(--ease), visibility 0.18s var(--ease);
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loader-mark {
  height: 72px;
  width: auto;
  animation: loader-in 0.25s var(--ease) both;
}

.loader-word {
  height: 24px;
  width: auto;
  animation: loader-in 0.25s var(--ease) 0.04s both;
}

@keyframes loader-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}


@media (prefers-reduced-motion: reduce) {
  .loader,
  .loader-mark,
  .loader-word {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .reveal,
  html.js.reveal-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-progress,
  .hero-glow,
  .nav-toggle {
    display: none !important;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-glow {
    display: none;
  }
}

.field label span {
  text-transform: none;
  letter-spacing: 0.04em;
  color: #8f8884;
  font-size: 10px;
}



/* v6.2 visual polish: type, spacing, overflow, mobile. Gradient unchanged. */
body {
  overflow-wrap: break-word;
}

img, svg, video, iframe {
  max-width: 100%;
}

.about-grid,
.faq-wrap,
.apply-grid,
.steps,
.curriculum-list,
.footer-top,
.footer-bottom,
.hero-actions {
  min-width: 0;
}

.about-grid > *,
.faq-wrap > *,
.apply-grid > *,
.footer-top > *,
.footer-bottom > * {
  min-width: 0;
}

a[href^="mailto:"],
a[href^="http"],
.apply-risk,
.hero-note,
.disclaimer,
.legal-page p,
.legal-page li,
.footer-meta p,
.form-contact-use {
  overflow-wrap: anywhere;
}

.btn:focus-visible,
.nav-cta:focus-visible,
.nav-menu a:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

/* Nav Apply control: same type and height rhythm as other buttons */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  letter-spacing: var(--btn-track);
  font-size: var(--btn-size);
  font-weight: 500;
  text-transform: uppercase;
}

.error-page .btn {
  margin-top: 8px;
  width: auto;
}

.error-page h1 {
  margin-bottom: 16px;
}

@media (max-width: 820px) {
  .hero h1 {
    line-height: 1.04;
  }

  .hero-lead,
  .hero-note,
  .apply-risk {
    font-size: 1rem;
    line-height: 1.65;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  :root {
    --nav-h: 64px;
    --btn-h: 48px;
  }

  .wrap,
  .nav-inner {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .hero-inner {
    width: min(calc(100% - 32px), 720px);
    margin-left: 16px;
    margin-right: auto;
    padding: 32px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.2rem);
    line-height: 1.06;
    margin-bottom: 20px;
  }

  .hero-lead,
  .hero-note,
  .apply-risk,
  .legal-page p,
  .legal-page li {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .legal-page {
    padding: 32px 0 80px;
  }

  .legal-page h2 {
    font-size: 1.4rem;
    margin: 28px 0 10px;
  }

  .footer {
    padding: 48px 0 28px;
  }

  .footer-legal-links {
    gap: 10px 16px;
  }

  .hero-actions .btn,
  .btn {
    white-space: normal;
    text-align: center;
  }
}
