/* ============================================================
   NewGen Assets — landing page styles
   Palette: cool patinated stone + verdigris accent
   Type:    Spectral (display/body) · Hanken Grotesk (utility)
   ============================================================ */

:root {
  /* colour */
  --stone:        #E8E6DD;  /* page background — cool pale limestone */
  --stone-raised: #F1EFE8;  /* lifted surface */
  --ink:          #1B2420;  /* primary text — near-black, green undertone */
  --muted:        #59605A;  /* secondary text — soft slate-green */
  --faint:        #8A8F86;  /* captions / legal */
  --verdigris:    #3B6557;  /* accent — patinated copper-green */
  --verdigris-dk: #2C4E43;  /* accent, deeper */
  --hairline:     #C8C6BB;  /* rules and borders */
  --hairline-dim: #D6D4CB;

  /* type */
  --display: "Spectral", Georgia, "Times New Roman", serif;
  --utility: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* rhythm */
  --rail-w: 3rem;
  --col: 40rem;          /* content measure */
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint paper-grain wash so the flat stone isn't sterile */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(110% 80% at 50% -10%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(120% 90% at 50% 115%, rgba(43,78,67,.05), transparent 55%);
}

/* ---------- shared wrappers ---------- */

.shell {
  width: 100%;
  max-width: calc(var(--col) + var(--rail-w) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* eyebrow label */
.eyebrow {
  font-family: var(--utility);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verdigris);
  margin: 0 0 1.1rem;
}

/* ---------- header ---------- */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark b { font-weight: 600; }
.wordmark .dot { color: var(--verdigris); }

.established {
  font-family: var(--utility);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

/* ---------- the throughline (signature) ----------
   Each block draws a 1px segment in its rail cell; stacked
   blocks form one continuous vertical line. A diamond marks
   the eyebrow row of each block. */

.flow { padding-block: clamp(4rem, 12vh, 8rem) 3rem; }

.block {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  column-gap: clamp(1rem, 3vw, 1.75rem);
}

.rail { position: relative; }

.rail::before {            /* continuous vertical line */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hairline);
}

.rail::after {             /* the diamond node, on the eyebrow row */
  content: "";
  position: absolute;
  left: -3.5px;
  top: 0.34rem;
  width: 8px;
  height: 8px;
  background: var(--stone);
  border: 1px solid var(--verdigris);
  transform: rotate(45deg);
}

/* hero node is filled; later nodes are open */
.block--hero .rail::after { background: var(--verdigris); }

/* first block: line starts at the node, not above it */
.block--hero .rail::before { top: 0.34rem; }

/* last block before footer: fade the line out */
.block--last .rail::before {
  background: linear-gradient(var(--hairline) 55%, transparent);
}

.block + .block { margin-top: clamp(3.5rem, 9vh, 6rem); }

/* ---------- hero ---------- */

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.2vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.hero-title em {
  font-style: italic;
  color: var(--verdigris-dk);
}

.lede {
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 38ch;
}

/* ---------- prose blocks ---------- */

.block h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.008em;
  margin: 0 0 1rem;
  max-width: 22ch;
}

.block p { margin: 0 0 1rem; max-width: 60ch; color: var(--ink); }
.block p:last-child { margin-bottom: 0; }
.block p.subtle { color: var(--muted); }

/* ---------- principles ---------- */

.tenets {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.tenets > li {
  border-top: 1px solid var(--hairline-dim);
  padding-top: 1.1rem;
}
.tenets h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.18rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.tenets p { margin: 0; color: var(--muted); max-width: 52ch; font-size: 1rem; }

/* ---------- private-company notice ---------- */

.notice p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--hairline);
  margin-top: clamp(3rem, 8vh, 5rem);
}
.footer-inner {
  padding-block: 2.5rem 3rem;
  font-family: var(--utility);
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.footer-inner .org {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin: 0 0 0.6rem;
}
.footer-inner p { margin: 0 0 0.25rem; }
.footer-inner a { color: var(--verdigris); text-decoration: none; }
.footer-inner a:hover,
.footer-inner a:focus-visible { text-decoration: underline; }
.footer-inner .legal {
  margin-top: 1.2rem;
  color: var(--faint);
  max-width: 70ch;
}
.footer-inner .copyright { margin-top: 1.2rem; }

/* ---------- motion (progressive enhancement) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .block { grid-template-columns: 1fr; }
  .rail { display: none; }            /* drop the throughline on narrow screens */
  .masthead { padding-top: 1.5rem; }
  .flow { padding-top: clamp(3rem, 9vh, 5rem); }
}

/* keyboard focus */
a:focus-visible {
  outline: 2px solid var(--verdigris);
  outline-offset: 3px;
  border-radius: 2px;
}
