:root {
  --wma-line: rgba(33, 102, 70, 0.18);
  --wma-soft: rgba(235, 248, 238, 0.78);
  --wma-paper: rgba(255, 255, 255, 0.84);
}

.functional-main {
  display: grid;
  gap: 0;
}

.functional-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--wma-line);
}

.functional-section:last-child {
  border-bottom: 0;
}

.welcome-section {
  padding-top: clamp(72px, 9vw, 118px);
}

.welcome-layout,
.forever-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.welcome-layout h2,
.forever-story-layout h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.welcome-copy,
.story-copy {
  max-width: 720px;
}

.welcome-copy p,
.story-copy p {
  color: var(--muted);
}

.welcome-copy p:first-child,
.story-copy p:first-child {
  margin-top: 0;
}

.welcome-promise {
  padding-left: 20px;
  border-left: 3px solid rgba(32, 143, 91, 0.5);
  color: var(--sage-900) !important;
  font-weight: 720;
}

.welcome-principles,
.story-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(42px, 6vw, 72px);
}

.welcome-principles span,
.story-points span {
  padding-top: 18px;
  border-top: 1px solid var(--wma-line);
  color: var(--muted);
}

.welcome-principles b,
.story-points b {
  display: block;
  margin-bottom: 7px;
  color: var(--sage-900);
}

.story-section {
  background: linear-gradient(120deg, rgba(246, 252, 247, 0.5), rgba(227, 245, 232, 0.58));
}

.story-section .about-signature {
  margin: 28px 0;
  color: var(--sage-900);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.forever-story .fine-note {
  max-width: 820px;
  margin-top: 28px;
}

.section-lead {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-lead h1,
.section-lead h2 {
  max-width: 850px;
  margin-bottom: 14px;
}

.section-lead p,
.content-block p,
.source-note,
.integration-gate p {
  color: var(--muted);
}

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

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

.action-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 250px;
  padding: 28px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(39, 119, 74, 0.24);
  border-radius: 24px;
  background: linear-gradient(145deg, #fbfefb 0%, #edf7f0 100%);
  box-shadow:
    0 0 0 1px rgba(108, 183, 133, 0.14),
    0 18px 44px rgba(34, 93, 64, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.action-card:hover,
.action-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(32, 143, 91, 0.54);
  box-shadow:
    0 0 0 2px rgba(91, 176, 122, 0.2),
    0 24px 54px rgba(34, 93, 64, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.action-grid .action-card:nth-child(even) {
  background: linear-gradient(145deg, #f8fcf9 0%, #e7f3eb 100%);
}

.action-card h2,
.action-card h3,
.content-block h2,
.content-block h3 {
  margin: 0;
}

.action-card p {
  margin: 0;
  color: var(--muted);
}

.action-card .action-label {
  margin-top: auto;
  padding-top: 18px;
  color: var(--sage-800);
  font-weight: 850;
}

.content-stack {
  display: grid;
  gap: 20px;
}

.content-block {
  padding: clamp(24px, 4vw, 38px);
  border-left: 4px solid rgba(32, 143, 91, 0.42);
  border-radius: 0 22px 22px 0;
  background: var(--wma-paper);
}

.content-block ul,
.content-block ol,
.source-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--muted);
}

.source-list a {
  color: var(--sage-800);
  font-weight: 760;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-list li {
  padding: 22px;
  border-top: 3px solid rgba(32, 143, 91, 0.5);
  background: var(--wma-soft);
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--sage-900);
}

.integration-gate {
  max-width: 820px;
  padding: 28px;
  border: 1px dashed rgba(139, 100, 36, 0.45);
  border-radius: 20px;
  background: rgba(255, 249, 231, 0.86);
}

.integration-gate strong {
  color: #74531f;
}

.systeme-frame {
  width: 100%;
  min-height: 760px;
  border: 0;
  border-radius: 20px;
  background: #fff;
}

.wma-form-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(103, 189, 131, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 10%, rgba(185, 231, 197, 0.52), transparent 24rem),
    linear-gradient(135deg, rgba(247, 253, 247, 0.98), rgba(226, 246, 231, 0.94));
  box-shadow: 0 24px 70px rgba(67, 153, 97, 0.16), 0 0 44px rgba(185, 231, 197, 0.2);
}

.wma-form-intro {
  position: sticky;
  top: 120px;
}

.wma-form-intro h2 {
  margin: 10px 0 14px;
  color: var(--sage-950);
}

.wma-form-intro p:last-child {
  color: var(--muted);
}

.wma-form {
  display: grid;
  gap: 18px;
}

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

.wma-field {
  display: grid;
  gap: 8px;
  color: var(--sage-850);
  font-weight: 800;
}

.wma-field input,
.wma-field select,
.wma-field textarea {
  width: 100%;
  border: 1px solid rgba(103, 189, 131, 0.32);
  border-radius: 16px;
  color: var(--sage-950);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.wma-field input,
.wma-field select {
  min-height: 52px;
  padding: 0 16px;
}

.wma-field textarea {
  min-height: 138px;
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}

.wma-field input:focus,
.wma-field select:focus,
.wma-field textarea:focus {
  outline: 0;
  border-color: rgba(47, 143, 91, 0.76);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(103, 189, 131, 0.18);
}

.wma-form .button {
  width: fit-content;
  min-width: min(100%, 240px);
}

.form-status[data-state="error"] {
  color: #8b2f2f;
}

.form-status[data-state="success"] {
  color: #16663f;
}

@media (max-width: 780px) {
  .wma-form-card,
  .wma-form-grid {
    grid-template-columns: 1fr;
  }

  .wma-form-intro {
    position: static;
  }

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

.status-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #654a1e;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  color: var(--sage-800);
  font-weight: 760;
}

.shop-bridge {
  min-height: 62vh;
  display: grid;
  align-items: center;
}

.shop-bridge .content-block {
  max-width: 780px;
}

.review-only-note {
  font-size: 0.94rem;
  color: var(--muted);
}

.functional-section .about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  width: 100%;
}

.functional-section .about-section .about-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(28px, 4vw, 42px);
}

.functional-section .about-mini-photo {
  position: static;
  inset: auto;
  width: 100%;
  max-width: 280px;
  margin: 0;
  transform: none;
}

.functional-section .about-mini-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-portrait-column {
  display: grid;
  gap: 18px;
  align-self: start;
}

.about-belief-card {
  width: 100%;
  max-width: 280px;
  padding: 22px 20px;
  border: 1px solid rgba(103, 189, 131, 0.3);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(247, 252, 247, 0.98), rgba(224, 243, 229, 0.92));
  box-shadow: 0 16px 38px rgba(61, 118, 79, 0.13);
}

.about-belief-card .eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
}

