.front-page {
  --front-content: 1224px;
  color: var(--bc-brown);
  background: #fff;
}

.front-page section {
  position: relative;
}

/* Only decorative canvases clip at section boundaries; all copy remains in normal flow. */
.front-artwork { position: absolute; inset: 0; overflow: clip; pointer-events: none; }

/* Hero */
.front-hero {
  display: flow-root;
  height: 756px;
  background: var(--bc-cream);
}

.front-page > .front-hero {
  overflow: visible;
}

.front-hero::after {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 216px;
  background: rgb(14 130 41 / 75%);
  backdrop-filter: blur(15px);
  mask: url("../../assets/images/front/wave-hero-pc-mask.svg") center bottom / 100% 216px no-repeat;
  content: "";
  pointer-events: none;
}

/* Overlap both sides of the raster seam, including fractional zoom/device pixels. */
.front-hero::before {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 4px;
  background: var(--bc-green);
  content: "";
  pointer-events: none;
}

.front-hero__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: url("../../assets/images/front/hero-background-pc.webp") center top / cover no-repeat;
  opacity: 0.5;
}

.front-hero__line {
  position: absolute;
  z-index: 1;
  /* Export adds 24px of blur bleed around the 1211x936 source group. */
  top: -222px;
  left: -281px;
  width: 1259px;
  height: 984px;
  max-width: none;
  pointer-events: none;
}

.front-hero > .front-artwork {
  right: auto;
  width: min(950px, 100%);
}

.front-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  /* The photo viewport reaches the page edge; a frame keeps its own 492px width. */
  grid-template-columns: minmax(24px, 1fr) 720px 492px 12px minmax(24px, 1fr);
  width: 100%;
}

.front-hero__copy {
  /* Own the left gutter so the title and its decoration share one origin. */
  --hero-copy-inset: max(56px, calc(100% - 772px));
  grid-column: 1 / 3;
  position: relative;
  width: auto;
  min-height: 620px;
}

.front-hero__script {
  position: absolute;
  /* Figma 293:115: unrotated image; origin is 76px left of the title. */
  top: 161.52555px;
  left: calc(var(--hero-copy-inset) - 76px);
  width: 305.011566px;
  height: 149.874832px;
  max-width: none;
  object-fit: contain;
  opacity: 0.5;
  transform-origin: 0 0;
  transform: matrix(0.9967619181, -0.0804085806, 0.0794726536, 0.9968370199, 0, 0);
}

.front-hero__title {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 177px minmax(0, 1fr);
  column-gap: 19px;
  width: 738px;
  margin-top: 210px;
  margin-left: var(--hero-copy-inset);
  color: var(--bc-brown);
  font-family: var(--bc-font-mincho);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
}

