:root {
  --brown: #411e18;
  --clay: #8b4a38;
  --orange: #bd5728;
  --sand: #e8c39e;
  --blush: #f1baa7;
  --paper: #f5f1ed;
  --gray: #efefef;
  --white: #fffaf6;
  --font-display: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;
  --page-pad: clamp(24px, 6vw, 96px);
  --content: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
p, h1, h2, h3, blockquote { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h2 { font-size: clamp(2.4rem, 5.2vw, 5.1rem); }
.eyebrow {
  margin: 0 0 16px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--content));
  margin-inline: auto;
  padding: 28px var(--page-pad);
}
.home-hero > .site-header { position: absolute; inset: 0 0 auto; width: 100%; }
.site-logo { width: clamp(230px, 25vw, 390px); }
.site-logo img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); font-size: .9rem; }
.site-header--dark { color: var(--white); }
.site-header--light { color: var(--brown); }
.site-nav a { white-space: nowrap; }
.nav-contact { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.nav-home {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
}

.home-hero {
  position: relative;
  min-height: clamp(620px, 82vh, 860px);
  overflow: hidden;
  background: url("images/cidade-home-rssf.png") center 54% / cover no-repeat;
  color: var(--white);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 15, 11, .72) 0%, rgba(38, 15, 11, .28) 52%, rgba(38, 15, 11, .18) 100%), linear-gradient(0deg, rgba(38, 15, 11, .32), transparent 40%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  left: var(--page-pad);
  max-width: calc(100vw - (2 * var(--page-pad)));
}
.hero-copy h1 {
  position: absolute;
  left: 0;
  bottom: 27%;
  margin: 0;
  max-width: 12ch;
  color: #fff;
  font-size: clamp(4rem, 7.6vw, 8.4rem);
  line-height: .83;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 38px;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.corner-lines { position: relative; overflow: hidden; }
.corner-lines::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(48vw, 660px);
  height: min(28vw, 360px);
  pointer-events: none;
  background: repeating-linear-gradient(165deg, transparent 0 18px, rgba(189, 87, 40, .5) 19px 21px, transparent 22px 38px);
  -webkit-mask-image: linear-gradient(110deg, transparent 0%, rgba(0,0,0,.35) 23%, #000 52%, transparent 96%);
  mask-image: linear-gradient(110deg, transparent 0%, rgba(0,0,0,.35) 23%, #000 52%, transparent 96%);
  opacity: .8;
}
.corner-lines--bottom-right::after { right: -4%; bottom: -11%; }
.corner-lines--top-right::after { right: -4%; top: -11%; transform: scaleY(-1); }
.corner-lines--top-left::after { left: -5%; top: -12%; transform: scale(-1); }
.corner-lines > * { position: relative; z-index: 1; }

.proximity-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: start;
  padding: clamp(80px, 10vw, 150px) var(--page-pad);
  background: var(--sand);
}
.proximity-section h2 { margin: 0; max-width: 11ch; }
.proximity-copy { align-self: start; max-width: 43ch; padding-top: 0; font-size: 1.12rem; }
.proximity-copy p:last-child { margin-bottom: 0; }

.voices-section { padding: clamp(80px, 9vw, 140px) var(--page-pad); background: var(--paper); }
.section-intro { max-width: 980px; margin-bottom: 54px; }
.section-intro h2 { margin-bottom: 0; }
.voices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.voice-card {
  display: grid;
  grid-template-rows: minmax(320px, 48vw) minmax(220px, auto);
  max-height: 850px;
  background: var(--clay);
  color: var(--white);
}
.voice-photo { display: block; overflow: hidden; background: var(--sand); }
.voice-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; filter: saturate(.82) sepia(.04) contrast(.97); }
.voice-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: clamp(28px, 3vw, 44px);
}
.voice-copy blockquote {
  max-width: 35ch;
  margin: 0 0 34px;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.8vw, 1.48rem);
  line-height: 1.28;
  letter-spacing: -.025em;
}
.voice-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.voice-meta p { margin: 0; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.social-links { display: flex; gap: 8px; align-items: center; }
.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}
.social-links a:hover { background: currentColor; color: var(--clay); }
.text-link { display: inline-block; margin-top: 32px; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

.practices-section { padding: clamp(90px, 10vw, 160px) var(--page-pad); background: var(--gray); }
.section-intro--split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 10vw;
  align-items: end;
  max-width: none;
}
.section-intro--split h2 { margin: 0; }
.section-intro--split > p { max-width: 40ch; margin-bottom: 8px; }
.practice-list { border-top: 1px solid rgba(65, 30, 24, .3); }
.practice-item { border-bottom: 1px solid rgba(65, 30, 24, .3); }
.practice-button {
  display: grid;
  grid-template-columns: 68px 1fr 52px;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 23px 0;
  border: 0;
  background: transparent;
  color: var(--brown);
  text-align: left;
  cursor: pointer;
}
.practice-number { font-size: .72rem; letter-spacing: .11em; opacity: .58; }
.practice-name { font-family: var(--font-display); font-size: clamp(1.35rem, 2.8vw, 2.7rem); letter-spacing: -.035em; line-height: 1.05; }
.practice-plus { justify-self: end; font-family: var(--font-display); font-size: 2rem; font-weight: 300; }
.practice-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr);
  gap: clamp(30px, 7vw, 110px);
  padding: 4px 64px 38px 80px;
  animation: reveal .28s ease both;
}
.practice-panel[hidden] { display: none; }
.practice-panel p { max-width: 54ch; margin-bottom: 0; font-size: 1.03rem; }
.practice-panel ul { margin: 0; padding-left: 18px; }
.practice-panel li { margin-bottom: 6px; }
@keyframes reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: start;
  padding: clamp(90px, 10vw, 150px) var(--page-pad);
  background: var(--brown);
  color: var(--white);
}
.contact-section h2 { max-width: 9ch; margin-bottom: 0; }
.contact-copy { max-width: 42ch; }
.contact-actions { display: grid; margin-top: 42px; border-top: 1px solid rgba(255,250,246,.35); }
.contact-actions a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255,250,246,.35); }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  gap: 7vw;
  padding: 64px var(--page-pad);
  background: #2f1511;
  color: var(--white);
  font-size: .8rem;
}
.site-footer img { width: min(330px, 100%); }
.site-footer p { margin: 0 0 3px; }
.footer-links { display: grid; align-content: start; gap: 8px; }

