:root {
  --ink: #10130f;
  --ink-soft: #272b24;
  --paper: #f5f1e8;
  --paper-warm: #ebe3d4;
  --muted: #625c53;
  --line: rgba(16, 19, 15, 0.14);
  --line-light: rgba(245, 241, 232, 0.2);
  --bronze: #b49355;
  --bronze-dark: #6d542a;
  --navy: #071333;
  --white: #fffaf0;
  --danger: #8b2f2f;
  --success: #2f6645;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #1677c8;
  outline-offset: 3px;
}

.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;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid,
.page-sobre .site-header,
.page-atuacao .site-header,
.page-instituto .site-header,
.page-contato .site-header,
.page-admin .site-header {
  color: var(--ink);
  background: rgba(245, 241, 232, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 7px 9px;
  background: rgba(255, 250, 240, 0.94);
  border: 1px solid rgba(255, 250, 240, 0.55);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.brand img {
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  opacity: 0.82;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 144px clamp(20px, 6vw, 76px) 96px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-shade {
  background:
    radial-gradient(circle at 75% 70%, rgba(180, 147, 85, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(4, 6, 5, 0.88) 0%, rgba(4, 6, 5, 0.68) 34%, rgba(4, 6, 5, 0.22) 76%),
    linear-gradient(0deg, rgba(4, 6, 5, 0.78) 0%, rgba(4, 6, 5, 0.08) 48%, rgba(4, 6, 5, 0.5) 100%);
}

.hero-portrait {
  position: absolute;
  z-index: 1;
  right: clamp(10px, 6vw, 86px);
  bottom: -2px;
  width: min(39vw, 560px);
  max-height: 86svh;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 34px 68px rgba(0, 0, 0, 0.42));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(78px, 12.2vw, 172px);
  line-height: 0.78;
  color: var(--white);
  text-transform: uppercase;
}

.hero-copy {
  max-width: 640px;
  margin: 34px 0 0;
  color: rgba(255, 250, 240, 0.84);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.button-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 250, 240, 0.46);
}

.button-secondary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.hero-meta {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 4vw, 56px);
  bottom: 34px;
  display: flex;
  gap: 18px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-meta span {
  border-left: 1px solid rgba(255, 250, 240, 0.26);
  padding-left: 18px;
}

.intro-strip {
  position: sticky;
  top: 84px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 250, 240, 0.1);
  border-bottom: 1px solid rgba(180, 147, 85, 0.22);
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.98), rgba(25, 27, 22, 0.94)),
    radial-gradient(circle at 78% 50%, rgba(180, 147, 85, 0.18), transparent 34%);
  color: rgba(255, 250, 240, 0.78);
}

.intro-strip p {
  margin: 0;
  padding: 0;
  color: inherit;
  letter-spacing: 0.02em;
}

.intro-strip-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(26px, 4.2vw, 58px);
  width: 100%;
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 650;
}

.intro-strip-links a {
  color: rgba(255, 250, 240, 0.86);
  border-bottom: 1px solid rgba(180, 147, 85, 0.44);
  transition: color 160ms ease, border-color 160ms ease;
}

.intro-strip-links a:hover {
  color: var(--white);
  border-bottom-color: var(--bronze);
}

.site-footer a {
  color: inherit;
  border-bottom: 1px solid rgba(180, 147, 85, 0.48);
}

.footer-privacy-button {
  appearance: none;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(180, 147, 85, 0.48);
  font: inherit;
  cursor: pointer;
}

.intro-strip > p {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding-left: clamp(18px, 4vw, 56px);
  border-left: 1px solid rgba(255, 250, 240, 0.14);
}

.intro-strip .whatsapp-inline {
  border: 1px solid rgba(37, 211, 102, 0.32);
  background: rgba(37, 211, 102, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  color: var(--white);
}

.intro-strip .whatsapp-inline small {
  color: rgba(255, 250, 240, 0.62);
}

.intro-strip .whatsapp-inline strong {
  color: var(--white);
}

#atuacao,
#analise,
#areas,
#trajetoria,
#escritorio,
#instituto,
#artigos,
#como-funciona,
#contato {
  scroll-margin-top: 188px;
}

.area-anchor-strip {
  position: sticky;
  top: 84px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.area-anchor-strip a {
  flex: 1 1 170px;
  background: rgba(245, 241, 232, 0.96);
  padding: 17px 18px;
  color: var(--ink);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.area-anchor-strip a:hover {
  background: #fffaf2;
  color: var(--bronze-dark);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.split h2,
.contact-panel h2,
.institute-band h2,
.contact-card h2 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.92;
}

.rich-text {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.4vw, 22px);
}

.rich-text p:first-child {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  border-bottom: 1px solid var(--bronze);
  color: var(--bronze-dark);
  font-weight: 700;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1px;
  background: var(--line);
  padding: 1px;
  width: min(1240px, calc(100vw - 40px));
}

.feature-card {
  min-height: 300px;
  background: #fbf7ee;
  padding: clamp(28px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card.large {
  grid-row: span 3;
  min-height: 680px;
  background: var(--ink);
  color: var(--white);
}

.feature-card h3 {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.94;
}

.feature-card:not(.large) h3 {
  font-size: clamp(30px, 3.3vw, 48px);
}

.feature-card p {
  color: inherit;
  opacity: 0.72;
  margin: 22px 0 0;
}

.number {
  align-self: flex-start;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.concise-grid {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 0;
  padding-bottom: 0;
}

.concise-grid article {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  background: transparent;
  padding: clamp(36px, 5.6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}

.concise-grid article:last-child {
  border-bottom: 0;
}

.concise-grid h3 {
  max-width: 560px;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 0.9;
}

.concise-grid p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  margin-top: 0;
}

.institute-band {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.74fr);
  gap: clamp(24px, 6vw, 72px);
  background: #d7c7a8;
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 76px);
  margin: 0;
}

.institute-band p {
  font-size: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 46px);
  align-items: start;
  border-top: 1px solid var(--line);
  background: transparent;
  padding-top: clamp(56px, 8vw, 92px);
}

.contact-panel-copy {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 14px;
  align-items: start;
  max-width: 860px;
  padding: 0;
  background: transparent;
  border-bottom: 0;
}

.contact-panel-copy h2 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.94;
}

.contact-panel-copy .whatsapp-inline {
  margin-top: 0;
  align-self: end;
}

.contact-panel-direct-cta {
  justify-self: start;
  align-self: start;
  min-height: 72px;
  padding: 12px 24px 12px 14px;
  border-color: rgba(181, 145, 74, 0.5);
  background: #fffaf0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.contact-panel-direct-cta:hover {
  border-color: rgba(181, 145, 74, 0.78);
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.2);
}

.contact-panel-direct-cta .whatsapp-mark {
  width: 40px;
  height: 40px;
}

.contact-panel-direct-cta small {
  color: #8a6a28;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.contact-panel-direct-cta strong {
  margin-top: 3px;
  color: #11140f;
  font-size: clamp(20px, 1.65vw, 30px);
  font-weight: 900;
}

.lead-form {
  background: #fffaf2;
  border: 1px solid var(--line);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: none;
}

.contact-panel .lead-form {
  max-width: 920px;
  width: 100%;
}

.contact-panel .lead-form .form-grid {
  grid-template-columns: 1fr;
}

.form-heading p:last-child {
  color: var(--muted);
  margin: 0 0 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(16, 19, 15, 0.18);
  border-radius: 0;
  background: rgba(245, 241, 232, 0.56);
  color: var(--ink);
  padding: 14px 14px;
  outline: 2px solid transparent;
  transition: border-color 160ms ease, background 160ms ease;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--bronze);
  background: #fffdf8;
  outline-color: #1677c8;
  outline-offset: 1px;
}

.optional {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.lead-form .consent {
  margin: 24px 0 26px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--bronze-dark);
}

.consent label {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--muted);
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.page-hero {
  min-height: 62svh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 148px clamp(20px, 6vw, 76px) 78px;
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.92), rgba(16, 19, 15, 0.76)),
    url("/static/assets/hero-law-office.avif") center / cover;
  color: var(--white);
}

.page-hero h1 {
  max-width: 1050px;
  color: var(--white);
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.86;
}

