/* Source Sans 3 (self-hosted so it works on any static host, incl. GitHub Pages) */
@font-face {
  font-family: "Source Sans 3";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("assets/fonts/source-sans-3-latin-900-normal.woff2") format("woff2");
}

:root {
  --bar-bg: #f2f2f2;
  --bar-height: 64px;
  --blue: #3b82f6;
  --blue-dark: #2f6fdb;
  --container: 1140px;
}

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

html, body { margin: 0; padding: 0; }

body {
  background: #ffffff;
  color: #1a1a1a;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Title bar ---------- */
.topbar {
  background: var(--bar-bg);
  height: var(--bar-height);
  border-bottom: 1px solid #e4e4e4;
}

.topbar-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: #000000;
  background: none;
  padding: 11px 0;
  transition: opacity 0.15s ease;
}

.btn:hover { opacity: 0.6; }

.btn:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: clamp(420px, 68vh, 680px);
  background:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
    url("assets/hero.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  color: #ffffff;
}

.hero h1 {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-transform: uppercase;
}

.hero p {
  margin: 14px 0 0;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  color: #ffffff;
}

@media (max-width: 520px) {
  .topbar-inner { padding: 0 16px; }
  .hero-inner { padding: 0 16px; }
  .btn { font-size: 15px; }
}

/* ---------- About ---------- */
.about {
  background: #ffffff;
  padding: 72px 0 96px;
}

.about-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.about h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  color: #4a4a4a;
}

.about p {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.65;
  color: #333333;
}

.about p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #1a1a1a;
}

@media (max-width: 520px) {
  .about { padding: 48px 0 64px; }
  .about-inner { padding: 0 16px; }
  .about p { font-size: 17px; }
}
