:root {
  --ink: #10100f;
  --paper: #f6f4ef;
  --white: #ffffff;
  --gold: #d7a83d;
  --gold-dark: #825600;
  --muted: #65625b;
  --line: #ded9cf;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
button, input, textarea, select { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.035em; }
p { font-size: 1rem; }

.site { min-height: 100vh; overflow: clip; }
.site p, .site li, .site address, .site summary, .site button, .site a { overflow-wrap: anywhere; }
.text-size-1 .desktop-nav, .text-size-2 .desktop-nav { display: none; }
.text-size-1 .mobile-menu, .text-size-2 .mobile-menu { display: block; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: #fff;
  color: #000;
  border: 3px solid #000;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #f2c453; outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(170px, 260px) 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: .8rem max(4vw, calc((100vw - var(--max-width)) / 2));
  color: #fff;
  background: rgba(10, 10, 9, .93);
  border-bottom: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(14px);
}
.brand img { width: 160px; height: auto; max-height: 44px; object-fit: contain; object-position: left center; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 2vw, 1.7rem); }
.desktop-nav a, .site-footer nav a { font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; text-decoration: none; }
.desktop-nav a:hover, .site-footer nav a:hover { color: #efc65e; }
.access-header-button, .mobile-menu summary {
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: .65rem 1rem;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 750;
}
.access-header-button {
  border-color: #f2c453;
  background: #f2c453;
  color: #111;
}
.access-header-button:hover { background: #ffd66c; border-color: #ffd66c; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; min-width: 78px; text-align: center; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 1rem); width: min(320px, calc(100vw - 2rem)); padding: .8rem; display: flex; flex-direction: column; background: #111; border: 1px solid #555; }
.mobile-menu nav a { min-height: 46px; display: flex; align-items: center; padding: .6rem; text-decoration: none; font-weight: 750; }

.hero {
  min-height: 860px;
  padding: 180px max(6vw, calc((100vw - var(--max-width)) / 2)) 80px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  background-image: url('hero-bromarket.jpg');
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(transparent, rgba(0,0,0,.35));
  pointer-events: none;
}
.hero-content { max-width: 820px; position: relative; z-index: 1; }
.eyebrow { margin-bottom: 1rem; font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.gold, .card-kicker, .grant-label { color: var(--gold-dark); }
.hero h1 { max-width: 900px; margin-bottom: 1.7rem; font-size: clamp(3.5rem, 8vw, 7.6rem); font-weight: 850; letter-spacing: -.065em; }
.hero-lead { max-width: 700px; margin-bottom: 2.2rem; font-size: clamp(1.12rem, 2vw, 1.42rem); color: #f2f0ea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 2px;
  padding: .85rem 1.4rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--gold); color: #17120a; }
.button-primary:hover { background: #edc667; }
.button-outline { border-color: rgba(255,255,255,.72); color: #fff; }
.button-outline:hover { background: #fff; color: #111; }
.button-dark { width: 100%; background: #111; color: #fff; }
.hero-note {
  position: absolute;
  right: max(6vw, calc((100vw - var(--max-width)) / 2));
  bottom: 50px;
  z-index: 2;
  max-width: 360px;
  padding-left: 1.3rem;
  border-left: 3px solid var(--gold);
}
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { margin-bottom: .3rem; }
.hero-note span { font-size: .88rem; color: #e6e2d8; }

.section { padding: clamp(5rem, 9vw, 8.5rem) max(5vw, calc((100vw - var(--max-width)) / 2)); }
.section-heading { max-width: 780px; margin-bottom: 3rem; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2, .pillars-intro h2, .about-content h2, .contact h2 { margin-bottom: 1.2rem; font-size: clamp(2.4rem, 5vw, 4.6rem); }
.section-heading > p:last-child { max-width: 650px; color: var(--muted); }
.centered > p:last-child { margin-left: auto; margin-right: auto; }

.solutions { background: #fff; }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.solution-card { min-height: 620px; display: flex; flex-direction: column; color: #fff; position: relative; overflow: hidden; }
.solution-card::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(circle at 85% 0, rgba(255,255,255,.18), transparent 45%); }
.beer-card { background: linear-gradient(145deg, #3a2712, #13110e 66%); }
.spirits-card { background: linear-gradient(145deg, #162c2b, #0c1111 66%); }
.card-logo { min-height: 220px; display: flex; align-items: center; padding: 3rem; position: relative; z-index: 1; border-bottom: 1px solid rgba(255,255,255,.16); }
.card-logo img { width: min(100%, 360px); max-height: 100px; object-fit: contain; object-position: left center; }
.card-body { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; padding: 2.5rem 3rem 3rem; }
.card-kicker { margin-bottom: .6rem; color: #e9be58; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.card-body h3 { margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3rem); }
.card-body p, .card-body li { color: #e7e2d7; }
.card-body ul { margin: 1rem 0 2rem; padding-left: 1.2rem; }
.card-link { margin-top: auto; width: fit-content; font-weight: 800; color: #efc35a; text-underline-offset: 5px; }

.process { background: var(--paper); }
.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid li { min-height: 280px; padding: 2.2rem 1.5rem; border-right: 1px solid var(--line); }
.process-grid li:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 4rem; font-size: .78rem; font-weight: 850; color: var(--gold-dark); }
.process-grid h3 { margin-bottom: .8rem; font-size: 1.4rem; }
.process-grid p { color: var(--muted); }
.process-summary { width: min(100%, 760px); margin: 3rem auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.4rem 2rem; text-align: left; }
.summary-value { flex: 0 0 auto; white-space: nowrap; color: var(--gold-dark); font-size: clamp(2.7rem, 6vw, 4.5rem); font-weight: 850; line-height: 1; }
.process-summary p, .process-summary strong, .process-summary span { margin: 0; display: block; }
.process-summary p { flex: 1 1 22rem; min-width: 0; }
.process-summary p span { color: var(--muted); }

.pillars { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); color: #fff; background: #111210; }
.pillars-intro { align-self: center; }
.pillars-intro > p:last-child { color: #c9c7c0; }
.pillar-list article { padding: 2.1rem 0; display: grid; grid-template-columns: 50px 1fr; gap: 0 1rem; border-bottom: 1px solid #363733; }
.pillar-list article:first-child { border-top: 1px solid #363733; }
.pillar-list article > span { grid-row: 1 / 3; font-size: .78rem; color: #e8b94d; font-weight: 850; }
.pillar-list h3 { margin-bottom: .45rem; font-size: 1.6rem; }
.pillar-list p { margin-bottom: 0; color: #c9c7c0; }

.audience { background: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.audience-grid article { min-height: 230px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-grid article:nth-child(3n) { border-right: 0; }
.audience-grid article:nth-child(n+4) { border-bottom: 0; }
.audience-grid span { display: block; margin-bottom: 2.7rem; color: var(--gold-dark); font-size: .78rem; font-weight: 850; }
.audience-grid h3 { margin-bottom: .65rem; font-size: 1.7rem; }
.audience-grid p { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 730px; padding: 0; background: var(--paper); }
.about-image { min-height: 620px; background-image: linear-gradient(rgba(0,0,0,.04), rgba(0,0,0,.04)), url('about-bromarket.jpg'); background-size: cover; background-position: 66% center; }
.about-content { align-self: center; padding: clamp(4rem, 8vw, 8rem); max-width: 760px; }
.large-copy { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 650; }
.about-content > p:not(.eyebrow) { color: #484640; }
.about-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.about-tags span { padding: .55rem .9rem; border: 1px solid #b9b4aa; border-radius: 999px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

.grants { background: #fff; }
.grants-heading { max-width: 920px; }
.eu-logos { width: min(100%, 1040px); margin: 0 auto 4rem; }
.grant-list { display: grid; gap: 1.4rem; }
.grant-card { display: grid; grid-template-columns: 90px 1fr; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); background: var(--paper); border-top: 4px solid var(--gold); }
.grant-number { font-size: 1rem; font-weight: 850; color: var(--gold-dark); }
.grant-card h3 { max-width: 850px; margin-bottom: 1.5rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.grant-card p { max-width: 1000px; color: #47443e; }
.grant-label { font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.grant-values { margin: 2rem 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grant-values p { margin: 0; padding: 1.3rem 1rem 1.3rem 0; }
.grant-values p + p { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.grant-values span, .grant-values strong { display: block; }
.grant-values span { margin-bottom: .2rem; color: var(--muted); font-size: .8rem; }
.grant-values strong { color: var(--ink); font-size: 1.2rem; }
.hashtags { margin-bottom: 0; font-weight: 750; color: var(--gold-dark) !important; }

.contact { padding: clamp(4rem, 8vw, 7rem) max(6vw, calc((100vw - var(--max-width)) / 2)); display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; color: #fff; background: #171815; }
.contact h2 { margin-bottom: 0; }
.contact address { display: flex; flex-direction: column; padding-left: 2rem; border-left: 2px solid var(--gold); font-style: normal; }
.contact address strong { margin-bottom: .6rem; font-size: 1.1rem; }
.contact address a { margin-top: 1rem; width: fit-content; color: #efc35a; font-weight: 800; }
.privacy-note { padding: 1.5rem max(5vw, calc((100vw - var(--max-width)) / 2)); background: #10110f; color: #e5e3dc; border-top: 1px solid #32332f; }
.privacy-note summary { width: fit-content; padding: .7rem 0; cursor: pointer; font-weight: 750; }
.privacy-note details > div { max-width: 900px; padding: 1rem 0 2rem; }
.privacy-note p { color: #c8c6bf; }
.privacy-note a { color: #efc35a; }
.site-footer { padding: 2.5rem max(5vw, calc((100vw - var(--max-width)) / 2)); display: grid; grid-template-columns: 230px 1fr auto; gap: 2rem; align-items: center; color: #d8d6d0; background: #080907; }
.site-footer img { width: 230px; height: auto; max-height: 76px; object-fit: contain; object-position: left center; }
.site-footer p { margin: 0; font-size: .88rem; }
.site-footer nav { display: flex; gap: 1.2rem; }
.copyright { grid-column: 1 / -1; padding-top: 1.2rem; border-top: 1px solid #272824; color: #8e8f88; }

.accessibility-panel {
  position: fixed;
  z-index: 70;
  right: 1rem;
  top: 88px;
  width: min(340px, calc(100vw - 2rem));
  padding: 1.3rem;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  box-shadow: 0 20px 70px rgba(0,0,0,.28);
  transform: translateX(calc(100% + 2rem));
  transition: transform .2s ease;
}
.accessibility-panel[hidden] { display: none; }
.accessibility-panel.is-open { transform: translateX(0); }
.panel-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ddd; padding-bottom: .8rem; margin-bottom: 1rem; }
.panel-top h2 { margin: 0; font-size: 1.35rem; }
.panel-top button { min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer; font-size: 1.8rem; }
.access-group { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; font-weight: 700; }
.button-group { display: flex; gap: .35rem; }
.button-group button, .access-option, .reset-button { min-height: 44px; border: 1px solid #333; background: #fff; color: #111; cursor: pointer; font-weight: 750; }
.button-group button { min-width: 48px; }
.access-option, .reset-button { width: 100%; margin-top: .55rem; padding: .7rem; text-align: left; }
.access-option[aria-pressed="true"] { background: #111; color: #fff; }
.reset-button { margin-top: 1.2rem; text-align: center; border-color: #aaa; }

.age-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.92); }
.age-dialog { width: min(560px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; padding: clamp(2rem, 6vw, 4rem); text-align: center; background: var(--paper); color: #111; box-shadow: 0 30px 100px #000; }
.age-dialog img { width: min(100%, 290px); height: auto; margin: 0 auto 2.5rem; object-fit: contain; }
.age-dialog h2 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3.3rem); }
.age-dialog > p:not(.eyebrow) { color: #555149; }
.age-exit { display: inline-block; margin: 1rem 0; color: #51472f; font-weight: 750; }
.age-dialog small { display: block; color: #6c685f; }

.underline-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.high-contrast { --paper: #000; --ink: #fff; --muted: #fff; --line: #fff; --gold-dark: #ffe36e; }
.high-contrast .section, .high-contrast .about, .high-contrast .grants, .high-contrast .solutions, .high-contrast .audience, .high-contrast .grant-card, .high-contrast .age-dialog { background: #000; color: #fff; }
.high-contrast .card-body p, .high-contrast .card-body li, .high-contrast .section p, .high-contrast .about-content > p:not(.eyebrow), .high-contrast .grant-card p, .high-contrast .grant-values strong { color: #fff; }
.high-contrast .accessibility-panel { border-color: #fff; background: #000; color: #fff; }
.high-contrast .button-group button, .high-contrast .access-option, .high-contrast .reset-button { border-color: #fff; background: #000; color: #fff; }
.high-contrast .access-option[aria-pressed="true"] { background: #fff; color: #000; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; order: 2; }
  .access-header-button { order: 3; }
  .hero-note { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .site-footer { grid-template-columns: 220px 1fr; }
  .site-footer nav { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; gap: .5rem; padding: .65rem 1rem; }
  .brand img { width: 115px; height: auto; }
  .access-header-button { padding: .55rem .7rem; font-size: .72rem; }
  .mobile-menu summary { min-width: 64px; padding: .55rem .6rem; font-size: .72rem; }
  .hero { min-height: 780px; padding: 135px 1.25rem 60px; background-position: 62% center; }
  .hero h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section { padding: 4.5rem 1.25rem; }
  .solution-grid, .pillars, .about, .contact { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; }
  .card-logo { min-height: 160px; padding: 2rem; }
  .card-body { padding: 2rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-grid li:nth-child(n) { border-bottom: 1px solid var(--line); }
  .process-grid li:last-child { border-bottom: 0; }
  .step-number { margin-bottom: 2.5rem; }
  .process-summary { display: grid; grid-template-columns: 1fr; align-items: start; justify-items: start; }
  .process-summary p { width: 100%; }
  .pillars { gap: 2.5rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .audience-grid article:last-child { border-bottom: 0; }
  .about-image { min-height: 440px; }
  .about-content { padding: 4rem 1.25rem; }
  .eu-logos { margin-bottom: 2.5rem; }
  .grant-card { grid-template-columns: 1fr; gap: .5rem; }
  .grant-values { grid-template-columns: 1fr; }
  .grant-values p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .contact { gap: 2.5rem; padding: 4rem 1.25rem; }
  .contact address { padding-left: 1.2rem; }
  .site-footer { grid-template-columns: 1fr; padding: 2.5rem 1.25rem; }
  .site-footer nav { flex-wrap: wrap; }
  .copyright { grid-column: 1; }
  .age-dialog { padding: 2rem 1.25rem; }
  .age-dialog img { margin-bottom: 1.5rem; }
}

@media (max-width: 430px) {
  .brand img { width: 105px; }
  .access-header-button { font-size: 0; width: 46px; height: 42px; padding: 0; }
  .access-header-button::after { content: "Aa"; font-size: .8rem; }
}
