/* Belmiro Valcanaia — Scheme B · Trousdale Light */
:root {
  --lime: #f3efe6;
  --lime-soft: #faf7f1;
  --lime-deep: #e4ddd0;
  --olive: #2a3a2e;
  --olive-mid: #3a4f40;
  --olive-soft: #5a6e5f;
  --wood: #8b5e3c;
  --wood-soft: rgba(139, 94, 60, 0.18);
  --ink: #1c241e;
  --slate: #4a554c;
  --line: rgba(42, 58, 46, 0.14);
  --line-on-dark: rgba(243, 239, 230, 0.22);
  --grass: #3d5a42;
  --grass-band: #dfe8d8;
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --gutter: clamp(1.1rem, 4.5vw, 2.5rem);
  --measure: min(1120px, calc(100% - (var(--gutter) * 2)));
  --narrow: min(680px, calc(100% - (var(--gutter) * 2)));
  --header-h: 3.6rem;
  --section-y: clamp(3.75rem, 10vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 0.75rem);
}

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

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

  .hero-enter,
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 0.15vw + 0.94rem, 1.06rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--slate);
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(223, 232, 216, 0.7), transparent 55%),
    linear-gradient(180deg, var(--lime-soft) 0%, var(--lime) 42%, var(--lime-deep) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.wrap {
  width: var(--measure);
  margin-inline: auto;
}

.wrap.narrow {
  width: var(--narrow);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  background: var(--olive);
  color: var(--lime);
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: calc(0.75rem + var(--safe-top));
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: var(--safe-top);
  color: var(--lime);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  color: var(--olive);
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: var(--measure);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px var(--wood-soft);
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.78;
  transition: opacity 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a.is-active {
  box-shadow: inset 0 -1.5px 0 currentColor;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.site-nav + .header-tools {
  margin-left: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid currentColor;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0.9;
}

.lang-btn {
  min-width: 2.5rem;
  min-height: 2rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

.lang-btn.is-active {
  opacity: 1;
  background: color-mix(in srgb, currentColor 14%, transparent);
}

.nav-toggle {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.9;
  transition: background-color 0.25s var(--ease), transform 0.2s var(--ease);
}

/* Visual circle stays compact; the hit area is extended to 44px. */
.nav-toggle::after {
  content: "";
  position: absolute;
  inset: -0.25rem;
  border-radius: inherit;
}

.nav-toggle:active {
  transform: scale(0.94);
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.95rem;
  height: 1.5px;
  margin-left: -0.475rem;
  border-radius: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
}

.nav-toggle-bar:first-child {
  transform: translateY(-0.2rem);
}

.nav-toggle-bar:last-child {
  width: 0.6rem;
  transform: translate(0.35rem, 0.2rem);
}

body.is-nav-open .nav-toggle {
  background: color-mix(in srgb, currentColor 14%, transparent);
}

body.is-nav-open .nav-toggle-bar:first-child {
  transform: rotate(45deg);
}

body.is-nav-open .nav-toggle-bar:last-child {
  width: 0.95rem;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle,
  .nav-toggle-bar {
    transition: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-height: calc(100dvh - var(--header-h) - var(--safe-top));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem max(var(--gutter), var(--safe-left)) 1.25rem;
  background: rgba(42, 58, 46, 0.97);
  color: var(--lime);
}

.mobile-nav[hidden] {
  display: none;
}

body.is-nav-open .site-header:not(.is-scrolled) {
  background: rgba(42, 58, 46, 0.97);
}

.site-header.is-scrolled .mobile-nav {
  background: rgba(243, 239, 230, 0.98);
  color: var(--olive);
}

.mobile-nav a {
  text-decoration: none;
  padding: 0.8rem 0.2rem;
  border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.site-header.is-scrolled .mobile-nav a {
  border-bottom-color: var(--line);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(28, 36, 30, 0.35);
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav,
  .nav-backdrop {
    display: none !important;
  }

  .header-tools {
    margin-left: 1.25rem;
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  .site-nav {
    gap: 0.9rem;
  }

  .site-nav a {
    font-size: 0.82rem;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--lime-soft);
  background: var(--olive);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 32%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 36, 30, 0.35) 0%, rgba(28, 36, 30, 0.08) 30%, rgba(28, 36, 30, 0.55) 62%, rgba(28, 36, 30, 0.88) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding:
    calc(var(--header-h) + var(--safe-top) + 2rem)
    0
    calc(clamp(2.5rem, 8vw, 5rem) + var(--safe-bottom));
}

.hero-copy > * {
  max-width: 36rem;
}

/* Tablet portrait: photo stays full-bleed, copy sits lower third */
@media (min-width: 640px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-media img {
    object-position: 50% 30%;
  }
}

/* Wide / landscape: split composition, photo on the right */
@media (min-width: 1024px), (orientation: landscape) and (min-width: 640px) {
  .hero {
    align-items: center;
  }

  .hero-media {
    left: auto;
    width: 56%;
  }

  .hero-media img {
    object-position: 50% 34%;
  }

  .hero-veil {
    background:
      linear-gradient(90deg, var(--olive) 44%, rgba(42, 58, 46, 0.72) 52%, rgba(42, 58, 46, 0) 72%),
      linear-gradient(180deg, rgba(28, 36, 30, 0.3) 0%, transparent 25%, transparent 75%, rgba(28, 36, 30, 0.35) 100%);
  }

  .hero-copy {
    padding-block: calc(var(--header-h) + var(--safe-top) + 2.5rem) 3.5rem;
  }

  .hero-copy > * {
    max-width: min(36rem, 46vw);
  }
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-given {
  font-size: clamp(2.75rem, 7vw + 1rem, 5.5rem);
}

.hero-family {
  padding-bottom: 0.08em;
  font-size: clamp(2.2rem, 5.5vw + 0.8rem, 4.4rem);
  font-style: italic;
  font-weight: 400;
  opacity: 0.95;
}

.hero-role {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem);
  font-weight: 500;
  max-width: 28rem;
}

.hero-lede {
  margin: 1.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  color: #f7f1e4;
}

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

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--olive);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.hero-cta:hover {
  transform: translateY(-2px);
  background: #fffaf2;
}

.hero-place {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.8;
}

.hero-enter {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: heroRise 0.9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 0.12s + 0.15s);
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.section {
  padding: var(--section-y) 0;
}

.section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-label {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--olive);
}

.section-dek {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--olive-soft);
}

.prose p {
  margin: 0 0 1rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* —— About —— */
.section--about {
  background:
    linear-gradient(180deg, rgba(223, 232, 216, 0.55) 0%, rgba(223, 232, 216, 0.22) 100%);
  border-block: 1px solid rgba(61, 90, 66, 0.12);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-body {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.08rem;
  color: var(--ink);
}

.about-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
}

.about-meta li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.meta-k {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
}

.meta-v {
  color: var(--olive);
  font-weight: 500;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 3rem;
  }
}

/* —— Formation —— */
.edu-grid {
  display: grid;
  gap: 1.25rem;
}

.edu-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(255, 252, 246, 0.72);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 18px 40px rgba(42, 58, 46, 0.04);
}

.edu-years {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
}

.edu-school {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 500;
  color: var(--olive);
}

.edu-degree {
  margin: 0.4rem 0 1.1rem;
  color: var(--olive-soft);
  font-weight: 500;
}

@media (min-width: 900px) {
  .edu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* —— Career timeline —— */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 0.42rem;
  width: 1px;
  background: linear-gradient(180deg, var(--wood), var(--wood-soft) 85%, transparent);
}

.timeline-item {
  position: relative;
  padding-left: clamp(1.9rem, 4vw, 2.6rem);
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: clamp(1.45rem, 3vw, 2.05rem);
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--wood);
}

.timeline-item:last-child .timeline-dot {
  background: var(--wood);
  box-shadow: 0 0 0 4px var(--wood-soft);
}

.timeline-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(255, 252, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
}

.timeline-year {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
}

.timeline-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--olive);
  line-height: 1.25;
}

