/* Sandher 2.3 — shared editorial hierarchy. Fonts are served locally. */
@font-face {
  font-family: "Sandher Newsreader";
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Sandher Newsreader";
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Sandher Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --font-display: "Sandher Newsreader", Georgia, serif;
  --font-sans: "Sandher Manrope", system-ui, sans-serif;
  --motion-ease: cubic-bezier(.22,.61,.36,1);
  --motion-soft: 600ms;
  --motion-slow: 900ms;
  --color-clay: #956b4e;
}
body { font-size: 16px; font-optical-sizing: auto; }
h1, h2, h3, h4 { font-weight: 400; }
.botanical-label { font-size: .65rem; letter-spacing: .18em; font-weight: 700; line-height: 1.6; }
.primary-navigation > ul > li > a { font-size: .86rem; font-weight: 600; }

/* A single opacity entrance, without a fullscreen veil or blocked navigation. */
.has-sandher-motion.is-ready.has-entered:not(.is-restored) > .site-main {
  animation: sandher-editorial-arrival .85s var(--motion-ease) both;
}
@keyframes sandher-editorial-arrival { from { opacity: .3; } to { opacity: 1; } }
.has-sandher-motion.is-ready [data-reveal] {
  transform: translate3d(0,6px,0);
  transition: opacity .7s var(--motion-ease),transform .85s var(--motion-ease);
  transition-delay: calc(var(--reveal-order,0) * 45ms);
}
.has-sandher-motion.is-ready [data-reveal].is-visible { transform: none; }
.has-sandher-motion.is-ready [data-reveal].is-initial { transition: none; }

