/* ==========================================================================
   Remote Roots theme styles
   Palette, fonts, spacing and layout live in theme.json.
   This file carries the custom section design: hero, cards, tabs, bands.
   ========================================================================== */

:root {
	--rr-line: rgba(246, 239, 226, .16);
	--rr-line-soft: rgba(246, 239, 226, .09);
	--rr-rad-xs: 7px;
	--rr-rad-sm: 8px;
	--rr-rad: 10px;
	--rr-rad-lg: 18px;
	--rr-sh-sm: 0 2px 6px rgba(0, 0, 0, .28), 0 8px 22px rgba(0, 0, 0, .20);
	--rr-sh-lg: 0 4px 10px rgba(0, 0, 0, .32), 0 24px 48px rgba(0, 0, 0, .34);
	--rr-ink-0: #140c07;
	--rr-ink-1: #1d130d;
	--rr-ink-2: #2b1a10;
	--rr-cream: #f6efe2;
	--rr-body: #dccfba;
	--rr-mute: #a5917c;
	--rr-rust: #86411d;
	--rr-amber: #c98a4b;
}

html { scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; position: relative; }

/* Fine grain over the whole page, same as the approved design */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 2000;
	pointer-events: none;
	opacity: .05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.admin-bar body::after { display: none; }

:focus-visible { outline: 2px solid var(--rr-amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--rr-amber); color: var(--rr-ink-1); }
img { max-width: 100%; height: auto; }

.rr-skip:focus {
	position: fixed; top: 1rem; left: 1rem; z-index: 3000;
	background: var(--rr-amber); color: var(--rr-ink-1);
	font: 700 .8rem/1 inherit; letter-spacing: .12em; text-transform: uppercase;
	padding: 1rem 1.4rem; border-radius: var(--rr-rad-sm); text-decoration: none;
}

/* ==========================================================================
   HEADER (light bar)
   ========================================================================== */
.rr-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--rr-cream);
	border-bottom: 1px solid rgba(29, 19, 13, .12);
	transition: box-shadow .3s;
}
.admin-bar .rr-header { top: 32px; }
.rr-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.rr-header .wp-block-group { color: var(--rr-ink-1); }
.rr-header .wp-block-site-logo img { width: 46px; height: 46px; mix-blend-mode: multiply; }
.rr-header .wp-block-site-title a { color: var(--rr-ink-1); text-decoration: none; }
.rr-header .wp-block-site-title a:hover { color: var(--rr-rust); }

.rr-header .wp-block-navigation {
	font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.rr-header .wp-block-navigation a { color: var(--rr-ink-1); text-decoration: none; }
.rr-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 10px 13px; border-radius: var(--rr-rad-xs); transition: background-color .25s, color .25s;
}
.rr-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	background: rgba(134, 65, 29, .1); color: var(--rr-rust);
}
.rr-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content {
	box-shadow: inset 0 -3px 0 var(--rr-rust);
}
/* dropdown */
.rr-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: #fffdf7; border: 1px solid rgba(29, 19, 13, .1);
	border-radius: var(--rr-rad); box-shadow: 0 18px 40px rgba(29, 19, 13, .28);
	padding: 8px; min-width: 255px;
}
.rr-header .wp-block-navigation .wp-block-navigation__submenu-container a { border-radius: var(--rr-rad-xs); }
.rr-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover { background: rgba(134, 65, 29, .1); }
/* mobile overlay */
.rr-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--rr-cream); color: var(--rr-ink-1); padding: 2rem;
}
.rr-header .wp-block-navigation__responsive-container.is-menu-open a { color: var(--rr-ink-1); }
.rr-header .wp-block-navigation__responsive-container-open,
.rr-header .wp-block-navigation__responsive-container-close { color: var(--rr-ink-1); }

/* Donate button in the header */
.rr-btn-donate a,
.rr-header .wp-block-button.rr-btn-donate .wp-block-button__link {
	background: var(--rr-rust); border-color: var(--rr-rust); color: var(--rr-cream);
	font-size: 11.5px; letter-spacing: .11em; padding: 12px 20px;
	box-shadow: 0 2px 10px rgba(29, 19, 13, .18);
}
.rr-btn-donate a:hover,
.rr-header .wp-block-button.rr-btn-donate .wp-block-button__link:hover {
	background: transparent; color: var(--rr-rust); transform: translateY(-2px);
}