.front-hero__title-lead {
  align-self: start;
  color: var(--bc-green);
  font-size: 8.2rem;
  line-height: 119px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.front-hero__title-inline {
  align-self: start;
  width: min(456px, 100%);
  margin-top: 23px;
  font-size: 6.4rem;
  line-height: 93px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.front-hero__title-inline span,
.front-hero__accent {
  color: var(--bc-green);
}

.front-hero__title-line {
  display: block;
  grid-column: 1 / -1;
  padding-left: 3px;
  font-size: 5.4rem;
  line-height: 94px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.front-hero__title-line:nth-last-child(2) {
  margin-top: 1px;
}

.front-hero__visual {
  --front-hero-slide-gap: 72px;
  position: relative;
  z-index: 2;
  grid-column: 3 / -1;
  width: auto;
  height: 592px;
  margin-top: 91px;
}

.front-hero__slides {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

.front-hero__track {
  display: flex;
  gap: var(--front-hero-slide-gap);
  width: 492px;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.front-hero__track.is-moving {
  transform: translate3d(var(--front-hero-track-offset, -564px), 0, 0);
  will-change: transform;
}

.front-hero__track.is-resetting {
  transition: none;
}

.front-hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  background: #fff;
  padding: 16px;
  border-radius: 240px 240px 24px 24px;
  opacity: .8;
  /* Figma blur24 exports with Gaussian stdDeviation12 for farther previews. */
  filter: blur(12px);
  transition: opacity 800ms ease, filter 800ms ease;
}

.front-hero__slide:nth-child(2),
.front-hero__track.is-moving .front-hero__slide:nth-child(3) { filter: blur(4px); }
.front-hero__slide.is-active,
.front-hero__track.is-moving .front-hero__slide:nth-child(2) { opacity: 1; filter: none; }
.front-hero__track.is-moving .front-hero__slide:first-child { opacity: .8; filter: blur(4px); }
.front-hero__track.is-resetting .front-hero__slide { transition: none; }

.front-hero__photo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 230px 230px 16px 16px;
}

.front-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.front-hero__slide-next {
  position: absolute;
  z-index: 3;
  top: 257px;
  /* The control reaches its Figma offset at full width and remains fully operable near the PC breakpoint. */
  left: min(500px, calc(100% - 86px));
  width: 78px;
  height: 78px;
}

.front-hero__slide-next img:first-child {
  position: absolute;
  inset: 0;
  width: 78px;
  height: 78px;
}

.front-hero__slide-next img:last-child {
  position: absolute;
  top: 35px;
  left: 32px;
  width: 16px;
  height: 9px;
  object-fit: contain;
  transition: transform 200ms ease;
}

html.no-js .front-hero__slide-next {
  display: none;
}

.front-hero__message {
  position: absolute;
  z-index: 5;
  right: 33px;
  bottom: 40px;
  width: 394px;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.05em;
  text-align: right;
  white-space: nowrap;
}

.front-hero__message::before,
.front-hero__message::after {
  position: absolute;
  height: 1px;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
  pointer-events: none;
}

.front-hero__message::before {
  top: 32px;
  left: 1px;
  width: 393px;
  background-image: url("../../assets/images/front/hero-message-line-1.svg");
  background-size: 394px 1px;
}

.front-hero__message::after {
  top: 61px;
  right: 0;
  width: 350px;
  background-image: url("../../assets/images/front/hero-message-line-2.svg");
  background-size: 351px 1px;
}

.front-hero__ticker {
  position: absolute;
  z-index: 6;
  bottom: 24px;
  left: 0;
  width: 568px;
  height: 76px;
  color: var(--bc-brown);
  background: #fff;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 8px rgba(136, 152, 137, 0.25);
}

.front-hero__ticker > a,
.front-hero__ticker > div {
  display: grid;
  grid-template-columns: 52px 70px 1px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 0 40px;
  font-size: 1.4rem;
  line-height: 28px;
}

.front-hero__ticker-label {
  display: grid;
  place-items: center;
  min-height: 20px;
  color: #fff;
  background: var(--bc-green);
  border-radius: 4px;
  font-family: var(--bc-font-serif);
  line-height: 20px;
}

.front-hero__ticker i {
  width: 1px;
  height: 16px;
  background: #d8d2ce;
}

.front-hero__ticker-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.front-hero__ticker > div {
  grid-template-columns: 52px minmax(0, 1fr);
}

.front-hero__scroll {
  position: absolute;
  z-index: 6;
  top: auto;
  bottom: -12px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  text-decoration: none;
  color: var(--bc-green);
  font-family: var(--bc-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: normal;
  transform: translateX(-50%);
}

.front-hero__scroll i {
  display: block;
  width: 1px;
  height: 60px;
  margin-top: 12px;
  background: var(--bc-green);
  transition: transform 200ms ease;
}

/* Message */
.front-message {
  scroll-margin-top: 80px;
  min-height: 1072px;
  padding: 64px 0 120px;
  color: #fff;
  background: var(--bc-green);
}

.front-message__character {
  position: absolute;
  top: 175px;
  /* Keep the decoration beside the centered 650px heading throughout PC widths. */
  right: max(24px, calc(50% - 470px));
  width: min(122px, calc((100% - 650px) / 2 - 24px));
  height: auto;
  aspect-ratio: 122 / 129;
  object-fit: cover;
  pointer-events: none;
}

.front-message__heading {
  position: relative;
  width: 650px;
  margin-inline: auto;
  text-align: center;
}

.front-message .front-section-label {
  min-height: 24px;
  padding-left: 0;
  vertical-align: top;
}

.front-message .front-section-label::before {
  display: none;
}

.front-message__heading h2 {
  margin-top: 16px;
  font-family: var(--bc-font-mincho);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 64px;
}

.front-message__heading > span {
  display: block;
  width: 80px;
  height: 1px;
  margin: 23px auto 0;
  background: #fff;
}

.front-message__content {
  position: static;
  display: grid;
  grid-template-columns: 480px 640px;
  gap: 107px;
  width: var(--front-content);
  margin: 52px auto 0;
}

.front-message__media {
  position: relative;
  height: 540px;
}

.front-message__photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 50% 50% 24px 24px / 41.5294% 41.5294% 24px 24px;
}

.front-message__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-message__photo--back {
  top: 0;
  right: -16px;
  width: 353px;
  height: 425px;
  background: url("../../assets/images/front/message-arch-pc.svg") center / 100% 100% no-repeat;
  border-radius: 0;
}

.front-message__photo--front {
  z-index: 2;
  top: 59px;
  left: -1px;
  width: 353px;
  height: 425px;
  padding: 11.4865px;
  background: #fff;
}

.front-message__photo-crop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50% 50% 16px 16px / 41.0719% 41.0719% 16px 16px;
}

.front-message__photo--front img {
  position: absolute;
  top: -10.17%;
  left: -8.16%;
  width: 116.314%;
  height: 152.606%;
  max-width: none;
  /* The crop box narrows at intermediate widths; never squeeze the photograph. */
  object-fit: cover;
}

.front-message__media-character {
  position: absolute;
  z-index: 1;
  top: 55%;
  left: 70.87047%;
  width: 69px;
  height: 94px;
  object-fit: cover;
  transform: rotate(6.21614deg);
  transform-origin: top left;
}

.front-message__body {
  display: flex;
  flex-direction: column;
  min-height: 636px;
  padding-top: 28px;
  font-size: 1.6rem;
  line-height: 32px;
}

.front-message__body p + p {
  margin-top: 32px;
}

.front-message__body .front-button {
  margin-top: auto;
  margin-left: auto;
}

/* Business */
.front-business {
  min-height: 943px;
  padding: 120px 0;
  background: var(--bc-cream);
}

.front-business__decor {
  position: absolute;
  top: 0;
  width: 220px;
  height: 100%;
  background: url("../../assets/images/front/business-wave-pc-left-updated.svg") left top / 220px 100% no-repeat;
  pointer-events: none;
}

.front-business__decor--left {
  left: 0;
}

.front-business__decor--right {
  top: 0;
  right: 0;
  width: 220px;
  height: calc(100% - 2px);
  background: url("../../assets/images/front/business-wave-pc-right-updated.svg") right top / 220px 100% no-repeat;
}

.front-business__intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 392px 808px;
  gap: 24px;
  width: var(--front-content);
  margin-inline: auto;
}

.front-business__intro > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.front-business__intro h2 {
  margin-top: 8px;
  font-family: var(--bc-font-mincho);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 64px;
}

.front-business__intro h2 span {
  color: var(--bc-green);
  font-weight: 500;
}

.front-business__lead {
  padding-top: 37px;
  font-size: 1.6rem;
  line-height: 32px;
}

.front-business__lead p:nth-child(2) {
  margin-top: 32px;
}

.front-business__cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 576px);
  gap: 72px;
  width: var(--front-content);
  margin: 64px auto 0;
}