.page-hero p:last-child {
  max-width: 700px;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(18px, 2vw, 24px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}

.credentials p {
  min-height: 190px;
  margin: 0;
  background: #fffaf2;
  padding: clamp(22px, 3vw, 34px);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.credentials span {
  display: block;
  margin-bottom: 22px;
  color: var(--bronze);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.partners-feature {
  max-width: 980px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.institute-note {
  max-width: 900px;
  text-align: center;
}

.institute-note > p:not(.eyebrow) {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.partners-feature h2,
.partners-heading h2,
.partner-dossier h2 {
  margin-bottom: 24px;
}

.partners-feature > p:not(.eyebrow),
.partners-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.partner-signatures {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 34px 0 22px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partners-heading {
  max-width: 920px;
  text-align: center;
}

.partner-dossier {
  max-width: 940px;
  border-top: 1px solid var(--line);
}

.partner-dossier header,
.partner-biography,
.partner-facts {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.partner-number {
  margin: 0 0 42px;
  color: var(--bronze);
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.8;
}

.partner-dossier h2 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
}

.partner-oab {
  color: var(--bronze-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.partner-biography {
  margin-top: 46px;
}

.partner-facts {
  display: grid;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.partner-facts p {
  display: grid;
  grid-template-columns: minmax(130px, 0.34fr) 1fr;
  gap: 24px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.partner-facts span {
  color: var(--bronze-dark);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline article,
.practice-list article,
.institute-pillars article {
  background: #fffaf2;
  padding: clamp(24px, 3vw, 38px);
}

.timeline span {
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.timeline h3,
.practice-list h3,
.institute-pillars h3 {
  margin-top: 24px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 0.96;
}

.timeline p,
.practice-list p,
.institute-pillars p {
  color: var(--muted);
}

.quote-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-section p {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.98;
}

.practice-list,
.institute-pillars {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 0;
  padding-bottom: 0;
}

.practice-list article,
.institute-pillars article {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(24px, 6vw, 86px);
  padding: clamp(30px, 4.8vw, 58px) 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.practice-list article:last-child,
.institute-pillars article:last-child {
  border-bottom: 0;
}

.area-detail-list {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.area-detail-list article {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 7vw, 96px);
  padding: clamp(54px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 126px;
}

.area-detail-list article:last-child {
  border-bottom: 0;
}

.area-detail-list h2 {
  font-size: clamp(42px, 6.8vw, 96px);
  line-height: 0.9;
}

.inline-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.inline-topics li {
  border: 1px solid var(--line);
  background: #fffaf2;
  padding: 10px 13px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.institute-hero {
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.86), rgba(16, 19, 15, 0.62)),
    url("/static/assets/hero-law-office.avif") center / cover;
}

.institute-hero h1 {
  max-width: 760px;
  font-size: clamp(66px, 9.5vw, 128px);
  line-height: 0.84;
}

.institute-hero h1 span {
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(36px, 7vw, 88px);
}

.contact-card {
  background: var(--ink);
  color: var(--white);
  padding: clamp(28px, 4vw, 52px);
  align-self: start;
}

.contact-card p,
.contact-card dd {
  color: rgba(255, 250, 240, 0.76);
}

.contact-card dl {
  margin: 34px 0 0;
}

.contact-card div {
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
}

.contact-card dt {
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-card dd {
  margin: 8px 0 0;
}

.admin-hero {
  min-height: 42svh;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}

.admin-metrics article {
  background: #fffaf2;
  padding: 28px;
}

.admin-metrics span {
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 82px);
}

.admin-metrics p {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.admin-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.admin-section h2 {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 24px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  background: #fffaf2;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--bronze-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.page-view-list {
  border-top: 1px solid var(--line);
}

.page-view-list p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 14px 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 1fr 1fr;
  gap: 32px;
  background: #071847;
  color: rgba(255, 250, 240, 0.74);
  padding: clamp(44px, 6vw, 72px) clamp(20px, 6vw, 76px);
}

.footer-logo {
  display: block;
  width: 128px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.footer-title {
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-kicker {
  grid-column: 1 / -1;
  max-width: 920px;
}

.section-kicker h2,
.document-section h2,
.contact-guidance h2 {
  font-size: clamp(42px, 6.6vw, 92px);
  line-height: 0.92;
}

.process-steps {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-steps .section-kicker {
  max-width: 980px;
  padding-bottom: clamp(34px, 5vw, 64px);
}

.process-steps article,
.document-list,
.faq-section details,
.program-grid article,
.contact-guidance .guidance-list {
  background: #fffaf2;
  border: 1px solid transparent;
}

.process-steps article {
  min-height: auto;
  padding: clamp(24px, 3.6vw, 42px) 0;
  display: grid;
  grid-template-columns: 78px minmax(240px, 0.72fr) minmax(280px, 1.28fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: baseline;
  border-top: 1px solid var(--line);
  background: transparent;
}

.process-steps span,
.guidance-list span {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.process-steps h3,
.program-grid h3 {
  font-size: clamp(31px, 3.4vw, 52px);
  line-height: 0.94;
  margin: 0;
}

.practice-list h3,
.institute-pillars h3 {
  margin: 0;
}

.process-steps p,
.practice-list p,
.institute-pillars p,
.program-grid p,
.faq-section p {
  color: var(--muted);
  margin-bottom: 0;
}

.document-section,
.contact-guidance {
  display: block;
  border-top: 1px solid var(--line);
}

.document-section > div,
.contact-guidance > div:first-child {
  max-width: 900px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.document-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
}

.document-list li {
  position: relative;
  padding: 22px 24px 22px 48px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.document-list li:last-child {
  border-bottom: 0;
}

.document-list li::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 32px;
  width: 7px;
  height: 7px;
  background: var(--bronze);
  border-radius: 999px;
}

.faq-section {
  display: block;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-section .section-kicker {
  background: var(--ink);
  color: var(--white);
  padding: clamp(28px, 4vw, 54px);
  max-width: none;
  margin-bottom: 1px;
}

.faq-section .section-kicker h2 {
  color: var(--white);
}

.faq-section details {
  padding: 26px clamp(22px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: #fffaf2;
}

.faq-section details:last-child {
  border-bottom: 0;
}

.faq-section summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1;
}

.faq-section summary::marker {
  color: var(--bronze);
}

.faq-section details p {
  margin: 18px 0 0;
}

.institute-program {
  border-top: 1px solid var(--line);
}

.program-grid {
  display: block;
  margin-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.program-grid article {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(24px, 6vw, 86px);
  padding: clamp(28px, 4.2vw, 52px) 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.program-grid article:last-child {
  border-bottom: 0;
}

.contact-guidance {
  padding-top: clamp(48px, 7vw, 86px);
}

.guidance-list {
  border: 1px solid var(--line);
  max-width: 860px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guidance-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.guidance-list li:last-child {
  border-bottom: 0;
}

.map-section {
  border-top: 1px solid var(--line);
}

.map-section .section-kicker {
  margin-bottom: clamp(26px, 4vw, 46px);
}

.map-section .section-kicker p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.map-frame {
  width: 100%;
  height: clamp(340px, 52vw, 560px);
  background: #fffaf2;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 22px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.8) contrast(0.95);
}

.admin-config-grid,
.admin-origin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 1px;
}

.admin-config-grid p,
.admin-origin-grid article {
  margin: 0;
  background: #fffaf2;
  padding: 22px;
  min-height: 130px;
}

.admin-config-grid span,
.admin-origin-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-origin-grid p {
  margin: 0 0 10px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-origin-grid h3 {
  font-size: clamp(26px, 2.6vw, 42px);
  line-height: 1;
}

.conversation-list {
  border-top: 1px solid var(--line);
}

.conversation-list article {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.25fr) minmax(160px, 0.45fr);
  gap: 28px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.conversation-list h3 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.conversation-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.conversation-list span {
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-admin .site-header,
.page-admin .site-footer,
.page-admin-login .site-header,
.page-admin-login .site-footer {
  display: none;
}

.page-admin,
.page-admin-login {
  background: #efeadf;
}

.contact-layout {
  width: min(1180px, calc(100vw - 48px));
  grid-template-columns: minmax(340px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  min-height: auto;
  padding: clamp(30px, 4.2vw, 56px);
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(180, 147, 85, 0.36);
  border-radius: 50%;
}

.contact-card h2 {
  max-width: 8.6em;
  font-size: clamp(42px, 5.1vw, 74px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.contact-card > p:not(.eyebrow) {
  max-width: 34rem;
  font-size: clamp(17px, 1.5vw, 21px);
}

.contact-card dl {
  display: grid;
  gap: 0;
}

.contact-card dd {
  font-size: clamp(17px, 1.45vw, 20px);
}

.admin-login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 80% 18%, rgba(180, 147, 85, 0.18), transparent 32%),
    var(--paper);
}

.admin-login-card {
  width: min(460px, 100%);
  background: #fffaf2;
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 46px);
  box-shadow: 0 28px 90px rgba(16, 19, 15, 0.12);
}

.admin-login-brand {
  width: 132px;
  margin-bottom: 22px;
}

.admin-login-brand img {
  width: 100%;
  height: auto;
}

.admin-login-card h1 {
  font-size: clamp(48px, 9vw, 78px);
  line-height: 0.9;
}

.admin-login-card > p:not(.eyebrow) {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 15px 14px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.login-form button,
.admin-logout button,
.chat-compose button,
.webhook-card button {
  border: 0;
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.login-form button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.login-warning,
.login-error {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(139, 47, 47, 0.2);
  background: rgba(139, 47, 47, 0.08);
  color: var(--danger);
}

.login-warning {
  border-color: rgba(180, 147, 85, 0.26);
  background: rgba(180, 147, 85, 0.1);
  color: var(--bronze-dark);
}

.admin-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 26px 18px;
  background: var(--ink);
  color: var(--white);
  border-right: 1px solid rgba(255, 250, 240, 0.08);
}

.admin-brand {
  display: grid;
  gap: 12px;
  color: rgba(255, 250, 240, 0.8);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.admin-brand-mark img {
  display: block;
  width: 88px;
  height: auto;
  object-fit: contain;
}

.admin-brand span {
  color: rgba(255, 250, 240, 0.76);
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a {
  padding: 13px 14px;
  border: 1px solid transparent;
  color: rgba(255, 250, 240, 0.72);
}

.admin-nav a:hover {
  border-color: rgba(180, 147, 85, 0.42);
  color: var(--white);
  background: rgba(255, 250, 240, 0.05);
}

.admin-logout {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 240, 0.14);
}

.admin-logout span {
  color: rgba(255, 250, 240, 0.62);
}

.admin-logout button {
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.16);
}

.admin-main {
  min-width: 0;
  padding: clamp(24px, 4vw, 46px);
}

.admin-top,
.admin-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.admin-top {
  margin-bottom: 26px;
}

.admin-top h1 {
  font-size: clamp(54px, 7vw, 104px);
  line-height: 0.9;
}

.admin-top p,
.admin-panel-heading > p {
  color: var(--muted);
  max-width: 38rem;
}

.admin-status-pill {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #fffaf2;
  padding: 11px 14px;
  color: var(--bronze-dark);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}

.admin-status-pill.is-ready {
  color: var(--success);
}

.admin-metric-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.connection-grid,
.admin-origin-cards {
  display: grid;
  gap: 12px;
}

.admin-metric-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 28px;
}

.admin-metric-grid article {
  background: #fffaf2;
  padding: 24px;
}

.connection-grid article,
.admin-origin-cards article {
  background: #fffaf2;
  border: 1px solid var(--line);
  padding: 24px;
}

.admin-metric-grid span,
.admin-origin-cards span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.9;
}

.admin-metric-grid p,
.connection-grid span,
.webhook-card span {
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-panel {
  scroll-margin-top: 24px;
  margin-top: 28px;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid var(--line);
  padding: clamp(22px, 3.5vw, 34px);
}

.admin-panel-heading {
  margin-bottom: 22px;
}

.admin-panel h2 {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.92;
}

.admin-chat {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(420px, 0.64fr);
  min-height: 620px;
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.chat-list,
.chat-window {
  background: #fffaf2;
}

.chat-list {
  overflow: auto;
}

.chat-contact {
  width: 100%;
  display: grid;
  gap: 6px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 18px;
  cursor: pointer;
}

.chat-contact.is-active,
.chat-contact:hover {
  background: #f1eadc;
}

.chat-contact strong {
  font-size: 16px;
}

.chat-contact span,
.chat-contact small,
.chat-header span,
.chat-note {
  color: var(--muted);
}

.chat-contact small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-window {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  min-width: 0;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.chat-messages {
  overflow: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: min(620px, 84%);
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 12px 14px;
}

.chat-bubble.is-out {
  align-self: flex-end;
  background: #efe3cb;
}

.chat-bubble.is-in {
  align-self: flex-start;
}

.chat-bubble p {
  margin: 0;
}

.chat-bubble time {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.chat-media {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.chat-media img,
.chat-media video {
  max-width: 320px;
  max-height: 240px;
  border: 1px solid var(--line);
}

.chat-media audio {
  width: min(320px, 100%);
}

.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.chat-compose textarea {
  resize: vertical;
  min-height: 54px;
  max-height: 160px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
}

.file-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fffaf2;
  padding: 0 14px;
  cursor: pointer;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.file-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chat-note {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 13px;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  background: #fffaf2;
}

.admin-table-wrap table {
  min-width: 920px;
}

.connection-grid {
  grid-template-columns: repeat(4, 1fr);
}

.admin-origin-cards {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.admin-origin-cards h3,
.connection-grid strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1;
}

.admin-origin-cards p,
.connection-grid p {
  color: var(--muted);
}

.message-feed {
  display: grid;
  gap: 12px;
}

.message-feed article {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(240px, 0.68fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffaf2;
}

.message-feed article.is-out {
  border-left: 4px solid var(--bronze);
}

.message-feed article.is-in {
  border-left: 4px solid var(--success);
}

.message-feed span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.message-feed p {
  margin: 0;
}

.webhook-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fffaf2;
  padding: 18px;
}

.webhook-card span {
  grid-column: 1 / -1;
}

.webhook-card code {
  overflow: auto;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.admin-empty {
  padding: 18px;
  color: var(--muted);
}

.page-admin {
  background: #f2eee5;
}

.page-admin .admin-main {
  padding: clamp(20px, 3vw, 34px);
}

.admin-top-compact {
  align-items: center;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(16, 19, 15, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(235, 227, 212, 0.64)),
    radial-gradient(circle at 88% 10%, rgba(180, 147, 85, 0.16), transparent 30%);
}

.admin-top-compact h1 {
  max-width: 920px;
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: 0.92;
}

.admin-top-compact p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 17px;
}

.admin-metric-grid-modern {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  background: transparent;
  border: 0;
}

.admin-metric-grid-modern article {
  min-height: 132px;
  border: 1px solid rgba(16, 19, 15, 0.12);
  background: rgba(255, 250, 242, 0.88);
  padding: 18px;
}

.admin-metric-grid-modern article.is-primary {
  background: var(--ink);
  color: var(--white);
}

.admin-metric-grid-modern article.is-primary {
  grid-column: span 2;
}

.admin-metric-grid-modern span {
  font-size: clamp(38px, 4vw, 60px);
}

.admin-metric-grid-modern p {
  margin: 12px 0 0;
  line-height: 1.35;
}

.admin-metric-grid-modern article.is-primary p {
  color: rgba(255, 250, 240, 0.72);
}

.admin-attendance-panel {
  padding: 0;
  overflow: hidden;
  background: #fffaf2;
}

.admin-attendance-panel > .admin-panel-heading {
  margin: 0;
  padding: 24px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #fffaf2, #f4eee3),
    radial-gradient(circle at 86% 0, rgba(37, 211, 102, 0.12), transparent 34%);
}

.admin-attendance-panel h2 {
  font-size: clamp(42px, 5vw, 74px);
}

.attendance-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.attendance-summary article {
  min-height: 120px;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 20px 22px;
  background: #fffaf2;
}

.attendance-summary span {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.9;
}

.attendance-summary strong {
  color: var(--ink);
  font-size: 15px;
}

.attendance-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-chat-modern {
  grid-template-columns: minmax(300px, 0.28fr) minmax(460px, 0.48fr) minmax(260px, 0.24fr);
  min-height: clamp(660px, 72vh, 860px);
  border: 0;
  background: var(--line);
}

.admin-chat-modern .chat-list-shell,
.admin-chat-modern .chat-window,
.chat-detail-panel {
  min-width: 0;
  background: #fffaf2;
}

.chat-list-shell {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  border: 0;
}

.chat-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.chat-list-heading strong {
  display: block;
  font-size: 18px;
}

.chat-list-heading span {
  color: var(--muted);
  font-size: 13px;
}

.chat-list-heading > span {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.chat-search {
  display: grid;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chat-search input {
  min-height: 46px;
  margin: 0;
  background: #f7f1e7;
}

.chat-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.chat-filter-bar button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffaf2;
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.chat-filter-bar button[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.admin-chat-modern .chat-list {
  overflow: auto;
  background: #f8f2e8;
}

.admin-chat-modern .chat-contact {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 14px 16px;
  background: #fffaf2;
}

.admin-chat-modern .chat-contact.is-active {
  background: #ece2d0;
  box-shadow: inset 4px 0 0 var(--bronze);
}

.chat-contact-avatar {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 850;
  text-transform: uppercase;
}

.chat-contact-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.chat-contact-main strong,
.chat-contact-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-contact-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
}

.chat-contact-meta small {
  max-width: 92px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1eadc;
  color: var(--bronze-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-window {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(245, 241, 232, 0.98)),
    radial-gradient(circle at 100% 0, rgba(37, 211, 102, 0.09), transparent 28%);
}

.chat-header {
  min-height: 82px;
  align-items: center;
  background: rgba(255, 250, 242, 0.92);
}

.chat-header strong {
  font-size: 18px;
}

.chat-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-controls button,
.chat-load-more,
.quick-replies button,
.file-pill {
  border-radius: 999px;
}

.chat-messages {
  padding: 24px;
}

.chat-bubble {
  border-radius: 18px 18px 18px 6px;
  border-color: rgba(16, 19, 15, 0.1);
  box-shadow: 0 12px 30px rgba(16, 19, 15, 0.06);
}

.chat-bubble.is-out {
  border-radius: 18px 18px 6px 18px;
  background: #dff4e6;
}

.quick-replies {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.82);
}

.quick-replies button {
  flex: 0 0 auto;
  border: 1px solid rgba(16, 19, 15, 0.12);
  background: #fffaf2;
  color: var(--ink-soft);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.quick-replies button:hover {
  border-color: var(--bronze);
}

.admin-chat-modern .chat-compose {
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  padding: 14px;
  background: #fffaf2;
}

.admin-chat-modern .chat-compose textarea {
  min-height: 52px;
  max-height: 180px;
  border-radius: 16px;
  background: #f7f1e7;
}

.admin-chat-modern .chat-compose button {
  min-height: 52px;
  border-radius: 999px;
}

.chat-detail-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  overflow: auto;
}

.chat-detail-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.chat-detail-card h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 850;
}

.chat-detail-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.chat-detail-card div {
  display: grid;
  gap: 3px;
}

.chat-detail-card dt,
.chat-detail-empty span {
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-detail-card dd {
  margin: 0;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.chat-detail-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #e8f6ed;
  color: #245c39;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.chat-detail-empty {
  min-height: 220px;
  display: grid;
  align-content: center;
  gap: 10px;
  color: var(--muted);
}

.chat-detail-empty strong {
  color: var(--ink);
  font-size: 20px;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 28px 24px;
    background: rgba(245, 241, 232, 0.98);
    color: var(--ink);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  body.menu-open .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    width: 100%;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero h1 {
    font-size: clamp(64px, 18vw, 112px);
  }

  .hero-portrait {
    width: min(58vw, 480px);
    opacity: 0.82;
    right: -36px;
  }

  .hero-meta,
  .intro-strip,
  .split,
  .institute-band,
  .contact-panel,
  .contact-layout,
  .document-section,
  .contact-guidance,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 38px;
    flex-direction: column;
    gap: 10px;
  }

  .intro-strip > p {
    border-left: 0;
    border-top: 1px solid rgba(255, 250, 240, 0.12);
    padding: 18px 0 0;
    justify-content: flex-start;
  }

  .intro-strip {
    top: 76px;
    align-items: stretch;
    gap: 18px;
    min-height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .intro-strip-links {
    line-height: 1.7;
  }

  #atuacao,
  #analise,
  #areas,
  #trajetoria,
  #escritorio,
  #instituto,
  #artigos,
  #como-funciona,
  #contato {
    scroll-margin-top: 236px;
  }

  .editorial-grid,
  .concise-grid,
  .credentials,
  .timeline,
  .practice-list,
  .area-detail-list article,
  .process-steps,
  .program-grid,
  .faq-section,
  .admin-config-grid,
  .admin-origin-grid,
  .institute-pillars,
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .conversation-list article {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-brand-mark {
    max-width: 228px;
  }

  .admin-top,
  .admin-panel-heading,
  .chat-header {
    flex-direction: column;
  }

  .admin-metric-grid,
  .connection-grid,
  .admin-origin-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-chat {
    grid-template-columns: 1fr;
  }

  .chat-list {
    max-height: 260px;
  }

  .feature-card.large {
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .admin-chat-modern {
    grid-template-columns: 1fr;
  }

  .chat-detail-panel {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 34px;
  }

  .site-header {
    padding: 16px;
  }

  .hero {
    padding: 118px 20px 52px;
  }

  .hero-copy {
    font-size: 24px;
  }

  .hero-portrait {
    width: 78vw;
    right: -70px;
    opacity: 0.45;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 58px 0;
  }

  .editorial-grid,
  .concise-grid,
  .credentials,
  .timeline,
  .practice-list,
  .area-detail-list article,
  .process-steps,
  .program-grid,
  .faq-section,
  .admin-config-grid,
  .admin-origin-grid,
  .institute-pillars,
  .admin-metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.large {
    min-height: 360px;
  }

  .page-hero {
    min-height: 56svh;
    padding: 120px 20px 54px;
  }

  .page-hero h1 {
    font-size: clamp(52px, 17vw, 82px);
  }

  .lead-form,
  .contact-card {
    padding: 24px;
  }

  .partner-signatures {
    align-items: center;
    flex-direction: column;
  }

  .partner-facts p {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-layout {
    width: min(100% - 32px, 1180px);
  }

  .contact-card h2,
  .contact-guidance h2,
  .section-kicker h2 {
    font-size: clamp(42px, 13vw, 66px);
  }

  .admin-main {
    padding: 18px;
  }

  .admin-nav,
  .admin-metric-grid,
  .connection-grid,
  .admin-origin-cards,
  .message-feed article,
  .chat-compose {
    grid-template-columns: 1fr;
  }

  .admin-metric-grid-modern article.is-primary {
    grid-column: auto;
  }

  .attendance-summary {
    grid-template-columns: 1fr 1fr;
  }

  .admin-chat-modern .chat-contact {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .chat-contact-meta {
    grid-column: 2;
    justify-items: start;
    grid-template-columns: repeat(2, max-content);
  }

  .admin-chat-modern .chat-compose {
    grid-template-columns: 1fr;
  }

  .admin-login-brand {
    width: 124px;
    margin-bottom: 20px;
  }

  .admin-brand-mark {
    max-width: 210px;
  }

  .admin-panel {
    padding: 18px;
  }

  .admin-attendance-panel {
    padding: 0;
  }

  .chat-compose button,
  .file-pill {
    min-height: 48px;
  }

  .webhook-card {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Production hardening: accessibility, consent and operational controls. */
address {
  font-style: normal;
}

.hero .eyebrow,
.page-hero .eyebrow,
.admin-sidebar .eyebrow,
.faq-section .section-kicker .eyebrow,
.contact-card .eyebrow {
  color: var(--bronze);
}

.site-nav[aria-hidden="true"] {
  visibility: hidden;
  pointer-events: none;
}

.noscript-nav {
  color: inherit;
  font-size: 13px;
}

fieldset {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

legend {
  width: 100%;
  margin-bottom: 14px;
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-field label {
  margin-bottom: 0;
}

.lead-form select {
  width: 100%;
  margin: 8px 0 18px;
  border: 1px solid rgba(16, 19, 15, 0.24);
  border-radius: 0;
  background: rgba(245, 241, 232, 0.56);
  color: var(--ink);
  padding: 14px;
}

.consent a {
  color: var(--bronze-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-form[aria-busy="true"] {
  opacity: 0.76;
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-section > .section-kicker {
  max-width: 980px;
  padding-bottom: clamp(34px, 5vw, 64px);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.process-steps li {
  margin: 0;
  padding: 0;
}

.quote-section blockquote {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 86px);
  line-height: 0.98;
}

.quote-section cite {
  display: block;
  margin-top: 28px;
  color: var(--bronze-dark);
  font-family: var(--sans);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compact-hero {
  min-height: 54svh;
}

.privacy-content {
  display: grid;
  gap: 1px;
}

.privacy-content article {
  padding: clamp(26px, 4vw, 48px);
  background: #fffaf2;
  border: 1px solid var(--line);
}

.privacy-content h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.privacy-content p {
  max-width: 780px;
  color: var(--ink-soft);
  font-size: 18px;
}

.map-consent {
  min-height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 32px;
  text-align: center;
}

.consent-banner {
  position: fixed;
  z-index: 100;
  inset: auto 18px 18px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 250, 240, 0.3);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner h2 {
  color: var(--white);
  font-size: 28px;
}

.consent-banner p {
  margin: 6px 0;
  color: rgba(255, 250, 240, 0.84);
}

.consent-banner a {
  color: var(--white);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  gap: 10px;
}

.consent-actions .button-primary {
  background: var(--bronze);
  border-color: var(--bronze);
}

caption {
  padding: 12px;
  text-align: left;
  color: var(--bronze-dark);
  font-weight: 800;
}

.chat-list-shell {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #fffaf2;
}

.chat-search {
  margin: 0;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.chat-search input {
  margin-top: 6px;
}

.chat-load-more,
.chat-controls button,
[data-retry-outbox],
.privacy-delete-form button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fffaf2;
  color: var(--ink);
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

.chat-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat-header > div:first-child {
  display: grid;
}

.file-pill:focus-within {
  outline: 3px solid #1677c8;
  outline-offset: 3px;
}

.privacy-delete-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.privacy-delete-form label,
.privacy-delete-form p {
  grid-column: 1 / -1;
  margin: 0;
}

@media (min-width: 981px) {
  .site-nav[aria-hidden="true"] {
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 720px) {
  .consent-banner {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    flex-direction: column;
  }

  .privacy-delete-form {
    grid-template-columns: 1fr;
  }
}

/* Artigos públicos */
.page-blog .site-header,
.page-blog-post .site-header,
.page-blog-preview .site-header {
  color: var(--ink);
  background: rgba(245, 241, 232, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.blog-hero {
  min-height: 68svh;
}

.blog-hero h1 {
  max-width: 1050px;
  font-size: clamp(58px, 8.7vw, 128px);
}

.blog-hero p:last-child {
  max-width: 680px;
}

.blog-index {
  padding-top: clamp(42px, 6vw, 78px);
}

.blog-tools {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding-bottom: clamp(38px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.blog-search {
  margin: 0;
}

.blog-search label {
  color: var(--bronze-dark);
}

.blog-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.blog-search input {
  min-height: 54px;
  margin: 0;
  background: #fffaf2;
}

.blog-search button {
  min-width: 112px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-topics a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.58);
  color: var(--ink-soft);
  font-size: 13px;
}

.blog-topics a:hover,
.blog-topics a[aria-current="page"] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.blog-topics span {
  color: var(--bronze);
  font-size: 11px;
}

.blog-results-heading,
.blog-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
}

.blog-results-heading {
  margin: clamp(46px, 7vw, 88px) 0 30px;
}

.blog-results-heading h2,
.blog-section-heading h2 {
  max-width: 820px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.94;
}

.blog-results-heading > p {
  color: var(--muted);
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.blog-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: #fffaf2;
  box-shadow: inset 0 4px 0 transparent;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  background: #fffdf8;
  box-shadow: inset 0 4px 0 var(--bronze);
}

.blog-card-category {
  margin: 0 0 24px;
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: clamp(31px, 3vw, 46px);
  line-height: 0.98;
}

.blog-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.blog-card {
  position: relative;
}

.blog-card > p:not(.blog-card-category) {
  color: var(--muted);
  font-size: 16px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding: 24px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.blog-card .text-link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.blog-card-grid-compact .blog-card {
  min-height: 350px;
}

.blog-home-section {
  width: 100%;
  background:
    linear-gradient(90deg, rgba(16, 19, 15, 0.98), rgba(16, 19, 15, 0.9)),
    radial-gradient(circle at 86% 26%, rgba(180, 147, 85, 0.22), transparent 32%);
  color: var(--white);
}

.blog-home-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: stretch;
}

.blog-home-copy {
  min-height: clamp(360px, 42vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-home-copy .eyebrow {
  color: var(--bronze);
}

.blog-home-copy h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.78;
}

.blog-home-copy .button {
  align-self: flex-start;
}

.blog-empty-public {
  min-height: clamp(300px, 34vw, 460px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(255, 250, 240, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.1), rgba(255, 250, 240, 0.04)),
    radial-gradient(circle at 100% 0, rgba(180, 147, 85, 0.22), transparent 38%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.blog-empty-public:hover {
  transform: translateY(-2px);
  border-color: rgba(180, 147, 85, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.13), rgba(255, 250, 240, 0.05)),
    radial-gradient(circle at 100% 0, rgba(180, 147, 85, 0.32), transparent 38%);
}

.blog-empty-public span,
.blog-home-feature p,
.blog-home-feature span {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-empty-public strong {
  max-width: 420px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 66px);
  font-weight: 400;
  line-height: 0.9;
}

.blog-empty-public small {
  color: rgba(255, 250, 240, 0.7);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-home-feature-list {
  display: grid;
  gap: 1px;
  padding: 1px;
  background: rgba(255, 250, 240, 0.18);
}

.blog-home-feature {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(255, 250, 240, 0.07);
}

.blog-home-feature h3 {
  color: var(--white);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.94;
}

.blog-home-feature h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.blog-home-feature {
  position: relative;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
}

.blog-pagination a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  background: #fffaf2;
}

.blog-pagination span {
  color: var(--muted);
}

.blog-article {
  padding-top: 84px;
}

.blog-article-header {
  padding: clamp(92px, 12vw, 166px) max(20px, calc((100vw - 1180px) / 2)) clamp(58px, 8vw, 104px);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(180, 147, 85, 0.22), transparent 30%),
    var(--ink);
}

.blog-back-link,
.admin-back-link {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--bronze);
  border-bottom: 1px solid currentColor;
}

.blog-article-header h1 {
  max-width: 1040px;
  color: var(--white);
  font-size: clamp(58px, 9.2vw, 132px);
  line-height: 0.86;
}

.blog-article-deck {
  max-width: 780px;
  margin: 34px 0 0;
  color: rgba(255, 250, 240, 0.78);
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 36px);
  line-height: 1.18;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  color: rgba(255, 250, 240, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article-layout {
  width: var(--container);
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(38px, 8vw, 110px);
  align-items: start;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 126px) 0;
}

.blog-author-card {
  position: sticky;
  top: 112px;
  padding: 28px;
  background: #ebe3d4;
  border-top: 4px solid var(--bronze);
}

.blog-author-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.blog-author-card span,
.blog-author-card p:last-child {
  color: var(--muted);
}

.blog-author-card span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article-body {
  max-width: 780px;
}

.blog-article-body > p {
  margin: 0 0 1.45em;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 28px);
  line-height: 1.62;
  white-space: pre-line;
}

.blog-article-body > p:first-child::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--bronze-dark);
  font-size: 4em;
  line-height: 0.74;
}

.article-notice {
  margin-top: 54px;
  padding: 24px 28px;
  border-left: 4px solid var(--bronze);
  background: #fffaf2;
}

.article-notice p {
  margin-bottom: 0;
  color: var(--muted);
}

.related-posts {
  border-top: 1px solid var(--line);
}

.related-posts .blog-section-heading {
  margin-bottom: 36px;
}

.article-preview-banner {
  position: fixed;
  z-index: 30;
  inset: auto 18px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px;
  color: var(--white);
  background: var(--bronze-dark);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.article-preview-banner a {
  text-decoration: underline;
}

/* Editor de artigos */
.admin-nav a[aria-current="page"] {
  color: var(--white);
  border-color: rgba(180, 147, 85, 0.58);
  background: rgba(180, 147, 85, 0.14);
}

.admin-blog-top h1,
.admin-editor-header h1 {
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.86;
}

.admin-blog-top > div > p:last-child,
.admin-editor-header > div > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.admin-primary-action,
.admin-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.blog-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0;
  padding: 1px;
  background: var(--line);
}

.blog-admin-summary article {
  padding: 26px;
  background: #fffaf2;
}

.blog-admin-summary span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.85;
}

.blog-admin-summary p {
  margin-bottom: 0;
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-notice {
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fffaf2;
}

.admin-notice.is-success {
  color: var(--success);
  border-color: rgba(47, 102, 69, 0.34);
  background: rgba(47, 102, 69, 0.07);
}

.admin-notice.is-error {
  color: var(--danger);
  border-color: rgba(139, 47, 47, 0.34);
  background: rgba(139, 47, 47, 0.07);
}

.blog-admin-list {
  display: grid;
  gap: 12px;
}

.blog-admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 24px;
  background: #fffaf2;
  border: 1px solid var(--line);
}

.blog-admin-row-main h3 {
  margin-top: 14px;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 0.98;
}

.blog-admin-row-main > p {
  max-width: 760px;
  color: var(--muted);
}

.blog-admin-row-main small {
  color: var(--muted);
}

.blog-admin-row-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.article-status {
  padding: 6px 9px;
  border: 1px solid var(--line);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-status.is-published {
  color: var(--success);
  background: rgba(47, 102, 69, 0.08);
  border-color: rgba(47, 102, 69, 0.25);
}

.article-status.is-draft {
  color: var(--bronze-dark);
  background: rgba(180, 147, 85, 0.1);
  border-color: rgba(180, 147, 85, 0.28);
}

.blog-admin-row-actions {
  display: grid;
  gap: 8px;
  min-width: 154px;
}

.blog-admin-row-actions a,
.blog-admin-row-actions button {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.blog-admin-row-actions form {
  margin: 0;
}

.blog-admin-row-actions button {
  color: var(--danger);
}

.blog-admin-empty {
  padding: clamp(40px, 7vw, 82px);
  text-align: center;
  background: #fffaf2;
  border: 1px dashed rgba(180, 147, 85, 0.55);
}

.blog-admin-empty h3 {
  font-size: clamp(42px, 6vw, 76px);
}

.blog-admin-empty > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.admin-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 34px;
}

.admin-editor-header .admin-back-link {
  margin-bottom: 28px;
  color: var(--bronze-dark);
}

.article-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  gap: 26px;
  align-items: start;
  margin-top: 24px;
}

.article-editor-main,
.article-editor-card,
.article-writing-tips,
.article-editor-actions {
  padding: clamp(24px, 3.2vw, 38px);
  background: #fffaf2;
  border: 1px solid var(--line);
}

.article-editor-main label,
.article-editor-card label {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
}

.article-editor-main label:not(:first-of-type) {
  margin-top: 30px;
}

.article-editor label span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.article-editor-main input,
.article-editor-main textarea,
.article-editor-card select {
  margin-top: 10px;
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
}

#article-title {
  min-height: 62px;
  font-family: var(--serif);
  font-size: 22px;
}

#article-body {
  min-height: 560px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
}

.article-editor-side {
  position: sticky;
  top: 22px;
  display: grid;
  gap: 14px;
}

.article-writing-tips {
  background: #ebe3d4;
}

.article-writing-tips ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.article-writing-tips li + li {
  margin-top: 10px;
}

.article-editor-actions {
  display: grid;
  gap: 10px;
}

.article-editor-actions p {
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
}

.article-editor-actions button {
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-editor-actions button.is-primary {
  color: var(--white);
  background: var(--ink);
}

@media (max-width: 980px) {
  .blog-tools,
  .blog-article-layout,
  .article-editor {
    grid-template-columns: 1fr;
  }

  .blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-author-card,
  .article-editor-side {
    position: static;
  }

  .article-editor-side {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-editor-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .blog-results-heading,
  .blog-section-heading,
  .admin-editor-header,
  .blog-admin-row {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-results-heading,
  .blog-section-heading,
  .admin-editor-header {
    display: flex;
  }

  .blog-card-grid,
  .blog-admin-summary,
  .article-editor-side,
  .blog-admin-row {
    grid-template-columns: 1fr;
  }

  .blog-search > div {
    grid-template-columns: 1fr;
  }

  .blog-search button {
    min-height: 50px;
  }

  .blog-topics {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .blog-topics a {
    flex: 0 0 auto;
  }

  .blog-article-header {
    padding-inline: 20px;
  }

  .blog-article-layout {
    width: min(100% - 32px, 1180px);
  }

  .blog-article-body > p:first-child::first-letter {
    float: none;
    margin: 0;
    font-size: inherit;
  }

  .blog-admin-row-actions {
    width: 100%;
  }

  #article-body {
    min-height: 440px;
  }
}

/* Refinamento editorial das páginas institucionais */
.home-practice-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.58fr);
  gap: 1px;
  align-items: stretch;
  padding: 1px;
  background: var(--line);
}

.home-practice-heading,
.home-practice-cta {
  min-height: clamp(300px, 28vw, 420px);
  padding: clamp(30px, 5vw, 66px);
}

.home-practice-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fffaf2;
}

.home-practice-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(16, 19, 15, 0.98), rgba(16, 19, 15, 0.92)),
    radial-gradient(circle at 100% 0, rgba(180, 147, 85, 0.24), transparent 42%);
  color: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.home-practice-cta:hover {
  transform: translateY(-2px);
}

.home-practice-cta span,
.home-practice-cta small {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-practice-cta strong {
  max-width: 340px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.92;
}

.home-practice-cta small {
  color: rgba(255, 250, 240, 0.62);
}

.home-practice-heading h2,
.home-areas-heading h2,
.home-legacy h2,
.home-institute-feature h2,
.about-profile h2,
.practice-focus h2,
.institute-purpose h2 {
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.9;
}

.home-practice-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 16px 0 0;
  padding: 1px;
  background: var(--line);
}

.home-practice-points div {
  padding: clamp(24px, 3vw, 38px);
  background: #fffaf2;
}

.home-practice-points dt {
  color: var(--bronze-dark);
  font-family: var(--serif);
  font-size: clamp(30px, 3.3vw, 48px);
}

.home-practice-points dd {
  margin: 10px 0 0;
  color: var(--muted);
}

.home-areas {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  padding-top: 0;
}

.home-areas-heading {
  position: sticky;
  top: 128px;
  max-width: 520px;
  margin-bottom: 0;
}

.home-areas-heading h2 {
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 0.94;
}

.home-area-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.home-area-cards a {
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(86px, 0.18fr) minmax(190px, 0.32fr) minmax(240px, 0.5fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 44px);
  background: #fffaf2;
  transition: color 180ms ease, background 180ms ease;
}

.home-area-cards a:hover {
  color: var(--white);
  background: var(--ink);
}

.home-area-cards span {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.home-area-cards strong {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 0.95;
}

.home-area-cards small {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.home-area-cards a:hover small {
  color: rgba(255, 250, 240, 0.68);
}

.home-legacy {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(340px, 1.28fr);
  gap: clamp(36px, 8vw, 112px);
  border-top: 1px solid var(--line);
}

.home-legacy-copy > p:first-child {
  margin-top: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.12;
}

.home-legacy-copy > p:not(:first-child) {
  color: var(--muted);
  font-size: 18px;
}

.home-family-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px !important;
}

.home-legacy-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 8px;
  padding: 1px;
  background: var(--line);
}

.home-legacy-facts span {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: var(--muted);
  background: #fffaf2;
}

.home-legacy-facts strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  line-height: 0.9;
}

.home-institute-feature {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(245, 241, 232, 0.16) 0%, rgba(229, 238, 255, 0.88) 16%, #f8f9ff 44%, #e7f0ff 100%),
    radial-gradient(circle at 14% 24%, rgba(7, 24, 71, 0.12), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(245, 182, 45, 0.14), transparent 20%),
    #f8f9ff;
  padding: clamp(96px, 11vw, 148px) max(24px, calc((100vw - 1180px) / 2)) clamp(88px, 10vw, 132px);
  border-top: 1px solid rgba(7, 24, 71, 0.08);
  border-bottom: 1px solid rgba(7, 24, 71, 0.08);
}

.home-institute-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(80px, 9vw, 140px);
  pointer-events: none;
  background: linear-gradient(180deg, var(--paper), rgba(245, 241, 232, 0));
}

.home-institute-feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(70px, 8vw, 120px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(231, 240, 255, 0), rgba(245, 241, 232, 0.92));
}

.home-institute-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(360px, 1fr) minmax(260px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.home-institute-feature h2 {
  max-width: 10ch;
  color: #071847;
  font-size: clamp(52px, 6.2vw, 92px);
  line-height: 0.94;
}

.home-institute-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.home-institute-logo-frame {
  width: min(100%, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
  border: 1px solid rgba(7, 24, 71, 0.12);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.home-institute-logo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-institute-brand > p {
  margin: 0;
  color: #755a2c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-institute-copy {
  display: grid;
  gap: 18px;
}

.home-institute-copy > p:last-child {
  max-width: 34ch;
  margin: 0;
  color: rgba(11, 28, 48, 0.78);
  font-size: clamp(18px, 1.85vw, 22px);
  line-height: 1.55;
}

.home-institute-aside {
  display: grid;
  gap: 22px;
  align-content: center;
  justify-items: start;
}

.home-institute-topics {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-institute-topics li {
  position: relative;
  padding-left: 20px;
  color: rgba(11, 28, 48, 0.8);
  font-size: 16px;
  line-height: 1.55;
}

.home-institute-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d4af37;
}

.home-institute-button {
  min-height: 52px;
  padding-inline: 22px;
  background: #071847;
  border-color: #071847;
}

.home-institute-button:hover {
  background: #0c275f;
  border-color: #0c275f;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(44px, 9vw, 126px);
  align-items: center;
}

.about-profile-portrait {
  min-height: 600px;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(180, 147, 85, 0.18), transparent 55%),
    #ded3c0;
  border-bottom: 5px solid var(--bronze);
}

.about-profile-portrait img {
  width: min(100%, 480px);
  max-height: 650px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 26px 48px rgba(16, 19, 15, 0.24));
}

.about-profile-content .partner-biography {
  margin-top: 32px;
}

.about-principles {
  border-top: 1px solid var(--line);
}

.about-principles .section-kicker {
  margin-bottom: 44px;
}

.about-principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.about-principles-grid article {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 38px);
  background: #fffaf2;
}

.about-principles-grid span,
.practice-list article > span,
.institute-pillars article > span {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.about-principles-grid h3 {
  margin-top: auto;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 0.95;
}

.about-principles-grid p {
  color: var(--muted);
}

.page-closing-cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(180, 147, 85, 0.14), transparent 32%),
    var(--ink);
  padding: clamp(88px, 10vw, 132px) max(24px, calc((100vw - 1180px) / 2)) clamp(86px, 9vw, 124px);
  border-top: 1px solid rgba(16, 19, 15, 0.14);
}

.page-closing-cta::before {
  content: none;
}

.page-closing-cta::after {
  content: none;
}

.page-closing-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: var(--white);
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 0.96;
}

.page-closing-cta > .whatsapp-inline {
  position: relative;
  z-index: 1;
  justify-self: start;
  min-height: 62px;
  padding: 10px 20px 10px 12px;
  background: #fffaf0;
  border-color: rgba(37, 211, 102, 0.74);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.page-closing-cta > .whatsapp-inline .whatsapp-mark {
  width: 42px;
  height: 42px;
}

.practice-overview,
.contact-paths {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.practice-overview a,
.contact-paths a {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: #fffaf2;
}

.practice-overview a:hover,
.contact-paths a:hover {
  color: var(--white);
  background: var(--ink);
}

.practice-overview span,
.contact-paths span {
  margin-bottom: auto;
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.practice-overview strong,
.contact-paths strong {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 0.94;
}

.practice-overview small,
.contact-paths small {
  margin-top: 8px;
  color: var(--muted);
}

.practice-overview a:hover small,
.contact-paths a:hover small {
  color: rgba(255, 250, 240, 0.66);
}

.practice-focus {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.58fr);
  gap: 1px;
  align-items: stretch;
  padding: 1px;
  background: var(--line);
}

.practice-focus-heading,
.practice-focus-cta {
  min-height: clamp(300px, 28vw, 420px);
  padding: clamp(30px, 5vw, 66px);
}

.practice-focus-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fffaf2;
}

.practice-focus-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(16, 19, 15, 0.98), rgba(16, 19, 15, 0.92)),
    radial-gradient(circle at 100% 0, rgba(180, 147, 85, 0.24), transparent 42%);
  color: var(--white);
  transition: transform 180ms ease;
}

.practice-focus-cta:hover {
  transform: translateY(-2px);
}

.practice-focus-cta span,
.practice-focus-cta small {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.practice-focus-cta strong {
  max-width: 340px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.92;
}

.practice-focus-cta small {
  color: rgba(255, 250, 240, 0.62);
}

.practice-list article,
.institute-pillars article {
  grid-template-columns: 54px minmax(250px, 0.7fr) minmax(300px, 1.3fr);
  align-items: baseline;
}

.institute-purpose {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.75fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: start;
}

.institute-purpose > div:nth-child(2) {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.4vw, 22px);
}

.institute-purpose blockquote {
  grid-column: 1 / -1;
  margin: 26px 0 0;
  padding: clamp(32px, 6vw, 72px);
  color: var(--white);
  background: var(--ink);
}

.institute-purpose blockquote p {
  max-width: 980px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5.7vw, 78px);
  line-height: 0.98;
}

.institute-purpose cite {
  display: block;
  margin-top: 26px;
  color: var(--bronze);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.institute-journey {
  border-top: 1px solid var(--line);
}

.institute-journey .section-kicker {
  margin-bottom: 42px;
}

.institute-journey ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.institute-journey li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.institute-journey li > span {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.institute-journey h3 {
  font-size: clamp(31px, 3.8vw, 56px);
  line-height: 0.95;
}

.institute-journey p {
  max-width: 720px;
  color: var(--muted);
}

.contact-paths {
  grid-template-columns: repeat(3, 1fr);
}

.contact-paths a {
  min-height: 190px;
  padding-inline: clamp(22px, 4vw, 52px);
}

.whatsapp-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(37, 211, 102, 0.24));
}

.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 58px;
  border: 1px solid rgba(37, 211, 102, 0.62);
  border-radius: 999px;
  background: #f2fff6;
  padding: 10px 18px 10px 12px;
  color: var(--ink);
  line-height: 1.1;
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.14);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.whatsapp-inline:hover {
  transform: translateY(-1px);
  border-color: #25d366;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(37, 211, 102, 0.22);
}

.whatsapp-inline small {
  display: block;
  color: #1e7f43;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.whatsapp-inline strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 22px);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.whatsapp-footer-link,
.whatsapp-card-link {
  border-bottom: 0 !important;
}

.whatsapp-footer-link {
  color: var(--ink);
  background: #f2fff6;
}

.whatsapp-footer-link strong {
  color: var(--ink);
}

.whatsapp-footer-link small {
  color: #1e7f43;
}

.whatsapp-cta-dark {
  color: var(--ink);
  border-color: rgba(37, 211, 102, 0.7);
  background: #f2fff6;
}

.whatsapp-cta-dark strong {
  color: var(--ink);
}

.whatsapp-cta-dark small {
  color: #1e7f43;
}

.contact-card .whatsapp-inline {
  background: #f2fff6;
  border-color: rgba(37, 211, 102, 0.72);
}

.contact-card .whatsapp-inline small {
  color: #1e7f43;
}

.contact-card .whatsapp-inline strong {
  color: var(--ink);
}

.contact-paths .contact-path-whatsapp {
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px) clamp(24px, 4vw, 52px);
  color: var(--ink);
  background:
    linear-gradient(135deg, #f4fff7 0%, #fffaf2 72%),
    radial-gradient(circle at 0 0, rgba(37, 211, 102, 0.18), transparent 40%);
  border: 1px solid rgba(37, 211, 102, 0.42);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.72);
}

.contact-paths .contact-path-whatsapp .whatsapp-mark {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.contact-paths .contact-path-whatsapp span {
  margin-bottom: 0;
  min-width: 0;
}

.contact-paths .contact-path-whatsapp small {
  display: block;
  color: #1e7f43;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-paths .contact-path-whatsapp strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.contact-paths .contact-path-whatsapp:hover {
  color: var(--ink);
  border-color: #25d366;
  background:
    linear-gradient(135deg, #ffffff 0%, #f2fff6 74%),
    radial-gradient(circle at 0 0, rgba(37, 211, 102, 0.22), transparent 40%);
  box-shadow: 0 22px 54px rgba(37, 211, 102, 0.14);
}

.contact-paths .contact-path-whatsapp:hover small {
  color: #1e7f43;
}

.contact-paths .contact-path-whatsapp:hover strong {
  color: var(--ink);
}

.home-deep-areas,
.practice-analysis,
.blog-editorial-intro,
.institute-context,
.about-storyline {
  border-top: 1px solid var(--line);
}

.home-deep-areas .section-kicker,
.practice-analysis .section-kicker,
.about-storyline .section-kicker {
  margin-bottom: clamp(34px, 5vw, 62px);
}

.deep-area-grid,
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}

.deep-area-grid article,
.analysis-grid article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 42px);
  background: #fffaf2;
}

.deep-area-grid span,
.analysis-grid span,
.storyline-list > li > span {
  color: var(--bronze);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.deep-area-grid h3,
.analysis-grid h3 {
  margin-top: auto;
  font-size: clamp(31px, 3.4vw, 52px);
  line-height: 0.95;
}

.deep-area-grid p,
.analysis-grid p {
  color: var(--muted);
}

.home-office-location {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.home-office-location h2 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
}

.home-office-location > div:first-child > p:not(.eyebrow):not(.partner-oab) {
  color: var(--muted);
  font-size: 18px;
}

.office-map-card {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffaf2;
}

.office-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.78) contrast(0.95);
}

.area-analysis-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--bronze);
  background: rgba(180, 147, 85, 0.1);
}

.area-analysis-note strong {
  color: var(--bronze-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.area-analysis-note p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.storyline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.storyline-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 56px);
  padding: clamp(26px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.storyline-list h3 {
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 0.94;
}

.storyline-list p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.institute-context,
.blog-editorial-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.institute-context h2,
.blog-editorial-intro h2 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.92;
}

.blog-editorial-intro {
  padding-bottom: clamp(28px, 5vw, 56px);
}

.blog-index {
  padding-top: clamp(42px, 7vw, 82px);
}

@media (max-width: 980px) {
  .deep-area-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .home-office-location,
  .institute-context,
  .blog-editorial-intro {
    grid-template-columns: 1fr;
  }

  .deep-area-grid article,
  .analysis-grid article {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .whatsapp-inline {
    width: 100%;
    justify-content: flex-start;
  }

  .intro-strip .whatsapp-inline,
  .footer-cta .whatsapp-inline,
  .page-closing-cta .whatsapp-inline {
    width: 100%;
  }

  .storyline-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .office-map-card,
  .office-map-card iframe {
    min-height: 330px;
  }

  .home-office-location h2,
  .institute-context h2,
  .blog-editorial-intro h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .contact-paths .contact-path-whatsapp {
    min-height: 150px;
    gap: 14px;
    padding: 22px;
  }

  .contact-paths .contact-path-whatsapp .whatsapp-mark {
    width: 42px;
    height: 42px;
  }

  .contact-paths .contact-path-whatsapp strong {
    font-size: clamp(20px, 6vw, 25px);
  }
}

.footer-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  padding-bottom: clamp(38px, 5vw, 60px);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
}

.footer-cta h2 {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.94;
}

.footer-disclaimer {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 250, 240, 0.48);
  font-size: 12px;
}

@media (max-width: 980px) {
  .blog-home-inner {
    grid-template-columns: 1fr;
  }

  .blog-home-copy {
    min-height: 320px;
  }

  .home-areas {
    grid-template-columns: 1fr;
  }

  .home-areas-heading {
    position: static;
    max-width: 760px;
  }

  .home-area-cards {
    grid-template-columns: 1fr;
  }

  .home-area-cards a:first-child {
    grid-column: auto;
  }

  .practice-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-overview a:first-child {
    grid-column: 1 / -1;
  }

  .home-institute-feature {
    min-height: auto;
  }

  .home-institute-grid {
    grid-template-columns: minmax(180px, 0.52fr) minmax(0, 1.48fr);
    gap: 28px 34px;
  }

  .home-institute-aside {
    grid-column: 1 / -1;
    padding-top: 6px;
  }

  .home-institute-logo-frame {
    width: min(100%, 220px);
  }

  .about-profile {
    grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  }

  .practice-list article,
  .institute-pillars article {
    grid-template-columns: 44px 1fr;
  }

  .practice-list article > p,
  .institute-pillars article > p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .home-practice-intro,
  .home-legacy,
  .about-profile,
  .practice-focus,
  .institute-purpose {
    grid-template-columns: 1fr;
  }

  .home-practice-heading,
  .home-practice-cta,
  .practice-focus-heading,
  .practice-focus-cta {
    min-height: 220px;
  }

  .contact-panel-copy {
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-panel-copy h2 {
    font-size: clamp(42px, 14vw, 66px);
  }

  .contact-panel-direct-cta {
    min-height: 64px;
    padding: 10px 18px 10px 12px;
  }

  .contact-panel-direct-cta .whatsapp-mark {
    width: 36px;
    height: 36px;
  }

  .contact-panel-direct-cta strong {
    font-size: clamp(18px, 7vw, 24px);
  }

  .home-practice-points,
  .home-area-cards,
  .home-legacy-facts,
  .about-principles-grid,
  .practice-overview,
  .contact-paths {
    grid-template-columns: 1fr;
  }

  .home-area-cards a {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-area-cards strong {
    font-size: clamp(34px, 12vw, 52px);
  }

  .blog-empty-public {
    grid-template-columns: 1fr;
  }

  .blog-home-copy h2 {
    font-size: clamp(54px, 18vw, 96px);
  }

  .blog-empty-public {
    min-height: 260px;
  }

  .home-institute-feature {
    padding: 88px 24px 76px;
  }

  .home-institute-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-institute-brand,
  .home-institute-copy,
  .home-institute-aside {
    justify-items: start;
  }

  .home-institute-logo-frame {
    width: min(100%, 176px);
    padding: 14px;
  }

  .about-profile-portrait {
    min-height: 470px;
  }

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

  .footer-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .page-closing-cta {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 28px;
  }

  .page-closing-cta > .whatsapp-inline {
    justify-self: stretch;
  }

  .practice-overview a:first-child,
  .practice-focus-note {
    grid-column: auto;
  }

  .practice-list article,
  .institute-pillars article {
    grid-template-columns: 36px 1fr;
  }

  .institute-journey li {
    grid-template-columns: 48px 1fr;
  }
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: local("Inter");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: local("Playfair Display");
}

/* Landing BPC/LOAS */
.scroll-progress {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #25d366;
  transform: scaleX(0);
  transform-origin: left;
}

.accessibility-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 20px;
}

.accessibility-tools button {
  min-height: 40px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  padding: 8px 11px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.accessibility-tools button[aria-pressed="true"] {
  background: #d4af37;
  border-color: #d4af37;
  color: #002344;
}

body.font-large {
  font-size: 18px;
}

body.high-contrast {
  --paper: #ffffff;
  --paper-warm: #ffffff;
  --ink: #000000;
  --ink-soft: #0c0c0c;
  --muted: #1d1d1d;
  --line: rgba(0, 0, 0, 0.32);
  --bronze: #8a6a00;
  --bronze-dark: #5b4600;
  --white: #ffffff;
}

body.high-contrast .site-header,
body.high-contrast .site-header.is-solid {
  background: #ffffff;
  color: #000000;
  border-bottom-color: #000000;
}

body.high-contrast .bpc-hero,
body.high-contrast .bpc-security,
body.high-contrast .site-footer {
  background: #000000;
  color: #ffffff;
}

.page-landing-bpc {
  --ink: #002344;
  --ink-soft: #1b344c;
  --paper: #f7f8f6;
  --paper-warm: #edf1f2;
  --muted: #536577;
  --line: rgba(0, 35, 68, 0.12);
  --bronze: #c9ad64;
  --bronze-dark: #78602b;
  --white: #ffffff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

.page-landing-bpc h1,
.page-landing-bpc h2,
.page-landing-bpc h3 {
  letter-spacing: 0;
}

.page-landing-bpc .site-header.is-solid {
  color: var(--ink);
  background: rgba(248, 249, 250, 0.96);
  border-bottom-color: var(--line);
}

.page-landing-bpc .site-nav a {
  letter-spacing: 0.08em;
}

.bpc-hero {
  position: relative;
  min-height: clamp(720px, 82svh, 820px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 118px clamp(20px, 5vw, 72px) 0;
  color: #ffffff;
  background: #002344;
}

.bpc-hero-bg {
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.bpc-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: end;
  margin: 0 auto;
}

.bpc-hero-copy {
  max-width: 720px;
  padding-bottom: clamp(44px, 7vw, 96px);
}

.bpc-hero h1 {
  max-width: 720px;
  color: #ffffff;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.02;
}

.bpc-hero-subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.55;
}

.bpc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.bpc-hero-note {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.bpc-button {
  min-height: 54px;
  border-radius: 8px;
  padding: 14px 18px;
  gap: 10px;
  border-color: transparent;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  white-space: normal;
}

.bpc-button-whatsapp {
  background: #2bc36a;
  color: #002344;
  box-shadow: 0 14px 34px rgba(43, 195, 106, 0.2);
  animation: bpcPulse 2.8s ease-in-out infinite;
}

.bpc-button-whatsapp:hover {
  background: #38cf78;
  border-color: transparent;
}

.bpc-button-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
}

.bpc-button-outline:hover {
  color: var(--ink);
  background: #ffffff;
}

.bpc-button-icon,
.bpc-card-icon,
.bpc-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.bpc-button-icon svg,
.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-hero-photo {
  position: relative;
  margin: 0;
  align-self: end;
}

.bpc-hero-photo::before {
  content: none;
}

.bpc-hero-photo picture {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.bpc-hero-photo picture::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: -20%;
  bottom: -1px;
  left: -20%;
  height: 74px;
  background: linear-gradient(0deg, #002344 0%, rgba(0, 35, 68, 0.92) 34%, rgba(0, 35, 68, 0) 100%);
  pointer-events: none;
}

.bpc-hero-photo img {
  width: min(100%, 440px);
  max-height: 650px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.24));
}

.bpc-hero-photo-mobile {
  display: none;
}

.bpc-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}

.bpc-proof-strip div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px clamp(20px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.bpc-proof-strip div:last-child {
  border-right: 0;
}

.bpc-proof-strip strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.bpc-proof-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.bpc-section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.bpc-section-heading h2,
.bpc-arrears h2,
.bpc-checklist h2,
.bpc-security h2,
.bpc-final-cta h2 {
  color: var(--ink);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.04;
}

.bpc-section-heading > p:not(.eyebrow),
.bpc-checklist-card > div > p,
.bpc-security p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.bpc-problem-grid,
.bpc-education-grid,
.bpc-condition-grid {
  display: grid;
  gap: 14px;
}

.bpc-problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.bpc-problem-grid article,
.bpc-education-grid article,
.bpc-condition-grid article,
.bpc-timeline-list article {
  min-width: 0;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 16px 44px rgba(0, 35, 68, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bpc-problem-grid article:hover,
.bpc-education-grid article:hover,
.bpc-condition-grid article:hover,
.bpc-timeline-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 22px 60px rgba(0, 35, 68, 0.1);
}

.bpc-problem-grid span {
  display: block;
  margin-bottom: 30px;
  color: var(--bronze-dark);
  font-weight: 900;
}

.bpc-problem-grid h3,
.bpc-education-grid h3,
.bpc-condition-grid h3,
.bpc-timeline-list h3 {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.12;
}

.bpc-problem-grid p,
.bpc-education-grid p,
.bpc-condition-grid p,
.bpc-timeline-list p,
.bpc-faq p {
  color: var(--muted);
}

.bpc-arrears,
.bpc-security {
  width: 100%;
  padding: 72px clamp(20px, 5vw, 72px);
}

.bpc-arrears {
  background: #fbfcfd;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bpc-arrears-card {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.bpc-arrears-card p:not(.eyebrow) {
  max-width: 840px;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.6;
}

.bpc-arrears-card .bpc-button {
  margin-top: 16px;
}

.bpc-timeline-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bpc-line-icon,
.bpc-card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--bronze-dark);
  background: rgba(201, 173, 100, 0.14);
}

.bpc-line-icon svg,
.bpc-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bpc-checklist {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bpc-checklist-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: start;
}

.bpc-mini-form {
  border-radius: 8px;
  background: #fbfcfd;
}

.bpc-mini-form .bpc-button {
  width: 100%;
}

.bpc-education-grid {
  grid-template-columns: repeat(3, 1fr);
}

.bpc-condition-grid {
  grid-template-columns: repeat(4, 1fr);
}

.bpc-condition-grid article {
  min-height: 210px;
}

.bpc-security {
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(0, 35, 68, 1), rgba(0, 35, 68, 0.9)),
    #002344;
}

.bpc-security-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.bpc-security h2 {
  color: #ffffff;
}

.bpc-security p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
}

.bpc-faq-list {
  display: grid;
  gap: 10px;
}

.bpc-faq details {
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.bpc-faq summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  list-style: none;
}

.bpc-faq summary::-webkit-details-marker {
  display: none;
}

.bpc-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--bronze-dark);
  font-size: 26px;
  line-height: 1;
}

.bpc-faq details[open] summary::after {
  content: "-";
}

.bpc-faq details[open] p {
  margin: 0;
  padding: 18px 22px 22px;
  background: #eef2f5;
  border-top: 1px solid var(--line);
}

.bpc-final-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.bpc-final-cta > div {
  max-width: 820px;
}

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #002344;
  background: #2bc36a;
  box-shadow: 0 18px 46px rgba(0, 35, 68, 0.28);
}

.floating-whatsapp svg {
  width: 31px;
  height: 31px;
}

.mobile-sticky-cta {
  position: fixed;
  z-index: 89;
  left: 12px;
  right: 88px;
  bottom: 14px;
  min-height: 54px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #2bc36a;
  color: #002344;
  padding: 12px 14px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 16px 42px rgba(0, 35, 68, 0.24);
  transform: translateY(120%);
  transition: transform 180ms ease;
}

.mobile-sticky-cta.is-visible {
  transform: translateY(0);
}

.page-landing-bpc .consent-banner {
  max-width: 980px;
  color: var(--ink);
  background: rgba(251, 252, 253, 0.98);
  border-color: rgba(0, 35, 68, 0.14);
  box-shadow: 0 22px 70px rgba(0, 25, 48, 0.22);
}

.page-landing-bpc .consent-banner h2 {
  color: var(--ink);
}

.page-landing-bpc .consent-banner p {
  color: var(--muted);
}

.page-landing-bpc .consent-banner a {
  color: var(--ink);
}

.page-landing-bpc .consent-actions .button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: rgba(0, 35, 68, 0.24);
}

.page-landing-bpc .consent-actions .button-primary {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

@keyframes bpcPulse {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(43, 195, 106, 0.18);
  }
  50% {
    box-shadow: 0 14px 40px rgba(43, 195, 106, 0.34);
  }
}

@media (max-width: 980px) {
  .accessibility-tools {
    margin-left: 0;
    margin-right: 8px;
  }

  .bpc-hero {
    min-height: auto;
    align-items: start;
    padding: 104px 18px 38px;
  }

  .bpc-hero-grid,
  .bpc-checklist-card,
  .bpc-final-cta {
    grid-template-columns: 1fr;
  }

  .bpc-hero-grid {
    gap: 24px;
  }

  .bpc-hero-copy {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .bpc-hero .eyebrow {
    order: 0;
  }

  .bpc-hero h1 {
    order: 1;
  }

  .bpc-hero-photo-desktop {
    display: none;
  }

  .bpc-hero-photo-mobile {
    order: 2;
    display: block;
    width: min(250px, 76vw);
    margin: 12px auto -42px;
    z-index: 2;
  }

  .bpc-hero-photo picture::after {
    height: 48px;
  }

  .bpc-hero-photo img {
    max-height: 240px;
  }

  .bpc-hero h1 {
    font-size: 28px;
    line-height: 1.16;
  }

  .bpc-hero-actions {
    order: 3;
    position: relative;
    z-index: 3;
    margin-top: 0;
  }

  .bpc-hero-subtitle {
    order: 4;
    margin-top: 18px;
  }

  .bpc-hero-note {
    order: 5;
  }

  .bpc-hero-subtitle,
  .bpc-section-heading > p:not(.eyebrow),
  .bpc-checklist-card > div > p,
  .bpc-security p {
    font-size: 17px;
  }

  .bpc-proof-strip,
  .bpc-problem-grid,
  .bpc-timeline-list,
  .bpc-education-grid,
  .bpc-condition-grid {
    grid-template-columns: 1fr;
  }

  .bpc-proof-strip div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .bpc-proof-strip div:last-child {
    border-bottom: 0;
  }

  .bpc-section-heading h2,
  .bpc-arrears h2,
  .bpc-checklist h2,
  .bpc-security h2,
  .bpc-final-cta h2 {
    font-size: 28px;
    line-height: 1.14;
  }

  .bpc-arrears,
  .bpc-security {
    padding: 52px 18px;
  }

  .bpc-arrears-card p:not(.eyebrow) {
    font-size: 18px;
  }

  .bpc-final-cta {
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .page-landing-bpc .brand img {
    height: 30px;
  }

  .page-landing-bpc .site-header {
    min-height: 72px;
    gap: 8px;
    padding: 12px;
  }

  .accessibility-tools button {
    min-height: 36px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .page-landing-bpc .menu-toggle {
    padding: 9px 10px;
    font-size: 11px;
  }

  .bpc-hero-actions,
  .bpc-button {
    width: 100%;
  }

  .bpc-hero-actions {
    flex-direction: column;
  }

  .bpc-problem-grid article,
  .bpc-education-grid article,
  .bpc-condition-grid article,
  .bpc-timeline-list article {
    padding: 22px;
  }

  .bpc-mini-form {
    padding: 22px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  .mobile-sticky-cta {
    display: inline-flex;
  }

  .consent-banner {
    bottom: 82px;
  }

  .page-landing-bpc .consent-banner {
    inset: auto 12px 0 auto;
    width: min(344px, calc(100vw - 24px));
    max-height: 34svh;
    overflow: auto;
    gap: 12px;
    padding: 14px;
  }

  .page-landing-bpc .consent-banner h2 {
    font-size: 22px;
  }

  .page-landing-bpc .consent-banner p {
    font-size: 13px;
    line-height: 1.45;
  }

  .page-landing-bpc .consent-actions {
    gap: 8px;
  }

  .page-landing-bpc .consent-actions .button {
    min-height: 42px;
    padding: 10px 12px;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .accessibility-tools {
    gap: 5px;
  }

  .accessibility-tools button {
    padding-inline: 7px;
  }

  .page-landing-bpc .menu-toggle {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bpc-button-whatsapp {
    animation: none;
  }

  .reveal-ready [data-reveal],
  .reveal-ready [data-reveal].is-visible,
  .mobile-sticky-cta {
    transform: none;
    transition: none;
  }
}

/* Page-specific readability pass for Atuação. */
.page-atuacao .practice-overview {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  background: transparent;
}

.page-atuacao .practice-overview a {
  min-height: 158px;
  border: 1px solid var(--line);
  padding: 22px;
  background: #fffaf2;
}

.page-atuacao .practice-overview strong {
  font-size: clamp(27px, 2.5vw, 40px);
}

.page-atuacao .area-anchor-strip {
  width: min(1240px, calc(100vw - 40px));
  margin: 18px auto 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.page-atuacao .area-anchor-strip a {
  border: 1px solid var(--line);
  border-bottom: 0;
}

.page-atuacao .practice-focus {
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 16px;
  padding: clamp(58px, 8vw, 96px) 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}

.page-atuacao .practice-focus-heading,
.page-atuacao .practice-focus-cta {
  min-height: auto;
  padding: clamp(28px, 4vw, 48px);
}

.page-atuacao .practice-focus-heading {
  border: 1px solid var(--line);
}

.page-atuacao .practice-focus h2 {
  max-width: 720px;
}

.page-atuacao .practice-focus-cta {
  justify-content: end;
  gap: 34px;
}

.page-atuacao .practice-focus-cta strong {
  max-width: 360px;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.94;
}

.page-atuacao .practice-focus-cta strong span {
  display: block;
}

.page-atuacao .section-kicker {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: end;
}

.page-atuacao .section-kicker h2 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.96;
}

.page-atuacao .section-kicker > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.page-atuacao .practice-analysis {
  padding-top: clamp(66px, 9vw, 118px);
}

.page-atuacao .analysis-grid {
  gap: 14px;
  padding: 0;
  background: transparent;
}

.page-atuacao .analysis-grid article {
  min-height: auto;
  gap: 22px;
  border: 1px solid var(--line);
  padding: clamp(26px, 3.5vw, 42px);
}

.page-atuacao .analysis-grid h3 {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.page-atuacao .analysis-grid p,
.page-atuacao .practice-list p,
.page-atuacao .area-detail-list p,
.page-atuacao .process-steps p,
.page-atuacao .document-list,
.page-atuacao .faq-section p {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
}

.page-atuacao .practice-list {
  border-top: 0;
}

.page-atuacao .practice-list article {
  grid-template-columns: 52px minmax(260px, 0.42fr) minmax(320px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(34px, 5vw, 62px) 0;
  align-items: start;
}

.page-atuacao .practice-list h3 {
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1;
}

.page-atuacao .area-detail-list article {
  grid-template-columns: minmax(280px, 0.44fr) minmax(360px, 0.56fr);
  gap: clamp(34px, 8vw, 104px);
  padding: clamp(68px, 9vw, 120px) 0;
  align-items: start;
}

.page-atuacao .area-detail-list h2 {
  max-width: 640px;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.98;
}

.page-atuacao .rich-text {
  display: grid;
  gap: 24px;
}

.page-atuacao .rich-text p:first-child {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.62;
}

.page-atuacao .inline-topics {
  margin: 0;
  gap: 8px;
}

.page-atuacao .area-analysis-note {
  padding: 18px 20px;
  border-left: 3px solid var(--bronze);
  background: rgba(180, 147, 85, 0.09);
}

.page-atuacao .area-analysis-note p {
  margin: 6px 0 0;
}

.page-atuacao .process-section {
  padding-top: clamp(66px, 9vw, 112px);
}

.page-atuacao .process-section > .section-kicker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 0 clamp(30px, 5vw, 56px);
  padding-bottom: 0;
}

.page-atuacao .process-section > .section-kicker h2 {
  max-width: 720px;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1;
}

.page-atuacao .process-steps {
  margin-top: 0;
}

.page-atuacao .process-steps article {
  grid-template-columns: 52px minmax(240px, 0.38fr) minmax(320px, 0.62fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(30px, 4.4vw, 54px) 0;
}

.page-atuacao .document-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 0.58fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.page-atuacao .document-section > div {
  margin-bottom: 0;
}

.page-atuacao .document-list {
  margin: 0;
}

.page-atuacao .faq-section {
  display: grid;
  gap: 0;
  border-top: 0;
}

.page-atuacao .faq-section .section-kicker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  justify-items: start;
  margin-bottom: 0;
  padding: clamp(36px, 5vw, 64px);
  background: var(--ink);
}

.page-atuacao .faq-section .section-kicker h2 {
  max-width: 620px;
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 0.96;
  text-align: left;
}

.page-atuacao .faq-section details {
  padding: 28px clamp(24px, 4vw, 48px);
}

.page-atuacao .contact-panel {
  margin-top: clamp(26px, 5vw, 56px);
}

@media (max-width: 980px) {
  .page-atuacao .practice-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-atuacao .practice-focus,
  .page-atuacao .section-kicker,
  .page-atuacao .area-detail-list article,
  .page-atuacao .document-section {
    grid-template-columns: 1fr;
  }

  .page-atuacao .analysis-grid {
    grid-template-columns: 1fr;
  }

  .page-atuacao .practice-list article,
  .page-atuacao .process-steps article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .page-atuacao .practice-list p,
  .page-atuacao .process-steps p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .page-atuacao .practice-overview {
    width: min(100% - 32px, 1240px);
    grid-template-columns: 1fr;
  }

  .page-atuacao .area-anchor-strip {
    width: min(100% - 32px, 1240px);
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-atuacao .practice-overview a {
    min-height: 128px;
  }

  .page-atuacao .practice-list article,
  .page-atuacao .process-steps article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-atuacao .practice-list p,
  .page-atuacao .process-steps p {
    grid-column: auto;
  }

  .page-atuacao .area-detail-list h2,
  .page-atuacao .section-kicker h2 {
    font-size: clamp(36px, 12vw, 56px);
  }
}

/* Visual system stabilization */
h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.site-header {
  min-height: 88px;
  padding: 14px max(28px, calc((100vw - 1440px) / 2));
  background: rgba(245, 241, 232, 0.96);
  border-bottom-color: rgba(16, 19, 15, 0.12);
  backdrop-filter: blur(14px);
}

.site-header .brand img {
  width: 132px;
  height: auto;
}

.site-nav {
  gap: 34px;
}

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.16em;
}

.site-header .site-nav a {
  color: var(--ink);
}

.site-header .menu-toggle {
  background: transparent;
  border-color: rgba(16, 19, 15, 0.62);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.page-hero {
  min-height: 560px;
  padding: 150px max(28px, calc((100vw - 1320px) / 2)) 78px;
  align-content: end;
}

.page-hero h1 {
  max-width: 980px;
  font-size: 82px;
  line-height: 0.96;
}

.page-hero > p:last-child {
  max-width: 700px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.55;
}

.hero {
  min-height: min(920px, 100svh);
  padding: 150px max(36px, calc((100vw - 1440px) / 2)) 102px;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 7, 6, 0.96) 0%, rgba(4, 7, 6, 0.88) 39%, rgba(4, 7, 6, 0.44) 67%, rgba(4, 7, 6, 0.2) 100%),
    linear-gradient(0deg, rgba(4, 7, 6, 0.7) 0%, transparent 35%);
}

.hero-portrait-wrap {
  display: contents;
}

.hero-portrait {
  z-index: 2;
  right: max(24px, calc((100vw - 1480px) / 2));
  width: min(38vw, 520px);
  max-height: 88svh;
  opacity: 1;
}

.hero-content {
  z-index: 3;
  max-width: 760px;
}

.hero h1 {
  max-width: 720px;
  font-size: 126px;
  line-height: 0.84;
}

.hero-copy {
  max-width: 610px;
  margin-top: 30px;
  font-size: 30px;
  line-height: 1.2;
}

.hero-actions {
  margin-top: 34px;
}

.hero-meta {
  z-index: 3;
  gap: 22px;
}

.hero-meta span {
  font-size: 11px;
  line-height: 1.35;
}

.intro-strip {
  position: static;
  min-height: 78px;
  padding: 14px max(28px, calc((100vw - 1440px) / 2));
  background: var(--ink);
  color: var(--white);
  border: 0;
}

.intro-strip a {
  color: inherit;
}

.intro-strip-links {
  gap: clamp(30px, 4.8vw, 64px);
}

.intro-strip .whatsapp-inline {
  min-height: 48px;
  background: #eefaf1;
  border-color: rgba(37, 211, 102, 0.5);
  color: #0b3420;
}

.home-areas-heading,
.home-legacy,
.home-office-location,
.blog-home-inner,
.home-contact-inner {
  width: var(--container);
}

.home-areas-heading h2,
.home-legacy h2,
.home-office-location h2,
.blog-home-copy h2,
.home-contact-copy h2 {
  font-size: 64px;
  line-height: 0.98;
}

.home-area-cards a {
  min-height: 210px;
  padding: 30px;
}

.home-area-cards strong {
  font-size: 34px;
  line-height: 1;
}

.home-area-cards small {
  max-width: 28ch;
  line-height: 1.45;
}

.home-legacy,
.home-office-location,
.blog-home-inner,
.home-contact-inner {
  gap: 56px;
}

.home-institute-feature {
  min-height: 560px;
}

.home-institute-feature h2 {
  font-size: 76px;
  line-height: 0.94;
}

.blog-empty-public {
  min-height: 260px;
}

.page-blog .blog-hero h1 {
  max-width: 900px;
  font-size: 78px;
}

.page-blog .blog-editorial-intro {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 72px;
}

.page-blog .blog-editorial-intro h2 {
  max-width: 760px;
  font-size: 56px;
  line-height: 1;
}

.page-blog .blog-editorial-intro .rich-text {
  max-width: 600px;
  align-self: end;
}

.page-blog .blog-index {
  padding-top: 68px;
}

.page-blog .blog-results-heading h2 {
  font-size: 52px;
  line-height: 1;
}

.blog-empty-state {
  display: grid;
  justify-items: start;
  max-width: 900px;
  min-height: 0;
  margin: 48px 0 0;
  padding: 42px 46px;
  background: #fffaf2;
  border: 1px solid rgba(16, 19, 15, 0.16);
  border-left: 4px solid var(--bronze);
}

.blog-empty-state h2 {
  max-width: 720px;
  margin: 12px 0 14px;
  font-size: 44px;
  line-height: 1.04;
}

.blog-empty-state > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.blog-empty-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.page-atuacao .practice-overview {
  width: var(--container);
  margin: -1px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-atuacao .practice-overview a {
  min-width: 0;
  min-height: 154px;
  padding: 24px;
}

.page-atuacao .practice-overview strong {
  font-size: 28px;
  line-height: 1;
}

.page-atuacao .practice-focus {
  width: var(--container);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0;
  margin: 84px auto 0;
  padding: 0;
  background: #fffaf2;
  border: 1px solid rgba(16, 19, 15, 0.16);
}

.page-atuacao .practice-focus-heading {
  min-height: 0;
  padding: 46px 48px;
  background: transparent;
  border: 0;
}

.page-atuacao .practice-focus-heading h2 {
  max-width: none;
  margin-top: 12px;
  font-size: 58px;
  line-height: 1;
}

.page-atuacao .practice-focus-cta {
  align-self: center;
  min-width: 310px;
  min-height: 0;
  margin: 28px;
  padding: 22px 26px;
  gap: 5px;
  background: var(--ink);
  border: 0;
  border-radius: 4px;
  color: var(--white);
}

.page-atuacao .practice-focus-cta > span {
  color: var(--bronze);
}

.page-atuacao .practice-focus-cta strong {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
}

.page-atuacao .practice-focus-cta strong span {
  display: inline;
}

.page-atuacao .practice-focus-cta strong span + span::before {
  content: " ";
}

.page-atuacao .practice-focus-cta small {
  color: rgba(255, 250, 240, 0.72);
}

.page-atuacao .practice-analysis {
  padding-top: 76px;
}

.page-atuacao .section-kicker {
  gap: 64px;
  padding-bottom: 52px;
}

.page-atuacao .section-kicker h2,
.page-atuacao .area-detail-list h2 {
  font-size: 56px;
  line-height: 1;
}

.page-atuacao .analysis-grid article,
.page-atuacao .practice-list article,
.page-atuacao .process-steps article {
  padding-top: 28px;
  padding-bottom: 28px;
}

.page-atuacao .area-detail-list article {
  gap: 68px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.page-atuacao .faq-section .section-kicker h2 {
  font-size: 58px;
  line-height: 1;
}

.page-contato .contact-paths a {
  min-height: 148px;
  padding: 26px;
}

.page-contato .contact-paths strong {
  font-size: 30px;
  line-height: 1;
}

.site-footer {
  padding-top: 0;
}

.footer-cta {
  gap: 56px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.footer-cta h2 {
  max-width: 820px;
  font-size: 52px;
  line-height: 1;
}

.site-footer .footer-cta .button-primary {
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  color: var(--ink);
}

.site-footer .footer-cta .button-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--ink);
}

.site-footer .whatsapp-footer-link {
  background: #eefaf1;
  border: 1px solid rgba(37, 211, 102, 0.52);
  border-bottom: 1px solid rgba(37, 211, 102, 0.52);
  color: #0b3420;
}

.site-footer .whatsapp-footer-link small,
.site-footer .whatsapp-footer-link strong {
  color: #0b3420;
}

.admin-login-page {
  min-height: 100svh;
  padding: 24px;
  align-items: center;
}

.admin-login-card {
  width: min(100%, 440px);
  padding: 34px;
}

.admin-login-brand {
  margin-bottom: 18px;
}

.admin-login-brand img {
  width: 112px;
}

.admin-login-card h1 {
  margin: 8px 0;
  font-size: 54px;
  line-height: 1;
}

.admin-login-card > p:not(.eyebrow) {
  margin: 0;
  line-height: 1.45;
}

.admin-login-card form {
  gap: 14px;
  margin-top: 22px;
}

.admin-login-card input,
.admin-login-card button {
  min-height: 50px;
}

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 102px;
  }

  .hero-copy {
    max-width: 520px;
    font-size: 25px;
  }

  .page-hero h1,
  .page-blog .blog-hero h1 {
    font-size: 72px;
  }

  .home-area-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-atuacao .practice-overview strong {
    font-size: 23px;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
    padding: 10px 20px;
  }

  .site-header .brand img {
    width: 112px;
  }

  .site-nav {
    z-index: 80;
    inset: 76px 0 0;
    height: calc(100dvh - 76px);
    padding: 34px 24px 48px;
    background: var(--paper);
    box-shadow: -18px 0 36px rgba(16, 19, 15, 0.18);
    backdrop-filter: none;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.menu-open .site-header {
    background: var(--paper);
    color: var(--ink);
  }

  body.menu-open .site-nav {
    background: var(--paper);
  }

  .site-nav a {
    width: 100%;
    padding: 17px 0;
    color: var(--ink);
    border-bottom: 1px solid rgba(16, 19, 15, 0.14);
  }

  .page-atuacao .practice-overview {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .page-atuacao .practice-overview a {
    flex: 0 0 260px;
    scroll-snap-align: start;
  }

  .page-atuacao .practice-focus {
    grid-template-columns: 1fr;
  }

  .page-atuacao .practice-focus-cta {
    width: calc(100% - 56px);
    min-width: 0;
    margin-top: 0;
  }

  .page-blog .blog-editorial-intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .page-hero {
    min-height: 0;
    padding: 116px 20px 56px;
  }

  .page-hero h1,
  .page-blog .blog-hero h1 {
    max-width: 100%;
    font-size: 50px;
    line-height: 0.98;
  }

  .page-hero > p:last-child {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.5;
  }

  .hero {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "portrait"
      "meta";
    align-items: start;
    padding: 112px 20px 28px;
  }

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

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 7, 6, 0.9) 0%, rgba(4, 7, 6, 0.76) 50%, rgba(4, 7, 6, 0.88) 100%),
      linear-gradient(90deg, rgba(4, 7, 6, 0.78), rgba(4, 7, 6, 0.3));
  }

  .hero-content {
    grid-area: content;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 62px;
    line-height: 0.88;
  }

  .hero-copy {
    max-width: 34ch;
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.35;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-portrait-wrap {
    position: relative;
    z-index: 2;
    grid-area: portrait;
    display: block;
    height: 390px;
    margin: 12px -20px 0;
    overflow: hidden;
  }

  .hero-portrait {
    position: absolute;
    right: auto;
    bottom: -70px;
    left: 50%;
    width: 300px;
    height: auto;
    max-height: none;
    opacity: 1;
    transform: translateX(-50%);
  }

  .hero-meta {
    position: relative;
    grid-area: meta;
    display: grid;
    gap: 0;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 250, 240, 0.24);
  }

  .hero-meta span {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  }

  .intro-strip {
    display: block;
    min-height: 68px;
    padding: 0 20px;
  }

  .intro-strip-links {
    display: flex;
    gap: 22px;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 0;
    overflow-x: auto;
    white-space: nowrap;
  }

  .intro-strip > p {
    margin: 0;
  }

  .intro-strip .whatsapp-inline {
    width: 100%;
    justify-content: center;
  }

  .home-areas-heading h2,
  .home-legacy h2,
  .home-office-location h2,
  .blog-home-copy h2,
  .home-contact-copy h2,
  .home-institute-feature h2 {
    font-size: 44px;
    line-height: 1;
  }

  .home-area-cards {
    display: flex;
    gap: 10px;
    padding: 0 20px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .home-area-cards a {
    flex: 0 0 82vw;
    min-height: 190px;
    scroll-snap-align: start;
  }

  .home-legacy,
  .home-office-location,
  .blog-home-inner,
  .home-contact-inner {
    gap: 34px;
  }

  .home-institute-feature {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 70px;
  }

  .home-institute-copy {
    gap: 14px;
  }

  .home-institute-copy > p:last-child,
  .home-institute-topics li {
    font-size: 16px;
  }

  .home-institute-button {
    width: 100%;
    justify-content: center;
  }

  .page-blog .blog-editorial-intro h2,
  .page-blog .blog-results-heading h2 {
    font-size: 40px;
    line-height: 1.04;
  }

  .blog-empty-state {
    margin-top: 30px;
    padding: 28px 24px;
  }

  .blog-empty-state h2 {
    font-size: 34px;
  }

  .blog-empty-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .page-atuacao .practice-overview {
    width: calc(100% - 32px);
  }

  .page-atuacao .practice-overview a {
    flex-basis: 82vw;
    min-height: 132px;
  }

  .page-atuacao .practice-focus {
    width: calc(100% - 32px);
    margin-top: 56px;
  }

  .page-atuacao .practice-focus-heading {
    padding: 30px 26px;
  }

  .page-atuacao .practice-focus-heading h2,
  .page-atuacao .section-kicker h2,
  .page-atuacao .area-detail-list h2,
  .page-atuacao .faq-section .section-kicker h2 {
    font-size: 40px;
    line-height: 1.04;
  }

  .page-atuacao .practice-focus-cta {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
  }

  .page-atuacao .section-kicker,
  .page-atuacao .area-detail-list article {
    gap: 30px;
  }

  .page-atuacao .area-detail-list article {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .page-contato .contact-paths a {
    min-height: 120px;
  }

  .footer-cta {
    align-items: flex-start;
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .footer-cta h2 {
    font-size: 38px;
    line-height: 1.04;
  }

  .site-footer .footer-cta .button-primary {
    width: 100%;
  }

  .admin-login-card {
    padding: 28px 22px;
  }

  .admin-login-card h1 {
    font-size: 46px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 54px;
  }

  .page-hero h1,
  .page-blog .blog-hero h1 {
    font-size: 44px;
  }

  .hero-portrait-wrap {
    height: 360px;
  }

  .hero-portrait {
    bottom: -60px;
    width: 278px;
  }
}

/* Contact CTA alignment and contrast */
.intro-strip .whatsapp-inline {
  color: #0b3420;
}

.intro-strip .whatsapp-inline small,
.page-closing-cta .whatsapp-cta-dark small {
  color: #1e7f43;
}

.intro-strip .whatsapp-inline strong,
.page-closing-cta .whatsapp-cta-dark strong {
  color: #10130f;
}

.page-closing-cta {
  gap: 30px;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.page-closing-cta > .whatsapp-cta-dark {
  color: #10130f;
  background: #f2fff6;
  border-color: rgba(37, 211, 102, 0.72);
}

.site-footer {
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 820px);
  align-items: start;
  justify-content: start;
  gap: 28px;
}

.site-footer .footer-cta .button-primary {
  justify-self: start;
}

@media (max-width: 640px) {
  .intro-strip .whatsapp-inline,
  .page-closing-cta > .whatsapp-cta-dark {
    min-height: 58px;
    padding: 9px 14px 9px 10px;
  }

  .intro-strip .whatsapp-inline .whatsapp-mark,
  .page-closing-cta > .whatsapp-cta-dark .whatsapp-mark {
    width: 38px;
    height: 38px;
  }

  .intro-strip .whatsapp-inline strong,
  .page-closing-cta .whatsapp-cta-dark strong {
    font-size: 20px;
  }

  .site-footer .footer-cta .button-primary {
    justify-self: stretch;
  }
}

/* Practice contact closing */
.page-atuacao .practice-contact-intro {
  display: grid;
  justify-items: start;
  max-width: 920px;
  gap: 0;
}

.page-atuacao .practice-contact-title {
  max-width: 920px;
  margin: 0;
  font-size: 68px;
  line-height: 1;
}

.page-atuacao .practice-contact-title span {
  display: block;
}

@media (max-width: 720px) {
  .page-atuacao .practice-contact-intro {
    max-width: 100%;
  }

  .page-atuacao .practice-contact-title {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.04;
  }
}

@media (max-width: 420px) {
  .page-atuacao .practice-contact-title {
    font-size: 32px;
  }
}

/* Compact practice action */
.page-atuacao .practice-focus-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 290px;
  min-height: 56px;
  margin: 28px;
  padding: 16px 22px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--white);
}

.page-atuacao .practice-focus-cta strong {
  color: inherit;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-atuacao .practice-focus-cta:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--ink);
}

@media (max-width: 720px) {
  .page-atuacao .practice-focus-cta {
    width: calc(100% - 32px);
    min-width: 0;
    margin: 0 16px 16px;
  }
}

/* Instituto purpose: stacked editorial layout */
.page-instituto .institute-purpose {
  display: block;
  max-width: 1120px;
  padding-top: clamp(62px, 8vw, 112px);
  padding-bottom: clamp(62px, 8vw, 112px);
}

.page-instituto .institute-purpose > div:first-child {
  max-width: 820px;
}

.page-instituto .institute-purpose h2 {
  max-width: 780px;
  margin: 18px 0 0;
  font-size: clamp(46px, 6.4vw, 104px);
  line-height: 0.92;
  text-wrap: balance;
}

.page-instituto .institute-purpose .rich-text {
  max-width: 760px;
  margin-top: clamp(32px, 4vw, 58px);
  padding-left: clamp(22px, 4vw, 54px);
  border-left: 2px solid rgba(181, 145, 74, 0.35);
  color: var(--ink-soft);
}

.page-instituto .institute-purpose .rich-text p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.55;
}

.page-instituto .institute-purpose .rich-text p + p {
  margin-top: 22px;
}

.page-instituto .institute-purpose blockquote {
  margin-top: clamp(44px, 6vw, 76px);
  padding: clamp(34px, 5vw, 66px);
}

.page-instituto .institute-purpose blockquote p {
  max-width: 820px;
  font-size: clamp(30px, 4.7vw, 68px);
  line-height: 1;
}

@media (max-width: 720px) {
  .page-instituto .institute-purpose {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .page-instituto .institute-purpose h2 {
    font-size: clamp(38px, 13vw, 58px);
    line-height: 0.96;
  }

  .page-instituto .institute-purpose .rich-text {
    margin-top: 28px;
    padding-left: 18px;
  }

  .page-instituto .institute-purpose .rich-text p {
    font-size: 17px;
    line-height: 1.58;
  }

  .page-instituto .institute-purpose blockquote {
    margin-top: 36px;
    padding: 28px 22px;
  }

  .page-instituto .institute-purpose blockquote p {
    font-size: 31px;
    line-height: 1.02;
  }
}

/* WhatsApp CTA: neutral shell, brand only in the icon */
.whatsapp-inline,
.page-closing-cta > .whatsapp-cta-dark,
.site-footer .whatsapp-footer-link {
  background: #fffaf0;
  border-color: rgba(181, 145, 74, 0.48);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.whatsapp-inline:hover,
.page-closing-cta > .whatsapp-cta-dark:hover,
.site-footer .whatsapp-footer-link:hover {
  background: #ffffff;
  border-color: rgba(181, 145, 74, 0.72);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.whatsapp-inline small,
.page-closing-cta .whatsapp-cta-dark small,
.site-footer .whatsapp-footer-link small {
  color: #8a6a28;
}

.whatsapp-inline strong,
.page-closing-cta .whatsapp-cta-dark strong,
.site-footer .whatsapp-footer-link strong {
  color: var(--ink);
}

.site-footer .whatsapp-footer-link {
  justify-content: flex-start;
  gap: 12px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  color: var(--white);
  box-shadow: none;
}

.site-footer .whatsapp-footer-link:hover {
  background: transparent;
  border: 0 !important;
  box-shadow: none;
  transform: none;
}

.site-footer .whatsapp-footer-link .whatsapp-mark {
  width: 34px;
  height: 34px;
}

.site-footer .whatsapp-footer-link small {
  display: none;
}

.site-footer .whatsapp-footer-link strong {
  margin-top: 0;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

/* Low-risk UX refinements */
.page-blog-post .scroll-progress span {
  background: var(--bronze);
}

.bpc-button-icon .whatsapp-mark {
  width: 22px;
  height: 22px;
}

.floating-whatsapp .whatsapp-mark {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.lead-form button[type="submit"]:disabled,
.bpc-mini-form button[type="submit"]:disabled {
  cursor: progress;
  opacity: 0.68;
}

main > section[id],
main > article[id] {
  scroll-margin-top: 126px;
}

/* Footer rhythm: one typographic scale across every page */
.site-footer {
  grid-template-columns: minmax(210px, 1.05fr) minmax(205px, 0.82fr) minmax(230px, 1fr) minmax(230px, 1fr);
  column-gap: clamp(36px, 4.2vw, 64px);
  row-gap: clamp(38px, 5vw, 58px);
  align-items: start;
  padding-top: clamp(54px, 6vw, 76px);
  padding-bottom: clamp(42px, 5vw, 64px);
}

.site-footer .footer-column {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.site-footer .footer-column > p,
.site-footer .footer-column address > p,
.site-footer .footer-column nav > p {
  margin: 0;
}

.site-footer .footer-column address,
.site-footer .footer-column nav {
  display: grid;
  gap: 18px;
  margin: 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 16px;
  font-style: normal;
  line-height: 1.55;
}

.site-footer .footer-title {
  margin: 0;
  color: #d2ad62;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

.site-footer .footer-logo {
  width: 112px;
  margin: 0 0 4px;
}

.site-footer .footer-brand-column > p {
  max-width: 28ch;
  color: rgba(255, 250, 240, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

.site-footer .whatsapp-footer-link {
  gap: 11px;
  width: fit-content;
  max-width: 100%;
  line-height: 1;
}

.site-footer .whatsapp-footer-link .whatsapp-mark {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
}

.site-footer .whatsapp-footer-link strong {
  white-space: nowrap;
  font-size: clamp(19px, 1.65vw, 23px);
  line-height: 1.1;
}

.site-footer .footer-address-column address > p:first-child {
  max-width: 27ch;
}

.site-footer .footer-links-column nav {
  gap: 14px;
}

.site-footer .footer-disclaimer {
  margin-top: 0;
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(42px, 7vw, 72px);
  }
}

@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr;
    row-gap: 38px;
    padding-top: 48px;
    padding-bottom: 44px;
  }

  .site-footer .footer-column {
    gap: 14px;
  }

  .site-footer .footer-column address,
  .site-footer .footer-column nav,
  .site-footer .footer-brand-column > p {
    font-size: 16px;
  }

  .site-footer .whatsapp-footer-link strong {
    font-size: 20px;
  }
}

/* Continuous closing band on the trajectory page */
.page-sobre .page-closing-cta {
  gap: 0;
  background: #071847;
  border-top: 0;
  border-bottom: 0;
}

.page-sobre .page-closing-cta::before,
.page-sobre .page-closing-cta::after {
  content: none;
}

/* Instituto on the home page: transparent mark on the surrounding paper */
.home-institute-feature {
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid rgba(7, 24, 71, 0.08);
  border-bottom: 1px solid rgba(7, 24, 71, 0.08);
}

.home-institute-feature::before,
.home-institute-feature::after {
  content: none;
}

.home-institute-logo-frame {
  width: min(100%, 224px);
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-institute-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(7, 24, 71, 0.08));
}

@media (max-width: 640px) {
  .home-institute-logo-frame {
    width: 152px;
    padding: 0;
  }
}

/* Home Instituto: stacked editorial composition */
.home-institute-feature {
  padding-top: clamp(88px, 9vw, 124px);
  padding-bottom: clamp(88px, 9vw, 124px);
}

.home-institute-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 4vw, 46px);
  align-items: start;
}

.home-institute-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
  max-width: 780px;
}

.home-institute-logo-frame {
  width: clamp(128px, 12vw, 178px);
  margin: 0 0 clamp(8px, 1.4vw, 18px);
}

.home-institute-status {
  margin: -8px 0 6px;
  color: #755a2c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-institute-feature h2 {
  max-width: 11.5ch;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.94;
}

.home-institute-copy > p:last-child {
  max-width: 44ch;
  font-size: clamp(18px, 1.45vw, 21px);
}

.home-institute-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 42px);
  align-items: end;
  justify-items: start;
  padding-top: clamp(12px, 2vw, 22px);
  border-top: 1px solid rgba(7, 24, 71, 0.12);
}

.home-institute-topics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.home-institute-topics li {
  padding-left: 18px;
}

@media (max-width: 860px) {
  .home-institute-aside,
  .home-institute-topics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-institute-feature {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-institute-grid {
    max-width: 100%;
  }

  .home-institute-logo-frame {
    width: 132px;
  }
}
