:root {
  --charcoal: #090909;
  --soy: #15100d;
  --red: #ff2d2d;
  --orange: #ff7a1a;
  --yellow: #ffd34d;
  --cyan: #28e7ff;
  --rice: #f7f1e7;
  --rice-soft: #fffaf1;
  --ink: #1d1714;
  --muted: #756b62;
  --line: rgba(21, 16, 13, 0.12);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(ellipse at 14% 18%, rgba(255, 45, 45, 0.28), transparent 34%),
    radial-gradient(ellipse at 86% 12%, rgba(255, 122, 26, 0.2), transparent 33%),
    radial-gradient(ellipse at 50% 100%, rgba(40, 231, 255, 0.13), transparent 40%),
    linear-gradient(135deg, #050505 0%, var(--charcoal) 48%, #100907 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(255, 211, 77, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 78%, rgba(255, 122, 26, 0.56) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 24%, rgba(255, 45, 45, 0.62) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 68%, rgba(255, 211, 77, 0.5) 0 1px, transparent 2px);
  background-size: 190px 190px, 250px 250px, 210px 210px, 260px 260px;
  opacity: 0.22;
}

.background-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(90deg, transparent 0 83%, rgba(40, 231, 255, 0.34) 84%, transparent 85%),
    linear-gradient(0deg, transparent 0 83%, rgba(40, 231, 255, 0.24) 84%, transparent 85%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 28%, rgba(255, 122, 26, 0.07) 54%, transparent 78%);
  background-size: 170px 130px, 170px 130px, 100% 100%;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

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

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

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(calc(100% - 44px), 1240px);
  margin: clamp(24px, 4vw, 54px) auto;
  background: var(--rice);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 45, 45, 0.05), transparent 18%, transparent 82%, rgba(40, 231, 255, 0.06)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 220px);
  z-index: 0;
}

.site-header,
.section-pad,
.value-strip,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px clamp(28px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 231, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255, 45, 45, 0.22);
  box-shadow: 0 10px 22px rgba(255, 45, 45, 0.14);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  color: var(--soy);
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0;
}

.nav-panel {
  display: contents;
}

.primary-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.1vw, 28px);
}

.primary-nav a,
.nav-link {
  position: relative;
  color: #2e2823;
  font-size: 0.84rem;
  font-weight: 800;
}

.primary-nav a + a::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

.primary-nav a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--cyan));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(21, 16, 13, 0.13);
  border-radius: 16px;
  background: #fff8ee;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--soy);
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button-small {
  min-height: 38px;
  padding: 0 17px;
  font-size: 0.82rem;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 14px 26px rgba(255, 45, 45, 0.23);
}

.button-secondary {
  color: var(--red);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 45, 45, 0.35);
}

.article-back-button {
  min-height: 48px;
  padding: 0 24px;
  color: var(--red);
  background: rgba(255, 250, 241, 0.82);
  border-color: rgba(255, 45, 45, 0.46);
  box-shadow: 0 12px 26px rgba(255, 45, 45, 0.08);
}

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

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(255, 45, 45, 0.3);
}

.button-secondary:hover {
  background: rgba(255, 45, 45, 0.08);
  border-color: rgba(255, 45, 45, 0.58);
}

.article-back-button:hover {
  background: rgba(255, 45, 45, 0.1);
  box-shadow: 0 16px 32px rgba(255, 45, 45, 0.12);
}

.section-pad {
  padding: clamp(56px, 7vw, 88px) clamp(26px, 5.2vw, 64px);
}

