/* ============================================================
   IXC — sub-page styles. Loaded on all pages after style.css.
   ============================================================ */

/* ---------------- shared sub-page bits ---------------- */

.page-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.page-hero__wrap {
  position: relative;
  z-index: 15;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8.5rem var(--pad-x) 3.5em;
}
.page-hero__bottom {
  display: flex;
  justify-content: flex-end;
}
.page-hero__p {
  max-width: 34ch;
  display: flex;
  flex-direction: column;
  gap: 1.8em;
}

.h1--blue { color: var(--blue); }

/* light page scaffold (white bg, blue text) */
.page-light { background: var(--white); color: var(--black); }

/* ---------------- partners ---------------- */

.partners-main { position: relative; }
.partners-cms { padding-bottom: 4em; }
.heading-cms {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3em;
  margin-bottom: 4.5em;
}
.heading-cms .p-gen { max-width: 44ch; }

.grid-partners-gen {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.partner-cell {
  display: block;
  background: #ffffff26;
  border-radius: var(--r-card);
  transition: background 0.4s;
}
.partner-cell:hover { background: #ffffff12; }
.partner-cell .partner-box { height: 9em; }

.support-cards { padding-bottom: 8em; }
.support-cards__heading { margin-bottom: 3.5em; }

.partners-benefit-grid { display: grid; gap: 1em; }
@media (min-width: 992px) {
  /* checkerboard: 1→c1r1, 2→c2r1, 3→c4r1, 4→c3r2 */
  .partners-benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partners-benefit-grid .benefit-card:nth-child(1) { grid-column: 1; grid-row: 1; }
  .partners-benefit-grid .benefit-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .partners-benefit-grid .benefit-card:nth-child(3) { grid-column: 4; grid-row: 1; }
  .partners-benefit-grid .benefit-card:nth-child(4) { grid-column: 3; grid-row: 2; }
}
.benefit-card {
  position: relative;
  background: rgba(var(--brand-rgb), 0.10);
  border-radius: var(--r-card);
  padding: 1.4em;
  min-height: 22em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  overflow: hidden;
  color: var(--blue);
}
.benefit-card__num {
  font-family: var(--font-mono);
  font-size: 0.75em;
  opacity: 0.7;
}
.benefit-card__title { font-size: 1.4em; font-weight: 500; }
.benefit-card__desc { max-width: 24ch; }
.benefit-card__visual {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(var(--brand-rgb), 0.18), rgba(var(--brand-rgb), 0) 70%);
}

/* ---------------- newsroom ---------------- */

.news-page { padding: 11em var(--pad-x) 8em; }
.news-page__h1 { margin-bottom: 0; }
.grid-newsroom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1em;
}
.newsroom-item {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  border-top: 1px solid rgba(var(--brand-rgb), 0.35);
  padding-top: 1.4em;
  color: var(--blue);
}
.newsroom-item__title { font-size: 1.4em; line-height: 1.38; font-weight: 500; }
.text-news-link {
  font-size: 0.9em;
  font-weight: 500;
  text-decoration: underline;
  transition: opacity 0.3s;
}
.text-news-link:hover { opacity: 0.65; }
.cover-square {
  aspect-ratio: 1.15;
  border-radius: var(--r-media);
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue), var(--brand-deep));
  position: relative;
  margin-top: 0.5em;
}
.cover-square::after {
  content: "";
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  right: 10%;
  bottom: 12%;
  background: #ffffff2a;
  border-radius: 2px;
}
.cover-square[data-pattern="b"]::after { border-radius: 50%; left: 12%; top: 14%; right: auto; bottom: auto; }
.cover-square[data-pattern="c"]::after { width: 55%; aspect-ratio: 2.2; left: 12%; }

/* ---------------- blog ---------------- */

