/* Institutional palette, sampled from the printed folder and wordmark. */
:root {
  --ink: #1d3659;
  --blue: #395983;
  --accent: #6a95cd;
  --paper: #e1e6ed;
  --white: #fff;
  --line: #c1ccda;
  --steel: #395983;
  --display: Georgia, "Times New Roman", serif;
}
.barreiro { background: var(--white); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; }
.shell { width: min(89%, 1440px); margin-inline: auto; }
.barreiro h1, .barreiro h2, .barreiro h3 { font-family: var(--display); font-weight: 400; }
.barreiro em { color: inherit; }
.barreiro a:focus-visible, .barreiro button:focus-visible, .barreiro summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
.mast { background: var(--white); border: 0; }
.mast-inner { height: 78px; display: flex; align-items: center; gap: 3.5rem; }
.mast img { width: 136px; height: auto; display: block; }
.mast nav { display: flex; margin-left: auto; gap: 2.4rem; }
.mast nav a { font-size: .94rem; font-weight: 600; }
.mast nav a:hover { text-underline-offset: 5px; }
.button, .interior .btn {
  background: var(--ink); color: var(--white); display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px; padding: 13px 23px; font-weight: 650; text-decoration: none; width: fit-content;
}
.button:hover, .interior .btn:hover { background: var(--blue); }
.nav-button { padding: 9px 22px; }
.overline, .tab-caption { text-transform: uppercase; letter-spacing: .15em; font-size: .785rem; line-height: 1.45; font-weight: 650; }
.overline { display: flex; align-items: center; gap: 12px; }
.overline span { color: #aac0da; }
.overline.ink { color: var(--blue); }
.cover-sheet { isolation: isolate; position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.cover-sheet:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,32,58,.86),rgba(12,32,58,.40) 40%,transparent 68%); }
.cover-type { padding-block: clamp(55px,5.6vw,99px) clamp(60px,6vw,105px); }
.cover-type h1 { font-size: clamp(4.1rem,7.25vw,8.1rem); line-height: .96; letter-spacing: -.063em; margin: .27em 0 .24em; }
.cover-type h1 em { color: #dce8f6; }
.intro-text { max-width: 435px; font-size: clamp(1.05rem,1.3vw,1.32rem); line-height: 1.55; text-wrap: pretty; }
.reverse { background: var(--white); color: var(--ink); margin-top: 25px; }
.reverse:hover { background: var(--paper); }
.practice { background: var(--paper); padding-block: clamp(52px,5.4vw,90px) clamp(65px,6vw,100px); }
.practice-head { margin-bottom: 32px; }
.practice h2, .questions h2, .contact-face h2 { font-size: clamp(3rem,5.4vw,6.6rem); line-height: 1.04; letter-spacing: -.065em; margin-top: 9px; }
.practice h2 em, .questions h2 em { color: var(--blue); }
.folder { position: relative; }
.folder-tabs { display: flex; align-items: end; gap: 3px; }
.folder-tabs[hidden], .folder-panel[hidden] { display: none; }
.folder-tabs button, .fold-toggle {
  background: #c7d3e2; color: var(--ink); border: 0; font: 650 1rem/1.3 "Segoe UI",Arial,sans-serif; cursor: pointer;
}
.folder-tabs button { padding: 14px 36px 14px 23px; position: relative; clip-path: polygon(0 0,calc(100% - 16px) 0,100% 100%,0 100%); }
.folder-tabs button[aria-selected=true] { background: var(--white); }
.folder-tabs button:hover, .fold-toggle:hover { background: #f2f5fa; }
.folder-tabs button:focus-visible { outline-offset: -5px; }
.folder-panel { display: grid; grid-template-columns: 1.1fr .85fr; gap: 8%; align-items: center; background: var(--white); padding: clamp(30px,4.3vw,68px); border-bottom: 3px solid var(--accent); }
.panel-main h3 { font-size: clamp(2.1rem,3.65vw,4.5rem); line-height: 1.05; letter-spacing: -.045em; }
.panel-main p { margin: 12px 0 20px; max-width: 555px; }
.folder-panel ul { margin: 0; padding: 0; list-style: none; }
.folder-panel li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.folder-panel li:first-child { border-top: 1px solid var(--line); }
.fold-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; margin-top: 3px; text-align: left; }
.fold-toggle:after { content: '+'; font-size: 1.35rem; font-weight: 400; }
.fold-toggle[aria-expanded=true] { background: var(--white); }
.fold-toggle[aria-expanded=true]:after { content: '−'; }
.history { background: var(--ink); color: var(--white); padding-block: clamp(54px,6.2vw,106px) clamp(34px,4vw,70px); }
.history-line { display: flex; align-items: end; justify-content: space-between; gap: 42px; padding: 16px 0 35px; }
.history h2 { font-size: clamp(3.7rem,7.5vw,8.8rem); line-height: .99; letter-spacing: -.07em; }
.history h2 em { color: #c2d5ec; }
.history-line p { max-width: 435px; font-size: 1.12rem; }
.team-photos { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; }
.team-photos figure { background: var(--ink); overflow: hidden; aspect-ratio: .97; }
.team-photos img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; filter: grayscale(1); opacity: .93; }
.team-note { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-top: 20px; }
.team-note h3 { font-size: clamp(1.5rem,2.6vw,3rem); letter-spacing: -.045em; line-height: 1.1; }
.team-note p { max-width: 510px; color: #e1e6ed; }
.questions { background: var(--white); padding: clamp(64px,7vw,115px) 0; }
.read-width { width: min(89%, 875px); margin: auto; }
.questions h2 { margin: 0 0 28px; }
.questions details { border-top: 1px solid var(--line); padding: 20px 0; }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions details p { max-width: 700px; color: var(--ink); }
.contact-sheet { padding-top: 54px; background: var(--paper); }
.tab-caption { display: inline-block; background: var(--ink); color: var(--white); padding: 10px 36px 8px 21px; clip-path: polygon(0 0,calc(100% - 15px) 0,100% 100%,0 100%); }
.contact-face { background: var(--ink); color: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding: clamp(28px,4vw,70px); }
.contact-face h2 { margin: 0; }
.contact-face em { color: #c2d5ec; }
.contact-face p { margin-top: 15px; max-width: 400px; }
.contact-face address { font-style: normal; display: grid; align-content: center; gap: 12px; }
.contact-face address div { display: grid; padding-bottom: 10px; border-bottom: 1px solid #ffffff40; }
.contact-face address div:last-child { border: 0; }
.contact-face address span { font-size: .83rem; color: #c2d5ec; }
.contact-face address a { width: fit-content; text-underline-offset: 4px; overflow-wrap: anywhere; font-size: clamp(1.02rem,1.45vw,1.45rem); }
.foot { background: var(--ink); color: var(--white); }
.foot .shell { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; border-top: 1px solid #ffffff38; }
.foot img { display: block; }
.foot a { font-size: .92rem; }
.interior .mast { border-bottom: 1px solid var(--line); }
.interior .detailcards section { background: var(--paper); }
@media(max-width:900px){
  .mast-inner { gap: 22px; }
  .history-line p { max-width: 350px; }
  .cover-type { padding-block: 62px; }
}
@media(max-width:700px){
  .shell,.read-width { width: calc(100% - 40px); }
  .mast-inner { height: auto; gap: 0; flex-wrap: wrap; justify-content: space-between; padding: 13px 0 4px; }
  .mast img { width: 113px; }
  .nav-button { padding: 7px 17px; }
  .mast nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; margin: 10px 0 0; padding: 3px 0; border-top: 1px solid var(--line); }
  .mast nav a { padding: 5px 0; }
  .cover-type { padding-block: 34px 30px; }
  .cover-photo { object-position: 64% center; }
  .cover-sheet:before { background: linear-gradient(90deg,rgba(12,32,58,.94),rgba(12,32,58,.79) 46%,rgba(12,32,58,.26)); }
  .cover-type h1 { font-size: clamp(3.4rem,9.8vw,4.7rem); }
  .intro-text { max-width: 330px; }
  .overline { font-size: .75rem; gap: 7px; letter-spacing: .105em; }
  .cover-type .reverse { margin-top: 21px; }
  .folder-panel,.contact-face { grid-template-columns: 1fr; gap: 24px; }
  .folder-panel { padding: 16px 19px 26px; }
  .folder-panel li { padding: 7px 0; }
  .history-line,.team-note { display: grid; gap: 13px; }
  .history-line { padding: 13px 0 23px; }
  .history-line p { max-width: 100%; }
  .team-photos { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .team-photos figure { aspect-ratio: .93; }
  .questions,.practice,.history { padding-block: 48px; }
  .practice-head { margin-bottom: 21px; }
  .practice h2,.questions h2,.contact-face h2 { font-size: clamp(2.7rem,8.6vw,4.4rem); }
  .contact-face { padding: 23px 18px; }
  .contact-sheet { padding-top: 35px; }
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


.mast .mobile-contact { display: none; }
.practice button:focus-visible { outline-color: var(--ink); }
.foot a:first-child { margin-left: 0; }
.questions h2, .practice h2 { font-family: "Segoe UI",Arial,sans-serif; font-weight: 500; font-size: clamp(2.7rem,4.65vw,5.3rem); letter-spacing: -.07em; }
@media(max-width:700px) {
  .mast .wide-contact { display: none; }
  .mast .mobile-contact { display: inline-flex; }
  .cover-sheet { display: flex; flex-direction: column; }
  .cover-type { order: 0; padding: 32px 0 24px; }
  .cover-sheet picture { order: 1; display: block; height: clamp(95px,26vw,170px); overflow: hidden; }
  .cover-photo { position: static; object-position: 84% 58%; }
  .cover-sheet:before { display: none; }
  .practice h2, .questions h2 { font-size: clamp(2.5rem,8.9vw,4.3rem); }
}
@media(min-width:701px) and (max-width:850px){.folder-tabs button{padding-inline:16px 24px}}