/* The opening forms one compact composition, above both presentation modes. */
.botanical-portal { gap: 0; padding-bottom: 1.5rem; }
.botanical-portal .portal-heading,
.botanical-portal.home-desktop-align--center .portal-heading {
  gap: 1rem;
  padding-block: clamp(1.3rem,3vh,2.2rem) 1.5rem;
}
.portal-heading > .portal-heading__panel,
.home-gateway__brand {
  min-height: 0;
  gap: .7rem;
  padding: 1.15rem clamp(1.1rem,3vw,2.75rem);
  border: 1px solid rgba(49,91,67,.16);
  border-radius: 18px;
  background: rgba(255,253,248,.3);
  box-shadow: 0 8px 30px rgba(32,61,46,.025);
}
.portal-heading__panel::before,
.portal-heading__panel::after { content: none; }
.botanical-portal.home-desktop-align--center .portal-heading__panel { width: min(100%,44rem); }
.portal-heading .botanical-label { margin: 0; }
.portal-heading h1 { margin: 0; font-size: clamp(2.8rem,5vw,4.6rem); line-height: 1.06; letter-spacing: -.035em; }
.botanical-portal .portal-heading h1.portal-heading__brand { min-height: 0; }
.botanical-portal .portal-heading__logo,
.home-gateway__logo { width: clamp(15rem,22vw,20rem); max-height: 5rem; }
.portal-heading__motto,
.home-gateway__tagline {
  gap: .08em .25em;
  font-size: clamp(1.3rem,1.8vw,1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.012em;
  color: var(--color-forest-dark);
}
.portal-heading__motto em,
.home-gateway__tagline em { font-size: 1em; font-weight: 400; color: var(--color-clay); }
.portal-introduction { font-size: .94rem; line-height: 1.7; }
.home-gateway { min-height: 0; }
.home-gateway__inner {
  width: min(calc(100% - 48px),var(--shell));
  min-height: 0;
  grid-template-rows: auto auto;
  gap: 1.7rem;
  padding-block: clamp(1.3rem,3vh,2.2rem) 1.5rem;
}
.home-gateway__masthead { min-height: 0; }
.home-gateway__brand { margin: 0; width: min(100%,44rem); }
.home-gateway__badge { box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home-gateway__name-line { max-width: 4rem; }

/* Photograph-led cards. Side cards remain fully legible and close in scale. */
.botanical-portal > .sandher-category-showcase {
  width: min(calc(100% - 48px),var(--shell));
  margin-inline: auto;
}
.home-gateway .sandher-category-showcase--carousel,
.botanical-portal .sandher-category-showcase--carousel { height: auto; gap: .5rem; }
.home-gateway .sandher-category-showcase--carousel .category-carousel__stage,
.botanical-portal .sandher-category-showcase--carousel .category-carousel__stage {
  height: clamp(17rem,calc(100svh - 23rem),28rem);
  width: 100%;
  padding: 0;
  margin: 0;
}
.sandher-category-showcase--carousel .category-carousel__card {
  width: 34%;
  border-radius: 20px;
  opacity: 1;
  border: 1px solid rgba(255,253,248,.4);
  box-shadow: none;
  transition: transform .95s var(--motion-ease),opacity .65s ease;
}
.sandher-category-showcase--carousel .category-carousel__card.is-prev,
.sandher-category-showcase--carousel .category-carousel__card.is-prev:hover,
.sandher-category-showcase--carousel .category-carousel__card.is-prev:focus-visible {
  opacity: 1;
  transform: translate3d(-153%,0,0) scale(.92);
}
.sandher-category-showcase--carousel .category-carousel__card.is-next,
.sandher-category-showcase--carousel .category-carousel__card.is-next:hover,
.sandher-category-showcase--carousel .category-carousel__card.is-next:focus-visible {
  opacity: 1;
  transform: translate3d(53%,0,0) scale(.92);
}
.sandher-category-showcase--carousel .category-carousel__card.is-wrapping {
  opacity: 0;
  transition: none;
  z-index: 0;
}
.sandher-category-showcase .portal-photo,
.sandher-category-showcase .home-gateway__choice-photo { filter: saturate(.88); }
.sandher-category-showcase .portal-wash,
.sandher-category-showcase .home-gateway__choice-wash {
  background: linear-gradient(180deg,rgba(15,32,22,.02) 28%,rgba(15,32,22,.22) 54%,rgba(15,32,22,.85) 100%);
}
.sandher-category-showcase .portal-copy,
.sandher-category-showcase .home-gateway__choice-copy {
  left: clamp(1.15rem,2.2vw,2rem);
  right: clamp(1.15rem,2.2vw,2rem);
  bottom: clamp(1.15rem,2.2vw,2rem);
  display: block;
  opacity: 1;
}
.sandher-category-showcase .portal-copy strong,
.sandher-category-showcase .home-gateway__choice-copy strong,
.sandher-category-showcase--carousel .category-carousel__card:not(.is-active) .portal-copy strong,
.sandher-category-showcase--carousel .category-carousel__card:not(.is-active) .home-gateway__choice-copy strong {
  display: block;
  max-width: 11ch;
  font-size: clamp(1.95rem,3vw,2.85rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.03;
  color: #fffdf8;
}
.sandher-category-showcase .portal-copy small,
.sandher-category-showcase .home-gateway__choice-copy small { max-width: 100%; font-size: .73rem; line-height: 1.5; margin-block: .6rem; }
.sandher-category-showcase .portal-copy i,
.sandher-category-showcase .home-gateway__choice-copy i { position: static; width: 100%; font-size: .95rem; margin-top: .85rem; padding-top: .7rem; line-height: 1.2; }
.sandher-category-showcase--carousel .category-carousel__card:not(.is-active) :is(.portal-copy,.home-gateway__choice-copy) { opacity: 1; }
.sandher-category-showcase--carousel .category-carousel__card:not(.is-active) :is(.portal-copy,.home-gateway__choice-copy) :is(small,i),
.sandher-category-showcase--carousel .category-carousel__card:not(.is-active) :is(.portal-icon,.home-gateway__choice-icon) { opacity: 1; transform: none; }
.sandher-category-showcase :is(.portal-icon,.home-gateway__choice-icon) { width: 1.7rem; height: 1.7rem; margin-bottom: .75rem; }
.sandher-category-showcase :is(.portal-number,.home-gateway__choice-number) {
  top: 1.2rem; left: 1.2rem; width: 2.25rem; height: 2.25rem; min-width: 0;
  padding: 0; font-size: .65rem; background: rgba(24,46,32,.22); backdrop-filter: none;
}
.sandher-category-showcase--grid :is(.portal-entrance,.home-gateway__choice) { border-radius: 20px; }
.sandher-category-showcase--grid .portal-entrances { width: 100%; }
.sandher-category-showcase--grid .portal-entrances--soft .portal-entrance { min-height: clamp(18rem,calc(100svh - 24rem),28rem); }

/* Named selectors on every device; automatic rotation keeps its saved interval. */
.category-carousel__controls { gap: .6rem; min-height: 3.5rem; }
.category-carousel__dots { gap: .25rem; }
.category-carousel__dots button { width: auto; min-width: 0; min-height: 44px; height: auto; padding: .5rem .9rem; border-radius: 0; }
.category-carousel__dots button > span:first-child { display: none; }
.category-carousel__dots button .category-carousel__label,
.category-carousel__dots button[aria-pressed="true"] .category-carousel__label {
  display: block; width: auto; height: auto; border-radius: 0; background: none;
  padding-block: .35rem; border-bottom: 1px solid transparent;
  color: var(--color-muted); font-size: .74rem; font-weight: 500; line-height: 1.35;
  transition: color .3s ease,border-color .3s ease;
}
.category-carousel__dots button[aria-pressed="true"] .category-carousel__label { color: var(--color-forest-dark); border-color: var(--color-earth); }
.category-carousel__button,
.category-carousel__pause {
  flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px;
  padding: 0; border: 1px solid rgba(49,91,67,.18); border-radius: 50%;
  background: transparent; color: var(--color-forest); box-shadow: none; cursor: pointer;
}
.category-carousel__pause[hidden] { display: none; }
.category-carousel__pause > span { width: 9px; height: 11px; border-inline: 2px solid currentColor; }
.category-carousel__pause[aria-pressed="true"] > span { width: 0; height: 0; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }
.category-carousel__controls button:focus-visible { outline: 2px solid var(--color-forest); outline-offset: 3px; }

/* Catalogue is a utility band, not another framed hero. Saved copy is retained. */
.home-catalog-export { padding-block: 1.5rem; }
.home-catalog-export__inner { gap: 1.5rem; }
.home-catalog-export__copy h2 { font-size: clamp(1.65rem,2.4vw,2.2rem); font-weight: 400; letter-spacing: -.025em; }
.home-catalog-export__copy > p:last-child { font-size: .83rem; max-width: 54ch; }
.home-catalog-export .home-catalog-export__downloads {
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  min-width: 0; width: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: .75rem;
}
.home-catalog-export .catalog-downloads__icon { width: 1.5rem; height: 1.5rem; }
.home-catalog-export .catalog-downloads__links { display: flex; gap: .6rem; width: auto; }
.home-catalog-export .catalog-downloads__links a { min-width: 7rem; min-height: 44px; border-radius: 8px; font-size: .8rem; padding: .7rem 1rem; }

/* Lower sections share the same modest typographic scale and timeline rhythm. */
.home-horizontal-editorial { padding-block: clamp(2.5rem,4vw,3.6rem); }
.home-horizontal-editorial__heading h2 { max-width: none; font-size: clamp(2rem,3vw,3rem); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.home-horizontal-editorial__intro { font-size: .9rem; line-height: 1.65; }
.home-horizontal-editorial__controls button { width: 44px; height: 44px; }
.home-horizontal-editorial__controls { grid-template-columns: 44px auto 44px; }
.home-horizontal-editorial.is-static .home-horizontal-editorial__controls { visibility: hidden; }
.home-horizontal-slide--workflow-step h3 { font-weight: 400; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.02em; }
.home-horizontal-slide--story-copy > p { font-size: 1.4rem; line-height: 1.4; }
.home-horizontal-editorial.is-enhanced .home-horizontal-slide { opacity: 1; }
.home-horizontal-slide__text { font-size: .88rem; line-height: 1.65; }
.home-manifesto { padding-block: clamp(3rem,6vw,5rem); }
.home-manifesto .manifesto-layout h2 { font-size: clamp(2.1rem,4vw,4rem); line-height: 1.07; }

@media (min-width: 761px) {
  body:not(.sandher-home-no-header) .botanical-portal .sandher-category-showcase--carousel .category-carousel__stage {
    height: clamp(17rem,calc(100svh - 20rem - var(--sandher-header-height-desktop,74px)),28rem);
  }
}
@media (max-width: 1024px) {
  .primary-navigation { transition: opacity .4s ease,transform .55s var(--motion-ease),visibility 0s linear .55s; }
  .primary-navigation .sub-menu { transition: max-height .6s var(--motion-ease),padding .5s ease,opacity .4s ease,transform .5s ease,visibility 0s linear .6s; }
}
@media (max-width: 760px) {
  .botanical-portal > .sandher-category-showcase { width: 100%; }
  .botanical-portal > .sandher-category-showcase--grid { width: calc(100% - 36px); }
  .botanical-portal .portal-heading,
  .botanical-portal.home-desktop-align--center .portal-heading { width: calc(100% - 36px); padding-block: 1.5rem; }
  .portal-heading > .portal-heading__panel,
  .home-gateway__brand { padding: 1.2rem .9rem; border-radius: 16px; gap: .65rem; }
  .botanical-portal .portal-heading__logo,
  .home-gateway__logo { width: min(68vw,18rem); max-height: 4.5rem; }
  .botanical-portal .portal-heading__motto,
  .home-gateway__tagline { font-size: clamp(1.25rem,5.3vw,1.6rem); line-height: 1.25; }
  .home-gateway__inner { width: calc(100% - 36px); padding-block: 1.5rem; gap: 1.5rem; }
  .home-gateway__name-lockup { gap: .5rem; }
  .home-gateway__badge {
    position: absolute; top: auto; right: .8rem; bottom: -.8rem; transform: none;
    display: flex; align-items: center; gap: .35rem; width: auto; height: 1.7rem; min-height: 0;
    margin: 0; padding: .2rem .65rem; aspect-ratio: auto; border-radius: 999px; background: var(--color-ivory);
  }
  .home-gateway__badge strong { font-size: 1.1rem; }
  .home-gateway__badge span { max-width: none; white-space: nowrap; font-size: .5rem; letter-spacing: .08em; }
  .home-gateway .sandher-category-showcase--carousel .category-carousel__stage { width: calc(100% + 36px); margin-left: -18px; }
  .home-gateway .sandher-category-showcase--carousel .category-carousel__stage,
  .botanical-portal .sandher-category-showcase--carousel .category-carousel__stage { height: clamp(18rem,82vw,26rem); }
  .sandher-category-showcase--carousel .category-carousel__card { width: 82%; border-radius: 18px; }
  .sandher-category-showcase--carousel .category-carousel__card.is-prev,
  .sandher-category-showcase--carousel .category-carousel__card.is-prev:hover,
  .sandher-category-showcase--carousel .category-carousel__card.is-prev:focus-visible { transform: translate3d(-153%,0,0) scale(.94); }
  .sandher-category-showcase--carousel .category-carousel__card.is-next,
  .sandher-category-showcase--carousel .category-carousel__card.is-next:hover,
  .sandher-category-showcase--carousel .category-carousel__card.is-next:focus-visible { transform: translate3d(53%,0,0) scale(.94); }
  .sandher-category-showcase .portal-copy strong,
  .sandher-category-showcase .home-gateway__choice-copy strong { font-size: clamp(2.05rem,8.6vw,2.75rem); }
  .category-carousel__controls { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: .1rem .3rem; padding: .6rem 18px 0; }
  .sandher-category-showcase--carousel.is-enhanced .category-carousel__controls { display: grid; }
  .home-gateway .category-carousel__controls { padding-inline: 0; }
  .category-carousel__dots { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: .2rem; }
  .category-carousel__dots button { padding: .3rem .2rem; }
  .category-carousel__dots button .category-carousel__label { font-size: .7rem; }
  .category-carousel__button--previous { grid-column: 1; grid-row: 2; }
  .category-carousel__button--next { grid-column: 3; grid-row: 2; }
  .category-carousel__pause { grid-column: 2; grid-row: 2; justify-self: center; }
  .home-catalog-export__inner { width: calc(100% - 40px); gap: 1.1rem; }
  .home-catalog-export__copy { text-align: left; }
  .home-catalog-export__copy > p:last-child { margin-left: 0; }
  .home-catalog-export .home-catalog-export__downloads { justify-content: flex-start; }
  .home-catalog-export .catalog-downloads__links { flex: 1; }
  .home-catalog-export .catalog-downloads__links a { flex: 1; min-width: 0; }
  .home-horizontal-editorial__header { grid-template-columns: 1fr; gap: .8rem; }
  .home-horizontal-editorial__heading h2 { font-size: 2.15rem; }
  .home-horizontal-editorial__intro { grid-row: auto; font-size: .9rem; }
  .home-horizontal-editorial__controls { grid-row: auto; grid-column: 1; justify-self: start; }
  .home-horizontal-slide__text { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .has-sandher-motion.is-ready.has-entered > .site-main { animation: none; }
  .has-sandher-motion.is-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sandher-category-showcase--carousel .category-carousel__card { transition: none; }
}
