:root {
  --bg: #0b0d10;
  --bg-soft: #12161b;
  --text: #eef1f4;
  --text-soft: #a7b0ba;
  --line: #24303a;
  --accent: #7da2c7;
  --chrome-bg: #16272a;
  --chrome-line: #294245;
  --decor-top: -26px;
  --decor-right: -34px;
  --decor-size: clamp(240px, 34vw, 430px);
  --decor-opacity: 0.11;
}

body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #d7e0e8;
}

.site-header {
  background: color-mix(in srgb, var(--chrome-bg) 92%, transparent);
  border-bottom: 1px solid var(--chrome-line);
}

.brand {
  letter-spacing: 0.2px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.language-switch {
  display: inline-flex;
  border: 1px solid #2a3640;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(18, 22, 27, 0.72);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #97a5b2;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 10px 6px;
  cursor: pointer;
}

.flag {
  font-size: 0.78rem;
  line-height: 1;
}

.lang-btn + .lang-btn {
  border-left: 1px solid #2a3640;
}

.lang-btn:hover {
  color: #c4d6e6;
}

.lang-btn.is-active {
  color: #edf3f8;
  background: rgba(75, 98, 118, 0.24);
}

.card {
  border-color: #2a3640;
}

.section {
  border-bottom-color: #395166;
  padding: 46px 0 40px;
}

.news-lead {
  margin-top: -4px;
  margin-bottom: 16px;
  color: #aebdca;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.news-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.album-highlight {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #2f3f4a;
  background: rgba(18, 27, 35, 0.62);
}

.album-highlight-lead {
  margin: 0;
  color: #d9e5ef;
  font-size: 1.04rem;
}

.album-highlight-link {
  margin: 6px 0 0;
  font-size: 0.86rem;
}

.album-highlight-link a {
  color: #d8b36b;
  text-decoration: none;
}

.album-highlight-link a:hover {
  text-decoration: underline;
}

.track-embed-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.track-embed-item {
  padding: 0;
  border: 0;
  background: transparent;
}

.track-embed-item .item-title-inline {
  margin: 0 0 5px;
  font-size: 0.92rem;
}

.track-player {
  width: 100%;
  height: 42px;
  border: 0;
}

.news-card {
  padding: 18px;
  border: 1px solid #2a3640;
  background: linear-gradient(180deg, rgba(17, 22, 28, 0.95), rgba(14, 18, 24, 0.95));
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.news-card .item-title {
  min-height: 2.8em;
}

.news-excerpt {
  margin: 8px 0 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-readmore {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  color: #0687f5 !important;
  border-bottom: 0;
  padding-bottom: 0;
}

.news-readmore:hover {
  transform: none;
  color: #3ea0ff !important;
  border-bottom: 0;
}

.news-inline-image {
  margin-top: 12px;
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.carousel-item-hidden {
  display: none !important;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #355168;
  border-radius: 999px;
  background: rgba(27, 44, 59, 0.55);
  color: #d7e0e8;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.work-links {
  margin-top: 14px;
  display: flex;
  align-items: center;
  min-height: 28px;
}

.work-player {
  width: 100%;
  height: 120px;
  border: 0;
  margin-top: 10px;
  margin-bottom: 2px;
}

.work-player-bandcamp {
  height: 122px;
}

.work-player-bandcamp-wrap {
  width: 100%;
  overflow: hidden;
  margin-top: 10px;
  margin-bottom: 2px;
}

.work-player-bandcamp-wrap .work-player-bandcamp {
  margin: 0;
}

.mobile-bandcamp-lite {
  display: none;
}

.work-youtube-fallback {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  margin-top: 10px;
  margin-bottom: 2px;
  border: 1px solid #2a3640;
  overflow: hidden;
  background: #111418;
}

.work-youtube-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.84);
}

.work-youtube-fallback .play-badge {
  position: absolute;
  inset: auto auto 10px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 0.74rem;
}

.work-links .link-external {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
}

.work-links .link-external svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.work-links .link-external[href*="bandcamp.com"] svg {
  fill: currentColor;
  stroke: none;
}

.work-links .link-external[href*="soundcloud.com"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-links .link-external[href*="youtube.com"] svg {
  fill: currentColor;
  stroke: none;
}

.work-links .link-external span {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.gallery figure {
  padding: 0;
  display: block;
  min-height: 0;
  overflow: hidden;
}

.gallery figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery figure img:hover {
  filter: brightness(1.05);
}

.gallery figcaption {
  padding: 10px 12px;
  border-top: 1px solid #2a3640;
  text-align: left;
}

body.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 12, 0.9);
  z-index: 1200;
  padding: 28px 16px;
}

.gallery-lightbox.is-open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-lightbox-image {
  max-width: min(92vw, 1280px);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid #2f3f4a;
  background: #0f141a;
}

.gallery-lightbox-caption {
  margin: 0;
  color: #d4dde6;
  font-size: 0.9rem;
}

.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid #3b4d5b;
  border-radius: 999px;
  background: rgba(20, 28, 35, 0.9);
  color: #e8eef4;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.gallery figure {
  border-color: #2a3640;
}

.hero-layout {
  display: block;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(7, 10, 14, 0.72), rgba(7, 10, 14, 0.86)), url("./assets/img/banner-desktop.jpg");
  background-size: cover;
  background-position: center top;
  opacity: 0.26;
  pointer-events: none;
}

