:root {
  --ink: #17221c;
  --muted-ink: #59645d;
  --paper: #f4f1e8;
  --paper-deep: #e9e3d4;
  --white: #fffdf7;
  --green: #1f6048;
  --green-light: #a6d7ba;
  --coral: #e96c4c;
  --yellow: #f1c75b;
  --line: rgba(23, 34, 28, 0.18);
  --radius: 1.4rem;
  --shadow: 0 20px 60px rgba(31, 53, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(241, 199, 91, 0.2), transparent 24rem),
    var(--paper);
  font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.24;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section-shell,
.hero,
footer {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
}

.wordmark {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.wordmark-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  place-items: center;
}

nav {
  display: flex;
  gap: clamp(1.25rem, 4vw, 3rem);
  font-size: 0.82rem;
  font-weight: 700;
}

nav a,
footer a {
  position: relative;
}

nav a::after,
footer a::after {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after,
footer a:hover::after,
footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(19rem, 0.82fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100vh - 6.5rem);
  padding-block: 4rem 7rem;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 760px;
  margin-bottom: 2rem;
  font-size: clamp(4rem, 8.6vw, 8.2rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.scribble {
  position: relative;
  display: inline-block;
  color: var(--green);
  font-style: italic;
  white-space: nowrap;
}

.scribble::after {
  position: absolute;
  right: -0.05em;
  bottom: -0.08em;
  left: 0.03em;
  height: 0.16em;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 30' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 21C61 4 94 28 153 14s95-1 144-8' fill='none' stroke='%23e96c4c' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  content: "";
}

.hero-intro {
  max-width: 37rem;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 30px rgba(31, 96, 72, 0.2);
}

.text-link {
  font-size: 0.88rem;
  font-weight: 800;
}

.text-link span {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 34rem;
  place-items: center;
}

.portrait-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(76%, 22rem);
  aspect-ratio: 4 / 5;
  padding: 2rem;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(145deg, transparent 40%, rgba(255, 255, 255, 0.1)),
    var(--green);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 48% 48% 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}

.portrait-card::before {
  position: absolute;
  right: -24%;
  bottom: -18%;
  width: 90%;
  aspect-ratio: 1;
  background: var(--coral);
  border-radius: 50%;
  content: "";
}

.portrait-card::after {
  position: absolute;
  top: 14%;
  left: -30%;
  width: 78%;
  aspect-ratio: 1;
  border: 2rem solid var(--green-light);
  border-radius: 50%;
  content: "";
  opacity: 0.45;
}

.portrait-initials {
  position: relative;
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 11vw, 9rem);
  letter-spacing: -0.1em;
  line-height: 1;
}

.portrait-caption {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  width: 100%;
  aspect-ratio: 1;
}

.orbit-two {
  width: 67%;
  aspect-ratio: 1;
  border-color: var(--coral);
  transform: rotate(-17deg) scaleY(1.4);
}

.art-note {
  position: absolute;
  z-index: 3;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 9px 22px rgba(23, 34, 28, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-style: italic;
}

.note-one {
  top: 15%;
  left: 0;
  transform: rotate(-8deg);
}

.note-two {
  right: -2%;
  bottom: 18%;
  transform: rotate(6deg);
}

.marquee {
  overflow: hidden;
  color: var(--white);
  background: var(--green);
  border-block: 1px solid rgba(255, 255, 255, 0.2);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  width: max-content;
  padding-block: 1.1rem;
  animation: scroll 28s linear infinite;
}

.marquee span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
  white-space: nowrap;
}

.marquee i {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--yellow);
  border-radius: 50%;
}

@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

.section-shell {
  display: grid;
  grid-template-columns: 4rem minmax(18rem, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(6rem, 12vw, 10rem);
  border-bottom: 1px solid var(--line);
}

.section-number {
  padding-top: 0.45rem;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.section-heading h2 {
  max-width: 40rem;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.about-copy {
  max-width: 37rem;
  padding-top: 2.2rem;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.about-copy p + p {
  margin-top: 1.7rem;
}

.focus {
  grid-template-rows: auto auto;
}

.focus-grid {
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.focus-card {
  min-height: 19rem;
  padding: 1.6rem;
  background: rgba(255, 253, 247, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.focus-card:hover {
  z-index: 1;
  box-shadow: var(--shadow);
  transform: translateY(-6px) rotate(-1deg);
}

.focus-card.featured {
  color: var(--white);
  background: var(--green);
  transform: translateY(2rem);
}

.focus-card.featured:hover {
  transform: translateY(calc(2rem - 6px)) rotate(1deg);
}

.focus-card p {
  color: var(--muted-ink);
}

.focus-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.card-icon {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 4.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  place-items: center;
}

.research {
  grid-template-columns: 4rem 1fr;
}

.research-content {
  min-width: 0;
}

.research-content .section-heading {
  max-width: 52rem;
  margin-bottom: 3.5rem;
}

.research-list {
  border-top: 1px solid var(--line);
}

.research-item {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding-block: 1.7rem;
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    padding 180ms ease;
}

.research-item:hover,
.research-item:focus-visible {
  padding-inline: 1rem;
  color: var(--green);
}

.research-year {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.research-item strong,
.research-item small {
  display: block;
}

.research-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
}

.research-item small {
  margin-top: 0.35rem;
  color: var(--muted-ink);
  font-size: 0.78rem;
}

.research-arrow {
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.research-item:hover .research-arrow,
.research-item:focus-visible .research-arrow {
  transform: translate(3px, -3px);
}

.contact {
  grid-template-columns: 1fr auto;
  align-items: end;
  width: 100%;
  max-width: none;
  padding: clamp(6rem, 10vw, 9rem) max(1.5rem, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--green);
  border: 0;
}

.contact-copy {
  max-width: 53rem;
}

.contact .eyebrow {
  color: var(--green-light);
}

.contact h2 {
  margin-bottom: 1.7rem;
}

.contact p:last-child {
  max-width: 36rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 3rem;
  padding-block: 2.2rem;
  color: var(--muted-ink);
  font-size: 0.75rem;
  font-weight: 650;
}

footer p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.hero .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.hero .reveal:nth-child(4) {
  transition-delay: 240ms;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero-art {
    min-height: 31rem;
  }

  .section-shell {
    grid-template-columns: 3rem 1fr;
  }

  .section-heading,
  .about-copy {
    grid-column: 2;
  }

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

  .focus-card {
    min-height: auto;
  }

  .focus-card.featured,
  .focus-card.featured:hover {
    transform: none;
  }

  .card-icon {
    margin-bottom: 2rem;
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact .button {
    justify-self: start;
  }
}

@media (max-width: 600px) {
  .site-header,
  .section-shell,
  .hero,
  footer {
    width: min(100% - 2rem, 1180px);
  }

  .site-header {
    min-height: 5rem;
  }

  .wordmark > span:last-child {
    display: none;
  }

  nav {
    gap: 1.15rem;
  }

  nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem 5rem;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 27rem;
  }

  .section-shell {
    grid-template-columns: 1fr;
    padding-block: 5.5rem;
  }

  .section-number,
  .section-heading,
  .about-copy,
  .focus-grid {
    grid-column: 1;
  }

  .section-number {
    padding: 0;
  }

  .about-copy {
    padding-top: 0;
  }

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

  .research-item {
    grid-template-columns: 3.5rem 1fr auto;
  }

  .contact {
    width: 100%;
    padding-inline: 1rem;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