.blog-page { padding: 11em var(--pad-x) 8em; }
.blog-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2em;
  margin: 3em 0 5em;
  color: var(--blue);
}
.blog-feature__cover {
  border-radius: var(--r-card);
  overflow: hidden;
  background: linear-gradient(140deg, var(--blue), var(--brand-deep));
  min-height: 26em;
  position: relative;
}
.blog-feature__cover::after {
  content: "";
  position: absolute;
  inset: auto 10% 12% auto;
  width: 30%;
  aspect-ratio: 1;
  background: #ffffff26;
  border-radius: 2px;
}
.blog-feature__body { display: flex; flex-direction: column; gap: 1.4em; justify-content: flex-end; }
.blog-feature__title { font-size: 2.3em; line-height: 1.1; font-weight: 500; }

.articles-grid--blog { grid-template-columns: 1fr 1fr 1fr; }

.blog-latest { display: grid; grid-template-columns: 15em 1fr; gap: 4em; align-items: start; }
.filters-box {
  position: sticky;
  top: 9vh;
  display: flex;
  flex-direction: column;
  gap: 1.4em;
  color: var(--blue);
}
.filters-title { font-family: var(--font-mono); font-size: 0.75em; text-transform: uppercase; opacity: 0.7; }
.filters-flex { display: flex; flex-direction: column; gap: 0.5em; align-items: flex-start; }
.filter-chip {
  font-size: 0.9em;
  font-weight: 500;
  color: var(--blue);
  background: rgba(var(--brand-rgb), 0.12);
  border-radius: var(--r-pill);
  padding: 0.6em 0.8em;
  cursor: pointer;
  transition: background 0.3s;
}
.filter-chip:hover { background: rgba(var(--brand-rgb), 0.15); }
.filter-chip.is-active { background: var(--blue); color: var(--white); }
.reset-all { font-size: 0.82em; text-decoration: underline; color: var(--blue); opacity: 0.7; cursor: pointer; }

/* ---------------- careers ---------------- */

.career-hero { position: relative; background: var(--white); color: var(--blue); }
.career-hero__wrap {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10em var(--pad-x) 4em;
}

.fs-image {
  height: 70vh;
  background: linear-gradient(160deg, var(--blue), var(--brand-deep));
  position: relative;
  overflow: hidden;
}
.fs-image::after {
  content: "";
  position: absolute;
  width: 22%;
  aspect-ratio: 1;
  left: 12%;
  bottom: 16%;
  background: #ffffff1c;
  border-radius: 2px;
}

.culture { background: var(--white); color: var(--blue); }
.culture__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3em;
  margin-bottom: 4.5em;
}
.culture__points { display: grid; grid-template-columns: 1fr 1fr; gap: 4em; align-items: start; }
.culture__list { display: flex; flex-direction: column; }
.culture-point {
  display: flex;
  gap: 1.2em;
  align-items: baseline;
  border-top: 1px solid rgba(var(--brand-rgb), 0.35);
  padding: 1.4em 0;
}
.culture-point__num { font-family: var(--font-mono); font-size: 0.75em; opacity: 0.65; }
.culture-point__txt { font-size: 1.4em; font-weight: 500; max-width: 28ch; }
.culture__visual {
  position: sticky;
  top: 10vh;
  border-radius: var(--r-card);
  aspect-ratio: 0.95;
  background: linear-gradient(160deg, var(--blue), var(--brand-deep));
}

.positions { background: var(--white); color: var(--blue); }
.positions__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3em; }

/* ---------------- company (blue hero + dark mission) ---------------- */

.about-hero { position: relative; background: var(--blue); color: var(--white); overflow: hidden; }
.about-hero__wrap { position: relative; z-index: 3; padding: 11em var(--pad-x) 9em; }
.about-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3em;
}
.about-hero__h1 { font-size: 8em; line-height: 0.95; }
.about-intro { max-width: 26ch; font-size: 2.3em; line-height: 1.22; }
.about-offset {
  display: flex;
  justify-content: flex-end;
  margin-top: 8em;
}
.about-offset__box { max-width: 40ch; display: flex; flex-direction: column; gap: 1.6em; }

