:root {
  --navy: #061d40;
  --ink: #0a2147;
  --blue: #1273ee;
  --blue-deep: #095ec5;
  --warm: #f5f4f0;
  --white: #ffffff;
  --line: #d9dfe5;
  --muted: #61718b;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--warm); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.container { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -50px; padding: 10px 14px; background: var(--navy); color: white; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; border-top: 5px solid var(--blue); }
.header-inner { height: 118px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(6, 29, 64, .14); }
.brand { display: flex; width: 245px; }
.brand img { width: 100%; display: block; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.site-nav > a:not(.nav-contact) { position: relative; }
.site-nav > a:not(.nav-contact)::after { content: ""; display: block; position: absolute; inset: auto 0 -8px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav > a:not(.nav-contact):hover::after { transform: scaleX(1); }
.nav-contact { padding: 13px 17px; color: white; background: var(--blue); letter-spacing: .04em; transition: background .2s, transform .2s; }
.nav-contact:hover { background: var(--blue-deep); transform: translateY(-2px); }
.nav-contact span, .button span { font-size: 18px; vertical-align: -1px; margin-left: 14px; }
.menu-button { display: none; }

.hero { padding: 206px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(45px, 7vw, 120px); align-items: center; }
.eyebrow, .section-label { margin: 0 0 28px; font-family: var(--mono); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; margin-right: 11px; vertical-align: -1px; border-radius: 50%; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.058em; line-height: 1.02; }
h1 { max-width: 680px; margin-bottom: 26px; font-size: clamp(52px, 5.65vw, 84px); font-weight: 700; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 542px; margin-bottom: 35px; color: #52647f; font-size: 19px; line-height: 1.65; letter-spacing: -.025em; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 17px 20px; border: 1px solid transparent; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: var(--blue-deep); }
.text-link { border-bottom: 1px solid var(--ink); padding-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.text-link span { margin-left: 8px; color: var(--blue); font-size: 16px; }

.hero-visual { position: relative; min-height: 490px; padding: 22px; background: var(--navy); color: white; box-shadow: 20px 20px 0 var(--blue); }
.hero-visual::before { content: ""; position: absolute; z-index: 0; width: 320px; height: 320px; right: -135px; top: -135px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.04), 0 0 0 85px rgba(255,255,255,.025); }
.hero-visual::after { content: ""; position: absolute; z-index: 0; width: 190px; height: 190px; left: -110px; bottom: -100px; border-radius: 50%; background: var(--blue); opacity: .95; }
.visual-topline, .visual-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.visual-topline { padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.27); color: #bac7dc; }
.visual-content { position: relative; z-index: 1; padding: 71px 28px 26px; }
.visual-kicker { margin-bottom: 12px; color: #bdc9dd; font-family: var(--mono); font-size: 10px; letter-spacing: .15em; }
.visual-status { font-size: 27px; font-weight: 700; letter-spacing: -.04em; }
.status-dot { display: inline-block; width: 10px; height: 10px; margin: 0 9px 2px 0; border-radius: 50%; background: #71dfb3; }
.pathway { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 72px; }
.path-line { position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.4); }
.path-step { position: relative; padding-top: 27px; }
.path-step::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border: 3px solid #7d8ca3; border-radius: 50%; background: var(--navy); }
.path-step.active::before { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(18,115,238,.2); }
.path-step span, .path-step small { display: block; color: #aab9d0; font-family: var(--mono); font-size: 8px; letter-spacing: .06em; }
.path-step strong { display: block; margin: 5px 0 5px; font-size: 13px; }
.path-step small { line-height: 1.35; }
.visual-bottom { position: absolute; z-index: 1; bottom: 25px; left: 28px; right: 28px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.18); color: #9aacc9; }
.hero-meta { display: flex; justify-content: space-between; padding: 43px 0 30px; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-meta b { color: var(--blue); padding: 0 18px; }

.section { padding: 140px 0; }
.statement { border-top: 1px solid var(--line); background: white; }
.statement-grid { display: grid; grid-template-columns: 26% 1fr; gap: 7%; }
.section-label { color: var(--muted); }
.section-label span { margin-right: 12px; color: var(--blue); }
.statement h2 { max-width: 830px; margin-bottom: 38px; font-size: clamp(38px, 4vw, 60px); }
.statement-copy { max-width: 665px; color: #546680; font-size: 18px; line-height: 1.7; }

.services { background: #edf2f8; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 70px; }
.section-heading h2, .principles h2 { margin: 0; font-size: clamp(42px, 4.65vw, 66px); }
.section-heading > p { max-width: 400px; margin: 0 0 8px; color: #52647f; font-size: 16px; line-height: 1.7; }
.service-list { border-top: 1px solid #bfcad6; }
.service-item { display: grid; grid-template-columns: 11% 31% 1fr 28px; gap: 26px; align-items: start; padding: 31px 10px 30px 0; border-bottom: 1px solid #bfcad6; transition: padding .25s, background .25s; }
.service-item:hover { padding-left: 20px; background: rgba(255,255,255,.58); }
.service-number, .principle-cards span { color: var(--blue); font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.service-item h3 { margin: -5px 0 0; font-size: 21px; letter-spacing: -.04em; line-height: 1.25; }
.service-item p { max-width: 545px; margin: 0; color: #546680; font-size: 14px; line-height: 1.7; }
.service-mark { color: var(--blue); font-size: 25px; line-height: .7; transition: transform .25s; }
.service-item:hover .service-mark { transform: translate(4px, -4px); }

.principles { background: white; }
.principles-grid { display: grid; grid-template-columns: 32% 1fr; gap: 8%; }
.principles-intro h2 { margin-top: 25px; }
.principle-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.principle-cards article { min-height: 190px; padding: 27px; background: white; transition: background .2s; }
.principle-cards article:hover { background: #f1f6ff; }
.principle-cards h3 { margin: 38px 0 9px; font-size: 22px; letter-spacing: -.04em; }
.principle-cards p { max-width: 220px; margin: 0; color: #60708a; font-size: 13px; line-height: 1.65; }

.contact { position: relative; overflow: hidden; background: var(--navy); color: white; }
.contact::before { content: "RGE"; position: absolute; top: -8vw; right: -3vw; color: rgba(255,255,255,.03); font-size: min(43vw, 700px); font-weight: 800; letter-spacing: -.12em; line-height: 1; }
.contact-inner { position: relative; z-index: 1; }
.section-label.light { color: #afc0db; }
.contact h2 { max-width: 850px; margin: 0 0 30px; color: white; font-size: clamp(48px, 5.7vw, 84px); }
.contact > .container > p:not(.section-label) { max-width: 490px; margin-bottom: 35px; color: #bdc9db; font-size: 17px; line-height: 1.7; }
.button-light { color: var(--navy); background: white; }
.button-light:hover { background: #dbe7fa; }
.email-link { display: block; width: fit-content; margin-top: 27px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.6); color: white; font-size: 13px; }

.site-footer { background: var(--navy); color: #9fb0cb; border-top: 1px solid rgba(255,255,255,.18); }
.footer-inner { display: flex; align-items: end; justify-content: space-between; padding: 40px 0; }
.site-footer img { width: 158px; height: 80px; object-fit: contain; object-position: left center; mix-blend-mode: screen; }
.footer-detail { display: flex; gap: 30px; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }

.reveal { animation: fade-up .8s both; }
.hero-visual.reveal { animation-delay: .15s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .container { width: min(100% - 48px, 680px); }
  .header-inner { height: 94px; }
  .brand { width: 205px; }
  .site-nav { position: absolute; top: 94px; left: 0; right: 0; display: none; padding: 25px calc((100% - min(100% - 48px, 680px))/2); background: var(--warm); border-bottom: 1px solid var(--line); flex-direction: column; align-items: start; gap: 23px; }
  .site-nav.is-open { display: flex; }
  .menu-button { display: flex; align-items: center; gap: 12px; border: 0; padding: 10px 0; color: var(--navy); background: transparent; font: 800 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .menu-icon { width: 19px; display: grid; gap: 5px; }
  .menu-icon i { height: 2px; width: 100%; background: var(--navy); }
  .hero { padding-top: 155px; }
  .hero-grid, .statement-grid, .principles-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 440px; }
  .statement { padding: 100px 0; }
  .section { padding: 100px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 25px; }
  .service-item { grid-template-columns: 70px 1fr 25px; gap: 18px; }
  .service-item p { grid-column: 2 / 3; }
  .service-mark { grid-column: 3; grid-row: 1; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .brand { width: 175px; }
  .site-nav { padding: 25px 20px; }
  h1 { font-size: 46px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { min-height: 415px; margin-right: 9px; padding: 16px; box-shadow: 10px 10px 0 var(--blue); }
  .visual-content { padding: 57px 8px 15px; }
  .pathway { margin-top: 58px; gap: 4px; }
  .path-step { padding-top: 23px; }
  .path-step strong { font-size: 11px; }
  .path-step small { font-size: 7px; }
  .visual-bottom { left: 23px; right: 23px; }
  .hero-meta { display: block; padding-top: 32px; line-height: 2.1; }
  .hero-meta p { margin: 0; }
  .section-heading { margin-bottom: 46px; }
  .service-item { grid-template-columns: 45px 1fr 22px; gap: 12px; padding: 25px 0; }
  .service-item:hover { padding-left: 9px; }
  .service-item h3 { font-size: 18px; }
  .principle-cards { grid-template-columns: 1fr; }
  .principle-cards article { min-height: 160px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 30px; }
  .footer-detail { flex-direction: column; gap: 10px; }
}

/* Review fixes: keep the framework footer below the four steps. */
.visual-bottom { position: relative; inset: auto; margin-top: 32px; }
a:focus-visible, button:focus-visible { outline: 3px solid #1273ee; outline-offset: 5px; }
.email-link { max-width: 100%; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
