:root {
  --ink: #11110f;
  --coal: #191814;
  --paper: #f4efe5;
  --bone: #e7dfd0;
  --white: #fffdf8;
  --muted: #767166;
  --line: rgba(17, 17, 15, 0.14);
  --line-dark: rgba(255, 253, 248, 0.14);
  --acid: #d7f241;
  --sage: #7b8f82;
  --clay: #a06e56;
  --blueprint: #8fa6ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  hyphens: none;
  overflow-x: hidden;
  overflow-wrap: normal;
  text-rendering: optimizeLegibility;
  word-break: normal;
}

body::selection {
  background: var(--acid);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin-top: 0;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.line {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(244, 239, 229, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-lockup {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.brand-wordmark {
  display: block;
  width: clamp(142px, 13vw, 182px);
  height: auto;
}

.brand small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  line-height: 1;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-header nav a,
.footer-links a {
  transition: color 180ms ease;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 780;
  text-align: center;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(circle at 80% 18%, rgba(215, 242, 65, 0.24), transparent 25%),
    radial-gradient(circle at 20% 78%, rgba(143, 166, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #11110f 0%, #1a1814 52%, #2b261e 100%);
  color: var(--white);
}

.hero::before {
  content: "FIGUEIRA";
  position: absolute;
  right: -0.08em;
  bottom: -0.28em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 253, 248, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(8rem, 23vw, 24rem);
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 253, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.44fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: end;
}

.hero-copy {
  max-width: 860px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.system-card .eyebrow,
.radar-feature .eyebrow {
  color: var(--acid);
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3.9rem, 6.15vw, 6.5rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  line-height: 1.16;
}

.hero-subtitle {
  max-width: 780px;
  margin-bottom: 28px;
  color: rgba(255, 253, 248, 0.76);
  font-size: clamp(1.12rem, 1.6vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--acid);
  color: var(--ink);
}

.button-secondary {
  border-color: rgba(255, 253, 248, 0.32);
  color: var(--white);
}

.hero-panel {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-panel p {
  color: rgba(255, 253, 248, 0.78);
}

.hero-panel dl {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}

.hero-panel dl div {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 253, 248, 0.1);
}

.hero-panel dt {
  color: var(--acid);
  font-weight: 800;
}

.hero-panel dd {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.66);
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 5vw, 64px);
}

.section-heading,
.manifesto-grid,
.radar-layout,
.article-grid,
.method-list,
.topics-intro,
.topic-grid,
.system-card {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  margin-bottom: clamp(34px, 6vw, 62px);
}

.section-heading.narrow {
  max-width: 850px;
  text-align: center;
}

.section-heading p,
.manifesto-copy,
.system-card p {
  color: rgba(17, 17, 15, 0.72);
  font-size: clamp(1.04rem, 1.4vw, 1.24rem);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 0.22fr minmax(390px, 0.78fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.manifesto-grid h2 {
  max-width: 680px;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.radar-section,
.topics-section,
.articles-section {
  background: var(--bone);
}

.radar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.radar-feature {
  min-height: 420px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 17, 15, 0.94), rgba(32, 30, 26, 0.92)),
    radial-gradient(circle at 70% 30%, rgba(215, 242, 65, 0.28), transparent 28%);
  color: var(--white);
}

.radar-feature h3 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.9;
}

.radar-feature p {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.76);
}

.radar-feature ul {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.radar-feature li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 253, 248, 0.74);
}

.radar-feature li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
}

.radar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.radar-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.82rem;
}

.radar-stack {
  display: grid;
  gap: 18px;
}

.radar-stack article,
.topic-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.52);
}

.radar-stack span {
  display: block;
  margin-bottom: 32px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.radar-stack p,
.article-grid p,
.topic-grid p,
.method-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.article-grid a {
  display: grid;
  min-height: 310px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.36);
  transition: background 180ms ease, transform 180ms ease;
}

.article-grid a:hover {
  background: rgba(255, 253, 248, 0.72);
  transform: translateY(-2px);
}

.article-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
}

.article-grid h3 {
  align-self: end;
}

.method-section {
  background: var(--paper);
}

