/* ============================================================
   SIAS CORP — Group identity stylesheet
   Palette: Basalt / Limestone / Bronze
   Type:    Marcellus (display) · Source Serif 4 (body) · Archivo (utility)
   ============================================================ */

:root {
  --basalt: #131210;        /* page ground */
  --panel: #1b1916;         /* raised sections */
  --line: #2c2924;          /* hairlines on dark */
  --limestone: #eae4d8;     /* primary text */
  --stone: #9a938a;         /* secondary text */
  --bronze: #b08d57;        /* accent — used sparingly */
  --bronze-dim: rgba(176, 141, 87, 0.35);

  --display: "Marcellus", "Times New Roman", serif;
  --body: "Source Serif 4", Georgia, serif;
  --utility: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --measure: 64ch;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--basalt);
  color: var(--limestone);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--bronze); color: var(--basalt); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

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

/* ---------- utility text ---------- */

.eyebrow {
  font-family: var(--utility);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
}

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

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: linear-gradient(to bottom, rgba(19, 18, 16, 0.92), rgba(19, 18, 16, 0.78));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.85rem; }

.nav-logo { height: 56px; width: auto; display: block; }
@media (max-width: 640px) { .nav-logo { height: 42px; } }

.wordmark {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: var(--limestone);
}
.wordmark span { color: var(--bronze); }

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--stone);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.nav-links a:hover { color: var(--limestone); }
.nav-links a[aria-current="page"] {
  color: var(--limestone);
  border-bottom-color: var(--bronze);
}

@media (max-width: 640px) {
  .nav { flex-direction: column; gap: 0.7rem; padding: 0.9rem var(--pad); }
  .nav-links { gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem var(--pad) 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 60rem; }

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: 0.015em;
}

.hero .rule {
  width: 4.5rem;
  height: 1px;
  background: var(--bronze);
  margin: 2rem 0;
}

.hero p.lede {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--stone);
}

.hero .cta-row { margin-top: 3rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: var(--utility);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border: 1px solid var(--bronze-dim);
  color: var(--limestone);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn:hover { border-color: var(--bronze); background: rgba(176, 141, 87, 0.08); }
.btn.solid { background: var(--bronze); border-color: var(--bronze); color: var(--basalt); }
.btn.solid:hover { background: #c29e66; }

/* ---------- jurisdiction band (signature) ---------- */

.jurisdictions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.jurisdictions .cell {
  padding: 1.6rem var(--pad);
  border-left: 1px solid var(--line);
}
.jurisdictions .cell:first-child { border-left: none; }

.jurisdictions .place {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.jurisdictions .role {
  font-family: var(--utility);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.3rem;
}

.jurisdictions time {
  display: block;
  margin-top: 0.55rem;
  font-family: var(--utility);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .jurisdictions { grid-template-columns: 1fr; }
  .jurisdictions .cell { border-left: none; border-top: 1px solid var(--line); }
  .jurisdictions .cell:first-child { border-top: none; }
}

/* ---------- generic sections ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) var(--pad); }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-top: 0.9rem;
  max-width: 26ch;
}

.section p { max-width: var(--measure); }
.section p + p { margin-top: 1.2rem; }

/* ---------- pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pillar {
  background: var(--basalt);
  padding: 2.6rem 2.1rem 2.8rem;
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}
.pillar:hover { background: #181613; }

.pillar .roman {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  color: var(--bronze);
}

.pillar h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 1.1rem 0 0.9rem;
}

.pillar p { color: var(--stone); font-size: 0.98rem; flex: 1; }

.pillar .more {
  margin-top: 1.8rem;
  font-family: var(--utility);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
}
.pillar:hover .more { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- definition rows (structure, governance) ---------- */

.rows { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: minmax(10rem, 18rem) 1fr;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
}

.row h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.35;
}

.row .sub {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--utility);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.row ul { list-style: none; max-width: var(--measure); }
.row ul li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  color: var(--stone);
}
.row ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05rem;
  width: 0.55rem; height: 1px;
  background: var(--bronze);
}

@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: 0.9rem; } }

/* ---------- statement band ---------- */

.statement {
  padding: clamp(4.5rem, 10vw, 8rem) var(--pad);
  border-top: 1px solid var(--line);
  text-align: center;
}

.statement blockquote {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.45;
  max-width: 34ch;
  margin: 0 auto;
}

.statement .rule { width: 3.5rem; height: 1px; background: var(--bronze); margin: 0 auto 2.2rem; }

/* ---------- contact band ---------- */

.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 800px) { .contact-band { grid-template-columns: 1fr; } }

.contact-band .kv { margin-top: 1.6rem; }
.kv dt {
  font-family: var(--utility);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1.4rem;
}
.kv dd { margin-top: 0.35rem; }
.kv dd a { border-bottom: 1px solid var(--bronze-dim); transition: border-color 0.25s ease; }
.kv dd a:hover { border-bottom-color: var(--bronze); }

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

footer {
  border-top: 1px solid var(--line);
  padding: 2.6rem var(--pad) 3rem;
  font-family: var(--utility);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: baseline;
}

.foot-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.foot-links a:hover { color: var(--limestone); }

.foot-tag {
  margin-top: 1.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.64rem;
  color: var(--bronze);
}

/* ---------- interior pages ---------- */

.page-head {
  padding: 11rem var(--pad) 4rem;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  margin-top: 1rem;
  max-width: 24ch;
}
.page-head p { max-width: 56ch; margin-top: 1.6rem; color: var(--stone); }

/* legal pages */
.legal { padding: 4rem var(--pad) 6rem; max-width: 52rem; }
.legal h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 2.6rem 0 0.8rem;
}
.legal ul { margin: 0.6rem 0 0 1.2rem; color: var(--stone); }
.legal li { margin: 0.35rem 0; }
.legal .updated {
  font-family: var(--utility);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
