:root {
  --bg: #f4f2ec;
  --paper: #ffffff;
  --ink: #101010;
  --muted: #686760;
  --line: #d9d7cf;
  --aqua: #11c8d9;
  --aqua-dark: #087f8b;
  --soft: #e3f8fa;
  --soft-2: #ecebe5;
  --radius: 28px;
  --max: 1240px;
  --shadow: 0 24px 80px rgba(16,16,16,.10);
  --ease: cubic-bezier(.2,.75,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

.skip-link { position: fixed; left: 12px; top: 12px; transform: translateY(-150%); z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip-link:focus { transform: none; }

.wrap { width: min(calc(100% - 28px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.kicker { color: var(--aqua-dark); font-weight: 800; }
.muted { color: var(--muted); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(244,242,236,.82); border-bottom: 1px solid rgba(217,215,207,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(16,16,16,.06); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 155px; height: auto; }
.menu-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu { position: absolute; left: 14px; right: 14px; top: calc(100% + 8px); display: none; flex-direction: column; gap: 5px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.menu.open { display: flex; }
.menu a { padding: 13px 14px; border-radius: 14px; font-size: .93rem; font-weight: 750; }
.menu a:hover, .menu a:focus-visible { background: var(--soft); outline: none; }
.menu .menu-cta { background: var(--ink); color: #fff; }
.menu .menu-cta:hover, .menu .menu-cta:focus-visible { background: var(--aqua); color: var(--ink); }

.hero { padding: 116px 0 48px; }
.hero-grid { display: grid; gap: 36px; }
.hero-copy { padding-top: 12px; }
.hero h1 { margin: 14px 0 22px; font-size: clamp(3.6rem, 18vw, 6.8rem); line-height: .82; letter-spacing: -.075em; max-width: 850px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--aqua); }
.hero-lead { margin: 0; max-width: 660px; font-size: clamp(1.05rem, 4vw, 1.35rem); color: #35342f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 800; transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover { background: var(--aqua); color: var(--ink); border-color: var(--aqua); }
.button.ghost { background: transparent; }
.button.ghost:hover { background: #fff; }
.button.aqua { background: var(--aqua); border-color: var(--aqua); color: var(--ink); }
.button.aqua:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.hero-media { position: relative; min-height: 470px; overflow: hidden; border-radius: 34px; background: #111; box-shadow: var(--shadow); isolation: isolate; }
.hero-media::before { content:""; position:absolute; inset:0; background:
  radial-gradient(circle at 22% 24%, rgba(17,200,217,.9) 0 10%, transparent 31%),
  radial-gradient(circle at 82% 64%, rgba(17,200,217,.48) 0 8%, transparent 24%),
  linear-gradient(125deg, #101010 6%, #202020 46%, #07535c 100%); z-index:-2; }
.hero-media::after { content:""; position:absolute; inset:-10% -5%; z-index:-1; background:
  repeating-radial-gradient(ellipse at 42% 55%, transparent 0 44px, rgba(255,255,255,.09) 46px 49px, transparent 51px 86px);
  transform: rotate(-13deg) scale(1.12); }
.hero-stamp { position:absolute; left:18px; bottom:18px; width:min(88%, 470px); padding:16px 18px; color:#fff; background:rgba(16,16,16,.68); border:1px solid rgba(255,255,255,.18); border-radius:20px; backdrop-filter: blur(12px); }
.hero-stamp strong { display:block; font-size:clamp(1.45rem,6vw,2.4rem); line-height:.95; letter-spacing:-.05em; }
.hero-stamp small { display:block; margin-top:8px; color:rgba(255,255,255,.74); }


.section { padding: 80px 0; }
.section.dark { background: var(--ink); color: #fff; }
.section.paper { background: #fff; }
.section.soft { background: var(--soft); }
.section.headline { padding-top: 74px; }
.section-head { display: grid; gap: 18px; margin-bottom: 34px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(2.55rem, 12vw, 5.4rem); line-height: .9; letter-spacing: -.07em; max-width: 800px; }
.section-head p { margin: 0; max-width: 570px; color: var(--muted); }
.dark .section-head p { color: #b9b9b3; }

.about-grid { display: grid; gap: 38px; align-items: end; }
.about-title { font-size: clamp(2.8rem, 13vw, 6rem); line-height: .9; letter-spacing: -.075em; margin: 12px 0 0; }
.about-copy { max-width: 720px; font-size: clamp(1.12rem, 4.8vw, 1.6rem); color: #ddd; }
.about-copy strong { color: #fff; }
.about-notes { display:grid; gap:12px; margin-top:30px; }
.about-note { display:flex; gap:12px; align-items:flex-start; padding-top:12px; border-top:1px solid #363636; }
.about-note b { color: var(--aqua); font-size: .92rem; min-width: 82px; }
.about-note span { color:#cfcfca; }

.pillars { display:grid; gap: 0; border-top:1px solid var(--line); }
.pillar { padding: 24px 8px 26px 0; border-bottom: 1px solid var(--line); }
.pillar .num { font-weight:900; color:var(--aqua-dark); font-size:.78rem; letter-spacing:.08em; }
.pillar h3 { margin:22px 0 8px; font-size:1.45rem; letter-spacing:-.035em; }
.pillar p { margin:0; max-width: 520px; color:var(--muted); }

.activities-grid { display:grid; gap: 14px; }
.activity { background:#fff; border:1px solid var(--line); border-radius:24px; padding:22px; min-height:200px; transition:transform .2s var(--ease), box-shadow .2s var(--ease); }
.activity:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.activity .num { font-size:.76rem; font-weight:900; color:var(--aqua-dark); }
.activity h3 { margin:40px 0 10px; font-size:1.55rem; line-height:1; letter-spacing:-.04em; }
.activity p { margin:0; color:var(--muted); }
.activity.featured { background:var(--ink); color:#fff; }
.activity.featured p { color:#c6c6c0; }
.activity.featured .num { color:var(--aqua); }

.statement { display:grid; gap:22px; align-items:center; }
.statement .big { font-size:clamp(3rem, 15vw, 8rem); line-height:.78; letter-spacing:-.08em; margin:0; }
.statement .big .aqua { color:var(--aqua); }
.statement p { font-size:clamp(1.12rem, 4vw, 1.45rem); color:#d6d6d0; max-width:650px; margin:0; }

.projects-grid { display:grid; gap:14px; }
.project-card { position:relative; min-height:420px; overflow:hidden; border-radius:28px; color:#fff; background:#141414; isolation:isolate; }
.project-card::before { content:""; position:absolute; inset:0; z-index:-2; transition:transform .45s var(--ease); }
.project-card:hover::before { transform:scale(1.05); }
.project-card::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(0,0,0,.06) 0 35%, rgba(0,0,0,.78)); }
.project-card.one::before { background: radial-gradient(circle at 70% 20%, rgba(17,200,217,.85), transparent 26%), radial-gradient(circle at 28% 72%, rgba(255,255,255,.12), transparent 20%), linear-gradient(135deg,#101010,#1e292a 54%,#0a6d77); }
.project-card.two::before { background: radial-gradient(circle at 20% 35%, rgba(17,200,217,.62), transparent 22%), linear-gradient(135deg,#111,#3a3a37 58%,#0a5961); }
.project-card.three::before { background: radial-gradient(circle at 75% 32%, rgba(255,255,255,.13), transparent 24%), linear-gradient(135deg,#171717,#2f2f2b); }
.project-content { position:absolute; left:18px; right:18px; bottom:18px; }
.project-content h3 { margin:10px 0 8px; font-size:clamp(1.85rem,7vw,3rem); line-height:.94; letter-spacing:-.055em; }
.project-content p { margin:0; max-width:600px; color:#d7d7d0; }
.tagline { display:inline-flex; align-items:center; gap:8px; margin-top:14px; font-weight:800; color:#fff; }
.tagline i { width:7px; height:7px; border-radius:50%; background:var(--aqua); display:block; }

.volunteer-box { display:grid; gap:0; overflow:hidden; border-radius:32px; background:var(--soft); }
.volunteer-copy { padding:30px 24px; }
.volunteer-copy h2 { margin:10px 0 14px; font-size:clamp(2.7rem,12vw,5.5rem); line-height:.86; letter-spacing:-.075em; }
.volunteer-copy p { margin:0; max-width:620px; color:#353531; font-size:1.08rem; }
.volunteer-actions { margin-top:24px; display:flex; flex-wrap:wrap; gap:10px; }
.volunteer-art { min-height:300px; position:relative; background:radial-gradient(circle at 38% 46%, rgba(17,200,217,.74), transparent 18%), linear-gradient(135deg,#111,#2b2b27 56%,#06636d); }
.volunteer-art::after { content:"VOLUNTARIADO"; position:absolute; left:20px; bottom:18px; color:rgba(255,255,255,.16); font-size:clamp(2.3rem,9vw,5.5rem); font-weight:900; letter-spacing:-.08em; writing-mode:vertical-rl; transform:rotate(180deg); }

.news-grid { display:grid; gap:14px; }
.news-card { border-top:1px solid var(--line); padding:20px 0 8px; }
.news-card .meta { font-size:.74rem; text-transform:uppercase; letter-spacing:.12em; font-weight:900; color:var(--muted); }
.news-card h3 { margin:12px 0 7px; font-size:1.5rem; line-height:1; letter-spacing:-.04em; }
.news-card p { margin:0; color:var(--muted); }
.news-card.is-coming { opacity:.82; }

.transparency-intro { display:grid; gap:18px; }
.transparency-intro .big { margin:0; font-size:clamp(3rem, 15vw, 7rem); line-height:.8; letter-spacing:-.08em; }
.transparency-intro p { margin:0; max-width:650px; font-size:1.08rem; color:#44433d; }
.docs { margin-top:30px; border-top:1px solid #cbc8bd; }
.doc { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 0; border-bottom:1px solid #cbc8bd; }
.doc span:first-child { font-weight:800; }
.doc span:last-child { color:var(--muted); font-size:.84rem; white-space:nowrap; }
.doc:hover span:first-child { text-decoration:underline; text-decoration-thickness:2px; text-decoration-color:var(--aqua-dark); text-underline-offset:3px; }

.contact-grid { display:grid; gap:36px; }
.contact-title { font-size:clamp(3rem, 14vw, 7rem); line-height:.78; letter-spacing:-.08em; margin:0; }
.contact-copy { color:#c9c9c3; font-size:1.08rem; max-width:620px; }
.contact-details { display:grid; gap:18px; }
.contact-detail { display:grid; gap:4px; padding-top:16px; border-top:1px solid #363636; }
.contact-detail span { color:#8f8f8a; text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; font-weight:900; }
.contact-detail a, .contact-detail strong { font-size:1.2rem; color:#fff; }

footer { background:#0b0b0b; color:#fff; padding:48px 0 24px; }
.footer-grid { display:grid; gap:30px; }
.footer-logo { width:190px; filter:brightness(0) invert(1); opacity:.95; }
.footer-lead { max-width:500px; margin:16px 0 0; color:#bcbcb5; }
.footer-title { margin:0 0 12px; font-size:.72rem; text-transform:uppercase; letter-spacing:.12em; color:#7f7f78; font-weight:900; }
.footer-links { display:grid; gap:8px; }
.footer-links a { color:#cfcfc8; }
.footer-links a:hover { color:#fff; }
.footer-bottom { margin-top:34px; padding-top:20px; border-top:1px solid #292929; display:flex; flex-direction:column; gap:8px; color:#73736d; font-size:.82rem; }

.reveal { opacity:0; transform:translateY(18px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity:1; transform:none; }

@media (min-width: 720px) {
  .wrap { width:min(calc(100% - 56px), var(--max)); }
  .menu-toggle { display:none; }
  .menu { position:static; display:flex; flex-direction:row; align-items:center; gap:4px; padding:0; border:0; box-shadow:none; background:transparent; }
  .menu a { padding:9px 11px; }
  .menu .menu-cta { padding:10px 14px; }
  .hero { padding-top:142px; padding-bottom:72px; }
  .hero-grid { grid-template-columns:1fr .86fr; gap:50px; align-items:center; }
  .hero-media { min-height:620px; }
  .section { padding:110px 0; }
  .section-head { grid-template-columns:1fr .65fr; align-items:end; gap:40px; }
  .about-grid { grid-template-columns:.7fr 1.3fr; gap:70px; }
  .pillars { grid-template-columns:repeat(2, 1fr); }
  .pillar { padding-right:24px; border-right:1px solid var(--line); }
  .pillar:nth-child(even) { border-right:0; padding-left:24px; }
  .activities-grid { grid-template-columns:repeat(2,1fr); }
  .activity.featured { grid-column:span 2; }
  .statement { grid-template-columns:.75fr 1.25fr; }
  .projects-grid { grid-template-columns:1.2fr .8fr; }
  .project-card.one { min-height:560px; }
  .project-card.two, .project-card.three { min-height:272px; }
  .volunteer-box { grid-template-columns:1.1fr .9fr; }
  .volunteer-copy { padding:58px; }
  .volunteer-art { min-height:520px; }
  .news-grid { grid-template-columns:repeat(3,1fr); }
  .contact-grid { grid-template-columns:1.25fr .75fr; align-items:start; }
  .footer-grid { grid-template-columns:1.35fr .65fr .65fr; }
  .footer-bottom { flex-direction:row; justify-content:space-between; }
}

@media (min-width: 1040px) {
  .brand img { width:180px; }
  .hero-copy { padding-top:36px; }
  .hero-media { min-height:700px; }
  .pillars { grid-template-columns:repeat(5,1fr); }
  .pillar, .pillar:nth-child(even) { border-right:1px solid var(--line); padding-left:0; padding-right:20px; }
  .pillar:last-child { border-right:0; }
  .activities-grid { grid-template-columns:repeat(3,1fr); }
  .activity.featured { grid-column:span 2; }
}

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

:focus-visible { outline:3px solid var(--aqua); outline-offset:3px; }

/* v3 — proxectos reais, rede e acabamento */
.project-feature { display:grid; gap:0; overflow:hidden; border:1px solid var(--line); border-radius:32px; background:#fff; box-shadow:var(--shadow); }
.project-feature-media { min-height:340px; position:relative; background:
  radial-gradient(circle at 70% 18%, rgba(17,200,217,.88), transparent 22%),
  radial-gradient(circle at 35% 58%, rgba(255,255,255,.14), transparent 18%),
  linear-gradient(145deg,#0d0d0d 0%, #222625 48%, #066e78 100%); }
.project-feature-media::before { content:"DELASENDA"; position:absolute; left:20px; bottom:18px; color:rgba(255,255,255,.9); font-size:clamp(2.6rem,12vw,6.6rem); line-height:.82; font-weight:950; letter-spacing:-.08em; }
.project-feature-media::after { content:"LA CATEDRAL TOUR · 2025"; position:absolute; right:18px; top:18px; color:#fff; background:rgba(16,16,16,.68); border:1px solid rgba(255,255,255,.18); padding:8px 10px; border-radius:999px; font-weight:900; font-size:.7rem; letter-spacing:.08em; }
.project-feature-copy { padding:28px 22px 30px; }
.project-feature-copy h3 { margin:12px 0 16px; font-size:clamp(3rem,15vw,7rem); line-height:.82; letter-spacing:-.08em; }
.project-feature-copy h3 span { color:var(--aqua-dark); }
.project-intro { font-size:1.18rem; max-width:760px; color:#2d2c28; }
.project-feature-copy > p { max-width:800px; }
.tour-dates { display:grid; gap:0; margin:26px 0; border-top:1px solid var(--line); }
.tour-dates div { display:grid; grid-template-columns:72px 1fr; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.tour-dates b { color:var(--aqua-dark); font-size:.82rem; }
.tour-dates span { color:#3d3c37; }
.project-links { display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }
.source-note { margin-top:18px; color:#8a8982 !important; font-size:.78rem; }
.network-grid { display:grid; gap:32px; }
.network-grid h2 { margin:10px 0 12px; font-size:clamp(2.7rem,12vw,5.8rem); line-height:.88; letter-spacing:-.075em; }
.network-lead { max-width:650px; font-size:1.14rem; color:var(--muted); }
.network-list { border-top:1px solid var(--line); }
.network-item { padding:18px 0; border-bottom:1px solid var(--line); display:grid; gap:5px; }
.network-item span { text-transform:uppercase; letter-spacing:.11em; font-size:.72rem; color:var(--muted); font-weight:900; }
.network-item strong { font-size:1.14rem; }
@media (min-width: 760px) {
  .hero { padding-top: 140px; padding-bottom: 74px; }
  .hero-grid { grid-template-columns: 1.02fr .98fr; align-items:center; gap:52px; }
  .hero-media { min-height:620px; }
  .section { padding:110px 0; }
  .section-head { grid-template-columns: 1.25fr .75fr; align-items:end; gap:40px; margin-bottom:48px; }
  .about-grid { grid-template-columns: .85fr 1.15fr; gap:70px; }
  .pillars { grid-template-columns:repeat(2,1fr); }
  .pillar { min-height:230px; padding:30px 28px 30px 0; }
  .activities-grid { grid-template-columns:repeat(12,1fr); }
  .activity { grid-column:span 6; min-height:245px; padding:28px; }
  .activity.featured { grid-column:span 12; }
  .projects-grid { grid-template-columns:repeat(2,1fr); }
  .network-grid { grid-template-columns:1fr 1fr; gap:72px; align-items:start; }
  .project-feature { grid-template-columns: .82fr 1.18fr; }
  .project-feature-media { min-height:650px; }
  .project-feature-copy { padding:48px 46px; }
  .tour-dates { margin-top:30px; }
}
@media (min-width: 1060px) {
  .menu-toggle { display:none; }
  .menu { position:static; display:flex; flex-direction:row; align-items:center; gap:4px; padding:0; background:transparent; border:0; box-shadow:none; }
  .menu a { padding:8px 10px; font-size:.84rem; }
  .menu a:hover, .menu a:focus-visible { background:transparent; color:var(--aqua-dark); }
  .menu .menu-cta { padding:10px 14px; background:var(--ink); color:#fff; }
  .menu .menu-cta:hover, .menu .menu-cta:focus-visible { background:var(--aqua); color:var(--ink); }
  .brand img { width:175px; }
}


/* Ajustes seleccionados: mantén a linguaxe visual v3, só con imaxes e patrocinadores reais. */
.hero-media { position:relative; overflow:hidden; isolation:isolate; }
.hero-media::before { z-index:0; }
.hero-media::after { z-index:1; }
.hero-photo { position:absolute; inset:0; background-size:cover; background-position:center; z-index:0; }
.hero-photo-a { background-image:linear-gradient(180deg,rgba(16,16,16,.04),rgba(16,16,16,.74)), url('assets/img/delasenda-sesion-coru.webp'); background-position:center 35%; }
.hero-photo-b { width:56%; left:auto; background-image:linear-gradient(180deg,rgba(16,16,16,.08),rgba(16,16,16,.65)), url('assets/img/cartel-la-catedral-tour.jpg'); background-position:center; clip-path:polygon(18% 0,100% 0,100% 100%,0 100%); opacity:.78; mix-blend-mode:screen; }
.project-feature-poster { background:
  linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.64)),
  url('assets/img/cartel-la-catedral-tour.jpg') center/cover no-repeat; }
.project-feature-poster::before { content:none; }
.project-feature-poster::after { content:none; }
.network-list { display:grid; gap:34px; border-top:0; }
.network-group-title { margin:0 0 12px; text-transform:uppercase; letter-spacing:.11em; font-size:.72rem; color:var(--muted); font-weight:900; }
.network-items-single .network-item, .sponsor-grid .network-item { padding:0; border-bottom:0; }
.logo-frame { min-height:120px; padding:12px; display:grid; place-items:center; background:#fff; border:1px solid #e4e2db; border-radius:18px; }
.logo-frame img { width:100%; height:72px; object-fit:contain; }
.logo-frame.carne img { height:92px; }
.sponsor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.brand img { width:122px; }
@media (min-width:720px){ .brand img { width:124px; } .hero-photo-b{width:54%;} }
@media (min-width:1060px){ .brand img { width:124px; } }
@media (max-width:520px){ .sponsor-grid { grid-template-columns:1fr; } }

/* Hero final: recuperamos o fondo abstracto da v3. As imaxes de Delasenda quedan só no seu proxecto. */
.hero-photo { display:none !important; }
.hero-media::before { z-index:-2; }
.hero-media::after { z-index:-1; }


/* Publicación · refinado final: conserva a composición v3 */
.hero-media::after { display:none !important; }
.hero-media::before { background:
  radial-gradient(circle at 22% 24%, rgba(17,200,217,.9) 0 8%, transparent 27%),
  radial-gradient(circle at 82% 64%, rgba(17,200,217,.48) 0 7%, transparent 21%),
  linear-gradient(125deg, #101010 6%, #202020 46%, #07535c 100%); }
.logo-frame.carne { min-height:138px; }
.logo-frame.carne img { height:112px; }
@media (min-width:720px) {
  .logo-frame.carne { min-height:154px; }
  .logo-frame.carne img { height:124px; }
}
/* Evita que el header fijo tape titulares ao usar âncoras internas. */
section[id] { scroll-margin-top: 88px; }
/* Estado de teclado consistente nos elementos interactivos. */
.button:focus-visible, .menu-toggle:focus-visible, .brand:focus-visible, .menu a:focus-visible, .doc:focus-visible, .footer-links a:focus-visible { outline:3px solid var(--aqua); outline-offset:4px; }
@media (prefers-reduced-motion: reduce) {
  .button:hover { transform:none; }
}

/* V10 · responsive/mobile-first hardening */
html { overflow-x: clip; }
body { overflow-x: clip; }
.wrap { width: min(calc(100% - 32px), var(--max)); }

/* Fixed header: enough breathing room on the smallest phones. */
.site-header { padding-top: env(safe-area-inset-top); }
.nav { min-height: 68px; }
.brand img { width: 118px; }
.menu-toggle { flex: 0 0 44px; }
.menu { max-height: calc(100dvh - 84px); overflow-y: auto; }
body.menu-open { overflow: hidden; }

/* Mobile hero: avoid oversized type and excessive vertical height. */
.hero { padding: calc(92px + env(safe-area-inset-top)) 0 36px; }
.hero-grid { min-width: 0; gap: 28px; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(3.25rem, 18vw, 5.4rem); max-width: 100%; overflow-wrap: anywhere; }
.hero-lead { max-width: 42rem; }
.hero-actions, .project-links, .volunteer-actions { align-items: stretch; }
.button { min-height: 48px; padding-inline: 17px; }
.hero-actions .button { flex: 1 1 150px; }
.hero-media { min-height: min(78svh, 500px); max-height: 620px; border-radius: 26px; }
.hero-stamp { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 14px 15px; }
.hero-stamp strong { font-size: clamp(1.3rem, 6vw, 2rem); }

.section { padding: 64px 0; }
.section-head { gap: 14px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(2.45rem, 12.5vw, 4.8rem); }
.section-head p { font-size: .98rem; }

.about-grid, .statement, .contact-grid, .network-grid { min-width: 0; }
.about-copy { font-size: 1.08rem; }
.about-note { flex-wrap: wrap; }
.about-note b { min-width: 72px; }

.pillars { grid-template-columns: 1fr; }
.pillar { padding: 22px 0; min-width: 0; }
.pillar h3 { margin-top: 16px; }

.activities-grid { grid-template-columns: 1fr; }
.activity, .activity.featured { grid-column: auto; min-height: 0; padding: 22px; }
.activity h3 { margin-top: 30px; }

.statement .big { font-size: clamp(3.3rem, 17vw, 6.5rem); }
.statement p { font-size: 1.06rem; }

.project-feature { border-radius: 24px; }
.project-feature-media { min-height: 430px; }
.project-feature-copy { padding: 26px 20px 28px; min-width: 0; }
.project-feature-copy h3 { font-size: clamp(3rem, 16vw, 6rem); overflow-wrap: anywhere; }
.project-intro { font-size: 1.08rem; }
.tour-dates div { grid-template-columns: 64px minmax(0,1fr); }
.tour-dates span { overflow-wrap: anywhere; }
.project-links .button { width: 100%; }

.volunteer-box { border-radius: 26px; }
.volunteer-copy { padding: 28px 22px; }
.volunteer-copy h2 { font-size: clamp(2.7rem, 13vw, 5rem); }
.volunteer-art { min-height: 280px; }
.volunteer-art::after { font-size: clamp(2.2rem, 12vw, 4rem); }
.volunteer-actions .button { width: 100%; }

.news-grid { grid-template-columns: 1fr; }
.news-card { padding-block: 18px; }

.transparency-intro .big { font-size: clamp(3.3rem, 17vw, 6.5rem); }
.doc { align-items: flex-start; padding: 17px 0; }
.doc span:first-child { min-width: 0; overflow-wrap: anywhere; }
.doc span:last-child { flex: 0 0 auto; }

.contact-title { font-size: clamp(3.5rem, 17vw, 6.5rem); }
.contact-detail a { overflow-wrap: anywhere; }

.footer-grid { gap: 34px; }
.footer-logo { width: 170px; }
.footer-bottom { overflow-wrap: anywhere; }

/* Prevent animation from hiding content if JS is slow or unavailable. */
.no-js .reveal, body.loaded .reveal { opacity: 1; transform: none; }

@media (min-width: 480px) {
  .wrap { width: min(calc(100% - 40px), var(--max)); }
  .hero-actions .button { flex: 0 1 auto; }
  .project-links .button, .volunteer-actions .button { width: auto; }
  .project-feature-copy { padding-inline: 28px; }
}

@media (min-width: 720px) {
  .wrap { width: min(calc(100% - 56px), var(--max)); }
  .nav { min-height: 72px; }
  .brand img { width: 124px; }
  .hero { padding-top: 140px; padding-bottom: 74px; }
  .hero h1 { font-size: clamp(4.5rem, 10vw, 6.8rem); }
  .hero-media { min-height: 620px; }
  .pillar { min-width: 0; }
  .doc { align-items: center; }
}

@media (min-width: 1040px) {
  .brand img { width: 124px; }
}

@media (max-width: 719px) {
  /* The desktop menu must never accidentally remain visible on mobile. */
  .menu { display: none; }
  .menu.open { display: flex; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 3.05rem; }
  .hero-media { min-height: 430px; }
  .hero-stamp small { font-size: .76rem; }
  .doc { gap: 10px; }
  .doc span:last-child { font-size: .76rem; }
}

@media (hover: none) {
  .button:hover, .activity:hover, .project-card:hover::before { transform: none; }
}

/* v10.1 — header responsive + mobile breathing room */
@media (max-width: 979px) {
  .wrap { width: min(calc(100% - 40px), var(--max)); }
  .site-header .nav { min-height: 68px; }
  .site-header .menu-toggle { display: inline-grid; }
  .site-header .menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .site-header .menu.open { display: flex; }
  .site-header .menu a { padding: 13px 14px; }
  .site-header .menu .menu-cta { padding: 13px 14px; }
}

@media (max-width: 479px) {
  .wrap { width: min(calc(100% - 40px), var(--max)); }
  .hero { padding-left: 0; padding-right: 0; }
  .section { padding-left: 0; padding-right: 0; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
}

@media (min-width: 980px) {
  .site-header .menu-toggle { display: none; }
  .site-header .menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}
