/* ============================================================
   SINNIO - independent strategic consultancy
   Design language mirrors the Sinnio report: restrained
   typography, structured diagrams, evidence call-outs.
   ============================================================ */

:root {
  --paper: #fdfdfb;
  --soft: #f5f5f1;
  --ink: #191b2e;
  --dark: #14162b;
  --muted: #575c6e;
  --accent: #4c3fd4;
  --accent-light: #9d92ff;
  --rule: #e7e7e1;
  --shadow: 0 1px 2px rgba(20,22,43,0.05), 0 4px 14px rgba(20,22,43,0.04);
  --maxw: 1080px;
  --narrow: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

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

a { color: var(--accent); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 253, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav-logo img { height: 19px; display: block; }

.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  padding: 8px 20px;
  border-radius: 3px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover { background: var(--ink); color: #fff !important; }

.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 26px; cursor: pointer; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 8px 0 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 10px 28px; }
}

/* ---------- hero ---------- */
.hero { padding: 110px 0 100px; position: relative; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.hero-copy { position: relative; }

.ghost-s {
  position: absolute;
  top: -110px;
  left: -70px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(18rem, 26vw, 26rem);
  line-height: 1;
  color: var(--ink);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-copy > * { position: relative; z-index: 1; }

.tension {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 6px;
}

.tension.strong { color: var(--ink); font-weight: 500; margin-bottom: 30px; }

.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
  margin-bottom: 26px;
  font-weight: 500;
}

.hero p.lead {
  max-width: 560px;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.hero-art svg { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .hero { padding: 80px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 420px; }
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
  padding: 14px 32px;
  border-radius: 3px;
  border: 1px solid var(--ink);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover { background: var(--accent); border-color: var(--accent); }

.textlink {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  margin-left: 28px;
  transition: color 0.2s, border-color 0.2s;
}

.textlink:hover { color: var(--accent); border-color: var(--accent); }

.textlink::after { content: '\2009\2192'; }

.textlink.nomargin { margin-left: 0; }

/* ---------- sections ---------- */
section { padding: 92px 0; }

.band { background: var(--soft); }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 24px;
  font-weight: 500;
  max-width: 760px;
}

.section-intro { max-width: 700px; margin-bottom: 20px; }

/* ---------- manifesto (dark belief section) ---------- */
.manifesto {
  background: var(--dark);
  padding: 140px 0;
}

.manifesto .big {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.3;
  color: #ffffff;
  font-weight: 500;
  max-width: 880px;
}

.manifesto .big em { color: var(--accent-light); font-style: normal; }

.manifesto .small {
  color: #a2a7c2;
  max-width: 620px;
  margin-top: 34px;
  font-size: 1.02rem;
}

.manifesto .section-label { color: #8a90b5; }

.manifesto .btn.light {
  background: #ffffff;
  color: var(--dark);
  border-color: #ffffff;
}

.manifesto .btn.light:hover { background: #e8e6ff; border-color: #e8e6ff; }

.manifesto .textlink.light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.manifesto .textlink.light:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* ---------- outcome links (we help organisations) ---------- */
.outcome-links { list-style: none; margin-top: 20px; }

.outcome-links li { border-top: 1px solid var(--rule); }

.outcome-links li:last-child { border-bottom: 1px solid var(--rule); }

.outcome-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.outcome-links a:hover { background: var(--soft); }

.outcome-links .name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.outcome-links .desc { font-size: 15px; color: var(--muted); flex: 1; }

.outcome-links .arrow { color: var(--ink); font-size: 1.3rem; }

@media (max-width: 700px) {
  .outcome-links a { flex-direction: column; gap: 6px; }
  .outcome-links .name { white-space: normal; }
}

/* ---------- framework flow diagram (report style) ---------- */
.flow {
  list-style: none;
  max-width: 560px;
  margin-top: 48px;
}

.flow li {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  border-radius: 6px;
  padding: 16px 24px;
  margin-bottom: 38px;
  position: relative;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.flow li.vis { opacity: 1; transform: none; }

.no-js .flow li, .flow.static li { opacity: 1; transform: none; }

.flow li:not(:last-child)::after {
  content: '\2193';
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 1.05rem;
}

.flow li:last-child { margin-bottom: 0; }

.flow .num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.7;
  min-width: 22px;
}

.flow .name {
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow .note { font-size: 13.5px; opacity: 0.8; margin-left: auto; text-align: right; }

.flow li:nth-child(1) { background: #171a33; }
.flow li:nth-child(2) { background: #1f2447; }
.flow li:nth-child(3) { background: #272d5c; }
.flow li:nth-child(4) { background: #2f3672; }
.flow li:nth-child(5) { background: #374089; }
.flow li:nth-child(6) { background: #3f49a1; }
.flow li:nth-child(7) { background: #4646bb; }
.flow li:nth-child(8) { background: #4c3fd4; }

@media (max-width: 640px) {
  .flow .note { display: none; }
}

/* ---------- proof strip ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 40px;
  margin-top: 48px;
}

.proof > div { border-top: 2px solid var(--ink); padding-top: 16px; }

.proof strong {
  display: block;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 6px;
}

.proof span { font-size: 13.5px; color: var(--muted); line-height: 1.5; display: block; }

@media (max-width: 900px) { .proof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }

/* ---------- callout (report evidence box) ---------- */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--soft);
  padding: 26px 30px;
  margin: 44px 0;
  max-width: 760px;
  box-shadow: var(--shadow);
}

.callout p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.band .callout { background: var(--paper); }

/* ---------- capabilities ---------- */
.capability {
  border-top: 1px solid var(--rule);
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  scroll-margin-top: 90px;
}

.capability:last-of-type { border-bottom: 1px solid var(--rule); }

.capability h3 { font-size: 1.55rem; font-weight: 500; margin-bottom: 16px; }

.capability .problem { font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }

.includes-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

.capability ul { list-style: none; columns: 2; column-gap: 32px; }

.capability ul li {
  font-size: 15px;
  color: var(--muted);
  padding: 5px 0;
  break-inside: avoid;
}

.capability ul li::before { content: '-\2002'; color: var(--accent); }

@media (max-width: 800px) {
  .capability { grid-template-columns: 1fr; gap: 24px; }
  .capability ul { columns: 1; }
}

/* ---------- case studies (editorial, report-like) ---------- */
.case {
  border-top: 1px solid var(--rule);
  padding: 92px 0;
}

.case:last-of-type { border-bottom: 1px solid var(--rule); }

.case h3 {
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  font-weight: 500;
  max-width: 700px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 46px;
}

.case-grid h4 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: 'Inter', sans-serif;
}

.case-grid p { font-size: 15.5px; line-height: 1.75; }

.case-grid ul { list-style: none; }

.case-grid li {
  font-size: 15.5px;
  color: var(--muted);
  padding: 6px 0;
  line-height: 1.6;
}

.case-grid li::before { content: '-\2002'; color: var(--accent); }

.case.fadeup { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }

.case.fadeup.vis { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .case { padding: 70px 0; }
  .case-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .case-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- frameworks page ---------- */
.fw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.fw-card {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 38px 36px;
  box-shadow: var(--shadow);
  border-radius: 4px;
}

.fw-card .mini { height: 84px; margin-bottom: 24px; }

.fw-card .mini svg { height: 100%; width: auto; display: block; }

.fw-card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }

.fw-card p { font-size: 15px; margin-bottom: 12px; }

.fw-card .used {
  font-size: 13.5px;
  color: var(--muted);
}

.fw-card .used strong {
  color: var(--ink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
}

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

/* ---------- difference grid (homepage) ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .diff-grid { grid-template-columns: 1fr; } }

/* ---------- resources ---------- */
.resource-list { list-style: none; }

.resource-list li {
  border-top: 1px solid var(--rule);
  padding: 34px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.resource-list li:last-child { border-bottom: 1px solid var(--rule); }

.resource-list .info { max-width: 640px; flex: 1 1 380px; }

.resource-list h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }

.resource-list p { font-size: 15px; margin: 0; }

.resource-list .pages {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

/* ---------- insights ---------- */
.article-list { list-style: none; }

.article-list li {
  border-top: 1px solid var(--rule);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
}

.article-list li:last-child { border-bottom: 1px solid var(--rule); }

.article-list li.noill { grid-template-columns: 1fr; }

.article-list .ill svg { width: 100px; height: 100px; display: block; }

.article-list h3 { font-size: 1.45rem; font-weight: 500; margin-bottom: 10px; }

.article-list h3 a { color: var(--ink); text-decoration: none; transition: color 0.2s; }

.article-list h3 a:hover { color: var(--accent); }

.article-list p { max-width: 660px; font-size: 15.5px; margin-bottom: 10px; }

.article-list .meta {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.article-list .forthcoming .meta { color: var(--muted); }
.article-list .forthcoming h3 { color: var(--muted); }

@media (max-width: 640px) {
  .article-list li { grid-template-columns: 1fr; gap: 18px; }
  .article-list .ill svg { width: 72px; height: 72px; }
}

/* article page */
.article-body { max-width: var(--narrow); margin: 0 auto; }

.article-body .ill { margin-bottom: 30px; }

.article-body .ill svg { width: 92px; height: 92px; }

.article-body h1 {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 500;
  margin-bottom: 26px;
}

.article-body h2 { font-size: 1.4rem; font-weight: 600; margin: 44px 0 16px; }

.article-body p { margin-bottom: 20px; }

.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: var(--muted); }

.article-body li { margin-bottom: 8px; }

.article-body .standfirst {
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 34px;
}

/* ---------- divider art ---------- */
.divider-art { padding: 0; }

.divider-art svg { width: 100%; height: auto; display: block; }

/* ---------- sector chips ---------- */
.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 30px 0 0;
  list-style: none;
}

.sector-list li {
  border: 1px solid var(--rule);
  background: var(--paper);
  border-radius: 3px;
  padding: 8px 18px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- disciplines (approach) ---------- */
.disciplines {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 44px 0;
}

.disciplines .chip {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
}

.disciplines .join { color: var(--accent); font-size: 18px; font-weight: 600; }

/* big statement line (light sections) */
.statement {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  max-width: 860px;
}

.statement em { color: var(--accent); font-style: normal; }

/* ---------- contact form ---------- */
.form-wrap { max-width: 620px; }

.form-row { margin-bottom: 24px; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

input, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cfcfc8;
  border-radius: 3px;
  padding: 13px 15px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15.5px;
  transition: border-color 0.2s;
}

input:focus, textarea:focus { outline: none; border-color: var(--accent); }

textarea { min-height: 160px; resize: vertical; }

::placeholder { color: #9a9da9; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 48px;
  background: var(--soft);
}

footer img { height: 15px; margin-bottom: 22px; }

footer .positioning {
  max-width: 720px;
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 28px;
}

footer nav { margin-bottom: 18px; }

footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-right: 22px;
}

footer nav a:hover { color: var(--ink); }

footer .fineprint { color: #9a9da9; font-size: 13px; }
