/* Reuse the reference's list, image, number, panel and entry vocabulary.
   Content remains intrinsic-height; the existing controller handles long pages. */
.type-section::after, .contact::after { display: none; }
.type-section .c-heading__subtitle { margin-top: 8px; }

/* Aspirations: offset spoken lines rather than an undifferentiated paragraph. */
#ambition { background: #FFFFFF; }
#ambition .type-copy { max-width: 95%; }
#ambition .type-quotes { display: grid; gap: 10px; margin-block: 24px; }
#ambition .type-quotes p { width: fit-content; max-width: 100%; padding: 12px 16px; border: 1px solid #202226; border-radius: 999px; font-size: 15px; margin: 0; }
#ambition .type-quotes p:nth-child(even) { justify-self: end; background: #FFDA1B; border-color: #FFDA1B; }
#ambition .type-body > p:first-of-type { font-size: 22px; margin-top: 22px; }

/* Work: the source's large image and overlapping underlined statement. */
#work { background: #f0f1f5; }
#work .work-photo { position: relative; width: 100%; height: 200px; margin-top: 24px; }
#work .work-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
#work .type-copy { position: relative; margin: -30px 0 0 18px; padding: 16px; background: #FFFFFF; width: calc(100% - 18px); text-decoration: underline; text-decoration-color: #FB6C07; text-underline-offset: 5px; }
#work .type-body { margin-top: 24px; }

/* Pay: give the actual pay figures the strongest hierarchy. */
#pay { background: #FFDA1B; }
#pay .type-pay { display: block; margin: 24px 0; padding-bottom: 20px; border-bottom: 1px solid #202226; }
#pay .type-pay > span { display: block; font-size: 16px; margin-bottom: 8px; }
#pay .type-pay strong { display: block; font-family: degular-variable,sans-serif; font-size: clamp(33px,9vw,44px); white-space: nowrap; }
#pay .type-pay strong span { font-family: TazuganeGothicStdN-Bold,sans-serif; font-size: 14px; }
#pay .type-labels li { border-color: #202226; background: #FFFFFF; padding: 8px 12px; }
#pay .type-body > p:last-child { margin-top: 24px; }

/* Honest conditions: quiet editorial text with a single emphatic statement. */
#honest { background: #FFFFFF; }
#honest .type-copy { border: 0; padding-left: 0; }
#honest .type-body { padding-top: 12px; }
#honest .type-body p:has(> strong) { margin-block: 24px; padding: 24px 0; border-block: 1px solid #202226; font-size: 22px; line-height: 1.6; }

/* Future choices: reuse the reference's rectangular information panels. */
#future { background: #f0f1f5; }
#future .type-quotes { background: #202226; color: #FFFFFF; padding: 24px 20px; margin-block: 20px; border-radius: 4px; }
#future .type-quotes p + p { margin-top: 16px; }
#future .type-body > p:last-child { background: #FFFFFF; padding: 24px 20px; margin-top: 24px; border-radius: 4px; }
#future .type-body > p:last-child strong { display: block; margin-block: 14px; }

/* People: dark Jobs-style rows, without invented icons or false clickable arrows. */
#people { background: #202226; color: #FFFFFF; }
#people .c-heading, #people .c-heading__title, #people .c-heading__subtitle { color: #FFFFFF; }
#people .type-values { display: grid; gap: 10px; }
#people .type-values li { border: 0; border-radius: 999px; padding: 16px 20px; background: #2b2e32; font-weight: 700; }
#people .type-values--care { margin-top: 20px; }
#people .type-values--care li { border: 1px solid #64666a; background: transparent; }
#people .type-body > p { margin-top: 24px; }
#people .type-body > p strong { color: #FFDA1B; }

/* Final invitation: the reference's full-background Entry composition. */
#first { text-align: center; background: linear-gradient(155deg,#FFDA1B 0%,#FB6C07 100%); }
#first .c-heading { align-items: center; }
#first .c-heading__header { text-align: center; }
#first .type-copy { font-size: clamp(26px,6.5vw,32px); margin-block: 28px; }
#first .type-copy strong { font-size: 1.25em; }
#first .type-body { text-align: left; }
#first .type-button { margin-top: 32px; background: #FFDA1B; border-color: #202226; height: 72px; }

/* Company: a logo-led information sheet, not another message page. */
#company { background: #FFFFFF; }
#company .company-logo { width: 124px; height: 124px; margin: 24px auto 0; }
#company .company-logo img { width: 100%; height: 100%; object-fit: cover; }
#company .type-copy { text-align: center; font-size: 24px; margin-top: 16px; }
#company .type-details > div { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 12px; padding-block: 18px; }
#company .type-details dt { margin: 0; font-size: 14px; }
#company .type-details dd { font-size: 15px; }