body[data-decor="sutil"] {
  --decor-top: -34px;
  --decor-right: -54px;
  --decor-size: clamp(220px, 30vw, 370px);
  --decor-opacity: 0.07;
}

body[data-decor="equilibrado"] {
  --decor-top: -26px;
  --decor-right: -34px;
  --decor-size: clamp(240px, 34vw, 430px);
  --decor-opacity: 0.11;
}

body[data-decor="presente"] {
  --decor-top: -14px;
  --decor-right: -20px;
  --decor-size: clamp(270px, 38vw, 470px);
  --decor-opacity: 0.16;
}

.hero-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid #2a3640;
  background: #131820;
}

.work-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border: 1px solid #2a3640;
  margin-bottom: 10px;
}

.cards .card {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  height: 100%;
  justify-content: flex-start;
}

.cards .item-title {
  margin-bottom: 0;
  min-height: 3.2em;
}

.cards .meta {
  min-height: 1.2em;
}

.cards .work-links {
  margin-top: auto;
  min-height: 1.8em;
}

.hero-photo figcaption {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.87rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  color: #dbe7f2;
  font-size: clamp(1.95rem, 2.7vw, 2.35rem);
  margin-bottom: 12px;
  text-transform: none;
}

.section > p {
  margin: 0 0 12px;
}

.item-title,
.item-title-inline {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #e7edf2;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.item-title {
  font-size: 1.02rem;
  line-height: 1.35;
}

.item-title-inline {
  font-size: 0.95rem;
}

.no-break-term {
  white-space: nowrap;
}

h1 {
  font-size: clamp(3rem, 7.4vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0.012em;
  font-weight: 600;
  margin-bottom: 10px;
}

.subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem !important;
  font-style: normal;
  letter-spacing: 0.01em;
  font-weight: 500;
  line-height: 1.12;
  text-transform: none;
  color: #d8b36b;
}

.location {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: #9aa7b3;
}

.eyebrow {
  color: #8e9baa;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
}

.hero-intro {
  max-width: 92ch;
  margin-top: 14px;
  color: #c3cdd7;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.hero-copy {
  max-width: none;
}

.hero-bio-grid {
  display: block;
  margin-top: 12px;
}

.hero-bio-grid::after {
  content: "";
  display: table;
  clear: both;
}

.hero-bio-grid .hero-intro {
  max-width: none;
  margin-top: 0;
  margin-bottom: 12px;
}

.hero-bio-grid .hero-photo {
  float: left;
  margin: 4px 24px 10px 0;
  width: clamp(190px, 21vw, 245px);
}

.hero-intro-label {
  margin-top: 20px;
  margin-bottom: 8px;
  color: #95a4b2;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-intro-secondary {
  margin-top: 8px;
  color: #aebbc8;
}

.hero-photo {
  position: relative;
  margin: 0;
}

.photo-credit {
  margin-top: 6px;
  margin-bottom: 0;
  color: #8192a1;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  width: 100%;
  max-width: none;
  background: var(--chrome-bg);
  border-top: 1px solid var(--chrome-line);
  border-bottom: 1px solid var(--chrome-line);
  margin: 12px 0 0;
  padding: 11px 0;
  box-sizing: border-box;
}