.black-cards { background: var(--black); color: var(--white); position: relative; }
.black-cards__flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: start;
  margin-bottom: 8em;
}
.black-cards__heading { display: flex; flex-direction: column; gap: 1.6em; }
.point-list { display: flex; flex-direction: column; }
.point-about {
  display: flex;
  gap: 1.4em;
  align-items: baseline;
  border-top: 1px solid #ffffff33;
  padding: 1.5em 0;
}
.point-about__num { font-family: var(--font-mono); font-size: 0.75em; opacity: 0.6; }
.point-about__body { display: flex; flex-direction: column; gap: 0.7em; }
.point-about__title { font-size: 1.4em; font-weight: 500; }
.point-about__p { max-width: 40ch; opacity: 0.85; }

.mission-part {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4.5em;
  align-items: center;
  margin-top: 3em;
}
.mission-part__img {
  aspect-ratio: 1.7;
  border-radius: var(--r-card);
  background: linear-gradient(160deg, var(--blue), var(--brand-deep));
  position: relative;
  overflow: hidden;
}
.mission-part__img::after {
  content: "";
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  right: 12%;
  bottom: 14%;
  background: #ffffff1f;
  border-radius: 2px;
}
.mission-part__content { display: flex; flex-direction: column; gap: 2.6em; }
.mission-txt { font-size: 2.3em; line-height: 1.25; max-width: 22ch; }
.two-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4em; }

/* ---------------- company: leadership + timeline (dark section) ----------------
   Pure-typography restraint like .fact-cell / .point-about above — a thin top
   rule, mono labels, and NO enclosed shapes (no avatar chips, no boxes). The two
   leaders sit in ~30%-wide columns on the left so the row breathes. */
.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 28em));
  gap: 4em;
  margin-top: 5.6em;
}
.leader {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  padding-top: 1.8em;
}
/* the top rule is a pseudo so motion can wipe it in left→right (--ld) */
.leader::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: #ffffff2e;
  transform: scaleX(var(--ld, 1));
  transform-origin: left;
}
/* studio portrait — a contained 4:5 headshot under the rule; the white
   cutout reads clean on the dark section (kept restrained, not full-bleed) */
.leader__photo {
  display: block;
  width: 100%;
  max-width: 15em;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  background: var(--white);
  margin: 1.4em 0 0.4em;
}
.leader__name { font-size: 1.5em; font-weight: 500; }
.leader__role { font-family: var(--font-mono); font-size: 0.78em; letter-spacing: 0; color: rgba(var(--accent-rgb), 0.9); }
/* career history: a flat, dividerless list — mono "前" markers, mood-matched */
.leader__career { list-style: none; display: flex; flex-direction: column; gap: 0.55em; margin-top: 0.9em; }
.leader__career li { font-size: 0.92em; line-height: 1.45; opacity: 0.8; }

/* History reads as a vertical list in the mood of .point-about: dividerless,
   gap-based rhythm carried by a rail + nodes, NOT ruled table rows. Mono year
   sits tight to its event; each node ignites with a glow flash (--glow) as the
   rail draws down (--line drives dot scale + rail scaleY). */
.timeline {
  position: relative;
  margin-top: 5.6em;
  max-width: 40em;
  display: flex;
  flex-direction: column;
  gap: 2.6em;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 1.4em;
  align-items: baseline;
  padding-left: 2.3em;
}
.timeline__item::before {
  content: "";
  position: absolute; left: 0.02em; top: 0.16em;
  width: 0.66em; height: 0.66em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 calc(var(--glow, 0) * 1.15em) calc(0.28em + var(--glow, 0) * 0.4em) rgba(var(--accent-rgb), calc(0.14 + var(--glow, 0) * 0.3));
  transform: scale(var(--line, 0));
  transform-origin: center;
}
.timeline__item::after {
  content: "";
  position: absolute; left: 0.32em; top: 0.95em; bottom: -2.6em;
  width: 1px;
  background: linear-gradient(rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0.22));
  transform: scaleY(var(--line, 0));
  transform-origin: top;
}
.timeline__item:last-child::after { display: none; }
.timeline__year { font-family: var(--font-mono); font-size: 1.35em; font-weight: 500; line-height: 1.1; color: rgba(var(--accent-rgb), 0.95); }
.timeline__event { font-size: 1.02em; line-height: 1.6; opacity: 0.85; }

