/* Public landing page (POC-006 Slice 5). Colours are sampled from the
   approved artwork in docs/branding. Fonts are self-hosted (SIL OFL; licence
   files in /fonts) so the page makes no third-party requests. */

@font-face {
  font-family: "Cinzel";
  src: url("../fonts/cinzel-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/ebgaramond-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("../fonts/ebgaramond-italic-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #010204;
  --ink-raised: #070b12;
  --silver: #dacfc4;
  --text: #c9c6c2;
  --muted: #8e8c8a;
  --blue: #1d77c4;
  --blue-bright: #3d93e0;
  --rule: rgba(61, 147, 224, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 45% at 50% 30%, rgba(29, 119, 196, 0.10), transparent 70%),
    var(--ink);
  color: var(--text);
  font-family: "EB Garamond", Garamond, "Times New Roman", serif;
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(8px, 3vw, 32px);
}

.hero picture {
  width: 100%;
  max-width: 960px;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
  /* Feather the painted edges into the page so the image has no visible frame. */
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
  padding: 6px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--silver);
}

.dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
}

.intro {
  max-width: 44rem;
  margin: clamp(40px, 7vw, 72px) auto 0;
  text-align: center;
}

.lead {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.55;
  color: var(--silver);
}

.lead em {
  color: var(--blue-bright);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin: clamp(48px, 8vw, 88px) 0 clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.pillars article {
  padding: 28px 24px 32px;
}

.pillars h2 {
  margin: 0 0 12px;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}

.pillars h2::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 12px;
  background: var(--blue);
}

.pillars p {
  margin: 0;
  font-size: 1.0625rem;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 24px 16px 32px;
  font-size: 0.95rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

footer a:hover,
footer a:focus-visible {
  color: var(--silver);
  border-bottom-color: var(--blue-bright);
}

a:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}
