@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-display: swap;
  src: url(instrument-italic.ttf) format("truetype");
}

/* The directory opens with an illustration of listening. Text and artwork
   occupy separate columns at every width. */
.network-section { background: #f5f4eb; }
.directory-cover { display: grid; grid-template-columns: minmax(0,1.26fr) minmax(0,.86fr); background: #123c42; color: #fffdf4; border-radius: 4px 36px 4px 4px; overflow: clip; }
.directory-cover .section-heading { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; align-content: center; padding: clamp(24px,4vw,70px); }
.directory-cover h2 { max-width: 14ch; font-size: clamp(42px,5.3vw,88px); line-height: .99; }
.directory-cover .eyebrow { color: #c7e5d2; display: flex; align-items: center; gap: 10px; }
.directory-cover .eyebrow::before { content: ''; display: inline-block; width: 24px; height: 5px; background: var(--orange); border-radius: 5px 0; }
.directory-cover .section-heading>p { margin: 0; color: #d4e2dd; font: 430 clamp(16px,1.35vw,21px)/1.45 var(--reading); max-width: 49ch; }
.directory-art { position: relative; overflow: clip; background: #dbd7bb; }
.directory-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.network-tools { margin: 0; border: solid #c5cfc1; border-width: 0 1px 1px; border-radius: 0 0 22px 4px; background: #fffef8; }
.network-tools__summary { padding-top: 10px; border-top: 1px solid #d9dfd5; }
.network-group__heading { margin-block: clamp(36px,4vw,64px) 18px; padding-bottom: 14px; border-bottom: 1px solid #96ada1; }
.network-group__heading h3 { font-size: clamp(25px,2.5vw,42px); }
.network-group__icon { background: var(--forest); color: white; border: 0; border-radius: 45% 45% 4px 45%; }
.network-group__heading--legal .network-group__icon { background: #7d482b; }
.network-note { padding: 14px 0 0 18px; border-left: 3px solid var(--orange); color: #37534d; max-width: 75ch; }

.profile-gallery .professional-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(15px,1.8vw,27px); }
.profile-gallery .professional-card {
  --binding: #4d8071; position: relative; display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.24fr);
  grid-template-rows: auto 1fr; align-content: start; gap: 10px 18px; padding: clamp(15px,1.45vw,25px);
  background: #fffef9; border: 1px solid #bfcfc3; border-left: 4px solid var(--binding); border-radius: 4px 20px 20px 4px;
  box-shadow: 0 3px 0 #dce3d7,0 10px 24px #173e3610;
}
.profile-gallery [data-professional-group=juridico] .professional-card { --binding: #a3673b; }
.profile-gallery .profile-head { display: contents; }
.profile-gallery .professional-photo { grid-row: 1 / 3; width: 100%; align-self: start; margin: 0; aspect-ratio: 4/5; }
.profile-gallery .professional-photo img { border-radius: 4px 14px 4px 4px; }
.profile-gallery .professional-photo span { bottom: 7px; left: 6px; padding: 3px 7px; font-size: 10px; background: #173b42ee; max-width: calc(100% - 12px); }
.profile-gallery .profile-title,.profile-gallery .professional-body { min-width: 0; padding: 0; grid-column: 2; }
.profile-gallery .profile-title h3 { font-size: clamp(23px,2vw,36px); color: #173d40; }
.profile-gallery .professional-role { color: #395a50; }
.profile-gallery .professional-reg { margin-top: 8px; font-size: 12px; padding: 2px 7px; }
.profile-gallery .professional-body > p { margin: 0 0 16px; font: 440 16px/1.42 var(--reading); }
.profile-gallery .profile-open { margin-top: auto; color: #204b44; }
.profile-gallery .profile-open::after { font-size: 16px; width: 32px; height: 32px; }
.sheet-panel { border: 1px solid #71988c; }
.sheet-panel header { background: linear-gradient(112deg,#143b42 25%,#28564f); border-bottom: 4px solid #bddac6; }
.sheet-photo img { border-radius: 4px 14px 4px 4px; }

/* A dark reading room with three document drawers. */
.transparency-section { background: #143a3e; color: #f5f7ec; }
.transparency-layout { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.2fr); align-items: start; gap: clamp(25px,6vw,92px); }
.transparency-heading { display: block; }
.transparency-heading .eyebrow { color: #acdbbd; }
.transparency-heading h2 { font-size: clamp(38px,4.6vw,76px); }
.transparency-heading .drawn-emphasis { display: block; color: #d3e9c6; font: italic 1.16em/.99 "Instrument Serif",Georgia,serif; }
.transparency-intro { margin-top: 18px; max-width: 38ch; color: #d3e6db; }
.document-links { display: grid; grid-template-columns: 1fr; gap: 11px; margin: 0; }
.document-links>a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; grid-template-rows: auto; gap: clamp(12px,1.9vw,26px); padding: clamp(17px,2.2vw,32px); align-items: center; border: 0; border-radius: 4px 18px 4px 4px; background: #eff2e5; color: var(--forest); box-shadow: 0 3px 0 #91a99b; }
.document-links>a>span { grid-column: 2; grid-row: 1; }
.document-links>a>svg { grid-column: 3; margin: 0; }
.document-links>a::before { inset: 12px auto 12px 0; height: auto; width: 4px; border-radius: 0 3px 3px 0; }
.document-links strong { font-size: clamp(20px,2vw,31px); margin-block: 4px; }
.document-icon { border: 1px solid #aec6b7; background: transparent; border-radius: 50%; }

.faq-section { background: #fffdf5; }
.faq-intro h2 { max-width: 13ch; font-size: clamp(37px,4.4vw,72px); color: #153d3d; }
.faq-intro .text-link { border-radius: 25px; }
.faq { gap: 0; border-top: 2px solid var(--forest); }
.faq details,.faq details[open] { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid #9eb6aa; padding: 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 13px; list-style: none; padding: 18px 3px; font-weight: 550; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; display: grid; flex: 0 0 35px; height: 35px; place-items: center; background: #e4eddf; border-radius: 50%; color: #21453f; font: 420 24px/1 var(--type); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--forest); color: white; }
.faq details[open]>div { padding: 0 12px 22px 15px; border-left: 2px solid var(--turquoise); margin: 0 0 16px; }
.participation-section { background: #dbe8cf; }
.participation-shell>.section-heading { max-width: 100%; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr); column-gap: 6vw; align-items: end; }
.participation-shell>.section-heading .eyebrow { grid-column: 1/-1; }
.participation-shell h2 { color: #193d39; max-width: 16ch; font-size: clamp(40px,4.7vw,78px); }
.participation-grid { gap: clamp(12px,2vw,27px); }
.participation-card { --surface: #f9f7e8; --card-ink: #203e34; color: var(--card-ink); background: var(--surface); border: 1px solid #98ad95; border-radius: 4px 34px 4px 4px; box-shadow: 0 4px 0 #a5b89f; }
.participation-card:nth-child(2) { --surface: #234e50; --card-ink: #f0f6ed; }
.participation-card:nth-child(3) { --surface: #f0c198; --card-ink: #462d21; }
.participation-card .participation-symbol { width: 66px; height: 66px; border-radius: 50% 50% 8px 50%; margin-bottom: clamp(28px,4vw,65px); }
.participation-card .participation-symbol svg { width: 34px; height: 34px; }
.participation-card h3 { font: italic clamp(32px,3vw,49px)/1.05 "Instrument Serif",Georgia,serif; letter-spacing: -.025em; }
.participation-card .participation-link { color: inherit; width: 100%; justify-content: space-between; padding: 14px 0 0; border: 0; border-radius: 0; border-top: 1px solid currentColor; background: transparent; }
.participation-link svg { width: 26px; height: 26px; }

/* The contact columns form one spread, with the form remaining stationary. */
.page-home .contact-section { background: #eef2e9; }
.contact-layout { background: #1d4550; border-radius: 6px 28px 6px 28px; padding: clamp(7px,1vw,15px); gap: 0; }
.contact-intro { background: transparent; }
.contact-layout .form-card { border: 0; border-radius: 4px 18px 4px 18px; }
.contact-layout .form-heading h3 { font: italic clamp(36px,4vw,64px)/1.02 "Instrument Serif",Georgia,serif; }
.map-card { background-color: #d1e0d4; color: #173c3d; border-radius: 4px 25px 4px 4px; border: 1px solid #9cb5a6; }
.map-card::before { background-image: repeating-radial-gradient(ellipse at 0% 0%, transparent 0 22px,#719c8e42 23px 24px,transparent 25px 36px); mask-image: linear-gradient(115deg,transparent 8%,#000 55%); }
.map-card .location-mark { color: var(--forest); }
.map-card .location-mark svg { stroke: currentColor; }
.map-embed { background: #fffdf6; color: #173b3b; padding: clamp(21px,3vw,44px); border-radius: 18px 4px; box-shadow: 0 4px 0 #a0b7a6; }
.footer-paper__identity { padding-bottom: clamp(16px,2.2vw,34px); border-bottom: 1px solid #749996; }
.footer-paper__signature { font: italic clamp(27px,3.1vw,51px)/1.08 "Instrument Serif",Georgia,serif; }
.footer-cta { background: #133a40; border-radius: 4px 22px; border: 1px solid #658989; padding: clamp(21px,3vw,42px); }
.footer-paper__top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; color: var(--forest); background: #d5e7d3; border-radius: 25px; text-decoration: none; }

/* Pointer position determines the axis of the press. No moving lights. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .depth-card { transition: transform .28s cubic-bezier(.2,.75,.2,1),box-shadow .2s ease,border-color .18s ease; }
  .profile-gallery .professional-card.depth-card { transition: transform .28s cubic-bezier(.2,.75,.2,1),box-shadow .2s ease,border-color .18s ease; }
  .depth-card.tilting { transform: perspective(860px) rotateX(var(--pitch,0deg)) rotateY(var(--yaw,0deg)) translateY(-2px); }
  .depth-card.pressed { transform: perspective(860px) rotateX(var(--pitch,0deg)) rotateY(var(--yaw,0deg)) scale(.975); transition-duration: .09s; }
  body:has(.profile-sheet[open]) .profile-gallery .professional-card { transform: none; transition: none; }
  .faq summary::after { transition: transform .2s ease-out,background-color .2s; }
  @supports (interpolate-size:allow-keywords) and selector(details::details-content) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: clip; transition: block-size .24s ease-out,content-visibility .24s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
  @supports (animation-timeline:view()) {
    .document-links>a,.participation-card,.network-group__heading,.footer-cta__brand { animation: arrive-in-catalog linear both; animation-timeline: view(); animation-range: entry 0% entry 85%; }
    @keyframes arrive-in-catalog { from { translate: 0 20px; } to { translate: 0 0; } }
  }
}
@media (max-width: 900px) {
  .profile-gallery .professional-grid { grid-template-columns: minmax(0,1fr); }
  .profile-gallery .professional-card { grid-template-columns: minmax(0,.45fr) minmax(0,1.55fr); }
}
@media (max-width: 700px) {
  .directory-cover { grid-template-columns: 1fr; border-radius: 4px 22px 0 0; }
  .directory-art { height: clamp(180px,55vw,285px); }
  .directory-cover .section-heading { padding: 21px 14px 23px 18px; gap: 12px; }
  .directory-cover h2 { font-size: clamp(30px,7.6vw,48px); }
  .directory-cover .section-heading>p { font-size: 16px; }
  .transparency-layout,.participation-shell>.section-heading { grid-template-columns: 1fr; }
  .transparency-layout { gap: 25px; }
  .transparency-heading h2 .drawn-emphasis { display: inline; }
  .participation-card .participation-symbol { width: 49px; height: 49px; margin-bottom: 20px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-layout .contact-intro { padding: 23px 14px 29px; }
}
@media (max-width: 540px) {
  .profile-gallery .professional-card { grid-template-columns: clamp(86px,27vw,134px) minmax(0,1fr); gap: 12px; padding: 14px; }
  .profile-gallery .professional-photo { grid-row: 1; align-self: center; }
  .profile-gallery .profile-title { align-self: center; }
  .profile-gallery .professional-body { grid-column: 1/-1; }
  .profile-gallery .profile-title h3 { font-size: clamp(21px,5.8vw,28px); }
  .document-links>a { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .document-icon { display: none; }
  .document-links>a>span { grid-column: 1; }
  .document-links>a>svg { grid-column: 2; }
}

/* A short photographic pin. Copy scrolls in document flow and the incoming
   chapter covers the image before the sticky element reaches its boundary. */
@media screen and (min-height: 480px) and (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pinned-cover .cover-stage { display: flow-root; }
  .pinned-cover .cover-scene {
    position: sticky; top: 0; height: 100dvh; margin-bottom: -100dvh;
  }
  .pinned-cover .cover-scene img { transform-origin: 65% 48%; }
  .pinned-cover .cover-stage::after { position: static; display: block; height: 54svh; background: none; }
  .pinned-cover + .cover-transition { position: relative; z-index: 1; margin-top: -36svh; }
}
.cover .cover-sub { color: #fff2dc; font: italic clamp(27px,2.55vw,43px)/1.06 "Instrument Serif",Georgia,serif; letter-spacing: -.012em; }
.cover-description .hero-lead { font: 430 clamp(16px,1.22vw,20px)/1.43 var(--reading); max-width: 47ch; }
.cover-description .cover-actions .btn--primary {
  gap: 15px; min-height: 52px; padding: 5px 6px 5px 20px; color: #232818; background: #f49a46;
  border: 1px solid #ffba74; border-radius: 32px; font-weight: 650; box-shadow: 0 2px 0 #8b5029;
}
.cover-description .cover-actions .btn--primary svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: #193d41; color: #fff4dc; transform: rotate(-35deg); }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .cover-description .cover-actions .btn--primary svg { transition: transform .23s cubic-bezier(.2,.75,.2,1); }
  .cover-description .cover-actions .btn--primary:is(:hover,:focus-visible) svg { transform: rotate(0); }
  .cover-description .cover-actions .btn--primary svg path { animation: none; }
  .route-guide a:hover { color: white; background: #365952; }
}
@media (max-height:520px) { .cover .cover-sub { font-size: 23px; } }

/* One brand lockup followed by the navigation and contact directory. */
.footer-signature-block {
  display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: clamp(15px,3vw,56px);
  align-items: center; color: #fffaf0;
}
.footer-signature-block .footer-paper__identity { gap: clamp(8px,1.5vw,24px); padding: 0; border: 0; }
.footer-signature-block .footer-paper__identity img { flex: 0 0 auto; width: clamp(100px,14vw,218px); height: auto; }
.footer-signature-block .footer-paper__wordmark { font-size: clamp(62px,8.2vw,138px); }
.footer-signoff { padding-left: clamp(14px,2.4vw,36px); border-left: 1px solid #77968e; }
.footer-signoff .footer-paper__signature { margin: 0 0 12px; font-size: clamp(27px,2.8vw,46px); }
.footer-rule { grid-column: 1 / -1; display: block; height: 3px; background: linear-gradient(90deg,#289d99 0 54%,#81a859 54% 80%,#eb7e1e 80%); transform-origin: left; }
.footer-main { grid-template-columns: minmax(0,.78fr) minmax(0,1.35fr) minmax(0,1fr); column-gap: clamp(22px,3.4vw,55px); }
.footer-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; align-content: start; gap: 2px 16px; }
.footer-nav .footer-heading { grid-column: 1/-1; }
.footer-nav a { min-height: 37px; padding: 6px 0; font-size: 15px; line-height: 1.32; gap: 7px; }
.footer-heading { margin-bottom: 8px; color: #d2e8d5; }
.footer-legal { margin-block: 24px 16px; }
.footer-legal p { max-width: 94ch; }
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1.14fr 1fr; row-gap: 22px; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .footer-signature-block { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .footer-signature-block .footer-paper__identity img { width: clamp(86px,23vw,144px); }
  .footer-signature-block .footer-paper__wordmark { font-size: clamp(49px,12.8vw,95px); }
  .footer-signoff { border: 0; padding: 0; }
  .footer-signoff .footer-paper__signature { margin-bottom: 6px; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: minmax(0,1fr); }
  .footer-nav a { min-height: 44px; }
}
@media (max-width: 380px) {
  .page-home .mast-inner { width: calc(100% - 24px); }
  .page-home .mast .brand { flex-shrink: 0; }
}
@media (max-width: 350px) {
  .page-home .mast .site-language svg { display: none; }
}

/* The incoming paper extends into the outgoing chapter's bottom padding.
   Its fill inherits the actual section colour, including the photographic
   handoff. The accent is painted inside the same silhouette. */
.page-home :is(main > section:not(.cover),.cover-transition > section,.site-footer) { position: relative; }
.chapter-seam {
  --hinge: 50%; --left: 12%; --middle: 36%; --right: 60%;
  --lip-left: 26%; --lip-middle: 19%; --lip-right: 12%;
  position: absolute; z-index: 1; inset: auto 0 calc(100% - 1px);
  height: var(--cut-height,clamp(36px,5vw,70px));
  background-color: inherit; pointer-events: none; transform-origin: center bottom;
  clip-path: polygon(0 var(--left),var(--hinge) var(--middle),100% var(--right),100% 100%,0 100%);
}
.chapter-seam i {
  position: absolute; inset: 0; background: var(--cut-ink,var(--orange)); transform-origin: center top;
  clip-path: polygon(0 0,100% 0,100% calc(var(--right) + var(--lip-right)),
    var(--hinge) calc(var(--middle) + var(--lip-middle)),0 calc(var(--left) + var(--lip-left)));
}
:is(.how-section,.network-section,.faq-section,.contact-section) > .chapter-seam {
  --left: 66%; --middle: 38%; --right: 10%; --lip-left: 7%; --lip-middle: 14%; --lip-right: 21%;
}
:is(.entry-section,.participation-section) > .chapter-seam {
  --cut-height: clamp(25px,3.6vw,48px); --left: 24%; --middle: 48%; --right: 72%;
  --lip-left: 9%; --lip-middle: 6%; --lip-right: 3%; --cut-ink: #789c82;
}
.botanical-band > .chapter-seam {
  --cut-height: clamp(44px,6vw,84px); --left: 2%; --middle: 30%; --right: 58%;
  --lip-left: 40%; --lip-middle: 30%; --lip-right: 20%;
}
.how-section > .chapter-seam,.faq-section > .chapter-seam { --cut-ink: var(--turquoise); }
.contact-section > .chapter-seam { --cut-ink: #76a594; }
:is(.network-section,.site-footer) > .chapter-seam {
  --hinge: 77%; --left: 58%; --middle: 8%; --right: 41%; --lip-left: 7%; --lip-middle: 22%; --lip-right: 3%;
}
.network-section > .chapter-seam { --cut-ink: #a4c5a3; }
:is(.network-section,.site-footer) > .chapter-seam::after {
  content: ''; position: absolute; inset: 0; background: var(--fold-ink,#649582);
  clip-path: polygon(var(--hinge) var(--middle),100% var(--right),var(--hinge) calc(var(--middle) + var(--lip-middle)));
}
.site-footer > .chapter-seam { --fold-ink: #c76b21; }
.manifesto > .chapter-seam { --cut-height: clamp(22px,3.4vw,48px); --cut-ink: #8db7a4; }
.cover:not(.pinned-cover) + .cover-transition .chapter-seam { display: none; }
@media (max-height:479px) { .cover-transition .chapter-seam { display: none; } }

.page-home .drawn-emphasis { position: relative; display: inline-block; max-width: 100%; }
.page-home .drawn-emphasis svg {
  display: block; pointer-events: none; position: absolute; left: 1%; bottom: -.15em;
  width: 97%; height: .18em; color: var(--turquoise); overflow: visible;
}
.page-home .drawn-emphasis path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; }
.transparency-heading .drawn-emphasis svg,.contact-intro .drawn-emphasis svg { color: #efa65f; }
.directory-art { background: #cadaac; }
@media print { .chapter-seam { display: none; } }