.hero {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  column-gap: clamp(22px, 4vw, 62px);
  align-items: start;
  text-align: left;
  min-height: clamp(620px, 61vw, 760px);
  padding-top: clamp(58px, 5.8vw, 78px);
  padding-bottom: clamp(58px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
  background: #fff7ec;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0%, transparent 42%, rgba(255, 250, 241, 0.36) 58%, rgba(255, 250, 241, 0.72) 100%),
    linear-gradient(180deg, transparent 72%, rgba(255, 250, 241, 0.96) 100%);
  opacity: 1;
  pointer-events: none;
}

.hero::after {
  content: none;
}

.hero-copy,
.search-form,
.hero-feature-strip {
  position: relative;
  z-index: 4;
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 560px);
  margin: clamp(10px, 2vw, 28px) 0 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.category-section h2,
.newsletter h2,
.featured-copy h2 {
  margin: 0;
  color: var(--soy);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(5.4rem, 8.8vw, 9.2rem);
  line-height: 0.86;
  text-wrap: balance;
}

.hero-title-line {
  display: block;
}

.tagline {
  margin: 18px 0 8px;
  color: var(--soy);
  max-width: 520px;
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  font-weight: 900;
}

.support-line {
  margin: 0;
  color: var(--red);
  font-weight: 900;
}

.hero-description {
  max-width: 500px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
}

.hero-doodle {
  position: absolute;
  display: block;
  pointer-events: none;
}

.hero-doodle-flame {
  top: 68px;
  left: 17%;
  width: 34px;
  height: 45px;
  border-radius: 58% 42% 56% 44%;
  background: linear-gradient(160deg, var(--yellow), var(--orange) 55%, var(--red));
  transform: rotate(22deg);
  opacity: 0.34;
  filter: blur(0.2px);
}

.hero-doodle-chip {
  top: 96px;
  right: 18%;
  width: 50px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(40, 231, 255, 0.44);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(21, 16, 13, 0.05);
  box-shadow: inset 0 0 18px rgba(40, 231, 255, 0.1);
}

.hero-doodle-sauce {
  right: 26%;
  bottom: 64px;
  width: 76px;
  height: 18px;
  border-radius: 999px 70% 999px 60%;
  background: linear-gradient(90deg, rgba(255, 45, 45, 0.22), rgba(255, 122, 26, 0.14));
  transform: rotate(-9deg);
}

.search-form {
  grid-column: 1 / -1;
  width: min(100%, 860px);
  min-height: 58px;
  align-self: end;
  margin: auto auto 0;
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(21, 16, 13, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 18px 40px rgba(21, 16, 13, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.search-icon {
  width: 18px;
  height: 18px;
  margin-left: 16px;
  border: 2px solid rgba(21, 16, 13, 0.34);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  right: -6px;
  bottom: -4px;
  background: rgba(21, 16, 13, 0.34);
  border-radius: 99px;
  transform: rotate(45deg);
}

.search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
}

.search-form input::placeholder {
  color: rgba(117, 107, 98, 0.72);
}

.search-form button {
  align-self: stretch;
  min-width: 72px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange) 68%, var(--cyan));
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.search-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(255, 45, 45, 0.22);
}

.featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(30px, 4.8vw, 56px);
  margin: clamp(22px, 3vw, 34px) clamp(22px, 5.2vw, 64px) clamp(18px, 3vw, 34px);
  padding: clamp(18px, 3vw, 30px);
  border: 2px solid rgba(255, 45, 45, 0.62);
  border-radius: clamp(24px, 3vw, 34px);
  background: rgba(255, 250, 241, 0.64);
  box-shadow: 0 24px 54px rgba(255, 45, 45, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.56);
}

.featured-thumbnail {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background: #120d0b;
  box-shadow: 0 24px 52px rgba(21, 16, 13, 0.16);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.featured-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 62px rgba(21, 16, 13, 0.22);
}

.featured-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured > *,
.newsletter-card > *,
.article-card,
.value-strip article {
  min-width: 0;
}

.featured-copy {
  max-width: 520px;
}

.label-pill,
.category-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.label-pill {
  margin-bottom: 18px;
  padding: 8px 13px;
  color: var(--red);
  background: rgba(255, 45, 45, 0.09);
  border: 1px solid rgba(255, 45, 45, 0.16);
}

.featured-copy h2 {
  font-size: clamp(3.15rem, 5.4vw, 5.4rem);
  line-height: 0.9;
}

.featured-copy p {
  margin: 22px 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(117, 107, 98, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
}

.story-meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--orange);
}

.story-meta-featured {
  margin-bottom: 26px;
}

.story-meta-featured img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 12px;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(3.3rem, 6vw, 5.8rem);
  line-height: 0.9;
}

.section-heading > p {
  max-width: 360px;
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 34px);
}

.article-card {
  overflow: hidden;
  border: 1px solid rgba(21, 16, 13, 0.08);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 18px 36px rgba(21, 16, 13, 0.08);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 26, 0.38);
  box-shadow: 0 26px 52px rgba(21, 16, 13, 0.13);
}

.card-visual {
  display: flex;
  align-items: end;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  padding: 18px;
  color: #fff;
  border-radius: 22px;
  margin: 12px 12px 0;
  background:
    radial-gradient(ellipse at 24% 18%, rgba(40, 231, 255, 0.34), transparent 34%),
    linear-gradient(135deg, var(--red), var(--orange));
}

.card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.34;
  mask-image: linear-gradient(180deg, #000, transparent 74%);
}

.card-visual::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 42%;
  left: 15%;
  bottom: 26%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  transform: rotate(-7deg);
  background: rgba(0, 0, 0, 0.13);
}