.front-business__cards::after {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 1px;
  height: 446px;
  max-height: calc(100% - 18px);
  background: url("../../assets/images/front/business-divider-current.svg") center top / 1px 446px no-repeat;
  content: "";
  pointer-events: none;
  transform: translateX(-1px);
}

.front-business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 40px 72px;
  background: #fff;
  border-radius: 8px;
  text-align: center;
  box-shadow: inset 0 0 0 1px transparent;
  transition: color 180ms ease, box-shadow 180ms ease;
}

.front-business-card > p {
  margin-top: 0;
  color: var(--bc-green);
  font-family: var(--bc-font-serif);
  font-size: 1.6rem;
  line-height: 16px;
}

.front-business-card h3 {
  flex: 1;
  margin-top: 8px;
  font-family: var(--bc-font-mincho);
  font-size: 2.4rem;
  line-height: 48px;
}

.front-business-card__media {
  position: relative;
  width: min(448px, calc(100% - 48px));
  aspect-ratio: 448 / 264;
  margin-top: 16px;
}

.front-business-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.front-business-card__arrow {
  position: absolute;
  right: -24px;
  bottom: -32px;
  width: 64px;
  height: 64px;
  color: #fff;
  background: var(--bc-green);
  border-radius: 4px;
  transition: background-color 180ms ease, color 180ms ease;
}

/* Workplace photos: the overflow belongs to the horizontal photo strip. */
.front-gallery {
  padding-bottom: 120px;
  background: #edf2ea;
}

.front-gallery__viewport { overflow: hidden; }
.front-gallery__track { display: flex; width: max-content; }
.front-gallery__group {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 16px 0 0;
  list-style: none;
}
.front-gallery__item { flex: 0 0 416px; width: 416px; padding: 8px; background: #fff; border-radius: 8px; }
.front-gallery__item img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 267; border-radius: 8px; }
.front-gallery.is-animated .front-gallery__track { animation: front-gallery-flow var(--front-gallery-duration, 81s) linear infinite; }
.front-gallery.is-paused .front-gallery__track { animation-play-state: paused; }
@keyframes front-gallery-flow {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--front-gallery-distance)), 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .front-gallery.is-animated .front-gallery__track { animation: none; }
}

/* Staff voice */
.front-voice {
  min-height: 661px;
  padding: 120px 0;
  background: #fff;
}

