:root {
    --paper: var(--bo-cal);
    --ink: var(--bo-tinta);
    --muted: var(--bo-carvao);
    --line: var(--bo-pedra);
    --max: 1240px;
    --text: 700px;
    --gutter: clamp(28px, 4vw, 58px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--bo-sans); font-size: 18px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
.site-header { position: fixed; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 24px var(--gutter); color: var(--ink); }
body:has(.hero) .site-header { color: #fff; }
.site-header.is-scrolled { color: var(--ink); background: rgba(243,240,234,.97); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(27,26,23,.025); backdrop-filter: blur(12px); }
body:has(.hero) .site-header.is-scrolled { color: var(--ink); }
.site-header .bo-brand { font-size: clamp(30px, 2.3vw, 34px); }
.site-header.is-scrolled .bo-brand { color: var(--bo-tinta); --bo-dot: var(--bo-barro); }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 12px; font-weight: 650; line-height: 1; text-transform: uppercase; letter-spacing: .1em; }
.menu-toggle { display: none; }
h1, h2, h3 { margin-top: 0; font-family: var(--bo-serif); font-weight: 500; line-height: 1.04; letter-spacing: 0; }
.kicker { margin: 0 0 14px; color: var(--bo-carvao); font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }

.hero { min-height: 88vh; position: relative; display: grid; align-items: end; overflow: hidden; color: #fff; background: #111; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.hero-copy { position: relative; z-index: 1; width: min(760px, calc(100% - (2 * var(--gutter)))); padding: 0 0 clamp(58px, 8vh, 88px); margin-left: var(--gutter); }
.hero .kicker, .hero .text-link { color: #fff; }
.hero h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(52px, 4.5vw, 68px); }
.hero p:not(.kicker) { max-width: 610px; margin: 0 0 26px; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; }
.text-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }

.intro, .report-section, .page-title, .archive-grid, .related, .text-page, .contact-page { max-width: var(--max); margin: 0 auto; padding-right: var(--gutter); padding-left: var(--gutter); }
.intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 82px); align-items: start; padding-top: clamp(64px, 7vw, 88px); padding-bottom: clamp(52px, 6vw, 72px); }
.intro h2 { max-width: 520px; margin: 0; font-size: clamp(40px, 3.7vw, 46px); }
.intro-copy { padding-top: 27px; }
.intro-copy > p:first-child { max-width: 620px; margin: 0; color: var(--bo-carvao); font-size: 18px; line-height: 1.65; }
.signature { margin: 28px 0 0; color: var(--bo-tinta); font-family: var(--bo-serif); font-size: 18px; font-style: italic; font-weight: 400; line-height: 1.4; }
.report-section { padding-top: 0; padding-bottom: clamp(82px, 9vw, 116px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 34px; padding-top: 2px; border-top: 1px solid var(--line); }
.section-heading h2, .related h2 { margin: 25px 0 0; font-size: clamp(40px, 3.7vw, 46px); }
.section-heading a { margin-bottom: 5px; color: var(--bo-tinta); font-size: 13px; font-weight: 600; }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 34px; }
.editorial-grid .feature-card { grid-column: span 2; }
.editorial-grid img, .archive-grid img { aspect-ratio: 16 / 11; margin-bottom: 18px; object-fit: cover; background: var(--bo-pedra); }
.editorial-grid .feature-card img { aspect-ratio: 2 / 1; }
.editorial-grid .standard-card:nth-of-type(3n) img { aspect-ratio: 4 / 5; }
.editorial-grid h3, .archive-grid h2, .related h3 { margin: 0; font-size: clamp(27px, 2.4vw, 32px); line-height: 1.1; }
.card-summary { max-width: 620px; margin: 13px 0 0; color: var(--muted); font-family: var(--bo-sans); font-size: 16px; line-height: 1.6; }
.editorial-grid .feature-card .card-summary { font-size: 17px; }
.archive-grid .card-summary { max-width: 540px; }

