:root {
  --blue: #1463ff;
  --blue-600: #0a4fe0;
  --ink: #0b1b3f;
  --ink-2: #26375c;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: hidden;
}

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

svg {
  width: 1.2em; height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- header / footer shared brand block ---------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-icon { flex: none; width: clamp(28px, 3.4vw, 40px); height: auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: clamp(15px, 1.7vw, 20px);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: clamp(10px, 1vw, 13px);
  color: var(--ink-2);
  opacity: .85;
}

/* ---------- header ---------- */

.site-header {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(10px, 1.6vw, 20px) clamp(16px, 4vw, 56px);
  background: #ffffff;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(9px, 1.2vw, 13px) clamp(14px, 2vw, 24px);
  border: 1.5px solid var(--blue);
  border-radius: 12px;
  color: var(--blue);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
  transition: background-color .15s ease, color .15s ease;
}

.admin-btn:hover,
.admin-btn:focus-visible {
  background: var(--blue);
  color: #fff;
}

/* ---------- hero ---------- */

.hero {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- footer ---------- */

.site-footer {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: clamp(10px, 1.6vw, 22px) clamp(16px, 4vw, 56px);
  background: #ffffff;
}

.footer-meta {
  margin: 0;
  font-size: clamp(11px, 1.05vw, 14px);
  color: var(--ink-2);
  opacity: .85;
  white-space: nowrap;
}

/* ---------- narrow / mobile portrait: stack footer, tighten header ---------- */

@media (max-width: 640px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-meta { white-space: normal; }
}