/* Language switcher (Polylang) */
.rr-lang { display: flex; border: 1.5px solid rgba(29, 19, 13, .22); border-radius: var(--rr-rad-xs); overflow: hidden; list-style: none; margin: 0; padding: 0; }
.rr-lang li { margin: 0; }
.rr-lang a {
	display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em;
	padding: 8px 11px; color: rgba(29, 19, 13, .6); text-decoration: none; text-transform: uppercase;
	transition: background .25s, color .25s;
}
.rr-lang a:hover { background: rgba(134, 65, 29, .12); color: var(--rr-rust); }
.rr-lang .current-lang a, .rr-lang .lang-item.current-lang a { background: var(--rr-rust); color: var(--rr-cream); }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.rr-sec { position: relative; padding-block: clamp(4.5rem, 10vw, 8.75rem); overflow: clip; }
.rr-sec--tint { background: var(--rr-ink-2); }
.rr-sec--dark { background: var(--rr-ink-1); }

/* Cream sections (Partners, New Roots) */
.rr-sec--light { background: var(--rr-cream); color: rgba(29, 19, 13, .8); }
.rr-sec--light :is(h1, h2, h3, h4, p, li, strong) { color: inherit; }
.rr-sec--light :is(h1, h2, h3, h4) { color: var(--rr-ink-1); }
.rr-sec--light strong { color: var(--rr-ink-1); }
.rr-sec--light .rr-chip { color: var(--rr-rust); border-color: rgba(134, 65, 29, .4); }
.rr-sec--light .rr-rule { background: rgba(29, 19, 13, .15); }
.rr-sec--light .wp-block-button__link { background: var(--rr-rust); border-color: var(--rr-rust); color: var(--rr-cream); }
.rr-sec--light .wp-block-button__link:hover { background: transparent; color: var(--rr-rust); }
.rr-sec--light .is-style-outline .wp-block-button__link { background: transparent; color: var(--rr-rust); border-color: var(--rr-rust); }
.rr-sec--light .is-style-outline .wp-block-button__link:hover { background: var(--rr-rust); color: var(--rr-cream); }
.rr-sec--light :focus-visible { outline-color: var(--rr-rust); }

/* Section label: the small chip that acts as the heading */
.rr-sechead { display: flex; align-items: center; gap: 1.1rem; margin-bottom: clamp(1.8rem, 4vw, 2.9rem); }
.rr-chip {
	display: inline-flex; align-items: center; gap: .55rem;
	font-size: .86rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
	color: var(--rr-amber); border: 1px solid rgba(201, 138, 75, .45);
	border-radius: var(--rr-rad-xs); padding: .72rem 1.1rem; flex-shrink: 0; margin: 0;
}
.rr-rule { height: 1px; flex: 1; background: var(--rr-line); }

.rr-lead { font-size: clamp(1.2rem, 2.1vw, 1.55rem); font-weight: 500; line-height: 1.55; color: var(--rr-cream); }
.rr-sec--light .rr-lead { color: var(--rr-ink-1); }
.rr-pull {
	padding-left: 1.4rem; border-left: 3px solid var(--rr-amber); border-radius: 2px;
	font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 600; line-height: 1.4; color: var(--rr-cream);
}

/* Reveal on scroll */
.rr-rev { opacity: 0; transform: translateY(30px); transition: opacity .85s cubic-bezier(.25, .8, .25, 1), transform .85s cubic-bezier(.25, .8, .25, 1); }
.rr-rev.is-in { opacity: 1; transform: none; }
.no-js .rr-rev { opacity: 1; transform: none; }

/* ==========================================================================
   HERO (Ember Field)
   ========================================================================== */
.rr-hero { position: relative; background: var(--rr-ink-0); overflow: hidden; }
.rr-hero::before {
	content: ""; position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%);
	width: min(130vw, 1500px); aspect-ratio: 1.55; border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(201, 138, 75, .32) 0%, rgba(134, 65, 29, .22) 30%, rgba(134, 65, 29, .09) 52%, rgba(20, 12, 7, 0) 72%);
	filter: blur(12px); pointer-events: none;
}
.rr-hero > .wp-block-group,
.rr-hero .rr-hero__inner {
	position: relative; z-index: 2;
	min-height: calc(100svh - 76px);
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	padding-block: clamp(3rem, 7vh, 5rem);
}
.rr-hero h1 { text-wrap: balance; max-width: 18ch; }
.rr-hero .rr-hero__sub { max-width: 52ch; font-size: clamp(1rem, 1.4vw, 1.18rem); font-weight: 500; line-height: 1.65; color: var(--rr-body); }
.rr-hero .wp-block-buttons { justify-content: center; }

