/* Aldera Research. Copper-mineral palette (azurite, malachite) on limestone grey.
   Archivo + Archivo Black, OFL, self-hosted. */

@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("fonts/Archivo-Regular.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("fonts/Archivo-Medium.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("fonts/Archivo-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Archivo Black"; font-weight: 400; font-display: swap; src: url("fonts/ArchivoBlack-Regular.woff2") format("woff2"); }

:root {
  --page: #f2f4f1;      /* limestone */
  --line: #d3dcd8;
  --text: #14202b;      /* deep slate */
  --text-2: #3e5260;
  --text-3: #6b7f8a;
  --azurite: #2a5db0;
  --malachite: #2f8f6b;
  --shale: #93ada9;
  --deep: #22313f;
  --measure: 38rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 1.0625rem/1.6 "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--azurite); text-underline-offset: 0.18em; }
a:hover { color: var(--malachite); }
:focus-visible { outline: 2px solid var(--azurite); outline-offset: 3px; }

/* Wordmark: name over three mineral bars (azurite, malachite, shale) */
.wordmark {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
}
.wordmark span {
  display: block;
  font-family: "Archivo Black", "Archivo", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
}
.bars { display: block; }
.bars i { display: block; }
.bars i:nth-child(1) { background: var(--azurite); }
.bars i:nth-child(2) { background: var(--malachite); }
.bars i:nth-child(3) { background: var(--shale); }

/* Small header wordmark on inner pages */
.top {
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.top .wordmark span { font-size: 1.05rem; white-space: nowrap; }
.top .bars { width: 3.4rem; margin-top: 0.4rem; }
.top .bars i:nth-child(1) { height: 4px; }
.top .bars i:nth-child(2) { height: 2px; }
.top .bars i:nth-child(3) { height: 1px; }

.top nav { display: flex; gap: 1.25rem; flex-shrink: 0; }
.top nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
}
.top nav a:hover,
.top nav a[aria-current="page"] { color: var(--text); }

/* Landing hero */
.hero {
  padding: clamp(3rem, 10vh, 6rem) var(--gutter) 0;
}
.hero .wordmark span { font-size: clamp(3rem, 11vw, 8.5rem); }
.hero .bars { width: clamp(9rem, 26vw, 19rem); margin-top: clamp(0.9rem, 2vw, 1.5rem); }
.hero .bars i:nth-child(1) { height: clamp(8px, 1.1vw, 14px); }
.hero .bars i:nth-child(2) { height: clamp(5px, 0.65vw, 8px); }
.hero .bars i:nth-child(3) { height: clamp(2px, 0.35vw, 4px); }

.hero h1 {
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  color: var(--text-2);
  max-width: 26ch;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}

.xsection {
  display: block;
  width: 100%;
  height: clamp(220px, 34vw, 460px);
  margin-top: clamp(2.5rem, 7vh, 4.5rem);
}

/* The band under the cross-section: the app, and how to reach us */
.below {
  background: var(--deep);
  padding: 2.5rem var(--gutter) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4rem;
}
.below p { margin: 0; max-width: 30rem; color: #c3d1d3; }
.below strong { color: #ffffff; font-weight: 600; }
.below a { color: #9fd8bf; }
.below a:hover { color: #ffffff; }

/* Inner pages: one readable column */
main.page {
  padding: clamp(2rem, 6vh, 4rem) var(--gutter) 4rem;
}
.page > * { max-width: var(--measure); }
.page h1 {
  color: var(--text);
  font-family: "Archivo Black", "Archivo", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}
.page h2 {
  font-weight: 600;
  font-size: 1.15rem;
  margin: 2.5rem 0 0.4rem;
}
.page p, .page li { color: var(--text-2); }
.page strong { color: var(--text); font-weight: 600; }
.page ul { padding-left: 1.1rem; }
.page li { margin: 0.45rem 0; }
.page .date { color: var(--text-3); margin: 0 0 2rem; }

.contact {
  border-left: 3px solid var(--malachite);
  padding: 0.25rem 0 0.25rem 1.1rem;
  margin: 1.75rem 0 0;
}
.contact p { margin: 0; }

footer.site {
  padding: 1.5rem var(--gutter) 2.5rem;
  color: var(--text-3);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
}
footer.site a { color: var(--text-3); margin-left: 1.25rem; }
footer.site a:hover { color: var(--text-2); }
