:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #67727e;
  --line: #d9dedf;
  --paper: #fbfaf7;
  --white: #ffffff;
  --forest: #22312f;
  --stone: #f1eee8;
  --brass: #b4854d;
  --blue: #2f5d7c;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

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

.brand-lockup img {
  width: 44px;
  height: 44px;
}

.brand-name {
  display: grid;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #46525e;
  font-size: 14px;
}

.nav a {
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  min-height: 620px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 7vw, 86px);
}

.kicker {
  color: var(--brass);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin: 0;
  color: #4d5966;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

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

.hero-visual {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(31, 41, 51, 0.08), rgba(31, 41, 51, 0)),
    linear-gradient(135deg, rgba(34, 49, 47, 0.28), rgba(47, 93, 124, 0.16)),
    url("assets/homepage-heromed.jpeg");
  background-size: cover;
  background-position: center;
}

.section {
  padding: 52px clamp(20px, 5vw, 64px);
}

.section h2 {
  margin: 0 0 22px;
  font-size: 28px;
  letter-spacing: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  min-height: 170px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.service p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-band {
  padding: 36px clamp(20px, 5vw, 64px);
  background: var(--forest);
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 8px;
  color: #dfe8e5;
  line-height: 1.45;
}

.footer-contact strong {
  color: #fff;
  font-size: 17px;
}

.footer-contact a {
  color: #fff;
}

.board {
  padding: 36px clamp(18px, 4vw, 46px) 60px;
}

.board-header {
  max-width: 940px;
  margin-bottom: 28px;
}

.board-header h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.concepts {
  display: grid;
  gap: 20px;
}

.concept {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.7fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.concept-panel {
  background: #fff;
  padding: 24px;
}

.concept-panel img.logo {
  display: block;
  width: min(100%, 640px);
  height: auto;
  border: 1px solid #eef1f2;
}

.mark-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mark-row img {
  width: 86px;
  height: 86px;
  border: 1px solid #eef1f2;
}

.swatches {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.swatch {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.notes {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 18px 20px;
  }

  .brand-lockup {
    gap: 12px;
  }

  .brand-lockup img {
    width: 40px;
    height: 40px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 15px;
  }

  .hero,
  .services,
  .concept {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 56px 24px 42px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .kicker {
    font-size: 12px;
    line-height: 1.35;
    letter-spacing: 2.2px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .lede {
    font-size: 18px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 42px 20px;
  }

  .service {
    min-height: 0;
    padding: 24px;
  }

  .contact-band {
    padding: 32px 20px;
  }

  .board {
    padding-inline: 20px;
  }

  .board-header h1 {
    font-size: clamp(32px, 11vw, 44px);
  }

  .concept-panel {
    padding: 18px;
  }

  .concept-panel h2 {
    font-size: 25px;
    line-height: 1.15;
  }

  .concept-panel img.logo {
    min-width: 0;
  }
}