/* Drifting embers */
.rr-hero__seeds { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.rr-hero__seeds span {
	position: absolute; bottom: -3vh; left: var(--sx, 50%);
	width: calc(5px * var(--ss, 1)); height: calc(5px * var(--ss, 1));
	border-radius: 40%; background: var(--rr-amber); opacity: 0;
	animation: rr-seed var(--sd, 15s) linear infinite; animation-delay: var(--sdd, 0s);
}
@keyframes rr-seed {
	0% { transform: translate(0, 0); opacity: 0; }
	10% { opacity: .6; }
	55% { opacity: .42; }
	100% { transform: translate(var(--sxx, 40px), -108vh); opacity: 0; }
}

/* Stat chips */
.rr-statchips { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.rr-statchip {
	display: inline-flex; align-items: baseline; gap: .55rem;
	border: 1px solid var(--rr-line); border-radius: var(--rr-rad-sm);
	background: rgba(20, 12, 7, .45); padding: .75rem 1.1rem; margin: 0;
}
.rr-statchip b { font-size: 1.25rem; font-weight: 700; line-height: 1; color: var(--rr-cream); letter-spacing: -.01em; }
.rr-statchip span { font-size: .6rem; font-weight: 700; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--rr-mute); }

/* Page hero for inner pages */
.rr-pagehero { position: relative; background: var(--rr-ink-0); overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem); }
.rr-pagehero::before {
	content: ""; position: absolute; left: 50%; top: 70%; transform: translate(-50%, -50%);
	width: min(120vw, 1300px); aspect-ratio: 1.7; border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(201, 138, 75, .22) 0%, rgba(134, 65, 29, .16) 34%, rgba(20, 12, 7, 0) 72%);
	filter: blur(14px); pointer-events: none;
}
.rr-pagehero > * { position: relative; z-index: 2; }
.rr-pagehero h1 { max-width: 20ch; }

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.rr-partners { padding-block: clamp(3rem, 7vw, 5.5rem); }
.rr-plogos {
	display: grid; grid-template-columns: repeat(7, 1fr);
	gap: clamp(.6rem, 1.4vw, 1.6rem); align-items: center;
	margin-top: clamp(2rem, 4.5vw, 3rem);
}
/* No hover transform: a transform or opacity below 1 creates a stacking context,
   which cancels mix-blend-mode and brings the logos' white boxes back. The cream
   background on the tile keeps the blend correct during the reveal animation. */
.rr-plogo { background: var(--rr-cream); margin: 0; }
.rr-plogo a, .rr-plogo figure { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: .5rem; margin: 0; }
.rr-plogo img { max-height: 74px; width: auto; height: auto; mix-blend-mode: multiply; }
.rr-plogo :focus-visible { outline-color: var(--rr-rust); }
@media (max-width: 899px) { .rr-plogos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .rr-plogos { grid-template-columns: repeat(2, 1fr); } .rr-plogo a, .rr-plogo figure { min-height: 78px; } }

/* ==========================================================================
   PROJECT CARDS
   ========================================================================== */
.rr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3.5vw, 2.75rem); }
@media (max-width: 899px) { .rr-cards { grid-template-columns: 1fr; } }
.rr-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--rr-ink-1); border: 1px solid var(--rr-line);
	border-radius: var(--rr-rad); overflow: hidden; box-shadow: var(--rr-sh-sm);
	transition: transform .45s cubic-bezier(.22, .9, .3, 1), box-shadow .45s, border-color .45s;
}
.rr-card:hover { transform: translateY(-7px); box-shadow: var(--rr-sh-lg); border-color: rgba(201, 138, 75, .5); }
.rr-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--rr-ink-0); border-bottom: 1px solid var(--rr-line); margin: 0; }
.rr-card__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .8s cubic-bezier(.25, .8, .25, 1), filter .5s; }
.rr-card:hover .rr-card__img img { transform: scale(1.05); filter: saturate(1.05); }
.rr-card__body { padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.rr-card__meta { font-size: .66rem; font-weight: 700; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: var(--rr-amber); margin: 0; }
.rr-card h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 600; line-height: 1.25; }
.rr-card__cta {
	margin-top: auto; display: inline-flex; align-items: center; gap: .7rem;
	font-size: .72rem; font-weight: 700; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase;
	color: var(--rr-cream); text-decoration: none; padding-top: 1.2rem; border-top: 1px solid var(--rr-line);
	transition: color .25s;
}
.rr-card__cta:hover { color: var(--rr-amber); }
.rr-card__cta::after { content: "\2192"; transition: transform .3s; }
.rr-card__cta:hover::after { transform: translateX(6px); }