/* responsive: 30/30 side-by-side is desktop only — tablets fill the width with
   two equal columns, phones stack to a single column. */
/* leader/timeline text re-inflates at breakpoints like the rest of the scale
   (fact-cell pattern) — without this the em values render ~4px on phones */
@media (max-width: 991px) {
  .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8em; margin-top: 3.6em; }
  .leader__photo { max-width: 22em; }
  .leader__name { font-size: 2.4em; }
  .leader__role { font-size: 1.15em; }
  .leader__career li { font-size: 1.45em; }
  .timeline { margin-top: 3.6em; }
  .timeline__year { font-size: 2.2em; }
  .timeline__event { font-size: 1.5em; }
}
@media (max-width: 767px) {
  .leaders { grid-template-columns: 1fr; gap: 3.2em; }
  .timeline { gap: 2.6em; }
  .timeline__item { grid-template-columns: max-content 1fr; gap: 1.4em; padding-left: 2em; }
}
@media (max-width: 479px) {
  .leader__photo { max-width: 52em; }
  .leader__name { font-size: 4.8em; }
  .leader__role { font-size: 2.4em; }
  .leader__career li { font-size: 3.5em; }
  .timeline__year { font-size: 4.4em; }
  .timeline__event { font-size: 3.7em; }
}
/* reduced motion: the JS never tweens --line, so pin the rail + nodes to their
   drawn end-state instead of leaving them collapsed at scale 0 (invisible). */
@media (prefers-reduced-motion: reduce) {
  .timeline__item { --line: 1; }
  .leader { --ld: 1; }
  .pd-cap { --line: 1; }
}