.front-voice__decor {
  position: absolute;
  z-index: 0;
  display: block;
  border-radius: 8px;
  filter: blur(2px);
  opacity: 0.3;
}

.front-voice__decor--top-large {
  top: 40px;
  left: calc(50% + 356px);
  width: 240px;
  height: 160px;
  background: #67be5b;
}

.front-voice__decor--top-small {
  top: 80px;
  left: calc(50% + 520px);
  width: 160px;
  height: 120px;
  background: var(--bc-green);
}

.front-voice__decor--bottom {
  top: 425px;
  /* Figma: 24px decoration origin versus 108px panel origin (84px overlap). */
  left: calc(50% - 612px - 84px);
  width: 260px;
  height: 180px;
  background: #6bcca7;
}

.front-voice__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 59.477124% 40.522876%;
  width: var(--front-content);
  min-height: 421px;
  margin-inline: auto;
  overflow: hidden;
  color: #fff;
  background: #7cc185 url("../../assets/images/front/voice-panel-gradient.svg") center / 100% 100% no-repeat;
  border-radius: 8px;
}

.front-voice__panel::before {
  position: absolute;
  inset: 0;
  background: url("../../assets/images/front/voice-texture-stock-preview.png") 0 -106px / 100.654% 206.888% no-repeat;
  background-image: image-set(
    url("../../assets/images/front/voice-texture-stock-preview.webp") type("image/webp"),
    url("../../assets/images/front/voice-texture-stock-preview.png") type("image/png")
  );
  content: "";
  opacity: 0.3;
  pointer-events: none;
}

.front-voice__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 64px;
}

.front-voice__copy h2 {
  margin-top: 8px;
  font-family: var(--bc-font-mincho);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 64px;
}

.front-voice__copy > p:last-of-type {
  width: 640px;
  margin-top: 24px;
  font-size: 1.6rem;
  line-height: 32px;
}

.front-voice__copy .front-button {
  margin-top: 40px;
}

.front-voice__questions {
  position: relative;
  z-index: 2;
}

.front-voice__questions p {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding-inline: 20px;
  color: var(--bc-brown);
  background: #fff;
  border-radius: 8px;
  font-family: var(--bc-font-mincho);
  font-size: 1.8rem;
  line-height: 32px;
  text-align: center;
  white-space: nowrap;
}

.front-voice__questions p::after {
  position: absolute;
  bottom: -9px;
  left: calc(50% - 10px);
  width: 20px;
  height: 12px;
  background: url("../../assets/images/icons/speech-tail.svg") center / contain no-repeat;
  content: "";
  transform: rotate(180deg);
}

.front-voice__questions p span {
  color: var(--bc-green);
}

.front-voice__questions p:nth-child(1) {
  top: 64px;
  left: 0;
  width: min(250px, 100%);
}

.front-voice__questions p:nth-child(2) {
  top: 137px;
  right: 12.903226%;
  width: min(280px, 87.096774%);
}

.front-voice__questions p:nth-child(3) {
  top: 226px;
  left: 32px;
  width: min(300px, calc(100% - 32px));
}

.front-voice__questions > img {
  position: absolute;
  z-index: 2;
  right: 12.903226%;
  bottom: 40px;
  width: 120px;
  height: 127px;
  object-fit: cover;
}

/* Environment */
.front-environment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 224px 88px 912px minmax(0, 1fr);
  min-height: 976px;
  padding: 120px 0;
  background: var(--bc-green-pale);
  border-radius: 0 80px 0 0;
}

/* Fewer cards in phase one must not retain the three-card section height. */
.front-environment.front-environment--limited {
  min-height: 0;
}

.front-environment::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(916px, 100%);
  height: 340px;
  background: url("../../assets/images/front/wave-voice.svg") 0 100% / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.front-environment__title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  width: 224px;
  margin-top: 80px;
}

.front-environment__title h2 {
  margin-top: 9px;
  font-family: var(--bc-font-mincho);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 64px;
  white-space: nowrap;
}

.front-environment__cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 4;
  grid-row: 1;
  gap: 8px;
  width: 912px;
}

.front-environment-card {
  position: relative;
  display: grid;
  grid-template-columns: 516px 240px;
  gap: 28px;
  align-items: center;
  min-height: 240px;
  padding: 40px 64px;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px transparent;
  transition: color 180ms ease, box-shadow 180ms ease, border-radius 240ms ease;
}

.front-environment-card:first-child {
  border-radius: 24px 24px 4px 4px;
}

.front-environment-card:last-child {
  border-radius: 4px 4px 24px 24px;
}

