:root {
  --navy: #173a68;
  --navy-deep: #102d52;
  --blue: #315b8e;
  --blue-soft: #dfe9f2;
  --tile-line: rgba(23, 58, 104, .075);
  --paper: #f7f8f5;
  --paper-2: #eef3f6;
  --ink: #163050;
  --muted: #667285;
  --white: #fff;
  --border: rgba(23, 58, 104, .28);
  --shadow: 0 22px 60px rgba(17, 45, 82, .10);
  --serif: Baskerville, "Baskerville Old Face", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --script: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Lucida Calligraphy", cursive;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--navy); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  transform: translateY(-150%); background: var(--navy); color: #fff;
  padding: 10px 14px; border-radius: 4px; font: 700 14px/1 var(--sans);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  width: 100%; min-height: 84px; padding: 12px clamp(18px, 4vw, 54px);
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, min-height .25s ease;
}
.site-header.is-scrolled { min-height: 72px; border-bottom-color: var(--border); box-shadow: 0 10px 40px rgba(17, 45, 82, .06); }
.brand { display: inline-grid; grid-template-columns: auto auto auto; align-items: baseline; gap: 6px; text-decoration: none; color: var(--navy); line-height: .9; white-space: nowrap; }
.brand-kicker, .brand-main { font: 800 13px/1 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.brand-script { font: italic 28px/1 var(--script); transform: translateY(4px); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.main-nav a { position: relative; text-decoration: none; font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); padding: 12px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 1px; background: var(--navy); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 26px; height: 1.5px; background: var(--navy); margin: 6px 0; transition: transform .2s, opacity .2s; }

.section-tile {
  position: relative; isolation: isolate;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--tile-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--tile-line) 1px, transparent 1px);
  background-size: 168px 168px;
  border: 1px solid rgba(23, 58, 104, .12);
  overflow: hidden;
}
.section-tile::before {
  content: ""; position: absolute; inset: 26px; z-index: -1; pointer-events: none;
  border: 2px solid var(--navy); opacity: .8;
  box-shadow: inset 0 0 0 10px var(--paper), inset 0 0 0 11px rgba(23, 58, 104, .35);
}
.tile-ornaments i { position: absolute; width: 150px; height: 150px; background: url("../icons/azulejo-corner.svg") center/contain no-repeat; pointer-events: none; z-index: 1; }
.tile-ornaments i:nth-child(1) { top: 16px; left: 16px; }
.tile-ornaments i:nth-child(2) { top: 16px; right: 16px; transform: rotate(90deg); }
.tile-ornaments i:nth-child(3) { bottom: 16px; right: 16px; transform: rotate(180deg); }
.tile-ornaments i:nth-child(4) { bottom: 16px; left: 16px; transform: rotate(270deg); }

