/* The visual world of eventhoster.net (2026-09-22): the conference identity.
   White ground, one cobalt block, large statements, offerings as program
   rows. Archivo variable, self-hosted from /fonts/. The first part is the
   global sheet of the Astro build, the second the styles of its components,
   each under the class of its root element. */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-variable-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-variable-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: italic;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --ink: #16181d;
  --slate: #4b5563;
  --mist: #eef1f6;
  --line: #d5dae3;
  --cobalt: #1d3fe0;
  --cobalt-deep: #142fb0;
  --tint: #c7d2ff;
  --measure: 64ch;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --wide: 84rem;
  --rise: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html {
  color: var(--ink);
  background: var(--white);
  font: 400 18px/1.55 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  caret-color: var(--cobalt);
  accent-color: var(--cobalt);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
::selection { background: var(--cobalt); color: var(--white); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

h1, h2, h3 {
  font-stretch: 118%;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.4rem; line-height: 1.15; }
p { margin: 0; max-width: var(--measure); overflow-wrap: anywhere; }
p + p { margin-top: 1em; }
a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--cobalt-deep); }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding-left: 1.2rem; }
li::marker { color: var(--cobalt); }
figure { margin: 0; }
figcaption { font-size: 0.95rem; color: var(--slate); margin-top: 0.6rem; }

/* one button, cobalt, the action of every page */
.action {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  background: var(--cobalt);
  color: var(--white);
  font-weight: 600;
  font-stretch: 106%;
  text-decoration: none;
  transition: background 160ms ease-out, transform 160ms ease-out;
}
.action:hover { background: var(--cobalt-deep); color: var(--white); }
.action:active { transform: translateY(1px); }
.action.light { background: var(--white); color: var(--cobalt); }
.action.light:hover { background: var(--tint); color: var(--cobalt-deep); }

/* page width */
.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.prose { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; padding-block: clamp(3rem, 7vw, 6rem); }
.prose h1 { margin-bottom: 1.2rem; max-width: 20ch; }
.prose h2 { margin-top: 2.8rem; margin-bottom: 0.9rem; }
.prose h3 { margin-top: 1.8rem; margin-bottom: 0.5rem; }
.prose p, .prose address, .prose dl, .prose ul, .prose ol { max-width: var(--measure); }
.prose ul, .prose ol { display: grid; gap: 0.4rem; }
.prose dl { margin: 0; }
.prose dl div { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: 0.3rem 1rem; padding: 0.35rem 0; }
.prose dt { color: var(--slate); }
.prose dd { margin: 0; }
@media (max-width: 480px) { .prose dl div { grid-template-columns: 1fr; gap: 0; padding: 0.5rem 0; } }

/* the statement: the large line of a page */
.statement { font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.sub { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-stretch: 104%; line-height: 1.35; max-width: 34ch; }

/* program rows: an offering or a catalog item as one line that is one link */
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.rows li { margin: 0; }
.rows a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'title price' 'line price';
  gap: 0.15rem 2rem;
  align-items: start;
  padding: 1.1rem 0.9rem 1.2rem;
  margin-inline: -0.9rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--mist);
  transition: background 120ms ease-out, color 120ms ease-out;
}
.rows a:hover, .rows a:focus-visible { background: var(--cobalt); color: var(--white); outline: none; }
.rows a:hover .price, .rows a:focus-visible .price { color: var(--tint); }
.rows a:hover .line, .rows a:focus-visible .line { color: var(--tint); }
.rows .title { grid-area: title; font-stretch: 112%; font-weight: 700; font-size: 1.45rem; line-height: 1.15; letter-spacing: -0.015em; }
.rows .line { grid-area: line; color: var(--slate); max-width: 52ch; }
.rows .price { grid-area: price; font-variant-numeric: tabular-nums; font-stretch: 104%; color: var(--slate); white-space: nowrap; padding-top: 0.35rem; }
@media (max-width: 560px) {
  .rows a { grid-template-columns: 1fr; grid-template-areas: 'title' 'line' 'price'; gap: 0.2rem; }
  .rows .price { padding-top: 0.2rem; }
}

/* the cobalt field: a block that owns its region */
.field { background: var(--cobalt); color: var(--white); }
.field a { color: var(--white); }
.field a:hover { color: var(--tint); }
.field p, .field li { color: var(--white); }
.field .muted { color: var(--tint); }
.field ::selection { background: var(--white); color: var(--cobalt); }
.field :focus-visible { outline-color: var(--white); }

