/* =========================================================
   MULTI-PAGE ADDITIONS (inner pages, dropdown nav, new blocks)
   ========================================================= */

/* ---------- Dropdown nav ---------- */
.nav__links li { position: relative; }
.nav__links .dd-chev { width: 12px; height: 12px; display: inline-block; vertical-align: middle; margin-left: 2px; transition: transform .3s var(--ease); }
.has-dd:hover .dd-chev, .has-dd.open .dd-chev, .has-dd:focus-within .dd-chev { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 290px; padding: 10px;
  background: rgba(8,18,38,.96); border: 1px solid rgba(127,214,251,.16); border-radius: 18px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.dd::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dd:hover .dd, .has-dd.open .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__links .dd a.dd__item { display: block; padding: 12px 14px; border-radius: 12px; color: #fff; }
.nav__links .dd a.dd__item::after { display: none; }
.dd__item b { display: block; font-size: 14.5px; font-weight: 600; }
.dd__item small { display: block; font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 1px; }
.nav__links .dd a.dd__item:hover, .nav__links .dd a.dd__item.current { background: rgba(43,184,245,.12); }
.dd__item.current b { color: var(--orange-400); }
.drawer a.current { color: var(--orange-400); }
.drawer { overflow-y: auto; justify-content: flex-start; padding-top: 110px; }
.drawer a { font-size: clamp(24px, 7vw, 34px); padding: 9px 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 170px 0 130px; text-align: center;
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(30,123,234,.35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255,138,31,.16), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-850));
}
.page-hero .hero__grid-bg { mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 15%, transparent 70%); }
.page-hero__glow { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px dashed rgba(127,214,251,.16); animation: spin 70s linear infinite; }
.page-hero__glow::before { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px var(--orange); }
.page-hero__bird { position: absolute; width: 90px; right: 10%; top: 26%; opacity: .9; animation: birdCross 14s ease-in-out infinite; }
.page-hero__inner { position: relative; z-index: 2; }
.crumbs { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--orange-400); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs span { color: #fff; font-weight: 600; }
.page-hero__title { margin: 24px auto 16px; max-width: 900px; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 6vw, 72px); line-height: 1.05; letter-spacing: -.035em; }
.page-hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.page-hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-ready .page-hero__title .line > span { transform: none; }
.page-hero__title em { font-style: normal; background: linear-gradient(100deg, #6fd3ff, #ffa54f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero__sub { max-width: 640px; margin: 0 auto; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.7); }
.page-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; color: var(--white); }
.page-hero:has(+ .section--paper) .page-hero__wave, .page-hero:has(+ .message) .page-hero__wave { color: var(--paper); }
.page-hero:has(+ .section--dark) .page-hero__wave { color: var(--navy-900); }
.page-hero:has(+ .docs) .page-hero__wave { color: var(--navy-950); }

/* ---------- Small helpers ---------- */
.hero__title em, .cta__box em, .about__quote em { font-style: normal; }
.link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); transition: gap .35s var(--ease), color .3s; }
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { gap: 14px; color: var(--orange-600); }
.center-btn { display: flex; justify-content: center; margin-top: 46px; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 60px; }
.sec-row .sec-head { margin-bottom: 0; }
.request-bar p em { font-style: normal; font-weight: 700; font-family: var(--font-display); color: #fff; }
.cta { padding-top: clamp(70px, 9vw, 110px); }
.cta__box { margin-top: 0; }

/* service bullet points */
.svc__points { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.svc__points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); transition: color .4s; }
.svc__points svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: var(--sky-100); color: var(--blue); transition: background .4s, color .4s; }
.svc:hover .svc__points li { color: rgba(255,255,255,.82); }
.svc:hover .svc__points svg { background: rgba(255,138,31,.2); color: var(--orange-400); }
.svc:target { box-shadow: 0 0 0 3px var(--orange), var(--shadow-lg); }
.svc { scroll-margin-top: 110px; }

/* process grid adapts to item count */
.process { grid-template-columns: repeat(var(--cols, 4), 1fr); }

