:root {
  --bg: #faf7f4;
  --bg-soft: #f5f1ed;
  --text: #171717;
  --muted: rgba(23, 23, 23, 0.64);
  --line: rgba(23, 23, 23, 0.1);
  --card: rgba(255, 255, 255, 0.62);
  --shadow: 0 10px 50px rgba(0, 0, 0, 0.04);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.52), rgba(0, 0, 0, 0.012)),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.page-header,
.page-main,
.page-footer {
  width: min(var(--max), calc(100vw - 2rem));
  margin: 0 auto;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand,
.nav a,
.eyebrow,
.footer-brand {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(23, 23, 23, 0.54);
}

.brand,
.footer-brand {
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.spark {
  width: 10px;
  height: 10px;
  display: inline-block;
  position: relative;
}

.spark::before,
.spark::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 999px;
  inset: 0;
  margin: auto;
}

.spark::before {
  width: 10px;
  height: 2px;
}

.spark::after {
  width: 2px;
  height: 10px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: .95;
  font-weight: 520;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 520;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.12;
  font-weight: 560;
}

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

.lead {
  max-width: 760px;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-visual,
.wide-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
}

.hero-visual img,
.wide-visual img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.wide-visual {
  margin: 1.5rem 0 0;
}

.wide-visual.contain img,
.article-figure img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.article-figure {
  overflow: hidden;
  margin: 1.5rem 0 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.article-figure img {
  background: #fff;
}

.article-figure.photo img {
  max-height: 32rem;
  object-fit: cover;
}

.figure-caption {
  margin: .7rem 0 0;
  color: rgba(23, 23, 23, .52);
  font-size: .84rem;
  line-height: 1.6;
}

.section {
  padding: 2.5rem 0;
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card,
.panel {
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.kicker {
  display: block;
  margin-bottom: .75rem;
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(23, 23, 23, .42);
}

.card p,
.panel p {
  margin-top: .85rem;
  font-size: .96rem;
  line-height: 1.8;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.meta-list span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .58);
  padding: .65rem .8rem;
  font-size: .9rem;
  color: rgba(23, 23, 23, .68);
}

.article-body {
  max-width: 860px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.article-body p,
.article-body ul {
  margin-top: 1rem;
}

.article-body h2 {
  margin-top: 2.2rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 999px;
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 650;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
}

.button.primary {
  background: #171717;
  color: #faf7f4;
}

.page-footer {
  padding: 3rem 0 2rem;
  color: rgba(23, 23, 23, .52);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-size: .92rem;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .8fr);
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr auto;
  }
}