/* Job details and form keep distinct functional structures. */
#requirements { background: #FFFFFF; border-top: 12px solid #FFDA1B; }
#requirements .type-details dt { width: fit-content; background: #FFDA1B; padding: 4px 10px; }
#requirements .type-details > div { padding-block: 22px; }
#contact { background: #f0f1f5; border-top: 12px solid #FB6C07; }
#contact .contact-form { background: #FFFFFF; padding: 24px 20px; border-radius: 4px; }
#contact .contact-submit { height: 64px; }
@media (max-width: 360px) {
  #ambition .type-quotes p { font-size: 14px; padding-inline: 12px; }
  #work .work-photo { height: 170px; }
  #people .type-values li { padding: 14px 16px; }
  #contact .contact-form { padding-inline: 16px; }
}

/* Reference-inspired geometry, used only behind the white Reward page. */
#pay::after {
  display: block; content: ''; position: absolute; inset: auto 0 0 auto;
  width: min(52vw,250px); height: min(45vw,217px); z-index: -1;
  background: url('images/corner-geometry.svg') right bottom / contain no-repeat;
  clip-path: none; opacity: .14; pointer-events: none;
}

/* First new reference: a grey editorial field and a white image panel, Work only. */
#work { background: #dedfe2; }
#work::before { content: ''; position: absolute; inset: 0; background: #f0f1f5; clip-path: polygon(0 77%,100% 59%,100% 100%,0 100%); z-index: -2; pointer-events: none; }
#work .work-photo { padding: 16px; height: 175px; background: #FFFFFF; margin-top: 20px; }
#work .work-photo img { border-radius: 4px; }
#work .type-copy { width: 100%; margin: 0; padding: 8px 16px 16px; font-size: 22px; background: #FFFFFF; text-decoration: none; }
#work .type-body { margin-top: 20px; }

/* Reward: a single pay range and emphasis within the intact explanation. */
#pay { background: #FFFFFF; }
#pay .type-copy { font-size: 25px; line-height: 1.5; }
#pay .type-pay { padding: 20px 0; margin-block: 20px; border-block: 2px solid #202226; }
#pay .type-pay > span { font-size: 14px; margin-bottom: 10px; }
#pay .type-pay strong { display: block; font-size: clamp(30px,8.5vw,41px); color: #FB6C07; line-height: 1.25; letter-spacing: -.02em; white-space: nowrap; }
#pay .type-pay strong span { font-size: 13px; color: #202226; }
#pay .type-labels { justify-content: flex-start; gap: 6px; margin-block: 12px; }
#pay .type-labels li { padding: 5px 10px; background: #FFFFFF; border: 1px solid #202226; border-radius: 999px; }
#pay .pay-bonus-inline { font-size: 1.3em; color: #202226; background: linear-gradient(transparent 62%,#FFDA1B 62%); white-space: nowrap; }
#pay .type-body > p:last-child { margin-top: 24px; padding-top: 18px; border-top: 1px solid #d0d1d3; }

/* Occasional slim wedges, following the reference's page-edge accents. */
#ambition::after, #honest::after, #first::after {
  content: ''; display: block; position: absolute; inset: auto 0 0 auto;
  width: 82vw; height: 35dvh; clip-path: polygon(100% 0,100% 70%,0 100%);
  background: linear-gradient(135deg,#FFDA1B,#FB6C07); opacity: .3;
  z-index: -1; pointer-events: none;
}
#honest::before {
  content: ''; position: absolute; inset: 4% 0 auto auto;
  width: 100%; height: 42dvh; background: #f0f1f5;
  clip-path: polygon(0 0,100% 60%,100% 100%); z-index: -2; pointer-events: none;
}
#first::after { background: #FFFFFF; opacity: .35; }

/* Real Talk: facts, quoted expectations, resolve, then a quiet closing.
   Avoid repeating a left-hand rule on unrelated paragraphs. */