/* ---- the header ---- */
.site-header { background: var(--white); }
.site-header .skip { position: absolute; left: -100vw; top: 0.5rem; background: var(--ink); color: var(--white); padding: 0.5rem 1rem; z-index: 20; }
.site-header .skip:focus { left: 0.5rem; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: 1rem; }
.site-header .brand img { width: 168px; height: auto; }
.site-header .menu { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2rem); }
.site-header .menu a { color: var(--ink); text-decoration: none; padding: 0.6rem 0; font-weight: 500; border-bottom: 2px solid transparent; }
.site-header .menu a:hover, .site-header .menu a[aria-current='page'] { border-bottom-color: var(--cobalt); }
.site-header .menu .lang { font-stretch: 106%; color: var(--slate); }
.site-header .menu .request { min-height: 2.6rem; padding: 0.45rem 1.1rem; color: var(--white); border-bottom: 0; }
.site-header .menu .request:hover { color: var(--white); }
.site-header .menu-button { display: none; }
/* the checkbox stays in the tab order; its focus ring is drawn on the label */
.site-header .menu-state { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-header .menu-state:focus-visible ~ .menu-button { outline: 3px solid var(--cobalt); outline-offset: 3px; }
@media (max-width: 860px) {
  .site-header .menu-button { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; margin-right: -0.5rem; cursor: pointer; align-items: center; }
  .site-header .menu-button span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform 160ms ease-out, opacity 160ms ease-out; }
  .site-header .menu { display: none; position: absolute; left: 0; right: 0; top: 4.5rem; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 0.5rem var(--gutter) 1rem; z-index: 10; box-shadow: 0 12px 24px -12px rgba(22, 24, 29, 0.35); }
  .site-header .menu a { padding: 0.8rem 0; min-height: 44px; }
  .site-header .menu a[aria-current='page'] { color: var(--cobalt); }
  .site-header .menu .request { justify-content: center; margin-top: 0.75rem; color: var(--white); }
  .site-header .menu .request[aria-current='page'] { color: var(--white); }
  .site-header .menu-state:checked ~ .menu { display: flex; }
  .site-header .menu-state:checked ~ .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header .menu-state:checked ~ .menu-button span:nth-child(2) { opacity: 0; }
  .site-header .menu-state:checked ~ .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header { position: relative; }
}

