:root {
  --bg: #ffffff;
  --text: #181818;
  --muted: #555555;
  --soft: #777777;
  --line: #e7e3dd;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Amasis MT Pro Medium", "Amasis MT Pro", Amasis, Georgia, "Times New Roman", serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 64px;
}

.hero {
  margin-bottom: 72px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 26px;
  font-size: clamp(2.7rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.intro {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.42;
}

.section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 18px;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 500;
}

p {
  max-width: 660px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1.08rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
  max-width: 650px;
}

.focus-grid p {
  margin: 0;
  color: var(--text);
}

.work-item p,
.contact p {
  color: var(--muted);
}

.links {
  margin-top: 24px;
}

.links a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.links a:hover,
.links a:focus-visible {
  color: #000000;
  border-bottom-width: 2px;
}

.links span {
  margin: 0 10px;
  color: var(--soft);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.contact-icon-link:hover,
.contact-icon-link:focus-visible {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  outline: none;
}

.contact-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.linkedin-mark {
  font-size: 1.02rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.contact-label {
  margin: 0 0 2px;
  color: var(--soft);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-address {
  color: var(--text);
  font-size: 1.08rem;
  text-decoration: none;
}

.contact-address:hover,
.contact-address:focus-visible {
  opacity: 0.65;
}

.small-note {
  margin-top: 18px;
  color: var(--soft);
  font-size: 0.98rem;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 28px, var(--max));
    padding: 48px 0 42px;
  }

  .hero {
    margin-bottom: 52px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }
}


/* Research principles page */
.principles h2{
  margin-top: 2.25rem;
  margin-bottom: .45rem;
  font-size: 1rem;
  font-weight: 500;
  color: #1f1f1f;
}

.principles p{
  margin: 0;
  max-width: 42rem;
}

.site-footer{
  margin-top: 4rem;
  font-size: .95rem;
}

.site-footer a{
  color: inherit;
  text-decoration: none;
  opacity: .72;
}

.site-footer a:hover{
  opacity: 1;
}
