:root {
  color-scheme: dark;
  --navy: #16324f;
  --white: #fcfcfa;
  --gold: #f4b942;
  --muted: #bdcede;
}

* { box-sizing: border-box; }

html {
  background: var(--navy);
  color: var(--white);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1280px;
  margin-inline: auto;
  padding: 44px 64px 26px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; }
.brand { display: inline-block; border-radius: 3px; }
.brand img { width: 160px; }

.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 48px;
  flex: 1;
  padding-block: 56px 64px;
}

.hero-copy { min-width: 0; }

.development-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.development-status span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

/* Blazor focuses the page heading on navigation; keyboard links retain their outline. */
h1:focus { outline: none; }

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.hero-description {
  max-width: 43ch;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 13px 23px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  background: var(--gold);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-button:hover { background: #ffd078; border-color: #ffd078; }
.contact-button:active { background: #e5aa32; }
.contact-button span { font-size: 1.3em; line-height: 1; }

.hero-art { margin: 0; }
.hero-art img { width: 100%; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgb(189 206 222 / 18%);
  color: var(--muted);
  font-size: 0.8125rem;
}

.not-found { flex: 1; padding-block: 80px; }
.not-found h1 { font-size: clamp(2.5rem, 5vw, 4rem); }

#blazor-error-ui {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 20;
  display: none;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 16px 20px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
}

#blazor-error-ui .reload { margin-inline: 12px; color: var(--gold); }
#blazor-error-ui .dismiss {
  padding: 4px 10px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
}

@media (max-width: 1000px) {
  .site-shell { padding-inline: 40px; }
  .hero { gap: 28px; }
}

@media (max-width: 760px) {
  .site-shell { padding: 28px 24px 24px; }
  .brand img { width: 144px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 48px 40px; }
  .development-status { margin-bottom: 16px; }
  h1 { margin-bottom: 16px; }
  .hero-description { font-size: 1.0625rem; margin-block: 20px 28px; }
  .desktop-break { display: none; }
  .hero-art { width: min(100%, 360px); margin-inline: auto; }
}

@media (max-width: 359px) {
  .site-shell { padding-inline: 20px; }
  h1 { font-size: 3.25rem; }
}
