/*
 * Kato Oil RECRUIT design feedback / 2026-10-15
 * Shared exclusively by /recruit/ and recruitment subpages.
 * Photo treatment: familiar rounded rectangles, with a small number of waterdrop accents.
 * General dark corporate pages and the ten-tile TOP hero are intentionally excluded.
 */
.krt {
  --kr-rounded-heading: 'M PLUS Rounded 1c', 'Zen Kaku Gothic New', sans-serif;
  --kr-photo-radius: clamp(25px, 2.6vw, 40px);
  --kr-card-radius: clamp(18px, 1.9vw, 30px);
  --kr-small-radius: clamp(14px, 1.5vw, 23px);
}

/* Only display elements change family. Ordinary copy stays Zen Kaku Gothic New;
   uppercase English kickers, large figures and numbers retain Jost. */
.krt :is(h1, h2, h3, h4) {
  font-family: var(--kr-rounded-heading);
  font-weight: 700;
}
.krt .krt-hero h1 {
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1.42;
}
.krt .krt-script-heading,
.krt .krp__message,
.krt .krp--reference .krp__message,
body.kato-recruit-top-page .krp__overlay--reference .krp__dialog-message,
.krt .krw-hero__lead,
.krt .kre-hero__lead,
.krt .krw-job__heading p {
  font-family: var(--kr-rounded-heading);
  font-weight: 500;
  letter-spacing: .025em;
}
.krt .krp--reference .krp__message { line-height: 1.65; }
.krt .krt-message__copy h2,
.krt .krt-career5__heading h2 {
  letter-spacing: .025em;
}

/* Large standard photographs — clear, soft corners rather than the former 0–6px. */
.krt .krt-culture__grid > .krt-media,
.krt .krt-environment .krt-media,
.krt .krt-place__grid > .krt-media {
  border-radius: var(--kr-photo-radius);
  overflow: hidden;
}
.krt .krt-culture__sub > .krt-media,
.krt .krt-culture__bottom .krt-media,
.krt .krt-place__sub > .krt-media,
.krt .krt-event__card .krt-media {
  border-radius: var(--kr-small-radius);
  overflow: hidden;
}
.krt .krt-work__strip,
.krt .krp__visual,
body.kato-recruit-top-page .krt .krp--reference .krp__visual,
.krt .krw-hero__visual,
.krt .kre-hero__visual,
.krt .krh-hero__visual,
.krt .krw-job__photo,
.krt .kre-category__image {
  border-radius: var(--kr-photo-radius);
  overflow: hidden;
}
.krt .krw-navigation__visual { border-radius: var(--kr-small-radius); overflow: hidden; }
.krt .krt-visit__card,
.krt .krt-event__card {
  border-radius: var(--kr-card-radius);
  overflow: hidden;
}
.krt .krt-entry__card,
.krt .krh-step__card { border-radius: var(--kr-small-radius); }

/* Reference shape (organic waterdrop): applied sparingly to MESSAGE and company visit.
   The actual photo is still a CMS-managed image; this is nondestructive CSS masking.
   Older browsers retain strongly rounded rectangles. */
.krt .krt-message .krt-media,
.krt .krt-visit .krt-media {
  border-radius: var(--kr-photo-radius);
  overflow: hidden;
}
/* MESSAGE: the mask SVG has a 1000x790 viewBox. Keep that ratio for the
   entire image frame; the former fixed 540px / 330px heights stretched the
   waterdrop as the viewport changed. Preserve the mobile full-bleed width. */
.krt .krt-message .krt-media {
  height: auto;
  aspect-ratio: 1000 / 790;
}
/* Absolutely fill the proportional frame so the photo's intrinsic dimensions
   never increase its height, while preserving the existing cover crop. */
.krt .krt-message .krt-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@supports ((mask-image: url('')) or (-webkit-mask-image: url(''))) {
  .krt .krt-message .krt-media,
  .krt .krt-visit .krt-media {
    -webkit-mask-image: url('../recruit/recruit-waterdrop-mask.svg');
    mask-image: url('../recruit/recruit-waterdrop-mask.svg');
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    border-radius: 0;
  }
}
/* The pink company-visit panel shows through the gently transparent outer edges. */
.krt .krt-visit .krt-media {
  margin: 12px 0 12px 14px;
  height: calc(100% - 24px);
  min-height: 280px;
  background: #fdf3ec;
}