/* ==========================================================================
   COMPANY / TALENT TABS
   ========================================================================== */
.rr-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--rr-line); border-radius: var(--rr-rad) var(--rr-rad) 0 0; overflow: hidden; background: rgba(246, 239, 226, .03); }
.rr-tab {
	padding: 1.3rem 1rem; font-family: inherit; font-size: clamp(.85rem, 1.6vw, 1rem); font-weight: 600; line-height: 1.2;
	letter-spacing: .08em; text-transform: uppercase; color: var(--rr-cream);
	background: transparent; border: 0; border-right: 1.5px solid var(--rr-line); cursor: pointer;
	transition: background .25s, color .25s;
}
.rr-tab:last-child { border-right: 0; }
.rr-tab[aria-selected="true"] { background: var(--rr-amber); color: var(--rr-ink-1); }
.rr-tab:not([aria-selected="true"]):hover { background: rgba(246, 239, 226, .07); }
.rr-tabpanel {
	border: 1.5px solid var(--rr-line); border-top: 0; border-radius: 0 0 var(--rr-rad) var(--rr-rad);
	padding: clamp(1.8rem, 4vw, 3.25rem); background: rgba(246, 239, 226, .02);
}
.rr-tabpanel[hidden] { display: none; }
.rr-tabpanel.is-entering { animation: rr-panel .55s cubic-bezier(.25, .8, .25, 1); }
@keyframes rr-panel { from { opacity: 0; transform: translateY(16px); } }
.rr-tabgrid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.8rem, 4.5vw, 4rem); }
@media (max-width: 899px) { .rr-tabgrid { grid-template-columns: 1fr; } }
.rr-tablabel { font-size: .68rem; font-weight: 700; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--rr-amber); }
.rr-tabquote { font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 600; line-height: 1.45; color: var(--rr-cream); }

/* Check lists */
.rr-checklist { list-style: none; padding: 0; margin: 0; }
.rr-checklist li { display: flex; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--rr-line); align-items: flex-start; }
.rr-checklist li:last-child { border-bottom: 1px solid var(--rr-line); }
.rr-checklist li::before {
	content: ""; flex-shrink: 0; width: 26px; height: 26px; margin-top: .15rem;
	border: 1.5px solid var(--rr-amber); border-radius: var(--rr-rad-xs);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23c98a4b' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center;
}
.rr-checklist__title { font-size: .72rem; font-weight: 700; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--rr-mute); }

/* ==========================================================================
   NEW ROOTS
   ========================================================================== */
.rr-nr { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 899px) { .rr-nr { grid-template-columns: 1fr; } }
.rr-nr__fig {
	position: relative; margin: 0; background: #fff; border: 1px solid rgba(29, 19, 13, .12);
	border-radius: var(--rr-rad); overflow: hidden; box-shadow: 0 6px 26px rgba(29, 19, 13, .16);
	transform: rotate(-1.5deg); transition: transform .45s cubic-bezier(.22, .9, .3, 1), box-shadow .45s;
}
.rr-nr__fig:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 16px 40px rgba(29, 19, 13, .22); }
.rr-nr__fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.92); display: block; }
.rr-nr__fig figcaption {
	position: absolute; left: 0; bottom: 0; margin: 0;
	background: rgba(20, 12, 7, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border-top: 1px solid var(--rr-line); border-right: 1px solid var(--rr-line);
	border-radius: 0 var(--rr-rad-sm) 0 0; padding: .7rem 1rem;
	font-size: .62rem; font-weight: 700; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--rr-amber);
}
.rr-nr__join {
	border: 1.5px solid rgba(134, 65, 29, .45); border-radius: var(--rr-rad);
	padding: clamp(1.5rem, 3vw, 2.2rem); background: rgba(134, 65, 29, .055);
}
.rr-badges { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ==========================================================================
   VALUES / SDG CARDS
   ========================================================================== */
.rr-vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.3rem, 3vw, 2.2rem); }
@media (max-width: 899px) { .rr-vgrid { grid-template-columns: 1fr; } }
.rr-vcard {
	border: 1.5px solid rgba(246, 239, 226, .35); border-radius: var(--rr-rad);
	padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.1rem;
	background: rgba(246, 239, 226, .02);
	transition: transform .45s cubic-bezier(.22, .9, .3, 1), box-shadow .45s, border-color .45s;
}
.rr-vcard:hover { transform: translateY(-7px); box-shadow: var(--rr-sh-lg); border-color: var(--rr-amber); }
.rr-vcard img, .rr-sdg-badge img { width: clamp(78px, 8vw, 96px); height: auto; border-radius: 6px; display: block; box-shadow: 0 3px 14px rgba(0, 0, 0, .3); }
.rr-vcard h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.rr-vcard__meta {
	margin-top: auto; font-size: .66rem; font-weight: 700; line-height: 1.5; letter-spacing: .18em;
	text-transform: uppercase; color: var(--rr-amber); border-top: 1px solid var(--rr-line); padding-top: 1.1rem;
}

