/* =========================================================
   Maduna Direct Marketing (Pty) Ltd — main stylesheet
   Palette taken from the logo: deep navy + target gold
   ========================================================= */
:root {
  --navy: #10234d;
  --navy-deep: #0a1733;
  --navy-soft: #1b3368;
  --gold: #dcb466;
  --gold-deep: #b98f3e;
  --gold-light: #f1dcae;
  --ink: #18213a;
  --muted: #5d6680;
  --cream: #f8f5ef;
  --white: #ffffff;
  --line: rgba(16, 35, 77, 0.12);
  --radius: 14px;
  --shadow: 0 18px 45px -20px rgba(10, 23, 51, 0.45);
  --display: "Playfair Display", Georgia, serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 100px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--white); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section--navy .lead { color: rgba(255,255,255,.75); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.gold { color: var(--gold); }
.section-head { margin-bottom: 3.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.9rem; border-radius: 50px; border: 2px solid transparent;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy-deep); box-shadow: 0 12px 28px -12px rgba(220,180,102,.8); }
.btn--outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
.header.scrolled, .header.solid { background: rgba(10, 23, 51, .96); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.5); padding: 10px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .8rem; color: var(--white); }
.brand img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(220,180,102,.4); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--body); font-size: .66rem; letter-spacing: .25em; color: var(--gold); font-weight: 500; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,.85); font-weight: 500; font-size: .97rem; position: relative; padding: 4px 0; transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--white); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .btn { padding: .7rem 1.4rem; color: var(--navy-deep); }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero slider (Ken Burns) ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy-deep); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slide.active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,23,51,.94) 0%, rgba(10,23,51,.75) 45%, rgba(10,23,51,.35) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; max-width: 720px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.9rem); margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.82); margin-bottom: 2.3rem; max-width: 560px; }
.hero-dots { position: absolute; z-index: 3; bottom: 42px; left: 50%; transform: translateX(-50%); display: flex; gap: .7rem; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--gold); background: transparent; cursor: pointer; transition: all .3s; }
.hero-dots button.active { background: var(--gold); width: 34px; border-radius: 10px; }
.scroll-cue { position: absolute; z-index: 3; bottom: 40px; right: 4%; color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl; display: flex; align-items: center; gap: .8rem; }
.scroll-cue::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 190px 0 110px; color: var(--white); overflow: hidden; background: var(--navy-deep); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,23,51,.95), rgba(10,23,51,.6)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); margin-bottom: .6rem; }
.crumbs { color: rgba(255,255,255,.7); font-size: .95rem; }
.crumbs a { color: var(--gold); }

/* ---------- Values strip ---------- */
.values-strip { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: var(--navy-deep); padding: 26px 0; overflow: hidden; }
.marquee { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--display); font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee span::after { content: "\2726"; font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.img-stack { position: relative; padding: 0 40px 40px 0; }
.img-stack img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.img-stack::before { content: ""; position: absolute; right: 0; bottom: 0; width: 75%; height: 75%; border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.badge-float { position: absolute; left: -24px; bottom: 70px; background: var(--navy); color: var(--white); padding: 1.2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 230px; border-left: 4px solid var(--gold); }
.badge-float strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--gold); }
.badge-float span { font-size: .88rem; opacity: .85; }
.check-list { margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list i { color: var(--gold-deep); margin-top: .35rem; }
.section--navy .check-list i { color: var(--gold); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.3rem 2rem; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); transition: width .5s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { width: 100%; }
.card p { color: var(--muted); }
.icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-size: 1.5rem; margin-bottom: 1.4rem;
  transition: transform .5s var(--ease), background .4s;
}
.card:hover .icon { transform: rotate(-8deg) scale(1.06); background: var(--gold); color: var(--navy); }
.card .num { position: absolute; right: 1.4rem; top: 1rem; font-family: var(--display); font-size: 3.2rem; font-weight: 700; color: rgba(16,35,77,.06); }
.card-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-weight: 600; color: var(--navy); }
.card-link i { transition: transform .3s; }
.card-link:hover i { transform: translateX(5px); }

.value-card { text-align: center; padding: 2.5rem 1.6rem; }
.value-card .icon { margin-inline: auto; border-radius: 50%; }
.section--navy .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); color: var(--white); }
.section--navy .card p { color: rgba(255,255,255,.72); }
.section--navy .card .icon { background: var(--gold); color: var(--navy); }
.section--navy .card .num { color: rgba(255,255,255,.06); }

/* ---------- Team ---------- */
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px -18px rgba(10,23,51,.35); transition: transform .45s var(--ease), box-shadow .45s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.team-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(10,23,51,.55)); opacity: 0; transition: opacity .5s; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-card:hover .team-photo::after { opacity: 1; }
.team-info { padding: 1.3rem 1.2rem 1.5rem; text-align: center; border-top: 4px solid var(--gold); }
.team-info h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.team-info span { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }

/* ---------- Career path ---------- */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.path::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); }
.step { text-align: center; position: relative; }
.step .dot {
  width: 78px; height: 78px; margin: 0 auto 1.2rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--navy-deep); border: 2px solid var(--gold); color: var(--gold);
  position: relative; z-index: 1; transition: transform .4s var(--ease), background .4s, color .4s;
}
.step:hover .dot { transform: scale(1.1); background: var(--gold); color: var(--navy); }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; color: rgba(255,255,255,.7); }
.step small { display: block; font-size: .72rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; margin-bottom: .3rem; }