@media (max-width: 991px) {
  .about-flex, .black-cards__flex, .mission-part { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .about-hero__h1 { font-size: 10em; }
  .two-sides { grid-template-columns: 1fr; }
}

/* ---------------- contact ---------------- */

.contact-main { min-height: 100vh; padding: 10em var(--pad-x) 8em; }
.contact-channel { display: flex; flex-direction: column; gap: 0.6em; border-top: 1px solid #ffffff40; padding-top: 1.2em; }

.flex-contact { display: grid; grid-template-columns: 1fr 2fr; gap: 5em; align-items: start; margin-top: 4em; }
.sticky-contacts { position: sticky; top: 12vh; display: flex; flex-direction: column; gap: 2.4em; }
.title-get { font-family: var(--font-mono); font-size: 0.82em; text-transform: uppercase; opacity: 0.7; }

.title-chips { display: flex; align-items: center; gap: 0.6em; margin-bottom: 1.2em; }
.title-form { font-family: var(--font-mono); font-size: 0.75em; text-transform: uppercase; opacity: 0.75; }
.purpose-chips { display: flex; flex-wrap: wrap; gap: 0.5em; margin-bottom: 2.4em; }
.checkbox-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  cursor: pointer;
  background: #ffffff1a;
  border: 1px solid #ffffff40;
  border-radius: var(--r-pill);
  padding: 0.7em 0.9em;
  font-size: 0.9em;
  font-weight: 500;
  transition: background 0.3s, color 0.3s;
}
.checkbox-chip input { position: absolute; opacity: 0; z-index: -1; }
.checkbox-chip:has(input:checked) { background: var(--white); color: var(--blue); }
/* the real checkbox is visually hidden, so mirror keyboard focus onto the chip */
.checkbox-chip:has(input:focus-visible) { outline: 2px solid rgba(var(--accent-rgb), 0.45); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625em 1em; }
.form-field { display: flex; flex-direction: column; gap: 0.5em; }
.form-field--full { grid-column: 1 / -1; }
.form-label {
  font-family: var(--font-mono);
  font-size: 0.72em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.form-field textarea.input-field { min-height: 9em; resize: vertical; border-radius: var(--r-card); }

/* ---------------- product detail ---------------- */

.pd-hero { background: var(--black); color: var(--white); position: relative; }
.pd-hero__wrap { min-height: 92vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 10em var(--pad-x) 4em; gap: 2.4em; }
.pd-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 3em; }
.pd-visual {
  margin: 0 var(--pad-x) 6em;
  border-radius: var(--r-card);
  aspect-ratio: 2.3;
  background:
    linear-gradient(#ffffff0d, #ffffff03),
    repeating-linear-gradient(0deg, transparent 0 27px, #ffffff12 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, #ffffff12 27px 28px);
  position: relative;
  overflow: hidden;
}
.pd-visual::after {
  content: "";
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  right: 10%;
  bottom: -18%;
  background: var(--accent)1f;
  border-radius: 2px;
}
.pd-section { background: var(--black); color: var(--white); }
.pd-caps { display: grid; grid-template-columns: 1fr 1fr; gap: 4em; padding: 0 var(--pad-x) 8em; }
.pd-caps__list { display: flex; flex-direction: column; }
.pd-cap {
  position: relative;
  display: flex;
  gap: 1.4em;
  align-items: baseline;
  border-top: 1px solid #ffffff33;
  padding: 1.5em 0;
}
/* accent divider that draws left→right as the capability reveals
   ( --line tweened 0→1 by motion.js runRichList ) */
.pd-cap::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(var(--line, 0));
  transform-origin: left;
}
.pd-cap__num { font-family: var(--font-mono); font-size: 0.75em; opacity: 0.6; }
.pd-cap__body { display: flex; flex-direction: column; gap: 0.7em; }
.pd-cap__title { font-size: 1.4em; font-weight: 500; }
.pd-props { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 0 var(--pad-x) 10em; }
.pd-prop {
  background: #ffffff12;
  border-radius: var(--r-card);
  padding: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  min-height: 14em;
}
.pd-prop__title { font-family: var(--font-mono); font-size: 0.72em; text-transform: uppercase; opacity: 0.7; }
.pd-prop__value { font-size: 2.3em; font-weight: 500; }

/* ---------------- article ---------------- */

.article-hero { padding: 10em var(--pad-x) 3em; color: var(--blue); }
.article-hero__tags { display: flex; gap: 0.6em; margin-bottom: 1.6em; }
.article-hero__title { font-size: 3.2em; line-height: 1.14; max-width: 26ch; text-wrap: balance; }
.fullsize-cover {
  margin: 0 var(--pad-x) 5em;
  border-radius: var(--r-card);
  aspect-ratio: 2.4;
  background: linear-gradient(150deg, var(--blue), var(--brand-deep));
  position: relative;
  overflow: hidden;
}
.fullsize-cover::after {
  content: "";
  position: absolute;
  width: 18%;
  aspect-ratio: 1;
  right: 14%;
  top: 18%;
  background: #ffffff24;
  border-radius: 2px;
}

.article-body { padding: 0 var(--pad-x) 8em; color: var(--black); }
.flex-article { display: grid; grid-template-columns: 1fr 1.7fr; gap: 5em; align-items: start; }
.sticky-box { position: sticky; top: 9vh; display: flex; flex-direction: column; gap: 2.5em; }
.next-box__title {
  font-family: var(--font-mono);
  font-size: 0.75em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.7;
  margin-bottom: 1.2em;
}
.next-card { display: flex; flex-direction: column; gap: 0.9em; color: var(--blue); margin-bottom: 1.6em; }
.next-card__cover {
  aspect-ratio: 1.9;
  border-radius: var(--r-media);
  background: linear-gradient(140deg, var(--blue), var(--brand-deep));
}
.next-card__title { font-size: 1em; line-height: 1.35; font-weight: 500; }

/* job detail: apply button fills the sidebar column */
.job-apply { width: 100%; justify-content: space-between; }

.active-article {
  border-top: 1px solid rgba(var(--brand-rgb), 0.35);
  padding-top: 1.3em;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  color: var(--blue);
}
.active-article__tag { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-mono); font-size: 0.72em; text-transform: uppercase; opacity: 0.75; }
.bar-line { position: relative; height: 2px; background: rgba(var(--brand-rgb), 0.15); overflow: hidden; border-radius: 1px; }
.active-line { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--blue); transition: width 80ms linear; }

