:root {
  --paper: #f6f4ef;
  --paper-2: #fffdfa;
  --ink: #151515;
  --muted: #5e625f;
  --line: #d8d2c5;
  --brand: #0f6b5b;
  --brand-2: #174ea6;
  --gold: #b9851e;
  --brick: #9f3d35;
  --night: #171717;
  --night-2: #24221f;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(21, 21, 21, 0.12);
  font-family: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.skip-link {
  left: 12px;
  position: absolute;
  top: -44px;
  z-index: 50;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  padding: 8px 12px;
}

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

.site-header {
  align-items: center;
  background: rgba(246, 244, 239, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

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

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

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

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

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  background: #ebe4d6;
  color: var(--ink);
  outline: 0;
}

.hero {
  background: var(--night);
  color: var(--paper-2);
  min-height: min(760px, calc(100vh - 68px));
  overflow: hidden;
  position: relative;
}

.signal-canvas {
  inset: 0;
  opacity: 0.56;
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero-mark {
  filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.28));
  opacity: 0.44;
  position: absolute;
  right: max(4vw, 24px);
  top: 16%;
  width: min(42vw, 520px);
}

.hero-content {
  display: grid;
  gap: 28px;
  max-width: 1180px;
  min-height: min(760px, calc(100vh - 68px));
  padding: 92px 28px 104px;
  place-content: center start;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: #e7c16a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(52px, 9vw, 116px);
  max-width: 900px;
}

.hero p {
  color: #e8e1d4;
  font-size: clamp(18px, 2.1vw, 26px);
  max-width: 720px;
  margin: 0;
}

.hero-actions,
.button-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  background: var(--paper-2);
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 15px;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  border-color: rgba(255, 253, 250, 0.45);
  color: var(--paper-2);
}

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

.hero-strip {
  align-items: end;
  bottom: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  left: 0;
  padding: 0 28px 26px;
  position: absolute;
  right: 0;
  z-index: 3;
}

.strip-item {
  border-top: 3px solid var(--gold);
  color: #f6efe2;
  display: grid;
  gap: 4px;
  padding-top: 10px;
}

.strip-item span {
  color: #cfc7ba;
  font-size: 12px;
  text-transform: uppercase;
}

.page-hero {
  background: var(--night);
  color: var(--paper-2);
  padding: 72px 28px;
}

.page-hero .inner,
.section {
  margin: 0 auto;
  max-width: 1180px;
}

.page-hero p {
  color: #e8e1d4;
  max-width: 760px;
}

.section {
  padding: 72px 28px;
}

.section.tight {
  padding-top: 36px;
}

.section-title {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title p {
  color: var(--muted);
  margin: 8px 0 0;
  max-width: 660px;
}

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

.grid.products {
  grid-template-columns: repeat(5, minmax(160px, 1fr));
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(21, 21, 21, 0.03);
  display: grid;
  gap: 14px;
  min-height: 180px;
  padding: 22px;
}

.card h3 {
  font-size: 22px;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.product-card {
  border-top: 5px solid var(--brand);
  min-height: 260px;
}

.product-card:nth-child(2) {
  border-top-color: var(--brand-2);
}

.product-card:nth-child(3) {
  border-top-color: var(--gold);
}

.product-card:nth-child(4) {
  border-top-color: var(--brick);
}

.product-card:nth-child(5) {
  border-top-color: #5d4b8b;
}

.card-link {
  align-self: end;
  color: var(--brand-2);
  font-weight: 700;
  text-decoration: none;
}

.feature-band {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.story {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
}

.story-visual {
  align-items: center;
  background: #ebe4d6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  min-height: 430px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.story-visual img {
  margin: auto;
  max-width: min(350px, 74%);
  transform: rotate(-7deg);
}

.timeline {
  border-left: 2px solid var(--line);
  display: grid;
  gap: 18px;
  margin-top: 12px;
  padding-left: 22px;
}

.timeline article {
  position: relative;
}

.timeline article:before {
  background: var(--gold);
  border: 3px solid var(--paper-2);
  border-radius: 50%;
  content: "";
  height: 11px;
  left: -29px;
  position: absolute;
  top: 6px;
  width: 11px;
}

.metric-wall {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  background: var(--night);
  border-radius: var(--radius);
  color: var(--paper-2);
  min-height: 126px;
  padding: 18px;
}

.metric strong {
  display: block;
  font-size: 30px;
}

.metric span {
  color: #d2c7b8;
  font-size: 13px;
}

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

.directory a,
.directory div {
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  min-height: 56px;
  padding: 14px 16px;
  text-decoration: none;
}

.directory small {
  color: var(--muted);
}

.notice {
  background: #efe7d7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.site-footer {
  background: var(--night);
  color: var(--paper-2);
  padding: 36px 28px;
}

.site-footer .inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: #e8e1d4;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header,
  .site-footer .inner,
  .section-title,
  .story {
    align-items: start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 14px 18px;
  }

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

  .grid.products,
  .grid.three,
  .metric-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-strip {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    position: relative;
  }

  .hero-content {
    min-height: 620px;
    padding-bottom: 46px;
  }
}

@media (max-width: 640px) {
  .grid.products,
  .grid.two,
  .grid.three,
  .metric-wall {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    opacity: 0.28;
    right: -80px;
    width: 360px;
  }

  h1 {
    font-size: 48px;
  }
}
