/* TaughtByTN — site styles */
:root {
  --green: #163c30;
  --green-2: #1f4a3b;
  --deep: #0f2c23;
  --ivory: #f8f7f0;
  --cream: #efeee3;
  --sage: #e8eee2;
  --gold: #d6b56b;
  --gold-2: #e8cf94;
  --gold-ink: #9a7a35;
  --text: #17372d;
  --muted: #627469;
  --line: #dde4d8;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 26px;
  --shadow: 0 24px 60px -20px rgba(16, 46, 37, .25);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--green); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0;
  font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-title, .hero h1, .cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: 'opsz' 144;
  letter-spacing: -.025em;
  line-height: 1.06;
}
.section-title { font-size: clamp(36px, 4.4vw, 58px); margin: 18px 0; max-width: 680px; }
.section-title em, .hero h1 em, .cta h2 em { font-style: italic; color: var(--gold-ink); }
.sub-title { font: 500 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); letter-spacing: -.015em; margin: 14px 0 6px; }
.tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 16px 26px; min-height: 52px;
  background: var(--green); color: #fff;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--green-2); box-shadow: 0 12px 28px -12px rgba(16, 46, 37, .55); }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translate(2px, -2px); }
.btn-gold { background: var(--gold); color: var(--green); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 12px 28px -12px rgba(214, 181, 107, .7); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #eef3ec;
  transition: background-color .3s, box-shadow .3s, height .3s;
}
.site-header.scrolled { background: rgba(15, 44, 35, .97); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .3s; }
.site-header.scrolled .header-inner { height: 72px; }
.logo img { width: 218px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 14.5px; font-weight: 500; }
.nav > a { position: relative; opacity: .9; transition: opacity .2s; }
.nav > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:hover { opacity: 1; }
.nav > a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 13px 20px; min-height: 46px; font-size: 14px; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.top-shell {
  background:
    radial-gradient(ellipse 60% 70% at 80% 45%, rgba(56, 112, 88, .55), transparent 70%),
    radial-gradient(ellipse at 10% 0%, #1a4436 0%, transparent 55%),
    linear-gradient(160deg, #163e30 0%, #0f2c23 100%);
  color: #f6f6ee;
  overflow: hidden;
}
.hero { padding: 150px 0 100px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 5%; align-items: center; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 { font-size: clamp(48px, 6vw, 84px); margin: 26px 0; }
.hero h1 em { color: var(--gold); }
.lead { max-width: 520px; color: #c6d6c9; font-size: 17.5px; line-height: 1.75; margin: 0; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin: 38px 0 0; flex-wrap: wrap; }
.textlink { font-size: 15px; font-weight: 700; display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid rgba(214, 181, 107, .5); padding-bottom: 3px; transition: border-color .2s; }
.textlink:hover { border-color: var(--gold); }
.proof { display: flex; gap: 18px; align-items: center; margin-top: 52px; font-size: 14px; color: #bfd0c2; }
.proof p { margin: 0; line-height: 1.55; }
.proof b { color: #fff; }
.avatar-stack { display: flex; }
.avatar-stack i { width: 38px; height: 38px; border-radius: 50%; background: #d6e3cf; border: 3px solid #173e31; margin-left: -10px; display: grid; place-items: center; font-style: normal; font-size: 13px; color: var(--green); }
.avatar-stack i:first-child { margin-left: 0; }
.avatar-stack i:nth-child(2) { background: var(--gold-2); }

.visual {
  position: relative; min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 45%, #c8dbc2, #a9c4a3);
  border-radius: 48% 48% 42% 42%;
  animation: rise 1s var(--ease) .1s both;
}
.visual::before, .visual::after { content: ''; position: absolute; inset: 8%; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; }
.visual::after { inset: 17%; }
.dashboard { position: relative; z-index: 1; width: 78%; background: #fff; color: var(--text); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.dash-top { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 700; letter-spacing: .06em; border-bottom: 1px solid #eef1ea; padding-bottom: 14px; }
.dash-logo { font: 600 15px var(--serif); letter-spacing: 0; }
.dash-logo span { color: #b99544; }
.dash-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-top: 15px; }
.dash-main { background: #f2f6ed; border-radius: 12px; padding: 17px; }
.dash-main small, .dash-side small { display: block; font-size: 8.5px; letter-spacing: .08em; color: #87988a; }
.dash-side small.mt { margin-top: 18px; }
.dash-main strong { display: block; font: 500 19px/1.2 var(--serif); margin: 10px 0 6px; }
.dash-main p { font-size: 10px; color: #738878; margin: 0 0 12px; }
.dash-side strong { display: block; font-size: 12px; margin-top: 4px; }
.dash-pill { display: inline-block; background: var(--gold); padding: 6px 10px; border-radius: 20px; font-size: 9px; font-weight: 700; }
.chart { height: 78px; display: flex; align-items: flex-end; gap: 9px; margin-top: 16px; }
.chart i { flex: 1; background: #a7c5a2; border-radius: 5px 5px 0 0; transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.chart i:nth-child(1) { height: 32%; animation-delay: .5s; }
.chart i:nth-child(2) { height: 50%; animation-delay: .6s; }
.chart i:nth-child(3) { height: 69%; animation-delay: .7s; }
.chart i:nth-child(4) { height: 88%; background: #527f65; animation-delay: .8s; }
.dash-side { background: #fafbf8; border: 1px solid #edf0e9; border-radius: 12px; padding: 14px; }
.dash-row { height: 8px; border-radius: 9px; background: #dfe9db; margin: 11px 0; }
.dash-row.short { width: 70%; }
.floating { position: absolute; z-index: 2; background: #fff; color: var(--text); border-radius: 16px; padding: 14px 18px; box-shadow: 0 18px 40px -12px rgba(16, 46, 37, .35); font-size: 12px; font-weight: 700; animation: float 6s ease-in-out infinite; }
.floating.one { top: 12%; right: -2%; }
.floating.two { bottom: 12%; left: -2%; animation-delay: -3s; }
.floating .sub { display: block; color: #8a9b8e; font-weight: 400; margin-top: 3px; }
.bubble-icon { font-size: 17px; color: #b99341; margin-right: 6px; }

/* ---------- Strip ---------- */
.strip { background: var(--green); color: #e6eee3; border-top: 1px solid rgba(255, 255, 255, .06); }
.strip ul { display: flex; justify-content: space-between; gap: 14px 28px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; flex-wrap: wrap; }
.strip b { color: var(--gold); margin-right: 8px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 128px) 0; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; }
.section-copy { max-width: 380px; color: var(--muted); font-size: 16px; margin: 0 0 18px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: #fff; border: 1px solid #e5ebe1; border-radius: var(--radius); padding: 30px 28px;
  min-height: 300px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card.featured { background: var(--green); color: #f3f5ee; border-color: var(--green); }
.card.featured .tag { color: var(--gold-2); }
.card.featured p { color: #c3d3c6; }
.card.featured .icon { background: rgba(255, 255, 255, .08); color: var(--gold); }
.card.featured button { color: var(--gold); }
.card .icon { width: 50px; height: 50px; border-radius: 16px; background: var(--sage); display: grid; place-items: center; margin: 22px 0; font-size: 20px; color: var(--gold-ink); }
.card h3 { font: 500 23px/1.2 var(--serif); letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; margin: 10px 0 18px; }
.card button { border: 0; background: none; text-align: left; padding: 0; min-height: 44px; color: var(--green); font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.card button span { transition: transform .25s var(--ease); }
.card button:hover span { transform: translate(3px, -3px); }

.how { background: var(--sage); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.step { border-top: 1px solid #c6d4c0; padding-top: 28px; }
.step .num { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.step h3 { font: 500 26px/1.2 var(--serif); margin: 18px 0 10px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Tutor ---------- */
.tutor-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: stretch; }
.tutor-portrait {
  min-height: 460px; border-radius: 30px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #34604c, #123b2d 72%);
  display: flex; align-items: center; justify-content: center;
}
.tutor-portrait::before, .tutor-portrait::after { content: ''; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -54%); }
.tutor-portrait::after { width: 260px; height: 260px; }
.tutor-portrait img { width: 170px; position: relative; z-index: 1; transform: translateY(-4%); }
.tutor-label { position: absolute; bottom: 30px; left: 30px; right: 30px; color: var(--gold-2); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.tutor-intro-content { background: var(--green); color: #f6f7ef; border-radius: 30px; padding: clamp(30px, 4vw, 52px); }
.tutor-intro-content .eyebrow { color: var(--gold-2); }
.tutor-intro-content .section-title em { color: var(--gold); }
.tutor-name { font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--gold-2); margin: -4px 0 24px; }
.tutor-name span { padding: 0 6px; opacity: .7; }
.tutor-copy { color: #cfdccf; font-size: 16px; line-height: 1.85; }
.tutor-copy p { margin: 0 0 18px; }
.tutor-intro-content .btn { margin-top: 12px; }

.journey { margin-top: 80px; padding-top: 60px; border-top: 1px solid var(--line); }
.journey-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.journey-card { background: #fff; border: 1px solid #e5ebe1; border-radius: 22px; padding: 30px; transition: transform .35s var(--ease), box-shadow .35s; }
.journey-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.journey-card .tag { display: block; margin-bottom: 14px; }
.journey-card strong { display: block; font: 500 22px/1.3 var(--serif); }
.journey-card p { font-size: 15px; color: var(--muted); margin: 8px 0 0; }

.tutor-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 60px; }
.tutor-detail { background: var(--sage); border-radius: 26px; padding: clamp(28px, 3.4vw, 42px); }
.tutor-detail p:not(.eyebrow) { font-size: 15px; line-height: 1.85; color: var(--muted); }
.tutor-detail .sub-title { margin-bottom: 14px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 90% 10%, #2b5d4a, transparent 60%), var(--green);
  color: #fff; border-radius: 34px; padding: clamp(36px, 6vw, 72px);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 50%; }
.cta .eyebrow { color: var(--gold-2); }
.cta h2 { font-size: clamp(32px, 4vw, 52px); max-width: 680px; margin: 16px 0; }
.cta h2 em { color: var(--gold); }
.cta p:not(.eyebrow) { color: #c2d2c5; margin: 0; font-size: 16.5px; }
.cta .btn { flex-shrink: 0; position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; }
.faq .section-title { margin-bottom: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 24px 0; font: 500 20px/1.35 var(--serif); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-ink); }
.faq summary::after { content: ''; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: no-repeat center/12px linear-gradient(currentColor, currentColor), no-repeat center/1.5px 12px linear-gradient(currentColor, currentColor); transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sage); }
.faq details p { margin: -6px 0 24px; color: var(--muted); font-size: 15.5px; max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #cfdccf; padding: 70px 0 50px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-brand img { width: 220px; }
.foot-links { display: grid; gap: 12px; font-size: 15px; }
.foot-links a, .foot-contact a { transition: color .2s; }
.foot-links a:hover, .foot-contact a:hover { color: var(--gold); }
.foot-contact { font-size: 15px; }
.foot-contact p { margin: 0 0 12px; }
.foot-contact a { color: var(--gold-2); font-weight: 700; }
.foot-contact .copy { margin-top: 28px; font-size: 13px; color: #8ea597; }

/* ---------- Modal ---------- */
.modal {
  border: 0; padding: 0; border-radius: 26px; width: min(600px, calc(100% - 30px));
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 90px rgba(9, 30, 26, .45); color: var(--text); background: var(--ivory);
}
.modal::backdrop { background: rgba(14, 38, 31, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .35s var(--ease) both; }
.modal[open]::backdrop { animation: fade-in .25s ease both; }
.modal.is-closing { animation: modal-out .18s ease both; }
.modal.is-closing::backdrop { animation: fade-out .18s ease both; }
.modal-inner { padding: 36px; }
.modal-head { display: flex; justify-content: space-between; gap: 20px; }
.modal h2 { font: 500 30px/1.15 var(--serif); letter-spacing: -.02em; margin: 12px 0 8px; }
.modal-head p:not(.eyebrow) { font-size: 15px; color: var(--muted); margin: 0 0 6px; }
.close { flex-shrink: 0; border: 0; background: var(--sage); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; transition: background-color .2s, transform .2s; }
.close:hover { background: #dbe5d5; transform: rotate(90deg); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-top: 14px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; border: 1px solid #d5e0d3; background: #fff; border-radius: 12px; padding: 12px 14px;
  font-size: 16px; min-height: 48px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 88px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #8fb08a; box-shadow: 0 0 0 4px rgba(143, 176, 138, .25); }
.was-validated :invalid { border-color: #c0614f; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fbeae6; color: #8c3626; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 18px 0 0; }
.modal .btn[type=submit] { width: 100%; margin-top: 22px; }
.fine { font-size: 12px; color: #8a998e; text-align: center; margin: 14px 0 0; }
.success { text-align: center; padding: 24px 0 6px; }
.success-mark { width: 72px; height: 72px; margin: 0 auto 10px; border-radius: 50%; background: var(--green); color: var(--gold); display: grid; place-items: center; font-size: 28px; animation: pop .5s var(--ease) both; }
.success h3 { font: 500 26px/1.25 var(--serif); margin: 16px 0 8px; }
.success p { color: var(--muted); margin: 0 0 8px; }
.success .btn { min-width: 160px; margin-top: 16px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes modal-out { to { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 24px; }
}
@media (max-width: 900px) {
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); cursor: pointer; z-index: 2;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 28px;
    background: #0f2c23;
    font: 500 28px var(--serif);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav-cta { font: 700 15px var(--sans); margin-top: 10px; }
  .hero { grid-template-columns: 1fr; padding: 130px 0 80px; }
  .visual { margin-top: 30px; min-height: 440px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .tutor-intro { grid-template-columns: 1fr; }
  .tutor-portrait { min-height: 320px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .header-inner { height: 74px; }
  .logo img { width: 170px; }
  .hero h1 { font-size: clamp(42px, 12vw, 54px); }
  .lead { font-size: 16.5px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 22px; }
  .hero-actions .btn { width: 100%; }
  .visual { min-height: 340px; }
  .dashboard { width: 84%; padding: 12px; }
  .floating { padding: 10px 12px; font-size: 10px; }
  .floating.one { right: 0; top: 4%; }
  .floating.two { left: 0; bottom: 4%; }
  .strip ul { font-size: 13px; justify-content: flex-start; }
  .cards, .steps, .journey-cards, .tutor-details, .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .cta .btn { width: 100%; }
  .foot { grid-template-columns: 1fr; gap: 30px; }
  .modal { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
  .modal-inner { padding: 26px 20px; }
  .modal h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
