/* DeSpiegel theme styles */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--deep: #0d3b2a;
	--deep-2: #124a35;
	--green: #1c7a4c;
	--green-dark: #166340;
	--yellow: #f6c51c;
	--yellow-dark: #dcae0b;
	--mist: #edf4ef;
	--ink: #10231b;
	--muted: #4f6158;
	--line: #d5e2da;
	--white: #fff;
	--error: #b3261e;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(13, 59, 42, .06), 0 10px 30px -12px rgba(13, 59, 42, .22);
	--font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--green-dark); text-underline-offset: .18em; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--deep); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 650; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .section--deep :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }
.wrap--form { max-width: calc(480px + var(--gutter) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--deep); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 .9em; display: flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; }
.eyebrow--light { color: #cfe6d8; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 650 1rem/1.2 var(--font-body); padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn .icon { transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: .6em 1.05em; font-size: .93rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--deep); color: var(--white); }
.btn--yellow { background: var(--yellow); color: var(--deep); }
.btn--yellow:hover { background: var(--white); color: var(--deep); }
.btn--deep { background: var(--deep); color: var(--white); }
.btn--deep:hover { background: var(--white); color: var(--deep); }
.btn--light { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn--outline { border-color: var(--green); color: var(--green-dark); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 59, 42, .5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; transition: min-height .2s ease; }
.is-scrolled .site-header__inner { min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep); }
.brand__logo { height: 48px; width: auto; display: block; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(90deg, var(--green) 50%, var(--yellow) 50%); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font: 750 1.3rem var(--font-head); color: var(--green-dark); letter-spacing: -.02em; }
.brand__text span { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav .menu a { display: block; padding: .55em .85em; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a, .site-nav .menu .current_page_item > a { background: var(--mist); color: var(--green-dark); }
.site-nav .menu li { position: relative; }
.site-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease; }
.site-nav .menu li:hover > .sub-menu, .site-nav .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font-size: .8rem; font-weight: 700; padding: .3em .7em; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang a[aria-current] { background: var(--deep); color: var(--white); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 20px; height: 2px; background: var(--deep); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; display: none; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: .8em .6em; font-size: 1.05rem; border-radius: 10px; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.site-nav__tools { justify-content: space-between; }
}

/* Hero */
.hero { background: var(--deep); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, rgba(28, 122, 76, .55), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 9vw, 120px); }
.hero__title { color: var(--white); font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.02; }
.hero__intro { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: #dbeae1; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.hero__award { margin-top: 2em; font-size: .9rem; color: #b9d3c4; }
.hero__visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.mirror { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); transform: rotate(var(--tilt, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mirror__half { position: absolute; top: 0; bottom: 0; width: 50%; }
.mirror__half--a { left: 0; background: linear-gradient(160deg, #2a9a63, var(--green)); }
.mirror__half--b { right: 0; background: linear-gradient(200deg, #ffd84a, var(--yellow)); }
.mirror__half--a::after, .mirror__half--b::after { content: ""; position: absolute; top: 50%; width: 46%; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); }
.mirror__half--a::after { right: 14%; background: rgba(255, 255, 255, .2); }
.mirror__half--b::after { left: 14%; background: rgba(13, 59, 42, .16); }
.mirror__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--white); }
.float { position: absolute; background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; min-width: 150px; animation: bob 7s ease-in-out infinite; }
.float__label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.float__text { font-weight: 650; font-size: .95rem; line-height: 1.25; }
.float__bars { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.float__bars i { width: 12px; border-radius: 3px 3px 0 0; background: var(--green); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.float__bars i:nth-child(1) { height: 40%; }
.float__bars i:nth-child(2) { height: 65%; animation-delay: .1s; }
.float__bars i:nth-child(3) { height: 50%; animation-delay: .2s; background: var(--yellow); }
.float__bars i:nth-child(4) { height: 100%; animation-delay: .3s; }
.float--1 { left: -2%; top: 12%; }
.float--2 { right: -2%; top: 40%; animation-delay: -2.5s; min-width: 0; }
.float--3 { left: 12%; bottom: 6%; animation-delay: -4.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes grow { from { transform: scaleY(0); } }
@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 320px; order: -1; margin-bottom: -12px; }
	.float { padding: 9px 12px; min-width: 0; }
	.float__text { font-size: .82rem; }
}

/* Page hero */
.page-hero { background: var(--deep); color: var(--white); padding-block: clamp(44px, 7vw, 88px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: 50%; width: 320px; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); background: linear-gradient(90deg, rgba(28, 122, 76, .7) 50%, rgba(246, 197, 28, .85) 50%); opacity: .5; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 18em; margin-bottom: .3em; }
.page-hero__intro { font-size: 1.2rem; color: #dbeae1; max-width: 40em; margin: 0; }
@media (max-width: 700px) { .page-hero::after { width: 180px; right: -90px; opacity: .35; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--mist { background: var(--mist); }
.section--deep { background: var(--deep); color: #dbeae1; }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section__head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Counters */
.counters { background: var(--yellow); }
.counters__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; padding-block: 36px; }
.counter { display: flex; flex-direction: column; }
.counter__num { font: 750 clamp(2.2rem, 4.5vw, 3.2rem)/1 var(--font-head); color: var(--deep); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.counter__label { font-weight: 600; color: #3b3306; margin-top: 6px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 18px; }
.service { padding: 22px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--green) 50%, var(--yellow) 50%); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--mist); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.service__icon .icon { width: 26px; height: 26px; }
.service p { color: var(--muted); flex: 1; }
.service__link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.service__link::before { content: ""; position: absolute; inset: 0; }
.service__link .icon { transition: transform .18s ease; }
.service:hover .service__link .icon { transform: translateX(4px); }

/* Tabs */
.tabs { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tabs__list { display: flex; gap: 4px; padding: 8px; background: var(--deep); overflow-x: auto; }
.tabs__tab { flex: 1; white-space: nowrap; font: 650 1rem var(--font-body); color: #cfe6d8; background: transparent; border: 0; border-radius: 10px; padding: .85em 1.2em; cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.tabs__tab:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.tabs__tab[aria-selected="true"] { background: var(--yellow); color: var(--deep); }
.tabs__panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(20px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); align-items: center; animation: fade .35s ease; }
.tabs__panel[hidden] { display: none; }
.tabs__panel p { color: var(--muted); margin: 0; font-size: 1.08rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 12px; background: var(--mist); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.checks .icon { color: var(--green); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 760px) { .tabs__panel { grid-template-columns: 1fr; } }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.project__media { aspect-ratio: 16 / 9; background: var(--deep); overflow: hidden; position: relative; }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover .project__media img { transform: scale(1.05); }
.project__placeholder { position: absolute; inset: 0; background: radial-gradient(circle at 78% 50%, var(--yellow) 0 17%, transparent 17.500%), radial-gradient(circle at 30% 50%, var(--green) 0 30%, transparent 30.500%), var(--deep); transition: transform .5s ease; }
.project:nth-child(3n+2) .project__placeholder { background: radial-gradient(circle at 25% 60%, var(--yellow) 0 22%, transparent 22.500%), radial-gradient(circle at 70% 40%, var(--green) 0 28%, transparent 28.500%), var(--deep-2); }
.project:nth-child(3n) .project__placeholder { background: linear-gradient(90deg, var(--green) 50%, var(--yellow) 50%) center / 46% 46% no-repeat, var(--deep); border-radius: 0; }
.project:hover .project__placeholder { transform: scale(1.06); }
.project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project__client { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: .6em; }
.project__body p:not(.project__client) { color: var(--muted); flex: 1; }
.project__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--green-dark); }
.project__more .icon { transition: transform .18s ease; }
.project:hover .project__more .icon { transform: translateX(4px); }

/* Join band */
.join__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.join__roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.join__roles li { display: flex; gap: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 22px; }
.join__roles .service__icon { background: var(--yellow); color: var(--deep); margin: 0; }
.join__roles p { margin: 0; }
.join__roles h3 { margin-bottom: .25em; }
@media (max-width: 860px) { .join__grid { grid-template-columns: 1fr; } }

/* Partners */
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.partners li { font: 650 1.05rem var(--font-head); color: var(--deep); background: var(--mist); border-radius: 999px; padding: .55em 1.1em; }
.partners a { color: inherit; text-decoration: none; }

/* CTA */
.cta { background: var(--yellow); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: clamp(36px, 6vw, 64px); }
.cta h2 { margin-bottom: .15em; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta p { margin: 0; font-size: 1.15rem; color: #3b3306; font-weight: 500; }

/* Footer */
.site-footer { background: var(--deep); color: #c5dccf; padding-top: clamp(44px, 6vw, 72px); font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h2 { font: 700 .8rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1em; }
.site-footer__name { font: 400 1.25rem var(--font-head); color: var(--white); margin-bottom: .4em; }
.site-footer__name strong { font-weight: 750; }
.site-footer__tag { max-width: 22em; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e6f1ea; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Prose */
.prose { font-size: 1.1rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--yellow); font: 500 1.3rem/1.4 var(--font-head); color: var(--deep); }
.prose img { border-radius: var(--radius); }
.prose__lead-image { width: 100%; margin-bottom: 1.5em; }
.prose--intro { max-width: 46em; margin-bottom: 40px; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.back { margin-top: 2.5em; font-weight: 700; }
.alignwide { margin-inline: clamp(-120px, -8vw, 0px); }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: .5em .9em; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--deep); color: var(--white); border-color: var(--deep); }

/* Forms */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.form p { margin: 0 0 18px; }
.form label { display: block; font-weight: 650; margin-bottom: 6px; font-size: .97rem; }
.form input:not([type="checkbox"]):not([type="radio"]), .form textarea, .filterbar input, .action-form textarea { width: 100%; font: inherit; color: var(--ink); padding: .75em .95em; border: 1.500px solid #b9cbc0; border-radius: var(--radius-sm); background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; }
.form input:focus, .form textarea:focus, .filterbar input:focus, .action-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(28, 122, 76, .16); }
.form input[disabled] { background: var(--mist); color: var(--muted); }
.form textarea { resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.hint { display: block; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute !important; left: -9999px; }
.check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; margin-bottom: 18px !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex: none; }
.form__links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: .95rem; margin: 0 !important; }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 10px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice legend { grid-column: 1 / -1; }
.choice__opt { position: relative; display: flex !important; gap: 12px; padding: 16px; border: 1.500px solid #b9cbc0; border-radius: var(--radius-sm); cursor: pointer; font-weight: 400 !important; margin: 0 !important; transition: border-color .15s ease, background-color .15s ease; }
.choice__opt:hover { border-color: var(--green); }
.choice__opt:has(input:checked) { border-color: var(--green); background: var(--mist); box-shadow: inset 0 0 0 1px var(--green); }
.choice__opt input { accent-color: var(--green); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.choice__opt strong { display: block; font-family: var(--font-head); font-size: 1.1rem; color: var(--deep); }
.choice__opt span { font-size: .93rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 600px) { .choice { grid-template-columns: 1fr; } }
.consent { background: var(--mist); border-radius: var(--radius-sm); padding: 18px 18px 6px; }
.consent .check:last-of-type { margin-bottom: 8px !important; }
.strength { display: block; height: 5px; border-radius: 3px; background: var(--line); margin-top: 8px; overflow: hidden; }
.strength i { display: block; height: 100%; width: 0; background: var(--error); transition: width .25s ease, background-color .25s ease; }

.notice { border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 22px; border: 1px solid; }
.notice h2 { font-size: 1.3rem; margin-bottom: .3em; }
.notice p:last-child, .notice ul { margin: 0; }
.notice ul { padding-left: 1.2em; }
.notice--ok { background: #e7f5ec; border-color: #a9d8ba; color: #0f4a2c; }
.notice--error { background: #fdeceb; border-color: #f1b5b0; color: #7a1a14; }
.notice--info { background: #fff7d6; border-color: #ecd270; color: #4a3d00; }
.notice--info a { font-weight: 700; margin-left: .4em; }
.empty { color: var(--muted); background: var(--mist); border-radius: var(--radius-sm); padding: 18px 20px; }

.auth { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.auth__side { background: var(--mist); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); position: sticky; top: 96px; }
.auth__side h2 { font-size: 1.35rem; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth__side { position: static; } }
.steps { list-style: none; counter-reset: s; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 48px; color: var(--muted); font-size: .97rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: var(--yellow); font: 700 1rem var(--font-head); display: grid; place-items: center; }
.steps strong { display: block; color: var(--deep); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list span { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font: 650 1.15rem var(--font-head); color: var(--deep); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }

/* Member area */
.dash { background: var(--mist); min-height: 70vh; padding-bottom: 72px; }
.dash__bar { background: var(--deep); color: var(--white); }
.dash__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.dash__who { display: flex; align-items: center; gap: 12px; line-height: 1.25; }
.dash__who strong { display: block; }
.dash__who span:not(.avatar) { font-size: .88rem; color: #b9d3c4; }
.dash__logout { color: var(--white); font-weight: 600; font-size: .95rem; }
.dash__logout:hover { color: var(--yellow); }
.dash__layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; padding-top: 32px; align-items: start; }
.dash__nav { position: sticky; top: 92px; }
.dash__nav ul { list-style: none; margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 2px; }
.dash__nav a { display: block; padding: .7em 1em; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.dash__nav a:hover { background: var(--mist); }
.dash__nav a[aria-current] { background: var(--deep); color: var(--white); }
@media (max-width: 860px) {
	.dash__layout { grid-template-columns: 1fr; gap: 20px; padding-top: 16px; }
	.dash__nav { position: static; margin-inline: calc(var(--gutter) * -1); }
	.dash__nav ul { display: flex; overflow-x: auto; border-radius: 0; border-inline: 0; padding-inline: var(--gutter); scrollbar-width: none; }
	.dash__nav a { white-space: nowrap; }
}
.dash-hello h2, .dash-head h2 { margin-bottom: .2em; }
.dash-head, .dash-hello { margin-bottom: 22px; }
.dash-head p { max-width: 46em; margin: 0; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel__head h3 { margin: 0; }
.panel__head a { font-size: .9rem; font-weight: 650; white-space: nowrap; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list a { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mini-list a:hover strong { color: var(--green-dark); text-decoration: underline; }
.dash .empty { background: transparent; padding: 8px 0; }
.dash__main > .empty { background: var(--white); padding: 18px 20px; border: 1px solid var(--line); }

.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(90deg, var(--green) 50%, var(--yellow) 50%); color: var(--white); font: 750 1.3rem var(--font-head); display: grid; place-items: center; flex: none; text-shadow: 0 1px 2px rgba(13, 59, 42, .55); }
.avatar--sm { width: 42px; height: 42px; font-size: .95rem; }

.filterbar { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.filterbar input { max-width: 340px; flex: 1 1 220px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font: 600 .92rem var(--font-body); padding: .5em 1em; border-radius: 999px; border: 1.500px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--green); }
.chip.is-active { background: var(--deep); border-color: var(--deep); color: var(--white); }

.card-list { display: grid; gap: 16px; }
.item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: start; scroll-margin-top: 100px; transition: box-shadow .2s ease, border-color .2s ease; }
.item:hover { box-shadow: var(--shadow); }
.item:target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(28, 122, 76, .18); }
.item--wide { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); }
.item.is-closed { opacity: .72; }
.item[hidden], .person[hidden] { display: none; }
.item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mist); color: var(--green-dark); display: grid; place-items: center; }
.item h3 { margin-bottom: .35em; }
.item h3 a { color: inherit; text-decoration: none; }
.item h3 a:hover { text-decoration: underline; }
.item__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.item__tags:empty { display: none; }
.tag { font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .25em .7em; border-radius: 999px; background: var(--mist); color: var(--green-dark); }
.tag--yellow { background: #fdeeb0; color: #5a4700; }
.item__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.meta { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 600; color: var(--muted); }
.meta .icon { color: var(--green); }
.item__text { color: var(--muted); font-size: 1rem; }
.item__text > :last-child { margin-bottom: 0; }
.item__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.action-form { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.action-form--stack { align-items: stretch; }
.action-form label { font-weight: 650; }
.action-form textarea { font-size: .95rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; padding: .4em .9em; border-radius: 999px; background: var(--mist); color: var(--muted); align-self: flex-start; }
.pill--ok { background: #dff3e6; color: #0f4a2c; }
.datebox { width: 64px; border-radius: 12px; overflow: hidden; text-align: center; background: var(--deep); color: var(--white); }
.datebox__day { display: block; font: 750 1.7rem/1.5 var(--font-head); }
.datebox__month { display: block; background: var(--yellow); color: var(--deep); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 0; }
@media (max-width: 700px) {
	.item, .item--wide { grid-template-columns: 1fr; }
	.item--event { grid-template-columns: auto minmax(0, 1fr); }
	.item--event .item__actions { grid-column: 1 / -1; }
	.item__icon { display: none; }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--deep); color: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow); animation: fade .25s ease; }
.toast.is-error { background: var(--error); }
.toast[hidden] { display: none; }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.person h3 { margin: 0; }
.person__role { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin: 2px 0 10px; }
.person__bio { color: var(--muted); font-size: .97rem; }
.person__facts { margin: 0 0 10px; display: grid; gap: 4px; font-size: .93rem; }
.person__facts div { display: flex; gap: 8px; }
.person__facts dt { font-weight: 700; flex: none; }
.person__facts dd { margin: 0; color: var(--muted); }
.person__mail { font-size: .93rem; font-weight: 650; overflow-wrap: anywhere; }
.people--public .person { border: 0; background: var(--mist); }

/* Scroll reveal (only when JavaScript is available) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.site-header, .site-footer, .cta, .dash__nav, .nav-toggle { display: none; }
}