.hero {
  min-height: calc(100svh - 84px);
  padding: clamp(88px, 10vw, 140px) clamp(58px, 7vw, 110px) clamp(96px, 10vw, 140px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr); grid-template-rows: 1fr auto;
  gap: 48px 72px; align-items: center;
}
.hero::after { content: ""; position: absolute; top: 0; left: 0; width: 44%; height: 54px; background: rgba(60, 61, 62, .78); clip-path: polygon(0 0, 100% 0, 83% 100%, 0 100%); z-index: -1; }
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 14px; font: 800 12px/1.2 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--blue); }
.hero h1 { margin: 0; color: var(--navy); display: grid; width: max-content; max-width: 100%; line-height: .87; }
.hero h1 span { font: 800 clamp(48px, 6.5vw, 94px)/.92 var(--sans); text-transform: uppercase; letter-spacing: .045em; }
.hero h1 em { font: italic 700 clamp(52px, 7.2vw, 104px)/.8 var(--script); text-align: center; margin: 10px 0; text-transform: none; }
.hero-lead { margin: 34px 0 2px; font: 600 clamp(22px, 2.1vw, 31px)/1.35 var(--serif); }
.hero-sub { margin: 0; font: italic 600 clamp(18px, 1.6vw, 24px)/1.5 var(--serif); color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--navy); text-decoration: none; font: 800 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,45,82,.12); }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-deep); }
.button-ghost { color: var(--navy); background: rgba(247,248,245,.7); }
.button-ghost:hover { background: #fff; }
.hero-portrait { margin: 0; justify-self: center; width: min(100%, 520px); }
.portrait-frame { position: relative; background: var(--paper-2); border: 2px solid var(--navy); padding: 8px; box-shadow: 0 0 0 1px rgba(23,58,104,.35), var(--shadow); }
.portrait-frame::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(23,58,104,.25); pointer-events: none; }
.portrait-frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(1) contrast(1.05) sepia(.12) hue-rotate(165deg) saturate(1.7); }
.portrait-frame-large img { aspect-ratio: 4 / 5; object-position: 50% 35%; }
.portrait-frame figcaption { background: var(--navy); color: #fff; font: 500 11px/1 var(--sans); letter-spacing: .23em; text-align: center; text-transform: uppercase; padding: 13px 8px; }
.hero-members { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; font: 600 12px/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.hero-members b { color: #83a2c2; padding: 0 6px; }

.content-section { width: min(100%, 1440px); margin: 0 auto; padding: clamp(90px, 10vw, 150px) clamp(24px, 6vw, 90px); }
.section-heading { text-align: center; margin: 0 auto clamp(42px, 5vw, 72px); color: var(--navy); }
.section-heading h2, .section-heading h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: .95; }
.section-heading h2 { font-size: clamp(48px, 6.3vw, 86px); }
.section-heading h2 span { font-family: var(--script); font-style: italic; font-weight: 700; }
.section-heading h3 { font-size: clamp(42px, 5vw, 72px); font-family: var(--script); font-style: italic; }
.section-heading img { width: min(100%, 460px); margin: 22px auto 0; }
.section-heading.compact { margin-top: 100px; margin-bottom: 44px; }
.section-heading.align-left { text-align: left; margin: 0; }
.prose { font-size: clamp(17px, 1.45vw, 20px); }
.prose p { margin: 0 0 1.5em; }
.prose-centered { max-width: 900px; margin-inline: auto; text-align: center; }
.prose strong { color: var(--navy); }

.concert-facts { max-width: 900px; margin: clamp(46px, 6vw, 86px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border); }
.concert-facts article { text-align: center; padding: 30px 20px; display: grid; gap: 4px; }
.concert-facts article + article { border-left: 1px solid var(--border); }
.concert-facts span, .concert-facts small { font: 700 11px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.concert-facts strong { font: 500 clamp(26px, 3vw, 42px)/1.1 var(--serif); color: var(--navy); }

.musician-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 42px); max-width: 1050px; margin: 0 auto; }
.musician-card { text-align: center; }
.musician-card h4 { margin: 22px 0 0; font: 500 clamp(27px, 2.8vw, 38px)/1.1 var(--serif); color: var(--navy); }
.musician-card p { margin: 8px 0 0; font: italic 600 17px/1.4 var(--serif); color: var(--blue); }
.musician-card .portrait-frame img { aspect-ratio: 1 / 1; }

.profile { max-width: 1120px; margin: clamp(90px, 10vw, 150px) auto 0; padding-top: 54px; border-top: 1px solid var(--border); display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.profile-label h3 { margin: 0; font: italic 700 clamp(50px, 6vw, 82px)/1 var(--script); color: var(--navy); }
.profile-label span { display: block; margin-top: 14px; font: italic 600 14px/1.4 var(--serif); color: var(--muted); }
.profile-copy { font-size: clamp(16px, 1.25vw, 18px); }
.profile-copy p { margin-top: 0; margin-bottom: 1.45em; }

.mission { margin: 0 auto; width: min(calc(100% - 32px), 1450px); padding: clamp(96px, 10vw, 150px) clamp(58px, 8vw, 120px); }
.mission .section-heading h2 { font-family: var(--script); font-style: italic; font-weight: 700; font-size: clamp(46px, 6vw, 80px); }
.mission-quote { max-width: 980px; margin: 0 auto 54px; padding: 34px clamp(24px, 6vw, 70px); background: rgba(214, 228, 239, .72); border-block: 2px solid var(--navy); text-align: center; font: italic 600 clamp(22px, 2.3vw, 31px)/1.5 var(--serif); color: var(--navy); }

.support-layout { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.support .section-heading h2 { font-size: clamp(46px, 5.3vw, 74px); }
.support-copy { font-size: clamp(17px, 1.35vw, 19px); }
.support-copy > p { margin: 0 0 1.35em; }
.support-note { margin: 34px 0; padding: 26px 28px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(223,233,242,.56), rgba(247,248,245,.88)); }
.support-note strong { display: block; margin-bottom: 7px; font: 800 12px/1.3 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--navy); }
.support-note p { margin: 0; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.text-link { text-decoration: none; font-weight: 700; color: var(--navy); border-bottom: 1px solid rgba(23,58,104,.3); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--navy); }

.faq { padding-top: 40px; }
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 46px 24px 0; position: relative; font: 600 clamp(20px, 2vw, 26px)/1.3 var(--serif); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--sans); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 50px 24px 0; font-size: 17px; }

