:root {
  --wine: #8f1838;
  --wine-dark: #671028;
  --ink: #172126;
  --muted: #5e676a;
  --cream: #f4f0e9;
  --paper: #fffdf9;
  --line: #ded9d1;
  --gold: #d8b36a;
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.page-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 84px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 253, 249, .94);
  border-bottom: 1px solid rgba(23, 33, 38, .08);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 50px; height: 42px; object-fit: contain; object-position: center; }
.brand span { display: flex; flex-direction: column; line-height: 1.16; }
.brand strong { font-size: 16px; letter-spacing: .01em; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.main-nav a { transition: color .2s; }
.main-nav a:hover { color: var(--wine); }
.nav-contact { color: white !important; background: var(--wine); padding: 11px 18px; border-radius: 999px; }
.nav-contact:hover { background: var(--wine-dark); }
.menu-button { display: none; min-width: 44px; min-height: 44px; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; min-height: 675px; display: grid; align-items: center; overflow: hidden; background: var(--ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; opacity: .66; transform: scale(1.015); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,26,.93) 0%, rgba(20,24,26,.73) 42%, rgba(20,24,26,.12) 78%), linear-gradient(0deg, rgba(20,24,26,.42), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding-block: 88px; }
.eyebrow { color: var(--wine); font-size: 12px; line-height: 1.3; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; margin: 0 0 18px; }
.eyebrow.light { color: #f1d8b1; }
.hero h1 { color: white; font-size: clamp(50px, 7.4vw, 92px); line-height: .98; letter-spacing: -.055em; max-width: 840px; margin: 0; font-weight: 650; }
.hero h1 em { color: #f2d198; font-style: normal; font-weight: 420; }
.hero-copy { color: rgba(255,255,255,.82); max-width: 650px; font-size: 18px; margin: 30px 0 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 720; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--wine); color: white; }
.button.primary:hover { background: #a01a40; }
.button.ghost { color: white; border: 1px solid rgba(255,255,255,.48); }
.button.ghost:hover { background: rgba(255,255,255,.1); }
.button.cream { background: var(--cream); color: var(--wine-dark); }
.scroll-cue { position: absolute; z-index: 3; bottom: 22px; left: 50%; color: white; font-size: 25px; opacity: .7; }

.current-section { padding-block: 82px; border-bottom: 1px solid var(--line); }
.current-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.current-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -.04em;
  margin: 0;
}
.current-heading > p { color: var(--muted); max-width: 420px; margin: 0 0 6px; }
.current-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 16px; margin-top: 42px; }
.current-card { min-height: 285px; padding: 34px; border: 1px solid var(--line); display: flex; flex-direction: column; background: white; }
.current-card.featured { color: white; background: var(--wine); border-color: var(--wine); }
.current-meta { display: flex; justify-content: space-between; gap: 20px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.current-meta span { color: var(--muted); }
.current-meta strong { color: var(--wine); }
.current-card.featured .current-meta span, .current-card.featured .current-meta strong { color: rgba(255,255,255,.72); }
.current-card h3 { font-family: Georgia, serif; font-size: clamp(24px, 3vw, 34px); line-height: 1.12; font-weight: 500; margin: 50px 0 10px; }
.current-card p { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
.current-card.featured p { color: rgba(255,255,255,.76); }
.current-card .text-link { margin-top: auto; }
.current-card.featured .text-link { color: white; }
.text-link { color: var(--wine); font-weight: 750; font-size: 14px; white-space: nowrap; }
.text-link span { margin-left: 8px; }

.section { padding-block: 108px; }
.section-heading { max-width: 650px; }
.section-heading.wide { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-heading.wide > p { max-width: 430px; margin-bottom: 7px; color: var(--muted); }
.section h2, .split-content h2, .donation-section h2, .contact h2, .gallery-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin: 0;
}
.intro { display: grid; grid-template-columns: .82fr 1.18fr; column-gap: 90px; }
.intro-copy { max-width: 670px; }
.intro-copy p { color: var(--muted); font-size: 20px; line-height: 1.55; }
.intro-copy .lead { color: var(--ink); margin-top: 0; }
.contribution-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contribution-card { min-height: 260px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s, transform .2s; }
.contribution-card:hover { background: var(--cream); transform: translateY(-4px); }
.card-number { color: var(--wine); font: 16px var(--font-geist-mono), monospace; }
.contribution-card h3 { font-family: Georgia, serif; font-size: 23px; font-weight: 500; margin: 48px 0 10px; }
.contribution-card p { color: var(--muted); font-size: 14px; margin: 0; }

.split-section { display: grid; grid-template-columns: .86fr 1.14fr; background: var(--wine-dark); color: white; min-height: 720px; }
.split-image { display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; min-height: 650px; margin: 0; background: #e8dfd4; }
.split-image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 25%; }
.split-image figcaption {
  padding: 7px 16px;
  color: var(--muted);
  background: var(--cream);
  border-top: 1px solid rgba(23, 33, 38, .1);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .02em;
  text-align: right;
}
.split-content { padding: 88px max(40px, calc((100vw - 1180px) / 2)); padding-left: clamp(45px, 7vw, 105px); }
.split-content h2 { max-width: 650px; }
.split-content > p:not(.eyebrow) { color: rgba(255,255,255,.74); max-width: 660px; font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 30px 0 38px; max-width: 680px; }
.check-list li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid rgba(255,255,255,.16); font-size: 14px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #f1d8b1; font-weight: 800; }

.team-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 66px; align-items: start; margin-top: 58px; }
.team { padding-bottom: 72px; }
.team .section-heading > div { flex: 1; min-width: 0; }
.team .section-heading h2 { font-size: clamp(38px, 4.5vw, 58px); white-space: nowrap; }
.team-photo { margin: 0; }
.team-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.team-photo figcaption { color: var(--muted); font-size: 12px; margin-top: 10px; }
.member-list { border-top: 1px solid var(--ink); }
.member { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 14px; }
.member small { color: var(--muted); text-align: right; }

.gallery-section { background: var(--cream); padding-block: 108px; }
.story-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(3, 160px); gap: 16px; margin-top: 54px; }
.story-card { position: relative; overflow: hidden; background: var(--ink); }
.story-card.large { grid-row: 1 / 4; }
.story-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .5s, opacity .3s; }
.story-card:hover img { transform: scale(1.035); opacity: .68; }
.story-card div { position: absolute; left: 28px; right: 28px; bottom: 24px; color: white; }
.story-card span { color: #f1d8b1; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 800; }
.story-card h3 { margin: 5px 0 0; font-family: Georgia, serif; font-weight: 500; font-size: 27px; }
.latin-card { background: linear-gradient(135deg, var(--wine-dark), #a52247); }
.latin-card::before { content: "LATIN"; position: absolute; top: -22px; right: 12px; color: rgba(255,255,255,.08); font: 700 92px/1 Georgia, serif; letter-spacing: -.08em; }
.latin-card div { z-index: 1; }
.latin-card p { color: rgba(255,255,255,.72); font-size: 12px; margin: 5px 0 0; }
.latin-card:hover { background: linear-gradient(135deg, #7b1230, #b62950); }
.archive-link-row { display: flex; justify-content: flex-end; margin-top: 28px; }

.donation-section { background: var(--ink); color: white; padding-block: 105px; }
.donation-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.donation-layout > div:first-child > p:not(.eyebrow) { color: rgba(255,255,255,.68); font-size: 16px; margin-top: 26px; max-width: 530px; }
.bank-card { padding: 38px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
.bank-card > p { color: #f1d8b1; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; margin: 0 0 14px; }
.bank-card > strong { font-size: 18px; }
.bank-card > small { color: rgba(255,255,255,.56); }
.iban-row { margin: 28px 0 14px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-block: 1px solid rgba(255,255,255,.14); }
.iban-row span { font-family: var(--font-geist-mono), monospace; font-size: clamp(15px, 2vw, 21px); letter-spacing: .02em; }
.iban-row button { color: white; white-space: nowrap; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: transparent; padding: 8px 13px; cursor: pointer; font-size: 11px; }
.iban-row button:hover { background: rgba(255,255,255,.1); }

.contact { display: grid; grid-template-columns: 1fr .74fr; gap: 100px; align-items: end; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); max-width: 620px; font-size: 18px; }
.contact-mail { display: inline-flex; gap: 18px; align-items: center; color: var(--wine); font-family: Georgia, serif; font-size: clamp(26px, 4vw, 42px); margin-top: 24px; border-bottom: 1px solid var(--wine); }
.contact-mail span { font-family: Arial, sans-serif; font-size: 22px; }
.address-card { font-style: normal; border-left: 3px solid var(--wine); padding: 10px 0 10px 30px; }
.address-card span { display: block; color: var(--wine); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; margin-bottom: 13px; }
.address-card strong { font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.address-card p { color: var(--muted); margin-bottom: 0; }

.subpage-hero { padding-block: 105px; color: white; background: linear-gradient(120deg, var(--wine-dark), #8f1838 62%, #aa3654); }
.subpage-hero.compact { padding-block: 78px; }
.subpage-hero h1 { font-family: Georgia, serif; font-size: clamp(48px, 7vw, 80px); line-height: 1; letter-spacing: -.045em; font-weight: 500; margin: 0; }
.subpage-hero > .page-shell > p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,.76); font-size: 18px; margin: 24px 0 0; }
.archive-page { padding-block: 82px 110px; }
.archive-intro { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.archive-intro p { color: var(--muted); max-width: 720px; font-size: 17px; margin: 0; }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.archive-card { min-height: 320px; border: 1px solid var(--line); background: white; }
.archive-card.with-image { display: grid; grid-template-columns: .72fr 1.28fr; }
.archive-card > img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.archive-card.poster-card > img { object-fit: contain; background: #e8dfd4; }
.archive-poster-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; margin: 0; background: #e8dfd4; }
.archive-poster-figure img { width: 100%; height: 100%; min-height: 320px; object-fit: contain; }
.archive-poster-figure figcaption {
  padding: 6px 10px;
  color: var(--muted);
  background: var(--cream);
  border-top: 1px solid rgba(23, 33, 38, .1);
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}
.archive-card-content { padding: 32px; }
.archive-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--wine); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.archive-meta span { font-family: var(--font-geist-mono), monospace; }
.archive-card h2 { font-family: Georgia, serif; font-size: 29px; line-height: 1.14; font-weight: 500; margin: 52px 0 12px; }
.archive-card p { color: var(--muted); font-size: 14px; margin: 0; }
.back-link { display: inline-flex; color: var(--wine); font-weight: 700; font-size: 14px; margin-top: 48px; }
.legal-page { max-width: 900px; padding-block: 72px 105px; }
.legal-page section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.legal-page h2 { font-family: Georgia, serif; font-size: 29px; line-height: 1.18; font-weight: 500; margin: 0 0 16px; }
.legal-page p { color: var(--muted); }
.legal-page a:not(.back-link) { color: var(--wine); text-decoration: underline; }

footer { background: #11191d; color: white; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr; gap: 70px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 68px; height: 54px; object-fit: contain; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-family: Georgia, serif; font-size: 20px; line-height: 1.3; margin: 0; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid span { color: #f1d8b1; text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 800; margin-bottom: 5px; }
.footer-grid a { color: rgba(255,255,255,.64); font-size: 13px; }
.footer-grid a:hover { color: white; }
.footer-bottom { margin-top: 60px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); font-size: 11px; }

@media (max-width: 1100px) {
  .split-section { grid-template-columns: 1fr; }
  .split-image { height: auto; min-height: 0; }
  .split-image img { display: block; height: auto; object-fit: contain; object-position: center; }
  .split-content { padding: 70px max(28px, calc((100vw - 900px) / 2)); }
}

@media (max-width: 900px) {
  .page-shell { width: min(100% - 34px, 720px); }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 83px; left: 0; right: 0; padding: 24px; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 6px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px; }
  .nav-contact { text-align: center; margin-top: 6px; }
  .hero { min-height: 640px; }
  .current-heading { align-items: start; flex-direction: column; gap: 18px; }
  .current-grid { grid-template-columns: 1fr; }
  .intro { grid-template-columns: 1fr; }
  .intro-copy { margin-top: 35px; }
  .contribution-grid { grid-template-columns: repeat(2, 1fr); }
  .split-content { padding: 70px max(28px, calc((100vw - 720px) / 2)); }
  .team-layout, .donation-layout, .contact { grid-template-columns: 1fr; gap: 52px; }
  .section-heading.wide { align-items: start; flex-direction: column; gap: 18px; }
  .team .section-heading h2 { white-space: normal; }
  .story-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 220px 190px; }
  .story-card.large { grid-column: 1 / 3; grid-row: 1; }
  .latin-card { grid-column: 1 / 3; grid-row: 3; }
  .archive-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .site-header { height: 72px; padding-inline: 17px; }
  .brand img { width: 42px; }
  .brand small { display: none; }
  .main-nav { top: 71px; }
  .hero { min-height: 665px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(20,24,26,.92), rgba(20,24,26,.48)), linear-gradient(0deg, rgba(20,24,26,.55), transparent); }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; max-width: 320px; }
  .current-section { padding-block: 62px; }
  .current-card { padding: 28px 23px; }
  .current-card h3 { margin-top: 38px; }
  .section, .gallery-section { padding-block: 78px; }
  .intro-copy p { font-size: 18px; }
  .contribution-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .contribution-card { min-height: 210px; }
  .contribution-card h3 { margin-top: 32px; }
  .split-image { height: auto; }
  .split-content { padding: 65px 22px; }
  .team-layout { gap: 38px; }
  .story-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .story-card, .story-card.large { min-width: 84vw; height: 360px; scroll-snap-align: start; }
  .archive-intro { align-items: start; flex-direction: column; gap: 18px; }
  .archive-card.with-image { grid-template-columns: 1fr; }
  .archive-card > img { height: 270px; min-height: 0; }
  .archive-card.poster-card > img { height: auto; }
  .archive-poster-figure img { height: auto; min-height: 0; }
  .archive-card h2 { margin-top: 38px; }
  .subpage-hero { padding-block: 75px; }
  .subpage-hero.compact { padding-block: 60px; }
  .donation-section { padding-block: 78px; }
  .bank-card { padding: 26px 20px; }
  .iban-row { align-items: flex-start; flex-direction: column; }
  .contact-mail { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-brand { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