.card-visual span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 9, 9, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card-visual.has-image {
  padding: 0;
  background: none;
}

.card-visual.has-image::before,
.card-visual.has-image::after {
  content: none;
}

.card-visual.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-news {
  background:
    radial-gradient(ellipse at 78% 12%, rgba(40, 231, 255, 0.45), transparent 32%),
    linear-gradient(135deg, #21110e, var(--red) 55%, #24080a);
}

.visual-video {
  background:
    radial-gradient(ellipse at 25% 24%, rgba(255, 211, 77, 0.42), transparent 30%),
    linear-gradient(135deg, #041c22, #0a7891 42%, var(--orange));
}

.visual-workflow {
  background:
    radial-gradient(ellipse at 80% 16%, rgba(40, 231, 255, 0.34), transparent 30%),
    linear-gradient(135deg, #2a0f0b, var(--orange), var(--yellow));
}

.visual-hot {
  background:
    radial-gradient(ellipse at 70% 22%, rgba(255, 211, 77, 0.4), transparent 34%),
    linear-gradient(135deg, #110606, var(--red), #44100d);
}

.visual-business {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(40, 231, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #1b1309, #f0651b 45%, #ffd34d);
}

.visual-test {
  background:
    radial-gradient(ellipse at 78% 15%, rgba(255, 45, 45, 0.3), transparent 30%),
    linear-gradient(135deg, #071215, #1595aa 50%, #28e7ff);
}

.visual-models {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 211, 77, 0.36), transparent 32%),
    linear-gradient(135deg, #170c12, #6a1bff 45%, var(--red));
}

.visual-image {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 122, 26, 0.42), transparent 30%),
    linear-gradient(135deg, #06141c, #28e7ff 42%, #ff2d6f);
}

.visual-radar {
  background:
    radial-gradient(ellipse at 70% 18%, rgba(255, 211, 77, 0.42), transparent 34%),
    linear-gradient(135deg, #11100d, #ff2d2d 48%, #28e7ff);
}

.visual-0 {
  background:
    radial-gradient(ellipse at 78% 12%, rgba(40, 231, 255, 0.45), transparent 32%),
    linear-gradient(135deg, #21110e, var(--red) 55%, #24080a);
}

.visual-1 {
  background:
    radial-gradient(ellipse at 25% 24%, rgba(255, 211, 77, 0.42), transparent 30%),
    linear-gradient(135deg, #041c22, #0a7891 42%, var(--orange));
}

.visual-2 {
  background:
    radial-gradient(ellipse at 80% 16%, rgba(40, 231, 255, 0.34), transparent 30%),
    linear-gradient(135deg, #2a0f0b, var(--orange), var(--yellow));
}

.visual-3 {
  background:
    radial-gradient(ellipse at 70% 22%, rgba(255, 211, 77, 0.4), transparent 34%),
    linear-gradient(135deg, #110606, var(--red), #44100d);
}

.visual-4 {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(40, 231, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #1b1309, #f0651b 45%, #ffd34d);
}

.visual-5 {
  background:
    radial-gradient(ellipse at 78% 15%, rgba(255, 45, 45, 0.3), transparent 30%),
    linear-gradient(135deg, #071215, #1595aa 50%, #28e7ff);
}

.visual-6 {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 211, 77, 0.36), transparent 32%),
    linear-gradient(135deg, #170c12, #6a1bff 45%, var(--red));
}

.visual-7 {
  background:
    radial-gradient(ellipse at 24% 18%, rgba(255, 122, 26, 0.42), transparent 30%),
    linear-gradient(135deg, #06141c, #28e7ff 42%, #ff2d6f);
}

.visual-8 {
  background:
    radial-gradient(ellipse at 70% 18%, rgba(255, 211, 77, 0.42), transparent 34%),
    linear-gradient(135deg, #11100d, #ff2d2d 48%, #28e7ff);
}

.card-body {
  padding: 18px 20px 22px;
}

.category-pill {
  padding: 6px 10px;
  color: #8f1111;
  background: rgba(255, 45, 45, 0.1);
}

.category-pill.cyan {
  color: #087082;
  background: rgba(40, 231, 255, 0.14);
}

.category-pill.orange {
  color: #96440a;
  background: rgba(255, 122, 26, 0.14);
}

.category-pill.red {
  color: #a40f0f;
  background: rgba(255, 45, 45, 0.14);
}

.category-pill.yellow {
  color: #7f5900;
  background: rgba(255, 211, 77, 0.22);
}

.article-card h3 {
  margin: 12px 0 9px;
  color: var(--soy);
  font-size: clamp(1.1rem, 1.55vw, 1.35rem);
  line-height: 1.15;
}

.article-card h3 a:hover {
  color: var(--red);
}

.article-card p {
  min-height: 76px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(21, 16, 13, 0.09);
  border-radius: 22px;
  color: var(--muted);
  background: rgba(255, 250, 241, 0.72);
  font-weight: 800;
}

.back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.article-top-nav {
  margin-bottom: 24px;
}

.article-detail {
  max-width: 940px;
  margin: 0 auto;
}

.article-kicker,
.article-tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.article-kicker {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.article-detail h1 {
  max-width: 850px;
  margin: 18px 0;
  color: var(--soy);
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 7.8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

.article-excerpt {
  max-width: 780px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.65;
}

.article-meta {
  margin-bottom: 18px;
}

.article-tag-row {
  margin-bottom: 28px;
}

.article-hero-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: 28px;
  position: relative;
  background:
    radial-gradient(ellipse at 24% 18%, rgba(40, 231, 255, 0.34), transparent 34%),
    linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 24px 52px rgba(21, 16, 13, 0.13);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: rgba(21, 16, 13, 0.06);
}

.article-content {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(21, 16, 13, 0.08);
  border-radius: 28px;
  background: var(--rice-soft);
  box-shadow: 0 18px 42px rgba(21, 16, 13, 0.08);
}

.article-content h2,
.article-content h3,
.article-sources h2 {
  margin: 34px 0 12px;
  color: var(--soy);
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h2,
.article-sources h2 {
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}

.article-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.article-content p,
.article-content li {
  color: #342b25;
  font-size: 1.03rem;
  line-height: 1.82;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 1.2rem;
}

.article-content a,
.article-sources a {
  color: #a40f0f;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.article-sources {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 16, 13, 0.1);
}

.article-bottom-nav {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(21, 16, 13, 0.1);
}

.article-bottom-nav .button {
  text-decoration: none;
}

.category-section {
  text-align: center;
  padding-top: 34px;
}

.category-section h2 {
  font-size: clamp(3rem, 5.6vw, 5.2rem);
  line-height: 0.92;
}

.chip-cloud {
  width: min(100%, 420px);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.chip-cloud a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(21, 16, 13, 0.08);
  border-radius: 999px;
  color: var(--soy);
  background: rgba(255, 250, 241, 0.78);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(21, 16, 13, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chip-cloud a:nth-child(3n + 1) {
  background: rgba(255, 45, 45, 0.08);
}

.chip-cloud a:nth-child(3n + 2) {
  background: rgba(40, 231, 255, 0.11);
}

.chip-cloud a:nth-child(3n + 3) {
  background: rgba(255, 211, 77, 0.16);
}

.chip-cloud a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 26, 0.42);
  background: #fffaf1;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 8px;
  padding: 0 clamp(26px, 5.2vw, 64px) clamp(28px, 5vw, 50px);
}

.value-strip article {
  padding: 30px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.58);
}

.value-strip article:first-child {
  border-radius: 24px 0 0 24px;
  border-left: 1px solid var(--line);
}

.value-strip article:last-child {
  border-radius: 0 24px 24px 0;
  border-right: 1px solid var(--line);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 45, 45, 0.1);
  border: 1px solid rgba(255, 45, 45, 0.14);
  position: relative;
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  border-radius: 99px;
}

.feature-icon.brief::before {
  width: 18px;
  height: 22px;
  border: 2px solid var(--red);
  border-radius: 5px;
}

.feature-icon.brief::after {
  width: 12px;
  height: 2px;
  background: var(--orange);
  transform: translateY(4px);
}

.feature-icon.tools::before {
  width: 24px;
  height: 14px;
  border: 2px solid var(--cyan);
  border-radius: 8px;
}

.feature-icon.tools::after {
  width: 7px;
  height: 7px;
  background: var(--red);
  box-shadow: 12px 0 0 var(--orange);
}

.feature-icon.workflow::before {
  width: 24px;
  height: 2px;
  background: var(--orange);
  box-shadow: 0 -8px 0 var(--red), 0 8px 0 var(--cyan);
}

.feature-icon.edge::before {
  width: 22px;
  height: 22px;
  border: 2px solid var(--yellow);
  transform: rotate(45deg);
}

.feature-icon.edge::after {
  width: 8px;
  height: 8px;
  background: var(--red);
}

.value-strip h3 {
  margin: 0 0 8px;
  color: var(--soy);
  font-size: 1rem;
}

.value-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.newsletter {
  padding-top: 36px;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  position: relative;
  padding: clamp(28px, 5vw, 50px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(ellipse at 14% 18%, rgba(255, 45, 45, 0.32), transparent 34%),
    radial-gradient(ellipse at 92% 14%, rgba(40, 231, 255, 0.2), transparent 36%),
    linear-gradient(135deg, var(--soy), #21110d);
  box-shadow: 0 26px 54px rgba(21, 16, 13, 0.2);
}

.newsletter-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 85%, transparent);
}

.newsletter-card > * {
  position: relative;
  z-index: 1;
}

.newsletter .eyebrow {
  color: var(--cyan);
}

.newsletter h2 {
  color: #fff;
  font-size: clamp(3.1rem, 5.7vw, 5.6rem);
  line-height: 0.9;
}

.newsletter p {
  max-width: 610px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  line-height: 1.72;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.newsletter-form .button {
  width: 100%;
}

.form-note {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding: clamp(38px, 5vw, 58px) clamp(26px, 5.2vw, 64px) 28px;
  background: #eee3d5;
  border-top: 1px solid rgba(21, 16, 13, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
}

.footer-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(18px, 3vw, 34px);
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 18px;
  margin-bottom: 14px;
}

.footer-brand h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.footer-brand p {
  max-width: 270px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-nav a {
  display: inline-flex;
  width: auto;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-nav a:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 16, 13, 0.1);
  color: rgba(117, 107, 98, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    gap: 16px;
  }

  .featured {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    max-width: 720px;
  }

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

  .footer-grid {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 22px), 720px);
    margin: 12px auto;
    border-radius: 24px;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    z-index: 20;
    display: grid;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    border: 1px solid rgba(21, 16, 13, 0.1);
    border-radius: 22px;
    background: rgba(255, 250, 241, 0.98);
    box-shadow: 0 22px 42px rgba(21, 16, 13, 0.16);
    opacity: 0;
    transition: max-height 240ms ease, opacity 180ms ease, padding 240ms ease;
  }

  .site-header.is-open .nav-panel {
    max-height: 420px;
    padding: 20px 18px;
    opacity: 1;
  }

  .primary-nav,
  .nav-actions {
    display: grid;
    justify-items: stretch;
    gap: 10px;
  }

  .primary-nav a,
  .nav-actions a {
    width: 100%;
    padding: 12px 10px;
    border-radius: 14px;
  }

  .primary-nav a:hover,
  .nav-actions a:hover {
    background: rgba(255, 45, 45, 0.07);
  }

  .primary-nav a::after,
  .nav-link::after,
  .primary-nav a::before {
    display: none;
  }

  .nav-actions .button {
    padding: 0 18px;
  }

  .hero-doodle {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 58px;
  }

  .hero-copy {
    order: 1;
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
  }

  .tagline,
  .support-line,
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-scene {
    order: 2;
    position: relative;
    inset: auto;
    width: min(100%, 680px);
    height: auto;
    margin: 28px auto 0;
    border-radius: 24px;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 22px 46px rgba(21, 16, 13, 0.1);
  }

  .search-form {
    order: 3;
    margin-top: 18px;
  }

  .section-heading {
    display: grid;
    gap: 14px;
  }

  .section-heading > p {
    max-width: 100%;
  }

  .newsletter-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 52px 22px;
  }

  .hero {
    padding: 42px 24px 46px;
    min-height: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.36rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 14vw, 4.3rem);
    line-height: 0.9;
  }

  .hero-title-line {
    display: block;
  }

  .tagline {
    max-width: 330px;
    font-size: 1.02rem;
    line-height: 1.28;
  }

  .support-line {
    max-width: 300px;
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .hero-description {
    max-width: 330px;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .search-form {
    min-height: 56px;
    display: flex;
    grid-template-columns: none;
    border-radius: 999px;
    margin-top: 16px;
    width: 100%;
  }

  .hero-scene {
    width: min(100%, 390px);
    margin-top: 24px;
    border-radius: 20px;
  }

  .search-form button {
    grid-column: auto;
    min-height: 44px;
    min-width: 62px;
    padding: 0 16px;
  }

  .featured-actions {
    display: grid;
  }

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

  .article-card p {
    min-height: 0;
  }

  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 22px;
  }

  .value-strip article,
  .value-strip article:first-child,
  .value-strip article:last-child {
    border: 1px solid var(--line);
    border-radius: 22px;
  }

  .newsletter-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .newsletter h2,
  .featured-copy h2,
  .section-heading h2,
  .category-section h2 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

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

  .footer-nav {
    justify-self: stretch;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
