﻿:root {
  --ink: #17201b;
  --muted: #59635d;
  --line: #d9e1da;
  --paper: #f7f8f3;
  --white: #ffffff;
  --green: #1c5f4b;
  --teal: #197d86;
  --gold: #9a6414;
  --blue: #234f86;
  --soft: #ecf2ee;
  --shadow: 0 26px 80px rgba(23, 32, 27, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 5;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(247, 248, 243, 0.92);
  border-bottom: 1px solid rgba(217, 225, 218, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.nav-links {
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));

  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) 0 clamp(52px, 6vw, 80px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.hero-text {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.secondary {
  background: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.signal-panel {
  padding: clamp(24px, 3vw, 32px);
  background:
    radial-gradient(circle at 20% 0%, rgba(25, 125, 134, 0.16), transparent 34%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 800;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(154, 100, 20, 0.15);
}

dl {
  margin: 0;
}

dl div + div {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 720;
  line-height: 1.55;
}

.system-map {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) 0;
}

.intro-band {
  width: 100%;
  padding: clamp(48px, 6vw, 72px) max(24px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: linear-gradient(120deg, var(--green), var(--blue));
}

.intro-band p {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(1.28rem, 2.3vw, 1.9rem);
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.proof-card,
.capability-grid > div,
.case-card {
  min-height: 280px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.case-card,
.project-card {
  min-height: 0;
}

.case-card p,
.project-card p {
  color: var(--muted);
}

.case-card strong,
.project-card strong {
  color: var(--ink);
}

.projects-grid {
  display: grid;
  gap: 18px;
}

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

.case-meta {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 2.55rem;
  font-weight: 850;
  line-height: 1;
}

.proof-card p,
.capability-grid p,
.timeline p,
.contact-section p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline article {
  padding: 0 0 22px 26px;
  border-left: 3px solid var(--line);
}

.timeline article:hover {
  border-left-color: var(--teal);
}

.period {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 850;
}

.timeline p:last-child {
  margin-bottom: 0;
}

.capabilities {
  width: 100%;
  padding-right: max(24px, calc((100% - 1180px) / 2));
  padding-left: max(24px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.skills-section {
  width: min(1180px, calc(100% - 48px));
}

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

.skills-grid section {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.skills-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.skills-grid li {
  position: relative;
  padding-left: 18px;
}

.skills-grid li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
}

.faq-section {
  width: min(1180px, calc(100% - 48px));
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list p {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.contact-section p {
  max-width: 680px;
  font-size: 1.1rem;
}

.contact-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.privacy-main {
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) 0;
}

.privacy-main p,
.privacy-main li {
  color: var(--muted);
}

.privacy-main section + section {
  margin-top: 30px;
}

@media (max-width: 880px) {
  .nav {
    min-height: 72px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 42px;
  }

  .proof-grid,
  .capability-grid,
  .case-grid,
  .projects-grid,
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .nav,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.55rem);
    line-height: 1.04;
  }

  .hero-text {
    font-size: 1.04rem;
  }

  .proof-grid,
  .capability-grid,
  .case-grid,
  .projects-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .proof-card,
  .capability-grid > div {
    min-height: 0;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
