/* COPIED by design-system/build.ts from design-system/web/web.css — edit the SOURCE, not this file. */
/*
 * Web component library — dr. Edin Buljugić design system, web layer.
 *
 * SOURCE file (edit here): design-system/web/web.css
 * `npm run tokens` copies it (with a banner) into each deploy target's shared/
 * folder next to tokens.css. Pages load, in order:
 *   /fonts/fonts.css  →  /shared/tokens.css  →  /shared/web.css
 * Behaviors live in web.js (same folder, same distribution).
 *
 * Rules:
 *  - Brand values (color, font, radius, shadow, type size, spacing) come ONLY
 *    from --ds-* custom properties — never hardcode a hex or a font here.
 *  - Media-query breakpoints CANNOT read custom properties; the px values used
 *    below (640 / 880 / 1140) mirror `breakpoints` in design-system/tokens.ts.
 *    Change them there and here together.
 *  - Class naming: block + __element + --modifier, state classes are .is-*.
 */

/* ============================== base ==================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: var(--ds-font-body);
  font-size: var(--ds-web-size-body);
  line-height: var(--ds-leading-relaxed);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--ds-font-heading);
  color: var(--ds-text);
  line-height: var(--ds-leading-snug);
  margin: 0;
}
h1 { font-size: var(--ds-web-size-h1); font-weight: var(--ds-weight-bold); }
h2 { font-size: var(--ds-web-size-h2); font-weight: var(--ds-weight-bold); }
h3 { font-size: var(--ds-web-size-h3); font-weight: var(--ds-weight-semibold); }
h4 { font-size: var(--ds-web-size-body); font-weight: var(--ds-weight-semibold); }

p { margin: 0; }
p + p { margin-top: var(--ds-space-sm); }

a { color: var(--ds-accent); }

img, video { max-width: 100%; height: auto; display: block; }

::selection { background: var(--ds-accent); color: var(--ds-on-accent); }

:focus-visible {
  outline: 2px solid var(--ds-accent);
  outline-offset: 2px;
  border-radius: var(--ds-radius-sm);
}

.prose { max-width: 65ch; }
.prose p + p { margin-top: var(--ds-space-md); }

.lead {
  font-size: var(--ds-web-size-lead);
  color: var(--ds-text-muted);
  line-height: var(--ds-leading-normal);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* First focusable element on the page — visible only while focused */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--ds-space-sm);
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--ds-radius-md);
  background: var(--ds-navy);
  color: var(--ds-white);
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-small);
  font-weight: var(--ds-weight-semibold);
  text-decoration: none;
  box-shadow: var(--ds-shadow-lg);
  transition: top 0.14s ease;
}
.skip-link:focus-visible { top: var(--ds-space-sm); }

/* ====================== container + section shell ======================= */

.container {
  max-width: var(--ds-container-max);
  margin-inline: auto;
  padding-inline: var(--ds-container-gutter);
}

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--alt { background: var(--ds-surface); }
.section--tight { padding-block: clamp(36px, 6vw, 64px); }

/* Eyebrow tag + title + lead. Centered by default, --left for split layouts. */
.section-head { max-width: 720px; margin: 0 auto var(--ds-space-xl); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head .lead { margin-top: var(--ds-space-sm); }
.section-head .tag { margin-bottom: var(--ds-space-sm); }

/* ============================== eyebrow tag ============================= */

.tag {
  display: inline-block;
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-fine);
  font-weight: var(--ds-weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ds-accent);
}
.tag--light { color: var(--ds-cloud); }

/* ============================== buttons ================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-accent);
  color: var(--ds-on-accent);
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-small);
  font-weight: var(--ds-weight-semibold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease,
    border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { background: var(--ds-navy); transform: translateY(-1px); box-shadow: var(--ds-shadow-md); }
.btn:active { transform: translateY(0); }

.btn--secondary { background: var(--ds-navy); }
.btn--secondary:hover { background: var(--ds-accent); }

.btn--ghost { background: transparent; border-color: var(--ds-line); color: var(--ds-text); }
.btn--ghost:hover { background: var(--ds-bg); border-color: var(--ds-accent); color: var(--ds-accent); box-shadow: var(--ds-shadow-sm); }

/* On navy bands */
.btn--light { background: var(--ds-white); color: var(--ds-navy); }
.btn--light:hover { background: var(--ds-cloud); color: var(--ds-navy); }

.btn--sm { padding: 9px 18px; }

