:root {
  --bg: #fdf7f1;
  --surface: #fffaf6;
  --surface-low: #f7efe7;
  --surface-mid: #eee3d8;
  --surface-strong: #e4d4c5;
  --ink: #221712;
  --muted: #725e51;
  --accent: #f26522;
  --accent-deep: #a63b00;
  --accent-soft: rgba(242, 101, 34, 0.12);
  --line-soft: rgba(34, 23, 18, 0.08);
  --shadow-soft: 0 24px 60px rgba(34, 23, 18, 0.07);
  --shadow-paper: 0 18px 42px rgba(34, 23, 18, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(242, 101, 34, 0.08), transparent 22rem),
    linear-gradient(180deg, #fff9f4 0%, var(--bg) 48%, #fbf2ea 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: auto -6rem -8rem auto;
  width: 24rem;
  height: 24rem;
  background: url("/images/logo-mark.svg") no-repeat center / contain;
  opacity: 0.03;
  pointer-events: none;
  transform: rotate(-12deg);
}

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(253, 247, 241, 0.86);
  box-shadow: 0 10px 30px rgba(34, 23, 18, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem 0;
}

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

.brand__mark {
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
}

.brand__wordmark {
  display: grid;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.brand__wordmark span {
  font-size: 0.85rem;
  font-weight: 700;
}

.brand__wordmark strong {
  font-size: 1.55rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav__link {
  color: rgba(34, 23, 18, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0.35rem 0;
  position: relative;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 0.18rem;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: var(--ink);
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px) scale(1.015);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 18px 38px rgba(166, 59, 0, 0.18);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 250, 246, 0.85);
  box-shadow: inset 0 0 0 1px rgba(34, 23, 18, 0.04);
}

.header-cta {
  flex: none;
}

.page-section {
  padding: 1.25rem 0 4rem;
}

.home-hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 0.8fr);
  gap: 1.6rem;
  padding: 3.5rem 0 2.2rem;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.28rem rgba(242, 101, 34, 0.12);
}

.eyebrow--inverse {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow--inverse::before {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 0.28rem rgba(255, 255, 255, 0.14);
}

.display-title,
.page-title,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.92;
  font-weight: 800;
}

.display-title {
  max-width: 10ch;
  font-size: clamp(3.8rem, 7vw, 6.4rem);
}

.page-title {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.lead {
  max-width: 40rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(247, 239, 231, 0.96));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.paper-stack {
  transform: rotate(1.8deg);
}

.paper-stack::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(-4deg);
  z-index: -1;
}

.hero-aside {
  min-height: 26rem;
  padding: 1.2rem;
}

.hero-aside__image {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 0.5rem);
  filter: grayscale(1) contrast(1.05);
}

.hero-aside__mark {
  display: grid;
  place-items: center;
  min-height: 22rem;
  background:
    radial-gradient(circle at top left, rgba(242, 101, 34, 0.14), transparent 12rem),
    var(--surface-mid);
  border-radius: calc(var(--radius-lg) - 0.5rem);
}

.hero-aside__mark img,
.story-card__mark {
  width: min(10rem, 44%);
  opacity: 0.9;
}

.floating-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: min(18rem, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 246, 0.94);
  box-shadow: var(--shadow-paper);
  transform: rotate(-3deg);
}

.floating-note__label {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.floating-note a {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.floating-note p:last-child {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.section-heading,
.cta-band {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-heading {
  margin-bottom: 1.3rem;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.section-link-inline {
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

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

.story-card {
  min-height: 100%;
}

.story-card--feature {
  grid-column: span 2;
  grid-row: span 2;
}

.story-card__link {
  display: grid;
  height: 100%;
  grid-template-rows: minmax(12rem, 16rem) auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.story-card--feature .story-card__link {
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: none;
  min-height: 24rem;
}

.story-card__link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-paper);
  background: #fffdfb;
}

.story-card__media {
  overflow: hidden;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.12), rgba(228, 212, 197, 0.8));
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card__media--mark {
  display: grid;
  place-items: center;
}

.story-card__body {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.story-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-card__eyebrow span {
  color: rgba(34, 23, 18, 0.52);
}

.story-card__body h3 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.story-card__body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.manifest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr);
  gap: 1rem;
}

.manifesto-copy,
.section-panel {
  padding: 1.45rem 1.5rem;
}

.manifesto-copy h2,
.section-panel h3 {
  margin: 0 0 0.65rem;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.manifesto-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
}

.section-panel h3 {
  font-size: 1.55rem;
}

.section-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-panel--pale {
  background: linear-gradient(180deg, rgba(247, 239, 231, 0.96), rgba(240, 229, 218, 0.96));
}

.accent-panel {
  padding: 1.45rem 1.5rem;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 8rem),
    linear-gradient(160deg, var(--accent), var(--accent-deep));
  box-shadow: 0 20px 48px rgba(166, 59, 0, 0.22);
}

.accent-panel--compact {
  align-self: stretch;
}

.metrics {
  display: grid;
  gap: 0.95rem;
}

.metric {
  display: grid;
  gap: 0.15rem;
}

.metric strong {
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.metric span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 22rem);
  gap: 1.2rem;
  align-items: start;
  padding-bottom: 4rem;
}

.aside-stack {
  display: grid;
  gap: 1rem;
}

.meta-panel,
.empty-panel {
  padding: 1.25rem 1.3rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  margin-top: 1.1rem;
  color: rgba(34, 23, 18, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.related-list {
  display: grid;
  gap: 0.85rem;
}

.related-list__item {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
}

.related-list__item strong {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.related-list__item span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.prose {
  padding: 1.6rem 1.7rem;
}

.prose--intro {
  padding: 0;
}

.prose h2,
.prose h3 {
  margin: 2rem 0 0.8rem;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.prose p,
.prose li {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.8;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.prose a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(166, 59, 0, 0.28);
  text-underline-offset: 0.2rem;
}

.prose figure,
.prose .wp-block-image {
  margin: 1.6rem 0;
}

.prose img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-paper);
}

.cta-band {
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at bottom right, rgba(242, 101, 34, 0.18), transparent 8rem),
    linear-gradient(180deg, rgba(247, 239, 231, 0.98), rgba(255, 250, 246, 0.98));
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 4vw, 3.4rem);
}

.site-footer {
  margin-top: 3rem;
  padding: 2.4rem 0 2rem;
  background: rgba(244, 236, 227, 0.92);
  box-shadow: inset 0 1px 0 rgba(34, 23, 18, 0.04);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.7fr));
  gap: 1.5rem;
}

.site-footer__text,
.site-footer__meta,
.footer-links a {
  color: var(--muted);
}

.footer-heading {
  margin: 0 0 0.7rem;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(34, 23, 18, 0.05);
  font-size: 0.83rem;
}

@media (max-width: 980px) {
  .home-hero,
  .page-hero,
  .manifest-grid,
  .page-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .story-grid,
  .story-grid--list {
    grid-template-columns: 1fr;
  }

  .story-card--feature {
    grid-column: auto;
    grid-row: auto;
  }

  .story-card--feature .story-card__link {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .brand__wordmark strong {
    font-size: 1.3rem;
  }

  .brand__wordmark span {
    font-size: 0.75rem;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 0.9rem 1rem;
  }

  .section-heading,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .prose,
  .manifesto-copy,
  .section-panel,
  .accent-panel,
  .meta-panel,
  .empty-panel,
  .cta-band {
    padding: 1.2rem;
  }

  .floating-note {
    position: static;
    width: auto;
    margin-top: 1rem;
    transform: none;
  }
}