/* ---- the footer ---- */
.site-footer { background: var(--mist); padding-block: 3rem; margin-top: auto; }
.site-footer .grid { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 3rem; align-items: center; }
.site-footer .brand img { width: 140px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; justify-content: flex-end; }
.site-footer nav a { color: var(--ink); text-decoration: none; padding: 0.6rem 0; }
.site-footer nav a:hover { color: var(--cobalt); }
.site-footer .legal { grid-column: 1 / -1; color: var(--slate); font-size: 0.95rem; max-width: none; }
@media (max-width: 640px) {
  .site-footer .grid { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

/* ---- the hero ---- */
.hero { display: grid; grid-template-columns: 2fr 3fr; min-height: calc(100vh - 4.5rem); overflow: clip; }
/* the block is one viewport high and stays in view while a long program column scrolls past it */
.hero .block { display: flex; align-items: flex-end; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); height: calc(100vh - 4.5rem); position: sticky; top: 0; align-self: start; animation: rise 700ms var(--rise) both; }
.hero .inner { display: grid; gap: 1.4rem; }
/* the photo fills the block above the statement, edge to edge */
.hero .with-photo { display: grid; grid-template-rows: minmax(42%, 1fr) auto; padding: 0; }
.hero .with-photo .statement { font-size: clamp(2.2rem, 3.9vw, 3.4rem); max-width: 13ch; }
.hero .with-photo .photo { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.hero .with-photo .inner { padding: clamp(2rem, 4vw, 3rem) var(--gutter); }
/* min-content keeps a long word (Equipment) whole; the box grows to it */
.hero .statement { max-width: 12ch; min-width: min-content; overflow-wrap: normal; }
.hero .program { display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); max-width: 56rem; }
.hero .explain { font-size: 1.15rem; line-height: 1.45; max-width: 52ch; }
.hero .rows-title { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.hero .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; max-width: none; margin-top: 0.4rem; }
.hero .mail { font-weight: 500; display: inline-flex; align-items: center; min-height: 2.75rem; }
@keyframes rise { from { transform: translateY(40%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero .block { animation: none; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .block { height: auto; min-height: 0; position: static; padding-block: 3.5rem 3rem; }
  .hero .with-photo { grid-template-rows: auto auto; padding: 0; }
  .hero .with-photo .photo { height: 15rem; }
  .hero .with-photo .inner { padding: 2.5rem var(--gutter) 3rem; }
  .hero .program { padding-top: 2rem; }
}

/* ---- the FAQs ---- */
.faq { background: var(--mist); padding-block: clamp(3.5rem, 8vw, 6rem); }
.faq .list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 4rem; margin-top: 2.2rem; }
.faq .qa { display: grid; gap: 0.6rem; align-content: start; }
.faq .qa p { max-width: 52ch; }
@media (max-width: 760px) { .faq .list { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- the contact block ---- */
.reach { padding-block: clamp(3.5rem, 8vw, 6rem); }
.reach .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; align-items: start; }
.reach h2 { grid-column: 1 / -1; max-width: 16ch; }
.reach .ways { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; font-size: 1.15rem; }
.reach .ways li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; align-items: baseline; }
.reach .ways a { text-decoration-color: var(--tint); }
.reach .act { align-self: end; justify-self: end; max-width: none; }
.reach .slogan { grid-column: 1 / -1; font-stretch: 112%; font-weight: 700; font-size: 1.4rem; margin-top: 1rem; }
@media (max-width: 640px) {
  .reach .grid { grid-template-columns: 1fr; }
  .reach .act { justify-self: start; }
  .reach .ways li { grid-template-columns: 1fr; gap: 0; }
}

/* ---- the "Offerings:" row ---- */
.offerings { margin-top: 2.5rem; max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.8rem; }
.offerings .label { color: var(--slate); }
.offerings .action { border: 1px solid var(--cobalt); }

/* ---- the home page ---- */
.events, .about, .team, .partners, .partner-program { padding-block: clamp(3.5rem, 8vw, 6rem); }
.team .lead, .partners .lead { margin-top: 1rem; max-width: 56ch; }
.two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 2rem 4rem; align-items: start; }
.two h2 { max-width: 14ch; }
.two .text { display: grid; gap: 1em; }
.two .text p + p { margin-top: 0; }
.two .text ul { display: grid; gap: 0.4rem; max-width: var(--measure); margin-top: 0.4rem; }
.events .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.events img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.people { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem 1.2rem; }
.people li { display: grid; gap: 0.35rem; }
.people img { width: 100%; aspect-ratio: 360 / 398; object-fit: cover; margin-bottom: 0.4rem; }
.people .name { font-weight: 600; font-stretch: 106%; line-height: 1.2; }
.people a { text-decoration-color: var(--tint); }
.logos { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem 2rem; align-items: center; }
.logos li { display: flex; justify-content: center; }
.logos img { width: 100%; height: auto; transform: scale(var(--s, 1)); }
@media (max-width: 860px) {
  .two { grid-template-columns: 1fr; gap: 1.2rem; }
  .events .three { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- the offering pages ---- */
.picture img { width: 100%; max-height: 34rem; object-fit: cover; }
.intro, .equipment { padding-block: clamp(3.5rem, 8vw, 6rem); }
.offering .two h2 { max-width: 16ch; }
.equipment .rows { margin-top: 1.6rem; }
.related { padding-block: 2.5rem; }
.related .offerings { margin-top: 0; }

/* ---- a catalog item ---- */
.item { padding-block: clamp(3rem, 7vw, 6rem); }
.item .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.item .head { display: grid; gap: 1.2rem; align-content: start; }
.item .head h1 { max-width: 14ch; }
.item .price { font-size: 1.35rem; font-stretch: 106%; font-weight: 600; font-variant-numeric: tabular-nums; }
.item .price .lead { color: var(--slate); font-weight: 400; margin-right: 0.4rem; }
.item .act { margin-top: 0.4rem; }
.item .note { color: var(--slate); font-size: 0.95rem; max-width: 44ch; }
.item .photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.item .text { grid-column: 1 / -1; display: grid; gap: 1em; max-width: var(--measure); }
.item .text p + p { margin-top: 0; }
@media (max-width: 860px) { .item .grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- the request, contact, legal, terms and error pages ---- */
.request .text { display: grid; gap: 1em; margin-top: 1.6rem; }
.request .text p + p { margin-top: 0; }
.request .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2.2rem; max-width: none; }
.contact dl { margin-top: 2rem; font-size: 1.1rem; }
.contact .act { margin-top: 2.5rem; }
.legal address { margin-top: 0.2rem; }
.legal dl { margin-top: 1.5rem; }
.terms h2 { font-size: 1.5rem; }
.terms p { max-width: var(--measure); }
.error .act { margin-top: 2rem; }