/* =========================== site header / nav ========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ds-bg) 82%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ds-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--ds-space-md);
  min-height: 68px;
}
.site-header__logo { display: inline-flex; align-items: center; flex: none; }
/* expects a TRIMMED lockup (no canvas padding) — e.g. assets/logos/EB logo-04-trim.png */
.site-header__logo img { height: 38px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: var(--ds-space-sm); margin-left: auto; }

.nav { display: flex; gap: 4px; margin-left: var(--ds-space-md); }
.nav a {
  padding: 8px 12px;
  border-radius: var(--ds-radius-pill);
  color: var(--ds-text-muted);
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-small);
  font-weight: var(--ds-weight-semibold);
  text-decoration: none;
  transition: color 0.14s ease, background-color 0.14s ease;
}
.nav a:hover { color: var(--ds-text); }
.nav a.is-active { color: var(--ds-accent); background: color-mix(in srgb, var(--ds-accent) 9%, transparent); }

/* Burger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-md);
  background: var(--ds-bg);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ds-navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* mirrors breakpoints.sm (640px) — source: design-system/tokens.ts */
@media (max-width: 640px) {
  .site-header__logo img { height: 30px; }
  .site-header__actions .btn { display: none; } /* CTA lives in the drawer/page on phones */
}

/* mirrors breakpoints.md (880px) — source: design-system/tokens.ts */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: var(--ds-space-sm) var(--ds-container-gutter) var(--ds-space-md);
    background: var(--ds-bg);
    border-bottom: 1px solid var(--ds-line);
    box-shadow: var(--ds-shadow-lg);
    display: none;
  }
  .site-header.nav-open .nav { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================ language toggle =========================== */

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-pill);
  background: var(--ds-surface);
}
.lang-toggle button {
  padding: 6px 12px;
  border: 0;
  border-radius: var(--ds-radius-pill);
  background: transparent;
  color: var(--ds-text-muted);
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-fine);
  font-weight: var(--ds-weight-semibold);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}
.lang-toggle button.is-active {
  background: var(--ds-bg);
  color: var(--ds-navy);
  box-shadow: var(--ds-shadow-sm);
}

/* ================================ hero ================================== */

.hero { padding-block: clamp(48px, 8vw, 96px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero__kicker { margin-bottom: var(--ds-space-sm); }
.hero__name {
  font-size: var(--ds-web-size-display);
  font-weight: var(--ds-weight-bold);
  line-height: var(--ds-leading-tight);
  letter-spacing: -0.015em;
}
.hero__role {
  margin-top: var(--ds-space-sm);
  font-size: var(--ds-web-size-lead);
  color: var(--ds-text-muted);
  line-height: var(--ds-leading-normal);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ds-space-sm);
  margin-top: var(--ds-space-lg);
}
.hero__photo { position: relative; }
.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-lg);
}
/* accent frame, offset behind the photo */
.hero__photo::before {
  content: "";
  position: absolute;
  inset: var(--ds-space-md) calc(-1 * var(--ds-space-sm)) calc(-1 * var(--ds-space-sm)) var(--ds-space-md);
  border: 2px solid var(--ds-accent);
  border-radius: var(--ds-radius-lg);
  opacity: 0.35;
  z-index: -1;
}

/* mirrors breakpoints.md (880px) — source: design-system/tokens.ts */
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; max-width: 420px; }
}

/* ========================== two-column split ============================ */
/* Generic copy + media (or copy + list) section layout; stacks on mobile. */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split--top { align-items: start; }
.split__media img {
  width: 100%;
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-lg);
}

/* mirrors breakpoints.md (880px) — source: design-system/tokens.ts */
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 420px; }
}

/* ================================ stats ================================= */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--ds-space-lg);
  text-align: center;
}
.stat__value {
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-h1);
  font-weight: var(--ds-weight-bold);
  color: var(--ds-accent);
  line-height: var(--ds-leading-tight);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: var(--ds-space-xs);
  font-size: var(--ds-web-size-small);
  color: var(--ds-text-muted);
}

/* ============================== icon cards ============================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--ds-space-md);
}
.card {
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-lg) var(--ds-space-md);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--ds-shadow-md); border-color: var(--ds-accent); }
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--ds-space-sm);
  border-radius: var(--ds-radius-md);
  background: color-mix(in srgb, var(--ds-accent) 10%, transparent);
  color: var(--ds-accent);
}
.card__icon svg { width: 22px; height: 22px; }
.card__title { margin-bottom: var(--ds-space-xs); }
.card__text { font-size: var(--ds-web-size-small); color: var(--ds-text-muted); }

/* ========================= numbered feature rows ======================== */

