html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 1,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}

.paper-grain {
  background-image:
    radial-gradient(rgba(28, 25, 23, 0.14) 0.65px, transparent 0.65px),
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2));
  background-size: 8px 8px, 100% 100%;
  mix-blend-mode: multiply;
  opacity: 0.035;
}

.nav-link {
  border-bottom: 1px solid transparent;
  color: #57534e;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  padding-bottom: 0.25rem;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: #b45309;
  color: #b45309;
}

.nav-link-active {
  border-color: #b45309;
  color: #b45309;
}

.hero-portrait {
  filter: grayscale(1) contrast(1.08);
  object-position: center 12%;
}

.about-portrait {
  filter: grayscale(1) contrast(1.05);
  object-position: center 18%;
}

.credential-image {
  object-position: center top;
}

.trust-pill {
  align-items: center;
  border: 1px solid rgba(87, 83, 78, 0.2);
  color: #44403c;
  display: inline-flex;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
}

.expertise-card {
  border-bottom: 1px solid rgba(168, 162, 158, 0.5);
  border-right: 1px solid rgba(168, 162, 158, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 100%;
  padding: 3rem;
  transition: background-color 250ms ease;
}

.expertise-card:hover {
  background-color: rgba(245, 245, 244, 0.9);
}

.expertise-rule {
  background-color: rgba(180, 83, 9, 0.28);
  height: 2px;
  margin-top: auto;
  transition:
    width 400ms ease,
    background-color 250ms ease;
  width: 2rem;
}

.expertise-card:hover .expertise-rule {
  background-color: rgba(180, 83, 9, 0.9);
  width: 100%;
}

.timeline-entry {
  display: flex;
  gap: 2rem;
}

.timeline-rail {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  padding-top: 0.35rem;
}

.timeline-dot {
  background-color: #b45309;
  height: 0.5rem;
  width: 0.5rem;
}

.timeline-dot-muted {
  background-color: rgba(180, 83, 9, 0.45);
}

.timeline-line {
  background-color: rgba(120, 113, 108, 0.35);
  flex: 1 1 auto;
  margin-top: 0.5rem;
  width: 1px;
}

.timeline-label {
  color: #78716c;
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-title {
  color: #1c1917;
  font-family: "Newsreader", serif;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  transition: font-style 180ms ease;
}

.timeline-entry:hover .timeline-title {
  font-style: italic;
}

.timeline-copy {
  color: #57534e;
  font-size: 1rem;
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 42rem;
}

.discipline-block {
  border-top: 1px solid rgba(168, 162, 158, 0.55);
  padding-top: 1rem;
}

.discipline-header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.discipline-title {
  color: #1c1917;
  font-family: "Newsreader", serif;
  font-size: 1.5rem;
  font-style: italic;
}

.discipline-tag {
  color: #b45309;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.discipline-copy {
  color: #57534e;
  line-height: 1.8;
  margin: 0;
}

.credential-card {
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(214, 211, 209, 0.8);
  box-shadow: 0 30px 80px rgba(41, 37, 36, 0.08);
  padding: 2rem;
}

.credential-kicker,
.contact-kicker {
  color: #b45309;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.credential-list {
  color: #57534e;
  display: grid;
  gap: 0.8rem;
  line-height: 1.7;
  list-style: none;
  margin: 0;
  padding: 0;
}

.credential-list li {
  padding-left: 1.2rem;
  position: relative;
}

.credential-list li::before {
  background-color: #b45309;
  border-radius: 999px;
  content: "";
  height: 0.35rem;
  left: 0;
  position: absolute;
  top: 0.72rem;
  width: 0.35rem;
}

.contact-card {
  background-color: rgba(28, 25, 23, 0.72);
  border: 1px solid rgba(68, 64, 60, 0.9);
  padding: 2rem;
}

.footer-link {
  color: #78716c;
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #f5f5f4;
}

@media (max-width: 1024px) {
  .timeline-entry {
    gap: 1.4rem;
  }

  .expertise-card {
    padding: 2.4rem;
  }
}

@media (max-width: 767px) {
  .timeline-title {
    font-size: 1.7rem;
  }

  .timeline-copy,
  .discipline-copy,
  .credential-list {
    font-size: 0.98rem;
  }

  .discipline-header {
    align-items: start;
    flex-direction: column;
  }

  .expertise-card,
  .credential-card,
  .contact-card {
    padding: 1.6rem;
  }
}