/* Numbers: supplied pictograms win; otherwise fallback outlines are used.
   Presentation of '仮' was removed at the client's request, but unconfirmed
   values still require verification before public release. */
.krt .krt-numbers__item { min-width: 0; }
.krt .krt-numbers__top { min-width: 0; }
.krt .krt-numbers__symbol {
  position: relative;
  flex: 0 0 clamp(52px, 4.7vw, 70px);
  width: clamp(52px, 4.7vw, 70px);
  height: clamp(52px, 4.7vw, 70px);
  border: none;
  border-radius: 20px;
  background: #edf4fa;
  color: #2d668f;
}
.krt .krt-numbers__item:nth-child(even) .krt-numbers__symbol {
  background: #fff0e7;
  color: #c75c2a;
}
.krt .krt-numbers__pictogram { width: 78%; height: 78%; display: block; }
.krt .krt-numbers__symbol img {
  display: block;
  width: 80%;
  height: 80%;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}
.krt .krt-numbers__pending {
  position: absolute;
  right: -3px;
  bottom: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  min-height: 23px;
  padding: 0 5px;
  border-radius: 12px;
  border: 1px solid #fff;
  background: #eef2f6;
  color: #5d6b79;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

/* Preserve the ten-photo MV collage and full-bleed entry-banner edges. */
@media (min-width: 768px) {
  body.kato-recruit-top-page .krp__overlay--reference .krp__dialog-media {
    border-radius: var(--kr-small-radius);
  }
}
@media (max-width: 1023px) {
  .krt .krt-visit .krt-media { min-height: 225px; }
}
@media (max-width: 767px) {
  .krt {
    --kr-photo-radius: 24px;
    --kr-card-radius: 22px;
    --kr-small-radius: 18px;
  }
  .krt .krt-hero h1 { letter-spacing: 0; line-height: 1.44; }
  .krt .krt-message .krt-media { border-radius: 0; }
  .krt .krt-visit .krt-media {
    min-height: 0;
    height: 200px;
    margin: 0;
    border-radius: 22px 22px 0 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .krt .krt-numbers__symbol {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
    border-radius: 15px;
  }
  .krt .krt-numbers__pending { min-width: 20px; min-height: 20px; font-size: 9px; }
  .krt .krt-numbers__figure { letter-spacing: -.045em; }
}


/* 2026-10-15 evening: client feedback (larger display headlines, clearer CTAs,
   softly rounded career-step top bars). Body text and English kickers are untouched. */
@media (min-width: 768px) {
  .krt .krt-section__title h2,
  .krt .krt-people__heading h2,
  .krt .krt-career5__heading h2 { font-size: clamp(38px, 2.95vw, 43px); line-height: 1.42; letter-spacing: .035em; }
  .krt .krt-message__copy h2 { font-size: clamp(40px, 3.05vw, 46px); }
  .krt .krt-environment__copy h2 { font-size: clamp(36px, 2.8vw, 42px); }
  .krt .krt-numbers__header h2 { font-size: clamp(25px, 2.1vw, 30px); }
  .krt .krt-visit__body h2 { font-size: clamp(33px, 2.6vw, 38px); }
  .krt .krt-entry__grid h2 { font-size: clamp(37px, 2.85vw, 43px); }
  .krt .krt-faq h2 { font-size: 32px; }
}
@media (max-width: 767px) {
  .krt .krt-section__title h2,
  .krt .krt-people__heading h2,
  .krt .krt-career5__heading h2,
  .krt .krt-environment__copy h2,
  .krt .krt-entry__grid h2 { font-size: clamp(25px, 6.9vw, 29px); line-height: 1.5; letter-spacing: .035em; }
  .krt .krt-message__copy h2 { font-size: clamp(27px, 7vw, 30px); }
  .krt .krt-numbers__header h2 { font-size: clamp(20px, 5.25vw, 24px); }
  .krt .krt-visit__body h2,
  .krt .krt-faq h2 { font-size: 25px; }
}

/* Promote clear clickable call-to-action labels without changing explanatory copy. */
.krt a.krt-btn {
  min-height: 54px;
  padding: 16px 25px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.45;
  border-radius: 9px;
}
.krt a.krt-btn > span { font-size: 20px; }
.krt .krt-text-link { font-size: 18px; }
.krt .krt-header__actions a.krt-header__entry,
.krt .krt-header__actions :is(a,span).krt-header__corp {
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}
.krt .krt-header__actions a.krt-header__entry { font-size: 18px; }
@media (min-width: 768px) and (max-width: 1199px) {
  .krt .krt-header__actions a.krt-header__entry,
  .krt .krt-header__actions :is(a,span).krt-header__corp { font-size: 13px; }
}
@media (max-width: 767px) {
  .krt a.krt-btn { width: 100%; min-height: 52px; font-size: 18px; padding: 15px 18px; }
  .krt .krt-text-link { font-size: 16px; }
}

/* ENTRY: keep both full-card links clickable, with their verified destinations.
   Individual requirement links were removed; each entry card now fills its row. */
.krt a.krt-entry__card {
  display: flex;
  align-items: center;
  min-height: 96px;
  color: #fff!important;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
}
/* Width is confined to the TOP entry section and does not affect other CTAs. */
.krt .krt-entry__line > a.krt-entry__card {
  flex: 1 1 100%;
  width: 100%;
  max-width: none;
}
.krt .krt-entry__card > span { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.krt .krt-entry__card strong {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  color: inherit;
  font-size: clamp(19px, 1.65vw, 24px);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.4;
}
.krt .krt-entry__card strong > span {
  font-size: 24px;
  line-height: 1;
  flex: 0 0 auto;
  transition: transform .22s ease;
}
.krt a.krt-entry__card:is(:hover,:focus-visible) {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0,0,0,.13);
  text-decoration: none;
}
.krt a.krt-entry__card--orange:is(:hover,:focus-visible) { background: #d65d19; }
.krt a.krt-entry__card--navy:is(:hover,:focus-visible) { background: rgba(255,255,255,.11); border-color: #fff; }
.krt a.krt-entry__card:is(:hover,:focus-visible) strong > span { transform: translate(2px,-2px); }
.krt .krt-entry__links a.krt-entry__requirement {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 47px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.5;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease;
}
.krt .krt-entry__links a.krt-entry__requirement:is(:hover,:focus-visible) {
  background: #fff;
  border-color: #fff;
  color: #0b2545!important;
  text-decoration: none;
}
.krt .krt-entry__links a.krt-entry__highschool {
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}
@media (min-width: 768px) and (max-width: 1130px) {
  .krt .krt-entry__grid { gap: 30px; grid-template-columns: .85fr 1.15fr; }
  .krt .krt-entry__line { gap: 10px; }
  .krt a.krt-entry__card { padding: 20px 15px; }
  .krt .krt-entry__card strong { font-size: 18px; }
  .krt .krt-entry__links { min-width: 125px; }
  .krt .krt-entry__links a.krt-entry__requirement { font-size: 12px; padding-inline: 8px; }
}
@media (max-width: 767px) {
  .krt a.krt-entry__card { min-height: 85px; padding: 20px 22px; }
  .krt .krt-entry__card strong { font-size: clamp(18px, 5vw, 22px); }
  .krt .krt-entry__links a.krt-entry__requirement { min-height: 44px; font-size: 16px; }
  .krt .krt-entry__links { margin-top: 10px; }
}

/* Rounded caps only on the colored top bars, preserving existing card geometry,
   the five step offsets and the sweeping arrow's animation. */
.krt .krt-career5__card { position: relative; border-top-color: transparent; }
.krt .krt-career5__step.is-goal .krt-career5__card { border-top-color: transparent; }
.krt .krt-career5__card::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 99px;
  background: #0b2545;
  pointer-events: none;
}
.krt .krt-career5__step.is-goal .krt-career5__card::before { background: #e8651a; }
@media (prefers-reduced-motion: reduce) {
  .krt a.krt-entry__card, .krt .krt-entry__card strong > span { transition: none; }
  .krt a.krt-entry__card:is(:hover,:focus-visible),
  .krt a.krt-entry__card:is(:hover,:focus-visible) strong > span { transform: none; }
}

/* Supplied orange SVG pictograms: make them prominent without stretching
   the artwork or changing the existing CMS number values. */
.krt .krt-numbers__symbol img.krt-numbers__pictogram--provided {
  width: 88%;
  height: 88%;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}


/* 2026-10-15 / Numbers and MV polish
   Numbers remain CMS data; only visual status markers, typography and colors
   change here. Supplied pictogram silhouettes are retained. */

/* The figures lead; typography grows while labels and units stay secondary. */
.krt .krt-numbers__figure {
  font-family: Jost, sans-serif;
  font-size: clamp(64px, 5.25vw, 80px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.krt .krt-numbers__figure small {
  font-size: .30em;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 3px;
}
.krt .krt-numbers__top { gap: 8px; }
/* Warm orange + a measured blue (#2D73A5), with the existing deep navy for figures.
   Alternate the accent color; do not introduce another saturated brand color. */
.krt .krt-numbers__item:nth-child(odd) .krt-numbers__symbol {
  background: #fff0e7;
  color: #e8651a;
}
.krt .krt-numbers__item:nth-child(even) .krt-numbers__symbol {
  background: #eaf3f9;
  color: #2d73a5;
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .krt .krt-numbers__figure { font-size: clamp(56px, 5.4vw, 64px); }
  .krt .krt-numbers__item { padding-left: 18px; padding-right: 18px; }
  .krt .krt-numbers__symbol { width: 55px; height: 55px; flex-basis: 55px; }
}
/* In tablet portrait, large figures need two columns to avoid clipping. */
@media (min-width: 768px) and (max-width: 1023px) {
  .krt .krt-numbers__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .krt .krt-numbers__item { border-bottom: 1px solid #d9dfe6; }
  .krt .krt-numbers__item:nth-child(odd) { border-left: 0; }
  .krt .krt-numbers__item:nth-last-child(-n+2) { border-bottom: 0; }
  .krt .krt-numbers__figure { font-size: clamp(60px, 7vw, 72px); }
}
@media (max-width: 767px) {
  .krt .krt-numbers__figure { font-size: clamp(40px, 10.5vw, 47px); letter-spacing: -.055em; }
  .krt .krt-numbers__figure small { font-size: .31em; margin-left: 1px; }
  .krt .krt-numbers__top { gap: 4px; }
  .krt .krt-numbers__symbol { width: 41px; height: 41px; flex-basis: 41px; }
  .krt .krt-numbers__item,
  .krt .krt-numbers__item:first-child,
  .krt .krt-numbers__item:last-child { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 355px) {
  .krt .krt-numbers__figure { font-size: 37px; }
  .krt .krt-numbers__symbol { width: 36px; height: 36px; flex-basis: 36px; }
  .krt .krt-numbers__item,
  .krt .krt-numbers__item:first-child,
  .krt .krt-numbers__item:last-child { padding-left: 9px; padding-right: 9px; }
}

/* MV portrait emphasis: fade each photograph in after page arrival and enlarge
   its people slightly. No individual-person segmentation is claimed; source
   photography, the ten-tile structure and admin-controlled focal points remain.
   Use only transform/opacity for smooth composited animation. */
.krt .krt-hero__tile { animation-duration: 1.05s; }
.krt .krt-hero__tile img,
.krt .krt-hero__sp-tile img {
  display: block;
  transform-origin: var(--krt-mv-origin, 50% 50%);
  animation: krt-mv-photo-fade-zoom 1.25s cubic-bezier(.20,.68,.22,1) both;
  animation-delay: calc(.14s + var(--tile-delay, 0s));
  will-change: transform, opacity;
}
@keyframes krt-mv-photo-fade-zoom {
  from { opacity: 0; transform: scale(calc(var(--krt-mv-zoom, 1.12) + .065)); }
  to { opacity: 1; transform: scale(var(--krt-mv-zoom, 1.12)); }
}
/* Deliberately moderate enlargement, adjusted for faces near an edge. */
.krt .krt-hero__tile--01 { --krt-mv-zoom: 1.10; --krt-mv-origin: 56% 45%; }
.krt .krt-hero__tile--02 { --krt-mv-zoom: 1.14; --krt-mv-origin: 67% 60%; }
.krt .krt-hero__tile--03 { --krt-mv-zoom: 1.12; --krt-mv-origin: 80% 50%; }
.krt .krt-hero__tile--04 { --krt-mv-zoom: 1.12; --krt-mv-origin: 100% 50%; }
.krt .krt-hero__tile--05 { --krt-mv-zoom: 1.13; --krt-mv-origin: 63% 50%; }
.krt .krt-hero__tile--06 { --krt-mv-zoom: 1.12; --krt-mv-origin: 37% 50%; }
.krt .krt-hero__tile--07 { --krt-mv-zoom: 1.19; --krt-mv-origin: 55% 51%; }
.krt .krt-hero__tile--08 { --krt-mv-zoom: 1.13; --krt-mv-origin: 60% 42%; }
.krt .krt-hero__tile--09 { --krt-mv-zoom: 1.12; --krt-mv-origin: 57% 55%; }
.krt .krt-hero__tile--10 { --krt-mv-zoom: 1.16; --krt-mv-origin: 75% 51%; }
/* The SP collage has only three photographs. Stagger those deliberately. */
.krt .krt-hero__sp-grid > .krt-hero__sp-tile {
  --tile-delay: .10s; --krt-mv-zoom: 1.095; --krt-mv-origin: 86% 40%;
}
.krt .krt-hero__sp-side > .krt-hero__sp-tile:first-child {
  --tile-delay: .29s; --krt-mv-zoom: 1.13; --krt-mv-origin: 64% 45%;
}
.krt .krt-hero__sp-side > .krt-hero__sp-tile:last-child {
  --tile-delay: .48s; --krt-mv-zoom: 1.12; --krt-mv-origin: 30% 50%;
}
/* Honour the recruitment loading meter: do not complete the fade behind it. */
.krt.krt-mv-waiting .krt-hero__tile img,
.krt.krt-mv-waiting .krt-hero__sp-tile img { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .krt .krt-hero__tile img,
  .krt .krt-hero__sp-tile img {
    animation: none !important;
    opacity: 1 !important;
    transform: scale(var(--krt-mv-zoom, 1.12)) !important;
    will-change: auto;
  }
}

/* 2026-10-15 / "Numbers" pictograms: enlarge both illustrations and the
   softly rounded backplates. Keep numeric values, accent colors and the grid
   unchanged. Breakpoints prevent the 31.2 / 207 figures from being crowded. */
.krt .krt-numbers__symbol {
  flex: 0 0 clamp(66px, 5.85vw, 86px);
  width: clamp(66px, 5.85vw, 86px);
  height: clamp(66px, 5.85vw, 86px);
  border-radius: 24px;
}
.krt .krt-numbers__symbol img {
  width: 90%;
  height: 90%;
  max-width: 90%;
  max-height: 90%;
}
.krt .krt-numbers__symbol img.krt-numbers__pictogram--provided {
  width: 94%;
  height: 94%;
  max-width: 94%;
  max-height: 94%;
}
.krt .krt-numbers__pictogram { width: 90%; height: 90%; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .krt .krt-numbers__symbol {
    flex-basis: 63px;
    width: 63px;
    height: 63px;
    border-radius: 19px;
  }
  .krt .krt-numbers__top { gap: 6px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .krt .krt-numbers__symbol {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
    border-radius: 21px;
  }
}
@media (max-width: 767px) {
  .krt .krt-numbers__symbol {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }
  .krt .krt-numbers__top { gap: 3px; }
}
@media (max-width: 355px) {
  .krt .krt-numbers__symbol {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
  .krt .krt-numbers__top { gap: 2px; }
}


/* ENVIRONMENT: two independently CMS-managed photographs (現場/OJT + 研修会).
   When photo #2 is empty the original single-photo layout is preserved. */
.krt .krt-environment__photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 18px;
  height: 620px;
  min-width: 0;
  min-height: 0;
}
.krt .krt-environment__photos--two {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.krt .krt-environment__photos > .krt-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: var(--kr-photo-radius);
  overflow: hidden;
}
.krt .krt-environment__photos > .krt-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .krt .krt-environment__photos { height: 550px; gap: 14px; }
}
@media (max-width: 767px) {
  .krt .krt-environment__photos {
    height: auto;
    gap: 14px;
    grid-template-rows: auto;
  }
  .krt .krt-environment__photos--two { grid-template-rows: auto auto; }
  .krt .krt-environment__photos > .krt-media {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: var(--kr-photo-radius);
  }
  .krt .krt-environment__photos--two > .krt-media { aspect-ratio: 16 / 9; }
}

/* 2026-10-18: client-confirmed line breaks for recruiting copy.
   Preserve natural wrapping on narrow PC, tablet and mobile screens. */
@media (max-width: 1279px) {
  .krt br.krt-desktop-copy-break { display: none; }
}
@media (min-width: 1280px) {
  /* WORK introduction: gain enough width for the two approved full sentences. */
  .krt.krw .krw-intro { grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }
  .krt.krw .krw-intro__body { max-width: none; }
  /* TOP ENTRY introduction: allow the full first sentence without early wrap. */
  .krt .krt-entry__grid > div > p:not(.krt-script-heading) { max-width: none; }
}

/* 2026-10-20 / Approved eight-item NUMBERS dataset.
   Keep the existing four-/two-column grid and type palette. Add a clean second
   row and prevent the longer official notes from exceeding their card widths. */
.krt .krt-numbers__grid--official .krt-numbers__item {
  min-width: 0;
  border-bottom: 1px solid #d9dfe6;
}
.krt .krt-numbers__grid--official .krt-numbers__item:nth-child(4n+1) {
  border-left: 0;
}
.krt .krt-numbers__grid--official .krt-numbers__item:nth-child(-n+4) {
  border-bottom: 1px solid #d9dfe6;
}
.krt .krt-numbers__grid--official .krt-numbers__item:nth-last-child(-n+4) {
  border-bottom: 0;
}
.krt .krt-numbers__grid--official .krt-numbers__figure {
  min-width: 0;
  font-size: clamp(42px, 3.9vw, 59px);
}
.krt .krt-numbers__grid--official .krt-numbers__note {
  line-height: 1.7;
  overflow-wrap: anywhere;
  letter-spacing: .025em;
}
.krt .krt-numbers__asof {
  text-align: right;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .035em;
  color: rgba(11, 37, 69, .62);
}
@media (min-width: 768px) and (max-width: 1023px) {
  .krt .krt-numbers__grid--official .krt-numbers__item:nth-child(odd) { border-left: 0; }
  .krt .krt-numbers__grid--official .krt-numbers__item:nth-child(-n+6) { border-bottom: 1px solid #d9dfe6; }
  .krt .krt-numbers__grid--official .krt-numbers__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 767px) {
  .krt .krt-numbers__grid--official .krt-numbers__item:nth-child(-n+6) { border-bottom: 1px solid #d9dfe6; }
  .krt .krt-numbers__grid--official .krt-numbers__item:nth-last-child(-n+2) { border-bottom: 0; }
  .krt .krt-numbers__grid--official .krt-numbers__figure { font-size: clamp(28px, 8vw, 37px); }
  .krt .krt-numbers__grid--official .krt-numbers__figure small { font-size: .36em; }
  .krt .krt-numbers__asof { font-size: 11px; }
}

/* 2026-10-29: reveal the organic MESSAGE group photo when scrolled into view.
   The original mask, image crop and frame dimensions remain untouched. */
.krt.krt-enhanced .krt-message__photo-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
  /* Hide immediately on JS initialization (no reverse fade or image flash). */
  transition: none;
}
.krt.krt-enhanced .krt-message__photo-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .8s cubic-bezier(.22,.7,.2,1), transform .8s cubic-bezier(.22,.7,.2,1);
}
@media (prefers-reduced-motion: reduce) {
  .krt.krt-enhanced .krt-message__photo-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  .krt.krt-enhanced .krt-message__photo-reveal {
    transition: none;
  }
}

/* 2026-10-29: stagger NUMBERS 1..8 from left to right, then top to bottom. */
.krt.krt-enhanced .krt-numbers__item.krt-reveal {
  transition-duration: .7s;
}
.krt .krt-numbers__grid .krt-numbers__item:nth-child(1) { --reveal-delay: 0ms; }
.krt .krt-numbers__grid .krt-numbers__item:nth-child(2) { --reveal-delay: 120ms; }
.krt .krt-numbers__grid .krt-numbers__item:nth-child(3) { --reveal-delay: 240ms; }
.krt .krt-numbers__grid .krt-numbers__item:nth-child(4) { --reveal-delay: 360ms; }
.krt .krt-numbers__grid .krt-numbers__item:nth-child(5) { --reveal-delay: 480ms; }
.krt .krt-numbers__grid .krt-numbers__item:nth-child(6) { --reveal-delay: 600ms; }
.krt .krt-numbers__grid .krt-numbers__item:nth-child(7) { --reveal-delay: 720ms; }
.krt .krt-numbers__grid .krt-numbers__item:nth-child(8) { --reveal-delay: 840ms; }
/* On mobile, reset the sequence for each screen-height group of two rows. */
@media (max-width: 767px) {
  .krt .krt-numbers__grid .krt-numbers__item:nth-child(4n+1) { --reveal-delay: 0ms; }
  .krt .krt-numbers__grid .krt-numbers__item:nth-child(4n+2) { --reveal-delay: 120ms; }
  .krt .krt-numbers__grid .krt-numbers__item:nth-child(4n+3) { --reveal-delay: 240ms; }
  .krt .krt-numbers__grid .krt-numbers__item:nth-child(4n) { --reveal-delay: 360ms; }
}
