:root {
  --navy: #061a3a;
  --blue: #2067ff;
  --cyan: #1cc0e2;
  --white: #ffffff;
  --mist: #f3f7ff;
  --muted: #5e7195;
  --line: #d9e3f5;
  --page: min(1180px, calc(100% - 64px));
  color: var(--navy);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
.project-brand { display: block; margin-bottom: 14px; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--white); color: var(--navy); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 10px 14px; background: var(--navy); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header, .projects-inner, .approach-inner, .footer-inner { width: var(--page); margin: 0 auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }

.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: .98rem; font-weight: 750; letter-spacing: -.025em; text-decoration: none; }
.brand img, .footer-brand img { display: block; width: 30px; height: 30px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-size: .9rem; font-weight: 580; }
.main-nav > a:not(.intranet) { color: var(--muted); text-decoration: none; }
.main-nav > a:not(.intranet):hover { color: var(--blue); }
.intranet { padding: 9px 14px; border: 1px solid #b7c9ed; border-radius: 5px; color: var(--navy); text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.intranet:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }

.hero { width: var(--page); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr); align-items: center; gap: clamp(48px, 9vw, 156px); min-height: 620px; margin: 0 auto; padding: 82px 0 104px; }
.eyebrow, .section-kicker { margin: 0 0 20px; color: var(--blue); font-size: .72rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 750px; margin-bottom: 27px; font-size: clamp(3.1rem, 6.4vw, 6.25rem); font-weight: 720; letter-spacing: -.065em; line-height: .94; }
.hero-copy > p:last-child { max-width: 530px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }

.hero-signature { justify-self: center; display: flex; flex-direction: column; align-items: flex-start; color: var(--navy); }
.hero-mark-wrap { width: clamp(150px, 18vw, 224px); overflow: hidden; clip-path: inset(0 100% 0 0); animation: mark-reveal 850ms cubic-bezier(.22, .82, .22, 1) 150ms forwards; }
.hero-mark { display: block; width: 100%; height: auto; }
.hero-wordmark { margin: 20px 0 0; opacity: 0; transform: translateY(12px); font-size: clamp(1.65rem, 2.8vw, 2.35rem); font-weight: 760; letter-spacing: -.06em; animation: wordmark-enter 620ms cubic-bezier(.22, .82, .22, 1) 930ms forwards; }
.hero-wordmark span { color: var(--blue); }
@keyframes mark-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes wordmark-enter { to { opacity: 1; transform: translateY(0); } }

.projects { border-top: 1px solid var(--line); background: var(--mist); }
.projects-inner { padding: 112px 0 120px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .64fr); align-items: end; gap: 42px; margin-bottom: 52px; }
h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4.5vw, 4.2rem); font-weight: 720; letter-spacing: -.062em; line-height: .96; }
.section-heading > p { max-width: 380px; margin: 0 0 3px; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.project-card { display: flex; flex-direction: column; min-height: 325px; padding: 27px 28px 25px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); text-decoration: none; transition: border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease; }
.project-card:hover { border-color: #a8c4ff; box-shadow: 0 14px 35px rgba(27, 81, 173, .12); transform: translateY(-3px); }
.project-index { margin-bottom: auto; color: var(--cyan); font-size: .72rem; font-weight: 780; letter-spacing: .1em; }
h3 { margin-bottom: 8px; font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 730; letter-spacing: -.05em; line-height: 1.06; }
.project-card p { max-width: 260px; margin-bottom: 24px; color: var(--muted); font-size: .96rem; line-height: 1.52; }
.visit { color: var(--blue); font-size: .75rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.visit::after { content: "  ↗"; color: var(--cyan); }

.approach { background: var(--navy); color: var(--white); }
.approach-inner { display: grid; grid-template-columns: minmax(170px, .55fr) minmax(0, 1.34fr) auto; align-items: end; gap: 48px; padding: 114px 0; }
.approach .section-kicker { margin: 0; color: var(--cyan); }
.approach h2 { max-width: 620px; margin-bottom: 26px; }
.approach p:not(.section-kicker) { max-width: 560px; margin-bottom: 0; color: #b8cae8; font-size: 1.08rem; line-height: 1.62; }
.approach-link { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid var(--cyan); color: var(--white); font-size: .9rem; font-weight: 680; text-decoration: none; white-space: nowrap; }
.approach-link span { margin-left: 8px; color: var(--cyan); }

.site-footer { background: #04132d; color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 33px 0; }
.footer-brand { color: var(--white); }
.footer-inner p { margin: 0; color: #97add1; font-size: .8rem; }
.contact { color: var(--white); font-size: .88rem; text-decoration-color: var(--cyan); text-underline-offset: 4px; }

@media (max-width: 760px) {
  :root { --page: min(100% - 40px, 1180px); }
  .site-header { align-items: flex-start; min-height: 76px; padding: 18px 0; }
  .main-nav { justify-content: flex-end; gap: 12px 16px; }
  .main-nav > a:not(.intranet) { display: none; }
  .intranet { padding: 8px 10px; font-size: .78rem; }
  .hero { grid-template-columns: 1fr; gap: 52px; min-height: auto; padding: 72px 0 82px; }
  h1 { font-size: clamp(3rem, 14.2vw, 5.4rem); }
  .hero-signature { justify-self: start; flex-direction: row; align-items: center; gap: 19px; }
  .hero-mark-wrap { width: 112px; }
  .hero-wordmark { margin: 0; font-size: 1.8rem; }
  .projects-inner { padding: 76px 0 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 34px; }
  .project-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-card { min-height: 220px; padding: 23px; }
  .approach-inner { grid-template-columns: 1fr; gap: 28px; padding: 80px 0; }
  .approach h2 { margin-bottom: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; padding: 31px 0; }
}

@media (max-width: 390px) {
  :root { --page: calc(100% - 32px); }
  .brand span { font-size: .88rem; }
  .brand img { width: 27px; height: 27px; }
  .hero { padding-top: 58px; }
  h1 { font-size: clamp(2.72rem, 14vw, 3.6rem); }
  .hero-signature { gap: 14px; }
  .hero-mark-wrap { width: 92px; }
  .hero-wordmark { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .hero-mark-wrap { animation: none !important; clip-path: inset(0); }
  .hero-wordmark { animation: none !important; opacity: 1; transform: none; }
}
