/* ==========================================================================
   MITO GREEN — Components
   Composed sections built on the design-system tokens in main.css
   ========================================================================== */

/* ----- HERO (home) ------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(17, 27, 22, 0.5) 0%,
      rgba(17, 27, 22, 0.1) 32%,
      rgba(17, 27, 22, 0.35) 68%,
      rgba(17, 27, 22, 0.82) 100%
    ),
    linear-gradient(90deg, rgba(17, 27, 22, 0.55) 0%, transparent 60%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: calc(var(--header-h) + 3rem);
}
.hero__eyebrow {
  color: var(--sprout);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 16ch;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--sprout);
}
.hero__sub {
  margin-top: 1.8rem;
  max-width: 46ch;
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero__meta {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hero__meta-val {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
}
.hero__meta-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 7vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  writing-mode: vertical-rl;
}
.scroll-cue__line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sprout);
  transform: translateY(-100%);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

/* ----- PAGE HERO (interior) --------------------------------------------- */
.page-hero {
  position: relative;
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(4rem, 9vw, 8rem));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(17, 27, 22, 0.62) 0%,
    rgba(17, 27, 22, 0.45) 50%,
    rgba(17, 27, 22, 0.78) 100%
  );
}
.page-hero__eyebrow {
  color: var(--sprout);
  margin-bottom: 1.4rem;
}
.page-hero h1 {
  color: #fff;
  max-width: 18ch;
  font-size: var(--fs-h1);
}
.page-hero p {
  margin-top: 1.5rem;
  max-width: 54ch;
  font-size: var(--fs-lead);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}
.breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2rem;
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb span {
  opacity: 0.5;
}

