/* SportsEd Solutions: public website.
   Brand: navy #002B58, orange #FF6504, Poppins. One bold element (the hero before/after);
   everything else is quiet and left aligned. */
:root {
  --navy: #002b58;
  --navy-deep: #001a36;
  --orange: #ff6504;
  --orange-dark: #d94f00;
  --ink: #0f1b2b;
  --body: #3d4a5c;
  --mist: #eef2f7;
  --line: #dde3eb;
  --white: #fff;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--body);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 10px; border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-line { border-color: var(--line); color: var(--navy); }
.btn-line:hover { border-color: var(--navy); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

/* ---------- Nav ---------- */
.nav { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.4) blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: 78px; }
.nav-logo img { display: block; width: 112px; height: auto; }
.nav-actions { display: flex; gap: .6rem; flex: none; }
.nav-cta { padding: .6rem 1.1rem; font-size: .92rem; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; max-width: 13ch; }
.lede { font-size: 1.1rem; margin-top: 1.4rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.demo-hint { font-size: .85rem; color: #6b7788; margin-top: .9rem; text-align: center; }

/* ---------- Before / after ---------- */
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 1073 / 861; container-type: inline-size;
  border-radius: 16px; overflow: hidden; background: #ccc; touch-action: pan-y;
  box-shadow: 0 1px 2px rgba(0, 27, 54, .08), 0 30px 60px -20px rgba(0, 27, 54, .35);
}
.ba-wrap { margin: 0; }
.ba-pane { position: absolute; inset: 0; }
.ba-after img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--orange); pointer-events: none; }
.ba-handle span {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--orange); box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.ba-handle span::before, .ba-handle span::after {
  content: ''; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent;
}
.ba-handle span::before { left: 7px; border-right: 8px solid #fff; border-left: 0; }
.ba-handle span::after { right: 7px; border-left: 8px solid #fff; border-right: 0; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid #fff; outline-offset: 3px; }
.ba-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.ba-caption span { display: inline-flex; align-items: center; gap: .5rem; }
.ba-caption span::before { content: ''; width: .7rem; height: .7rem; border-radius: 50%; background: #9aa3ae; }
.cap-after { color: var(--orange-dark); }
.cap-after::before { background: var(--orange) !important; order: 2; }

/* The original: a familiar text-wall slide */
.old { height: 100%; display: flex; flex-direction: column; background: #f3f3f1; font-family: Arial, Helvetica, sans-serif; color: #222; }
.old-bar { background: #4a6a9a; color: #fff; font-size: 2.3cqw; font-weight: 700; padding: 1.3cqw 2.6cqw; }
.old-body { flex: 1; padding: 1.8cqw 3cqw 0; font-family: 'Times New Roman', Times, serif; overflow: hidden; }
.old-p { font-size: 2.05cqw; line-height: 1.38; margin-bottom: 1.4cqw; }
.old-h { font-size: 2.6cqw; font-weight: 700; text-decoration: underline; margin-bottom: 1cqw; }
.old ul { margin: 0; padding-left: 3.4cqw; font-size: 2.05cqw; line-height: 1.32; }
.old li { margin-bottom: .6cqw; }
.old-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #c8c8c8; padding: 1.2cqw 2.6cqw; font-size: 1.75cqw; color: #666; }
.old-btn { background: linear-gradient(#fdfdfd, #d9d9d9); border: 1px solid #999; color: #333; padding: .3cqw 1.6cqw; border-radius: 3px; }

/* ---------- Section basics ---------- */
.build, .make, .portal { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.eyebrow { color: var(--orange-dark); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.sec-h { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; max-width: 22ch; }
.sec-sub { margin-top: 1rem; max-width: 40em; font-size: 1.05rem; }
.btn svg { width: 1.1em; height: 1.1em; margin-left: .45rem; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }

/* Icon tiles used by the signs and formats */
.tile-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #ffe9db; color: var(--orange-dark); margin-bottom: 1.1rem; }
.tile-ico svg { width: 24px; height: 24px; }
.tile-navy { background: var(--navy); color: #fff; }

.hero { background: var(--mist); }

/* ---------- Homepage step card ---------- */
.start { background: #fff; border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.start-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.start-copy h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; max-width: 16ch; margin-bottom: 1rem; }
.start-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; }
.start-points li { display: flex; gap: .65rem; align-items: center; color: var(--ink); font-size: .97rem; }
.start-points svg { width: 20px; height: 20px; flex: none; color: var(--orange); }
.sc-card { background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(0, 43, 88, .28), 0 0 0 1px rgba(0, 43, 88, .06); padding: clamp(1.4rem, 3.5vw, 2.25rem); overflow: hidden; }
.sc-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.sc-count { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); white-space: nowrap; }
.sc-bar { flex: 1; height: 6px; border-radius: 6px; background: #e6ebf2; overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: 25%; background: var(--orange); border-radius: inherit; transition: width .35s ease; }
.is-stepped .sc-steps { display: grid; }
.is-stepped .sc-step { grid-area: 1 / 1; }
.sc-step { border: 0; margin: 0; padding: 0; min-width: 0; transition: transform .26s ease, opacity .26s ease; }
.sc-step + .sc-step { margin-top: 2rem; }
.is-stepped .sc-step + .sc-step { margin-top: 0; }
.sc-step[data-enter=right] { transform: translateX(48px); opacity: 0; transition: none; }
.sc-step[data-enter=left] { transform: translateX(-48px); opacity: 0; transition: none; }
.sc-step[data-leave] { pointer-events: none; opacity: 0; }
.sc-step[data-leave=left] { transform: translateX(-48px); }
.sc-step[data-leave=right] { transform: translateX(48px); }
.sc-q { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; color: var(--navy); line-height: 1.25; padding: 0; margin-bottom: .4rem; letter-spacing: -.01em; }
.sc-hint { margin: 0 0 1rem; font-size: .92rem; }
.sc-q + .sc-opts, .sc-q + .sc-fields { margin-top: 1.1rem; }
.sc-opts { display: grid; gap: .7rem; }
.sc-grid { grid-template-columns: 1fr 1fr; }
.sc-opt { position: relative; display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.sc-opt:hover { border-color: #b9c4d2; }
.sc-opt:active { transform: scale(.985); }
.sc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sc-ico { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--mist); color: var(--navy); transition: background .15s, color .15s; }
.sc-ico svg { width: 21px; height: 21px; }
.sc-txt { display: grid; line-height: 1.3; min-width: 0; }
.sc-txt b { color: var(--ink); font-weight: 600; font-size: .98rem; }
.sc-txt small { font-size: .85rem; color: var(--body); }
.sc-tick { margin-left: auto; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; transition: background .15s, border-color .15s; }
.sc-tick svg { width: 14px; height: 14px; opacity: 0; }
.sc-opt:has(input:checked) { border-color: var(--orange); background: #fff6f0; }
.sc-opt:has(input:checked) .sc-ico { background: var(--orange); color: #fff; }
.sc-opt:has(input:checked) .sc-tick { background: var(--orange); border-color: var(--orange); }
.sc-opt:has(input:checked) .sc-tick svg { opacity: 1; }
.sc-opt:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.sc-fields label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .9rem; }
.sc-fields input { display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem; font: inherit; font-weight: 400; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.sc-fields input:focus { outline: none; border-color: var(--navy); }
.sc-error { min-height: 1.4em; margin: .6rem 0 0; font-size: .9rem; font-weight: 600; color: #c0392b; }
.sc-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: .6rem; }
.sc-next { margin-left: auto; }
.sc-back svg, .sc-next svg { width: 18px; height: 18px; }
.sc-done { text-align: center; padding: 1.5rem .5rem; outline: none; }
.sc-done-ico { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; }
.sc-done-ico svg { width: 28px; height: 28px; }
.sc-done h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.sc-done p { margin: 0 0 1.4rem; }
@media (max-width: 960px) { .start-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .sc-grid { grid-template-columns: 1fr; } .sc-opt { padding: .75rem .85rem; } }
@media (prefers-reduced-motion: reduce) { .sc-step, .sc-bar i, .sc-opt { transition: none; } }

/* ---------- New builds and refreshes: question, two ways, before-and-after gallery, process ---------- */
.build { background: var(--navy); color: rgba(255, 255, 255, .82); overflow: hidden; }
.build .sec-h { color: #fff; max-width: 20ch; margin: 0 auto; }
.build .eyebrow { color: var(--orange); }
.build-head { text-align: center; }
.build-head .sec-sub { margin-left: auto; margin-right: auto; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 900px; margin: 2.4rem auto 0; }
.path { border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 1.4rem 1.5rem; background: rgba(255, 255, 255, .05); }
.path b { display: block; color: #fff; font-weight: 700; font-size: 1.1rem; margin: .8rem 0 .35rem; }
.path span:last-child { font-size: .95rem; }
.path-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--orange); color: #fff; }
.path-ico svg { width: 22px; height: 22px; }

/* The gallery */
.pg { position: relative; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; outline: none; }
.pg:focus-visible { box-shadow: inset 0 0 0 3px var(--orange); }
.pg-intro { text-align: center; color: rgba(255, 255, 255, .8); font-size: .95rem; padding: 0 24px; }
.pg-intro b { color: #fff; }
.pg-stage {
  position: relative; height: calc(var(--pg-h, 300px) + 3rem); margin-top: 1.4rem;
  perspective: 1600px; transform-style: preserve-3d; touch-action: pan-y;
}
.pg-card {
  position: absolute; left: 50%; top: 1.5rem; width: var(--pg-w, 600px); height: var(--pg-h, 300px);
  margin-left: calc(var(--pg-w, 600px) / -2); will-change: transform;
}
.pg-btn {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: #dfe5ec; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .15);
}
.pg-btn img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.pg-btn { transition: box-shadow .35s ease; }
.pg-btn[aria-current="true"] { cursor: zoom-in; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 3px var(--orange); }
.pg-btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.pg-bar { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.4rem; padding: 0 24px; }
.pg-cap { min-height: 1.6em; max-width: 34rem; text-align: center; color: #fff; font-weight: 600; }
.pg-count { display: inline-block; margin-right: .5rem; padding: .1rem .55rem; border-radius: 99px; background: rgba(255, 101, 4, .2); color: var(--orange); font-size: .85rem; font-variant-numeric: tabular-nums; }
.pg-nav { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; cursor: pointer; transition: background-color .15s, transform .1s, opacity .15s; }
.pg-nav:hover:not(:disabled) { background: rgba(255, 255, 255, .1); }
.pg-nav:active:not(:disabled) { transform: scale(.92); }
.pg-nav:disabled { opacity: .3; cursor: default; }
.pg-nav svg { width: 20px; height: 20px; }
.pg-hint { text-align: center; font-size: .85rem; color: rgba(255, 255, 255, .55); margin-top: .5rem; padding: 0 24px; }
.pg-dialog { padding: 0; border: 0; border-radius: 14px; max-width: min(1400px, 94vw); background: #fff; }
.pg-dialog::backdrop { background: rgba(0, 16, 34, .8); }
.pg-dialog img { display: block; width: 100%; height: auto; }
.pg-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* The process */
.steps-h { color: #fff; font-size: 1.3rem; font-weight: 700; margin: clamp(3rem, 6vw, 4rem) 0 0; text-align: center; }
.steps { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; grid-template-rows: auto 1fr; column-gap: .9rem; align-content: start; }
.steps li::before {
  content: counter(step); grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 700;
}
.steps b { color: #fff; font-weight: 600; }
.steps span { font-size: .95rem; }
.build .wrap > .btn { display: flex; width: max-content; margin: 0 auto; }

/* Shield photos */
.shield-photo { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .25)); }
.shield-edge { fill: none; stroke-width: 9; stroke-linejoin: round; }
.shield-dark .shield-edge { stroke: #fff; }
.shield-light .shield-edge { stroke: var(--navy); }

/* ---------- What we make: one row per format, with recent work ---------- */
.work-list { display: grid; gap: clamp(3rem, 7vw, 5.5rem); margin-top: 3rem; }
.work { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.work:nth-child(even) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); }
.work:nth-child(even) .work-img { order: 2; }
.work-img { margin: 0; border-radius: 16px; overflow: hidden; background: var(--mist); box-shadow: 0 1px 2px rgba(0, 27, 54, .08), 0 30px 60px -24px rgba(0, 27, 54, .4); }
.work-img img { display: block; width: 100%; height: auto; }
.work-num { font-weight: 800; font-size: .9rem; letter-spacing: .14em; color: var(--orange-dark); margin-bottom: .6rem; }
.work h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; margin-bottom: .8rem; }
.work p { font-size: 1rem; }
.format-out { margin-top: 1.1rem; font-size: .93rem; color: var(--ink); }
.format-out b { color: var(--orange-dark); margin-right: .3rem; }
.work-note { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .9rem !important; color: #6b7788; }

/* ---------- Client portal ---------- */
.portal { background: var(--navy-deep); color: rgba(255, 255, 255, .8); overflow: hidden; }
.portal .sec-h { color: #fff; max-width: 16ch; }
.portal .eyebrow { color: var(--orange); }
.portal-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.portal-list { list-style: none; padding: 0; margin: 2rem 0 2.4rem; display: grid; gap: 1.1rem; }
.portal-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .9rem; align-items: start; }
.portal-list b { display: block; color: #fff; font-weight: 600; }
.portal-list li > span:last-child { font-size: .95rem; }
.p-ico { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: rgba(255, 101, 4, .16); color: var(--orange); }
.p-ico svg { width: 22px; height: 22px; }
.btn-on-navy { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-on-navy:hover { border-color: #fff; }
.portal-shots { position: relative; padding-bottom: 18%; }
.browser { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.browser img { display: block; width: 100%; height: auto; }
.b-bar { display: flex; gap: 6px; padding: 9px 12px; background: #e6ebf1; }
.b-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3ccd7; }
.b-back { width: 88%; }
.b-front { position: absolute; width: 74%; right: 0; bottom: 0; }

/* ---------- Proof: stats ---------- */
.proof { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.stats { list-style: none; margin: 0; padding: 2.4rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { display: flex; gap: 1rem; align-items: flex-start; }
.stat-ico { color: var(--orange); flex: none; }
.stat-ico svg { width: 34px; height: 34px; }
.stats b { display: block; font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.stats small { display: block; font-size: .92rem; color: var(--body); margin-top: .2rem; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: rgba(255, 255, 255, .82); padding: clamp(3.5rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: 6%; top: -30%; width: 260px; aspect-ratio: 233 / 293; background: url('/img/shield.svg') center / contain no-repeat; pointer-events: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner > div { max-width: 36em; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .5rem; }

/* ---------- Contact ---------- */
.contact { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 800; max-width: 14ch; }
.contact .lede { margin-top: 1.2rem; }
.next-steps { list-style: none; padding: 0; margin: 2.2rem 0 0; counter-reset: step; display: grid; gap: 1.1rem; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .9rem; }
.next-steps li::before { content: counter(step); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; }
.next-steps b { color: var(--navy); }
.next-steps span { font-size: .95rem; }
.contact-form { background: #fff; border-radius: 18px; padding: clamp(1.5rem, 3.5vw, 2.4rem); box-shadow: 0 2px 4px rgba(0, 27, 54, .05), 0 24px 60px rgba(0, 27, 54, .12); }
.enquiry label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 1.1rem; }
.enquiry input[type=text], .enquiry input[type=email], .enquiry textarea {
  display: block; width: 100%; margin-top: .4rem; font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
}
.enquiry input:focus, .enquiry textarea:focus { outline: none; border-color: var(--navy); }
.enquiry textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.needs { border: 0; padding: 0; margin: 0 0 1.1rem; }
.needs legend { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .5rem; padding: 0; }
.needs { display: flex; flex-wrap: wrap; gap: .5rem; }
.enquiry .need { margin: 0; font-weight: 500; }
.need input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.need span { display: inline-block; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 99px; font-size: .9rem; color: var(--ink); cursor: pointer; }
.need input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.need input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #fdecec; color: #8a1c1c; border-left: 4px solid #c62828; padding: .8rem 1rem; border-radius: 8px; margin-bottom: 1.2rem; font-size: .95rem; }
.sent { text-align: left; }
.sent-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e9f6ee; color: #1b7a43; margin-bottom: 1rem; }
.sent-ico svg { width: 26px; height: 26px; margin: 0; }
.sent h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: .6rem; }
.sent p { margin-bottom: 1.6rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 2.5rem; font-size: .93rem; }
.foot-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 3rem; align-items: start; }
.foot-inner img { width: 120px; }
.foot-inner > p:first-of-type { max-width: 30em; }
.foot-links { display: grid; gap: .5rem; }
.foot-links a { color: #fff; text-decoration: none; }
.foot-links a:hover { color: var(--orange); }
.foot-small { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .work, .work:nth-child(even), .portal-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .work:nth-child(even) .work-img { order: 0; }
  .hero h1 { max-width: 16ch; }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-inner { gap: 1rem; justify-content: space-between; min-height: 66px; }
  .nav-logo img { width: 84px; }
  .nav-actions { gap: .4rem; }
  .nav-cta { padding: .5rem .75rem; font-size: .82rem; }
  .cta::after { display: none; }
  .steps, .stats, .paths { grid-template-columns: 1fr; }
  .pg-cap { font-size: .9rem; }
}