.page-title { padding-top: 154px; padding-bottom: 66px; }
.page-title h1, .contact-page h1 { margin: 0 0 18px; font-size: clamp(46px, 4vw, 60px); }
.page-title p, .contact-page p { max-width: 680px; margin: 0; color: var(--bo-carvao); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 34px; padding-top: 0; padding-bottom: 112px; }
.archive-grid > article:nth-child(5n + 1) { grid-column: span 2; }
.archive-grid > article:nth-child(5n + 1) img { aspect-ratio: 16 / 8; }
.archive-grid > article:not(:nth-child(5n + 1)):nth-child(even) img { aspect-ratio: 4 / 5; }

.text-page { max-width: calc(720px + (2 * var(--gutter))); padding-top: 158px; padding-bottom: 118px; margin-left: max(0px, calc((100vw - var(--max)) / 2)); }
.text-page h1 { margin: 0 0 46px; font-size: clamp(46px, 4vw, 60px); }
.text-page p { max-width: 700px; margin: 0 0 25px; color: var(--bo-carvao); font-size: 18px; line-height: 1.7; }
.text-page p:first-of-type { margin-bottom: 38px; font-size: clamp(19px, 1.5vw, 21px); }
.text-page p:last-child { margin-top: 38px; margin-bottom: 0; color: var(--bo-tinta); font-weight: 500; }