/* ----- STATEMENT (editorial intro) -------------------------------------- */
.statement {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.statement__label {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.statement__body .big {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.statement__body .big .accent {
  font-style: italic;
}
.statement__body p + p {
  margin-top: 1.4rem;
}
.statement__body .lead {
  margin-top: 2rem;
}
.statement__sign {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ----- FEATURE ROW (alternating image / text) --------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.feature-row + .feature-row {
  margin-top: clamp(4rem, 8vw, 8rem);
}
.feature-row.is-reverse .feature-row__media {
  order: 2;
}
.feature-row__media {
  position: relative;
}
.feature-row__index {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--canopy);
  margin-bottom: 1.2rem;
}
.feature-row h3 {
  margin-bottom: 1.2rem;
}
.feature-row .feature-list {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.feature-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--leaf);
}
.feature-row__cta {
  margin-top: 2rem;
}

/* ----- AREA CARDS (business areas grid) --------------------------------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(340px, 42vw, 480px);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.area-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.area-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(17, 27, 22, 0.05) 0%,
    rgba(17, 27, 22, 0.35) 45%,
    rgba(17, 27, 22, 0.9) 100%
  );
  transition: opacity 0.6s var(--ease);
}
.area-card:hover .area-card__bg img {
  transform: scale(1.06);
}
.area-card__num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--sprout);
  margin-bottom: auto;
}
.area-card h3 {
  color: #fff;
  margin-bottom: 0.7rem;
  font-size: var(--fs-h3);
}
.area-card p {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40ch;
  margin-bottom: 1.4rem;
}
.area-card .link-arrow {
  color: var(--sprout);
}
.area-card--tall {
  grid-row: span 2;
}

/* ----- PILLARS (why choose us) ------------------------------------------ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillar {
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.4rem, 2.2vw, 2rem);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.pillar:nth-child(4n) {
  border-right: none;
}
.pillar__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--canopy);
  margin-bottom: 1.6rem;
}
.pillar h4 {
  margin-bottom: 0.8rem;
}
.pillar p {
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.section--dark .pillar-grid,
.section--forest .pillar-grid {
  border-color: rgba(255, 255, 255, 0.15);
}
.section--dark .pillar,
.section--forest .pillar {
  border-color: rgba(255, 255, 255, 0.15);
}
.section--dark .pillar p,
.section--forest .pillar p {
  color: rgba(255, 255, 255, 0.62);
}

/* ----- STAT BAND --------------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stat__val {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--sprout);
  letter-spacing: -0.02em;
}
.stat__val .unit {
  font-size: 0.5em;
  margin-left: 0.1em;
}
.stat__label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.66);
  max-width: 26ch;
}
.stat__rule {
  width: 36px;
  height: 2px;
  background: var(--canopy);
  margin-bottom: 0.3rem;
}

/* ----- PROCESS (supply chain steps) ------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.2rem);
  counter-reset: step;
}
.process__step {
  position: relative;
  padding-top: 2.5rem;
}
.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--canopy);
}
.process__step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.process__step .bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 40px;
  background: var(--leaf);
}
.process__step h4 {
  margin: 1.2rem 0 0.7rem;
}
.process__step p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.section--dark .process__step p,
.section--forest .process__step p {
  color: rgba(255, 255, 255, 0.62);
}
.section--dark .process__step::after,
.section--forest .process__step::after {
  background: rgba(255, 255, 255, 0.15);
}

/* ----- QUOTE / PULL ------------------------------------------------------ */
.pull {
  position: relative;
  text-align: center;
  max-width: 22ch;
  margin-inline: auto;
}
.pull__mark {
  font-family: var(--serif);
  font-size: 8rem;
  line-height: 0.6;
  color: rgba(109, 214, 122, 0.18);
  display: block;
  margin-bottom: 1rem;
}
.pull blockquote {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.pull blockquote em {
  font-style: italic;
  color: var(--sprout);
}
.pull cite {
  display: block;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ----- CTA BAND ---------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    rgba(17, 27, 22, 0.9) 0%,
    rgba(26, 56, 40, 0.7) 50%,
    rgba(17, 27, 22, 0.6) 100%
  );
}
.cta-band__inner {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 1.4rem;
}
.cta-band h2 em {
  font-style: italic;
  color: var(--sprout);
}
.cta-band p {
  margin-inline: auto;
  margin-bottom: 2.4rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-lead);
  font-weight: 300;
}
.cta-band__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ----- VALUE / CONTENT CARDS -------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease),
    border-color 0.6s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--parchment);
  color: var(--canopy);
  margin-bottom: 1.5rem;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}
.card__num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--canopy);
  margin-bottom: 1.2rem;
}
.card h4 {
  margin-bottom: 0.7rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.bg-alt .card {
  background: var(--white);
}

/* ----- PRODUCT CARDS ----------------------------------------------------- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.product-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.product-card:hover .product-card__media img {
  transform: scale(1.06);
}
.product-card__body {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card__tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--canopy);
  margin-bottom: 0.9rem;
}
.product-card h3 {
  font-size: var(--fs-h4);
  margin-bottom: 0.7rem;
}
.product-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.product-card .spec {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--canopy);
  background: var(--parchment);
  border-radius: 100px;
  padding: 0.45em 0.85em;
}

/* ----- ACCORDION (services / detailed) ---------------------------------- */
.accordion {
  border-top: 1px solid var(--line);
}
.acc-item {
  border-bottom: 1px solid var(--line);
}
.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  text-align: left;
}
.acc-trigger__title {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
}
.acc-trigger__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--canopy);
}
.acc-trigger h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  transition: color 0.4s var(--ease);
}
.acc-trigger:hover h3 {
  color: var(--canopy);
}
.acc-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--canopy);
  transition: transform 0.45s var(--ease);
}
.acc-icon::before {
  width: 18px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.acc-icon::after {
  width: 1.5px;
  height: 18px;
  transform: translate(-50%, -50%);
}
.acc-item.is-open .acc-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.acc-panel__inner {
  overflow: hidden;
}
.acc-item.is-open .acc-panel {
  grid-template-rows: 1fr;
}
.acc-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.acc-content p {
  color: var(--ink-soft);
}
.acc-content .feature-list {
  margin-top: 1.4rem;
}
.acc-content__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.acc-content__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- DEFINITION / INFO LIST ------------------------------------------- */
.def-list {
  display: grid;
  gap: 0;
}
.def-row {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.def-row:first-child {
  border-top: 1px solid var(--line);
}
.def-row dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--canopy);
}
.def-row dd {
  font-size: 1.02rem;
  color: var(--ink);
}

