/* English locale home (public/en/index.html) — new homepage layout.
   ES/FR keep the classic landing.css until those locales have more content.
   Scoped under .landing-home so content-header / base.css stay untouched. */

.landing-home {
  --landing-ink: #143b38;
  --landing-cream: #f5f0e6;
  --landing-paper: #faf7f0;
  --landing-sand: #ebe2d2;
  --landing-blue: #a8bbc2;
  --landing-gold: #b8954f;
  --landing-gold-soft: #cbb37a;
  --landing-accent: #a67c2d;
  --landing-muted: rgba(20, 59, 56, 0.78);
  --landing-line: rgba(20, 59, 56, 0.22);
  --landing-radius: 12px;
  /* Same fade as deployed locale landings */
  --hero-spread: clamp(0, (100vw - 900px) / 250px, 1);

  color: var(--landing-ink);
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.75), transparent 32rem),
    var(--paper);
}

.landing-home a {
  color: inherit;
}

.landing-home .shell {
  width: 100%;
  box-sizing: border-box;
  padding-inline: clamp(20px, 4vw, 40px);
}

.landing-home .landing-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-home .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.landing-home .button-solid {
  width: max-content;
  color: var(--landing-ink);
  background: var(--landing-gold);
  border: 1px solid var(--landing-gold);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}

.landing-home .button-solid:hover {
  background: var(--landing-accent);
  border-color: var(--landing-accent);
  color: var(--paper);
}

.landing-home .button-solid .landing-svg {
  width: 19px;
  height: 19px;
}

.landing-home .button-small {
  min-height: 38px;
  margin-top: 18px;
  padding: 0 14px;
  gap: 28px;
  border: 1px solid var(--landing-gold-soft);
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.35);
}

.landing-home .button-accent {
  color: var(--landing-ink);
  background: var(--landing-gold);
  border-color: var(--landing-gold);
  font-weight: 600;
}

.landing-home .button-accent:hover {
  background: var(--landing-accent);
  border-color: var(--landing-accent);
  color: var(--paper);
}

/* Hero — bubble composition matches deployed /en/ (main landing.css) */

.landing-home .hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(520px, calc(100vw - 280px), 800px);
  padding-block: clamp(48px, 5vw, 72px);
  overflow: hidden;
}

.landing-home .hero-copy {
  position: relative;
  z-index: 5;
  width: min(100%, 520px);
}

