:root {
  /* sampled from the logo */
  --teal: #47A8A1;
  --teal-deep: #277B80;
  --ink: #10363B;
  --band: #1B5A5F;
  --paper: #FDFDF8;
  --tint: #E8F3F1;
  --rule: #CFE1DE;
  --muted: #4C6A6D;

  --head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.68;
}

h1, h2, h3 {
  font-family: var(--head);
  color: var(--teal-deep);
  line-height: 1.16;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.3; }

p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* nav */
.nav { background: var(--paper); border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; display: block; }
.brand b { display: block; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--teal-deep); line-height: 1.1; }
.brand small { display: block; font-family: var(--head); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.16em; color: var(--teal-deep); }
.links { display: flex; gap: 28px; font-family: var(--head); font-size: 0.92rem; font-weight: 500; }
.links a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.links a:hover { border-bottom-color: var(--teal); }

/* hero: two columns, image placeholder on the right */
.hero { background: var(--tint); padding: 96px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero p.lede { font-size: 1.25rem; color: var(--ink); }
.hero p.who { color: var(--muted); font-size: 1.02rem; }
.actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 28px; }

.hero-visual {
  border: 1px solid var(--rule); border-radius: 14px; background: var(--paper);
  padding: 20px; box-shadow: 0 18px 40px -22px rgba(16, 54, 59, 0.35);
}
.hero-visual img { width: 100%; height: auto; display: block; border-radius: 6px; }

.hero-ledger {
  background: var(--ink); border-radius: 14px; padding: 26px 24px 20px;
  box-shadow: 0 18px 40px -22px rgba(16, 54, 59, 0.45);
}
.ledger-title {
  font-family: var(--head); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.ledger-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.14);
}
.ledger-row:first-of-type { border-top: none; }
.ledger-row .label { font-family: var(--head); font-size: 0.78rem; line-height: 1.4; color: #A9C4C6; }
.ledger-row .value { font-family: var(--head); font-weight: 700; font-size: 1rem; color: #fff; }
.ledger-row.flag .value { color: var(--teal); }
.ledger-note {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.2);
  font-family: var(--body); font-size: 0.82rem; line-height: 1.55; color: #C7D6D4;
}

.btn {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: 0.98rem;
  background: var(--teal-deep); color: #fff; padding: 14px 26px; border-radius: 999px;
  border: 0; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--ink); }
.textlink { font-family: var(--head); font-weight: 600; font-size: 0.95rem; }

.badge {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.03em; background: var(--teal); color: #fff; padding: 5px 13px; border-radius: 999px;
  margin-bottom: 16px;
}

/* services: a plain ruled list, not cards */
.intro { color: var(--muted); margin-bottom: 40px; }
.svc { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--rule); }
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc h3 { margin: 0; }
.svc p { margin: 0; }

.tint-bg { background: var(--tint); }

/* small uppercase label + value boxes, e.g. a coverage summary row */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 0; }
.spec-box { background: var(--paper); border-left: 3px solid var(--teal); border-radius: 6px; padding: 12px 14px; }
.tint-bg .spec-box { background: #fff; }
.spec-label { font-family: var(--head); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 5px; }
.spec-value { font-family: var(--head); font-weight: 600; font-size: 0.92rem; color: var(--ink); line-height: 1.35; }

/* label/value rows, e.g. technical specifications */
.spec-table { margin-top: 20px; }
.spec-row { padding: 14px 0; border-top: 1px solid var(--rule); }
.spec-row:last-child { border-bottom: 1px solid var(--rule); }
.spec-row .k { display: block; font-family: var(--head); font-weight: 700; font-size: 0.88rem; color: var(--teal-deep); margin-bottom: 4px; }
.spec-row .v { font-family: var(--body); font-size: 0.98rem; color: var(--ink); }

/* 3-column compliance / provenance grid */
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; margin-top: 28px; }
.compliance-grid h3 { color: var(--teal-deep); font-size: 0.98rem; margin-bottom: 6px; }
.compliance-grid p { font-size: 0.92rem; margin: 0; }

/* generic dashed placeholder for content not yet added */
.placeholder-block {
  border: 2px dashed var(--rule); border-radius: 12px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--muted); font-family: var(--head); font-size: 0.85rem;
  text-align: center; padding: 36px 24px; margin-top: 20px;
}
.placeholder-block svg { opacity: 0.5; }
.placeholder-block strong { color: var(--teal-deep); font-weight: 700; }

/* dataset placeholder */
.dataset { background: var(--tint); }
.dataset .panel {
  border: 1px solid var(--rule); border-radius: 14px; background: var(--paper); padding: 40px;
}
.panel-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.chart-slot {
  border: 1px solid var(--rule); border-radius: 12px; background: var(--paper);
  padding: 10px; box-shadow: 0 14px 32px -20px rgba(16, 54, 59, 0.35);
}
.chart-slot img { width: 100%; height: auto; display: block; border-radius: 6px; }

/* about page */
.subhero { background: var(--tint); padding: 88px 0 64px; }
.about-body { max-width: 680px; }
.about-grid { display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: start; }
.founder-photo {
  width: 120px; height: 120px; object-fit: cover; aspect-ratio: 1 / 1;
  border-radius: 50%; display: block;
  box-shadow: 0 10px 24px -12px rgba(16, 54, 59, 0.45);
}
.about-grid .about-body { max-width: none; }

/* contact */
.contact { background: var(--band); color: #fff; }
.contact h2 { color: #fff; }
.contact a { color: #fff; }
.contact .grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact p { max-width: 46ch; }
.contact .mail { font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
label { display: block; font-family: var(--head); font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 13px 14px; margin-bottom: 18px; border: 1px solid transparent; border-radius: 6px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
}
textarea { min-height: 140px; resize: vertical; }
.contact .btn { background: var(--teal); color: var(--ink); }
.contact .btn:hover { background: #fff; }
.hp { position: absolute; left: -9999px; }

footer { background: var(--ink); color: #A9C4C6; font-family: var(--head); font-size: 0.85rem; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: #fff; }

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .svc, .about-grid, .contact .grid, .panel-grid { grid-template-columns: 1fr; gap: 10px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .compliance-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-grid .founder-photo { width: 96px; height: 96px; margin-bottom: 14px; }
  .nav .wrap { flex-wrap: wrap; row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .links { gap: 16px; font-size: 0.88rem; width: 100%; justify-content: flex-start; }
  .brand small { display: none; }
}