.contact { margin: 0 auto 28px; width: min(calc(100% - 32px), 1450px); padding: clamp(96px, 10vw, 140px) clamp(58px, 8vw, 120px); text-align: center; }
.contact .section-heading { margin-bottom: 34px; }
.contact-card { max-width: 660px; margin: 0 auto; padding: clamp(28px, 4vw, 50px); background: rgba(247,248,245,.78); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-name { margin: 0 0 10px; font: 500 clamp(28px, 3vw, 40px)/1.2 var(--serif); color: var(--navy); }
.contact-phone, .contact-email { display: block; width: fit-content; margin: 4px auto; text-decoration: none; }
.contact-phone { font: 600 clamp(24px, 3vw, 36px)/1.35 var(--serif); }
.contact-email { font: 700 15px/1.5 var(--sans); letter-spacing: .04em; color: var(--blue); word-break: break-word; }
.contact-card a:hover { color: var(--navy-deep); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.site-footer { width: min(100%, 1450px); margin: 0 auto; padding: 38px clamp(24px, 6vw, 90px) 44px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px 40px; border-top: 1px solid var(--border); font-family: var(--sans); }
.footer-brand { display: grid; gap: 4px; }
.footer-brand strong { color: var(--navy); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.footer-brand span, .site-footer p, .site-footer nav a { font-size: 12px; color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--navy); }
.site-footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal.is-visible { opacity: 1; transform: none; }

.legal-page { min-height: 100vh; padding: clamp(80px, 10vw, 130px) 24px; }
.legal-wrap { max-width: 840px; margin: 0 auto; }
.legal-wrap .back { font: 800 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; text-decoration: none; color: var(--navy); }
.legal-wrap h1 { font: 500 clamp(46px, 6vw, 72px)/1 var(--serif); color: var(--navy); margin: 36px 0 14px; }
.legal-wrap .updated { color: var(--muted); font: 600 12px/1.5 var(--sans); }
.legal-wrap h2 { margin: 42px 0 10px; font: 600 28px/1.2 var(--serif); color: var(--navy); }
.legal-wrap p, .legal-wrap li { font-size: 17px; }
.legal-wrap a { color: var(--navy); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .8fr; padding-left: 56px; padding-right: 56px; gap: 38px; }
  .hero h1 span { font-size: clamp(44px, 6.4vw, 68px); }
  .support-layout, .profile { gap: 44px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .site-header { min-height: 72px; padding: 10px 18px; }
  .brand-kicker, .brand-main { font-size: 11px; }
  .brand-script { font-size: 22px; }
  .menu-toggle { display: block; z-index: 4; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; z-index: 3; padding: 110px 28px 40px; background: rgba(247,248,245,.98); display: grid; align-content: start; gap: 0; translate: 100% 0; transition: translate .25s ease; }
  .main-nav.is-open { translate: 0 0; }
  .main-nav a { font-size: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
  body.menu-open { overflow: hidden; }

  .section-tile::before { inset: 12px; box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px rgba(23,58,104,.35); }
  .tile-ornaments i { width: 96px; height: 96px; }
  .tile-ornaments i:nth-child(1), .tile-ornaments i:nth-child(2) { top: 6px; }
  .tile-ornaments i:nth-child(3), .tile-ornaments i:nth-child(4) { bottom: 6px; }
  .tile-ornaments i:nth-child(1), .tile-ornaments i:nth-child(4) { left: 6px; }
  .tile-ornaments i:nth-child(2), .tile-ornaments i:nth-child(3) { right: 6px; }

  .hero { min-height: auto; padding: 88px 34px 82px; grid-template-columns: 1fr; grid-template-rows: auto; gap: 42px; }
  .hero::after { height: 34px; width: 54%; }
  .hero-copy { text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero h1 span { font-size: clamp(38px, 10.6vw, 60px); }
  .hero h1 em { font-size: clamp(48px, 13vw, 74px); }
  .hero-actions { justify-content: center; }
  .hero-portrait { width: min(80vw, 460px); }
  .hero-members { grid-column: 1; font-size: 10px; line-height: 1.9; }

  .content-section { padding: 86px 22px; }
  .concert-facts { grid-template-columns: 1fr; }
  .concert-facts article + article { border-left: 0; border-top: 1px solid var(--border); }
  .musician-grid { grid-template-columns: 1fr; max-width: 420px; gap: 54px; }
  .profile { grid-template-columns: 1fr; gap: 30px; margin-top: 100px; }
  .profile-label { text-align: center; }
  .mission, .contact { width: calc(100% - 12px); padding: 90px 34px; }
  .mission-quote { margin-inline: -4px; padding: 28px 18px; }
  .support-layout { grid-template-columns: 1fr; gap: 36px; }
  .section-heading.align-left { text-align: center; }
  .support-actions { justify-content: center; text-align: center; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer nav { justify-content: center; }
}

@media (max-width: 430px) {
  .brand-main { max-width: 104px; white-space: normal; line-height: 1.05; }
  .hero { padding-left: 25px; padding-right: 25px; }
  .button { width: 100%; }
  .hero-actions, .support-actions, .contact-actions { width: 100%; }
  .support-actions .text-link { margin-inline: auto; }
  .contact-email { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Refinamento visual v2 — layout resiliente + motion sóbrio
   ========================================================= */
html, body { max-width: 100%; overflow-x: clip; }
body { --scroll-progress: 0%; }

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress);
  height: 1px;
  background: var(--navy);
  opacity: .72;
  transition: width .08s linear;
}

/* Hero: content is explicitly grouped so it can never auto-flow into the wrong grid cell. */
.hero {
  min-height: clamp(720px, calc(100svh - 84px), 1040px);
  padding: clamp(72px, 7vw, 112px) clamp(38px, 5vw, 88px) clamp(54px, 5vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(34px, 4vh, 54px);
}
.hero-inner {
  width: min(100%, 1440px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  position: relative;
  z-index: 2;
}
.hero-copy {
  min-width: 0;
  max-width: 760px;
  justify-self: start;
}
.hero h1 {
  width: 100%;
  max-width: 760px;
}
.hero h1 span {
  font-size: clamp(46px, 5.35vw, 92px);
  letter-spacing: clamp(.02em, .12vw, .05em);
  white-space: nowrap;
}
.hero h1 em {
  font-size: clamp(54px, 6vw, 104px);
  margin: clamp(5px, 1vw, 12px) 0;
}
.hero-rule {
  display: grid;
  grid-template-columns: 1fr 9px 1fr;
  align-items: center;
  gap: 13px;
  width: min(100%, 430px);
  margin: 29px 0 24px;
}
.hero-rule span { height: 1px; background: rgba(23,58,104,.24); }
.hero-rule b {
  width: 7px;
  height: 7px;
  background: var(--navy);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px rgba(23,58,104,.2);
}
.hero-lead { margin-top: 0; }
.hero-actions { margin-top: 30px; }

.hero-portrait {
  width: min(100%, 560px);
  margin: 0;
  justify-self: end;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.portrait-frame-large {
  padding: clamp(8px, .8vw, 12px);
  background: linear-gradient(145deg, #f6f8f7, #e7eef3);
  box-shadow: 0 26px 80px rgba(17,45,82,.16), 0 2px 0 rgba(255,255,255,.9) inset;
}
.portrait-frame-large::after {
  content: "";
  position: absolute;
  inset: -11px;
  border: 1px solid rgba(23,58,104,.18);
  pointer-events: none;
  transform: translate(13px, 13px);
  z-index: -1;
}
.portrait-frame-large img {
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  object-position: 50% 40%;
  transform: translateZ(0) scale(1.005);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}
.hero-portrait:hover .portrait-frame-large img { transform: scale(1.028); }
.portrait-stamp {
  position: absolute;
  right: -22px;
  top: 22px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font: 800 9px/1 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(23,58,104,.6);
}
.hero-members {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 14px;
}
.hero-members span { white-space: nowrap; }

/* Keep the visual language decorative, but stop ornament layers from affecting layout. */
.hero .tile-ornaments,
.mission .tile-ornaments,
.contact .tile-ornaments { position: absolute; inset: 0; pointer-events: none; }

/* Musicians: one geometry for every card; source images are shown without destructive crops. */
.musician-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
  gap: clamp(24px, 3vw, 44px);
}
.musician-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  position: relative;
  padding: clamp(12px, 1.2vw, 18px) clamp(10px, 1vw, 14px) clamp(18px, 1.7vw, 26px);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.musician-card::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23,58,104,.36), transparent);
  transform: scaleX(.55);
  transition: transform .55s ease;
}
.musician-card:hover::after { transform: scaleX(1); }
.musician-card:hover { box-shadow: 0 28px 60px rgba(17,45,82,.08); }
.musician-card .portrait-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: clamp(9px, 1vw, 13px);
  overflow: hidden;
  background: linear-gradient(145deg, #edf2f5, #f8f8f4);
}
.musician-card .portrait-frame picture {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.musician-card .portrait-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transform: scale(.965);
  transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .75s ease;
}
.musician-card:hover .portrait-frame img { transform: scale(.992); }
.musician-card h4 { min-height: 1.12em; }
.musician-card p { min-height: 2.8em; }

/* More dimensional, still restrained interactions. */
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.15);
  transform: translateX(-105%) skewX(-18deg);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.button:hover::before { transform: translateX(105%) skewX(-18deg); }
.button span { position: relative; z-index: 1; }

.section-heading .eyebrow { position: relative; display: inline-flex; align-items: center; gap: 12px; }
.section-heading .eyebrow::before,
.section-heading .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(49,91,142,.45);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .75s .15s ease;
}
.section-heading.is-visible .eyebrow::before,
.section-heading.is-visible .eyebrow::after { transform: scaleX(1); }
.section-heading.align-left .eyebrow::before { display: none; }

.section-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 45%), rgba(64,102,145,.075), transparent 28%);
  opacity: .7;
  transition: opacity .4s ease;
}

