:root {
  --brand-950: #071711;
  --brand-900: #0a1f17;
  --brand-800: #0f2e22;
  --brand-300: #7fa791;
  --accent-500: #c9a227;
  --accent-600: #a8871c;
  --text-invert-muted: #b7c9bd;
  --line-invert: rgba(255, 255, 255, 0.16);
  --radius: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 7vw, 5rem) clamp(1.25rem, 5vw, 3rem);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #fff;
  background: var(--brand-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  position: relative;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: absolute;
  inset-inline-end: -20%;
  top: -25%;
  width: 42rem;
  height: 42rem;
  max-width: 120vw;
  border-radius: 50%;
  background: var(--brand-800);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
main { position: relative; z-index: 1; width: 100%; max-width: 44rem; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.brand svg { width: 2.35rem; height: 2.35rem; flex: none; display: block; }
.brand__name { display: block; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; }
.brand__name em { font-style: normal; color: var(--accent-500); }
.brand__sub {
  display: block; margin-top: 3px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-300);
}
.eyebrow {
  display: block; margin: 0 0 0.85rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-500);
}
h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
.lede { margin: 0 0 1.5rem; font-size: clamp(1.0625rem, 0.6vw + 1rem, 1.1875rem); color: var(--text-invert-muted); max-width: 52ch; }
.rule { width: 3rem; height: 3px; background: var(--accent-500); border-radius: 2px; margin: 0 0 1.5rem; }
.contact {
  list-style: none;
  margin: clamp(2rem, 5vw, 2.75rem) 0 0;
  padding: clamp(1.5rem, 4vw, 2rem) 0 0;
  border-top: 1px solid var(--line-invert);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact svg { width: 1.15em; height: 1.15em; margin-top: 0.3em; flex: none; fill: var(--accent-500); }
.contact span { display: block; }
.contact .label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-300); margin-bottom: 2px;
}
a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-500); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.2;
  text-decoration: none;
  transition: background-color 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
              border-color 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
              color 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn--primary { background: var(--accent-500); color: var(--brand-950); border-color: var(--accent-500); }
.btn--primary:hover { background: var(--accent-600); border-color: var(--accent-600); color: #fff; }
.btn--ghost { color: #fff; border-color: var(--line-invert); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
footer {
  position: relative; z-index: 1;
  width: 100%; max-width: 44rem; margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  font-size: 0.8125rem; color: var(--text-invert-muted);
}
footer p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent-500); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media print {
  body { background: #fff; color: #000; min-height: 0; }
  body::after { display: none; }
  .btn, .brand__sub { color: #000; }
  a { color: #000; }
}

/* Skip link: hidden until focused */
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 10;
  padding: 0.6rem 1rem; border-radius: var(--radius);
  background: var(--accent-500); color: var(--brand-950); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--brand-950); }

/* Builder credit (WEBSITE-STANDARDS 8.4): muted, like the rest of the footer */
footer a { color: inherit; }
footer a:hover { color: var(--accent-500); }

/* Builder credit (WEBSITE-STANDARDS 8.4): the Solvagio mark before the name, sized to the text */
.solvagio-credit { white-space: nowrap; }
.solvagio-credit-mark { display: inline-block; width: 1.43em; height: .86em; margin-right: .3em; vertical-align: -.05em; }