/* ==========================================================================
   CONTRIBUTE BANNER
   ========================================================================== */
.rr-contribute {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, #93481f 0%, var(--rr-rust) 45%, #6d3417 100%);
	border-radius: var(--rr-rad-lg); box-shadow: var(--rr-sh-lg);
	padding: clamp(2.5rem, 6vw, 4.5rem);
}
.rr-contribute :is(h2, h3, p, li) { color: var(--rr-cream); }
.rr-contribute .rr-chip { color: var(--rr-cream); border-color: rgba(246, 239, 226, .5); }
.rr-contribute .wp-block-button__link { background: var(--rr-cream); border-color: var(--rr-cream); color: var(--rr-rust); }
.rr-contribute .wp-block-button__link:hover { background: transparent; color: var(--rr-cream); }
.rr-contribute .is-style-outline .wp-block-button__link { background: transparent; color: var(--rr-cream); border-color: rgba(246, 239, 226, .75); }
.rr-contribute .is-style-outline .wp-block-button__link:hover { background: var(--rr-cream); color: var(--rr-rust); }
.rr-contribute__aside {
	position: relative; z-index: 1; background: rgba(20, 12, 7, .28);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border: 1px solid rgba(246, 239, 226, .28); border-radius: var(--rr-rad);
	padding: clamp(1.5rem, 3vw, 2.2rem);
}
.rr-label { display: block; font-size: .62rem; font-weight: 700; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 239, 226, .7); }
.rr-iban-value { display: block; font-size: clamp(.85rem, 1.5vw, 1rem); font-weight: 700; line-height: 1.5; letter-spacing: .05em; color: var(--rr-cream); overflow-wrap: anywhere; }
.rr-copy-iban {
	margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .5rem;
	font-family: inherit; font-size: .66rem; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase;
	color: var(--rr-cream); background: transparent; border: 1.5px solid rgba(246, 239, 226, .5);
	border-radius: var(--rr-rad-sm); padding: .7rem 1.1rem; cursor: pointer;
	transition: background .25s, color .25s, border-color .25s;
}
.rr-copy-iban:hover { background: var(--rr-cream); color: var(--rr-rust); border-color: var(--rr-cream); }
.rr-rings { position: absolute; right: -7%; bottom: -30%; width: min(48vw, 520px); opacity: .16; z-index: 0; pointer-events: none; }
.rr-rings path, .rr-rings circle { fill: none; stroke: var(--rr-cream); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

/* Donate / IBAN card on light and dark sections */
.rr-donate-card { background: rgba(246, 239, 226, .03); border: 1px solid var(--rr-line); border-radius: var(--rr-rad); padding: clamp(1.6rem, 3vw, 2.4rem); }
.rr-iban-box { border: 1px solid rgba(201, 138, 75, .5); border-radius: var(--rr-rad-sm); padding: 1.1rem 1.2rem; background: rgba(201, 138, 75, .06); }
.rr-iban-box .rr-label { color: var(--rr-mute); }
.rr-qr { background: #fff; border-radius: var(--rr-rad-sm); padding: .9rem; width: fit-content; }
.rr-qr img { display: block; width: 180px; height: auto; }

/* ==========================================================================
   VIDEOS (Remote Internships page)
   ========================================================================== */
.rr-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.8rem); }
@media (max-width: 899px) { .rr-videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rr-videos { grid-template-columns: 1fr; } }
.rr-video {
	position: relative; margin: 0; border-radius: var(--rr-rad); overflow: hidden;
	background: var(--rr-ink-0); border: 1px solid var(--rr-line); box-shadow: var(--rr-sh-sm);
	transition: transform .4s cubic-bezier(.22, .9, .3, 1), box-shadow .4s, border-color .4s;
}
.rr-video:hover { transform: translateY(-5px); box-shadow: var(--rr-sh-lg); border-color: rgba(201, 138, 75, .5); }
.rr-video--short { aspect-ratio: 9 / 16; }
.rr-video--wide { aspect-ratio: 16 / 9; }
.rr-video iframe, .rr-video button.rr-video__facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Click to load: nothing is requested from YouTube until the visitor presses play */
.rr-video__facade {
	display: grid; place-items: center; gap: .9rem; cursor: pointer; padding: 1.25rem;
	background: radial-gradient(120% 90% at 50% 40%, rgba(134, 65, 29, .5) 0%, rgba(20, 12, 7, .92) 70%);
	color: var(--rr-cream); font-family: inherit; text-align: center;
}
.rr-video__facade::before {
	content: ""; width: 62px; height: 62px; border-radius: 50%;
	background: var(--rr-amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='24' viewBox='0 0 22 24'%3E%3Cpath d='M3 2l16 10L3 22z' fill='%231d130d'/%3E%3C/svg%3E") no-repeat center;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .45); transition: transform .3s;
}
.rr-video__facade:hover::before { transform: scale(1.08); }
.rr-video__facade span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; max-width: 22ch; line-height: 1.5; }
.rr-video__facade small { display: block; font-size: .62rem; letter-spacing: .1em; color: var(--rr-mute); text-transform: uppercase; margin-top: .35rem; }

