:root {
  --brand-red: #a34a2b;
  --brand-black: #000000;
  --brand-white: #fdf9f0;
  --tan: #d2ae7c;
  --brown: #b1855f;
  --mint: #a3e9c4;
  --yellow: #f1de9c;
  --blue-soft: #ccdfed;
  --blue-light: #bbe5f6;
  --deep-green: #143f32;
  --fresh-green: #2e8b57;
  --soft-lime: #a3e9c4;
  --cream: #fdf9f0;
  --cream-dark: #f1eadf;
  --earth: #b1855f;
  --charcoal: #1b1b1b;
  --muted: #665f57;
  --white: #ffffff;
  --line: rgba(0, 0, 0, 0.12);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}

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

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

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.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-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 240, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-black);
  letter-spacing: 0;
}

.brand-logo {
  width: 210px;
  height: auto;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand-black);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-search {
  width: 180px;
  margin-right: 6px;
}

.site-search input {
  height: 40px;
  padding: 9px 12px;
  border-color: rgba(0, 0, 0, 0.18);
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--white);
}

.site-search input:focus {
  outline: 2px solid rgba(163, 74, 43, 0.28);
  border-color: var(--brand-red);
}

.main-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--brand-black);
  font-weight: 700;
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(163, 74, 43, 0.12);
  color: var(--brand-red);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(163, 233, 196, 0.55), transparent 28%),
    radial-gradient(circle at 10% 88%, rgba(241, 222, 156, 0.65), transparent 30%),
    linear-gradient(135deg, #fdf9f0 0%, #ffffff 54%, #f6e7df 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 42px;
  padding: 70px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--brand-red);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-red);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-black);
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.45rem, 7vw, 5.4rem);
  max-width: 760px;
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.hero p {
  max-width: 700px;
  margin-top: 22px;
  font-size: 1.13rem;
  color: #33443b;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--brand-black);
  background: var(--brand-black);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.secondary {
  background: var(--white);
  color: var(--brand-black);
}

.button.secondary:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.button.light {
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--white);
  color: var(--brand-black);
}

.hero-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow);
}

.brand-showcase {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(253, 249, 240, 0.96), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at top right, rgba(163, 74, 43, 0.12), transparent 32%);
  border: 1px solid var(--line);
  text-align: center;
}

.brand-showcase img {
  width: min(100%, 360px);
  margin: 0 auto;
}

.brand-showcase p {
  max-width: 360px;
  margin: 18px auto 0;
  color: var(--muted);
  font-weight: 700;
}

.hero-feature-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
}

.cycle-visual {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 40deg, var(--brand-black), var(--brand-red), var(--tan), var(--mint), var(--brand-black));
  padding: 18px;
}

.cycle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 34px;
  color: var(--brand-black);
}

.visual-logo {
  width: min(72%, 320px);
  margin: 0 auto 18px;
}

.cycle-inner strong {
  display: block;
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  line-height: 1;
}

.cycle-inner span {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.hero-stat {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(163, 74, 43, 0.08);
}

.hero-stat strong {
  display: block;
  color: var(--brand-red);
  font-size: 1.3rem;
}

.hero-stat span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: var(--white);
}

.section.deep {
  background: var(--brand-black);
  color: rgba(255, 255, 255, 0.86);
}

.section.deep h2,
.section.deep h3 {
  color: var(--white);
}

.section-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header p,
.lead {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
}

.section.deep .section-header p,
.section.deep .lead {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  min-width: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.card.soft {
  background: rgba(255, 255, 255, 0.72);
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(163, 74, 43, 0.12);
  color: var(--brand-red);
  font-size: 1.3rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

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

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(163, 74, 43, 0.08);
  color: var(--charcoal);
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  flex: 0 0 auto;
}

.upcycle-pathway {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.pathway-step {
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.pathway-step span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--white);
  font-weight: 900;
}

.pathway-step h3 {
  margin-bottom: 8px;
}

.pathway-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.upcycle-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.upcycle-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.upcycle-table th,
.upcycle-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.upcycle-table th {
  background: rgba(163, 74, 43, 0.1);
  color: var(--brand-black);
}

.upcycle-table td {
  color: var(--muted);
}

.upcycle-table td:first-child {
  color: var(--brand-black);
  font-weight: 800;
}

.upcycle-table tr:last-child td {
  border-bottom: 0;
}

.page-hero {
  padding: 82px 0 58px;
  background:
    radial-gradient(circle at 84% 20%, rgba(163, 233, 196, 0.5), transparent 26%),
    radial-gradient(circle at 12% 85%, rgba(241, 222, 156, 0.58), transparent 26%),
    linear-gradient(135deg, #fdf9f0, #ffffff);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: 42px;
}

.page-hero p {
  max-width: 820px;
  margin-top: 18px;
  font-size: 1.12rem;
  color: #33443b;
}

.qualification-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 8px;
  max-width: 840px;
}

.qualification-strip span {
  padding: 11px 13px;
  border: 1px solid rgba(163, 74, 43, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-black);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.35;
}

.food-upcycling-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.food-hero-image {
  margin: 0;
  justify-self: end;
}

.page-hero-image {
  margin: 0;
  justify-self: end;
}

.food-hero-image,
.page-hero-image {
  display: block;
  align-self: center;
  width: 420px !important;
  height: 420px !important;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}

.food-hero-image img,
.page-hero-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.concept-card {
  border-top: 4px solid var(--brand-red);
}

.profile-photo {
  margin: 0;
  justify-self: end;
}

.profile-photo img {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(163, 74, 43, 0.12);
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 800;
}

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.post-details {
  margin-top: auto;
  padding-top: 16px;
}

.post-details summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--brand-black);
  border-radius: var(--radius);
  color: var(--brand-black);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.post-details summary::-webkit-details-marker {
  display: none;
}