.front-environment-card__heading p {
  color: var(--bc-green);
  font-family: var(--bc-font-serif);
  font-size: 1.6rem;
  line-height: 24px;
}

.front-environment-card__heading h3 {
  margin-top: 8px;
  font-family: var(--bc-font-mincho);
  font-size: 2.4rem;
  line-height: 36px;
}

.front-environment-card__heading span {
  display: block;
  margin-top: 16px;
  font-size: 1.4rem;
  line-height: 28px;
}

.front-environment-card__heading {
  grid-column: 1;
  grid-row: 1;
}

.front-environment-card figure {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 240px;
  height: 160px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.front-environment-card figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.front-environment-card:first-child figure > img {
  position: absolute;
  top: -2.5%;
  left: -3.333%;
  width: 111.667%;
  height: 111.875%;
  max-width: none;
}

.front-environment-card figure.front-environment-card__facility-images > img {
  position: absolute;
  top: -10%;
  left: -7.5%;
  width: 115%;
  height: 115%;
  max-width: none;
}

.front-environment-card__arrow {
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--bc-green);
  border-radius: 8px;
  transition: background-color 180ms ease, color 180ms ease;
  transform: translateX(24px);
}

/* Candidate */
.front-candidate {
  min-height: 873px;
  padding: 120px 0;
  background: #fff;
}

.front-candidate__heading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 520px;
  margin-inline: auto;
  text-align: center;
}

.front-candidate__heading h2 {
  margin-top: 8px;
  font-family: var(--bc-font-mincho);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 64px;
}

.front-candidate__heading > span {
  display: block;
  width: 80px;
  height: 1px;
  margin: 8px auto 0;
  background: var(--bc-green);
}

.front-candidate__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 392px);
  gap: 24px;
  width: var(--front-content);
  margin: 39px auto 0;
}

.front-candidate__cards::before,
.front-candidate__cards::after {
  position: absolute;
  z-index: 3;
  top: 217px;
  width: 50px;
  height: 50px;
  background: url("../../assets/images/icons/plus.svg") center / 50px 50px no-repeat;
  content: "";
  pointer-events: none;
}

.front-candidate__cards::before {
  left: calc(33.333333% - 27px);
}

.front-candidate__cards::after {
  left: calc(66.666667% - 19px);
}

.front-candidate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 484px;
  padding: 39px 40px 24px;
  background: var(--bc-cream);
  border-radius: 8px;
  text-align: center;
}

.front-candidate-card h3 {
  position: relative;
  z-index: 2;
  font-family: var(--bc-font-mincho);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 32px;
}

.front-candidate-card__media {
  position: relative;
  display: flow-root;
  width: 100%;
  height: 220px;
  margin-top: 22px;
}

.front-candidate-card__media::before {
  position: absolute;
  top: 0;
  left: calc(50% - 100px);
  width: 200px;
  height: 220px;
  background: url("../../assets/images/front/candidate-arch.svg") center / contain no-repeat;
  content: "";
}

.front-candidate-card__media img {
  position: relative;
  display: block;
  width: 256px;
  height: 177px;
  max-width: 100%;
  margin: 35px auto 0;
  object-fit: contain;
}

.front-candidate-card > i {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  align-self: center;
  width: 40px;
  height: 0;
  margin-top: 19px;
}

/* Figma positions this 1px stroke by its center, not the image's top edge. */
.front-candidate-card > i::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: url("../../assets/images/front/candidate-divider-outlined.svg?v=2") center / 40px 2px no-repeat;
  transform: translateY(-50%);
  content: "";
}

.front-candidate-card > p {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-size: 1.6rem;
  line-height: 32px;
  text-align: left;
}

.front-candidate-card:nth-child(n + 2) > p {
  margin-inline: -16px;
  text-align: center;
}

/* Entry */
.front-entry {
  min-height: 696px;
  color: var(--bc-brown);
  background: var(--bc-green);
}

.front-entry__line {
  position: absolute;
  z-index: 0;
  /* The exported blur includes 24px of bleed outside the 806x696 design group. */
  top: -24px;
  left: -294px;
  width: 854px;
  height: 744px;
  max-width: none;
  pointer-events: none;
}

.front-entry__artwork { right: auto; width: min(604px, 100%); }

.front-entry__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 696px;
  padding-top: 200px;
}

.front-entry__links {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 16px;
  width: 600px;
  margin-left: calc((100% - var(--front-content)) / 2);
}

.front-entry-card {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 40px;
  gap: 16px;
  align-items: center;
  min-height: 120px;
  padding: 39px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  transition: color 180ms ease;
}

.front-entry-card--apply {
  min-height: 240px;
  align-items: start;
}

.front-entry-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