.report-head { max-width: 1040px; margin: 0 auto; padding: 154px var(--gutter) 58px; }
.report-head .bo-index { margin-bottom: 14px; }
.report-head h1 { max-width: 860px; margin: 0 0 22px; font-size: clamp(46px, 4vw, 60px); }
.lede { max-width: 700px; margin: 0 0 30px; color: var(--bo-tinta); font-family: var(--bo-serif); font-size: clamp(19px, 1.5vw, 21px); line-height: 1.58; }
.meta { display: flex; flex-wrap: wrap; gap: 14px 34px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.meta span { display: grid; gap: 3px; }
.meta small { color: var(--bo-carvao); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.editorial-credits { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.editorial-credits strong { color: var(--ink); font-weight: 600; }
.report-hero { margin: 0 0 76px; }
.report-hero img { max-height: 86vh; object-fit: cover; }
.report-hero figcaption { display: flex; justify-content: space-between; gap: 24px; margin: 12px var(--gutter) 0; }
.report-hero figcaption span { white-space: nowrap; }
.blocks { margin: 0 auto; }
.blocks > h2, .text-block { max-width: var(--text); margin: 0 auto 32px; padding: 0 var(--gutter); }
.blocks > h2 { margin-top: 64px; font-size: clamp(38px, 3.5vw, 44px); }
.text-block { font-family: var(--bo-serif); font-size: 18px; line-height: 1.7; }
.text-block p { margin: 0 0 1.45em; }
blockquote { margin: 46px 0; padding-left: 26px; border-left: 1px solid var(--bo-tinta); font-family: var(--bo-serif); font-size: 28px; font-style: italic; line-height: 1.3; }
.image-block { max-width: 980px; margin: 62px auto; padding: 0 var(--gutter); }
.image-block.large { max-width: 1380px; }
.image-block.full { max-width: none; padding: 0; }
figcaption { margin-top: 13px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.report-gallery { max-width: 1380px; margin: 86px auto 74px; padding: 0 var(--gutter); }
.report-gallery-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.report-gallery-heading .kicker { margin: 0 0 8px; }
.report-gallery-heading h2 { margin: 0; font-size: clamp(38px, 3.5vw, 44px); }
.gallery { max-width: 1200px; margin: 62px auto; padding: 0 var(--gutter); display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.end-gallery { max-width: none; margin: 0; padding: 0; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 14px; }
.end-gallery figure { grid-column: span 4; }
.end-gallery figure:nth-child(5n + 1), .end-gallery figure:nth-child(5n + 2) { grid-column: span 6; }
.end-gallery button { display: block; width: 100%; overflow: hidden; }
.end-gallery img { width: 100%; transition: transform .35s ease; }
.end-gallery button:hover img { transform: scale(1.015); }
.gallery.three { grid-template-columns: repeat(3, 1fr); }
.gallery button { padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.video { max-width: 980px; margin: 62px auto; padding: 0 var(--gutter); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.share { max-width: var(--text); margin: 68px auto 86px; padding: 0 var(--gutter); display: flex; gap: 18px; color: var(--bo-tinta); font-size: 13px; }
.share span { color: var(--muted); }
.related { padding-top: 0; padding-bottom: 104px; }
.related > h2 { margin-bottom: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.archive-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 26px; padding: 0; }
.archive-grid.compact > article, .archive-grid.compact > article:nth-child(n) { grid-column: auto; padding-top: 0; }
.archive-grid.compact > article img, .archive-grid.compact > article:nth-child(n) img { aspect-ratio: 4 / 3; }
.archive-grid.compact h3 { font-size: clamp(25px, 2.2vw, 30px); }

.site-footer { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 38px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer .bo-brand { color: var(--bo-tinta); font-size: 24px; }
.footer-brand { display: grid; gap: 7px; }
.site-footer .bo-tagline { font-size: 15px; }
.site-footer .bo-descriptor { color: var(--bo-carvao); font-size: 11px; }
.footer-links { max-width: 520px; }
.footer-copyright { flex: 0 0 100%; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.footer-copyright a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.contact-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding-top: 154px; padding-bottom: 100px; }
.contact-copy { max-width: 560px; }
.contact-direct { display: grid; gap: 5px; margin-top: 36px; padding-top: 17px; border-top: 1px solid var(--line); }
.contact-direct span { color: var(--bo-carvao); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-direct a { width: fit-content; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--bo-tinta); font-size: 16px; font-weight: 600; line-height: 1.4; }
.contact-socials { margin-top: 16px; color: var(--bo-carvao); font-size: 13px; }
.contact-form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: #fff; padding: 14px 13px; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
button { border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 13px 20px; font: inherit; cursor: pointer; }
.check { display: flex; grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.check input { width: auto; margin-top: 5px; }
.inline-link { color: var(--bo-tinta); text-decoration: underline; text-underline-offset: 3px; }
.legal-page h2 { max-width: 700px; margin: 48px 0 14px; font-size: 30px; }
.legal-page .kicker { margin-bottom: 16px; }
.legal-page p:last-child { color: var(--bo-carvao); font-weight: 400; }
.home-empty .intro { padding-top: 154px; }
.notice { padding: 12px 14px; border: 1px solid var(--line); }
.notice.success { border-color: #7c9467; }
.notice.error { border-color: var(--bo-tinta); }
.contact-success-modal { width: min(calc(100% - 40px), 520px); margin: auto; padding: 46px 42px 40px; border: 1px solid var(--line); background: var(--bo-cal); color: var(--bo-tinta); text-align: center; box-shadow: 0 24px 80px rgba(27, 26, 23, .24); }
.contact-success-modal::backdrop { background: rgba(27, 26, 23, .58); backdrop-filter: blur(5px); }
.contact-success-modal img { display: block; width: 72px; height: 72px; margin: 0 auto 22px; }
.contact-success-modal .kicker { margin: 0 0 10px; color: var(--bo-barro); font-size: 11px; }
.contact-success-modal h2 { margin: 0 0 14px; font-family: var(--bo-serif); font-size: 42px; font-weight: 500; line-height: 1; }
.contact-success-modal p:not(.kicker) { max-width: 390px; margin: 0 auto; color: var(--bo-carvao); font-size: 17px; line-height: 1.6; }
.contact-success-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: var(--bo-tinta); font-size: 28px; line-height: 1; }
.contact-success-action { min-width: 160px; margin-top: 28px; }
.credits-end { max-width: var(--text); margin: 44px auto 0; padding: 22px var(--gutter) 0; border-top: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--bo-tinta); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 54px 72px; background: rgba(0,0,0,.94); }
.lightbox-figure { display: grid; justify-items: center; margin: 0; }
.lightbox img { max-width: min(1400px, 88vw); max-height: 82vh; object-fit: contain; }
.lightbox-caption { max-width: 760px; margin-top: 14px; color: var(--bo-cal); text-align: center; }
.lightbox-close { position:absolute; top:18px; right:18px; width:44px; height:44px; padding:0; border:1px solid var(--bo-cal); background:var(--bo-tinta); color:var(--bo-cal); font-size:28px; line-height:1; }
.lightbox-nav { position: absolute; top: 50%; width: 48px; height: 58px; padding: 0; border: 1px solid rgba(243,240,234,.55); background: rgba(27,26,23,.65); color: var(--bo-cal); font-size: 38px; line-height: 1; transform: translateY(-50%); }
.lightbox-previous { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter { position: absolute; right: 24px; bottom: 20px; color: var(--bo-cal); font-size: 12px; letter-spacing: .08em; }
.gallery figure { margin:0; }

@media (max-width: 760px) {
    body { font-size: 17px; line-height: 1.7; }
    .site-header { align-items: center; min-height: 68px; padding: 18px 22px; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
    .site-header .bo-brand { font-size: 24px; }
    .menu-toggle { position: relative; z-index: 2; display: block; width: 36px; height: 32px; padding: 0; border: 0; background: transparent; color: currentColor; }
    .menu-toggle::before, .menu-toggle::after, .menu-toggle span { position: absolute; right: 2px; width: 25px; height: 1.5px; background: currentColor; content: ''; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
    .menu-toggle::before { top: 9px; }
    .menu-toggle span { top: 15px; }
    .menu-toggle::after { top: 21px; }
    .menu-open .menu-toggle::before { top: 15px; transform: rotate(45deg); }
    .menu-open .menu-toggle span { opacity: 0; }
    .menu-open .menu-toggle::after { top: 15px; transform: rotate(-45deg); }
    .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; padding: 10px 22px 18px; visibility: hidden; background: rgba(243,240,234,.98); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 12px 28px rgba(27,26,23,.08); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
    .main-nav a { display: flex; align-items: center; min-height: 46px; border-bottom: 1px solid var(--line); }
    .main-nav a:last-child { border-bottom: 0; }
    body.menu-open .site-header { color: var(--ink); background: rgba(243,240,234,.98); border-bottom-color: transparent; backdrop-filter: blur(12px); }
    body.menu-open .site-header .bo-brand { color: var(--bo-tinta); --bo-dot: var(--bo-barro); }
    .menu-open .main-nav { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .hero { min-height: 82vh; }
    .hero-copy { width: auto; margin-left: 0; padding: 0 22px 54px; }
    .hero h1 { max-width: 570px; margin-bottom: 18px; font-size: clamp(42px, 12vw, 50px); line-height: 1.03; }
    .hero p:not(.kicker) { max-width: 520px; margin-bottom: 22px; font-size: 18px; }
    .kicker { margin-bottom: 11px; font-size: 11px; }
    .intro, .report-section, .page-title, .archive-grid, .related, .text-page, .contact-page { padding-right: 22px; padding-left: 22px; }
    .intro { grid-template-columns: 1fr; gap: 28px; padding-top: 62px; padding-bottom: 58px; }
    .intro h2 { margin-bottom: 20px; font-size: 34px; line-height: 1.08; }
    .intro-copy { padding-top: 0; }
    .intro-copy > p:first-child { font-size: 17px; }
    .signature { font-size: 17px; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2, .related h2 { font-size: 34px; }
    .editorial-grid { grid-template-columns: 1fr; gap: 44px; }
    .editorial-grid .feature-card { grid-column: span 1; }
    .editorial-grid .feature-card img, .editorial-grid .standard-card:nth-of-type(3n) img { aspect-ratio: 4 / 3; }
    .editorial-grid h3, .archive-grid h2, .related h3 { font-size: clamp(25px, 7.5vw, 29px); }
    .card-summary, .editorial-grid .feature-card .card-summary { margin-top: 11px; font-size: 16px; line-height: 1.58; }
    .report-section { padding-bottom: 80px; }
    .page-title { padding-top: 116px; padding-bottom: 48px; }
    .page-title h1, .contact-page h1 { margin-bottom: 15px; font-size: clamp(40px, 11vw, 46px); }
    .page-title p, .contact-page p { font-size: 18px; }
    .archive-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 82px; }
    .archive-grid > article, .archive-grid > article:nth-child(n) { grid-column: auto; padding-top: 0; }
    .archive-grid > article img, .archive-grid > article:nth-child(n) img { aspect-ratio: 4 / 3; }
    .text-page { margin-left: 0; padding-top: 118px; padding-bottom: 82px; }
    .text-page h1 { margin-bottom: 36px; font-size: clamp(40px, 11vw, 46px); }
    .text-page p, .text-page p:first-of-type { font-size: 17px; }
    .text-page p:first-of-type { margin-bottom: 32px; }
    .report-head { padding: 118px 22px 38px; }
    .report-head h1 { font-size: clamp(40px, 11vw, 46px); line-height: 1.04; }
    .lede { font-size: 18px; }
    .report-hero { margin-bottom: 52px; }
    .report-hero figcaption { display: grid; gap: 4px; margin-right: 22px; margin-left: 22px; }
    .report-hero figcaption span { white-space: normal; }
    .blocks > h2, .text-block, .image-block, .video, .gallery, .share { padding-right: 22px; padding-left: 22px; }
    .blocks > h2 { margin-top: 48px; font-size: 32px; }
    .text-block { font-size: 17px; }
    blockquote { margin: 34px 0; font-size: 25px; }
    .image-block, .gallery, .video { margin-top: 48px; margin-bottom: 48px; }
    .gallery, .gallery.three { grid-template-columns: 1fr; }
    .report-gallery { margin-top: 62px; margin-bottom: 58px; padding-right: 22px; padding-left: 22px; }
    .report-gallery-heading h2 { font-size: 32px; }
    .end-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; margin: 0; padding: 0; }
    .end-gallery figure, .end-gallery figure:nth-child(5n + 1), .end-gallery figure:nth-child(5n + 2) { grid-column: span 1; }
    .end-gallery img { aspect-ratio: 1 / 1; }
    .lightbox { padding: 58px 12px 72px; }
    .lightbox img { max-width: 96vw; max-height: 75vh; }
    .lightbox-nav { top: auto; bottom: 14px; width: 48px; height: 44px; transform: none; }
    .lightbox-previous { left: 14px; }
    .lightbox-next { right: 14px; }
    .lightbox-counter { right: 50%; bottom: 28px; transform: translateX(50%); }
    .share { margin-top: 56px; margin-bottom: 68px; }
    .related { padding-bottom: 78px; }
    .archive-grid.compact { grid-template-columns: 1fr; gap: 42px; }
    .archive-grid.compact > article:nth-child(n) { margin: 0; }
    .contact-page { grid-template-columns: 1fr; gap: 38px; padding-top: 118px; padding-bottom: 80px; }
    .contact-success-modal { padding: 40px 24px 30px; }
    .contact-success-modal h2 { font-size: 36px; }
    .site-footer { display: grid; gap: 8px; padding: 32px 22px; }
    .footer-copyright { margin-top: 18px; padding-top: 20px; }
    .legal-page h2 { margin-top: 38px; font-size: 28px; }
    .legal-page p:last-child { color: var(--bo-carvao); font-weight: 400; }
    .home-empty .intro { padding-top: 112px; }
}