/* —— Credentials —— */
.section--credentials {
  background: linear-gradient(180deg, transparent, rgba(223, 232, 216, 0.35));
}

.cred-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.cred-bar {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cred-bar span {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--olive);
  background: rgba(255, 252, 246, 0.7);
}

.cred-frame {
  margin: 0;
  padding: 0.75rem;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 22px 50px rgba(42, 58, 46, 0.08);
}

.cred-frame img {
  width: 100%;
  border-radius: 0.45rem;
}

@media (min-width: 900px) {
  .cred-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }
}

/* —— Close —— */
.section--close {
  padding-bottom: clamp(4rem, 12vw, 6.5rem);
}

.close-shell {
  text-align: center;
}

.close-quote {
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  border: 0;
}

.close-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.85rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  color: var(--olive);
}

.close-line--soft:empty {
  display: none;
}

.close-line--soft {
  margin-top: 0.55rem;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 400;
  color: var(--olive-soft);
}

.close-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.92rem;
}

.close-meta-label {
  font-weight: 600;
  color: var(--olive);
}

.close-meta-value {
  color: var(--olive-soft);
}

.close-thesis {
  margin: 0 auto;
  max-width: 34rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  color: var(--slate);
}

.close-milestones {
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

.close-milestones-label {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood);
}

.milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: rgba(255, 252, 246, 0.72);
  overflow: hidden;
}

.milestones li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.milestones li:nth-child(2n) {
  border-right: 0;
}

.milestones li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.milestones li:last-child {
  background: var(--olive);
}

.ms-year {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  color: var(--wood);
}

.ms-name {
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--olive);
}

.milestones li:last-child .ms-year {
  color: #e3c6a8;
}

.milestones li:last-child .ms-name {
  color: var(--lime);
}

@media (min-width: 800px) {
  .milestones {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .milestones li:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .milestones li:nth-child(4n) {
    border-right: 0;
  }

  .milestones li:nth-last-child(-n + 4) {
    border-bottom: 0;
  }
}

.close-foot {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}




/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 calc(2rem + var(--safe-bottom));
  background: var(--olive);
  color: var(--lime);
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.footer-role,
.footer-sign {
  margin: 0.35rem 0 0;
  opacity: 0.82;
}



.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.86rem;
}

.footer-copy {
  margin: 0;
  opacity: 0.72;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.footer-nav a {
  text-decoration: none;
  opacity: 0.8;
}

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

/* —— Responsive refinements —— */
.hero-cta:active {
  transform: scale(0.98);
}

.prose,
.about-body,
.close-thesis {
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 479px) {
  :root {
    --gutter: 1.15rem;
    --section-y: 3.5rem;
  }

  body {
    font-size: 0.97rem;
    line-height: 1.66;
  }

  .brand-word {
    font-size: 0.98rem;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .hero-actions {
    gap: 0.85rem 1.1rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  .about-body {
    font-size: 1rem;
  }

  .about-meta li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .edu-card,
  .timeline-card {
    padding: 1.2rem 1.1rem;
    border-radius: 0.9rem;
  }

  .timeline-item {
    padding-left: 1.6rem;
  }

  .timeline-dot {
    top: 1.35rem;
    width: 0.75rem;
    height: 0.75rem;
  }

  .timeline::before {
    left: 0.37rem;
  }

  .cred-frame {
    padding: 0.5rem;
  }

  .milestones li {
    padding: 0.95rem 0.9rem;
  }

  .ms-year {
    font-size: 1.3rem;
  }

  .ms-name {
    font-size: 0.8rem;
  }


  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 359px) {
  .lang-btn {
    min-width: 2.2rem;
    padding-inline: 0.4rem;
  }

  .brand-mark {
    display: none;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .cred-frame {
    max-width: 34rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --measure: min(1240px, calc(100% - (var(--gutter) * 2)));
  }

  .about-body {
    font-size: 1.15rem;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-block: calc(var(--header-h) + var(--safe-top) + 1.5rem) 2rem;
  }

  .hero-eyebrow {
    margin-bottom: 0.5rem;
  }

  .hero-given {
    font-size: 2.6rem;
  }

  .hero-family {
    font-size: 2.1rem;
  }

  .hero-role {
    margin-top: 0.6rem;
  }

  .hero-lede {
    margin-top: 0.6rem;
    font-size: 1.2rem;
  }

  .hero-actions {
    margin-top: 1rem;
  }
}

@media (hover: none) {
  .hero-cta:hover {
    transform: none;
  }
}