.front-entry-card > img:first-child {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.front-entry-card h2 {
  font-family: var(--bc-font-mincho);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 36px;
}

.front-entry-card p {
  margin-top: 0;
  color: var(--bc-green);
  font-family: var(--bc-font-serif);
  font-size: 1.6rem;
  line-height: 24px;
}

.front-entry-card--apply p {
  color: #ee6d6b;
}

.front-entry-card__illustration {
  position: absolute;
  right: 103px;
  bottom: 39px;
  width: 170px;
  height: 124px;
}

.front-entry-card__illustration img { display: block; width: 100%; height: 100%; }

.front-entry-card__arrow {
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--bc-green);
  border-radius: 4px;
  transition: background-color 180ms ease, color 180ms ease;
}

.front-entry-card--apply .front-entry-card__arrow {
  align-self: end;
  background: linear-gradient(98.4deg, #ee6d6b 0%, #d8b460 100%);
}

.front-entry__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(50% + 116px);
  margin: 0;
  overflow: hidden;
  -webkit-mask: url("../../assets/images/front/entry-mask.svg?v=20260909") 0 0 / 100% 100% no-repeat;
  mask: url("../../assets/images/front/entry-mask.svg?v=20260909") 0 0 / 100% 100% no-repeat;
}

.front-entry__media img {
  position: absolute;
  top: -2.3%;
  left: -68.875%;
  width: 211.921%;
  height: 103.448%;
  max-width: none;
  object-fit: cover;
}

.front-entry__characters {
  position: absolute;
  z-index: 4;
  top: 100px;
  left: calc((100% - var(--front-content)) / 2 - 2px);
  display: block;
  width: 74px;
  height: 90px;
  overflow: hidden;
}

.front-entry__characters img {
  position: absolute;
  top: -14.71%;
  left: -13.51%;
  width: 135.14%;
  height: 124.97%;
  max-width: none;
}

.front-entry__characters--yellow {
  left: calc((100% - var(--front-content)) / 2 + 80px);
  width: 75px;
}

.front-entry__characters--yellow img {
  left: -21.33%;
  width: 133.33%;
}

/* News */
.front-news {
  min-height: 675px;
  padding: 198px 0 160px;
  background: #fff;
}

.front-news::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  background: url("../../assets/images/front/wave-footer.svg") 50% 100% / 100% 120px no-repeat;
  content: "";
  pointer-events: none;
  transform: scaleX(-1);
}

.front-news__panel {
  position: absolute;
  top: 120px;
  right: 0;
  width: calc(50% + 404px);
  height: 635px;
  background: var(--bc-cream);
  border-radius: 24px 0 4px 4px;
}

.front-news__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 312px 912px;
  width: var(--front-content);
  margin-inline: auto;
}

.front-news__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.front-news__heading h2 {
  margin-top: 8px;
  font-family: var(--bc-font-mincho);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 64px;
}

.front-news__body {
  position: relative;
}

.front-news__list {
  position: relative;
}

.front-news-item {
  position: relative;
  display: block;
  padding: 2px 0 24px;
  font-size: 1.6rem;
  line-height: 28px;
  transition: color 180ms ease;
}

.front-news-item + .front-news-item { margin-top: 21px; }

.front-news-item::before,
.front-news-item::after {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  pointer-events: none;
}