/* ==========================================================================
   CONTACT FORM (Contact Form 7)
   ========================================================================== */
.rr-form .wpcf7-form p { margin: 0 0 1.35rem; display: flex; flex-direction: column; gap: .5rem; }
.rr-form label { font-size: .64rem; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--rr-mute); }
.rr-form .rr-req { color: var(--rr-amber); }
.rr-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	background: rgba(246, 239, 226, .05); border: 1px solid var(--rr-line); border-radius: var(--rr-rad-sm);
	color: var(--rr-cream); font-family: inherit; font-size: 1rem; font-weight: 500; line-height: 1.5;
	padding: .8rem 1rem; width: 100%;
}
.rr-form textarea { resize: vertical; min-height: 96px; }
.rr-form select {
	appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c98a4b' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.rr-form select option { background: var(--rr-ink-0); color: var(--rr-cream); }
.rr-form :is(input, select, textarea):focus { outline: none; border-color: var(--rr-amber); box-shadow: 0 0 0 3px rgba(201, 138, 75, .18); }
.rr-form input[type="submit"], .rr-form .wpcf7-submit {
	background: var(--rr-amber); color: var(--rr-ink-1); border: 2px solid var(--rr-amber);
	border-radius: var(--rr-rad-sm); font-family: inherit; font-size: .74rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase; padding: 1.05rem 1.75rem; cursor: pointer; width: auto;
	box-shadow: var(--rr-sh-sm); transition: transform .3s, box-shadow .3s, background .25s, color .25s;
}
.rr-form input[type="submit"]:hover { transform: translateY(-3px); box-shadow: var(--rr-sh-lg); background: transparent; color: var(--rr-amber); }
.rr-form .wpcf7-response-output {
	border: 1.5px solid var(--rr-amber) !important; border-radius: var(--rr-rad);
	padding: 1.1rem 1.3rem !important; margin: 1.4rem 0 0 !important;
	background: rgba(201, 138, 75, .07); color: var(--rr-cream);
}
.rr-form .wpcf7-not-valid-tip { color: #ffb4a2; font-size: .78rem; letter-spacing: .02em; text-transform: none; }
.rr-form .rr-hp { position: absolute; left: -9999px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.rr-footer { position: relative; background: var(--rr-ink-0); color: var(--rr-body); border-top: 1px solid var(--rr-line-soft); overflow: hidden; }
.rr-footer :is(h2, h3) { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rr-amber); }
.rr-footer p, .rr-footer li { font-size: .95rem; }
.rr-footer .rr-footer__brand img { width: 210px; max-width: 100%; height: auto; }
.rr-footer .rr-footer__brand p { color: var(--rr-mute); max-width: 30em; }
.rr-footer .wp-block-navigation, .rr-footer ul { list-style: none; padding: 0; }
.rr-footer .wp-block-navigation a, .rr-footer .rr-footer__links a {
	color: var(--rr-body); text-decoration: none; font-weight: 600; font-size: .95rem;
	border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.rr-footer .wp-block-navigation a:hover, .rr-footer .rr-footer__links a:hover { color: var(--rr-cream); border-color: var(--rr-amber); }
.rr-footer__contact { list-style: none; padding: 0; margin: 0; }
.rr-footer__contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; color: var(--rr-mute); font-size: .93rem; }
.rr-footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--rr-amber); fill: none; stroke: currentColor; stroke-width: 1.6; }
.rr-footer__contact strong { color: var(--rr-body); font-weight: 600; }
.rr-social {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
	border: 1.5px solid var(--rr-line); border-radius: var(--rr-rad-sm); color: var(--rr-body);
	transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.rr-social:hover { color: var(--rr-ink-0); background: var(--rr-amber); border-color: var(--rr-amber); transform: translateY(-2px); }
.rr-footer__bar {
	border-top: 1px solid var(--rr-line-soft); padding-block: 22px;
	display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
	font-size: .85rem; color: var(--rr-mute);
}
.rr-footer__bar a { color: var(--rr-body); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rr-line); }
.rr-footer__bar a:hover { color: var(--rr-cream); border-color: var(--rr-amber); }
.rr-maze { position: absolute; right: -10%; bottom: -16%; width: min(75vmin, 680px); opacity: .12; z-index: 0; pointer-events: none; }
.rr-maze path, .rr-maze circle { fill: none; stroke: var(--rr-amber); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.rr-footer > * { position: relative; z-index: 1; }

/* ==========================================================================
   EDITOR + PROSE HELPERS
   ========================================================================== */
.rr-prose :is(h2, h3) { margin-top: 2.2rem; }
.rr-prose p { margin-bottom: 1.1rem; }
.rr-prose :is(ul, ol) { padding-left: 1.3rem; margin-bottom: 1.2rem; }
.rr-prose li { margin-bottom: .4rem; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important; animation-iteration-count: 1 !important;
		transition-duration: .01ms !important; transition-delay: 0ms !important;
	}
	.rr-rev { opacity: 1 !important; transform: none !important; }
	.rr-hero__seeds { display: none; }
	.rr-card:hover, .rr-vcard:hover, .rr-nr__fig:hover, .rr-video:hover { transform: none !important; }
}