/* ---------- Quote band ---------- */
.quote-band { position: relative; padding: 120px 0; color: var(--white); text-align: center; overflow: hidden; }
.quote-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band::after { content: ""; position: absolute; inset: 0; background: rgba(10,23,51,.86); }
.quote-band .container { position: relative; z-index: 2; }
.quote-band blockquote { font-family: var(--display); font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-style: italic; max-width: 900px; margin: 0 auto 2rem; }
.quote-band i.fa-quote-left { font-size: 2.4rem; color: var(--gold); margin-bottom: 1.2rem; }

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 300px; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; display: block; width: 100%; border: 0; padding: 0; background: none; }
.gallery-item img { width: 100%; transition: transform .8s var(--ease), filter .5s; }
.gallery-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: var(--gold);
  background: linear-gradient(transparent 30%, rgba(10,23,51,.85)); opacity: 0; transition: opacity .4s;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover::after { opacity: 1; }
.gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; grid-auto-flow: dense; }
.gallery-preview .gallery-item { margin: 0; height: 100%; }
.gallery-preview .gallery-item img { height: 100%; object-fit: cover; }
.gallery-preview .tall { grid-row: span 2; }
.gallery-preview .wide { grid-column: span 2; }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,12,28,.95); display: none; align-items: center; justify-content: center; padding: 4vh 4vw; }
.lightbox.open { display: flex; animation: fadeIn .3s; }
.lightbox img { max-height: 88vh; max-width: 88vw; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(220,180,102,.4); color: var(--gold); width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background .3s; }
.lightbox button:hover { background: var(--gold); color: var(--navy); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .9rem; letter-spacing: .15em; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%); color: var(--white); border-radius: 24px; padding: 4rem; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(220,180,102,.12); }
.cta-band::after { content: ""; position: absolute; right: 40px; top: 40px; width: 100px; height: 100px; border-radius: 50%; border: 14px solid rgba(220,180,102,.16); }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.75); }
.cta-band .btn { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.info-list { display: grid; gap: 1.4rem; margin: 2rem 0; }
.info-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.info-item .icon { width: 54px; height: 54px; font-size: 1.15rem; margin: 0; flex-shrink: 0; border-radius: 14px; }
.info-item h4 { font-family: var(--body); font-size: 1rem; font-weight: 600; }
.info-item p { color: var(--muted); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: 20px; padding: 3rem; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--navy); }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1.1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfbfd; color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(220,180,102,.18); }
.field input[readonly] { background: var(--cream); color: var(--navy); font-weight: 600; cursor: not-allowed; }
.file-drop { border: 2px dashed rgba(16,35,77,.25); border-radius: 12px; padding: 1.6rem; text-align: center; cursor: pointer; transition: border-color .3s, background .3s; background: #fbfbfd; display: block; }
.file-drop:hover, .file-drop.drag { border-color: var(--gold); background: rgba(220,180,102,.07); }
.file-drop i { font-size: 1.8rem; color: var(--gold-deep); margin-bottom: .4rem; }
.file-drop strong { display: block; color: var(--navy); }
.file-drop span { font-size: .85rem; color: var(--muted); }
.file-drop input { display: none; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: .35rem; accent-color: var(--navy); width: 17px; height: 17px; flex-shrink: 0; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: 10px; margin-top: 1rem; font-weight: 500; }
.form-status.ok { display: block; background: #e8f6ee; color: #1d7a46; }
.form-status.err { display: block; background: #fdecea; color: #b03a2e; }
.hp { position: absolute; left: -9999px; }

.apply-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.apply-aside { position: sticky; top: 110px; }
.perk { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.perk i { color: var(--gold); font-size: 1.2rem; margin-top: .3rem; width: 24px; }
.perk h4 { font-family: var(--body); font-size: 1rem; }
.perk p { font-size: .93rem; color: rgba(255,255,255,.7); }

/* ---------- Footer ---------- */
.fb-follow { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.4rem; padding: .7rem 1.3rem .7rem .7rem; border-radius: 50px; border: 1px solid rgba(220,180,102,.4); color: var(--white); font-weight: 500; font-size: .93rem; transition: background .3s, border-color .3s, transform .3s; }
.fb-follow i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1877f2; color: #fff; }
.fb-follow:hover { background: rgba(255,255,255,.06); border-color: var(--gold); transform: translateY(-2px); }
.footer-contact a { transition: color .3s; word-break: break-word; }
.footer-contact a:hover { color: var(--gold); }
.info-item a { color: var(--navy); font-weight: 500; word-break: break-word; }
.info-item a:hover { color: var(--gold-deep); }
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 80px 0 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep)); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.5fr; gap: 44px; padding-bottom: 60px; }
.footer h4 { color: var(--white); font-family: var(--body); font-size: 1.05rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer .brand { margin-bottom: 1.2rem; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .9rem; }
.footer-contact i { color: var(--gold); margin-top: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.footer-bottom a { color: var(--gold); }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--gold); color: var(--navy); font-size: 1.1rem; cursor: pointer; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; } .delay-2 { transition-delay: .24s; } .delay-3 { transition-delay: .36s; } .delay-4 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split--wide, .apply-wrap { grid-template-columns: 1fr; gap: 50px; }
  .apply-aside { position: static; }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 82%);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    padding: 2.5rem; background: var(--navy-deep); transform: translateX(100%);
    transition: transform .45s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.15rem; }
  .menu-toggle { position: relative; z-index: 2; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .path::before { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 3rem 2rem; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .form-card { padding: 2rem 1.4rem; }
  .img-stack { padding: 0 20px 20px 0; }
  .badge-float { left: 10px; bottom: 40px; }
  .gallery-preview { grid-auto-rows: 170px; }
  .scroll-cue { display: none; }
  .brand span { font-size: 1rem; }
  .brand img { width: 44px; height: 44px; }
  .hero-content { padding-top: 110px; }
}