.article-content { max-width: 62ch; display: flex; flex-direction: column; gap: 1.6em; }
.article-content h2 { font-size: 1.9em; line-height: 1.25; font-weight: 500; color: var(--blue); margin-top: 1.2em; }
.article-content h3 { font-size: 1.4em; font-weight: 500; color: var(--blue); margin-top: 0.6em; }
.article-content p { font-size: 1em; line-height: 1.55; letter-spacing: 0; }
.article-content ul { padding-left: 1.15em; display: flex; flex-direction: column; gap: 0.8em; line-height: 1.5; }
.article-content a { color: var(--blue); text-decoration: underline; }

/* ---------------- products listing (100vh scrub rail) ---------------- */

.products-scroll { background: var(--black); color: var(--white); }
.products-scroll .products__intro { padding-top: 11em; }

/* lives INSIDE the sticky stage so it stays pinned at the bottom of
   the viewport during the scrub (in normal flow it would drift up
   through the pinned cards like a stray scrollbar) */
.bar-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.5em;
  padding: 0 var(--pad-x);
  z-index: 5;
}
@media (max-width: 991px) {
  .bar-progress { display: none; } /* mobile rail is native scroll — no scrub progress */
}
.bar-wrapper { position: relative; height: 2px; background: #ffffff26; border-radius: 1px; overflow: hidden; max-width: 24em; }
.bar-active { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--white); }

/* ---------------- sub-page responsive ---------------- */