.inner-page { min-height: 100vh; background: var(--paper); }
.inner-header-wrap { background: var(--paper); }
.inner-header-wrap .site-header { padding-bottom: 24px; }
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: end;
  min-height: 440px;
  padding: 80px var(--page-pad) 72px;
  background: var(--sand);
}
.page-hero .eyebrow { grid-column: 1 / -1; align-self: end; }
.page-hero h1 { margin: 0; font-size: clamp(5rem, 11vw, 11rem); }
.page-hero > p:last-child { max-width: 35ch; margin: 0 0 12px; font-size: 1.15rem; }

.team-section { padding: clamp(80px, 9vw, 140px) var(--page-pad); }
.team-section--associates { background: var(--gray); }
.team-section--consultants { background: var(--sand); }
.team-heading { margin-bottom: 46px; }
.team-heading h2 { margin: 0; }
.team-grid { display: grid; gap: 22px; }
.team-grid--partners { grid-template-columns: 1fr 1fr; }
.team-grid--associates { grid-template-columns: repeat(3, 1fr); }
.team-grid--consultants { grid-template-columns: minmax(300px, .5fr); }
.team-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; background: var(--paper); }
.team-card--featured { grid-template-rows: auto 1fr; }
.team-card-visual { display: grid; place-items: center; aspect-ratio: 800 / 911; overflow: hidden; background: var(--clay); color: var(--sand); }
.team-card-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; transition: transform .5s ease; }
.team-card:hover .team-card-visual img { transform: scale(1.015); }
.team-initials { font-family: var(--font-display); font-size: clamp(3.4rem, 7vw, 7.5rem); letter-spacing: -.08em; }
.team-card-copy { display: flex; flex-direction: column; padding: 28px; }
.team-card-copy .eyebrow { margin-bottom: 10px; color: var(--orange); }
.team-card-copy h3 { margin: 0 0 15px; font-size: clamp(1.55rem, 2.5vw, 2.6rem); }
.team-card-area { min-height: 3.1em; margin-bottom: 24px; color: rgba(65,30,24,.72); font-size: .82rem; line-height: 1.4; }
.team-card-copy .social-links { margin-top: auto; }
.team-card-copy .social-links a:hover { color: var(--paper); }

