/* ===========================================================================
   Teach With Us — page redesign (review mockup)
   Source of truth: Downloads/teach-with-us_7.html + teach-with-us-plan.md
   ---------------------------------------------------------------------------
   Fidelity-first port of the standalone mockup. ALL rules are scoped under
   `.tw-redesign` (via CSS nesting) so the mockup's generic class names
   (.btn, .eyebrow, .section, .container, .field, .display) do NOT leak into
   the global site header/footer. Brand colour vars alias the global tokens
   injected by master.cshtml so siteConfig overrides still flow through.

   This is a review artifact. CMS-ification (content fields, media library,
   Tailwind conversion) is the planned follow-up pass once the look is approved.
   =========================================================================== */

.tw-redesign {
  /* Page-local aliases map through semantic tokens so siteConfig overrides still flow through. */
  --page-primary: var(--color-primary, #F272A8);
  --page-anchor: var(--color-anchor, #7A2232);
  --page-surface: var(--color-surface, #F7F2E8);
  --page-ink: var(--color-ink, #2A1A14);
  --page-accent-muted: var(--color-accent-muted, #FFD8E4);
  --page-brand-accent: var(--color-brand-accent, #E8845A);
  --page-accent: var(--color-accent, #D4953A);
  --page-status-success: var(--color-status-success, #8A9428);
  --page-brand-support: var(--color-brand-support, #7E9BC4);
  --page-brand-accent-hover: #9C4722;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
  --script: 'Caveat', cursive;
  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Base — the standalone mockup set these on <body>; scope to the wrapper. */
  font-family: var(--sans);
  color: var(--page-ink);
  background: var(--page-surface);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  & img { max-width: 100%; display: block; }
  & a { color: inherit; text-decoration: none; }

  .display { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; }
  .display em { font-style: italic; color: var(--page-primary); }
  .eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 600; color: var(--page-anchor); }
  .section { padding: clamp(64px, 9vw, 120px) var(--gutter); }
  .container { max-width: var(--maxw); margin: 0 auto; }
  .section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
  .section-head .display { font-size: clamp(34px, 5vw, 58px); margin: 18px 0 14px; }
  .section-head p { font-size: 17px; color: rgba(42,26,20,0.75); margin: 0; }

  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border: none; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn--primary { background: var(--page-anchor); color: var(--page-surface); }
  .btn--primary:hover { background: var(--page-ink); }
  .btn--accent { background: var(--page-brand-accent); color: var(--page-surface); }
  .btn--accent:hover { background: var(--page-brand-accent-hover); color: var(--page-surface); }
  .btn--page-primary { background: var(--color-primary); color: var(--color-on-primary); }
  .btn--page-primary:hover { background: color-mix(in srgb, var(--color-primary) 88%, var(--color-ink)); color: var(--color-on-primary); }
  .btn .arr { transition: transform 0.2s ease; }
  .btn:hover .arr { transform: translateX(4px); }

  /* Hero-specific button sizing — compact pill, shorter than the global Apply Now CTA */
  .hero-text .btn { padding: 12px 22px; font-size: 12.5px; letter-spacing: 0.06em; align-self: flex-start; }

  /* HERO — SPLIT */
  .hero-split { display: grid; grid-template-columns: 45% 55%; min-height: clamp(560px, 78vh, 760px); }
  .hero-text { background: var(--page-surface); padding: clamp(48px, 7vw, 90px) clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; position: relative; }
  .hero-text .eyebrow { margin-bottom: 24px; }
  .hero-text h1 { font-family: var(--serif); font-size: clamp(46px, 6vw, 80px); line-height: 0.98; margin: 0 0 26px; letter-spacing: -0.018em; color: var(--page-ink); }
  .hero-text h1 em { font-style: italic; color: var(--page-primary); font-weight: 400; }
  .hero-text p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: rgba(42,26,20,0.78); max-width: 460px; margin: 0 0 36px; }
  .hero-image { background-image: url('https://images.unsplash.com/photo-1607344645866-009c320b63e0?w=1600&q=80'); background-size: cover; background-position: center; position: relative; }
  @media (max-width: 880px) { .hero-split { grid-template-columns: 1fr; min-height: auto; } .hero-image { height: 360px; } }

  /* INTRO */
  .intro { background: var(--page-accent-muted); padding: clamp(56px, 8vw, 96px) var(--gutter); text-align: center; }
  .intro-inner { max-width: 820px; margin: 0 auto; }
  .intro .eyebrow { margin-bottom: 18px; }
  .intro p { font-family: var(--sans); font-weight: 400; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.45; color: var(--page-ink); margin: 0 0 14px; letter-spacing: -0.005em; }
  .intro p em { color: var(--page-anchor); font-style: italic; font-family: var(--serif); }
  .intro .closer { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 22px); color: var(--page-anchor); margin-top: 18px; }

  /* TICKER */
  .photo-ticker { background: var(--page-surface); padding: 40px 0 44px; overflow: hidden; border-top: 1px solid rgba(42,26,20,0.08); border-bottom: 1px solid rgba(42,26,20,0.08); }
  .ticker { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%); }
  .ticker-track { display: flex; gap: 22px; padding-right: 22px; animation: tw-ticker-scroll 50s linear infinite; flex-shrink: 0; align-items: center; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  .ticker-img { flex-shrink: 0; width: clamp(180px, 18vw, 240px); aspect-ratio: 1 / 1; background-size: cover; background-position: center; border-radius: 8px; box-shadow: 0 12px 28px -16px rgba(42,26,20,0.25); }
  @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

  /* STATS — banner style, condensed */
  .stats { background: var(--page-surface); padding: clamp(48px, 6vw, 76px) var(--gutter); border-bottom: 1px solid rgba(42,26,20,0.1); }
  .stats-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
  .stats-eyebrow { margin-bottom: 12px; display: inline-block; }
  .stats-head { font-family: var(--sans); font-weight: 400; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; margin: 0 0 clamp(28px, 3.5vw, 40px); color: rgba(42,26,20,0.75); max-width: 600px; margin-left: auto; margin-right: auto; }
  .stats-head em { font-style: normal; color: rgba(42,26,20,0.75); font-family: var(--sans); }
  .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; padding-top: 0; }
  .stat-num { font-family: var(--sans); font-weight: 500; font-size: clamp(44px, 5vw, 64px); color: var(--page-brand-accent); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
  .stat-label { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--page-ink); font-weight: 600; margin-bottom: 6px; }
  .stat-note { font-family: var(--sans); font-size: 13px; color: rgba(42,26,20,0.6); line-height: 1.45; font-weight: 400; }
  @media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr; gap: 32px; } }

  /* WHY */
  .why { background: var(--page-surface); padding-top: clamp(48px, 6vw, 80px); }
  .why-rows { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
  .why-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
  .why-row:nth-child(even) .why-photo { order: 2; }
  .why-row:nth-child(even) .why-content { order: 1; }
  .why-photo { aspect-ratio: 5 / 4; border-radius: 10px; background-size: cover; background-position: center; box-shadow: 0 24px 50px -28px rgba(42,26,20,0.35); position: relative; }
  .why-row[data-row="1"] .why-photo { background-image: linear-gradient(135deg, rgba(242,114,168,0.15), rgba(122,34,50,0.25)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1200&q=80'); }
  .why-row[data-row="2"] .why-photo { background-image: linear-gradient(135deg, rgba(232,132,90,0.15), rgba(122,34,50,0.25)), url('https://images.unsplash.com/photo-1517457373958-b7bdd4587205?w=1200&q=80'); }
  .why-row[data-row="3"] .why-photo { background-image: linear-gradient(135deg, rgba(212,149,58,0.15), rgba(122,34,50,0.25)), url('https://images.unsplash.com/photo-1543269664-7eef42226a21?w=1200&q=80'); }
  .why-row[data-row="4"] .why-photo { background-image: linear-gradient(135deg, rgba(242,114,168,0.15), rgba(122,34,50,0.25)), url('https://images.unsplash.com/photo-1499744937866-d7e566a20a61?w=1200&q=80'); }
  .why-row[data-row="5"] .why-photo { background-image: linear-gradient(135deg, rgba(232,132,90,0.15), rgba(122,34,50,0.25)), url('https://images.unsplash.com/photo-1607344645866-009c320b63e0?w=1200&q=80'); }
  .why-photo .photo-tag { position: absolute; top: 18px; left: 18px; background: var(--page-surface); color: var(--page-anchor); font-family: var(--serif); font-style: italic; font-size: 18px; padding: 6px 14px; border-radius: 999px; }
  .why-content .eyebrow { display: block; margin-bottom: 14px; }
  .why-content h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); color: var(--page-ink); margin: 0 0 18px; line-height: 1.1; }
  .why-content h3 em { font-style: italic; color: var(--page-primary); }
  .why-content p { margin: 0; font-size: 16.5px; line-height: 1.6; color: rgba(42,26,20,0.78); }
  @media (max-width: 880px) {
    .why-row, .why-row:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
    .why-row:nth-child(even) .why-photo { order: 0; }
    .why-row:nth-child(even) .why-content { order: 1; }
    .why-photo { aspect-ratio: 4/3; }
  }

  /* TESTIMONIAL */
  .testimonial { background: var(--page-accent-muted); padding: clamp(72px, 9vw, 110px) var(--gutter); position: relative; }
  .testimonial-inner { max-width: 1280px; margin: 0 auto; }
  .testimonial-head { margin-bottom: clamp(32px, 4vw, 48px); }
  .testimonial-head h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 68px); line-height: 1.0; margin: 0; letter-spacing: -0.012em; color: var(--page-ink); }
  .testimonial-head h2 .highlight { background: var(--page-primary); color: var(--page-ink); font-style: italic; padding: 0 8px 4px; margin-right: 4px; display: inline-block; line-height: 0.95; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .testimonial-head h2 em { font-style: italic; }
  .testimonial-frame { position: relative; }
  .testimonial-photo { width: 100%; aspect-ratio: 16 / 9; background-image: url('https://images.unsplash.com/photo-1543269664-7eef42226a21?w=1800&q=80'); background-size: cover; background-position: center; border-radius: 6px; }
  .testimonial-card { position: absolute; bottom: clamp(24px, 4vw, 48px); right: clamp(24px, 4vw, 56px); background: var(--page-surface); padding: clamp(24px, 3vw, 36px) clamp(28px, 3vw, 40px); max-width: 420px; box-shadow: 0 24px 56px -20px rgba(42,26,20,0.3); border-radius: 4px; }
  .testimonial-quote { font-family: var(--sans); font-weight: 400; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: var(--page-ink); margin: 0 0 22px; }
  .testimonial-attr { border-top: 1px solid rgba(42,26,20,0.15); padding-top: 16px; }
  .testimonial-attr .name { font-family: var(--script); font-size: 28px; color: var(--page-brand-accent); line-height: 1; margin-bottom: 6px; }
  .testimonial-attr .name::before { content: '— '; }
  .testimonial-attr .meta { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(42,26,20,0.65); font-weight: 500; }
  @media (max-width: 760px) { .testimonial-card { position: relative; bottom: auto; right: auto; max-width: none; margin: -32px 16px 0; } .testimonial-photo { aspect-ratio: 4/3; } }

  /* WHO THRIVES */
  .who-thrives { background: var(--page-surface); }
  .who-thrives-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: center; max-width: var(--maxw); margin: 0 auto; }
  .who-thrives-photo { aspect-ratio: 4 / 5; background-image: url('https://images.unsplash.com/photo-1606103836293-0a063ee20566?w=1000&q=80'); background-size: cover; background-position: center; border-radius: 10px; position: relative; box-shadow: 0 28px 60px -28px rgba(42,26,20,0.35); }
  .who-thrives-photo .pull-quote { position: absolute; bottom: -28px; left: -28px; background: var(--page-brand-accent); color: var(--page-surface); padding: 22px 28px; max-width: 280px; border-radius: 4px; transform: rotate(-2deg); box-shadow: 0 16px 36px -14px rgba(42,26,20,0.35); font-family: var(--sans); font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -0.005em; }
  .who-thrives-content .eyebrow { display: block; margin-bottom: 14px; }
  .who-thrives-content h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); line-height: 1.05; color: var(--page-ink); margin: 0 0 18px; }
  .who-thrives-content h2 em { font-style: italic; color: var(--page-primary); }
  .who-thrives-content .intro-line { font-size: 16.5px; line-height: 1.6; color: rgba(42,26,20,0.78); margin: 0 0 28px; }
  .checklist { list-style: none; padding: 0; margin: 0 0 28px; }
  .checklist li { position: relative; padding: 14px 0 14px 38px; font-size: 15.5px; line-height: 1.5; color: var(--page-ink); border-bottom: 1px solid rgba(42,26,20,0.12); }
  .checklist li:last-child { border-bottom: none; }
  .checklist li::before { content: ''; position: absolute; left: 0; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--page-accent-muted); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A2232' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>"); background-size: 14px 14px; background-repeat: no-repeat; background-position: center; }
  .who-thrives-closer { font-family: var(--sans); font-weight: 400; font-size: 16px; color: var(--page-ink); margin: 0; line-height: 1.55; padding: 18px 0 0; border-top: 1px solid rgba(42,26,20,0.12); }
  @media (max-width: 900px) { .who-thrives-grid { grid-template-columns: 1fr; gap: 56px; } .who-thrives-photo .pull-quote { left: 16px; bottom: -22px; } }

  /* COMMUNITY */
  .community { position: relative; background-image: url('https://images.unsplash.com/photo-1543269664-7eef42226a21?w=2000&q=80'); background-size: cover; background-position: center; background-attachment: fixed; padding: clamp(96px, 12vw, 160px) var(--gutter); color: var(--page-surface); }
  .community::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(242,114,168,0.85) 0%, rgba(242,114,168,0.7) 50%, rgba(122,34,50,0.6) 100%); }
  .community-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: end; }
  .community-text .eyebrow { color: var(--page-surface); display: block; margin-bottom: 18px; }
  .community-text h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); line-height: 1.0; color: var(--page-surface); margin: 0 0 28px; letter-spacing: -0.012em; }
  .community-text h2 em { font-style: italic; color: var(--page-surface); }
  .community-text p { font-size: 17px; line-height: 1.65; color: rgba(247,242,232,0.95); margin: 0 0 18px; max-width: 520px; }
  .community-text .closer { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--page-surface); border-top: 1px solid rgba(247,242,232,0.4); padding-top: 22px; margin-top: 8px; max-width: 520px; }
  .community-photos { position: relative; aspect-ratio: 4 / 5; width: 100%; }
  .community-photo { position: absolute; background-size: cover; background-position: center; border: 5px solid var(--page-surface); box-shadow: 0 20px 40px -16px rgba(42,26,20,0.5); border-radius: 3px; }
  .community-photo--1 { top: 0; left: 0; width: 60%; aspect-ratio: 4 / 5; background-image: url('https://images.unsplash.com/photo-1543269664-7eef42226a21?w=600&q=80'); transform: rotate(-3deg); z-index: 2; }
  .community-photo--2 { top: 12%; right: 0; width: 55%; aspect-ratio: 4 / 5; background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=600&q=80'); transform: rotate(4deg); z-index: 1; }
  .community-photo--3 { bottom: 0; left: 18%; width: 50%; aspect-ratio: 4 / 5; background-image: url('https://images.unsplash.com/photo-1606103836293-0a063ee20566?w=600&q=80'); transform: rotate(-1deg); z-index: 3; }
  @media (max-width: 900px) { .community-inner { grid-template-columns: 1fr; gap: 56px; } .community-photos { aspect-ratio: 3 / 4; max-width: 460px; margin: 0 auto; } }

  /* HOW IT WORKS */
  .how { background: var(--page-surface); padding-bottom: clamp(40px, 5vw, 64px); }
  .how-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); max-width: 1100px; margin: 0 auto; }
  .how-card-v { display: flex; flex-direction: column; }
  .how-card-v .visual { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 18px 40px -22px rgba(42,26,20,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; margin-bottom: 28px; }
  .how-card-v:hover .visual { transform: translateY(-4px); box-shadow: 0 26px 50px -22px rgba(42,26,20,0.4); }
  .how-card-v .big-num { position: absolute; bottom: 20px; left: 24px; font-family: var(--sans); font-weight: 500; font-size: clamp(38px, 4vw, 52px); color: var(--page-surface); line-height: 1; letter-spacing: -0.03em; z-index: 1; text-shadow: 0 2px 14px rgba(42,26,20,0.45); }
  .how-card-v .step-label { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 600; color: var(--page-anchor); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
  .how-card-v .step-label::before { content: ''; width: 22px; height: 1px; background: var(--page-primary); }
  .how-card-v h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 28px); color: var(--page-ink); margin: 0 0 14px; line-height: 1.15; }
  .how-card-v h3 em { font-style: italic; color: var(--page-primary); }
  .how-card-v p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(42,26,20,0.78); }
  .how-card-v[data-step="01"] .visual { background-image: url('https://images.unsplash.com/photo-1455390582262-044cdead277a?w=800&q=80'); }
  .how-card-v[data-step="02"] .visual { background-image: url('https://images.unsplash.com/photo-1517457373958-b7bdd4587205?w=800&q=80'); }
  .how-card-v[data-step="03"] .visual { background-image: url('https://images.unsplash.com/photo-1559656914-a30970c1affd?w=800&q=80'); }
  @media (max-width: 880px) { .how-cards { grid-template-columns: 1fr; max-width: 420px; } }

  /* FAQ */
  .faq { background: var(--page-surface); padding-top: clamp(40px, 5vw, 64px); }
  .faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid rgba(42,26,20,0.14); }
  .faq-item { border-bottom: 1px solid rgba(42,26,20,0.14); }
  .faq-q { width: 100%; background: none; border: none; text-align: left; padding: 26px 0; font-family: var(--sans); font-size: 18px; font-weight: 500; color: var(--page-ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; line-height: 1.4; }
  .faq-q .ico { font-family: var(--sans); font-size: 24px; color: var(--page-primary); font-weight: 300; transition: transform 0.2s ease; flex-shrink: 0; }
  .faq-item[open] .faq-q .ico { transform: rotate(45deg); }
  .faq-a { padding: 0 0 26px; font-size: 15.5px; line-height: 1.6; color: rgba(42,26,20,0.78); max-width: 720px; }

  /* APPLY */
  .apply { background: var(--page-brand-support); }
  .apply-cta-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
  .apply-cta-head .eyebrow { margin-bottom: 16px; display: inline-block; color: var(--page-surface); }
  .apply-cta-head h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin: 0 0 14px; color: var(--page-surface); }
  .apply-cta-head h2 em { font-style: italic; color: var(--page-accent-muted); }
  .apply-cta-head p { font-size: 17px; color: rgba(247,242,232,0.92); margin: 0; }
  .apply-inner { max-width: 760px; margin: 0 auto; background: var(--page-surface); padding: clamp(36px, 5vw, 56px); border-radius: 14px; box-shadow: 0 30px 60px -32px rgba(122,34,50,0.25); }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-grid .full { grid-column: 1 / -1; }
  .field { display: flex; flex-direction: column; }
  .field label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--page-anchor); margin-bottom: 8px; }
  .field input, .field select, .field textarea { font-family: var(--sans); font-size: 15px; padding: 13px 14px; border: 1px solid rgba(42,26,20,0.18); border-radius: 8px; background: var(--page-surface); color: var(--page-ink); transition: border-color 0.18s ease, box-shadow 0.18s ease; }
  .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--page-primary); box-shadow: 0 0 0 3px rgba(242,114,168,0.18); }
  .field textarea { min-height: 110px; resize: vertical; }
  .apply-submit { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  .apply-submit small { color: rgba(42,26,20,0.6); font-size: 12.5px; }
  @media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
}

/* Ticker keyframes — renamed from the mockup's `ticker-scroll` to avoid any
   collision with site-wide animations. Kept top-level (keyframes can't nest). */
@keyframes tw-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