@media (max-width: 991px) {
  .grid-partners-gen { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .heading-cms { flex-direction: column; align-items: flex-start; }
  .grid-newsroom { grid-template-columns: 1fr 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .articles-grid--blog { grid-template-columns: 1fr 1fr; }
  .culture__points, .pd-caps { grid-template-columns: 1fr; }
  .pd-props { grid-template-columns: 1fr 1fr; }
  .flex-article { grid-template-columns: 1fr; }
  .sticky-box { position: static; }
}

@media (max-width: 479px) {
  .grid-partners-gen { grid-template-columns: 1fr 1fr; }
  .grid-newsroom, .articles-grid--blog, .pd-props { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .article-hero__title { font-size: 5.2em; }
}

/* ---------------- photo cover for newsroom cards ---------------- */
.cover-square--photo { background-size: cover; background-position: center; }
.cover-square--photo::after { display: none; }
.fullsize-cover--photo::after { display: none; }

/* ---------------- facts grid (dark sections) ---------------- */
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5em 1em; margin-top: 6em; }
.fact-cell { border-top: 1px solid #ffffff2e; padding-top: 1.1em; display: flex; flex-direction: column; gap: 0.5em; }
.fact-cell__label { font-family: var(--font-mono); font-size: 0.72em; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; }
.fact-cell__value { font-size: 1.1em; font-weight: 500; line-height: 1.4; }

@media (max-width: 991px) {
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact-cell__label { font-size: 1.1em; }
  .fact-cell__value { font-size: 1.6em; }
}
@media (max-width: 479px) {
  .facts-grid { grid-template-columns: 1fr; }
  .fact-cell__label { font-size: 2.8em; }
  .fact-cell__value { font-size: 3.8em; }
}


/* --- mobile re-inflation for components missed in the original em scale ---
   (form controls, list/card titles, product-detail + company display text).
   Mirrors the .p-gen (1.45/1.9/3.7em) and .h2--small tiers in style.css so
   these render at readable sizes instead of ~3-9px on phones. --- */
@media (max-width: 991px) {
  .checkbox-chip { font-size: 1.5em; }
  .title-form { font-size: 1.4em; }
  .title-get { font-size: 1.5em; }
  .form-label { font-size: 1.35em; }
  .newsroom-item__title { font-size: 2em; }
  .text-news-link { font-size: 1.5em; display: inline-block; padding: 0.55em 0; }
  .benefit-card__title { font-size: 2em; }
  .benefit-card__num { font-size: 1.1em; }
  .pd-cap__title { font-size: 2em; }
  .pd-cap__num, .pd-prop__title { font-size: 1.1em; }
  .pd-prop__value { font-size: 2.6em; }
  .about-intro, .mission-txt { font-size: 2.6em; }
  .point-about__title { font-size: 2em; }
  .culture-point__txt { font-size: 2em; }
  .culture-point__num { font-size: 1.1em; }
  /* article / detail pages (news · project · insight · job) — sidebar + reading text */
  .article-content p, .article-content ul { font-size: 1.5em; }
  .article-content h2 { font-size: 2.6em; }
  .article-content h3 { font-size: 2em; }
  .next-box__title { font-size: 1.35em; }
  .next-card__title { font-size: 1.5em; }
  .active-article__tag { font-size: 1.3em; }
}
@media (max-width: 767px) {
  .checkbox-chip { font-size: 1.9em; }
  .title-form { font-size: 1.8em; }
  .title-get { font-size: 1.9em; }
  .form-label { font-size: 1.7em; }
  .newsroom-item__title { font-size: 2.4em; }
  .text-news-link { font-size: 1.9em; }
  .benefit-card__title { font-size: 2.4em; }
  .pd-cap__title { font-size: 2.4em; }
  .pd-prop__value { font-size: 3em; }
  .about-intro, .mission-txt { font-size: 3.4em; }
  .point-about__title { font-size: 2.4em; }
  .culture-point__txt { font-size: 2.4em; }
  .article-content p, .article-content ul { font-size: 1.9em; }
  .article-content h2 { font-size: 3.2em; }
  .article-content h3 { font-size: 2.4em; }
  .next-card__title { font-size: 1.9em; }
}
@media (max-width: 479px) {
  .checkbox-chip { font-size: 3.6em; padding: 1.1em 1.2em; }
  .title-form { font-size: 3.7em; }
  .title-get { font-size: 3.7em; }
  .form-label { font-size: 3.4em; }
  .newsroom-item__title { font-size: 4.2em; }
  .text-news-link { font-size: 3.6em; padding: 1em 0; }
  .benefit-card__title { font-size: 4.2em; }
  .benefit-card__num { font-size: 2.6em; }
  .pd-cap__title { font-size: 4.2em; }
  .pd-cap__num, .pd-prop__title { font-size: 2.6em; }
  .pd-prop__value { font-size: 4.6em; }
  .about-intro, .mission-txt { font-size: 5em; }
  .point-about__title { font-size: 4.2em; }
  .culture-point__txt { font-size: 4.2em; }
  .culture-point__num { font-size: 2.6em; }
  .article-content p, .article-content ul { font-size: 3.7em; }
  .article-content h2 { font-size: 5.4em; }
  .article-content h3 { font-size: 4.2em; }
  .next-box__title { font-size: 2.9em; }
  .next-card__title { font-size: 3.2em; }
  .active-article__tag { font-size: 2.8em; }
}

/* real <img> inside photo covers (replaces inline background-image for lazy-loading) */
.cover-square--photo, .image-article--photo { position: relative; }
.media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* legal / policy pages (privacy) */
.legal { max-width: 58em; }
.legal .h1--blue { max-width: none; }
.legal__section { margin-top: 2.8em; }
.legal h2 { font-size: 1.5em; font-weight: 500; margin-bottom: 0.7em; color: var(--blue); }
.legal p { line-height: 1.8; opacity: 0.88; }
.legal ul { list-style: disc; margin: 0.7em 0 0 1.4em; display: flex; flex-direction: column; gap: 0.45em; }
.legal li { line-height: 1.7; opacity: 0.88; }
.legal a { text-decoration: underline; }
.legal__updated { font-family: var(--font-mono); font-size: 0.8em; opacity: 0.55; margin-top: 3.5em; }
@media (max-width: 991px) { .legal h2 { font-size: 2em; } .legal li { font-size: 1.45em; } .legal__updated { font-size: 1.2em; } }
@media (max-width: 767px) { .legal h2 { font-size: 2.4em; } .legal li { font-size: 1.9em; } }
@media (max-width: 479px) { .legal h2 { font-size: 4.2em; } .legal li { font-size: 3.6em; } .legal__updated { font-size: 2.6em; } }

.consent-policy { display: inline-block; margin-top: 0.6em; font-size: 0.82em; text-decoration: underline; opacity: 0.8; }
@media (max-width:479px){ .consent-policy { font-size: 3.2em; } }

/* contact form: honeypot (off-screen) + submit status banner */
.ixc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0 0 2em; padding: 1em 1.3em; border-radius: 0.9em; font-size: 1.4em; line-height: 1.55; }
.form-status--ok { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.32); }
.form-status--err { background: rgba(255,90,90,0.16); color: #ffdada; border: 1px solid rgba(255,120,120,0.5); }
@media (max-width: 991px) { .form-status { font-size: 1.9em; } }
@media (max-width: 479px) { .form-status { font-size: 3.6em; } }

/* ============================================================
   Mobile audit fixes (2026-07-20): page-level layouts that stayed
   multi-column on phones (insights filter rail, contact) + text
   left at the ~1vw base (filter chips, privacy paragraphs, roles).
   ============================================================ */
@media (max-width: 991px) {
  /* insights: stack the feature + the filter-rail/grid, chips go horizontal */
  .blog-feature { grid-template-columns: 1fr; gap: 2.4em; }
  .blog-latest { grid-template-columns: 1fr; gap: 2.4em; }
  .filters-box { position: static; top: auto; }
  .filters-flex { flex-direction: row; flex-wrap: wrap; }
  .articles-grid--blog { grid-template-columns: 1fr 1fr; }
  .filters-title { font-size: 1.4em; }
  .filter-chip { font-size: 1.5em; }
  .reset-all { font-size: 1.4em; }
  .blog-feature__title { font-size: 3.4em; }
  .leader__role { font-size: 1.4em; }
  .legal p { font-size: 1.45em; }
  /* ch-based measures on 1em containers collapse at mobile — reset (single-column here) */
  .about-offset__box, .article-content, .point-about__p { max-width: none; }
}
@media (max-width: 767px) {
  .articles-grid--blog { grid-template-columns: 1fr; }
  .blog-feature__title { font-size: 4.4em; }
  .legal p { font-size: 1.9em; }
  /* contact: stack the intro/contact rail above the form */
  .flex-contact { grid-template-columns: 1fr; gap: 3em; }
  .sticky-contacts { position: static; }
}
@media (max-width: 479px) {
  .filters-title { font-size: 2.9em; }
  .filter-chip { font-size: 3em; }
  .reset-all { font-size: 2.9em; }
  .blog-feature__title { font-size: 5.4em; }
  .leader__role { font-size: 2.9em; }
  .legal p { font-size: 3.6em; }
  .legal__updated { font-size: 3em; }
}