/* ---------- Mission & Vision ---------- */
.vm-big { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-panel {
  position: relative; overflow: hidden; padding: clamp(34px, 4vw, 54px); border-radius: var(--radius-lg); isolation: isolate;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: #fff; min-height: 380px;
  box-shadow: var(--shadow-lg); transition: transform .6s var(--ease);
}
.vm-panel:hover { transform: translateY(-8px); }
.vm-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 300px at 100% 0%, rgba(43,184,245,.35), transparent 60%); }
.vm-panel.or::before { background: radial-gradient(400px 300px at 100% 0%, rgba(255,138,31,.35), transparent 60%); }
.vm-panel__ic { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; background: var(--grad-sky); box-shadow: 0 18px 40px -14px rgba(30,123,234,.7); }
.vm-panel.or .vm-panel__ic { background: var(--grad-orange); box-shadow: 0 18px 40px -14px rgba(255,122,0,.7); }
.vm-panel__ic svg { width: 34px; height: 34px; color: #fff; }
.vm-panel__label { display: block; margin-top: 34px; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--sky-300); font-weight: 600; }
.vm-panel.or .vm-panel__label { color: var(--orange-400); }
.vm-panel h2 { margin: 10px 0 16px; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.03em; }
.vm-panel p { font-size: clamp(17px, 1.5vw, 20px); color: rgba(255,255,255,.78); line-height: 1.6; max-width: 520px; }
.vm-panel__bg { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; color: rgba(255,255,255,.04); z-index: -1; transition: transform 1.2s var(--ease); }
.vm-panel:hover .vm-panel__bg { transform: rotate(-12deg) scale(1.08); }

.promise-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise-card { position: relative; padding: 38px 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); overflow: hidden; transition: transform .5s var(--ease), border-color .5s, background .5s; }
.promise-card:hover { transform: translateY(-8px); border-color: rgba(43,184,245,.4); background: rgba(43,184,245,.07); }
.promise-card__n { position: absolute; right: 24px; top: 18px; font-family: var(--font-display); font-weight: 800; font-size: 70px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); }
.promise-card__ic { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,138,31,.14); color: var(--orange-400); margin-bottom: 22px; transition: transform .6s var(--ease-back); }
.promise-card:hover .promise-card__ic { transform: rotate(-10deg) scale(1.1); }
.promise-card__ic svg { width: 30px; height: 30px; }
.promise-card h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; }
.promise-card p { color: rgba(255,255,255,.65); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.feature { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature:hover::after { transform: scaleX(1); }
.feature__ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--sky); box-shadow: 0 0 0 6px var(--sky-100); margin-bottom: 22px; transition: transform .6s var(--ease-back); }
.feature:hover .feature__ic { transform: rotate(-12deg) scale(1.08); }
.feature__ic svg { width: 28px; height: 28px; }
.feature h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Home: leader quote + credential chips ---------- */
.big-quote { margin: 24px 0 18px; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; font-weight: 600; color: var(--navy-800); padding-left: 22px; border-left: 4px solid var(--orange); }
.cred-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cred-chip { display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.cred-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.cred-chip .d-ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue); }
.cred-chip .d-ic svg { width: 22px; height: 22px; }
.cred-chip div { flex: 1; min-width: 0; }
.cred-chip b { display: block; font-family: var(--font-display); font-size: 15.5px; }
.cred-chip small { display: block; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cred-chip .ok { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: #e6f8ee; color: #17a35a; }

/* doc CTA card */
.doc-card--cta { cursor: pointer; background: linear-gradient(160deg, #1f3766, #081226); display: grid; place-items: center; text-align: center; padding: 24px; }
.doc-card--cta .dc-logo { width: 64px; height: 64px; margin: 0 auto 16px; display: block; }
.doc-card--cta b { font-family: var(--font-display); font-size: 20px; display: block; color: #fff; }
.doc-card--cta .dc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--orange-400); font-weight: 600; }
.doc-card--cta .dc-link svg { width: 16px; height: 16px; }

/* ---------- Contact form states ---------- */
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; font-size: 14.5px; }
.form-alert svg { width: 22px; height: 22px; flex: none; }
.form-alert.ok { background: rgba(23,163,90,.16); border: 1px solid rgba(23,163,90,.5); color: #b9f5d3; }
.form-alert.err { background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.5); color: #ffd0d0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer socials + WhatsApp float ---------- */
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); font-weight: 700; font-size: 13px; color: #fff; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); }
.wa-float { position: fixed; left: 24px; bottom: 24px; z-index: 900; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .4s var(--ease-back); }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s ease-out infinite; }

/* ---------- Hero ship: GPU-smooth sailing + responsive sea ---------- */
.ship { left: 0; animation: sailX 40s linear infinite; will-change: transform; }
@keyframes sailX {
  from { transform: translate3d(-340px, 0, 0); }
  to   { transform: translate3d(calc(100vw + 40px), 0, 0); }
}
.ship::after { /* soft wake behind the ship */
  content: ""; position: absolute; left: -40px; bottom: 6px; width: 70px; height: 10px; border-radius: 50%;
  background: radial-gradient(ellipse at right, rgba(127,214,251,.55), transparent 70%); filter: blur(2px);
  animation: wake 1.6s ease-in-out infinite;
}
@keyframes wake { 0%,100% { opacity: .35; transform: scaleX(.8); } 50% { opacity: .8; transform: scaleX(1.1); } }

@media (max-width: 1100px) {
  .hero { padding-bottom: 250px; }
  .ship { width: 230px; bottom: 50px; animation-duration: 26s; }
  .skyline { width: 70%; opacity: .45; }
  .crane { right: 2%; bottom: 105px; width: 110px; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 230px; }
  .hero__sea { height: 180px; }
  .ship { width: 170px; bottom: 34px; animation-duration: 15s; }
  .ship::after { width: 50px; left: -28px; }
  .skyline { width: 100%; bottom: 84px; opacity: .35; }
  .crane { display: block; width: 70px; right: 3%; bottom: 92px; opacity: .75; }
  .scroll-hint { display: none; }
  .hero__visual { max-width: 340px; margin-inline: auto; }
  .hero { padding-top: 104px; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; padding: 14px 18px; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 30px; }
  .hero__trust-item { flex-direction: column; text-align: center; gap: 8px; padding: 12px 6px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
  .hero__trust-item b { font-size: 12.5px; }
  .hero__trust-item small { font-size: 10.5px; display: block; line-height: 1.35; }
}
@media (max-width: 380px) {
  .ship { width: 150px; bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .ship { animation: none; transform: translateX(10vw); }
}

/* ---------- Vision / Mission pages ---------- */
.statement { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px); border-radius: 32px; color: #fff; text-align: center; background: linear-gradient(140deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow-lg); }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 0% 0%, rgba(43,184,245,.35), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(255,138,31,.3), transparent 60%); }
.statement__ic { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; background: var(--grad-sky); box-shadow: 0 18px 40px -14px rgba(30,123,234,.7); }
.statement.or .statement__ic { background: var(--grad-orange); box-shadow: 0 18px 40px -14px rgba(255,122,0,.7); }
.statement__ic svg { width: 38px; height: 38px; color: #fff; }
.statement__label { display: block; font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; color: var(--sky-300); }
.statement.or .statement__label { color: var(--orange-400); }
.statement blockquote { margin: 18px auto 0; max-width: 900px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.3; letter-spacing: -.02em; }
.statement__q { position: absolute; width: 180px; color: rgba(255,255,255,.04); z-index: -1; }
.statement__q.l { left: 20px; top: 10px; } .statement__q.r { right: 20px; bottom: 10px; transform: rotate(180deg); }

.prose { max-width: 860px; margin: 0 auto; }
.prose p { font-size: 17.5px; color: var(--ink-2); margin-bottom: 18px; line-height: 1.75; }
.prose p:first-of-type::first-letter { float: left; font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: .9; margin: 6px 12px 0 0; color: var(--orange); }

.features--5 { grid-template-columns: repeat(6, 1fr); }
.features--5 .feature { grid-column: span 2; }
.features--5 .feature:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
.features--5 .feature:nth-child(3n+1):last-child { grid-column: 3 / span 2; }

.roadmap { position: relative; display: grid; gap: 28px; max-width: 980px; margin: 0 auto; }
.roadmap::before { content: ""; position: absolute; left: 130px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--sky), var(--orange)); opacity: .5; }
.road { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 50px; align-items: start; }
.road__year { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--orange-400); text-align: right; padding-top: 22px; }
.road__card { position: relative; padding: 26px 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: transform .5s var(--ease), border-color .5s, background .5s; }
.road__card::before { content: ""; position: absolute; left: -31px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,138,31,.2), 0 0 20px var(--orange); }
.road__card:hover { transform: translateX(8px); border-color: rgba(43,184,245,.4); background: rgba(43,184,245,.07); }
.road__card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 8px; }
.road__card p { color: rgba(255,255,255,.68); }