/* Hero entrance: separate timings make it feel designed rather than templated. */
body:not(.motion-ready) .hero-copy .eyebrow,
body:not(.motion-ready) .hero-copy h1,
body:not(.motion-ready) .hero-rule,
body:not(.motion-ready) .hero-lead,
body:not(.motion-ready) .hero-sub,
body:not(.motion-ready) .hero-actions,
body:not(.motion-ready) .hero-portrait { opacity: 0; }
body.motion-ready .hero-copy .eyebrow { animation: heroIn .7s .05s both cubic-bezier(.2,.7,.2,1); }
body.motion-ready .hero-copy h1 { animation: heroIn .85s .12s both cubic-bezier(.2,.7,.2,1); }
body.motion-ready .hero-rule { animation: heroLine .85s .24s both cubic-bezier(.2,.7,.2,1); transform-origin: left; }
body.motion-ready .hero-lead { animation: heroIn .7s .3s both cubic-bezier(.2,.7,.2,1); }
body.motion-ready .hero-sub { animation: heroIn .7s .36s both cubic-bezier(.2,.7,.2,1); }
body.motion-ready .hero-actions { animation: heroIn .7s .43s both cubic-bezier(.2,.7,.2,1); }
body.motion-ready .hero-portrait { animation: portraitIn 1s .16s both cubic-bezier(.16,.76,.25,1); }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes heroLine {
  from { opacity: 0; transform: scaleX(.25); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes portraitIn {
  from { opacity: 0; transform: translate3d(-28px, 20px, 0) scale(.975); filter: blur(4px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

/* Stronger but elegant reveal for the rest of the page. */
.reveal {
  transform: translateY(26px) scale(.992);
  filter: blur(2px);
  transition: opacity .82s cubic-bezier(.2,.7,.2,1), transform .82s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}
.reveal.is-visible { transform: translateY(0) scale(1); filter: blur(0); }

/* Mid-size screens: preserve side-by-side as long as there is genuinely enough room. */
@media (max-width: 1180px) {
  .hero {
    min-height: auto;
    padding: 82px clamp(34px, 5vw, 58px) 64px;
  }
  .hero-inner {
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
    gap: clamp(38px, 5vw, 62px);
  }
  .hero h1 span { font-size: clamp(42px, 5.5vw, 68px); }
  .hero h1 em { font-size: clamp(50px, 6.3vw, 78px); }
  .portrait-stamp { right: -14px; }
}

/* Tablet: intentionally stack instead of allowing an accidental, broken pseudo two-column state. */
@media (max-width: 860px) {
  .hero {
    padding: 76px clamp(28px, 6vw, 50px) 58px;
    gap: 36px;
  }
  .hero-inner {
    width: min(100%, 680px);
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "portrait";
    gap: 48px;
  }
  .hero-copy { grid-area: copy; justify-self: stretch; text-align: center; max-width: 680px; }
  .hero-portrait { grid-area: portrait; justify-self: center; width: min(100%, 520px); }
  .hero h1 { margin-inline: auto; max-width: 680px; }
  .hero h1 span { font-size: clamp(40px, 10vw, 72px); }
  .hero h1 em { font-size: clamp(50px, 12vw, 84px); }
  .hero-rule { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .portrait-stamp { display: none; }
  .musician-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .musician-card:last-child { grid-column: 1 / -1; width: min(100%, 360px); justify-self: center; }
}

@media (max-width: 620px) {
  .hero { padding: 70px 26px 50px; }
  .hero-inner { gap: 38px; }
  .hero h1 span {
    font-size: clamp(35px, 10.5vw, 54px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .hero h1 em { font-size: clamp(47px, 14vw, 70px); }
  .hero-rule { width: min(100%, 300px); margin-top: 22px; margin-bottom: 18px; }
  .hero-lead { font-size: clamp(20px, 6vw, 27px); }
  .hero-sub { font-size: clamp(16px, 4.5vw, 20px); }
  .hero-portrait { width: min(100%, 460px); }
  .portrait-frame-large img { aspect-ratio: 1 / .94; object-position: 50% 40%; }
  .hero-members { font-size: 9px; letter-spacing: .16em; gap: 5px 9px; }
  .musician-grid { grid-template-columns: 1fr; max-width: 420px; }
  .musician-card:last-child { grid-column: auto; width: 100%; }
  .musician-card h4 { min-height: 0; }
  .musician-card p { min-height: 0; }
}

@media (min-width: 1800px) {
  .hero-inner { width: min(100%, 1540px); }
  .hero-portrait { width: min(100%, 610px); }
  .hero-copy { max-width: 820px; }
  .hero h1 { max-width: 820px; }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.motion-ready) .hero-copy .eyebrow,
  body:not(.motion-ready) .hero-copy h1,
  body:not(.motion-ready) .hero-rule,
  body:not(.motion-ready) .hero-lead,
  body:not(.motion-ready) .hero-sub,
  body:not(.motion-ready) .hero-actions,
  body:not(.motion-ready) .hero-portrait { opacity: 1; }
  body.motion-ready .hero-copy .eyebrow,
  body.motion-ready .hero-copy h1,
  body.motion-ready .hero-rule,
  body.motion-ready .hero-lead,
  body.motion-ready .hero-sub,
  body.motion-ready .hero-actions,
  body.motion-ready .hero-portrait { animation: none !important; }
  .hero-portrait,
  .musician-card { transform: none !important; }
}

/* Pointer depth is deliberately tiny: enough to feel crafted, never "game-like". */
.hero-portrait { translate: 0 var(--parallax-y, 0px); }
.musician-card { --rx: 0deg; --ry: 0deg; --lift: 0px; }
.musician-card.is-visible {
  transform: perspective(1100px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
}
.musician-card.is-visible:hover { --lift: -5px; }

/* =========================================================
   Refinamento visual v3 — quote panels + callout cards
   ========================================================= */
.mission-quote {
  position: relative;
  isolation: isolate;
  max-width: 1040px;
  margin: 0 auto 62px;
  padding: clamp(36px, 4.4vw, 56px) clamp(28px, 6vw, 86px);
  border: 1px solid rgba(23, 58, 104, .18);
  border-block: 1px solid rgba(23, 58, 104, .18);
  border-radius: 30px 10px 30px 10px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .55), transparent 20%),
    radial-gradient(circle at 88% 82%, rgba(49, 91, 142, .10), transparent 22%),
    linear-gradient(135deg, rgba(225, 236, 246, .95), rgba(247, 248, 245, .95) 62%, rgba(221, 232, 241, .82));
  box-shadow:
    0 24px 54px rgba(16, 45, 82, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .58),
    inset 0 0 0 12px rgba(255, 255, 255, .16);
  text-wrap: balance;
  overflow: hidden;
}
.mission-quote::before,
.mission-quote::after {
  position: absolute;
  font: italic 700 clamp(72px, 8vw, 132px)/1 var(--serif);
  color: rgba(23, 58, 104, .16);
  pointer-events: none;
}
.mission-quote::before {
  content: "“";
  top: 10px;
  left: clamp(16px, 2.5vw, 30px);
}
.mission-quote::after {
  content: "”";
  right: clamp(16px, 2.5vw, 30px);
  bottom: -18px;
}

.support-note {
  position: relative;
  isolation: isolate;
  margin: 38px 0 34px;
  padding: clamp(28px, 3.2vw, 36px) clamp(24px, 3.4vw, 38px);
  border: 1px solid rgba(23, 58, 104, .18);
  border-radius: 24px 8px 24px 8px;
  background:
    radial-gradient(circle at top right, rgba(49, 91, 142, .12), transparent 28%),
    linear-gradient(135deg, rgba(240, 246, 250, .96), rgba(247, 248, 245, .98));
  box-shadow:
    0 22px 56px rgba(16, 45, 82, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .6);
  overflow: hidden;
}
.support-note::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(23, 58, 104, .12);
  border-radius: 18px 4px 18px 4px;
  pointer-events: none;
}
.support-note::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(20px, 3vw, 36px);
  width: clamp(96px, 16vw, 150px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(23, 58, 104, 0), rgba(23, 58, 104, .42), rgba(23, 58, 104, 0));
}
.support-note strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(23, 58, 104, .12);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(16, 45, 82, .06);
}
.support-note strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 6px rgba(23, 58, 104, .10);
  flex: none;
}
.support-note p {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(18px, 1.45vw, 20px);
  line-height: 1.75;
}

@media (max-width: 760px) {
  .mission-quote {
    margin-inline: 0;
    padding: 30px 20px 34px;
    border-radius: 22px 6px 22px 6px;
  }
  .mission-quote::before,
  .mission-quote::after {
    font-size: clamp(58px, 16vw, 86px);
  }
  .mission-quote::before { top: 8px; left: 12px; }
  .mission-quote::after { right: 12px; bottom: -12px; }

  .support-note {
    padding: 22px 18px 24px;
    border-radius: 20px 6px 20px 6px;
  }
  .support-note strong {
    width: 100%;
    justify-content: flex-start;
  }
  .support-note p {
    max-width: none;
    font-size: 17px;
  }
}