/* ==========================================================================
   BLOCK MARKUP ADJUSTMENTS
   The sections are built from core blocks, so a few selectors below adapt the
   design to the markup WordPress actually outputs.
   ========================================================================== */

/* The rule to the right of a section label is drawn by the label row itself */
.rr-sechead::after { content: ""; height: 1px; flex: 1; background: var(--rr-line); }
.rr-sec--light .rr-sechead::after { background: rgba(29, 19, 13, .15); }
.rr-contribute .rr-sechead::after { background: rgba(246, 239, 226, .3); }

/* Card call to action is a paragraph holding a link */
.rr-card__cta { display: flex; align-items: center; gap: .7rem; }
.rr-card__cta a { color: inherit; text-decoration: none; }
.rr-card__cta::after { content: none; }
.rr-card__cta a::after { content: "\2192"; display: inline-block; margin-left: .7rem; transition: transform .3s; }
.rr-card__cta a:hover { color: var(--rr-amber); }
.rr-card__cta a:hover::after { transform: translateX(6px); }

/* Partner logos are image blocks wrapping a link */
.rr-plogo { display: block; }
.rr-plogo a { text-decoration: none; }

/* Hero headline accent colour comes from the palette */
.rr-hero h1 .has-amber-color { color: var(--rr-amber); }

/* Stat chips are paragraphs with a bold number and a label */
.rr-statchip { line-height: 1; }

/* New Roots figure caption sits over the photo */
.rr-nr__fig .wp-element-caption { position: absolute; left: 0; bottom: 0; margin: 0; }

/* Values cards: keep the SDG meta line pinned to the bottom */
.rr-vcard > p:not(.rr-vcard__meta) { flex: 1; }

/* Social links in the footer, styled as the outlined square from the design */
.rr-footer .wp-block-social-links { gap: .5rem; }
.rr-footer .wp-block-social-links .wp-social-link {
	width: 42px; height: 42px; background: transparent;
	border: 1.5px solid var(--rr-line); border-radius: var(--rr-rad-sm);
	transition: color .25s, border-color .25s, background .25s, transform .25s;
}
.rr-footer .wp-block-social-links .wp-social-link a { color: var(--rr-body); padding: 0; display: grid; place-items: center; width: 100%; height: 100%; }
.rr-footer .wp-block-social-links .wp-social-link:hover { background: var(--rr-amber); border-color: var(--rr-amber); transform: translateY(-2px); }
.rr-footer .wp-block-social-links .wp-social-link:hover a { color: var(--rr-ink-0); }