.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; max-width: 980px; margin: 0 auto; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 500; transition: transform .4s var(--ease), box-shadow .4s; }
.checks li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.checks li svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: var(--grad-orange); color: #fff; }
.checks--dark li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; }

.gov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gov-card { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); overflow: hidden; transition: transform .5s var(--ease), border-color .5s, background .5s; }
.gov-card:hover { transform: translateY(-8px); border-color: rgba(255,138,31,.45); background: rgba(255,138,31,.06); }
.gov-card__ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-950); box-shadow: inset 0 0 0 2px var(--sky); color: var(--sky); margin-bottom: 18px; transition: transform .6s var(--ease-back); }
.gov-card:hover .gov-card__ic { transform: rotate(-10deg) scale(1.1); }
.gov-card__ic svg { width: 30px; height: 30px; }
.gov-card h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; }
.gov-card p { color: rgba(255,255,255,.64); font-size: 14.5px; }
.gov-card__n { position: absolute; right: 18px; top: 14px; font-family: var(--font-display); font-weight: 800; font-size: 40px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); }
.gov-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: var(--grad-orange); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .12em; box-shadow: 0 12px 30px -10px rgba(255,122,0,.7); margin-bottom: 8px; }
.gov-targets { margin-top: 60px; }
.gov-targets h3 { text-align: center; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 26px; }
.gov-targets h3 em { font-style: normal; background: linear-gradient(100deg, #6fd3ff, #ffa54f); -webkit-background-clip: text; background-clip: text; color: transparent; }

.closing-line { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 3vw, 38px); line-height: 1.3; max-width: 900px; margin: 0 auto; letter-spacing: -.02em; }
.closing-line em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vm-panel .text-link { margin-top: 26px; color: #fff; }
.vm-panel .text-link:hover { color: var(--orange-400); }

@media (max-width: 1100px) {
  .gov-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .features--5 { grid-template-columns: 1fr 1fr; }
  .features--5 .feature, .features--5 .feature:nth-child(n) { grid-column: auto; }
  .checks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features--5, .gov-grid { grid-template-columns: 1fr; }
  .roadmap::before { left: 8px; }
  .road { grid-template-columns: 1fr; gap: 8px; padding-left: 34px; }
  .road__year { text-align: left; padding-top: 0; }
  .road__card::before { left: -32px; top: -26px; }
}

@media (max-width: 1100px) {
  .features--4 { grid-template-columns: repeat(2, 1fr); }
  .cred-chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .vm-big, .promise-cards, .features { grid-template-columns: 1fr; }
  .features--4 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 140px 0 110px; }
  .page-hero__bird { width: 60px; right: 6%; top: 18%; }
}
@media (max-width: 640px) {
  .features--4, .cred-chips, .process { grid-template-columns: 1fr; }
  .vm-panel { min-height: 0; }
  .page-hero__glow { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .wa-float { left: 16px; bottom: 16px; width: 50px; height: 50px; }
}

/* =========================================================
   SMOOTHNESS PASS — keep every animation on the GPU
   ========================================================= */
.wave1, .wave2, .wave3, .marquee__track, .globe-orbit, .page-hero__glow,
.about__badge svg.txt, .float-card, .ship svg, .crane .hook { will-change: transform; backface-visibility: hidden; }
[data-reveal="up"]    { transform: translate3d(0, 50px, 0); }
[data-reveal="down"]  { transform: translate3d(0, -40px, 0); }
[data-reveal="left"]  { transform: translate3d(-60px, 0, 0); }
[data-reveal="right"] { transform: translate3d(60px, 0, 0); }
[data-reveal="zoom"]  { transform: scale3d(.9, .9, 1); }
[data-reveal].in { transform: none; }
html { -webkit-tap-highlight-color: transparent; }

/* Phones & touch devices: drop the expensive effects, keep the look */
@media (max-width: 900px), (pointer: coarse) {
  /* backdrop blur is the #1 cause of scroll jank on phones */
  .float-card, .nav.scrolled, .about__quote, .btn--ghost, .crumbs, .dd, .drawer, .lightbox, .eyebrow {
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  }
  .float-card { background: rgba(12, 26, 54, .9); }
  .nav.scrolled { background: rgba(6, 12, 26, .96); }
  .about__quote { background: rgba(8, 18, 38, .88); }
  .btn--ghost { background: rgba(255, 255, 255, .08); }
  .drawer { background: #050a17; }
  .globe-halo { filter: none; opacity: .8; }

  /* no continuous repaints */
  .grad-text { animation: none; background-size: 100% auto; }
  .marquee__track { animation-duration: 28s; }
  .wave2 { animation-duration: 34s; }
  .float-card { animation-duration: 7s; }

  /* snappier, lighter scroll-in animations */
  [data-reveal] { transition-duration: .65s; }
  [data-reveal="up"]    { transform: translate3d(0, 26px, 0); }
  [data-reveal="left"]  { transform: translate3d(-30px, 0, 0); }
  [data-reveal="right"] { transform: translate3d(30px, 0, 0); }
  [data-reveal="zoom"]  { transform: scale3d(.95, .95, 1); }
  [data-reveal="blur"]  { filter: none; transform: translate3d(0, 20px, 0); }
  [data-reveal].in { transform: none; }
  .split-words .w > span { transition-duration: .6s; transition-delay: calc(var(--i) * 25ms); }
  .hero__title .line > span, .page-hero__title .line > span { transition-duration: .8s; }

  /* hover-only effects are useless on touch, skip their transitions */
  .svc, .value, .vm-card, .feature, .why__item, .doc-card, .stat, .eng-card, .promise-card, .gov-card, .road__card, .cred-chip, .checks li { transition-duration: .3s; }
  .svc:hover, .value:hover, .vm-card:hover, .feature:hover, .doc-card:hover, .eng-card:hover, .promise-card:hover, .gov-card:hover, .cred-chip:hover, .checks li:hover, .vm-panel:hover { transform: none; }

  /* lighter shadows paint faster while scrolling */
  .about__card-main, .vm-panel, .statement, .portrait__frame { box-shadow: 0 20px 40px -20px rgba(8, 18, 38, .45); }
}