.footer-row {
  width: 100%;
  margin: 0;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer-row > p {
  margin: 0;
  color: #9aabb8;
  font-size: 0.9rem;
  line-height: 1.2;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
}

.footer-links a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b4c9da;
  text-decoration: none;
  border: 1px solid #355168;
  border-radius: 999px;
  background: rgba(27, 44, 59, 0.7);
}

.footer-links a[aria-label="Instagram"] {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  background: #c13584;
}

.footer-links a[aria-label="SoundCloud"] {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  background: #ff6a00;
}

.footer-links a[aria-label="Bandcamp"] {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  background: #1da0c3;
}

.footer-links a[aria-label="Facebook"] {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  background: #1877f2;
}

.footer-links a[aria-label="YouTube"] {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  background: #ff0000;
}

.footer-links a:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.footer-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-links a[aria-label="Bandcamp"] svg {
  fill: currentColor;
  stroke: none;
}

.footer-links a[aria-label="YouTube"] svg {
  fill: currentColor;
  stroke: none;
}

.menu a {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: #97a5b2;
}

.card p,
.section p,
.list li span {
  font-size: 0.97rem;
  line-height: 1.72;
}

.meta,
.list li small {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #8f9daa;
}

.link-external,
.link-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.link-external {
  color: #9fbbd3;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.link-external:hover {
  color: #c4d6e6;
  transform: translateX(1px);
}

#escritos .item-title-inline.link-external,
#materias .item-title-inline.link-external,
#partituras .item-title-inline.link-external {
  display: inline;
  align-items: initial;
  gap: 0;
  font-size: 1.03rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

#escritos .item-title-inline.link-external:hover,
#materias .item-title-inline.link-external:hover,
#partituras .item-title-inline.link-external:hover {
  text-decoration: none;
  transform: none;
}

#escritos .list li:last-child,
#materias .list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

#partituras.section {
  position: relative;
  padding-top: 42px;
  padding-bottom: 40px;
  padding-right: clamp(280px, 34%, 360px);
}

#partituras .section-title {
  margin-bottom: 6px;
}

#partituras .scores-main > p {
  margin: 0;
}

.scores-layout {
  display: block;
}

.scores-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  max-width: 520px;
}

.scores-links li {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

#partituras .scores-links .link-external {
  padding: 0;
}

#partituras .scores-links .link-external:hover {
  transform: none;
}

#partituras .scores-links li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-alert {
  border: 1px solid #4e6579;
  background: linear-gradient(180deg, rgba(44, 58, 71, 0.4), rgba(24, 34, 44, 0.5));
  padding: 28px 24px 26px;
  margin: 0;
  position: absolute;
  right: 0;
  top: 50%;
  width: clamp(300px, 34vw, 390px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

#contato.section {
  padding-top: 34px;
  padding-bottom: 30px;
}

#contato .section-title {
  margin-bottom: 6px;
}

#contato > p {
  margin-top: 0;
  margin-bottom: 6px;
}

.contact-alert-title {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0d9a8;
  font-size: 1.24rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
}

.alert-icon {
  font-size: 1.46rem;
  line-height: 1;
}

.contact-alert-text {
  margin: 0;
  color: #d6e1ea;
  font-size: 1.05rem;
  line-height: 1.72;
  text-align: justify;
}

.contact-alert-link {
  color: #e6bf7f;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
  font-size: 1.02rem;
}

.contact-alert-link:hover {
  color: #f2d7a5;
}

.link-action {
  color: #d2e4f6;
  border: 1px solid #31414f;
  padding: 6px 11px;
  font-size: 0.79rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  background: rgba(49, 65, 79, 0.18);
}