.feature-list { display: grid; gap: var(--ds-space-md); }
.feature-row {
  display: flex;
  gap: var(--ds-space-md);
  padding: var(--ds-space-md);
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-md);
}
.feature-row__num {
  flex: none;
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-h3);
  font-weight: var(--ds-weight-bold);
  color: var(--ds-accent);
  font-variant-numeric: tabular-nums;
  line-height: var(--ds-leading-snug);
}
.feature-row__title { margin-bottom: 2px; }
.feature-row__text { font-size: var(--ds-web-size-small); color: var(--ds-text-muted); }

/* =============================== timeline =============================== */

.timeline {
  display: grid;
  gap: var(--ds-space-lg);
  padding-left: var(--ds-space-md);
  border-left: 2px solid var(--ds-line);
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--ds-space-md) - 7px); /* center the dot on the 2px rail */
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-accent);
  border: 2px solid var(--ds-bg);
}
.timeline-item__meta {
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-fine);
  font-weight: var(--ds-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-accent);
}
.timeline-item__title { margin-top: 2px; }
.timeline-item__text { margin-top: 4px; font-size: var(--ds-web-size-small); color: var(--ds-text-muted); }

/* ============================== quote band ============================== */
/* Brand rule: no italics — the big mark + weight carry the emphasis. */

.quote-band {
  background: var(--ds-navy);
  color: var(--ds-white);
  padding-block: clamp(56px, 9vw, 104px);
}
.quote-band__inner { max-width: 820px; margin-inline: auto; text-align: center; }
.quote-band__mark {
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-display);
  font-weight: var(--ds-weight-bold);
  color: var(--ds-accent);
  line-height: 0.5;
  display: block;
  margin-bottom: var(--ds-space-md);
}
.quote-band__text {
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-h2);
  font-weight: var(--ds-weight-semibold);
  line-height: var(--ds-leading-snug);
  color: var(--ds-white);
}
.quote-band__cite {
  display: block;
  margin-top: var(--ds-space-md);
  font-family: var(--ds-font-body);
  font-size: var(--ds-web-size-small);
  color: var(--ds-cloud);
  opacity: 0.75;
}

/* =============================== CTA band =============================== */

.band {
  position: relative;
  overflow: hidden;
  background: var(--ds-navy);
  color: var(--ds-white);
  padding-block: clamp(40px, 6vw, 72px);
}
.band__glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 520px;
  height: 520px;
  border-radius: var(--ds-radius-pill);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ds-blue) 45%, transparent), transparent);
  pointer-events: none;
}
.band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-md);
}
.band h2, .band h3 { color: var(--ds-white); }
.band p { color: var(--ds-cloud); opacity: 0.85; max-width: 56ch; }

/* =========================== institution cards ========================== */
/* Data-driven: render from one array. Informational, deliberately calm —
   never a booking CTA (see docs/website-v2-plan.md §1). */

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--ds-space-md);
}
.place-card {
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  padding: var(--ds-space-lg) var(--ds-space-md);
}
.place-card__label {
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-fine);
  font-weight: var(--ds-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-accent);
}
.place-card__name { margin-top: var(--ds-space-xs); }
.place-card__addr {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: var(--ds-space-sm);
  font-size: var(--ds-web-size-small);
  color: var(--ds-text-muted);
}
.place-card__tels { display: grid; gap: 6px; margin-top: var(--ds-space-sm); }
.place-card__tels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-text);
  font-size: var(--ds-web-size-small);
  font-weight: var(--ds-weight-medium);
  text-decoration: none;
}
.place-card__tels a:hover { color: var(--ds-accent); }
.place-card__tels svg, .place-card__addr svg { width: 15px; height: 15px; flex: none; color: var(--ds-accent); }
.place-card__note { margin-top: var(--ds-space-sm); font-size: var(--ds-web-size-fine); color: var(--ds-text-muted); }

/* ============================ video (lite embed) ======================== */
/* No third-party JS/iframe until the visitor clicks (web.js swaps it in). */

.video-card {
  overflow: hidden;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-lg);
  background: var(--ds-bg);
}
.video-card__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ds-navy); }
.video-card__frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.video-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  background: linear-gradient(to top, rgba(41, 57, 100, 0.55), transparent 55%);
  cursor: pointer;
}
.video-card__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-accent);
  color: var(--ds-on-accent);
  box-shadow: var(--ds-shadow-lg);
  transition: transform 0.16s ease, background-color 0.16s ease;
}
.video-card__play:hover span { transform: scale(1.08); background: var(--ds-navy); }
.video-card__play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card__title { padding: var(--ds-space-sm) var(--ds-space-md); font-weight: var(--ds-weight-semibold); font-family: var(--ds-font-heading); font-size: var(--ds-web-size-small); }

