:root {
  --blue: #2d4f70;
  --blue-deep: #213c57;
  --green: #82a454;
  --yellow: #ecd86f;
  --grey: #898a89;
  --off-white: #e8e6e2;
  --soft-white: #f9f7f7;

  --bar-h: 64px;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  color: var(--blue);
  background: var(--soft-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.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;
}

/* ---------- Top bar ---------- */
.topbar {
  height: var(--bar-h);
  background: var(--blue);
  color: var(--soft-white);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.topbar__inner {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem;
}

.topbar__inner span {
  color: var(--off-white);
  text-transform: uppercase;
  font-weight: 600;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

.brand img {
  /* width: 28px; */
  height: 38px;
  object-fit: contain;
  display: block;
}

.topbar__meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(249, 247, 247, 0.7);
}

/* ---------- Hero ---------- */
.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(130, 164, 84, 0.18), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(45, 79, 112, 0.12), transparent 60%),
    linear-gradient(180deg, var(--soft-white) 0%, var(--off-white) 100%);
}

.hero__inner {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

/* Left: logo / icon */
.hero__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(45, 79, 112, 0.12);
}

.hero__mark img {
  width: clamp(180px, 26vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(45, 79, 112, 0.18));
}

/* Right: info */
.hero__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* gap: 1.1rem; */
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}

.hero__name {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
  margin: 0;
  max-width: 22ch;
  /* margin-bottom: 1rem; */
}

.hero__lede {
  margin: 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.hero__logo img {
  /* width: 28px; */
  height: 100px;
  object-fit: contain;
  display: block;
}


/* Contact list */
.contact {
  margin: 0.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact__row {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 0.85rem;
}

.contact__row dt {
  margin: 0;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(45, 79, 112, 0.08);
  color: var(--blue);
}

.contact__row dd {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--blue-deep);
  font-weight: 500;
}

.contact__row a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 79, 112, 0.25);
  transition: color 150ms ease, border-color 150ms ease;
}

.contact__row a:hover,
.contact__row a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
  outline: none;
}

/* Tri-color accent */
.stripe {
  margin-top: 1rem;
  width: clamp(160px, 22vw, 240px);
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--blue) 0%,
    var(--blue) 33%,
    var(--green) 33%,
    var(--green) 66%,
    var(--yellow) 66%,
    var(--yellow) 100%
  );
}

/* ---------- Footer bar ---------- */
.footbar {
  background: var(--blue-deep);
  color: rgba(249, 247, 247, 0.85);
  font-size: 0.85rem;
}

.footbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  letter-spacing: 0.02em;
}

.footbar a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}

.footbar a:hover,
.footbar a:focus-visible {
  border-bottom-color: var(--yellow);
  outline: none;
}

.dot { color: rgba(249, 247, 247, 0.4); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero__mark {
    border-right: none;
    border-bottom: 1px solid rgba(45, 79, 112, 0.12);
    padding: 0 0 2rem;
  }

  .hero__mark img {
    width: clamp(160px, 40vw, 240px);
  }

  .hero__info {
    align-items: center;
  }

  .stripe { align-self: center; }
}

@media (max-width: 540px) {
  .topbar__meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__mark img { animation: none; }
}