.post-details[open] summary {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.post-details p {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(163, 74, 43, 0.08);
}

.blog-post-card {
  overflow: hidden;
  padding: 0;
}

.blog-post-card > .meta,
.blog-post-card > h3,
.blog-post-card > p,
.blog-post-card > .quick-take,
.blog-post-card > .post-details {
  margin-left: 22px;
  margin-right: 22px;
}

.blog-post-card > .meta {
  margin-top: 20px;
}

.blog-post-card > h3 {
  min-height: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.post-card-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: var(--brand-white);
  border-bottom: 1px solid var(--line);
}

.quick-take {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(163, 74, 43, 0.08);
}

.quick-take strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-red);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-take p {
  margin: 0;
  color: #3c3c3c;
}

.post-date {
  margin: -4px 0 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.article-hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 24px;
}

.article-details {
  margin-top: 20px;
}

.article-body {
  max-width: 920px;
  margin: 22px auto 0;
  color: var(--charcoal);
}

.article-body p {
  margin: 0 0 1rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #333333;
  font-size: 1.03rem;
}

.article-body .article-lead {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  color: var(--brand-black);
  font-weight: 800;
  line-height: 1.35;
  padding: 0;
  background: transparent;
}

.article-body h2 {
  margin: 34px 0 14px;
  color: var(--brand-red);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.article-body h3 {
  color: var(--brand-black);
  margin-bottom: 10px;
}

.article-callout {
  margin: 28px 0;
  padding: clamp(18px, 3vw, 28px);
  border-left: 5px solid var(--brand-red);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(253, 249, 240, 0.95), rgba(241, 222, 156, 0.24));
}

.article-callout p,
.article-details .article-callout p {
  padding: 0;
  background: transparent;
}

.article-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 10px;
  color: #3f3f3f;
}

.article-body a {
  overflow-wrap: anywhere;
}

.article-figure {
  margin: 28px 0;
}

.article-figure img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.search-results {
  display: grid;
  gap: 18px;
}

.search-result-card {
  display: grid;
  gap: 10px;
}

.search-result-card h2 {
  margin: 0;
  color: var(--brand-black);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.search-result-card h2 a:hover {
  color: var(--brand-red);
}

.search-result-card p {
  max-width: 850px;
}

.search-result-card .button,
.search-empty .button {
  justify-self: start;
}

.article-diagram {
  margin: 34px 0;
}

.article-diagram img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.priority-line {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--brand-black);
  color: var(--brand-white) !important;
  font-weight: 800;
  text-align: center;
}

.close-article {
  margin-top: 26px;
}

.read-article-link {
  margin: auto 22px 22px;
  align-self: flex-start;
}

.article-page {
  padding: clamp(18px, 4vw, 34px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 28px;
  padding: 9px 14px;
  border: 1px solid var(--brand-black);
  border-radius: var(--radius);
  color: var(--brand-black);
  background: var(--white);
  font-weight: 800;
}

.back-link::before {
  content: "<";
  margin-right: 8px;
  color: var(--brand-red);
}

.back-link:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  gap: 34px;
}

.article-hero-thumb {
  width: min(100%, 390px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  justify-self: end;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.article-page-image {
  width: min(100%, 760px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 0 auto 26px;
}

.quote-band {
  padding: 34px;
  border-left: 5px solid var(--brand-red);
  background: rgba(163, 74, 43, 0.12);
  border-radius: var(--radius);
}

.quote-band p {
  color: var(--brand-black);
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-status {
  margin: 0 0 14px;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font-weight: 800;
}

.form-status.success {
  color: #1f5b34;
  background: #e9f6ee;
  border-color: #b9dfc6;
}

.form-status.error {
  color: #8a2d18;
  background: #fff0eb;
  border-color: #f1c2b4;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--brand-black);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--charcoal);
  background: var(--white);
}

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

.site-footer {
  background: var(--brand-black);
  color: rgba(255, 255, 255, 0.78);
  padding: 54px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin: 0 0 14px;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.admin-create-post-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--brand-black);
  border-radius: 8px;
  background: var(--brand-black);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.admin-create-post-button:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: var(--white);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
  }

  .site-search {
    width: 100%;
    margin-right: 0;
  }

  .site-search input {
    height: 44px;
  }

  .hero-grid,
  .page-hero-grid,
  .article-hero-grid,
  .split,
  .upcycle-pathway,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0;
  }

  .hero-panel {
    max-width: 560px;
    margin: 0 auto;
  }

  .profile-photo {
    justify-self: start;
    width: min(100%, 420px);
  }

  .food-hero-image {
    justify-self: start;
    width: min(100%, 420px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  .page-hero-image {
    justify-self: start;
    width: min(100%, 420px) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  .article-hero-thumb {
    justify-self: start;
    width: min(100%, 390px);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 168px;
  }

  .hero-grid {
    padding: 42px 0;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .qualification-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 58px 0 42px;
  }

  .card,
  .hero-panel,
  .quote-band {
    padding: 20px;
  }

  .hero-stat-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cycle-inner {
    padding: 24px;
  }

  .post-card-image,
  .article-page-image {
    aspect-ratio: 1;
  }
}
