
/* TOP Hero: shared fallback; compact/SP; K01 PC height. Keep the fractional-width fallback. */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: max(940px, calc(100vw * 940 / 1440));
  padding: 162px 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--color-black);
}
.home-hero__image {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
/* M01 reserves three lines while its text is progressively revealed. */
.home-hero__copy {
  font: 300 36px/1.6 var(--font-english);
  letter-spacing: 0.1em;
  margin-left: 44px;
  width: 680px;
  max-width: calc(100% - 44px);
  min-height: 174px;
  white-space: pre-line;
}
.home-hero__title {
  width: 100%;
  margin-top: 304px;
  line-height: 0;
  aspect-ratio: 1360 / 290;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media (max-width: 1199px) {
  .home-hero {
    min-height: 712px;
    --hero-title-offset: 32px;
    padding-top: 64px;
    padding-bottom: 16px;
  }
  .home-hero__image {
    height: 100%;
    aspect-ratio: auto;
  }
  .home-hero__copy {
    max-width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .home-hero {
    min-height: 540px;
    --hero-title-offset: -8px;
    padding: 48px 24px 8px;
  }
  .home-hero__image {
    object-position: center top;
  }
  .home-hero__copy {
    font-size: 22px;
    min-height: 106px;
    letter-spacing: 0.08em;
    translate: 0 -35px;
  }
  .home-hero__title {
    margin-top: 220px;
  }
  .home-hero__typeface {
    scale: 1.1;
  }
}
@media (min-width: 1200px) {
  .home-hero {
    height: min(784px, calc(100svh - var(--header-height)));
    min-height: 420px;
    padding: 64px 40px 16px;
  }
  .home-hero > picture {
    position: absolute;
    inset: 0;
  }
  .home-hero__image {
    height: 100%;
    aspect-ratio: auto;
    object-position: center;
  }
  .home-hero__copy {
    font-size: clamp(24px, 4svh, 36px);
  }
  .home-hero__title {
    margin-top: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .home-hero__copy {
    font-size: 30px;
  }
}
.home-hero__typeface {
  width: 88%;
  translate: 0 var(--hero-title-offset, 50px);
  height: auto;
  aspect-ratio: 1360/290;
  object-fit: contain;
  pointer-events: none;
}
/* TOP About: PC columns; shared compact spacing; SP spacing. */
.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 48px;
  padding-block: 90px;
  margin-top: 40px;
}
.home-section-heading {
  font-size: 50px;
  line-height: 1.5;
  white-space: pre-line;
  margin-top: 28px;
}
.home-about__body {
  font-size: 18px;
  line-height: 2;
}
@media (max-width: 1199px) {
  .home-about {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 80px;
  }
  .home-section-heading {
    font-size: 38px;
  }
  .home-about__body {
    font-size: 18px;
    line-height: 1.75;
  }
}
@media (max-width: 767px) {
  .home-about {
    padding-block: 64px;
  }
  .home-section-heading {
    font-size: 30px;
    line-height: 1.47;
    margin-top: 20px;
  }
  .home-about__body {
    font-size: 16px;
  }
}
.home-about__body .text-link {
  margin-top: 28px;
}
.home-portfolio {
  padding-block: 64px;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.section-heading-row h2 {
  font: 300 72px/1.5 var(--font-english);
}
.home-ai {
  padding-block: 144px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  background: var(--color-white);
  color: var(--color-ink);
}
.home-ai__copy > p:not(.section-label) {
  font-size: 18px;
  line-height: 2;
  margin-top: 28px;
}
.home-ai__copy > .arrow-link {
  margin-top: 52px;
}
.home-ai__image {
  width: 100%;
  height: 630px;
  object-fit: cover;
}
.about-hero {
  height: 840px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.about-hero__city {
  position: absolute;
  inset: 0 0 30px;
  z-index: -3;
  overflow: hidden;
}
.about-hero__city img {
  position: absolute;
  width: 100%;
  max-width: none;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}
.about-hero__wash {
  position: absolute;
  inset: 0;
  background: var(--color-black);
  opacity: 0.07;
  z-index: -2;
}
.about-hero__fade {
  position: absolute;
  inset: 69% 0 0;
  background: linear-gradient(transparent, var(--color-black));
  z-index: -1;
}
.about-hero__role {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 182px;
  text-align: center;
  font: 300 32px/2.07 var(--font-english);
  letter-spacing: 0.18em;
  perspective: 1000px;
  height: 45px;
}
.about-hero__rotator {
  display: block;
  position: relative;
  transform-style: preserve-3d;
  height: 100%;
  will-change: transform;
}
.about-hero__front,
.about-hero__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}
.about-hero__back {
  transform: rotateY(180deg);
}
.about-hero__name {
  position: absolute;
  top: 214px;
  left: 16%;
  width: 65.4%;
  height: auto;
}
/* About profile: keep each source layout and existing media boundaries. */
.about-profile {
  padding-block: 96px;
}
@media (min-width: 1200px) {
  .about-profile {
    padding: 20px max(80px, calc((100% - var(--content-max)) / 2)) 181px;
    min-height: 484px;
    --profile-indent: 200px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .about-profile {
    padding: 40px 80px 80px;
  }
}
@media (max-width: 767px) {
  .about-profile {
    padding: 32px 24px 64px;
  }
}
.about-profile__copy {
  max-width: 1020px;
  margin: auto auto auto var(--profile-indent, auto);
  font-size: 18px;
  line-height: 2;
}
.about-profile__interest {
  margin-top: 32px;
  font-size: 17px;
}
.about-profile__interest-star {
  color: var(--color-accent);
}
.philosophy-intro {
  padding-top: 64px;
  padding-bottom: 72px;
}
.philosophy-intro h2 {
  font-size: 46px;
  line-height: 1.5;
  margin-top: 24px;
}
.philosophy {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  overflow: hidden;
}
.philosophy__image-window {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}
.philosophy__image-window img {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.philosophy--1 .philosophy__image-window img {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}
.philosophy--2 .philosophy__image-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
}
.philosophy__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, transparent 40%, var(--color-black));
}
.philosophy--2 .philosophy__wash {
  background: linear-gradient(90deg, var(--color-black), transparent 65%);
}
.philosophy__inner {
  display: contents;
}
@media (min-width: 1200px) {
  .philosophy__inner {
    display: block;
    position: relative;
    width: calc(100% - 2 * var(--gutter));
    max-width: var(--content-max);
    margin-inline: auto;
  }
}
.philosophy__number {
  position: absolute;
  left: 64px;
  top: 31px;
  font: 300 48px/1.4 var(--font-english);
}
.philosophy__content {
  position: relative;
  margin-left: 35.4%;
  width: 61.4%;
  padding-top: 97px;
  padding-bottom: 64px;
}
.philosophy__content h3 {
  font: 300 96px/1.5 var(--font-english);
  white-space: pre-line;
}
.philosophy__content p {
  font-size: 24px;
  line-height: 1.65;
  margin-top: 32px;
}
.philosophy--2 .philosophy__number {
  left: 3%;
  top: 57px;
  font-size: 18px;
}
.philosophy--2 .philosophy__content {
  margin-left: 3%;
  width: 40%;
  padding-top: 77px;
}
.philosophy--2 h3 {
  line-height: 0.9;
}
.philosophy--3 .philosophy__number {
  top: 59px;
  font-size: 18px;
}
.philosophy--3 .philosophy__content {
  margin-left: 52.4%;
  width: 44.6%;
  padding-top: 79px;
}
.philosophy--3 h3 {
  line-height: 1;
}
.career {
  background: var(--color-white);
  color: var(--color-ink);
  padding-top: 177px;
  padding-bottom: 80px;
}
.career__heading h2 {
  font-size: 46px;
  line-height: 1.5;
  margin-top: 12px;
}
.career__heading {
  margin-bottom: 64px;
}
.career__timeline {
  list-style: none;
  padding: 0 0 0 56px;
  margin: 0;
  position: relative;
}
.career__timeline:before {
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 0;
  border-left: 2px solid var(--color-career, var(--color-accent));
}
.career__entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 638px) minmax(220px, 1fr);
  column-gap: 64px;
  align-items: start;
  padding-bottom: 96px;
}
.career__entry:before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  left: -43px;
  top: 8px;
}
.career__period {
  font: 400 24px/27.3px var(--font-english);
  margin-bottom: 16px;
  color: var(--color-accent);
}
.career__star {
  color: var(--color-accent);
  position: absolute;
  left: -60.119px;
  top: -5px;
  width: 34.238px;
  height: 32.562px;
}
@media (max-width: 1199px) {
  .career__period {
    text-decoration: none;
  }
}
@media (max-width: 767px) {
  .career__period {
    font-size: 16px;
    line-height: 26px;
  }
  .career__star {
    left: -38px;
    top: 4px;
    width: 22px;
    height: 22px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .career__star {
    left: -40px;
    top: 0;
    width: 22px;
    height: 22px;
  }
}
.career__copy h3 {
  font-size: 28px;
  line-height: 1.2;
  white-space: pre-line;
  margin-bottom: 24px;
}
.career__copy > p:not(.career__period) {
  font-size: 18px;
  line-height: 1.6;
}
.career__copy .career__skills-label {
  margin-top: 30px;
  margin-bottom: 10px;
  font-family: var(--font-english);
  font-size: 18px;
}
.career__image {
  width: 100%;
  max-width: 437px;
  height: auto;
  justify-self: center;
  object-fit: contain;
}
.career__future {
  position: relative;
  padding-left: 56px;
}
.career__future:before {
  content: "";
  position: absolute;
  left: 18px;
  top: -80px;
  height: 88px;
  border-left: 2px dotted var(--color-accent);
}
.career__next {
  position: relative;
  font: 700 27px/28px var(--font-english);
}
.career__next span {
  position: absolute;
  left: -49px;
  top: 0;
  font-size: 28px;
  line-height: 28px;
}
.career__future-copy {
  padding-top: 24px;
}
.career__future h3 {
  font-size: 28px;
  line-height: 1.4;
}
.career__future-copy > p {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 24px;
  max-width: 1000px;
}
.career__future .arrow-link {
  margin-top: 44px;
}
.about-works {
  height: 652px;
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  isolation: isolate;
}
.about-works__heading {
  padding-top: 140px;
  padding-left: max(80px, calc((100% - var(--content-max)) / 2));
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.about-works__heading .section-label {
  color: var(--color-accent);
}
.about-works__heading h2 {
  font: 400 110px/1.5 var(--font-english);
  margin-top: 0;
}
.about-works__image {
  position: absolute;
  left: 32%;
  top: 0;
  width: 73.2%;
  z-index: -1;
}
.about-works__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1026/611;
  object-fit: contain;
}
.about-works__link {
  position: relative;
  margin-top: 16px;
  margin-left: max(80px, calc((100% - var(--content-max)) / 2));
  width: max-content;
}

@media (max-width: 1199px) {
  .home-about__body p {
    max-width: 100%;
  }
  .home-ai {
    grid-template-columns: 1fr;
    padding-block: 64px;
    gap: 40px;
  }
  .home-ai__image {
    height: auto;
    aspect-ratio: 610/630;
  }
  .home-ai__copy > .arrow-link {
    margin-top: 48px;
  }
  .philosophy--2 .philosophy__content {
    width: 63%;
  }
  .philosophy--2 {
    min-height: 673px;
  }
  .philosophy--3 {
    min-height: 638px;
  }
  .philosophy--3 .philosophy__content {
    margin-left: 37%;
    width: 58%;
  }
  .philosophy__content h3 {
    font-size: 72px;
  }
  .career {
    padding-top: 96px;
  }
  .career__entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 80px;
  }
  .career__image {
    justify-self: end;
    max-width: 290px;
  }
  .career__copy h3 {
    font-size: 28px;
  }
  .career__heading h2 {
    font-size: 34px;
  }
  .about-works {
    height: auto;
    display: flex;
    flex-direction: column;
    padding-block: 64px;
  }
  .about-works__heading {
    padding: 0 var(--gutter);
  }
  .about-works__heading h2 {
    font-size: 104px;
  }
  .about-works__image {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    z-index: 0;
    margin-top: 48px;
    order: 3;
  }
  .about-works__link {
    margin: 24px var(--gutter) 0;
    order: 2;
  }
  .about-works__image img {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .home-about__body .text-link {
    margin-top: 24px;
  }
  .home-portfolio {
    padding-block: 48px;
  }
  .section-heading-row h2 {
    font-size: 48px;
  }
  .section-heading-row {
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  .home-ai {
    padding-block: 56px;
    gap: 32px;
  }
  .home-ai__copy > p:not(.section-label) {
    font-size: 18px;
  }
  .about-hero__scroll-stage {
    --pinned-hero-height: 436px;
    --rotation-distance: 800px;
    --rotation-hold: 120px;
  }
  @supports (height: 100lvh) {
    .about-hero__scroll-stage {
      --pinned-hero-height: clamp(160px, calc(100lvh - var(--header-height)), 436px);
    }
  }
  .about-hero {
    height: var(--pinned-hero-height);
  }
  .about-hero__city {
    inset: 0 0 0;
  }
  .about-hero__city img {
    width: auto;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  .about-hero__fade {
    top: 60%;
  }
  .about-hero__role {
    top: calc(100% * 72 / 436);
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.1em;
    height: 28px;
  }
  .about-hero__name {
    left: 6.15%;
    top: 110px;
    width: 87.7%;
  }
  .about-profile__copy {
    font-size: 18px;
  }
  .about-profile__interest {
    font-size: 16px;
  }
  .philosophy-intro {
    padding-block: 48px;
  }
  .philosophy-intro h2 {
    font-size: 28px;
    margin-top: 18px;
  }
  .philosophy,
  .philosophy--2,
  .philosophy--3 {
    min-height: 430px;
  }
  .philosophy__number,
  .philosophy--2 .philosophy__number,
  .philosophy--3 .philosophy__number {
    left: 24px;
    top: 28px;
    font-size: 22px;
  }
  .philosophy__content,
  .philosophy--2 .philosophy__content,
  .philosophy--3 .philosophy__content {
    margin-left: 24px;
    width: calc(100% - 48px);
    padding-top: 108px;
  }
  .philosophy__content h3 {
    font-size: 48px;
    line-height: 1.15;
  }
  .philosophy__content p {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 24px;
  }
  .philosophy__wash {
    background: linear-gradient(90deg, transparent, var(--color-black));
  }
  .career {
    padding-block: 64px;
  }
  .career__heading {
    margin-bottom: 40px;
  }
  .career__heading h2 {
    font-size: 28px;
  }
  .career__timeline {
    padding-left: 32px;
  }
  .career__timeline:before {
    left: 8px;
  }
  .career__entry {
    padding-bottom: 48px;
  }
  .career__copy h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .career__copy > p:not(.career__period) {
    font-size: 16px;
    line-height: 1.75;
  }
  .career__image {
    width: 80%;
    max-width: 270px;
  }
  .career__future {
    padding-left: 32px;
  }
  .career__future:before {
    left: 8px;
    top: -48px;
    height: 54px;
  }
  .career__next {
    font-size: 24px;
  }
  .career__next span {
    left: -35px;
    font-size: 24px;
  }
  .career__future h3 {
    font-size: 22px;
  }
  .career__future-copy > p {
    font-size: 16px;
    line-height: 1.75;
  }
  .about-works {
    padding-top: 64px;
    padding-bottom: 48px;
    gap: 0;
  }
  .about-works__heading {
    padding-inline: 24px;
  }
  .about-works__heading h2 {
    font-size: 64px;
    line-height: 1.5;
  }
  .about-works__image {
    order: 3;
    margin: 48px 0 0;
    aspect-ratio: 294/204;
    width: 100%;
    overflow: hidden;
  }
  .about-works__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-works__link {
    order: 2;
    margin: 24px 24px 0;
  }
}

/* PC source geometry; min heights allow longer Human copy to expand. */
@media (min-width: 1200px) {
  .about-profile__copy {
    max-width: none;
    margin: 0 0 0 var(--profile-indent);
  }
  .about-profile__interest {
    margin-top: 39px;
  }
  .philosophy-intro {
    padding-top: 40px;
    padding-bottom: 96px;
    min-height: 250px;
  }
  .philosophy-intro .section-label {
    font-size: 21px;
    line-height: 20px;
    color: var(--color-accent);
  }
  .philosophy-intro h2 {
    margin-top: 25px;
  }
  .career {
    padding-inline: max(57px, calc((100% - var(--content-max)) / 2));
    padding-bottom: 239px;
  }
  .career__heading {
    margin-bottom: 0;
  }
  .career__heading .section-label {
    font-size: 21px;
    line-height: 20px;
    color: var(--color-accent);
  }
  .career__heading h2 {
    margin-top: 19px;
  }
  .career__timeline {
    padding: 85px 0 0 167px;
  }
  .career__timeline:before {
    left: 124px;
    top: 97px;
    bottom: 170px;
  }
  .career__entry {
    max-width: 1090px;
    grid-template-columns: minmax(0, 1fr) var(--image-width);
    column-gap: 65px;
    min-height: calc(var(--entry-height) + var(--entry-gap));
    padding-bottom: var(--entry-gap);
  }
  .career__image {
    width: var(--image-width);
    height: var(--entry-height);
    object-fit: contain;
    justify-self: end;
  }
  .career__future {
    padding-left: 167px;
  }
  .career__future:before {
    left: 124px;
  }
}
.career__image--flipped {
  transform: scaleX(-1);
}
.career__entry:before {
  border-radius: 0;
  width: 16px;
  height: 16px;
  left: -51px;
}
.career__copy .career__skills-label {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-white);
  background: var(--color-ink);
  width: max-content;
  padding: 0 11px;
  font-weight: 300;
}
.career__skills {
  font-size: 18px !important;
}
.career__next {
  color: var(--color-accent);
}
.home-ai__copy > .arrow-link,
.career__future .arrow-link {
  width: 525px;
  max-width: 100%;
}
@media (max-width: 1199px) {
  .career__entry {
    min-height: 0;
  }
  .career__image {
    height: auto;
  }
  .career__entry:before {
    left: -43px;
  }
}
@media (max-width: 767px) {
  .career__entry:before {
    left: -29px;
    width: 12px;
    height: 12px;
  }
  .career__skills {
    font-size: 16px !important;
  }
}

/* Task04: the Human Native decorative headings are explicit font exceptions. */
.philosophy__content h3 {
  font-family: Sriracha, cursive;
  font-weight: 400;
}
.philosophy__number {
  color: var(--color-accent);
  font-size: 50px;
}
.philosophy__content p {
  font-size: 22px;
  font-weight: 300;
}
.philosophy--1 .philosophy__content {
  text-align: right;
}
.philosophy--3 .philosophy__content {
  text-align: right;
}
@media (min-width: 1200px) {
  .philosophy--1 .philosophy__number,
  .philosophy--3 .philosophy__number {
    left: 64px;
    right: 46px;
    text-align: right;
  }
  .philosophy__content h3 {
    font-size: clamp(72px, 6vw, 80px);
  }
  .philosophy__content p {
    font-size: clamp(18px, 1.5vw, 20px);
  }
  .philosophy--1 .philosophy__content {
    margin-left: 32%;
    width: 68%;
    padding-top: 300px;
    padding-right: 51px;
  }
  .philosophy--1 .philosophy__content h3 {
    line-height: 1.7;
  }
  .philosophy--1 .philosophy__content p {
    margin-top: 0;
  }
  .philosophy--2 .philosophy__number {
    font-size: 50px;
  }
  .philosophy--2 .philosophy__content {
    margin-left: 7%;
    width: 45%;
    padding-top: 216px;
  }
  .philosophy--2 h3 {
    line-height: 0.943;
  }
  .philosophy--2 .philosophy__content p {
    margin-top: 39px;
  }
  .philosophy--3 .philosophy__number {
    font-size: 50px;
  }
  .philosophy--3 .philosophy__content {
    padding-top: 224px;
    text-align: right;
    padding-right: 29px;
  }
  .philosophy--3 h3 {
    line-height: 1;
  }
  .philosophy--3 .philosophy__content p {
    margin-top: 31px;
    white-space: nowrap;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .home-ai__image {
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    margin-left: calc(-1 * var(--gutter));
    height: calc((100vw - 2 * var(--gutter)) * 630 / 610 / 2);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }
  .philosophy-intro {
    padding-block: 64px 40px;
  }
  .philosophy__content,
  .philosophy--2 .philosophy__content,
  .philosophy--3 .philosophy__content {
    margin-left: 40px;
    width: calc(100% - 80px);
    padding-top: 289px;
    padding-bottom: 76px;
  }
  .philosophy__content h3 {
    font-size: 64px;
    line-height: 1.9;
  }
  .philosophy__number,
  .philosophy--2 .philosophy__number,
  .philosophy--3 .philosophy__number {
    left: 40px;
    right: 40px;
    font-size: 64px;
    text-align: right;
  }
  .philosophy--2 .philosophy__number {
    text-align: left;
  }
  .philosophy--2 .philosophy__content {
    padding-top: 315px;
  }
  .philosophy--2 h3 {
    line-height: 0.943;
  }
  .philosophy--2 h3 {
    line-height: 0.943;
  }
  .philosophy--3 h3 {
    line-height: 0.943;
  }
  .philosophy--3 .philosophy__content {
    padding-top: 317px;
    text-align: right;
  }
  .philosophy--3 h3 {
    max-width: 519px;
    margin-left: auto;
  }
  .philosophy__content p {
    font-size: clamp(19px, 2.474vw, 20px);
    margin-top: 0;
  }
  .philosophy--2 .philosophy__content p {
    margin-top: 39px;
  }
  .philosophy--3 .philosophy__content p {
    margin-top: 31px;
  }
  .philosophy--1 .philosophy__content {
    text-align: right;
  }
}
@media (max-width: 767px) {
  .philosophy-intro {
    padding-block: 32px;
  }
  .philosophy-intro .section-label {
    color: var(--color-accent);
  }
  .philosophy-intro h2 {
    margin-top: 12px;
  }
  .philosophy__number,
  .philosophy--2 .philosophy__number,
  .philosophy--3 .philosophy__number {
    font-size: 40px;
    right: 24px;
    text-align: right;
  }
  .philosophy--2 .philosophy__number {
    text-align: left;
  }
  .philosophy__content,
  .philosophy--2 .philosophy__content,
  .philosophy--3 .philosophy__content {
    padding-top: 266px;
    padding-bottom: 40px;
  }
  .philosophy__content h3 {
    font-size: clamp(30px, calc((100vw - 48px) / 9), 38px);
    line-height: 1.37;
    text-align: right;
  }
  .philosophy__content p {
    font-size: clamp(14px, calc((100vw - 48px) / 21.375), 16px);
    line-height: 1.75;
    margin-top: 9px;
  }
  .philosophy--2 .philosophy__content {
    padding-top: 220px;
  }
  .philosophy--2 h3 {
    text-align: left;
    line-height: 1.02;
  }
  .philosophy--2 .philosophy__content p {
    margin-top: 24px;
  }
  .philosophy--3 .philosophy__content {
    padding-top: 201px;
  }
  .philosophy--3 h3 {
    line-height: 1.37;
  }
  .philosophy--3 .philosophy__content p {
    margin-top: 24px;
  }
}

.home-ai__copy {
  min-width: 0;
}
@media (max-width: 1199px) {
  .home-ai {
    grid-template-columns: minmax(0, 1fr);
  }
  .career__heading .section-label {
    color: var(--color-accent);
  }
  .career__copy h3 {
    font-size: 22px;
  }
  .career__copy > p:not(.career__period) {
    font-size: 16px;
    line-height: 1.75;
  }
  .career__skills {
    font-size: 16px !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .about-profile__copy {
    font-size: 18px;
    line-height: 1.8;
  }
  .about-profile__interest {
    font-size: 17px;
    margin-top: 39px;
  }
  .career__entry {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
    gap: 24px;
  }
  .career__image {
    max-width: 240px;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .about-profile__copy {
    font-size: 16px;
    line-height: 1.75;
  }
  .about-profile__interest {
    font-size: 14px;
    margin-top: 24px;
  }
  .career__copy h3 {
    font-size: 20px;
    line-height: 1.6;
  }
  .career__skills {
    font-size: 14px !important;
  }
  .career__image {
    width: 100%;
    max-width: 306px;
  }
  .career__entry {
    grid-template-columns: minmax(0, 1fr);
  }
  .career__future h3 {
    font-size: 20px;
    line-height: 1.6;
  }
}

@media (max-width: 1199px) {
  .career__heading > .section-label {
    color: var(--color-accent);
    text-decoration: none;
  }
}

@media (max-width: 1199px) {
  .home-about > div:first-child {
    padding-bottom: 32px;
    border-bottom: 0;
  }
  .home-about .section-label {
    color: var(--color-accent);
  }
  .home-portfolio,
  .home-ai {
    padding-block: 80px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .portfolio-gallery--home .portfolio-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-gallery--home [data-home-compact="false"] {
    display: none;
  }
  .section-heading-row h2 {
    font-size: 64px;
  }
}
@media (max-width: 767px) {
  .home-portfolio,
  .home-ai {
    padding-block: 64px;
  }
  .home-ai__copy > p:not(.section-label) {
    font-size: 16px;
    line-height: 1.75;
  }
  .portfolio-gallery--home [data-home-compact="false"] {
    display: none;
  }
}

@media (max-width: 767px) {
  .about-hero__city img {
    width: 100%;
    height: 100%;
    left: 0;
    transform: none;
    object-fit: cover;
  }
}

/* Task04: Native repairs and a finite, non-intercepting scroll stage. */
.home-about__divider {
  width: 1px;
  min-height: 260px;
  background: var(--color-white);
  opacity: 0.28;
}
.about-hero__scroll-stage {
  --pinned-stage-height: calc(
    var(--pinned-hero-height) + var(--rotation-distance) + var(--rotation-hold)
  );
}
.about-hero__scroll-stage.is-pinned {
  height: var(--pinned-stage-height);
}
.is-pinned > .about-hero {
  position: sticky;
  top: var(--header-height);
  height: var(--pinned-hero-height);
}
@media (max-width: 767px) and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  /* Reserve the same motion stage before the deferred module initializes. */
  .about-hero__scroll-stage {
    height: var(--pinned-stage-height);
  }
  .about-hero__scroll-stage > .about-hero {
    position: sticky;
    top: var(--header-height);
  }
}
.career {
  position: relative;
}
.career__timeline::before {
  bottom: 0;
}
.career__future::before {
  display: none;
}
.career__continuation {
  --arrow-head-height: 12px;
  position: absolute;
  width: 2px;
  background: var(--color-accent);
  pointer-events: none;
}
.career__continuation > span {
  display: block;
  position: absolute;
  inset: var(--solid-length) 0 0;
  background: var(--color-white);
  border-left: 2px dotted var(--color-accent);
}
.career.has-continuation .career__timeline::before {
  display: none;
}
/* Scroll enhancement replaces the static spine only after layout measurement.
   Keep text in normal flow and readable to assistive technology; the star is a visible destination. */
.career.has-scroll-progress .career__continuation {
  opacity: 0;
}
.career.has-scroll-progress.is-progressing .career__continuation {
  opacity: 1;
}
.career.has-scroll-progress .career__continuation > span {
  display: none;
}
.career.has-scroll-progress .career__continuation::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top: var(--arrow-head-height) solid var(--color-accent);
  border-inline: 10px solid transparent;
}
.career.has-scroll-progress .career__next {
  color: transparent;
  transition: color var(--motion-reveal) var(--ease-fluid);
}
.career.has-scroll-progress .career__future-copy {
  opacity: 0;
  transition: opacity var(--motion-reveal) var(--ease-fluid);
}
.career.has-scroll-progress.is-arrived .career__next {
  color: var(--color-accent);
}
.career.has-scroll-progress.is-arrived .career__future-copy {
  opacity: 1;
}
.arrow-link > span > span:first-child {
  font-weight: 500;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .about-hero__name {
    left: 8.333333%;
    width: 83.333333%;
    top: 214px;
    height: 314px;
    object-fit: contain;
  }
  .career__entry:nth-child(2) .career__image,
  .career__entry:nth-child(4) .career__image,
  .career__entry:nth-child(5) .career__image {
    align-self: end;
  }
}
@media (max-width: 1199px) {
  .home-about > div:first-child {
    padding-bottom: 0;
  }
  .home-about__divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
  }
}
@media (max-width: 767px) {
  .about-hero__role {
    font-size: 20px;
    line-height: 66px;
    height: 26px;
  }
  .about-hero__name {
    top: calc(100% * 122 / 436);
    left: 24px;
    width: calc(100% - 48px);
    max-height: 65%;
    object-fit: contain;
  }
  .career__timeline,
  .career__future {
    padding-left: 36px;
  }
  .career__entry::before {
    left: -34px;
  }
  .career__image {
    width: 260px;
    height: 260px;
    max-width: 100%;
    justify-self: center;
  }
  .about-works__image {
    aspect-ratio: 390/270.61224;
  }
  .about-works__link .arrow-link {
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .is-pinned .about-hero__role {
    top: calc(182px * var(--hero-content-scale, 1));
  }
  .is-pinned .about-hero__name {
    top: calc(214px * var(--hero-content-scale, 1));
    max-height: calc(var(--pinned-hero-height) * 0.65);
    object-fit: contain;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .career__timeline,
  .career__future {
    padding-left: 48px;
  }
  .career__entry::before {
    left: -37px;
  }
}

/* Measured tracking and supporting-copy styles from the current Native nodes. */
.about-hero__role {
  letter-spacing: 10px;
}
.philosophy__number {
  font-weight: 400;
}
.philosophy__content p,
.career__copy > p,
.career__future-copy > p {
  font-weight: 400;
}
@media (min-width: 1200px) {
  .philosophy--3 .philosophy__content {
    margin-left: 50%;
    width: 50%;
    padding-right: 51px;
  }
}
@media (max-width: 767px) {
  .about-hero__role {
    letter-spacing: 4px;
  }
  .philosophy__content h3 {
    line-height: 52px;
  }
  .philosophy--2 .philosophy__content h3 {
    line-height: 38.5px;
  }
  .philosophy__number {
    line-height: 56px;
  }
  .career__copy > .career__skills {
    line-height: 26px;
  }
}

@media (max-width: 767px) {
  .career__copy h3 {
    margin-bottom: 16px;
  }
  .career__copy .career__skills-label {
    margin-top: 16px;
    margin-bottom: 10px;
    line-height: 26px;
  }
  .career__skills {
    padding-bottom: 10px;
  }
}
/* WORKS source hierarchy: a 70px label slot and 90px CTA breathing space on PC. */
@media (min-width: 1200px) {
  .about-works__heading .section-label {
    font-size: 21px;
    line-height: 20px;
    margin-left: 5px;
  }
  .about-works__heading h2 {
    margin-top: 20px;
    line-height: 113.685px;
    min-height: 148px;
  }
  .about-works__link {
    margin-top: 40px;
  }
  .about-works__link .arrow-link {
    font-size: 21px;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .about-works__heading .section-label {
    font-size: 21px;
    line-height: 20px;
    margin-left: 5px;
  }
  .about-works__heading h2 {
    font-size: 80px;
    line-height: 1.5;
    margin-top: 2px;
  }
}
@media (max-width: 767px) {
  .about-works__heading .section-label {
    font-size: 18px;
    line-height: 28px;
  }
  .about-works__heading h2 {
    line-height: 88px;
    margin-top: 7px;
  }
  .about-works__link .arrow-link > a {
    min-height: 28px;
    padding-top: 0;
    line-height: 28px;
  }
  .about-works__link .arrow-link__line {
    height: 11px;
    margin-top: 0;
  }
  .career__next {
    font-size: 20px;
    line-height: 30px;
  }
}

@media (min-width: 1200px) {
  .career__image {
    height: var(--image-height);
    align-self: end;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .career__image {
    height: var(--image-tablet-height);
  }
}

@media(max-width:1199px) { .career__future-title > span { display:block; } }
@media(min-width:768px) and (max-width:1199px) {
 .philosophy__content p { max-width:100%; }
 .philosophy--1 .philosophy__content p,.philosophy--3 .philosophy__content p { margin-left:auto; }
}

