:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --paper: #ffffff;
  --ink: #121a27;
  --heading: #0b1220;
  --muted: #5b6676;
  --soft: #eef2f6;
  --line: #d9e0e8;
  --line-strong: #c4ccd7;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --blue: #1d4ed8;
  --amber: #b7791f;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 246, 248, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--teal-dark);
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--soft);
  color: var(--heading);
}

.page {
  width: min(1180px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 54px;
  align-items: center;
  padding: 74px 0 88px;
}

.hero-copy {
  width: 100%;
  max-width: 720px;
}

.hero-copy,
.hero-visual,
.section-title,
.content,
.card,
.project-panel,
.project-panel > div,
.link-row,
.contact-panel,
.visual-caption {
  min-width: 0;
}

.hero p,
.page-hero p,
.content p,
.content li,
.card p,
.card li,
.link-row span,
.visual-caption span {
  overflow-wrap: break-word;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  margin: 24px 0 0;
  color: #354257;
  max-width: 720px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.48;
}

.actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.button:hover {
  background: var(--teal-dark);
  color: #fff;
}

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.button.secondary:hover {
  background: #e3eeec;
  color: var(--teal-dark);
}

.hero-visual {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #101827;
}

.visual-caption {
  padding: 22px;
  border-top: 1px solid var(--line);
}

.visual-caption strong {
  display: block;
  color: var(--heading);
  font-size: 16px;
}

.visual-caption span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section.tight {
  padding: 50px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  gap: 56px;
  align-items: start;
}

.section-title h2,
.page-hero h1 {
  margin: 0;
}

.section-title h2 {
  color: var(--heading);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-title p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  margin: 0;
  color: var(--heading);
  font-size: 19px;
  line-height: 1.24;
}

.card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.card a {
  font-weight: 750;
}

.link-list {
  display: grid;
  gap: 12px;
}

.link-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.link-row strong {
  color: var(--heading);
}

.link-row span {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.feature-band div {
  background: var(--paper);
  padding: 22px;
}

.feature-band strong {
  display: block;
  color: var(--heading);
  font-size: 15px;
}

.feature-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.project-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 30px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.project-panel img {
  width: 100%;
  border-radius: 7px;
  border: 1px solid var(--line);
  display: block;
}

.project-panel h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(30px, 4.8vw, 56px);
  line-height: 1.02;
}

.project-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.pill-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  padding: 7px 10px;
  color: #344154;
  font-size: 13px;
  font-weight: 750;
}

.page-hero {
  padding: 78px 0 62px;
  border-bottom: 1px solid var(--line);
}

.content {
  max-width: 820px;
}

.content p,
.content li {
  color: var(--muted);
  font-size: 18px;
}

.content p + p {
  margin-top: 16px;
}

.content ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.media-frame {
  background: #0b1220;
  border: 1px solid #263246;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.media-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.contact-panel {
  background: var(--heading);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.contact-panel p {
  color: #cbd5e1;
  font-size: 18px;
}

.contact-panel a {
  color: #a7f3d0;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  background: #e9eef4;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-inner p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-links a {
  color: #344154;
  font-weight: 750;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero,
  .project-panel,
  .section-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
    gap: 34px;
  }

  .cards,
  .cards.two,
  .feature-band {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav,
  .page,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a {
    padding: 0 9px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .hero p,
  .page-hero p {
    font-size: 18px;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero,
  .hero-copy,
  .hero-visual,
  .project-panel,
  .media-frame {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .section,
  .page-hero {
    padding: 48px 0;
  }

  .link-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