.front-news-item::before {
  background: repeating-linear-gradient(90deg, var(--front-news-divider, #e3d4cd) 0 4px, transparent 4px 6px);
}

.front-news-item::after {
  background: repeating-linear-gradient(90deg, var(--bc-green) 0 4px, transparent 4px 6px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.front-news-item__meta {
  display: grid;
  grid-template-columns: 63px 70px;
  gap: 16px;
  align-items: start;
  font-size: 1.4rem;
}

.front-news-item__meta > span {
  display: grid;
  place-items: center;
  min-height: 22px;
  padding-inline: 8px;
  color: #fff;
  background: var(--bc-green);
  border-radius: 4px;
  font-family: var(--bc-font-serif);
  line-height: 14px;
}

.front-news-item__title {
  display: block;
  margin-top: 14px;
}

.front-news__empty {
  min-height: 213px;
  padding: 42px 0;
  background: repeating-linear-gradient(90deg, #e3d4cd 0 4px, transparent 4px 6px) 0 100% / 100% 1px no-repeat;
}

.front-news__body .front-button {
  margin-top: 40px;
  margin-left: auto;
}

.front-hero__slide-next:focus-visible img:last-child { transform: translateX(4px); }
.front-hero__scroll:focus-visible { opacity: 0.7; }
.front-hero__scroll:focus-visible i { transform: translateY(4px); }

.front-business-card[href]:focus-visible,
.front-environment-card:focus-visible { color: var(--bc-green); box-shadow: inset 0 0 0 1px var(--bc-green); }
.front-business-card[href]:focus-visible .front-business-card__arrow,
.front-environment-card:focus-visible .front-environment-card__arrow { color: var(--bc-green); background: var(--bc-green-pale); }
.front-environment-card:focus-visible { border-radius: 24px; }
.front-environment-card:focus-visible figure > img { transform: scale(1.1); }
.front-news-item:focus-visible::after { opacity: 1; }
.front-news-item:focus-visible,
.front-hero__ticker a:focus-visible { color: var(--bc-green); }
.front-entry-card:focus-visible { color: var(--bc-green); }
.front-entry-card--requirements:focus-visible .front-entry-card__arrow { color: var(--bc-green); background: #fff; }
.front-entry-card--apply:focus-visible { color: #ee6d6b; }

@media (hover: hover) and (pointer: fine) {
  .front-hero__slide-next:hover img:last-child { transform: translateX(4px); }
  .front-hero__scroll:hover { opacity: 0.7; }
  .front-hero__scroll:hover i { transform: translateY(4px); }
  .front-business-card[href]:hover,
  .front-environment-card:hover { color: var(--bc-green); box-shadow: inset 0 0 0 1px var(--bc-green); }
  .front-business-card[href]:hover .front-business-card__arrow,
  .front-environment-card:hover .front-environment-card__arrow { color: var(--bc-green); background: var(--bc-green-pale); }
  .front-environment-card:hover { border-radius: 24px; }
  .front-environment-card:hover figure > img { transform: scale(1.1); }
  .front-news-item:hover::after { opacity: 1; }
  .front-news-item:hover,
  .front-hero__ticker a:hover { color: var(--bc-green); }
  .front-entry-card:hover { color: var(--bc-green); }
  .front-entry-card--requirements:hover .front-entry-card__arrow { color: var(--bc-green); background: #fff; }
  .front-entry-card--apply:hover { color: #ee6d6b; }
}

@media (prefers-reduced-motion: reduce) {
  .front-hero__slide-next:is(:hover, :focus-visible) { opacity: 0.7; }
  .front-hero__slide-next:is(:hover, :focus-visible) img:last-child,
  .front-hero__scroll:is(:hover, :focus-visible) i { transform: none; }
}

@media (max-width: 1327px) {
  .front-page {
    --front-content: calc(100% - (var(--bc-gutter) * 2));
  }

  .front-message,
  .front-business,
  .front-voice,
  .front-environment,
  .front-candidate,
  .front-entry,
  .front-news {
    height: auto;
  }

  .front-message {
    min-height: 0;
    padding: 64px var(--bc-gutter) 96px;
  }

  .front-message__heading,
  .front-message__content,
  .front-business__intro,
  .front-business__cards,
  .front-voice__panel,
  .front-candidate__cards,
  .front-news__inner {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
  }

  .front-message__heading {
    margin-inline: auto;
  }

  .front-message__content {
    position: static;
    grid-template-columns: minmax(360px, 44%) minmax(0, 1fr);
    gap: clamp(48px, 7vw, 80px);
    margin-top: 100px;
  }

  .front-message__media {
    --front-message-photo-width: min(353px, 84%);
    width: 100%;
  }

  .front-message__photo--back,
  .front-message__photo--front {
    width: var(--front-message-photo-width);
  }

  .front-message__media-character {
    /* Preserve the desktop peek from the photo edge as the media column narrows. */
    left: calc(var(--front-message-photo-width) - 13px);
  }

  .front-message__body {
    display: flex;
    min-height: 0;
    padding-top: 0;
    font-size: 1.5rem;
  }

  .front-message__body .front-button {
    margin-top: 32px;
  }

  .front-business {
    min-height: 900px;
    padding: 96px var(--bc-gutter);
  }

  .front-business__intro {
    grid-template-columns: minmax(320px, 34%) minmax(0, 1fr);
  }

  .front-business__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 72px);
    margin-top: 72px;
  }

  .front-voice {
    min-height: 620px;
    padding: 96px var(--bc-gutter);
  }

  .front-voice__panel {
    min-height: 428px;
  }

  .front-voice__decor--bottom {
    left: calc(var(--bc-gutter) - 84px);
  }

  .front-voice__copy {
    padding: 48px;
  }

  .front-voice__copy h2 {
    font-size: 2.8rem;
  }

  .front-voice__copy > p:last-of-type {
    width: auto;
  }

  .front-environment {
    display: block;
    min-height: 960px;
    padding: 96px var(--bc-gutter);
  }

  .front-environment__title,
  .front-environment__cards {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .front-environment__title {
    /* The desktop offset aligns a side heading; stacked content needs only section padding. */
    margin-top: 0;
    margin-bottom: 40px;
  }

  .front-environment__cards {
    gap: 12px;
  }

  .front-environment-card {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .front-candidate {
    min-height: 0;
    padding: 96px var(--bc-gutter);
  }

  .front-gallery {
    padding-bottom: 96px;
  }

  .front-candidate__heading {
    position: relative;
    top: auto;
  }

  .front-candidate__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 56px;
  }

  .front-candidate-card {
    padding-inline: 24px;
  }

  .front-candidate-card > p {
    margin-inline: 0;
  }

  .front-news {
    min-height: 650px;
    padding: 170px var(--bc-gutter) 150px;
  }

  .front-news__panel {
    top: 100px;
    left: 24%;
    width: 76%;
  }

  .front-news__inner {
    display: grid;
    grid-template-columns: 26% minmax(0, 1fr);
  }
}


/* Each intermediate column keeps a 256px illustration and 24px side padding.
 * Below 1024px, connect all three cards vertically instead of isolating one. */
@media (min-width: 900px) and (max-width: 1327px) {
  .front-candidate__cards::before,
  .front-candidate__cards::after {
    display: none;
  }

  .front-candidate-card h3 { min-height: 64px; }

  .front-candidate-card + .front-candidate-card::after {
    position: absolute;
    z-index: 3;
    top: 217px;
    left: -37px;
    width: 50px;
    height: 50px;
    background: url("../../assets/images/icons/plus.svg") center / contain no-repeat;
    content: "";
    pointer-events: none;
  }
}

@media (min-width: 900px) and (max-width: 1023px) {
  .front-candidate__cards {
    grid-template-columns: minmax(0, 1fr);
    width: min(440px, 100%);
  }

  .front-candidate-card + .front-candidate-card::after {
    top: -37px;
    left: calc(50% - 25px);
  }
}

/* Intermediate desktop keeps the staggered composition in normal flow. */
@media (min-width: 900px) and (max-width: 1327px) {
  .front-voice__panel { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr); align-items: center; gap: 40px; padding: 40px; min-height: 0; }
  .front-voice__copy { min-width: 0; padding: 0; }
  .front-voice__copy h2 { font-size: 28px; line-height: 44px; }
  .front-voice__copy h2 > span { display: block; }
  .front-voice__copy > p:last-of-type { width: auto; margin-top: 24px; }
  .front-voice__copy .front-button { max-width: 100%; margin-top: 32px; }
  .front-voice__questions { display: flex; flex-direction: column; gap: 25px; width: 100%; max-width: 440px; justify-self: end; }
  .front-voice__questions p { position: relative; inset: auto; flex: none; min-height: 56px; height: auto; margin: 0; padding: 12px 16px; font-size: 18px; line-height: 32px; white-space: normal; }
  .front-voice__questions p:nth-child(1) { inset: auto; align-self: flex-start; width: min(250px, 100%); }
  .front-voice__questions p:nth-child(2) { inset: auto; align-self: flex-end; width: min(280px, 100%); }
  .front-voice__questions p:nth-child(3) { inset: auto; align-self: flex-start; width: min(300px, 100%); }
  .front-voice__questions > img { position: static; align-self: flex-end; width: 100px; height: 106px; margin: 0 16px 0 0; object-fit: contain; }
}

/* Keep the desktop photo beside the entry links, with both columns in flow. */
@media (min-width: 900px) and (max-width: 1327px) {
  .front-entry { min-height: 0; }
  .front-entry__inner { display: grid; grid-template-columns: minmax(400px, 1.1fr) minmax(0, 1fr); gap: 32px; min-height: 0; padding: 0 0 0 var(--bc-gutter); }
  .front-entry__links { width: 100%; max-width: 600px; margin: 164px 0 80px; }
  .front-entry__characters { top: 64px; left: var(--bc-gutter); }
  .front-entry__characters--yellow { left: calc(var(--bc-gutter) + 82px); }
  .front-entry-card { padding: 24px; }
  .front-entry-card--apply { grid-template-rows: auto auto; row-gap: 16px; }
  .front-entry-card--apply > img:first-child { grid-column: 1; grid-row: 1; }
  .front-entry-card--apply > div { grid-column: 2 / -1; grid-row: 1; }
  .front-entry-card__illustration { position: static; grid-column: 2; grid-row: 2; justify-self: end; width: 170px; height: 124px; }
  .front-entry-card--apply .front-entry-card__arrow { grid-column: 3; grid-row: 2; }
  .front-entry__media { position: relative; inset: auto; align-self: stretch; min-width: 0; }
  .front-entry__media img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
}