.profile-hero {
  display: grid;
  grid-template-columns: minmax(340px, .85fr) 1.15fr;
  gap: clamp(38px, 7vw, 110px);
  align-items: center;
  padding: 70px var(--page-pad) clamp(80px, 9vw, 130px);
  background: var(--sand);
}
.back-link { grid-column: 1 / -1; justify-self: start; border-bottom: 1px solid currentColor; font-size: .83rem; }
.profile-visual { display: grid; place-items: center; aspect-ratio: .82; overflow: hidden; background: var(--clay); color: var(--sand); }
.profile-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 16%; }
.profile-visual > span { font-family: var(--font-display); font-size: clamp(5rem, 10vw, 10rem); letter-spacing: -.08em; }
.profile-intro h1 { margin: 0 0 28px; max-width: 9ch; font-size: clamp(4rem, 8vw, 8rem); }
.profile-intro .social-links { margin-bottom: 48px; }
.profile-intro .social-links a:hover { color: var(--sand); }
.profile-contact-lines { margin: -24px 0 38px; font-size: .88rem; }
.profile-contact-lines p { margin: 0 0 6px; }
.profile-contact-lines span { font-weight: 600; }
.profile-contact-lines a { border-bottom: 1px solid rgba(65,30,24,.35); }
.profile-areas { max-width: 56ch; padding-top: 26px; border-top: 1px solid rgba(65,30,24,.35); }
.profile-areas p:last-child { margin-bottom: 0; }
.profile-body {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(60px, 10vw, 160px);
  align-items: start;
  padding: clamp(80px, 9vw, 140px) var(--page-pad);
}
.profile-bio { position: sticky; top: 32px; max-width: 50ch; font-size: 1.08rem; }
.profile-detail { padding: 0 0 42px; margin-bottom: 42px; border-bottom: 1px solid rgba(65,30,24,.28); }
.profile-detail h2 { margin-bottom: 25px; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.profile-detail ul { margin: 0; padding: 0; list-style: none; }
.profile-detail li { padding: 10px 0; border-top: 1px solid rgba(65,30,24,.18); }

@media (min-width: 1500px) {
  .site-header, .hero-copy, .scroll-cue { --page-pad: max(7vw, calc((100vw - var(--content)) / 2 + 60px)); }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .site-header { padding-block: 20px; }
  .site-logo { width: 220px; }
  .site-nav { gap: 18px; }
  .proximity-section, .contact-section, .profile-body { grid-template-columns: 1fr; }
  .proximity-section { gap: 44px; }
  .proximity-copy { max-width: 54ch; }
  .voices-grid { grid-template-columns: 1fr; }
  .voice-card { grid-template-rows: 500px auto; max-height: none; }
  .section-intro--split { grid-template-columns: 1fr; gap: 26px; }
  .practice-panel { grid-template-columns: 1fr; padding-left: 80px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer img { grid-column: 1 / -1; }
  .team-grid--associates { grid-template-columns: repeat(2, 1fr); }
  .profile-hero { grid-template-columns: minmax(280px, .8fr) 1.2fr; }
  .profile-bio { position: static; }
}

@media (max-width: 640px) {
  :root { --page-pad: 22px; }
  .site-header { align-items: flex-start; }
  .site-logo { width: 166px; }
  .site-nav { gap: 13px; font-size: .76rem; }
  .nav-home { width: 29px; height: 29px; }
  .nav-contact { display: none; }
  .home-hero { min-height: 700px; background-position: 59% 54%; }
  .hero-copy { max-width: calc(100vw - 44px); }
  .hero-copy h1 { bottom: 27%; max-width: 9ch; font-size: clamp(3.55rem, 16.5vw, 5.8rem); }
  .scroll-cue { right: auto; left: var(--page-pad); bottom: 28px; }
  .corner-lines::after { width: 88vw; height: 52vw; }
  .voice-card { grid-template-rows: 390px auto; }
  .voice-copy { min-height: 250px; padding: 25px; }
  .voice-meta { align-items: flex-end; }
  .practice-button { grid-template-columns: 40px 1fr 32px; padding: 20px 0; }
  .practice-name { font-size: 1.45rem; }
  .practice-panel { padding: 0 0 30px 40px; }
  .contact-section { gap: 38px; }
  .site-footer { grid-template-columns: 1fr; gap: 28px; }
  .site-footer img { grid-column: auto; width: 230px; }
  .page-hero { grid-template-columns: 1fr; min-height: 390px; padding-top: 60px; }
  .page-hero .eyebrow { grid-column: auto; }
  .page-hero h1 { font-size: 5rem; }
  .team-grid--partners, .team-grid--associates, .team-grid--consultants { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-visual { max-height: 540px; }
  .profile-intro h1 { font-size: 4.6rem; }
}

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

.home-hero {
  background-image: url("images/cidade-home-rssf.png");
}

.site-logo--white { content: url("images/logo-branco.svg"); }
.site-logo--brown { content: url("images/logo-marrom.svg"); }

.preview-note {
  position: fixed;
  z-index: 100;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(47,21,17,.86);
  color: #fffaf6;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .preview-note { display: none; }
}