/* ----- TIMELINE (about) -------------------------------------------------- */
.timeline {
  display: grid;
  gap: 0;
}
.tl-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
}
.tl-year {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--canopy);
}
.tl-body h4 {
  margin-bottom: 0.6rem;
}
.tl-body p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ----- CONTACT ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact-info .eyebrow {
  margin-bottom: 1.6rem;
}
.contact-detail {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail:first-of-type {
  border-top: 1px solid var(--line);
}
.contact-detail__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--parchment);
  color: var(--canopy);
}
.contact-detail__icon svg {
  width: 20px;
  height: 20px;
}
.contact-detail__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}
.contact-detail__val {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}
.contact-detail__val a {
  transition: color 0.3s var(--ease);
}
.contact-detail__val a:hover {
  color: var(--canopy);
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.field {
  margin-bottom: 1.3rem;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--parchment);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.95em 1.1em;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--leaf);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}
.form button[type="submit"] {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}
.form__note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
  text-align: center;
}
.form-status {
  margin-top: 1rem;
  padding: 0.9em 1.1em;
  border-radius: var(--radius);
  font-size: 0.9rem;
  background: rgba(76, 153, 98, 0.12);
  color: var(--canopy);
  display: none;
}
.form-status.is-visible {
  display: block;
}

/* ----- MARQUEE (keyword / sectors strip) -------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.4rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 12%,
    #000 88%,
    transparent
  );
}
.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-style: italic;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}
.marquee__track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ----- SPLIT IMAGE PANEL (full-bleed two-up) ---------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(420px, 60vw, 640px);
}
.split__media {
  position: relative;
  overflow: hidden;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 6rem);
}
.split--dark .split__content {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.84);
}
.split--dark h2 {
  color: #fff;
}

/* ----- FACT STRIP -------------------------------------------------------- */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fact {
  background: var(--white);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.fact__val {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  color: var(--canopy);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.fact__label {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Component responsive
   ========================================================================== */
@media (max-width: 980px) {
  .statement,
  .feature-row,
  .contact-grid,
  .acc-content,
  .split {
    grid-template-columns: 1fr;
  }
  .feature-row.is-reverse .feature-row__media {
    order: 0;
  }
  .statement__label {
    position: static;
  }
  .pillar-grid,
  .stat-band,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar:nth-child(2n) {
    border-right: none;
  }
  .pillar:nth-child(4n) {
    border-right: 1px solid var(--line);
  }
  .area-grid {
    grid-template-columns: 1fr;
  }
  .area-card--tall {
    grid-row: span 1;
  }
  .split__media {
    min-height: 320px;
  }
  .tl-item {
    grid-template-columns: 90px 1fr;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   Internationalization — language switcher, per-language type, no-flash
   ========================================================================== */

/* No-flash boot + switch fade */
body {
  transition: opacity 0.45s var(--ease);
}
html.i18n-pending body {
  opacity: 0;
}
html.is-switching body {
  opacity: 0.4;
}

/* Header actions cluster (nav + switcher + toggle) */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.6vw, 1.5rem);
}

/* Language switcher */
.lang-switch {
  position: relative;
  flex-shrink: 0;
}
.lang-switch__btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.5em 0.7em 0.5em 0.75em;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.lang-switch__btn:hover {
  color: var(--ink);
  border-color: var(--ink-faint);
}
.lang-switch__globe {
  opacity: 0.7;
}
.lang-switch__chev {
  transition: transform 0.35s var(--ease);
  opacity: 0.6;
}
.lang-switch.is-open .lang-switch__chev {
  transform: rotate(180deg);
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease);
  z-index: 1100;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.lang-switch__menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7em 0.9em;
  border-radius: 8px;
  color: var(--ink-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-switch__menu button:hover {
  background: var(--parchment);
  color: var(--ink);
}
.lang-switch__name {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
}
.lang-switch__code {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.lang-switch__menu button.is-active .lang-switch__name {
  color: var(--canopy);
}
.lang-switch__menu button.is-active .lang-switch__code {
  background: var(--canopy);
  color: #fff;
  border-color: var(--canopy);
}

/* Transparent-over-hero header → light switcher */
.site-header.is-transparent .lang-switch__btn {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.28);
}
.site-header.is-transparent .lang-switch__btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ----- Per-language typography ----------------------------------------- */
/* Japanese — Mincho display, Gothic body, CJK rhythm */
html[data-lang="ja"] {
  --serif: "Shippori Mincho", "Noto Serif JP", "Playfair Display", serif;
  --sans: "Zen Kaku Gothic New", "Noto Sans JP", "Be Vietnam Pro", system-ui,
    sans-serif;
}
html[data-lang="ja"] body {
  line-height: 1.85;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
html[data-lang="ja"] h1,
html[data-lang="ja"] h2,
html[data-lang="ja"] h3,
html[data-lang="ja"] h4,
html[data-lang="ja"] .display,
html[data-lang="ja"] .hero__title,
html[data-lang="ja"] .pull blockquote {
  letter-spacing: 0.02em;
  line-height: 1.3;
  font-feature-settings: "palt" 1;
}
html[data-lang="ja"] .hero__title {
  line-height: 1.22;
}
/* Mincho has no true italic — keep emphasis upright, retain accent colour */
html[data-lang="ja"] em,
html[data-lang="ja"] .accent,
html[data-lang="ja"] .statement__body .big .accent,
html[data-lang="ja"] .lead {
  font-style: normal;
}
html[data-lang="ja"] .eyebrow,
html[data-lang="ja"] .mono,
html[data-lang="ja"] .feature-row__index,
html[data-lang="ja"] .pillar__num,
html[data-lang="ja"] .card__num {
  letter-spacing: 0.12em;
}

/* Vietnamese — diacritic headroom, slightly looser display tracking */
html[data-lang="vi"] h1,
html[data-lang="vi"] h2,
html[data-lang="vi"] h3,
html[data-lang="vi"] h4,
html[data-lang="vi"] .hero__title {
  line-height: 1.14;
}
html[data-lang="vi"] .display {
  letter-spacing: -0.015em;
  line-height: 1.02;
}
html[data-lang="vi"] body {
  line-height: 1.68;
}

/* ----- Switcher on mobile (inside nav overlay) ------------------------- */
@media (max-width: 1080px) {
  .lang-switch {
    margin-top: 2.4rem;
  }
  .lang-switch__btn {
    display: none;
  }
  .lang-switch__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    min-width: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .lang-switch__menu button {
    width: auto;
    justify-content: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    padding: 0.6em 1.2em;
    color: rgba(255, 255, 255, 0.82);
  }
  .lang-switch__menu button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
  .lang-switch__code {
    display: none;
  }
  .lang-switch__menu button.is-active {
    background: var(--sprout);
    border-color: var(--sprout);
  }
  .lang-switch__menu button.is-active .lang-switch__name {
    color: var(--forest);
  }
}

@media (max-width: 720px) {
  .stat-band,
  .process,
  .fact-strip {
    grid-template-columns: 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar:nth-child(4n) {
    border-right: none;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .def-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .hero__title {
    max-width: none;
  }
  .pull blockquote {
    max-width: none;
  }
  .fact-strip {
    gap: 1px;
  }
}
