:root {
  --blue: #031a75;
  --blue-deep: #011053;
  --red: #e10613;
  --red-deep: #b90008;
  --ink: #101322;
  --muted: #6b6f76;
  --line: #e6e8f0;
  --soft: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(3, 16, 95, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  padding: 18px;
  transition: padding 240ms ease;
}

.site-header.scrolled {
  padding-top: 10px;
}

.page-header {
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(246, 248, 252, 0.96), rgba(246, 248, 252, 0));
}

.nav-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 72px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(3, 16, 95, 0.08);
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  color: rgba(16, 19, 34, 0.82);
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.nav-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta,
.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(237, 0, 12, 0.24);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(1, 16, 83, 0.44), rgba(1, 16, 83, 0.86)),
    linear-gradient(90deg, rgba(1, 16, 83, 0.78), rgba(225, 6, 19, 0.34), rgba(1, 16, 83, 0.54));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 32px));
  text-align: center;
  padding: 120px 0 150px;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7.4vw, 6.6rem);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto 28px;
}

.hero-points span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-hashtags {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-wave {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 100px;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  transform: rotate(180deg);
}

.hero-wave path {
  fill: var(--white);
}

.section {
  padding: 96px 20px;
}

.section-heading {
  width: min(850px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.story-band h2 {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.section-intro {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.rule {
  display: block;
  width: 86px;
  height: 4px;
  margin: 0 auto;
  background: var(--red);
}

.about-grid,
.story-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.image-panel {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 8px solid var(--white);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.image-panel figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(0deg, rgba(3, 16, 95, 0.88), transparent);
}

.about-copy h3 {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  font-weight: 900;
}

.lead {
  padding-left: 20px;
  border-left: 4px solid var(--red);
  font-size: 1.12rem;
  color: rgba(16, 19, 34, 0.88);
  font-weight: 600;
}

.about-copy p:not(.lead) {
  color: var(--muted);
}

.stats,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.stats div,
.metric-grid div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.stats strong,
.metric-grid strong {
  display: block;
  color: var(--red);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 900;
}

.stats span,
.metric-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.promise {
  background: var(--soft);
}

.promise-grid,
.service-grid,
.projects-grid,
.faq-grid,
.contact-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.promise-grid article,
.service-card,
.project-card,
.faq details,
.contact-grid a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(3, 16, 95, 0.06);
}

.promise-grid article {
  padding: 28px;
}

.promise-grid span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.promise-grid h3,
.service-card h3,
.project-card h3 {
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.promise-grid p,
.service-card p,
.project-card p,
.faq p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  overflow: hidden;
}

.service-card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-card div:not(.tags) {
  padding: 30px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tags span,
.project-badge {
  padding: 7px 10px;
  color: var(--blue);
  background: #eef2ff;
  border: 1px solid #dbe3ff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.story-band {
  padding: 88px 20px;
  color: var(--white);
  background: var(--blue);
}

.story-inner {
  grid-template-columns: 1fr 1fr;
}

.story-band h2,
.story-band p,
.metric-grid span {
  color: var(--white);
}

.story-band p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.kicker.light {
  color: rgba(255, 255, 255, 0.55);
}

.metric-grid div {
  border-color: rgba(255, 255, 255, 0.14);
}

.metric-grid strong {
  color: var(--white);
}

.projects {
  background: var(--soft);
}

.project-tools {
  width: min(1180px, 100%);
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  align-items: end;
  gap: 22px;
}

.search-box {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.88rem;
}

.search-box input {
  width: 100%;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(6, 26, 134, 0.1);
}

.filter-tabs {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tabs button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.project-count {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  color: var(--muted);
  font-weight: 700;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.project-status {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-detail {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

.project-detail strong {
  color: var(--blue);
}

.no-results {
  grid-column: 1 / -1;
  padding: 34px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq details {
  padding: 24px;
}

.faq summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}

.faq p {
  margin: 14px 0 0;
}

.contact {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-grid a {
  padding: 28px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-grid strong,
.contact-grid span {
  display: block;
}

.contact-grid strong {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.25rem;
}

.contact-grid span {
  color: var(--muted);
}

.footer {
  padding: 64px 20px 30px;
  color: var(--white);
  background: var(--blue-deep);
  text-align: center;
}

.footer img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 16px;
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
}

.footer p {
  color: rgba(255, 255, 255, 0.76);
}

.footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 28px 0;
  font-weight: 800;
}

.copyright {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.page-main {
  padding: 118px 20px 0;
  background: var(--soft);
}

.contact-hero,
.form-section,
.admin-head,
.admin-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 34px;
  align-items: center;
  padding: 60px 0 44px;
}

.contact-hero h1,
.admin-head h1 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 0.96;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-hero p:not(.kicker),
.admin-head p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-hero img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  padding-bottom: 90px;
}

.contact-form,
.contact-side,
.admin-head,
.admin-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(3, 16, 95, 0.06);
}

.contact-form {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label,
.admin-key-form label {
  display: grid;
  gap: 8px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.admin-key-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.contact-form input,
.contact-form select,
.admin-key-form input {
  min-height: 52px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.admin-key-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(3, 26, 117, 0.1);
}

.full-field {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-side {
  padding: 28px;
  position: sticky;
  top: 112px;
}

.contact-side h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 1.55rem;
}

.contact-side ol {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--muted);
  font-weight: 600;
}

.contact-side li + li {
  margin-top: 12px;
}

.contact-side a,
.admin-secondary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: var(--white);
  font-weight: 900;
}

.admin-main {
  min-height: 100vh;
  padding-bottom: 80px;
}

.admin-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  padding: 34px;
  margin-bottom: 24px;
}

.admin-key-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.admin-panel {
  padding: 24px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.admin-toolbar p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.submissions-list {
  display: grid;
  gap: 16px;
}

.submission-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  padding: 20px;
}

.submission-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.submission-topline strong,
.submission-card h2 {
  color: var(--blue);
}

.submission-card h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.submission-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.submission-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.submission-card dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.submission-card p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 96px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .about-grid,
  .story-inner,
  .service-card.wide,
  .project-tools,
  .contact-hero,
  .form-section,
  .admin-head,
  .admin-key-form {
    grid-template-columns: 1fr;
  }

  .promise-grid,
  .service-grid,
  .projects-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-tabs {
    justify-content: flex-start;
  }

  .contact-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px;
  }

  .nav-shell {
    min-height: 64px;
    border-radius: 8px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    padding-bottom: 116px;
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: 8px;
    line-height: 1.5;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 72px 16px;
  }

  .promise-grid,
  .service-grid,
  .projects-grid,
  .faq-grid,
  .contact-grid,
  .form-grid,
  .submission-card dl,
  .stats,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    min-height: 220px;
  }
}