#honest .type-body > p:first-child { padding: 0; border: 0; }
#honest .type-body > p:nth-child(2) {
  padding: 14px 16px; background: #f0f1f5; border: 0; margin-top: 18px;
}
#honest .type-body p:has(> strong) {
  margin-block: 22px 18px; padding: 0; border: 0;
  font-size: 22px; line-height: 1.65;
}
#honest .type-body p > strong {
  display: block; width: fit-content; margin-top: 8px;
  background: linear-gradient(transparent 72%,#FFDA1B 72%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
#honest .type-body > p:last-child { padding: 0; border: 0; margin-top: 18px; }

/* Future: three spoken choices build towards the company's final ambition. */
#future::before {
  content: ''; position: absolute; inset: 0 0 auto auto; width: 85%; height: 48%;
  background: #FFDA1B; opacity: .18; clip-path: polygon(100% 0,100% 100%,0 0);
  pointer-events: none; z-index: -2;
}
#future::after {
  content: ''; display: block; position: absolute; right: -8%; bottom: -5%;
  width: 74%; height: 39%; opacity: .15; pointer-events: none; z-index: -1;
  background: radial-gradient(circle,#FB6C07 1.2px,transparent 1.5px) 0 0 / 10px 10px;
  clip-path: polygon(100% 0,100% 100%,0 100%);
}
#future .type-quotes {
  position: relative; display: grid; gap: 9px; padding: 0;
  background: transparent; color: #202226; border-radius: 0;
}
#future .type-quotes p {
  position: relative; width: 94%; margin: 0; padding: 12px 12px 12px 30px;
  background: #202226; color: #FFFFFF; border-radius: 3px;
}
#future .type-quotes p:nth-child(2) { margin-left: 3%; }
#future .type-quotes p:nth-child(3) { margin-left: 6%; }
#future .type-quotes p + p { margin-top: 0; }
#future .type-quotes p::before {
  content: ''; position: absolute; left: 13px; top: 19px; width: 7px; height: 7px;
  background: #FFDA1B; border-radius: 50%;
}
#future .type-quotes p:nth-child(2)::before { border-radius: 0; clip-path: polygon(50% 0,100% 100%,0 100%); }
#future .type-quotes p:nth-child(3)::before { border-radius: 0; }
#future .type-body > p:last-child {
  border-top: 3px solid #FB6C07; border-radius: 0; padding: 16px;
}
#future .type-body > p:last-child strong {
  background: linear-gradient(transparent 70%,#FFDA1B 70%);
}

/* People: bold ambitions and fine-lined cooperation are visibly distinct. */
#people::before {
  content: ''; position: absolute; right: -10%; top: 0; width: 78%; height: 40%;
  border: 1px solid #FFDA1B; opacity: .14; transform: skewY(-24deg);
  pointer-events: none; z-index: -2;
}
#people::after {
  content: ''; display: block; position: absolute; inset: auto 0 0 auto;
  width: 80%; height: 38%; background: #FB6C07; opacity: .09;
  clip-path: polygon(100% 0,100% 100%,0 100%); pointer-events: none; z-index: -1;
}
/* All six qualities form one conversation, using the same bubble treatment. */
#people .type-values, #people .type-values--care { display: grid; gap: 8px; }
#people .type-values--care { margin-top: 8px; }
#people .type-values li, #people .type-values--care li {
  position: relative; width: 94%; padding: 10px 14px;
  border: 1px solid #ffffff28; border-radius: 12px;
  background: #2b2e32; font-weight: 500; justify-self: start;
}
#people .type-values li::before { content: none; }
#people .type-values li::after {
  content: ''; position: absolute; left: -7px; right: auto; top: 13px;
  width: 9px; height: 10px; background: #2b2e32;
  clip-path: polygon(100% 0,100% 100%,0 50%);
}
#people .type-values:not(.type-values--care) li:nth-child(even),
#people .type-values--care li:nth-child(odd) { justify-self: end; }
#people .type-values:not(.type-values--care) li:nth-child(even)::after,
#people .type-values--care li:nth-child(odd)::after {
  left: auto; right: -7px; clip-path: polygon(0 0,100% 50%,0 100%);
}
#people .type-body > p:has(> strong) { border-left: 3px solid #FFDA1B; padding-left: 14px; }

/* Two directional ribbons express learning and action without changing the copy. */
#first .first-flow { display: grid; gap: 12px; margin-block: 20px; }
#first .first-flow__row {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr);
  align-items: center; gap: 8px; padding: 16px 15px 16px 12px;
  background: #202226; color: #fff;
  clip-path: polygon(0 0,94% 0,100% 50%,94% 100%,0 100%,4% 50%);
}
#first .first-flow__row:last-child {
  background: #fff; color: #202226; margin-left: 12px;
}
#first .first-flow__step {
  display: block; padding: 0 0 0 8px; min-height: 0; border: 0;
  background: transparent; font-weight: 700; line-height: 1.6; text-align: left;
  overflow-wrap: anywhere;
}
#first .first-flow__step::before { content: none; }
#first .first-flow__arrow { display: block; color: #FFDA1B; font-size: 26px; font-weight: 500; line-height: 1; }
#first .first-flow__row:last-child .first-flow__arrow { color: #FB6C07; }
#first .first-flow__arrow::before, #first .first-flow__arrow::after { content: none; }

