/* Inquiline — shared stylesheet */
:root {
  --bg: #0b0e11;
  --bg-alt: #11151a;
  --panel: #161b21;
  --border: #232a32;
  --text: #e7ebef;
  --text-dim: #9aa6b2;
  --accent: #5fd0c0;
  --accent-dim: #2f6f68;
  --serif: "Georgia", "Iowan Old Style", "Palatino Linotype", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 17, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  position: relative;
  flex-shrink: 0;
}
.brand .mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.55;
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

nav.links { display: flex; gap: 28px; align-items: center; }
nav.links a {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
nav.links a:hover, nav.links a.active { color: var(--text); text-decoration: none; }

.nav-cta {
  border: 1px solid var(--accent-dim);
  color: var(--accent) !important;
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-cta:hover { background: rgba(95, 208, 192, 0.08); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 18% 0%, rgba(95,208,192,0.07), transparent 55%),
    var(--bg);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 22px;
  max-width: 760px;
  letter-spacing: 0.005em;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p.lead {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 36px;
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #06201c !important;
  text-decoration: none;
}
.btn-primary:hover { background: #79e0d2; text-decoration: none; }
.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text) !important;
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--accent-dim); text-decoration: none; }

/* ---------- Sections ---------- */
section { padding: 88px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
section.alt { background: var(--bg-alt); }

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  margin: 0 0 16px;
  line-height: 1.25;
}
.section-head p { color: var(--text-dim); font-size: 17px; margin: 0; }

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .section-head h2 { font-size: 28px; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }

.card .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px;
}
.card p { color: var(--text-dim); font-size: 15px; margin: 0; }
.card .audience {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.card .audience strong { color: var(--text); font-weight: 600; }

/* ---------- Pillars / numbered list ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-top: 12px;
}
.pillar .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0 0 10px; }
.pillar p { color: var(--text-dim); font-size: 15px; margin: 0; }

/* ---------- Quote / Statement block ---------- */
.statement {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.5;
  max-width: 820px;
  color: var(--text);
}
.statement .accent { color: var(--accent); font-style: italic; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-top: 12px;
}
.stat .figure {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 6px;
}
.stat .label { font-size: 14px; color: var(--text-dim); letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
footer {
  padding: 64px 0 40px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-dim); font-size: 14px; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--text-dim); font-size: 14px; max-width: 320px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  nav.links { display: none; }
}

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  margin: 0 0 18px;
  max-width: 720px;
}
.page-hero p { color: var(--text-dim); font-size: 18px; max-width: 640px; margin: 0; }

/* ---------- Misc ---------- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 64px 0;
}

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 18px;
}
.list-clean li:last-child { border-bottom: none; }
.list-clean .bullet {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
}
.list-clean strong { display: block; margin-bottom: 4px; color: var(--text); }
.list-clean span { color: var(--text-dim); font-size: 15px; }