.landing-home .hero h1 {
  margin: 0;
  font-size: clamp(4.275rem, 8.55vw, 9.025rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.landing-home .rule,
.landing-home .mini-rule {
  height: 3px;
  background: var(--sand);
}

.landing-home .rule {
  width: 48px;
  height: 4px;
  margin: 40px 0 24px;
  background: var(--sand);
}

.landing-home .hero-tagline {
  margin: 0 0 32px;
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.landing-home .eyebrow,
.landing-home .kicker {
  color: var(--landing-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-home .updates {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.landing-home .updates h2 {
  margin: 0 0 2px;
}

.landing-home .update-item {
  width: max-content;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.landing-home .update-item:hover strong {
  text-decoration: underline;
}

.landing-home .update-icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.landing-home .update-icon .fill {
  fill: currentColor;
  stroke: none;
}

.landing-home .update-item strong,
.landing-home .update-item small {
  display: block;
  font-weight: 400;
}

.landing-home .update-item strong {
  font-size: 15px;
}

.landing-home .update-item small {
  margin-top: 1px;
  color: var(--landing-muted);
  font-size: 12px;
}

.landing-home .update-item--all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin-top: 4px;
  margin-left: 60px;
  padding: 4px 0;
  color: var(--landing-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.landing-home .update-item--all:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.landing-home .bubble {
  position: absolute;
  z-index: 4;
  border-radius: 50%;
  opacity: var(--hero-spread);
  transform: scale(calc(0.86 + 0.14 * var(--hero-spread)));
  pointer-events: none;
}

.landing-home .bubble::after {
  content: "";
  position: absolute;
}

.landing-home .bubble--dark {
  width: 265px;
  height: 265px;
  top: calc(50% - 332px);
  left: 65%;
  background: var(--ink);
  transform-origin: 50% 50%;
}

.landing-home .bubble--dark::after {
  right: -4px;
  bottom: 9px;
  width: 78px;
  height: 90px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 100%, 15% 72%);
}

.landing-home .bubble--cream {
  width: 270px;
  height: 270px;
  top: calc(50% - 148px);
  left: calc(58% - 10px);
  background: var(--paper-deep);
  z-index: 5;
}

.landing-home .bubble--cream::after {
  left: -23px;
  bottom: -18px;
  width: 75px;
  height: 96px;
  background: var(--paper-deep);
  clip-path: polygon(100% 0, 57% 100%, 0 84%);
}

.landing-home .bubble--blue {
  width: 245px;
  height: 245px;
  top: calc(50% + 63px);
  left: 64%;
  background: var(--blue);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 6;
}

.landing-home .bubble--blue::after {
  left: 10px;
  bottom: -24px;
  width: 78px;
  height: 90px;
  background: var(--blue);
  clip-path: polygon(100% 0, 55% 100%, 0 85%);
}

.landing-home .line {
  position: absolute;
  left: 55px;
  height: 3px;
  background: var(--line-mid);
}

.landing-home .line--one { width: 125px; top: 105px; }
.landing-home .line--two { width: 100px; top: 127px; }
.landing-home .line--three { width: 125px; top: 149px; }

.landing-home .line--dark {
  left: auto;
  right: 48px;
  height: 8px;
  background: var(--line-on-dark);
}

.landing-home .line--dark-a {
  top: 96px;
  width: 95px;
}

.landing-home .line--dark-b {
  top: 116px;
  width: 145px;
}

.landing-home .line--dark-c {
  top: 136px;
  width: 118px;
}

.landing-home .dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
}

/* Feature (nav) + weekly (content) grids — visually distinct */

.landing-home .section {
  padding-block: 26px 24px;
}

.landing-home .section--nav {
  padding-top: 36px;
  padding-bottom: 28px;
  margin-top: 12px;
  border-top: 1px solid var(--landing-line);
}

.landing-home .section-label {
  margin: 0 0 14px 8px;
}

.landing-home .feature-grid,
.landing-home .weekly-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.landing-home .feature-card {
  min-height: 350px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(20, 59, 56, 0.08);
  border-radius: var(--landing-radius);
  text-decoration: none;
}

/* Mid-page cards = quieter wayfinding, not content destination */
.landing-home .feature-card--nav {
  min-height: 0;
  padding: 22px 24px 20px;
  border-style: dashed;
  border-color: rgba(20, 59, 56, 0.16);
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.landing-home .feature-card--nav.card-cream,
.landing-home .feature-card--nav.card-blue,
.landing-home .feature-card--nav.card-sand {
  background: rgba(255, 255, 255, 0.28);
}

.landing-home .feature-card--nav:not(.feature-card--soon):hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(20, 59, 56, 0.28);
  border-style: solid;
  transform: translateY(-2px);
}

.landing-home .feature-card--soon {
  cursor: default;
}

.landing-home .feature-card--nav .line-icon {
  width: 40px;
  height: 40px;
  padding: 6px;
  border-color: var(--landing-muted);
  opacity: 0.9;
}

.landing-home .feature-card--nav h2,
.landing-home .feature-card--nav h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.landing-home .feature-card--nav .mini-rule {
  margin-bottom: 10px;
}

.landing-home .feature-card--nav p {
  max-width: 32ch;
  color: var(--landing-muted);
  font-size: 14px;
  line-height: 1.45;
}

.landing-home .feature-card--nav .text-link {
  padding-top: 16px;
  gap: 16px;
  color: var(--landing-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.landing-home .text-link--soon {
  color: var(--landing-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.landing-home .card-cream { background: rgba(236, 232, 219, 0.8); }
.landing-home .card-blue { background: rgba(194, 207, 211, 0.68); }
.landing-home .card-sand { background: rgba(239, 230, 215, 0.78); }

.landing-home .line-icon {
  width: 56px;
  height: 56px;
  padding: 8px;
  border: 1px solid var(--landing-ink);
  border-radius: 6px;
}

.landing-home .feature-card h2 {
  margin: 22px 0 12px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.landing-home .mini-rule {
  width: 25px;
  margin-bottom: 18px;
  height: 2px;
}

.landing-home .feature-card p {
  margin: 0;
  max-width: 27ch;
  font-size: 15px;
}

.landing-home .text-link {
  width: max-content;
  margin-top: auto;
  padding-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-size: 15px;
  text-underline-offset: 5px;
}

.landing-home .text-link span {
  font-size: 26px;
}

.landing-home .feature-card--nav .text-link span {
  font-size: 18px;
}

.landing-home .featured-section {
  padding-top: 28px;
  padding-bottom: 24px;
}

.landing-home .section-heading {
  margin: 0 0 20px 8px;
}

.landing-home .weekly-card {
  min-height: 200px;
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 18px;
  border: 1px solid rgba(20, 59, 56, 0.12);
  border-radius: var(--landing-radius);
  box-shadow: 0 10px 28px rgba(20, 59, 56, 0.06);
}

.landing-home .weekly-card--lead {
  border-color: rgba(166, 124, 45, 0.45);
  box-shadow: 0 14px 36px rgba(20, 59, 56, 0.1);
  background: rgba(239, 230, 215, 0.95);
}

.landing-home .weekly-card--lead h3 {
  font-size: 28px;
}

.landing-home .weekly-card--quiet {
  opacity: 0.92;
  box-shadow: none;
}

.landing-home .kicker {
  color: var(--landing-accent);
  font-size: 10px;
}

.landing-home .weekly-card h3 {
  margin: 8px 0 0;
  font-size: 23px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.landing-home .weekly-card p {
  margin: 4px 0 0;
  color: var(--landing-muted);
}

.landing-home .motif {
  width: 82px;
  height: 82px;
  align-self: center;
  padding: 18px;
  color: var(--landing-ink);
  border-radius: 50%;
  background: rgba(207, 190, 151, 0.33);
}

.landing-home .card-blue .motif {
  background: rgba(66, 101, 112, 0.14);
}

.landing-home .motif .fill {
  fill: currentColor;
  stroke: none;
}

/* Footer (landing-specific; not site-footer from base.css) */

.landing-home .landing-footer {
  margin-top: 0;
  color: var(--paper);
  background: var(--landing-ink);
}

.landing-home .footer-main {
  min-height: 184px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.landing-home .footer-about {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 28px;
}

.landing-home .footer-mark {
  width: 72px;
  height: 72px;
  padding: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.landing-home .footer-about p {
  margin: 0;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.7;
}

.landing-home .footer-aside {
  margin: 0;
  padding-left: 48px;
  border-left: 2px solid var(--landing-gold);
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.7;
}

.landing-home .footer-bar {
  color: var(--landing-ink);
  background: #c3a35e;
}

.landing-home .footer-bar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landing-home .footer-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.landing-home .footer-links a {
  font-size: 14px;
  text-decoration: none;
}

.landing-home .footer-lang {
  position: relative;
}

.landing-home .footer-lang > summary {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.landing-home .footer-lang > summary::-webkit-details-marker {
  display: none;
}

.landing-home .footer-lang-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 140px;
  padding: 8px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(20, 59, 56, 0.18);
}

.landing-home .footer-lang-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
}

.landing-home .footer-lang-menu a:hover,
.landing-home .footer-lang-menu a[aria-current] {
  background: rgba(20, 59, 56, 0.08);
}

.landing-home .footer-bar p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 920px) {
  .landing-home .bubble {
    visibility: hidden;
  }

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

  .landing-home .feature-grid,
  .landing-home .weekly-grid {
    grid-template-columns: 1fr;
  }

  .landing-home .feature-card {
    min-height: 290px;
  }

  .landing-home .feature-card--nav {
    min-height: 0;
  }

  .landing-home .update-item--all {
    margin-left: 0;
  }

  .landing-home .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px;
  }

  .landing-home .footer-aside {
    padding-left: 32px;
  }
}

@media (max-width: 600px) {
  .landing-home .hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .landing-home .hero-tagline {
    font-size: 1.5rem;
  }

  .landing-home .hero-tagline br {
    display: none;
  }

  .landing-home .feature-card,
  .landing-home .weekly-card {
    padding: 26px;
  }

  .landing-home .weekly-card {
    grid-template-columns: 1fr 72px;
  }

  .landing-home .footer-about {
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }

  .landing-home .footer-mark {
    width: 58px;
    height: 58px;
    padding: 11px;
  }

  .landing-home .footer-bar-inner {
    min-height: 104px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .landing-home .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-home .bubble--dark {
    animation: landing-bubble-drift 14s ease-in-out infinite;
  }

  .landing-home .bubble--cream {
    animation: landing-bubble-drift 16s ease-in-out infinite reverse;
    animation-delay: -3s;
  }

  .landing-home .bubble--blue {
    animation: landing-bubble-drift 18s ease-in-out infinite;
    animation-delay: -6s;
  }
}

@keyframes landing-bubble-drift {
  0%,
  100% {
    transform: scale(calc(0.86 + 0.14 * var(--hero-spread))) translateY(0);
  }

  50% {
    transform: scale(calc(0.86 + 0.14 * var(--hero-spread))) translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-home .button,
  .landing-home .feature-card--nav {
    transition: none;
  }

  .landing-home .bubble--dark,
  .landing-home .bubble--cream,
  .landing-home .bubble--blue {
    animation: none;
  }
}