/* Deliberate phrase breaks keep the original left-to-right arrows readable. */
#first .first-flow__row { grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr); gap: 5px; padding: 15px 17px 15px 12px; }
#first .first-flow__step { padding-left: 3px; overflow-wrap: normal; word-break: normal; }
#first .first-flow__phrase { display: block; white-space: nowrap; }
#first .first-flow__arrow { font-size: 23px; }

/* Each phrase has its own rectangular panel; arrows remain outside the panels. */
#first .first-flow__row,
#first .first-flow__row:last-child {
  background: transparent; color: #202226; clip-path: none;
  margin-left: 0; padding: 0; gap: 6px;
  grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr);
  align-items: stretch;
}
#first .first-flow__step {
  display: flex; flex-direction: column; justify-content: center;
  padding: 14px 8px; background: #202226; color: #fff;
  border-radius: 0; line-height: 1.65;
}
#first .first-flow__step:last-child { background: #fff; color: #202226; }
#first .first-flow__arrow,
#first .first-flow__row:last-child .first-flow__arrow {
  align-self: center; color: #202226;
}

/* Centered, finely framed panels retain the deliberate two-line phrases. */
#first .first-flow { gap: 14px; }
#first .first-flow__step {
  align-items: center; justify-content: center; text-align: center;
  padding: 14px 6px; min-height: 74px;
  border: 1px solid #ffffff45; border-radius: 5px;
  background: #202226; box-shadow: 0 4px 0 #20222612;
}
#first .first-flow__step:last-child {
  background: #fff; border-color: #20222625;
  box-shadow: 0 4px 0 #20222612;
}
#first .first-flow__phrase { width: 100%; text-align: center; }

/* Soft asymmetric corners loosen the panels while preserving the process layout. */
#first .first-flow__step {
  border-radius: 17px 17px 17px 5px;
  border-color: #ffffff30; box-shadow: 0 3px 8px #2022260b;
}
#first .first-flow__step:last-child {
  border-radius: 17px 5px 17px 17px;
  border-color: #ffffff80; box-shadow: 0 3px 8px #2022260b;
}

/* Four matching white cards with compact illustrations for each action. */
#first .first-flow__step, #first .first-flow__step:last-child {
  background: #fff; color: #202226; border: 1px solid #2022260d;
  border-radius: 7px; box-shadow: none; padding: 10px 5px 12px;
}
#first .first-flow__icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 8px;
  border-radius: 50%; background: #fff6da; flex-shrink: 0;
}
#first .first-flow__icon svg { display: block; width: 36px; height: 36px; }

#first .first-flow__step, #first .first-flow__step:last-child { border-radius: 7px; }

/* Balance the introduction and closing copy around the centered process diagram. */
#first .type-body > p:not(.first-flow) { text-align: center; }

/* Mobile emphasis follows each text line rather than filling the final block line. */
#future .type-body > p:last-child strong { display: inline; background: linear-gradient(transparent 72%,#FFDA1B 72%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
#top .type-hero__inner { padding-bottom: 90px; }
.section-triangle { position: absolute; right: 0; bottom: 0; width: 66%; height: 25%; z-index: -1; pointer-events: none; clip-path: polygon(100% 0,100% 100%,0 100%); }
.section-triangle .triangle-video { width: 100%; height: 100%; background: linear-gradient(180deg,#FFDA1B,#FB6C07); }
.section-triangle video { width: 100%; height: 100%; object-fit: cover; opacity: 1; filter: grayscale(1) contrast(1.1); mix-blend-mode: soft-light; }
.story-sequence-visible .section-triangle { animation: hero-shape-enter .85s cubic-bezier(.22,1,.36,1) .3s both; }
@media(prefers-reduced-motion:reduce) { .story-sequence-visible .section-triangle { animation: none; } }
/* Only ordinary prose is normalized; titles, cards, labels and large numbers retain their hierarchy. */
.swipe-section:not(#first) .type-body > p { font-size: calc(var(--shared-body-size,16px) / var(--screen-fit,1)); }
#top .type-hero__lead, #top .type-hero__message { font-size: calc(var(--shared-body-size,16px) / var(--screen-fit,1)); }

#top .type-scroll { position: relative; left: auto; bottom: auto; transform: none; display: block; width: fit-content; margin: 64px auto 0; }
#top .type-hero__inner { padding-bottom: 24px; }

#company .type-details dd, #requirements .type-details dd { font-size: calc(var(--shared-body-size,16px) / var(--screen-fit,1)); }