/* Footer contact list: decorative icons without extra markup */
.rr-footer__contact { list-style: none; padding-left: 0; }
.rr-footer__contact li { position: relative; padding-left: 30px; }
.rr-footer__contact li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
	background-repeat: no-repeat; background-position: center; background-size: contain; opacity: .9;
}
.rr-footer__contact li:nth-child(1)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c98a4b' stroke-width='1.6'%3E%3Cpath d='M12 21.5s-7-5.4-7-11a7 7 0 0 1 14 0c0 5.6-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10.2' r='2.6'/%3E%3C/svg%3E");
}
.rr-footer__contact li:nth-child(2)::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c98a4b' stroke-width='1.6'%3E%3Crect x='3' y='6' width='18' height='12.5' rx='2.5'/%3E%3Cpath d='M3 10h18'/%3E%3Cpath d='M7 15h4'/%3E%3C/svg%3E");
}

/* Tab panels are groups; the script manages the hidden state */
.rr-tabpanel[hidden] { display: none !important; }
.rr-tabgrid.wp-block-columns { gap: clamp(1.8rem, 4.5vw, 4rem); }

/* Chips used as paragraphs keep their pill shape */
p.rr-chip { display: inline-flex; width: fit-content; }

/* The contribute banner sits inside a normal section wrapper */
.rr-sec > .rr-contribute { margin-inline: auto; }

/* Checklist items hold a <strong> label plus running text, so the row must not
   be a flex container or the label becomes its own column. */
.rr-checklist li { display: block; position: relative; padding-left: 42px; gap: 0; }
.rr-checklist li::before { position: absolute; left: 0; top: 1.05rem; margin-top: 0; }

/* The landscape film spans the full row under the three vertical shorts. */
.rr-videos .rr-video--wide { grid-column: 1 / -1; }
.rr-videos .rr-video--short { max-height: 620px; }
@media (max-width: 899px) { .rr-videos .rr-video--wide { grid-column: 1 / -1; } }

/* ==========================================================================
   CONTACT SECTION REFINEMENTS
   ========================================================================== */
/* The field paragraphs are flex columns, so the submit button would stretch to
   the full column width. Keep it sized to its own label. */
.rr-form input[type="submit"], .rr-form .wpcf7-submit { align-self: flex-start; width: auto; }

/* The donate card sits beside the form, so its heading is a card heading, not a
   section heading. */
.rr-donate-card h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.3; }
.rr-donate-card > *:first-child { margin-top: 0; }

/* Let the two columns absorb the gap instead of leaving a gap at the row end. */
.rr-sec .wp-block-columns > .wp-block-column { min-width: 0; }

/* Form controls must include their padding in the declared width, otherwise
   width:100% plus padding overflows the column and runs under the next one. */
input, select, textarea, button { box-sizing: border-box; }

/* ==========================================================================
   STICKY HEADER
   WordPress wraps a template part in a div that is exactly as tall as its
   contents, and a sticky element can never travel outside its parent box. So
   the wrapper is what has to stick, not the header inside it.
   ========================================================================== */
.wp-block-template-part.rr-sticky,
.wp-block-template-part:has(> .rr-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .wp-block-template-part.rr-sticky,
.admin-bar .wp-block-template-part:has(> .rr-header) { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .wp-block-template-part.rr-sticky,
	.admin-bar .wp-block-template-part:has(> .rr-header) { top: 46px; }
}
/* The inner header no longer needs to be sticky itself. */
.rr-header { position: relative; top: auto; }
.admin-bar .rr-header { top: auto; }

/* ==========================================================================
   HEADER ROW ALIGNMENT
   The header group is a plain flow container, so alignwide has nothing to
   align against and the row ran edge to edge. Match the approved draft: cap
   the row at 1400px, centre it, and keep the page gutter on either side.
   ========================================================================== */
.rr-header > .wp-block-group {
	width: min(1400px, 100% - 2 * clamp(1.25rem, 4vw, 2.75rem));
	max-width: none;
	margin-inline: auto;
	min-height: 76px;
}
