@font-face {
  font-family: "Montserrat";
  src: url("./assets/Montserrat-latin.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/Inter-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  --blue: #073b86;
  --orange: #f58213;
  --orange-deep: #b94700;
  --navy: #061a33;
  --ink: #121b2a;
  --muted: #5b6572;
  --paper: #f3f6f9;
  --line: #dfe5eb;
  --white: #fff;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 96px;
  min-height: 96px;
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(16px);
  transition: border-color .24s ease, box-shadow .24s ease;
}

.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgb(6 26 51 / 8%); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand { width: 186px; text-decoration: none; }
.brand img { width: 186px; height: auto; }
.brand span { display: block; margin-top: -2px; padding-left: 25px; color: #7b8591; font-size: 11px; letter-spacing: .04em; }

.header-actions, .main-nav { display: flex; align-items: center; }
.header-actions { gap: 26px; margin-left: auto; }
.main-nav { gap: 20px; }
.main-nav a, .footer-nav a { position: relative; padding: 9px 0; font-size: 14px; font-weight: 600; text-decoration: none; }
.main-nav a::after, .footer-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .24s ease; }
.main-nav a.active { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.active::after, .footer-nav a:hover::after, .footer-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 24px;
  background: linear-gradient(115deg, #a93f00, #c14d00 52%, #ad4100);
  border: 1px solid #a93f00;
  border-radius: 2px;
  box-shadow: 0 13px 28px rgb(185 71 0 / 18%);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

.button:hover { box-shadow: 0 18px 36px rgb(185 71 0 / 28%); filter: saturate(1.08); transform: translateY(-3px); }

.button-small { min-height: 48px; padding-inline: 20px; font-size: 13px; }

.hero { min-height: 520px; display: grid; grid-template-columns: 46% 54%; background: var(--navy); }

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px max(46px, calc((100vw - var(--shell)) / 2));
  padding-right: 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 80%, rgb(245 130 19 / 15%), transparent 280px),
    linear-gradient(145deg, #061a33, #08294f);
}

.draft-label {
  position: absolute;
  top: 26px;
  left: max(46px, calc((100vw - var(--shell)) / 2));
  padding: 6px 10px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 999px;
  color: rgb(255 255 255 / 76%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow::after { content: ""; display: block; width: 42px; height: 3px; margin-top: 13px; background: var(--orange); }
.hero .eyebrow { color: #8fbcf2; }

.hero .hero-copy .eyebrow {
  background: none;
  -webkit-text-fill-color: #8fbcf2;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Montserrat", Arial, sans-serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 600px; margin-bottom: 25px; font-size: clamp(48px, 4.6vw, 72px); }
h2 { margin-bottom: 0; font-size: 40px; }
h3 { margin-bottom: 9px; font-size: 32px; }

.hero .hero-copy h1 {
  background: none;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.hero-lead { max-width: 550px; margin-bottom: 0; color: rgb(255 255 255 / 75%); font-size: 19px; line-height: 1.65; }

.hero-media { position: relative; margin: 0; overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 26 51 / 18%), transparent 38%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: hero-drift 16s ease-in-out infinite alternate; }
.hero-media figcaption { position: absolute; z-index: 2; right: 34px; bottom: 30px; padding: 8px 13px; background: rgb(255 255 255 / 88%); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.project-section { padding-block: 88px 100px; }
.section-intro { display: grid; grid-template-columns: 1.4fr .8fr; gap: 80px; align-items: end; margin-bottom: 45px; }
.section-intro > p { margin-bottom: 6px; color: var(--muted); font-size: 17px; }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project-card { min-height: 390px; display: flex; flex-direction: column; padding: 35px 38px 31px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .32s ease, box-shadow .32s ease, transform .32s ease; }
.project-card.featured { background: linear-gradient(145deg, #f7f9fc, #eef4fa); }
.project-card:hover { z-index: 2; background: #fff; box-shadow: 0 22px 54px rgb(6 26 51 / 13%); transform: translateY(-6px); }
.project-card h3, .card-topline > span { transition: color .28s ease, transform .28s ease; }
.project-card:hover h3 { color: var(--blue); }
.project-card:hover .card-topline > span { color: var(--orange); transform: translateY(-3px); }

.card-topline { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 50px; }
.card-topline > span { color: var(--orange-deep); font-family: "Montserrat", sans-serif; font-size: 52px; font-weight: 700; line-height: 1; }
.card-topline em { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-align: right; text-transform: uppercase; }
.card-topline em::before { content: ""; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--orange); }

.card-main { margin-bottom: 42px; }
.type { margin-bottom: 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.developer { margin-bottom: 0; color: var(--muted); font-weight: 600; }

.location { margin-top: auto; padding-top: 20px; border-top: 1px solid #cfd7df; }
.location > span { display: block; margin-bottom: 7px; color: #7b8591; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.location p { max-width: 470px; margin-bottom: 0; font-size: 15px; line-height: 1.5; }
.location small { display: block; margin-top: 8px; color: var(--orange-deep); font-size: 12px; font-weight: 700; }

.scope-band { padding: 76px 0; background: radial-gradient(circle at 90% 20%, #103b66, transparent 400px), linear-gradient(135deg, #04162c, #07294e); color: var(--white); }
.scope-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; align-items: center; }
.eyebrow.light { color: #a8c9ee; }
.scope-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scope-list span { padding: 20px 22px; border: 1px solid rgb(255 255 255 / 17%); color: rgb(255 255 255 / 88%); font-weight: 650; transition: background .28s ease, border-color .28s ease, transform .28s ease; }
.scope-list span:hover { background: rgb(255 255 255 / 7%); border-color: rgb(245 130 19 / 58%); transform: translateY(-3px); }

.closing { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.closing .eyebrow { margin-bottom: 18px; }

.site-footer { padding: 48px 0; background: #04162c; color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 260px 1fr 210px; align-items: center; gap: 45px; }
.footer-brand img { width: 188px; height: auto; margin-bottom: 11px; }
.footer-brand p { margin: 0; color: rgb(255 255 255 / 63%); font-size: 12px; line-height: 1.55; }
.footer-nav { display: flex; justify-content: center; gap: 26px; }
.footer-nav a { color: rgb(255 255 255 / 76%); font-size: 12px; }
.footer-line { margin: 0; padding-left: 30px; border-left: 1px solid rgb(255 255 255 / 22%); color: rgb(255 255 255 / 58%); font-size: 11px; letter-spacing: .18em; line-height: 1.65; }

@keyframes hero-drift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.055) translate3d(-1.2%, -0.6%, 0); }
}

@media (max-width: 1000px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 14px; }
  .button-small { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 470px; }
  .hero-media { height: 430px; }
}

@media (max-width: 860px) {
  .site-header { height: auto; }
  .header-inner { min-height: 84px; }
  .menu-toggle { z-index: 2; display: grid; width: 46px; height: 46px; place-content: center; gap: 5px; padding: 0; background: transparent; border: 0; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform .22s ease, opacity .22s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .header-actions { position: fixed; inset: 84px 0 auto; display: grid; visibility: hidden; gap: 24px; padding: 26px 18px 34px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgb(6 26 51 / 12%); opacity: 0; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .header-actions.open { visibility: visible; opacity: 1; transform: none; }
  .main-nav { display: grid; justify-items: center; gap: 6px; }
  .main-nav a { font-size: 16px; }
  .header-actions .button-small { display: inline-flex; width: min(100%, 340px); margin-inline: auto; }
  .hero-copy { min-height: 500px; padding-inline: 24px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .section-intro, .project-grid, .scope-inner { grid-template-columns: 1fr; }
  .section-intro { gap: 25px; }
  .project-card { min-height: 360px; padding-inline: 25px; }
  .closing { align-items: flex-start; flex-direction: column; padding-block: 60px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-media img { animation: none; }
}
