:root {
  --ink: #151515;
  --muted-ink: #5d6460;
  --paper: #f7f3ea;
  --surface: #fffdf8;
  --line: #ded7ca;
  --green: #24594b;
  --coral: #d85f45;
  --gold: #c59a35;
  --blue: #286a8d;
  --shadow: 0 18px 60px rgba(36, 89, 75, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: inline-grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted-ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: 56px clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 95, 69, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(255, 253, 248, 0.7), rgba(197, 154, 53, 0.08));
}

.hero-media {
  display: grid;
  place-items: center start;
}

.hero-logo {
  display: grid;
  width: clamp(122px, 18vw, 220px);
  aspect-ratio: 1;
  place-items: center;
  border: clamp(3px, 0.45vw, 6px) solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-family: "Syne", "Inter", system-ui, sans-serif;
  font-size: clamp(2.7rem, 5.5vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0;
}

.portrait-card {
  position: relative;
  width: min(72vw, 360px);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(36, 89, 75, 0.94), rgba(40, 106, 141, 0.9)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,0.12) 16px 18px);
  box-shadow: var(--shadow);
}

.portrait-card::before,
.portrait-card::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.portrait-card::before {
  width: 210px;
  height: 210px;
  left: -70px;
  top: 46px;
  background: rgba(197, 154, 53, 0.55);
}

.portrait-card::after {
  width: 180px;
  height: 180px;
  right: -54px;
  bottom: 58px;
  background: rgba(216, 95, 69, 0.58);
}

.portrait-ring {
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 253, 248, 0.56);
  border-radius: 50%;
}

.portrait-mark {
  z-index: 1;
  display: grid;
  width: 164px;
  height: 164px;
  place-items: center;
  border: 2px solid rgba(255, 253, 248, 0.82);
  border-radius: 50%;
  color: #fffdf8;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0;
}

.signal-board {
  position: absolute;
  right: clamp(0px, 3vw, 48px);
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(2, 54px);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 34px rgba(21, 21, 21, 0.1);
}

.signal-board span {
  height: 54px;
  border-radius: 6px;
}

.signal-board span:nth-child(1) {
  background: var(--coral);
}

.signal-board span:nth-child(2) {
  background: var(--gold);
}

.signal-board span:nth-child(3) {
  background: var(--blue);
}

.signal-board span:nth-child(4) {
  background: var(--green);
}

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

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

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

h1 {
  width: 100%;
  max-width: none;
  margin-bottom: 12px;
  font-family: "Syne", "Inter", system-ui, sans-serif;
  font-size: clamp(3.9rem, 12vw, 13rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: none;
}

.hero-subtitle {
  margin-bottom: 22px;
  color: var(--coral);
  font-family: "Syne", "Inter", system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lead {
  max-width: 650px;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button.primary {
  background: var(--green);
  color: #fffdf8;
  box-shadow: 0 12px 24px rgba(36, 89, 75, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--green);
}

.section {
  padding: 88px clamp(20px, 5vw, 72px);
}

.page-main {
  min-height: calc(100vh - 72px);
}

.page-hero {
  padding: 92px clamp(20px, 5vw, 72px) 28px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.4rem, 7.4vw, 8.6rem);
  overflow-wrap: anywhere;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 38px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(280px, 1fr);
  gap: 34px;
}

.about-grid > p {
  max-width: 720px;
  color: var(--muted-ink);
  font-size: 1.28rem;
}

.facts {
  display: grid;
  gap: 12px;
}

.facts div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts strong {
  color: var(--green);
}

.facts span {
  color: var(--muted-ink);
}

.muted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

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

.card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 48px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.card p,
.values-list p {
  color: var(--muted-ink);
}

.values-section {
  background:
    linear-gradient(90deg, rgba(40, 106, 141, 0.08), transparent 42%),
    var(--paper);
}

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

.values-list div {
  padding-top: 18px;
  border-top: 3px solid var(--green);
}

.values-list div:nth-child(2) {
  border-color: var(--coral);
}

.values-list div:nth-child(3) {
  border-color: var(--blue);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 72px clamp(20px, 5vw, 72px);
  background: var(--green);
  color: #fffdf8;
}

.contact .eyebrow {
  color: #f4c56b;
}

.contact h2 {
  max-width: 760px;
}

.contact .button.primary {
  flex: 0 0 auto;
  background: #fffdf8;
  color: var(--green);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted-ink);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
  color: var(--green);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 76px;
    justify-content: space-between;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: calc(100vh - 76px);
    grid-template-columns: minmax(96px, 0.28fr) minmax(0, 1fr);
    gap: 24px;
  }

  .hero-media {
    min-height: auto;
  }

  .section-heading,
  .about-grid,
  .card-grid,
  .values-list {
    grid-template-columns: 1fr;
  }

  .section,
  .contact {
    padding-block: 64px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 96px;
    align-items: flex-start;
    padding-inline: 16px;
    padding-block: 14px;
  }

  .brand {
    width: 40px;
    height: 40px;
  }

  .nav {
    gap: 10px 14px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: calc(100vh - 96px);
    padding-inline: 18px;
    grid-template-columns: minmax(68px, 0.24fr) minmax(0, 1fr);
    gap: 12px;
  }

  .page-main {
    min-height: calc(100vh - 96px);
  }

  .page-hero {
    padding-top: 64px;
  }

  .page-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  h1 {
    font-size: clamp(2.15rem, 12.8vw, 3.45rem);
  }

  .hero-subtitle {
    font-size: clamp(0.92rem, 5vw, 1.25rem);
    letter-spacing: 0.12em;
  }

  .hero-logo {
    width: clamp(68px, 22vw, 104px);
    font-size: clamp(1.5rem, 6.4vw, 2.6rem);
  }

  .portrait-card {
    width: min(82vw, 320px);
  }

  .signal-board {
    right: 0;
    bottom: 18px;
    grid-template-columns: repeat(2, 44px);
  }

  .signal-board span {
    height: 44px;
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact .button {
    width: 100%;
  }
}
