:root {
  --blue: #073f69;
  --blue-dark: #052f50;
  --text: #253a55;
  --muted: #5d6f87;
  --line: #d8e1ea;
  --soft: #f3f6f9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  text-decoration: none;
}

.brand img {
  width: 124px;
  height: auto;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.back-link {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  color: var(--blue);
  background: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.nav a:hover,
.back-link:hover {
  border-color: var(--blue);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.intro {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
}

.hero img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.references {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.references li {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.references li.reference-with-image {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
}

.ref-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.ref-copy {
  min-width: 0;
}

.references strong {
  display: block;
  color: var(--blue);
  font-size: 1.02rem;
}

.references span {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .header-inner,
  .hero,
  .references li,
  .footer-inner {
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .hero img {
    height: 230px;
    margin-top: 24px;
  }

  .references li {
    padding: 16px;
  }

  .references li.reference-with-image {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
  }

  .references span {
    display: block;
    margin-top: 6px;
  }
}
