/* spranger.ai, simple clean consulting page. Warm monochrome, Spectral for
   headings, Archivo for body. No JS. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-100-900-normal-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E;
}
@font-face {
  font-family: "Spectral";
  src: url("fonts/spectral-600-normal-latin.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201A, U+201C-201E;
}

:root {
  --bg: #fbfbfa;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #787774;
  --line: #eaeaea;
  /* the one accent is Spranic's ultramarine beam (spranic-website tokens) */
  --accent: #2440ff;
  --accent-dim: rgba(36, 64, 255, 0.14);
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main, .topbar, .foot { max-width: 62rem; margin-inline: auto; padding-inline: 1.5rem; }

a { color: inherit; }

::selection { background: var(--accent); color: #ffffff; }

/* Topbar */
.topbar {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-block: 1.5rem;
}
.wordmark { font-weight: 700; letter-spacing: -0.01em; text-decoration: none; font-size: 1.125rem; }
/* ponytail: hidden egg, Spranic's framed wordmark dot appears on hover */
.wordmark::after {
  content: "";
  display: inline-block;
  width: 0.32em; height: 0.32em;
  margin-left: 0.22em;
  border: 1.5px solid var(--accent);
  background: transparent;
  vertical-align: baseline;
  opacity: 0;
  transition: opacity 200ms ease;
}
.wordmark:hover::after { opacity: 1; background: var(--accent-dim); }
.topbar-mail { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.topbar-mail:hover { color: var(--ink); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding-block: 4rem 5rem;
  align-items: center;
}
@media (min-width: 760px) {
  .hero { grid-template-columns: 3fr 2fr; padding-block: 6rem 7rem; }
}
.eyebrow {
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 1rem;
}
h1 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.lede { color: var(--ink); max-width: 34em; }
.hero-cta { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cta-side { color: var(--muted); font-size: 0.9375rem; }

.btn {
  display: inline-block;
  background: var(--ink); color: #ffffff;
  padding: 0.7rem 1.4rem; border-radius: 6px;
  text-decoration: none; font-weight: 500; font-size: 0.9375rem;
  transition: background 200ms ease;
}
.btn:hover { background: #333333; }
.btn:active { transform: scale(0.98); }

.hero-photo { justify-self: center; }
.hero-photo img {
  display: block; width: 100%; max-width: 20rem; height: auto;
  border-radius: 8px; border: 1px solid var(--line);
  filter: saturate(0.85);
}

/* Sections */
.section { padding-block: 3.5rem; border-top: 1px solid var(--line); }
h2 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

/* Pillars */
.pillar { border-top: 1px solid var(--line); padding-block: 2rem; display: grid; gap: 0.75rem; }
.pillar:first-of-type { margin-top: 0.25rem; }
h3 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25;
}
.pillar p { max-width: 40em; font-size: 1rem; }
@media (min-width: 760px) {
  .pillar { grid-template-columns: 16rem 1fr; gap: 2.5rem; }
}
.pillar-photos {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px) {
  .pillar-photos { grid-template-columns: 29fr 15fr 39fr; }
}
.pillar-photos figure { margin: 0; }
.pillar-photos img {
  display: block; width: 100%; height: 17rem; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line);
  filter: saturate(0.85);
}
.pillar-photos figure:nth-child(3) img { object-position: 12% 55%; }
.pillar-photos figcaption {
  color: var(--muted); font-size: 0.8125rem; margin-top: 0.5rem;
}

a { text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* Proof list */
.proof { list-style: none; padding: 0; }
.proof li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.proof li:first-child { border-top: 1px solid var(--line); }
.proof a { color: var(--accent); white-space: nowrap; }

/* Facts */
.facts { display: grid; gap: 0; }
.facts div {
  display: grid; grid-template-columns: 1fr; gap: 0.125rem;
  padding-block: 0.875rem; border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .facts div { grid-template-columns: 14rem 1fr; }
}
.facts div:first-child { border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: 0.9375rem; }
dd { font-size: 1rem; }
.closing { margin-top: 2.5rem; }

/* Footer */
.foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  flex-wrap: wrap;
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line);
  margin-top: 3.5rem;
  color: var(--muted); font-size: 0.875rem;
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }

/* Legal page */
.doc { padding-block: 3rem 4rem; max-width: 42rem; }
.doc h1 { font-size: 2rem; margin-bottom: 2rem; }
.doc h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; font-size: 1.25rem; }
.doc p, .doc address { margin-bottom: 1rem; font-style: normal; font-size: 1rem; }
