/* 2026 editorial refresh — shared visual language across every page */
:root {
  --color-ink: #14221f;
  --color-ink-soft: #1d3430;
  --color-champagne: #d7bd82;
  --color-clay: #b86645;
  --color-mist: #e8efeb;
  --shadow-editorial: 0 28px 70px rgba(20, 34, 31, 0.14);
}

body {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(15, 76, 92, 0.035) 50%, transparent calc(50% + 1px)),
    var(--color-bg);
}

main > section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

main > section:not(.home-hero):not([class*="hero"]):nth-of-type(3n + 2)::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  right: clamp(-8rem, -7vw, -3rem);
  width: 18rem;
  aspect-ratio: 1;
  border: 1px solid rgba(184, 102, 69, 0.16);
  border-radius: 50%;
  z-index: -1;
}

.section {
  padding-block: clamp(4.5rem, 8vw, 8rem);
}

.section--tinted {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 44%),
    var(--color-surface-alt);
}

.section__header {
  margin-bottom: clamp(2.25rem, 5vw, 4.5rem);
}

.section__eyebrow {
  color: var(--color-clay);
  letter-spacing: 0.2em;
}

.section__heading em,
.home-hero__title em,
h1 em {
  color: var(--color-clay);
  text-decoration: underline;
  text-decoration-color: rgba(215, 189, 130, 0.55);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.section-index {
  color: var(--color-primary);
}

.section-index__number {
  min-width: 2.4rem;
  color: var(--color-clay);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
}

.section-index__divider {
  background: linear-gradient(90deg, var(--color-clay), var(--color-champagne));
}

.home-hero {
  min-height: min(820px, calc(100svh - 70px));
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 189, 130, 0.19), transparent 29%),
    linear-gradient(155deg, #fbf7ef 0%, #f6efe3 48%, #edf3ef 100%);
}

.home-hero__image-frame,
[class*="hero"] figure,
[class*="hero"] [class*="image-frame"] {
  border-radius: 0 6rem 0 0;
}

.home-hero__image-frame::after {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid rgba(184, 102, 69, 0.35);
  border-radius: inherit;
  z-index: -1;
}

.btn {
  border-radius: 0;
  padding-inline: 1.8rem;
  box-shadow: 5px 5px 0 rgba(215, 189, 130, 0.6);
}

/* Keep button labels legible in every link state and section theme. */
.btn.btn:not(.btn--ghost):not(.btn--secondary),
.btn.btn:not(.btn--ghost):not(.btn--secondary):visited,
.btn.btn:not(.btn--ghost):not(.btn--secondary):hover,
.btn.btn:not(.btn--ghost):not(.btn--secondary):active {
  color: #ffffff;
}

.btn.btn--ghost,
.btn.btn--ghost:visited,
.btn.btn--ghost:hover,
.btn.btn--ghost:active,
.btn.btn--secondary,
.btn.btn--secondary:visited,
.btn.btn--secondary:hover,
.btn.btn--secondary:active {
  color: var(--color-ink);
}

.home-cta-final-actions .btn.btn--ghost,
.home-cta-final-actions .btn.btn--ghost:visited,
.home-cta-final-actions .btn.btn--ghost:hover,
.home-cta-final-actions .btn.btn--ghost:active {
  color: #ffffff;
}

.cookie-banner__button.cookie-banner__button--primary,
.cookie-banner__button.cookie-banner__button--primary:hover,
.cookie-banner__button.cookie-banner__button--primary:active {
  color: #ffffff;
}

.cookie-banner__button.cookie-banner__button--secondary,
.cookie-banner__button.cookie-banner__button--secondary:hover,
.cookie-banner__button.cookie-banner__button--secondary:active {
  color: var(--color-ink);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(215, 189, 130, 0.72);
}

/* A drawn arrow avoids platform-specific blue emoji rendering. */
.site-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: 0.15rem;
  color: currentColor;
  transition: transform var(--transition-base);
}

.site-arrow::before {
  content: "\2198\FE0E";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1;
}

.site-arrow::after {
  content: none;
}

a:hover .site-arrow {
  transform: translate(0.12rem, 0.12rem);
}

.card {
  border-radius: 0;
  box-shadow: none;
  border-color: rgba(20, 34, 31, 0.14);
}

.card:nth-child(3n + 2) {
  border-top: 3px solid var(--color-clay);
}

.card:nth-child(3n) {
  background: linear-gradient(145deg, var(--color-mist), #fff);
}

/* New reusable sections: dark feature bands, process rails, and editorial notes. */
.feature-band {
  color: #f8f3e9;
  background:
    radial-gradient(circle at 92% 10%, rgba(215, 189, 130, 0.17), transparent 27%),
    linear-gradient(125deg, var(--color-ink), var(--color-ink-soft));
}

.feature-band::after {
  content: attr(data-mark);
  position: absolute;
  right: -0.03em;
  bottom: -0.28em;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--font-heading);
  font-size: clamp(12rem, 28vw, 28rem);
  line-height: 1;
  pointer-events: none;
  z-index: -1;
}

.feature-band h2,
.feature-band h3,
.feature-band .section__heading,
.feature-band .section-index,
.feature-band .section-index__number {
  color: #fffaf1;
}

.feature-band p,
.feature-band li,
.feature-band .section__lead {
  color: rgba(248, 243, 233, 0.74);
}

.feature-band .section__eyebrow {
  color: var(--color-champagne);
}

.feature-band__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.feature-band__intro .section__lead {
  max-width: 52ch;
  justify-self: end;
}

.feature-band__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-band__item {
  padding: 2rem clamp(1rem, 3vw, 2.5rem) 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-band__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.feature-band__number {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--color-champagne);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feature-band__item h3 {
  max-width: 15ch;
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
}

.editorial-note {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.editorial-note__aside {
  position: sticky;
  top: 7rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-clay);
}

.editorial-note__list {
  display: grid;
  gap: 0;
  list-style: none;
  counter-reset: note;
}

.editorial-note__list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border-soft);
  counter-increment: note;
}

.editorial-note__list li::before {
  content: "0" counter(note);
  color: var(--color-clay);
  font-family: var(--font-heading);
  font-style: italic;
}

.editorial-note__list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
}

.editorial-note__list p {
  margin: 0;
}

@media (max-width: 760px) {
  .feature-band__intro,
  .editorial-note {
    grid-template-columns: 1fr;
  }

  .feature-band__intro .section__lead {
    justify-self: start;
  }

  .feature-band__grid {
    grid-template-columns: 1fr;
  }

  .feature-band__item,
  .feature-band__item:first-child {
    padding: 1.5rem 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .editorial-note__aside {
    position: static;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero__image-frame,
  [class*="hero"] figure,
  [class*="hero"] [class*="image-frame"] {
    border-radius: 0 3rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover {
    transform: none;
  }
}