/* ========================== social follow cards ========================= */

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--ds-space-md);
}
a.social-card {
  display: flex;
  align-items: center;
  gap: var(--ds-space-sm);
  padding: var(--ds-space-sm) var(--ds-space-md);
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-md);
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
a.social-card:hover { transform: translateY(-2px); box-shadow: var(--ds-shadow-md); border-color: var(--ds-accent); }
.social-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--ds-radius-md);
  background: color-mix(in srgb, var(--ds-accent) 10%, transparent);
  color: var(--ds-accent);
}
.social-card__icon svg { width: 20px; height: 20px; }
.social-card__platform { font-family: var(--ds-font-heading); font-weight: var(--ds-weight-semibold); font-size: var(--ds-web-size-small); }
.social-card__handle { font-size: var(--ds-web-size-fine); color: var(--ds-text-muted); }
.social-card__arrow { margin-left: auto; color: var(--ds-text-muted); transition: transform 0.16s ease, color 0.16s ease; }
a.social-card:hover .social-card__arrow { transform: translateX(3px); color: var(--ds-accent); }

/* Compact icon row (hero, footer) */
.social-row { display: flex; gap: var(--ds-space-xs); }
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-pill);
  color: var(--ds-text-muted);
  transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}
.social-row a:hover { color: var(--ds-accent); border-color: var(--ds-accent); background: color-mix(in srgb, var(--ds-accent) 6%, transparent); }
.social-row svg { width: 18px; height: 18px; }

/* ============================== accordion =============================== */

.accordion { display: grid; gap: var(--ds-space-xs); }
.accordion-item {
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-md);
}
.accordion__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-sm);
  width: 100%;
  padding: var(--ds-space-sm) var(--ds-space-md);
  border: 0;
  background: transparent;
  color: var(--ds-text);
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-body);
  font-weight: var(--ds-weight-semibold);
  text-align: left;
  cursor: pointer;
}
.accordion__q::after {
  content: "+";
  flex: none;
  font-size: var(--ds-web-size-h3);
  font-weight: var(--ds-weight-regular);
  color: var(--ds-accent);
  line-height: 1;
  transition: transform 0.18s ease;
}
.accordion-item.is-open .accordion__q::after { transform: rotate(45deg); }
.accordion__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}
.accordion__a > div { overflow: hidden; }
.accordion__a p {
  padding: 0 var(--ds-space-md) var(--ds-space-md);
  font-size: var(--ds-web-size-small);
  color: var(--ds-text-muted);
}
.accordion-item.is-open .accordion__a { grid-template-rows: 1fr; }

/* ================================ forms ================================= */

.form { display: grid; gap: var(--ds-space-md); }
.form__row { display: grid; gap: var(--ds-space-md); grid-template-columns: 1fr 1fr; }
/* mirrors breakpoints.sm (640px) — source: design-system/tokens.ts */
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field__label {
  font-family: var(--ds-font-heading);
  font-size: var(--ds-web-size-fine);
  font-weight: var(--ds-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ds-text-muted);
}
.input, .textarea, .select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ds-line);
  border-radius: var(--ds-radius-md);
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: var(--ds-font-body);
  font-size: var(--ds-web-size-body);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--ds-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ds-accent) 18%, transparent);
}
.textarea { min-height: 140px; resize: vertical; }
.form-status { font-size: var(--ds-web-size-small); color: var(--ds-text-muted); min-height: 1.4em; }
.form-status.is-error { color: var(--ds-accent); }
/* Honeypot — invisible to humans, present for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ================================ footer ================================ */

.site-footer {
  background: var(--ds-surface);
  border-top: 1px solid var(--ds-line);
  padding-block: var(--ds-space-xl);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-lg);
}
/* expects a TRIMMED wordmark — e.g. assets/logos/EB logo-03-trim.png */
.site-footer__brand img { height: 44px; width: auto; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: var(--ds-space-md); }
.site-footer__nav a {
  color: var(--ds-text-muted);
  font-size: var(--ds-web-size-small);
  font-weight: var(--ds-weight-medium);
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--ds-accent); }
.site-footer__fine {
  margin-top: var(--ds-space-lg);
  font-size: var(--ds-web-size-fine);
  color: var(--ds-text-muted);
}

/* =============================== utilities ============================== */

/* Scroll reveal — web.js adds .is-visible on intersection */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ========================== reduced motion ============================== */

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