/* Sennin Security — public static site
   Black void, teal accent. No plexus, no glossy bars, no stock network. */

:root {
  --bg: #000000;
  --panel: #15494b;
  --cta: #0d6464;
  --green: #00bf63;
  --text: #ffffff;
  --muted: #acb4bf;
  --cream: #eeead6;
  --line: #0d6464;
  --space: 1rem;
  --measure: 40rem;
  --page: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cream);
}

a:focus-visible,
button:focus-visible,
.cta:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 20;
  padding: 0.4rem 0.7rem;
  background: var(--cta);
  color: var(--text);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--page), calc(100% - 2rem));
  margin-inline: auto;
}

/* Header — sparse chrome, real nav */
.site-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 0 1.35rem;
  border-bottom: 1px solid var(--cta);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  width: fit-content;
}

.brand:hover {
  color: var(--green);
}

.mark {
  width: auto;
  height: 2rem;
  flex-shrink: 0;
  object-fit: contain;
}

.wordmark {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--green);
}

.values {
  margin: 0;
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Page body */
main {
  padding: 2.5rem 0 4rem;
}

.page {
  max-width: var(--measure);
}

.page-wide {
  max-width: none;
}

h1 {
  margin: 0 0 1.25rem;
  font-family: "Libre Baskerville", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.65rem, 5.2vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h2 {
  margin: 2.4rem 0 0.75rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

h3 {
  margin: 0 0 0.4rem;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

p,
.lead {
  margin: 0 0 1rem;
  color: var(--text);
}

.lead {
  font-size: 1.05rem;
}

.muted {
  color: var(--muted);
}

.standard {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--cta);
  border-bottom: 1px solid var(--cta);
  color: var(--cream);
}

.line-values {
  color: var(--cream);
  letter-spacing: 0.06em;
}

/* Spine: six equal nodes. Stack on small screens, one row later. */
.spine {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}

.spine li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: var(--panel);
  color: var(--text);
  font-size: 0.92rem;
}

.spine li::after {
  content: "→";
  color: var(--green);
  font-size: 0.85rem;
}

.spine li:last-child::after {
  content: none;
}

.work-product {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.25rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.work-product li:not(:last-child)::after {
  content: "·";
  margin-left: 0.45rem;
  margin-right: 0.45rem;
  color: var(--muted);
}

.work-product a {
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--cta);
}

.work-product a:hover {
  color: var(--green);
  box-shadow: inset 0 -1px 0 var(--green);
}

/* CTAs — never the H1 */
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.cta {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.1rem;
  background: var(--cta);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.cta:hover {
  background: var(--panel);
  color: var(--green);
}

.cta-ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--cta);
}

/* Verbs / programs / stages */
.stack {
  display: grid;
  gap: 1.15rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}

.stack li,
.card {
  padding: 1rem 0;
  border-top: 1px solid var(--cta);
}

.stack li:last-child,
.card:last-child {
  border-bottom: 1px solid var(--cta);
}

.stack strong {
  display: block;
  margin-bottom: 0.25rem;
}

.stages {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}

.stages article {
  padding: 1rem 0.95rem;
  background: var(--panel);
}

.stages h3 {
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stages p {
  margin: 0;
  color: var(--text);
}

.glossary {
  margin: 1rem 0 2rem;
}

.glossary div {
  padding: 0.85rem 0;
  border-top: 1px solid var(--cta);
}

.glossary div:last-child {
  border-bottom: 1px solid var(--cta);
}

.glossary dt {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.glossary dd {
  margin: 0;
  color: var(--muted);
}

.note {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.programs {
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}

.programs li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--cta);
}

.programs li:last-child {
  border-bottom: 1px solid var(--cta);
}

.ai-line {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cta);
  color: var(--cream);
}

.bar {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.empty {
  margin: 2rem 0 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--cta);
  border-bottom: 1px solid var(--cta);
  color: var(--cream);
  font-size: 1.05rem;
}

.types {
  color: var(--muted);
}

.contact-block {
  margin-top: 1.5rem;
}

.contact-block a {
  display: inline-block;
  font-size: clamp(1.1rem, 3.4vw, 1.55rem);
  color: var(--green);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--green);
}

.contact-block a:hover {
  color: var(--cream);
  box-shadow: inset 0 -1px 0 var(--cream);
}

.read-it {
  margin-top: 1rem;
  color: var(--cream);
}

.foundation {
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--cta);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

@media (min-width: 640px) {
  .spine {
    grid-template-columns: repeat(2, 1fr);
  }

  .spine li:nth-child(2)::after {
    content: "→";
  }

  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta {
    width: auto;
    min-width: 10.5rem;
  }

  .stages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.35rem;
  }

  .brand {
    grid-row: 1 / 3;
  }

  .site-nav {
    grid-column: 2;
    justify-self: end;
  }

  .values {
    grid-column: 2;
    justify-self: end;
    text-align: right;
  }

  main {
    padding: 3.5rem 0 5.5rem;
  }

  .spine {
    grid-template-columns: repeat(6, 1fr);
  }

  .spine li {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 5.5rem;
  }

  .spine li::after {
    content: "→";
    align-self: flex-end;
  }

  .spine li:last-child::after {
    content: none;
  }

  .stages {
    grid-template-columns: repeat(3, 1fr);
  }
}
