:root {
  color-scheme: dark;
  --black: #080809;
  --panel: #171719;
  --text: #f7f6f3;
  --muted: #c0bdb8;
  --gold: #e2c17a;
  --line: #ffffff24;
  --gutter: clamp(1.25rem, 4.85vw, 5rem);
  --heading: "Instrument Sans", Arial, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(.22, .65, .23, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--black); color: var(--text); font: 400 1rem/1.55 var(--body); }
body, h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #cd9e49; outline-offset: 5px; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.05; letter-spacing: -.045em; }
h2 { font-size: clamp(2.45rem, 5.4vw, 4.75rem); font-weight: 600; }
h3 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 650; }
.wrap { width: min(calc(100% - var(--gutter) * 2), 1320px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.17em; height: 1.17em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.skip { position: fixed; z-index: 12; top: .8rem; left: .8rem; transform: translateY(-200%); background: white; color: black; padding: .7rem 1rem; border-radius: 6px; }
.skip:focus { transform: none; }

.top { position: fixed; inset: 0 0 auto; z-index: 5; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: #0d0d0eee; border-color: #ffffff18; backdrop-filter: blur(16px); }
.top-inner { display: flex; align-items: center; justify-content: space-between; min-height: 85px; }
.brand { display: inline-flex; align-items: center; gap: .72rem; width: max-content; }
.brand img { object-fit: contain; height: 37px; }
.brand span { border-left: 1px solid #ffffff39; padding-left: .72rem; font: 500 1.13rem/1 var(--heading); letter-spacing: .11em; white-space: nowrap; }
.brand small { display: block; margin-top: .36rem; color: var(--gold); font-size: .55rem; letter-spacing: .38em; }
.top nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.85vw, 2.8rem); font-weight: 600; }
.top nav a, footer a { transition: color .2s; }
.top nav a:hover, footer a:hover { color: var(--gold); }
.nav-social { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid var(--line); border-radius: 100%; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 16% 8%, #232325 0%, #181819 36%, #0b0b0c 79%); }
.hero::after { content: ""; position: absolute; inset: 50% 0 0; z-index: -1; background: linear-gradient(transparent, var(--black)); pointer-events: none; }
.hero-inner { position: relative; min-height: clamp(690px, 59vw, 840px); display: flex; align-items: flex-start; padding-top: clamp(10.75rem, 17vw, 15rem); }
.hero-copy { position: relative; z-index: 2; width: 52%; }
.tag { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; color: var(--gold); font: 600 .72rem/1.4 var(--body); letter-spacing: .135em; }
.hero-tag { background: #101011a8; padding: .44rem 1rem .44rem .75rem; border: 1px solid #ffead218; border-radius: 30px; }
.hero-tag span, .map-stage figcaption span { background: var(--gold); width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 .75rem #edbf6680; flex: none; }
.hero h1 { font-size: clamp(4rem, 7.7vw, 8.2rem); letter-spacing: -.071em; font-weight: 400; white-space: nowrap; margin: 1.2rem 0 1.45rem; }
.hero h1 strong, .about h2 strong, .brazil h2 strong { font-weight: 700; }
.hero-description { max-width: 530px; color: #d2cfc9; font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: -.016em; line-height: 1.42; }
.hero-actions { margin-top: 2.55rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 1px solid transparent; border-radius: 100px; padding: .95rem 1.45rem; min-height: 50px; font-weight: 600; font-size: .91rem; line-height: 1.2; transition: background .25s, color .25s, border-color .25s; }
.button-light { color: #181611; background: #faf9f6; }
.button-light:hover { background: #ead5a7; }
.button-dark { background: #141210; color: #fff; }
.button-dark:hover { background: #413621; }
.button .icon:last-child, .text-link .icon:last-child { transition: transform .25s var(--ease); }
.button:hover .icon:last-child, .text-link:hover .icon:last-child { transform: translateX(3px); }
.hero .button { padding: 1.05rem clamp(1.3rem, 3.3vw, 3.4rem); min-height: 62px; font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.hero-instagram { color: #e0d7c6; font-size: .92rem; min-height: 44px; }
.hero-instagram .icon { color: var(--gold); }
.hero-visual { position: absolute; z-index: 0; inset: 0 0 0 41%; pointer-events: none; }
.hero-portrait { position: absolute; right: clamp(.15rem, 6vw, 6rem); top: clamp(6.9rem, 10vw, 9.3rem); width: clamp(430px, 45vw, 630px); max-width: none; height: auto; mask-image: radial-gradient(ellipse 54% 72% at 50% 43%, #000 48%, #000e 62%, transparent 97%), linear-gradient(transparent, #000 5.2%); mask-composite: intersect; }
.hero-visual::after { content: ""; position: absolute; inset: 67% -3% 0 -4%; background: linear-gradient(transparent, var(--black)); }
.hero-stats { position: absolute; z-index: 1; right: 0; top: clamp(20rem, 29vw, 26rem); display: grid; justify-items: end; gap: clamp(.95rem, 2.4vw, 2.1rem); }
.hero-stats li { display: flex; align-items: center; gap: .75rem; min-width: 173px; padding: .68rem .9rem; border: 1px solid #ffffff15; border-radius: 7px; backdrop-filter: blur(12px); background: #151413a8; box-shadow: 0 7px 24px #0003; }
.hero-stats li:nth-child(2) { margin-right: clamp(.5rem, 3.7vw, 4.3rem); }
.hero-stats li:nth-child(3) { margin-right: clamp(1.5rem, 7vw, 7rem); }
.hero-stats strong { flex: none; color: #f4ddaa; font: 650 clamp(1.1rem, 2.1vw, 1.65rem)/1 var(--heading); letter-spacing: -.045em; }
.hero-stats li > span { font-size: .81rem; line-height: 1.2; color: #e1dbd1; }
.hero-stats .icon { color: var(--gold); width: 1.52rem; height: 1.52rem; }
.scroll-link { position: absolute; bottom: clamp(1.7rem, 5.5vw, 4.6rem); left: 0; display: inline-flex; align-items: center; gap: .7rem; z-index: 2; color: #c4beb5; font-size: .82rem; }
.scroll-link span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff38; border-radius: 50%; }
.scroll-link:hover { color: var(--gold); }

.topics { position: relative; }
.topics-head { display: flex; align-items: center; justify-content: space-between; margin: 0 1rem .68rem; }
.topics-head p { color: #b5afa5; font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.motion-toggle { display: grid; place-items: center; width: 33px; height: 33px; background: transparent; border: 1px solid var(--line); border-radius: 100%; cursor: pointer; }
.motion-toggle:hover { color: var(--gold); }
.ticker { overflow: hidden; padding: 1.05rem 0; border: 1px solid #ffffff3a; border-radius: 55px; background: #141415; }
.ticker-track, .ticker ul { width: max-content; display: flex; align-items: center; }
.ticker-track { animation: ticker 30s linear infinite; }
.ticker li { display: flex; gap: 1.2rem; padding-right: 1.2rem; color: #e3dfda; font: 500 clamp(1rem, 1.8vw, 1.25rem)/1.45 var(--heading); white-space: nowrap; }
.ticker li::after { content: "·"; color: var(--gold); }
.ticker:is(:hover, :focus-within) .ticker-track, .motion-paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading .tag { margin-bottom: 1.05rem; }
.section-heading.center { text-align: center; }
.practice-stack { width: min(100%, 930px); margin: clamp(2rem, 4vw, 3.15rem) auto 0; display: grid; gap: 1rem; }
.practice-card { display: grid; grid-template-columns: 1fr minmax(200px, 32%); align-items: center; gap: clamp(1.3rem, 4vw, 4.2rem); padding: clamp(1.2rem, 3.25vw, 2.85rem); border-radius: 18px; background: linear-gradient(145deg, #d8d3c8, #eae7e0); color: #1d1b18; }
.practice-card img { width: 100%; height: 260px; object-fit: cover; object-position: 50% 22%; border-radius: 11px; }
.practice-reverse { grid-template-columns: minmax(200px, 32%) 1fr; }
.practice-reverse img { grid-column: 1; grid-row: 1; object-position: 50% 37%; }
.practice-copy p { margin-top: .8rem; max-width: 38ch; color: #403c35; }
.practice-icon { color: #6c542c; width: 1.65rem; height: 1.65rem; margin-bottom: .75rem; }
.practice-copy .button { margin-top: 1.35rem; }

.panel { border: 1px solid #ffffff12; border-radius: clamp(1rem, 2.1vw, 1.8rem); }
.about { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.5rem, 5.5vw, 4.9rem); background: #171719; }
.about-portrait { width: 100%; height: clamp(340px, 42vw, 515px); object-fit: cover; object-position: 50% 26%; border-radius: 15px; }
.about-copy { z-index: 1; }
.about h2 { margin: .8rem 0; font-weight: 400; }
.about-copy p:not(.tag) { margin-bottom: .95rem; max-width: 40ch; color: var(--muted); }
.about-copy p.credential { color: var(--gold); font-size: .88rem; }
.about .button { margin-top: .75rem; }
.scale-stage { position: absolute; z-index: -1; width: min(32%, 390px); right: -1.3%; bottom: 1%; opacity: .91; pointer-events: none; }
.scale-stage canvas { display: block; width: 100%; height: auto; }
@media (min-width: 1100px) {
  .about { grid-template-columns: minmax(0, .79fr) minmax(0, 1.32fr); padding-right: 22%; }
  .scale-stage { right: -.8%; bottom: 8%; }
}

.brazil { display: grid; grid-template-columns: .96fr 1.15fr; align-items: center; margin-top: 1.25rem; padding: clamp(1.5rem, 5.6vw, 4.9rem); background: radial-gradient(ellipse at 77% 56%, #312619, #1c1b1b 48%, #151517 78%); }
.brazil h2 { margin: .8rem 0 1.35rem; font-weight: 400; font-size: clamp(2.35rem, 5.2vw, 4.65rem); }
.brazil h2 strong { color: #efd29a; }
.brazil-copy p:not(.tag) { max-width: 39ch; color: var(--muted); }
.brazil .button { margin-top: 1.55rem; }
.map-stage { position: relative; }
.map-stage canvas { display: block; width: 100%; height: auto; }
.map-stage figcaption { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .45rem .6rem; color: #d7cfbf; font-size: .78rem; text-align: center; }
.map-stage figcaption a { color: #bdb5a5; border-left: 1px solid #ffffff39; padding-left: .6rem; text-decoration: underline; text-underline-offset: 3px; }

.review-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 2.25rem; }
.review-grid blockquote { position: relative; padding: 4.2rem clamp(1.1rem, 2.5vw, 2rem) 1.55rem; border: 1px solid #ffffff21; border-radius: 13px; background: #171719; color: #e5e1d9; }
.quote-mark { position: absolute; top: .6rem; font: normal 4rem/1 Georgia, serif; color: var(--gold); }
.social { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; padding: clamp(1.8rem, 5vw, 4.2rem); margin-bottom: clamp(4.5rem, 8vw, 7rem); background: #171719; }
.social h2 { margin: .55rem 0 .85rem; font-size: clamp(2rem, 4vw, 3.6rem); }
.social .text-link { color: var(--gold); min-height: 44px; }
.social-posts a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.social-posts a:first-child { border-top: 1px solid var(--line); }
.social-posts small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.social-posts a:hover { color: var(--gold); }
.social-posts .icon { color: var(--gold); }

.contact { background: #e2ded4; color: #1c1a17; color-scheme: light; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(3.8rem, 8vw, 7rem); }
.contact .tag { color: #695331; }
.contact h2 { font-size: clamp(2.75rem, 5vw, 4.45rem); max-width: 10ch; }
.contact .section-heading p:not(.tag) { margin: 1rem 0 1.6rem; color: #423e36; }
.offices article { display: grid; grid-template-columns: auto 1fr; gap: .95rem; padding-block: 1.3rem; border-top: 1px solid #b5ab99; }
.offices article:last-child { border-bottom: 1px solid #b5ab99; }
.offices h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); margin-bottom: .45rem; }
.offices article > .icon { color: #795f32; width: 1.35rem; height: 1.35rem; }
.offices address { font-style: normal; color: #423e36; }
.offices .text-link { color: #57451f; min-height: 44px; font-size: .88rem; }
footer { background: #101012; }
.footer-main { display: grid; grid-template-columns: 1.4fr .75fr auto; gap: 1.5rem; padding-block: clamp(2.9rem, 6vw, 4.6rem); }
.footer-main p { margin-top: 1.2rem; font-size: .85rem; color: var(--muted); }
.footer-main nav, .footer-social { display: grid; gap: .42rem; align-content: start; font-size: .93rem; color: #ddd6cb; }
.footer-social .text-link { min-height: 32px; }
.footer-social .icon { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); display: flex; gap: .65rem 1.5rem; justify-content: space-between; flex-wrap: wrap; color: #bdb7ab; font-size: .82rem; padding-block: 1.15rem; }
.floating-wa { position: fixed; z-index: 4; bottom: max(1.2rem, env(safe-area-inset-bottom)); right: max(1.4rem, env(safe-area-inset-right)); display: grid; place-items: center; width: 51px; height: 51px; border: 1px solid #efd69f60; border-radius: 50%; color: #1c160c; background: #e2c17a; box-shadow: 0 5px 24px #0005; transition: background .25s, transform .25s; }
.floating-wa .icon { width: 1.45rem; height: 1.45rem; }
.floating-wa:hover { background: #f6d994; transform: translateY(-3px); }

.intro { display: none; }
.js .intro { position: fixed; z-index: 8; inset: 0; display: grid; place-content: center; justify-items: center; gap: .85rem; background: #100e0d; transition: opacity .47s var(--ease), visibility .47s; pointer-events: none; }
.intro img { width: 50px; height: auto; filter: drop-shadow(0 0 18px #a878383e); animation: monogram-in .65s var(--ease) both; }
.intro span { font: 500 1rem/1 var(--heading); text-transform: uppercase; letter-spacing: .31em; color: #ecd6a7; }
.intro-line { width: 76px; height: 1px; background: #ffffff2a; overflow: hidden; margin-top: .4rem; }
.intro-line::after { content: ""; display: block; width: 100%; height: 100%; background: var(--gold); transform-origin: left; animation: intro-line .75s var(--ease) both; }
.ready .intro { opacity: 0; visibility: hidden; }
.js.ready .hero-tag, .js.ready .hero h1, .js.ready .hero-description, .js.ready .hero-actions { animation: appear .8s var(--ease) both; }
.js.ready .hero h1 { animation-delay: .09s; }
.js.ready .hero-description { animation-delay: .16s; }
.js.ready .hero-actions { animation-delay: .23s; }
.js.ready .hero-portrait { animation: portrait-in 1.28s var(--ease) both; }
.js.ready .hero-stats li { animation: appear .8s var(--ease) .25s both; }
.js.ready .hero-stats li:nth-child(2) { animation-delay: .39s; }
.js.ready .hero-stats li:nth-child(3) { animation-delay: .53s; }
[data-reveal].seen { animation: appear .72s var(--ease) both; }
.review-grid [data-reveal].seen:nth-child(2) { animation-delay: .055s; }
.review-grid [data-reveal].seen:nth-child(3) { animation-delay: .11s; }
.review-grid [data-reveal].seen:nth-child(4) { animation-delay: .165s; }
@keyframes intro-line { from { transform: scaleX(.12); } to { transform: scaleX(1); } }
@keyframes monogram-in { from { opacity: 0; transform: perspective(300px) rotateY(-40deg) scale(.78); } to { opacity: 1; transform: none; } }
@keyframes appear { from { opacity: 0; transform: translateY(21px); } to { opacity: 1; transform: none; } }
@keyframes portrait-in { from { opacity: 0; transform: translateX(14px) scale(1.025); } to { opacity: 1; transform: none; } }

@media (max-width: 1050px) {
  .about { padding-bottom: clamp(2rem, 6vw, 3.75rem); }
  .scale-stage { right: 0; bottom: 1%; width: min(25%, 240px); opacity: .32; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 4.8rem; }
  .top-inner { min-height: 68px; }
  .top { background: #111112ed; }
  .js .menu-toggle { display: grid; align-content: center; justify-items: center; gap: 5px; width: 43px; height: 43px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .top-inner { flex-wrap: wrap; }
  .top nav { width: 100%; gap: .85rem; font-size: .85rem; padding: .65rem 0; }
  .js .top nav { display: none; position: absolute; inset: 100% 0 auto; padding: .65rem var(--gutter) 1.2rem; background: #111112; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .js .top nav.open { display: grid; gap: 0; }
  .top nav.open a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); }
  .top nav.open .nav-social { margin-top: .6rem; justify-content: center; }
  .hero-inner { display: block; padding-top: 7.6rem; min-height: auto; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(3.6rem, 13vw, 6rem); margin: .8rem 0 1rem; }
  .hero-tag { font-size: clamp(.56rem, 2.04vw, .69rem); letter-spacing: .095em; }
  .hero-description { max-width: 34ch; }
  .hero-actions { margin-top: 1.45rem; gap: .3rem 1.15rem; }
  .hero .button { min-height: 52px; padding-inline: 1.2rem; font-size: .89rem; }
  .hero-visual { position: relative; inset: auto; margin-top: 1.1rem; min-height: clamp(330px, 72vw, 500px); }
  .hero-portrait { width: clamp(300px, 76vw, 485px); top: -.85rem; right: clamp(.75rem, 14vw, 9rem); }
  .hero-stats { top: auto; bottom: 1.8rem; gap: .45rem; }
  .hero-stats li { min-width: 135px; padding: .48rem .65rem; gap: .45rem; }
  .hero-stats li:nth-child(2) { margin-right: .6rem; }
  .hero-stats li:nth-child(3) { margin-right: 1.25rem; }
  .hero-stats li > span { font-size: .7rem; }
  .scroll-link { display: none; }
  .practice-card { grid-template-columns: 1fr minmax(135px, 34%); gap: 1rem; }
  .practice-reverse { grid-template-columns: minmax(135px, 34%) 1fr; }
  .practice-card img { height: 225px; }
  .about { grid-template-columns: minmax(0, .69fr) minmax(0, 1fr); gap: 1.2rem; }
  .about-portrait { height: 100%; min-height: 325px; }
  .brazil { padding-bottom: 2rem; }
  .brazil .button { padding-inline: 1rem; }
  .social, .contact-inner { gap: 1.5rem; }
}
@media (max-width: 540px) {
  .practice-card, .practice-reverse { grid-template-columns: 1fr; }
  .practice-card img, .practice-reverse img { grid-column: 1; grid-row: 1; height: 185px; object-position: 50% 29%; }
  .practice-copy .button { padding-inline: .9rem; font-size: .86rem; }
  .about, .brazil, .social, .contact-inner { grid-template-columns: 1fr; }
  .about-portrait { min-height: 0; height: clamp(245px, 82vw, 375px); }
  .scale-stage { position: relative; width: min(100%, 290px); right: auto; bottom: auto; margin: -.7rem auto -1.1rem; opacity: 1; }
  .map-stage { max-width: 410px; margin-inline: auto; }
  .review-grid { gap: .65rem; }
  .review-grid blockquote { padding: 3.45rem .9rem 1rem; font-size: .86rem; }
  .quote-mark { top: .45rem; font-size: 3.5rem; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { padding-right: 3rem; }
  .floating-wa { width: 46px; height: 46px; right: 1rem; bottom: 1rem; }
}
@media (max-width: 340px) {
  .hero h1 { font-size: 3.25rem; }
  .hero-portrait { right: 0; }
  .review-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .js .intro { display: none; }
  .ticker { border-radius: 12px; padding: .8rem 1rem; }
  .ticker-track, .ticker ul { width: auto; flex-wrap: wrap; gap: .35rem 0; }
  .ticker ul[aria-hidden] { display: none; }
}
.motion-paused *, .motion-paused *::before, .motion-paused *::after { scroll-behavior: auto !important; }
.motion-paused [data-reveal], .motion-paused.ready .hero * { animation: none !important; }