.method-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-list li {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-list span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.topics-intro {
  max-width: 900px;
  margin-bottom: clamp(34px, 6vw, 60px);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.topic-grid article {
  min-height: 230px;
}

.ecosystem-section {
  background: var(--paper);
}

.ecosystem-grid {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ecosystem-card {
  min-height: 320px;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.78), rgba(231, 223, 208, 0.52)),
    radial-gradient(circle at 88% 18%, rgba(215, 242, 65, 0.16), transparent 34%);
  transition: transform 180ms ease, background 180ms ease;
}

.ecosystem-card:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(231, 223, 208, 0.64)),
    radial-gradient(circle at 88% 18%, rgba(215, 242, 65, 0.24), transparent 34%);
}

.ecosystem-card span {
  display: block;
  margin-bottom: 44px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ecosystem-card h3 {
  max-width: 520px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 0.96;
}

.ecosystem-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.system-section {
  background: var(--ink);
  color: var(--white);
}

.system-card {
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.08), rgba(255, 253, 248, 0.02)),
    radial-gradient(circle at 88% 20%, rgba(215, 242, 65, 0.22), transparent 28%);
}

.system-card h2 {
  max-width: 840px;
}

.system-card p {
  max-width: 820px;
  color: rgba(255, 253, 248, 0.72);
}

.system-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.system-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 64px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.footer-brand img {
  display: block;
  width: min(180px, 54vw);
  height: auto;
}

.site-footer p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.article-page {
  background: var(--white);
}

.article-shell {
  width: calc(100vw - 40px);
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0 clamp(76px, 10vw, 132px);
}

.article-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-shell h1 {
  max-width: 960px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  line-height: 0.98;
}

.article-description {
  max-width: 820px;
  color: rgba(17, 17, 15, 0.72);
  font-size: clamp(1.18rem, 1.8vw, 1.52rem);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 42px;
}

.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-signal,
.article-thesis {
  margin: 0 0 clamp(46px, 7vw, 72px);
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.article-signal {
  margin-bottom: 16px;
  background: var(--ink);
  color: var(--white);
}

.article-signal strong,
.article-thesis strong {
  display: block;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-signal strong {
  color: var(--acid);
}

.article-signal p,
.article-thesis p {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(1.18rem, 2vw, 1.56rem);
  line-height: 1.42;
}

.article-signal p {
  color: rgba(255, 253, 248, 0.78);
}

.article-content {
  display: grid;
  gap: clamp(34px, 5vw, 54px);
}

.article-content section {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 64px);
  padding-top: clamp(30px, 5vw, 48px);
  border-top: 1px solid var(--line);
}

.article-content h2,
.article-takeaways h2,
.article-related h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.96;
}

.article-content p {
  margin-bottom: 0;
  color: rgba(17, 17, 15, 0.74);
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
}

.article-takeaways,
.article-related {
  margin-top: clamp(48px, 7vw, 74px);
  padding-top: clamp(30px, 5vw, 46px);
  border-top: 1px solid var(--line);
}

.article-takeaways ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.article-takeaways li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.article-takeaways li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
}

.article-related div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.article-related a {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 760;
  line-height: 1.16;
}

@media (max-width: 980px) {
  .site-header nav {
    display: none;
  }

  .hero-grid,
  .manifesto-grid,
  .radar-layout {
    grid-template-columns: 1fr;
  }

  .method-list,
  .article-grid,
  .topic-grid,
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand-wordmark {
    width: 142px;
  }

  .brand small {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .header-cta {
    display: none;
  }

  .article-shell {
    width: auto;
    margin-right: 20px;
    margin-left: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
  }

  .hero-grid,
  .hero-copy,
  .hero-panel {
    min-width: 0;
    max-width: 100%;
  }

  .hero .eyebrow {
    max-width: 320px;
    line-height: 1.35;
  }

  .panel-head {
    display: grid;
    gap: 6px;
  }

  h1 {
    max-width: 350px;
    font-size: clamp(2.35rem, 10vw, 2.95rem);
    line-height: 0.98;
  }

  .article-shell h1 {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    font-size: clamp(2.05rem, 8.6vw, 2.82rem);
    line-height: 1.02;
  }

  .article-description,
  .article-tags,
  .article-signal,
  .article-thesis,
  .article-content,
  .article-takeaways,
  .article-related {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .hero-subtitle {
    max-width: 330px;
  }

  h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.3rem);
    line-height: 1;
  }

  .button {
    width: 100%;
    min-height: auto;
    padding: 15px 18px;
    line-height: 1.14;
  }

  .hero-panel dl div,
  .method-list,
  .article-grid,
  .topic-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .method-list li,
  .article-grid a,
  .topic-grid article,
  .ecosystem-card {
    min-height: auto;
  }

  .article-content section,
  .article-related div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
