@font-face {
  font-family: "Source Sans 3"; font-weight: 200 900; font-display: swap;
  src: url(/assets/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2");
}

/* The photographic masthead is exclusive to the home page. */
.page-home { --mast-height: 78px; --reading: "Source Sans 3", Arial, sans-serif; }
.page-home .mast { position: absolute; inset: 0 0 auto; color: white; background: transparent; }
.page-home .mast-inner { min-height: var(--mast-height); border-bottom: 0; }
.page-home .mast .brand { color: white; }
.page-home .mast .brand img { background: transparent; padding: 0; width: 68px; border-radius: 0; filter: drop-shadow(0 2px 4px #061c205c); }
.page-home .mast .site-language,.page-home .mast .btn--header { color: white; background: #10292da6; border-color: #ffffff79; }
.page-home .mast .contents summary { color: var(--forest); background: white; }
.page-home .mast .contents nav { color: white; }
.page-home .mast :focus-visible { outline-color: var(--orange); }
.page-home .cover-content { min-height: 100vh; min-height: 100dvh; padding-top: var(--mast-height); }
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .page-home .cover-content { min-height: 100svh; }
}
.page-home .cover-stage .folio { padding-block: 13px; border: 0; }
.cover-scene::before { content: ''; position: absolute; z-index: 1; inset: 0 0 auto; height: 130px; background: linear-gradient(#091b21a6,transparent); pointer-events: none; }

/* Keep every pixel of the documentary photos inside the aperture. */
.page-home .manifesto-grid { align-items: center; gap: clamp(30px,5vw,82px); }
.page-home .manifesto-figure { width: 100%; max-width: 530px; margin-top: 28px; }
.manifesto-image,.conversation picture { position: relative; display: block; padding: clamp(6px,.8vw,12px); border-radius: 24px 24px 24px 5px; border: 1px solid #a6c9bd; background: #365c62; box-shadow: 0 14px 34px #092c3329; }
.manifesto-image::after,.conversation picture::after { content: ''; position: absolute; pointer-events: none; inset: -2px auto auto -2px; width: 27%; height: 30%; border: 3px solid var(--orange); border-width: 3px 0 0 3px; border-radius: 24px 0 0 0; }
.manifesto-image img,.conversation img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 16px 16px 16px 3px; animation: none; }
.manifesto-figure figcaption,.conversation figcaption { font: 520 15px/1.4 var(--reading); letter-spacing: .004em; padding-left: 12px; border-left: 2px solid var(--orange); margin-top: 12px; }
.page-home .manifesto-content { align-self: center; }
.page-home .manifesto-quote-card { position: relative; border: 1px solid #729398; border-radius: 22px 22px 22px 4px; background: #143740; padding: clamp(20px,2.75vw,42px); }
.manifesto-quote-label { display: inline-flex; align-items: center; gap: 9px; background: #c7e6d4; color: #173d40; border-radius: 6px; padding: 6px 10px; letter-spacing: .08em; }
.manifesto-quote-label::before { content: '§'; font: 650 16px/1 var(--reading); }
.manifesto-quote-card blockquote { font-weight: 480; line-height: 1.16; letter-spacing: -.035em; }
.manifesto-quote-card cite { font: 530 15px/1.4 var(--reading); color: #d3e6dd; }
.page-home .manifesto-content > p { font: 420 clamp(20px,1.65vw,25px)/1.5 var(--reading); letter-spacing: -.013em; color: #f3f8f5; }
.statute-grid article { grid-template-columns: 6em 1fr; align-items: baseline; padding-block: 16px; gap: 12px; }
.statute-grid article span { justify-self: start; border: 1px solid #91aca6; padding: 4px 9px; color: white; border-radius: 6px; font: 600 13px/1.3 var(--reading); }
.statute-grid p { font: 425 18px/1.43 var(--reading); color: #e5f2ed; }

.how-section { background: #f7f6ed; }
.how-layout { align-items: start; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); gap: clamp(26px,5vw,82px); }
.how-intro .section-heading { max-width: 590px; }
.how-intro .section-heading>p:last-child,.how-intro .hero-open-note { font: 440 clamp(18px,1.4vw,21px)/1.48 var(--reading); }
.how-intro .conversation { margin: 24px 0 16px; }
.conversation picture { background: white; border-color: #a7bcb1; }
.conversation picture::after { border-color: var(--turquoise); }
.clarity-panel { padding: clamp(18px,1.8vw,28px); background: #e6eee0; border: 1px solid #cbdac4; border-radius: 16px; margin-top: 20px; }
.clarity-panel ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.clarity-panel li { display: flex; gap: 10px; align-items: baseline; }
.clarity-panel li::before { content: ''; display: inline-block; inline-size: 1em; block-size: 1em; flex: none; background: #34651d; mask: url(/assets/icons/check.svg) center / contain no-repeat; }
.steps { position: relative; align-self: stretch; display: grid; align-content: center; gap: 14px; }
.step { position: relative; isolation: isolate; display: grid; grid-template-columns: 50px 1fr; align-items: start; gap: 15px; border: 1px solid #cdd8ce; background: white; border-radius: 19px; padding: clamp(17px,2vw,32px); box-shadow: 0 4px 16px #254b3c08; }
.step-number { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px 15px 15px 4px; background: var(--forest); color: white; font: 570 22px/1 var(--type); }
.step-icon { display: flex; gap: 7px; align-items: center; font: 630 11px/1.5 var(--type); letter-spacing: .09em; color: #365953; }
.step-icon svg { width: 18px; height: 18px; }
.step h3 { font-size: clamp(23px,2.1vw,35px); margin: 9px 0; }
.step-content>p { font: 430 18px/1.45 var(--reading); }

.transparency-section { background: #e5eeeb; }
.transparency-layout { display: block; }
.transparency-heading { display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 6vw; align-items: end; }
.transparency-heading .eyebrow { grid-column: 1 / -1; }
.transparency-heading h2 { max-width: 16ch; }
.document-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; margin-top: 32px; }
.document-links>a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: start; gap: 24px; position: relative; padding: clamp(18px,2vw,31px); color: var(--forest); background: #fffeF9; border: 1px solid #c3d3ce; border-radius: 5px 24px 16px 16px; box-shadow: 0 5px 14px #163d370b; }
.document-links>a::before { content: ''; position: absolute; inset: -4px auto auto -1px; width: 32%; height: 6px; border-radius: 5px 5px 0 0; background: var(--turquoise); }
.document-links>a:nth-child(2)::before { background: var(--green); }
.document-links>a:nth-child(3)::before { background: var(--orange); }
.document-icon,.participation-symbol { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #e1efeb; color: var(--forest); }
.document-icon svg,.participation-symbol svg { width: 26px; height: 26px; }
.document-links>a>span { grid-row: 2; grid-column: 1/-1; }
.document-links>a>svg { grid-column: 2; grid-row: 1; }
.document-links small { color: #426260; font: 590 12px/1.3 var(--reading); letter-spacing: .045em; text-transform: uppercase; }
.document-links strong { margin: 8px 0; }
.document-links a>span>span { font: 430 17px/1.4 var(--reading); color: #385150; }
.faq-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; }
.faq-intro>p:not(.eyebrow) { margin-top: 16px; }
.faq-intro .text-link,.map-open,.participation-link { display: inline-flex; gap: 10px; align-items: center; padding: 10px 15px; min-height: 44px; border: 1px solid #829e96; border-radius: 11px; text-decoration: none; color: var(--forest); font-weight: 600; }
.faq-intro .text-link { margin-top: 20px; }
.faq { display: grid; gap: 9px; }
.faq details { margin: 0; padding: 0 18px; border: 1px solid #c7d5ce; border-radius: 14px; background: white; }
.faq summary { min-height: 62px; padding-block: 12px; font-size: clamp(17px,1.5vw,22px); line-height: 1.3; }
.faq summary>span:empty { display:none; }
.faq details[open] { border-color: #7b9f96; background: #eaf3ef; }
.faq details[open] summary { margin-bottom: 0; color: var(--forest); }
.faq details[open]>div { padding: 2px 0 20px; font: 425 18px/1.48 var(--reading); }
.participation-section { background: #ebeee0; }
.participation-grid { gap: 14px; }
.participation-card { display: flex; flex-direction: column; align-items: start; border: 1px solid #bdcdbb; border-radius: 21px; background: #fafbf4; padding: clamp(20px,2.3vw,36px); }
.participation-card .participation-symbol { display: grid; color: white; background: var(--forest); margin-bottom: 26px; }
.participation-card:nth-child(2) .participation-symbol { background: #cde5ca; color: #294c22; }
.participation-card:nth-child(3) .participation-symbol { background: #f8cfaa; color: #654023; }
.participation-card p { font: 430 18px/1.45 var(--reading); padding-bottom: 20px; }
.participation-link { margin-top: auto; }
.participation-note { color: #334d42; }

/* Portrait gallery and the native, keyboard-accessible profile sheet. */
.profile-gallery .professional-grid { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: clamp(14px,1.8vw,28px); }
.profile-gallery .professional-card { display: flex; flex-direction: column; border-color: #bdcfc6; border-radius: 20px 20px 20px 5px; background: #fffffd; }
.profile-gallery .profile-head { display: block; padding: 0; border: 0; background: none; }
.profile-gallery .professional-photo { position: relative; margin: 8px 8px 0; }
.profile-gallery .professional-photo img { display: block; width: 100%; border-radius: 14px 14px 4px 4px; }
.profile-gallery .professional-photo span { position: absolute; bottom: 10px; left: 10px; padding: 4px 10px; margin: 0; background: #173b42ee; color: white; border-radius: 20px; font-size: 12px; }
.profile-gallery .profile-title { padding: 20px 19px 10px; }
.profile-gallery .profile-title h3 { font-size: clamp(22px,1.9vw,31px); line-height: 1.08; }
.profile-gallery .professional-role { font-size: 11px; color: #345e57; letter-spacing: .065em; }
.profile-gallery .professional-reg { background: #edf4ed; border-color: #cbd8ce; }
.profile-gallery .professional-body { display: flex; flex: 1; flex-direction: column; align-items: stretch; padding: 0 19px 17px; }
.profile-gallery .professional-body > p { font: 435 17px/1.4 var(--reading); margin: 4px 0 17px; }
.profile-gallery .professional-card .profile-more { display: none; }
.profile-open { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; border: 0; padding: 10px 12px 10px 15px; border-radius: 10px; min-height: 44px; background: var(--forest); color: white; font: 580 14px/1.25 var(--type); }
.profile-open::after { content: ''; display: inline-block; inline-size: 1em; block-size: 1em; flex: none; background: currentColor; mask: url(/assets/icons/arrow-up-right.svg) center / contain no-repeat; }
.profile-sheet {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; border: 0; padding: 0; color: var(--ink); background: transparent; overflow: clip;
}
.profile-sheet[open] { display: grid; place-items: center; }
.profile-sheet::backdrop { background: transparent; }
.sheet-scrim { position: absolute; inset: 0; background: #09252dc7; }
.sheet-panel {
  position: relative; display: grid; grid-template-rows: auto minmax(0,1fr);
  width: min(550px,calc(100% - 32px)); max-height: 84%; overflow: hidden;
  background: var(--paper); border-radius: 23px; box-shadow: 0 24px 90px #071e315c;
}
.portrait-flight {
  position: absolute; z-index: 2; top: 0; left: 0; width: var(--flight-width); max-width: none;
  aspect-ratio: 4/5; height: auto; object-fit: cover; object-position: var(--sheet-focal);
  transform-origin: top left; border-radius: 11px; pointer-events: none;
}
body:has(.profile-sheet[open]) { overflow: hidden; }
.profile-sheet header { position: relative; padding: 32px 65px 25px 26px; background: var(--forest); color: white; }
.sheet-role { color: #cce9db; font: 600 12px/1.4 var(--type); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }
.profile-sheet h2 { font: 565 clamp(27px,4vw,42px)/1.05 var(--type); letter-spacing: -.045em; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: #315963; border: 1px solid #a0b8bc; color: white; display: grid; place-items: center; }
.sheet-content { overflow-y: auto; overscroll-behavior: contain; padding: 24px; font: 440 18px/1.5 var(--reading); }
.sheet-content summary { font: 640 15px/1.4 var(--type); color: var(--forest); padding: 8px 0; }
.sheet-content .professional-contacts { display: grid; grid-template-columns: 1fr; margin-top: 18px; }
.sheet-content .professional-contact { font-family: var(--type); }
@media (min-width: 1220px) { .profile-gallery .professional-grid { grid-template-columns: repeat(4,minmax(0,1fr)); } }

/* Forms and address are separate surfaces, with the map opt-in kept intact. */
.contact-layout { align-items: start; }
.form-card,.map-card { border: 1px solid #c1d3cb; border-radius: 24px; box-shadow: 0 10px 25px #123b380b; }
.form-notice { padding: 12px 15px; background: #e4efe9; border-left-color: var(--turquoise); border-radius: 0 8px 8px 0; color: var(--forest); font: 500 16px/1.45 var(--reading); }
.form-card .field { margin-bottom: 16px; }
.form-card .field label { margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.field label span { color: #51645d; font-weight: 450; }
.form-card :is(input:not([type=checkbox]),select,textarea) { min-height: 46px; border-radius: 9px; border-color: #8da69d; padding: 11px 13px; }
.form-card small,.consent,.privacy-note { font: 445 15px/1.45 var(--reading); }
.form-card small { display: block; margin-top: 6px; color: #41584f; }
.privacy-note { padding-block: 11px; border-top: 1px solid #d3dfd7; }
.map-card { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: white; border: 0; padding: clamp(24px,3vw,48px); gap: clamp(22px,5vw,80px); }
.map-card::before { content: ''; position: absolute; pointer-events: none; z-index: -1; inset: 0; background-image: repeating-radial-gradient(ellipse at 48% 110%,transparent 0px 38px,#a7d2bd22 39px 40px,transparent 41px 62px); }
.map-card h3 { font-size: clamp(38px,4vw,62px); }
.map-card .location-address { font: 550 19px/1.5 var(--reading); margin-top: 15px; }
.map-card .location-mark { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.location-mark svg { width: 49px; height: 49px; stroke: #bbddc9; stroke-width: 2; }
.map-open { color: white; border-color: #95b6b4; background: #163d47; }
.map-embed { background: var(--paper); color: var(--ink); border-radius: 16px; padding: clamp(18px,2vw,28px); }
.map-consent h4 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.map-consent p { font: 430 17px/1.45 var(--reading); }
.map-consent a { font-size: 14px; }
.footer-paper__identity { display: flex; gap: clamp(10px,3vw,46px); align-items: center; }
.footer-paper__identity img { display: block; width: clamp(44px,8.4vw,125px); }
.footer-contact-card { display: flex; gap: 12px; align-items: center; min-height: 44px; }
.footer-contact-icon { display: grid; place-items: center; flex: none; width: 37px; height: 37px; border-radius: 12px; border: 1px solid #86a6a8; background: #244e58; color: #e0f0e7; }
.footer-contact-icon svg { display: block; width: 19px; height: 19px; }
.footer-contact-copy small { color: #c8e1d7; font-size: 12px; }
.footer-contact-copy strong { font-weight: 550; overflow-wrap: anywhere; }
.footer-nav a { text-decoration: none; width: fit-content; }
.footer-principles span { padding: 3px 9px; border-radius: 20px; border: 1px solid #82a29f; font-size: 13px; }
.footer-legal { display: flex; gap: 15px; align-items: start; }
.footer-legal-icon { flex: none; display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #a6c9bd; color: #c6eadb; border-radius: 50%; font-family: Georgia,serif; }
.footer-legal p { font: 430 16px/1.5 "Source Sans 3",sans-serif; color: #e1eeea; margin-top: 5px; }
@media (hover:hover) and (pointer:fine) {
  .page-home .mast :is(.site-language,.btn--header):hover { background: #153939; }
  .profile-open:hover,.map-open:hover { background: #0c323c; }
  .document-links>a:hover { background: white; border-color: #73998a; }
  .participation-link:hover,.faq-intro .text-link:hover { background: #daeadf; }
  .footer-nav a:hover,.footer-contact-card:hover strong { text-decoration: underline; }
}
@media (prefers-reduced-motion:no-preference) {
  .document-links>a,.participation-link,.profile-open { transition: background-color .18s ease,border-color .18s ease; }

}
@media (max-width: 880px) {
  .profile-gallery .professional-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .document-links { gap: 10px; }
}
@media (max-width: 700px) {
  .page-home { --mast-height: 64px; }
  .page-home .mast .brand img { width: clamp(38px,10vw,52px); }
  .page-home .manifesto-grid,.how-layout,.faq-layout,.transparency-heading { grid-template-columns: minmax(0,1fr); }
  .page-home .manifesto-figure { margin-top: 20px; }
  .statute-grid article { grid-template-columns: 5.2em 1fr; }
  .how-layout { gap: 24px; }
  .step { grid-template-columns: 40px minmax(0,1fr); gap: 13px; }
  .step-number { width: 40px; height: 40px; font-size: 18px; }
  .document-links { grid-template-columns: minmax(0,1fr); margin-top: 24px; gap: 13px; }
  .document-links>a { grid-template-columns: 42px minmax(0,1fr) 18px; grid-template-rows: auto; gap: 12px; padding: 18px 14px; }
  .document-links>a>span { grid-column: 2; grid-row: 1; }
  .document-links>a>svg { grid-column: 3; }
  .document-icon { width: 42px; height: 42px; }
  .sheet-panel { align-self: end; width: 100%; max-height: 92%; border-radius: 23px 23px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 550px) {
  .profile-gallery .professional-grid { grid-template-columns: minmax(0,1fr); }
  .profile-gallery .profile-head { display: grid; grid-template-columns: clamp(106px,30vw,150px) minmax(0,1fr); align-items: center; gap: 14px; padding: 12px; }
  .profile-gallery .professional-photo { margin: 0; }
  .profile-gallery .professional-photo img { border-radius: 10px; }
  .profile-gallery .professional-photo span { bottom: 5px; left: 5px; padding: 2px 7px; font-size: 10px; }
  .profile-gallery .profile-title { padding: 0; }
  .profile-gallery .profile-title h3 { font-size: clamp(21px,5.3vw,27px); }
  .profile-gallery .professional-reg { margin-top: 7px; }
  .profile-gallery .professional-body { padding: 3px 13px 13px; }
  .profile-gallery .professional-body>p { margin-bottom: 12px; }
}
@media print {
  .page-home .mast { position: static; color: var(--ink); }
  .profile-gallery .professional-card .profile-more { display: block; }
  .profile-open,.profile-sheet { display: none; }
}
.sheet-register { display: inline-block; color: #f1f6ef; border: 1px solid #99b4ae; border-radius: 6px; padding: 3px 9px; margin-top: 13px; font: 560 13px/1.4 var(--type); }
@media (prefers-reduced-motion:no-preference) and (hover:hover) {
  .profile-gallery .professional-card { transition: border-color .18s ease,box-shadow .18s ease; }
  .profile-gallery .professional-card:is(:hover,:focus-within) { border-color: #72978e; box-shadow: 0 7px 18px #1d455015; }
}
/* Scroll draws the mount and the route markers; the photos never zoom or crop. */
@media (min-width: 901px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .manifesto-image::after,.conversation picture::after { animation: trace-corner linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes trace-corner { from { clip-path: inset(0 75% 85% 0); } to { clip-path: inset(0); } }
  }
}

/* The photograph owns the full opening viewport; the next chapter inherits its shadows. */
.cover-transition { background: var(--forest); }
.cover-stage::after { content: ""; position: absolute; inset: auto 0 -1px; height: clamp(22px,5vh,56px); pointer-events: none; background: linear-gradient(transparent,var(--forest)); }
.page-home .cover-transition > .manifesto { padding-block: clamp(44px,5.4vw,86px) var(--space); }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.cover-actions .hero-next { color: white; font: 550 14px/1.2 var(--type); padding-block: 12px; min-height: 44px; }
.cover-actions .hero-next svg { color: var(--orange); transform: rotate(90deg); }
.page-home .cover-stage .cover-copy { padding-bottom: clamp(8px,2.4vh,32px); }
.manifesto-title .trust-list { margin-top: 18px; gap: 7px 17px; font: 530 15px/1.4 var(--reading); color: #e4f2e9; }
.manifesto-title .trust-list li::before { color: #f59c50; }
@media(max-height:520px) {
  .page-home .cover-copy { padding-top: 10px; }
  .page-home .cover h1 { font-size: clamp(45px,12vh,72px); }
  .page-home .cover-content { padding-bottom: 20px; }
}
@media print {
  .page-home .cover-content { min-height: 0; }
}

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .cover-actions .btn,.profile-open { position: relative; isolation: isolate; overflow: hidden; }
  .cover-actions .btn::before,.profile-open::before {
    content: ''; position: absolute; z-index: -1; inset: -1px; background: #ffac65; border-radius: inherit;
    transform: translateX(-105%) skewX(-10deg); transform-origin: bottom left;
    transition: transform .32s cubic-bezier(.22,.75,.2,1);
  }
  .profile-open::before { background: #27616a; }
  :is(.cover-actions .btn,.profile-open):is(:hover,:focus-visible)::before { transform: translateX(0) skewX(0); }
  .cover-actions .btn:is(:hover,:focus-visible) svg path { animation: arrow-through .36s cubic-bezier(.25,.7,.2,1); }
  @keyframes arrow-through { 0%,100% { transform: translateX(0); opacity: 1; } 45% { transform: translateX(18px); opacity: 0; } 46% { transform: translateX(-18px); opacity: 0; } }
  .document-icon,.document-links>a>svg,.mast .site-language svg,.profile-open::after { transition: transform .25s cubic-bezier(.2,.75,.2,1); }
  .document-links>a:is(:hover,:focus-visible) .document-icon { transform: translateY(-2px) rotate(-6deg); }
  .document-links>a:is(:hover,:focus-visible)>svg { transform: translateX(3px); }
  .mast .site-language:is(:hover,:focus-visible) svg { transform: rotate(-18deg); }
  .profile-open:is(:hover,:focus-visible)::after { transform: translate(2px,-2px); }
  .cover-actions .hero-next svg { transition: transform .25s ease-out; }
  .cover-actions .hero-next:is(:hover,:focus-visible) svg { transform: translateY(3px) rotate(90deg); }
}
@media (max-height:620px) {
  .page-home .cover-copy { padding-top: 12px; }
  .page-home .cover-sub { margin-top: 12px; }
  .page-home .cover-content { padding-bottom: 12px; }
}
@media (max-height:460px) and (min-width:701px) {
  .page-home { --mast-height: 56px; }
  .page-home .cover-stage .folio { padding-block: 5px; }
  .page-home .cover-description { max-width: 63ch; }
  .page-home .hero-lead { margin-bottom: 9px; }
  .page-home .cover-copy { padding-block: 5px; }
}

/* End the sticky index at the last chapter, before the closing note. */
.chapter-rail { align-self: stretch; min-width: 0; }
.page-home .mast .brand { gap: 9px; }
.page-home .mast .brand b { font-size: clamp(23px,2.45vw,36px); }

/* The leaves use the published footer's silhouette, rotation and colour sequence. */
.footer-nav a { display: inline-flex; align-items: baseline; gap: 11px; }
.footer-nav a::before { content: ''; display: block; align-self: flex-start; margin-top: .56em; flex: 0 0 12px; width: 12px; height: 7px; border-radius: 100% 0 100% 0; background: var(--nav-leaf,#28a69e); transform: rotate(-22deg); }
.footer-nav a:nth-of-type(3n + 2) { --nav-leaf: #f28b22; }
.footer-nav a:nth-of-type(3n) { --nav-leaf: #579c31; }

/* A single action covers the portrait and the card; the image stays registered
   to the same 4:5 frame when the original node travels to the reading sheet. */
.profile-gallery .professional-card { position: relative; isolation: isolate; }
.profile-gallery .professional-photo { aspect-ratio: 4 / 5; }
.profile-gallery .profile-open {
  position: static; isolation: auto; overflow: visible; background: transparent;
  padding: 10px 0 0; border-top: 1px solid #ccdcd4; border-radius: 0; color: var(--forest);
}
.profile-gallery .profile-open::before { content: none; }
.profile-hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; cursor: pointer; }
.profile-gallery .profile-open::after { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: white; }
.profile-gallery .professional-card:focus-within { outline: 2px solid var(--forest); outline-offset: 3px; }
.profile-gallery .profile-open:focus-visible { outline: none; box-shadow: none; }
.profile-sheet header { display: grid; grid-template-columns: clamp(84px,25vw,122px) minmax(0,1fr); align-items: end; gap: 17px; padding: 24px; }
.sheet-photo { width: 100%; aspect-ratio: 4/5; align-self: end; }
.sheet-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--sheet-focal,center); border-radius: 12px 12px 4px 4px; }
.sheet-identity { min-width: 0; padding-top: 34px; }
.profile-sheet h2 { font-size: clamp(23px,3vw,34px); overflow-wrap: anywhere; }
.sheet-identity .sheet-role { margin-bottom: 6px; }

/* Publication folders and entry cards unfold around their existing marks. */
.document-links>a { isolation: isolate; }
.document-links>a::after { content: ''; position: absolute; pointer-events: none; top: 0; right: 0; width: 30px; height: 30px; border-radius: 0 0 0 7px; background: linear-gradient(45deg,#deebe2 48%,#c5d6ce 51%,#e5eeeb 53%); transform-origin: top right; transform: scale(.55); }
.document-links>a>svg { margin: 4px 8px 0 0; }

@media (prefers-reduced-motion:no-preference) {
  .footer-nav a::before,.entry-mark,.entry-card::before,.entry-card::after,.entry-arrow svg,.document-links>a::after {
    transition: transform .32s cubic-bezier(.22,.77,.2,1),border-radius .3s ease;
  }
  .entry-card::after { transition-delay: .035s; }
  .entry-card:is(:focus-visible,:active) .entry-mark { transform: rotate(-6deg); }
  .footer-nav a:focus-visible::before { transform: rotate(18deg) scale(1.1); }
  .document-links>a:focus-visible::after { transform: scale(1); }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .footer-nav a:hover::before { transform: rotate(18deg) scale(1.1); }
  .entry-card:hover .entry-mark { transform: translateY(-2px) rotate(-6deg); border-radius: 18px 18px 18px 5px; }
  .entry-card:hover::before { transform: translate(-6%,-1%) rotate(8deg); }
  .entry-card:hover::after { transform: translate(-12%,6%) rotate(38deg); }
  .entry-card--professional:hover::before { transform: translate(-8%,2%) rotate(-36deg); }
  .entry-arrow { overflow: hidden; }
  .entry-card:hover .entry-arrow svg { animation: route-arrow .34s cubic-bezier(.22,.7,.2,1); }
  @keyframes route-arrow { 43% { transform: translate(80%,-80%); opacity: 0; } 44% { transform: translate(-80%,80%); opacity: 0; } 100% { transform: none; opacity: 1; } }
  .document-links>a:hover::after { transform: scale(1); }
  .profile-gallery .professional-card:hover .profile-open::after { transform: rotate(45deg); background: #28675f; }
}
@media (max-width: 380px) {
  .page-home .mast .brand { gap: 4px; }
  .page-home .mast .brand b { font-size: 20px; }
  .profile-sheet header { padding: 17px; column-gap: 12px; }
}

/* Secondary pages share a tab treatment and reading width with the home gallery. */
.legal-nav,.term-shortcuts { align-items: center; gap: 6px 8px; }
.legal-nav a,.term-shortcuts a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid currentColor; border-radius: 10px; line-height: 1.3; font-size: 14px; font-weight: 560; text-decoration: none; }
.legal-nav [aria-current=page] { color: var(--forest); background: #e6f3e8; border-color: #e6f3e8; }
.term-shortcuts a { color: var(--forest); border-color: #b5c9bf; background: white; }
.legal-topic p,.registration-hint,.registration-preparation p,.term-step p,.term-instructions { font-family: "Source Sans 3",Arial,sans-serif; font-size: 18px; line-height: 1.52; }
.legal-topic:target,.term-step:target { border-top-color: var(--turquoise); }
.registration-page fieldset,.term-step,.registration-preparation { background: #fffefa; border: 1px solid #c6d6cd; border-radius: 17px; padding: clamp(17px,2.5vw,32px); margin-block: 20px; }
.registration-page legend { background: var(--forest); color: white; border-radius: 7px; padding: 5px 12px; }
.registration-grid { gap: 16px; }
.registration-grid input:not([type=checkbox]),.registration-grid select { margin-top: 4px; border-radius: 8px; }
.term-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 12px; }
.term-options>div { padding: 18px; background: #edf3ec; border-radius: 12px; }
.term-options h3 { font-size: 23px; }
@media (hover:hover) {
  .term-shortcuts a:hover { background: #e0eee4; }
  .legal-nav a:not([aria-current]):hover { background: #315964; }
}
.mast .brand img { width: 68px; padding: 0; background: transparent; }
.mast .brand b { font-size: clamp(23px,2.45vw,36px); }
.page-legal .manifesto .legal-request { color: #141210; background: var(--orange); border-color: var(--orange); }
@media (max-width: 700px) { .mast .brand img { width: clamp(38px,10vw,52px); } }
@media (max-width: 380px) { .mast .brand b { font-size: 20px; } }

.care-route .steps { display: grid; align-content: start; gap: 16px; }
.care-route .step { display: block; padding: 0; border: 0; background: none; box-shadow: none; scroll-margin-block-start: calc(42vh - 20px); }
.care-route .step-content { padding: clamp(17px,2vw,33px); border: 1px solid #c7d3c8; border-radius: 4px 22px 22px 4px; background: #fffefa; }
.care-route .is-current .step-content { border-color: #78998d; box-shadow: inset 3px 0 #35776b; }
.contact-layout { gap: clamp(18px,3.4vw,54px); }
.contact-intro,.form-card { min-width: 0; }
.contact-intro {
  position: relative; isolation: isolate; overflow: clip; padding: clamp(24px,3.4vw,56px);
  color: #f5faf3; background: var(--forest); border-radius: 5px 30px 5px 30px;
}
.contact-lines {
  position: absolute; z-index: -1; pointer-events: none; inset: -75px -80px auto auto;
  width: clamp(190px,17vw,280px); aspect-ratio: 1; border-radius: 46% 0 46% 0;
  background: repeating-radial-gradient(ellipse at 100% 0%,transparent 0 11px,#78c5b751 12px 13px,transparent 14px 20px);
}
.contact-intro > .eyebrow { display: flex; align-items: center; gap: 10px; color: #cde7c9; margin: 0 0 23px; }
.contact-intro > .eyebrow::before { content: ''; width: 20px; height: 5px; border-radius: 4px 0; background: var(--orange); }
.contact-intro h2 { font-size: clamp(42px,5.2vw,85px); max-width: 10ch; }
.contact-intro .drawn-emphasis { color: #c8e3bc; }
.contact-intro > h2 + p { max-width: 38ch; color: #d9e9e5; font: 440 clamp(18px,1.55vw,23px)/1.46 var(--reading); }
.contact-info { margin-top: clamp(24px,3vw,40px); gap: 10px; }
.contact-info > div {
  position: relative; align-items: center; grid-template-columns: 38px minmax(0,1fr);
  gap: 2px 14px; border-color: #6d8d91; margin-top: 8px; padding: 15px 0 0;
}
.contact-channel-icon { grid-row: span 2; width: 36px; height: 36px; padding: 7px; color: #d1ead8; border: 1px solid #75979a; border-radius: 12px 12px 4px 12px; }
.contact-info > div > span { font: 600 12px/1.45 var(--type); text-transform: uppercase; letter-spacing: .08em; color: #c1dbcf; }
.contact-info address { font: 500 clamp(16px,1.3vw,20px)/1.4 var(--reading); }
.contact-info .contact-link {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px;
  min-height: 62px; padding: 10px clamp(10px,1.4vw,20px);
  border: 1px solid #729699; border-radius: 14px 14px 6px 14px;
  background: #ffffff0c; color: #f5faf3; text-decoration: none;
}
.contact-link .contact-channel-icon { grid-row: auto; background: #102f3a73; }
.contact-link-copy { display: grid; gap: 4px; }
.contact-link-copy strong { font: 700 16px/1.15 var(--type); }
.contact-link-copy > span { color: #d5e6e1; font: 500 15px/1.25 var(--reading); }
.contact-info .contact-link--whatsapp {
  min-height: 80px; margin-bottom: 4px; border-color: #effbd6;
  background: linear-gradient(115deg,#effbd6,#cbe996 70%,#afd986);
  color: #173b32; box-shadow: inset 0 1px #fff9, 0 8px 20px #0b272f66;
}
.contact-link--whatsapp .contact-channel-icon {
  width: 42px; height: 42px; padding: 9px; color: #e8f8cf; border-color: #254d41; background: #254d41;
}
.contact-link--whatsapp .contact-link-copy strong { font-size: clamp(17px,1.55vw,22px); }
.contact-link--whatsapp .contact-link-copy > span { color: #305347; }
.contact-info .contact-link:focus-visible { outline: 3px solid #f7ac65; outline-offset: 3px; }
@media (hover:hover) {
  .contact-info .contact-link:hover { background: #ffffff20; border-color: #c1ded6; }
  .contact-info .contact-link--whatsapp:hover { background: linear-gradient(115deg,#f8ffe9,#ddf4b4 70%,#c7eaa4); border-color: #f8ffe9; }
}
@media (prefers-reduced-motion:no-preference) {
  .contact-info .contact-link { transition: transform .16s ease-out, border-color .16s ease-out; }
  .contact-info .contact-link:active { transform: scale(.98); }
}
.form-card {
  --form-inset: clamp(21px,3vw,46px); position: relative; padding: var(--form-inset);
  background: #fffefa; border-radius: 22px 5px 22px 5px; box-shadow: 0 12px 34px #173e3410;
}
.form-heading { position: relative; padding-bottom: 20px; border-bottom: 1px solid #b6cec2; }
.form-heading .form-label { color: #386658; margin-bottom: 12px; }
.form-heading h3 { font-size: clamp(29px,3.3vw,52px); color: var(--forest); }
.form-heading .form-intro { font: 440 18px/1.45 var(--reading); max-width: 44ch; margin-bottom: 0; }
.form-rule { position: absolute; left: 0; bottom: -2px; width: 32%; height: 4px; border-radius: 3px; transform-origin: left; background: linear-gradient(90deg,var(--forest) 0 55%,var(--turquoise) 55% 81%,var(--orange) 81%); }
.form-notice { margin-block: 21px; }
.form-card .field label { color: #1d4541; }
.form-card .field :is(input,select,textarea) { background-color: white; border-color: #95aea5; font-size: 16px; }
.form-card .field :is(input,select,textarea):disabled { color: #62766d; background-color: #f5f7f2; }
.form-card .field:focus-within label { color: #135b55; }
.form-card .consent { align-items: start; padding: 13px; background: #eef3ed; border-radius: 9px; }
.form-card .consent input { margin-top: 4px; accent-color: var(--forest); }
@media (min-width: 901px) and (min-height: 780px) {
  .contact-intro { position: sticky; top: 18px; }
}
@media (max-width: 700px) {
  .contact-intro h2 { max-width: 12ch; }
}
@media (max-height: 480px) {
  .sheet-panel { max-height: 96%; }
  .profile-sheet header { grid-template-columns: 65px minmax(0,1fr); padding: 10px 60px 10px 16px; }
  .sheet-identity { padding-top: 0; }
  .sheet-register { margin-top: 5px; }
}