.about-belief-quote {
  margin: 0;
  color: var(--sage-900);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.28;
}

.about-belief-copy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.about-belief-meta {
  margin: 14px 0 0;
  color: var(--sage-850);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.about-fit-note {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid rgba(103, 189, 131, 0.28);
  border-left: 4px solid rgba(70, 151, 96, 0.72);
  border-radius: 6px 18px 18px 6px;
  background: rgba(235, 248, 238, 0.78);
}

.about-fit-note .eyebrow {
  margin: 0 0 8px;
}

.about-fit-note p:last-child {
  margin: 0;
  color: var(--sage-850);
  font-weight: 650;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .welcome-layout,
  .forever-story-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .action-grid,
  .action-grid.two,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .functional-section {
    width: min(100% - 28px, 1180px);
    padding: 48px 0;
  }

  .action-grid,
  .action-grid.two,
  .process-list,
  .welcome-principles,
  .story-points {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 0;
    padding: 24px;
  }

  .systeme-frame {
    min-height: 920px;
  }

  .functional-section .about-section {
    grid-template-columns: 1fr;
  }

  .about-portrait-column {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .functional-section .about-mini-photo,
  .about-belief-card {
    max-width: none;
  }
}

/* WMA section signature and refined editorial scale */
.functional-main > section:not(.hero) {
  position: relative;
}

.section-seal {
  position: absolute;
  top: clamp(22px, 3.4vw, 42px);
  right: clamp(2px, 2.4vw, 24px);
  z-index: 1;
  width: clamp(48px, 5.6vw, 66px);
  height: auto;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 113, 82, 0.18);
  border-radius: 50%;
  opacity: 0.86;
  filter: saturate(1.12) contrast(1.06);
  box-shadow:
    0 0 0 3px rgba(83, 160, 110, 0.08),
    0 12px 30px rgba(17, 61, 42, 0.14);
  object-fit: cover;
  pointer-events: none;
}

.functional-main > section:first-of-type:not(.hero) > .section-seal {
  top: 92px;
}

.welcome-section {
  padding-top: 22px;
}

.welcome-invitation {
  display: flex;
  gap: 17px;
  align-items: center;
  width: 100%;
  margin: 0 0 clamp(44px, 6vw, 72px);
  padding: 16px clamp(20px, 3.6vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 0%, rgba(144, 231, 170, 0.15), transparent 31%),
    linear-gradient(135deg, #103b28, #1d6240);
  color: #fff;
  box-shadow: 0 20px 48px rgba(15, 59, 39, 0.16);
}

.welcome-invitation img {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.welcome-invitation p {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  align-items: baseline;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-heading);
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.welcome-invitation strong {
  color: #fff;
  font-size: clamp(1.28rem, 2.2vw, 1.7rem);
  letter-spacing: 0.02em;
}

.welcome-layout > div:first-child h2,
.forever-story-layout .section-lead h2 {
  max-width: 10.8em;
  font-size: clamp(2.45rem, 4.8vw, 3.6rem);
  line-height: 0.99;
  letter-spacing: -0.035em;
}

.site-footer .social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 440px);
  gap: 9px;
}

.site-footer .social-link {
  width: 100%;
  min-width: 0;
}

@media (max-width: 620px) {
  .forever-story-layout .section-lead h2 {
    font-size: 2.05rem;
    line-height: 1.04;
  }
}

/* Keep the real WMA identity visible even when the base stylesheet is cached. */
.brand-mark {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 1px solid rgba(62, 139, 91, 0.34);
  border-radius: 50%;
  background: #eef8f0 url("./assets/brand/wma-section-seal.webp") center / cover no-repeat;
  box-shadow:
    0 0 0 3px rgba(90, 173, 121, 0.09),
    0 8px 22px rgba(22, 78, 49, 0.18);
  color: transparent;
  font-size: 0;
  filter: saturate(1.12) contrast(1.06);
}

@media (max-width: 620px) {
  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand span:last-child {
    max-width: 150px;
  }
}

/* Calm hierarchy for Forever and a green card language. */
.forever-story-layout .section-lead h2 {
  max-width: 13em;
  font-size: clamp(2.15rem, 3.45vw, 2.55rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.action-card .eyebrow {
  color: #1c6b47;
}

#wege .action-card:nth-child(1) {
  border-color: rgba(48, 133, 82, 0.2);
  background: linear-gradient(145deg, #fbfefb, #edf7ef);
}

#wege .action-card:nth-child(2) {
  border-color: rgba(39, 119, 74, 0.22);
  background: linear-gradient(145deg, #f7fcf8, #e6f3eb);
}

#wege .action-card:nth-child(3) {
  border-color: rgba(28, 102, 62, 0.24);
  background: linear-gradient(145deg, #f3faf5, #dfeee5);
}

@media (max-width: 620px) {
  .forever-story-layout .section-lead h2 {
    font-size: 2.05rem;
    line-height: 1.04;
  }
}

@media (max-width: 620px) {
  .section-seal {
    top: 18px;
    right: 4px;
    width: 46px;
    opacity: 0.82;
  }

  .welcome-section {
    padding-top: 14px;
  }

  .welcome-invitation {
    gap: 13px;
    margin-bottom: 36px;
    padding: 13px 15px;
    border-radius: 19px;
  }

  .welcome-invitation img {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .welcome-invitation p {
    display: grid;
    gap: 1px;
    font-size: 0.82rem;
  }

  .welcome-invitation strong {
    font-size: 1.08rem;
  }

  .welcome-layout > div:first-child h2,
  .forever-story-layout .section-lead h2 {
    font-size: 2.28rem;
    line-height: 1;
  }

  .site-footer .social-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .social-link {
    padding-inline: 8px;
  }

  .site-footer .social-link-copy strong {
    font-size: 0.88rem;
  }
}

/* Premium platform layer */
.welcome-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid rgba(32, 143, 91, 0.18);
}

.welcome-points li {
  position: relative;
  flex: 1 1 190px;
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.welcome-points li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-600);
  box-shadow: 0 0 0 5px rgba(32, 143, 91, 0.1);
}

.editorial-section {
  overflow: hidden;
  padding: clamp(58px, 8vw, 94px) clamp(24px, 5vw, 68px);
  border: 1px solid rgba(32, 143, 91, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(144, 231, 170, 0.2), transparent 31%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 250, 241, 0.92));
  box-shadow: 0 24px 70px rgba(20, 72, 46, 0.08);
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}

.editorial-intro .button-row {
  margin-top: 28px;
}

.editorial-list {
  counter-reset: article;
  border-top: 1px solid rgba(20, 72, 46, 0.18);
}

.editorial-list a {
  counter-increment: article;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(20, 72, 46, 0.18);
  color: var(--sage-900);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.editorial-list a::before {
  content: "0" counter(article);
  color: var(--terracotta);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.editorial-list a::after {
  content: "\2197";
  font-size: 1.1rem;
}

.editorial-list a:hover,
.editorial-list a:focus-visible {
  color: var(--sage-600);
  transform: translateX(4px);
}

.editorial-list strong {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.editorial-page-hero {
  padding-bottom: 38px;
}

.editorial-page-hero .lede {
  max-width: 760px;
}

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

.editorial-article + .editorial-article {
  border-top: 1px solid rgba(20, 72, 46, 0.16);
}

.editorial-article .content-block {
  padding-left: clamp(24px, 5vw, 54px);
  border-left-width: 3px;
}

.connect-section {
  overflow: hidden;
  padding: clamp(48px, 7vw, 78px) clamp(24px, 5vw, 64px);
  border: 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 10%, rgba(144, 231, 170, 0.22), transparent 32%),
    linear-gradient(135deg, #123c29 0%, #1b5b3b 58%, #24744b 100%);
  color: #fff;
  box-shadow: 0 28px 72px rgba(14, 59, 38, 0.2);
}

.connect-section .eyebrow,
.connect-section h2,
.connect-section .lede {
  color: #fff;
}

.connect-section .lede {
  opacity: 0.84;
}

.connect-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.social-links-premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.social-link {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
}

.social-link-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
}

.social-link-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link-icon svg rect,
.social-link-icon svg circle:not(.fill) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link-icon svg .fill {
  fill: currentColor;
  stroke: none;
}

.social-link-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.social-link-copy strong {
  color: #fff;
}

.social-link-copy small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "brand nav"
    "brand social"
    "note note";
  gap: 28px 54px;
  width: min(100% - 40px, 1180px);
  margin: 28px auto 34px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: #103524;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 26px 68px rgba(11, 52, 32, 0.18);
}

.site-footer > div:first-child {
  grid-area: brand;
}

.site-footer .footer-links {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 9px 11px;
}

.site-footer .social-links {
  grid-area: social;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.site-footer .social-link {
  min-height: 44px;
  padding: 7px 10px;
}

.site-footer .social-link-icon {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.site-footer .social-link-icon svg {
  width: 17px;
  height: 17px;
}

.site-footer .social-link-copy small {
  display: none;
}

.site-footer > p:last-child {
  grid-area: note;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.site-footer strong,
.site-footer a {
  color: #fff;
}

.site-footer > div:first-child a {
  overflow-wrap: anywhere;
}

.site-footer .footer-links a,
.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible,
.site-footer .social-links a:hover,
.site-footer .social-links a:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .editorial-layout,
  .connect-layout {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav"
      "social"
      "note";
  }
}

@media (max-width: 620px) {
  .welcome-points {
    display: grid;
    gap: 9px;
    padding-top: 14px;
  }

  .welcome-points li {
    font-size: 0.91rem;
  }

  .editorial-section,
  .connect-section {
    width: min(100% - 28px, 1180px);
    padding: 42px 22px;
    border-radius: 26px;
  }

  .editorial-list a {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 18px 0;
  }

  .social-links-premium {
    grid-template-columns: 1fr;
  }

  .social-link {
    min-height: 66px;
  }

  .site-footer {
    width: min(100% - 24px, 1180px);
    margin-bottom: 20px;
    padding: 30px 22px;
    border-radius: 24px;
  }
}

/* Keep the compact footer channels in an intentional 2 × 2 grid. */
.site-footer .social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 440px);
  gap: 9px;
}

.site-footer .social-link {
  width: 100%;
  min-width: 0;
}

@media (max-width: 620px) {
  .forever-story-layout .section-lead h2 {
    font-size: 2.05rem;
    line-height: 1.04;
  }
}