.link-action:hover {
  color: #edf3f8;
  border-color: #4b6276;
  background: rgba(75, 98, 118, 0.2);
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 12px;
  }

  .brand {
    font-size: 1.35rem;
  }

  .header-controls {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .language-switch {
    order: -1;
  }

  .lang-btn {
    padding: 8px 11px 7px;
  }

  .menu {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .menu a {
    white-space: nowrap;
    padding: 6px 10px;
    border: 1px solid #2a3640;
    border-radius: 999px;
    background: rgba(18, 28, 36, 0.55);
    scroll-snap-align: start;
  }

  main {
    width: min(var(--max-width), calc(100% - 24px));
    padding-top: 18px;
  }

  .section {
    padding: 34px 0 30px;
  }

  .section-title {
    font-size: 1.74rem;
    margin-bottom: 10px;
  }

  .actions {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .actions .link-action {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .cards {
    gap: 12px;
  }

  .carousel {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.06rem;
  }

  .carousel-track {
    grid-template-columns: 1fr;
  }

  .work-links .link-external svg {
    width: 19px;
    height: 19px;
  }

  .work-links .link-external span {
    font-size: 1.02rem;
  }

  .work-player-bandcamp {
    height: 126px;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .work-player-bandcamp-wrap {
    display: none;
  }

  .mobile-bandcamp-lite {
    display: block;
    margin-top: 10px;
    margin-bottom: 6px;
    border: 1px solid #2a3640;
    background: linear-gradient(180deg, rgba(16, 22, 29, 0.95), rgba(11, 15, 21, 0.95));
    padding: 10px 10px 8px;
    min-height: 82px;
  }

  .mobile-bandcamp-lite .mobile-bc-title,
  .mobile-bandcamp-lite .mobile-bc-artist {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-bandcamp-lite .mobile-bc-title {
    color: #e6edf3;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
  }

  .mobile-bandcamp-lite .mobile-bc-artist {
    margin-top: 2px;
    color: #95a6b5;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .mobile-bandcamp-lite .mobile-bc-controls {
    margin-top: 7px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .mobile-bandcamp-lite .mobile-bc-play {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #355168;
    background: rgba(27, 44, 59, 0.7);
    color: #d7e0e8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    line-height: 1;
  }

  .mobile-bandcamp-lite .mobile-bc-scrubber {
    position: relative;
    top: -2px;
    height: 6px;
    border-radius: 999px;
    background: rgba(82, 101, 118, 0.34);
    overflow: hidden;
  }

  .mobile-bandcamp-lite .mobile-bc-playhead {
    display: block;
    width: 18%;
    height: 100%;
    background: #7da2c7;
    border-radius: 999px;
  }

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

  .track-embed-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .card {
    padding: 16px;
  }

  .list li {
    padding: 10px 0;
  }

  .scores-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .scores-links {
    margin-top: 0;
  }

  #partituras.section {
    padding-right: 0;
  }

  #partituras .contact-alert {
    position: static;
    width: 100%;
    transform: none;
    padding: 18px 16px 16px;
  }

  #contato.section {
    padding-top: 30px;
    padding-bottom: 24px;
  }

  #escritos .item-title-inline.link-external,
  #materias .item-title-inline.link-external {
    font-size: 0.99rem;
  }

  .gallery {
    gap: 10px;
  }

  .gallery figure {
    min-height: 0;
  }

  .gallery figure img {
    height: 180px;
  }

  .footer-row {
    width: 100%;
    padding: 0 12px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .footer-links {
    justify-self: end;
  }

  .footer-links a {
    width: 30px;
    height: 30px;
  }

  .footer-links svg {
    width: 15px;
    height: 15px;
  }

  .hero-bg {
    opacity: 0.22;
  }

  .hero-layout {
    display: block;
  }

  .hero-bio-grid .hero-photo {
    float: none;
    width: min(160px, 52vw);
    margin: 2px 0 12px;
  }

  .hero-bio-grid .hero-photo img {
    filter: grayscale(30%) brightness(0.82) saturate(0.86);
    border-color: #22303a;
  }

  .hero-photo figcaption {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(2.4rem, 13vw, 3.2rem);
  }

  .hero-intro {
    font-size: 0.97rem;
    line-height: 1.74;
  }

  .subtitle {
    font-size: 1.41rem !important;
    line-height: 1.12;
  }

  .hero-bio-grid {
    display: block;
    margin-top: 10px;
  }

  .hero-intro-label {
    margin-top: 16px;
  }
}

@media (max-width: 420px) {
  .footer-row > p {
    font-size: 0.82rem;
  }

  .footer-links {
    gap: 8px;
  }

  h1 {
    font-size: clamp(2.1rem, 12.5vw, 2.7rem);
  }

  .subtitle {
    font-size: 1.25rem !important;
    line-height: 1.1;
  }

  .hero-intro {
    font-size: 0.93rem;
  }

  .item-title-inline,
  .card p,
  .section p {
    font-size: 0.94rem;
  }
}
