:root {
  --forest: #1e3a2e;
  --moss: #5a6f3e;
  --ink: #1a2430;
  --parchment: #f4efe3;
  --slate: #6b6f72;
  --gold: #c8a45e;
  --rule: rgba(30, 58, 46, 0.14);
  --maxw: 72rem;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "EB Garamond", Georgia, "Times New Roman", serif;
  --math: "STIX Two Text", "Cambria Math", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* —— Minimal coming-soon mode (body.minimal) —— */

body.minimal {
  display: grid;
  place-items: center;
  min-height: 100%;
}

body.minimal .wrap {
  padding: 2rem;
  text-align: center;
}

.minimal-lockup {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--forest);
}

.minimal-emblem {
  font-family: var(--math);
  font-size: clamp(2rem, 6vw, 2.85rem);
  font-weight: 400;
  line-height: 1;
  transform: translateY(0.06em);
}

.minimal-label {
  font-family: var(--display);
  font-size: clamp(1.85rem, 5.5vw, 2.65rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.wrap {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem) 3rem;
}

/* —— Brand header —— */

.brand {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.emblem {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--forest);
}

.name {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--forest);
  line-height: 1.1;
}

/* —— Hero —— */

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: var(--forest);
  letter-spacing: 0.01em;
}

.lede {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 1.25rem;
  max-width: 42rem;
}

.hero-contact {
  margin: 1.5rem 0 0;
}

.hero-contact a {
  font-size: 1rem;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.hero-contact a:hover {
  border-bottom-color: var(--forest);
}

/* —— Divider —— */

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
  max-width: 36rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.divider-mark {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* —— Research —— */

.section-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 1.25rem;
}

.research-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.65rem;
  max-width: 28rem;
}

.research-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--forest);
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
}

.research-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.research-list li::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* —— Footer —— */

.foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
  background: var(--forest);
  color: rgba(244, 239, 227, 0.75);
  font-size: 0.9rem;
}

.foot p { margin: 0; }

.foot a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.foot a:hover {
  border-bottom-color: var(--gold);
}

@media (max-width: 30rem) {
  .foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
