/* About owns its reading layer; the shared film and gradient keep their lifecycle. */
body.about-profile {
  --about-navy: #070b23;
  --about-navy-rgb: 7, 11, 35;
  --about-white: #f8f9ff;
  --about-muted: rgba(248, 249, 255, .72);
  --about-faint: rgba(248, 249, 255, .48);
  --about-cyan: #36b9ff;
  --about-rule: rgba(248, 249, 255, .18);
  --about-focus: #e0e6ff;
  --about-space: 8px;
  --about-page-width: 1920px;
  --about-gutter: 8.072917%;
  --about-contact-gutter: 11.614583%;
  --about-font: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --about-title-size: clamp(40px, 3.333333vw, 64px);
  --about-copy-size: clamp(18px, 1.458333vw, 28px);
  --about-editorial-size: clamp(17px, 1.145833vw, 22px);
  --about-resume-size: 16px;
  --about-portrait-duration: 2200ms;
  --about-copy-duration: 900ms;
  --about-ease: cubic-bezier(.45, 0, .55, 1);
  --text: var(--about-white);
  --muted: var(--about-muted);
  --accent: var(--about-cyan);
  --page-gutter: var(--about-gutter);
  color: var(--text);
  font-family: var(--about-font);
  -webkit-font-smoothing: antialiased;
}
.about-profile ::selection { color: var(--about-navy); background: var(--about-cyan); }
.about-profile .about-header {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  width: 100%;
  max-width: var(--about-page-width);
  padding-block: max(24px, env(safe-area-inset-top));
  color: var(--about-white);
}
.about-profile .about-header > span { color: var(--about-muted); }
.about-profile .about-header .back { min-height: 44px; }
.about-profile .about-main {
  display: block;
  width: 100%;
  max-width: var(--about-page-width);
  min-height: 100svh;
  margin: 0 auto;
  padding: 0;
}
.about-profile .about-main em { color: var(--about-cyan); font-style: normal; }
.about-profile .about-main p { text-wrap: pretty; }
.about-profile .about-main a:focus-visible,
.about-profile button:focus-visible { outline: 2px solid var(--about-focus); outline-offset: 6px; }
/* The film stays behind the portrait throughout its slow arrival. Each child
   owns its entrance, so the shared direct-child fade cannot darken it twice. */
html[data-video-intro] body.about-profile .about-main > * {
  opacity: 1;
  transform: none;
  transition: none;
}
.about-hero {
  position: relative;
  min-height: 680px;
  aspect-ratio: 1920 / 1114;
  overflow: hidden;
  isolation: isolate;
}
.about-hero__visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; opacity: 1; transition: none; pointer-events: none; }
.about-hero__visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  opacity: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(var(--about-navy-rgb), .22), transparent 20%, transparent 65%, var(--about-navy) 92%, var(--about-navy) 100%),
    linear-gradient(90deg, rgba(var(--about-navy-rgb), .74) 0%, rgba(var(--about-navy-rgb), .64) 32%, rgba(var(--about-navy-rgb), .18) 55%, transparent 72%);
}
.about-hero__image {
  position: absolute;
  z-index: 0;
  left: 0;
  top: -16.247756%;
  display: block;
  width: 108.229167%;
  height: 136.804309%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  pointer-events: none;
}
.about-hero__copy { position: relative; padding: 13.90625% var(--about-gutter) calc(var(--about-space) * 12); }
.about-hero__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--about-space);
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(12px, 1.041667vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .015em;
}
.about-hero__tags > span { white-space: nowrap; }
.about-hero__tags i { color: var(--about-faint); font-style: normal; }
.about-profile .about-hero h1 {
  margin: clamp(32px, 2.5vw, 48px) 0 0;
  color: var(--about-white);
  font-size: var(--about-title-size);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .035em;
}
.about-hero h1 > span { display: block; }
.about-hero__intro {
  max-width: 48%;
  margin: clamp(32px, 2.5vw, 48px) 0 0;
  color: var(--about-white);
  font-size: var(--about-copy-size);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}
.about-resume {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--about-space) * 6);
  margin-top: clamp(56px, 6.25vw, 120px);
  color: var(--about-cyan);
  font-size: var(--about-resume-size);
  line-height: 1.6;
}
.about-resume a { display: inline-flex; align-items: center; min-height: 44px; gap: var(--about-space); }
.about-resume a span { display: inline-block; transition: transform 240ms ease; }
html[data-video-intro="true"] .about-profile .about-hero__image {
  opacity: 0;
  transition: opacity var(--about-portrait-duration) var(--about-ease);
}
html[data-video-intro="true"] .about-profile .about-hero__copy {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--about-copy-duration) var(--about-ease) 160ms, transform var(--about-copy-duration) var(--about-ease) 160ms;
}
html[data-video-intro="true"] .about-profile.is-content-visible .about-hero__image,
html[data-video-intro="true"] .about-profile.is-content-visible .about-hero__copy { opacity: 1; transform: none; }
html[data-video-intro] .about-profile.is-static .about-hero__image,
html[data-video-intro] .about-profile.is-static .about-hero__copy,
html[data-video-intro] .about-profile.is-restored .about-hero__image,
html[data-video-intro] .about-profile.is-restored .about-hero__copy { opacity: 1; transform: none; transition: none; }
html[data-video-intro="true"] .about-profile.is-restored:not(.is-content-visible) .about-hero__image,
html[data-video-intro="true"] .about-profile.is-restored:not(.is-content-visible) .about-hero__copy { opacity: 0; }

.about-editorial {
  position: relative;
  padding: calc(var(--about-space) * 10) var(--about-gutter) 0;
  background: linear-gradient(to bottom, var(--about-navy), rgba(var(--about-navy-rgb), .96) 18%, rgba(var(--about-navy-rgb), .90) 68%, rgba(var(--about-navy-rgb), .97));
}
.about-section-heading { display: flex; align-items: center; gap: calc(var(--about-space) * 5); margin-bottom: calc(var(--about-space) * 8); }
.about-section-heading h2 { flex: 0 0 auto; margin: 0; font-size: var(--about-title-size); font-weight: 500; line-height: 1.5; letter-spacing: .04em; }
.about-section-heading__line { width: 48px; height: 1px; background: var(--about-cyan); }
.about-strengths__list { margin: 0; padding: 0; list-style: none; }
.about-strength {
  display: grid;
  grid-template-columns: minmax(64px, .12fr) minmax(0, .86fr) minmax(0, 1fr);
  align-items: start;
  column-gap: calc(var(--about-space) * 6);
  padding: calc(var(--about-space) * 8) 0;
  border-top: 1px solid var(--about-rule);
}
.about-strength__index { display: flex; flex-direction: column; align-items: flex-start; gap: calc(var(--about-space) * 4); color: var(--about-faint); }
.about-strength__index > span { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13px; font-weight: 400; line-height: 2; letter-spacing: .08em; }
.about-strength h3 { margin: 0; font-size: clamp(24px, 1.666667vw, 32px); font-weight: 500; line-height: 1.65; letter-spacing: -.015em; }
.about-strength h3 > span { display: block; }
.about-strength p,
.about-collaboration p,
.about-attitude p { margin: 0; color: var(--about-muted); font-size: var(--about-editorial-size); font-weight: 400; line-height: 1.95; letter-spacing: .025em; }
.about-collaboration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--about-space) * 12);
  margin-top: calc(var(--about-space) * 10);
  padding-top: calc(var(--about-space) * 10);
  border-top: 1px solid var(--about-rule);
}
.about-collaboration h2 { margin: 0; font-size: clamp(26px, 1.875vw, 36px); font-weight: 500; line-height: 1.7; letter-spacing: -.015em; }
.about-attitude { position: relative; padding: calc(var(--about-space) * 26) 0 calc(var(--about-space) * 25); }
.about-attitude h2 { margin: 0; font-size: clamp(36px, 2.916667vw, 56px); font-weight: 500; line-height: 1.55; letter-spacing: -.025em; }
.about-attitude p { max-width: 800px; margin-top: calc(var(--about-space) * 6); }
/* Reveals are opt-in, and only applied after a live observer is installed. */
.about-profile .about-reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 800ms var(--about-ease); }
.about-profile .about-reveal-pending.is-about-revealed { opacity: 1; transform: none; }

.about-contact { position: relative; aspect-ratio: 1920 / 950; isolation: isolate; overflow: hidden; background: var(--about-navy); }
.about-contact__visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.about-contact__plate { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1920 / 950; -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 36%, #000 44%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, transparent 36%, #000 44%, #000 100%); }
.about-contact__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-contact__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to bottom, var(--about-navy) 0%, transparent 20%, transparent 76%, rgba(var(--about-navy-rgb), .98) 100%),
    linear-gradient(90deg, rgba(var(--about-navy-rgb), .72) 0%, rgba(var(--about-navy-rgb), .58) 30%, transparent 60%);
  pointer-events: none;
}
.about-contact__copy { position: relative; width: 38%; padding: 13.958333% 0 calc(var(--about-space) * 12); margin-left: var(--about-contact-gutter); }
.about-contact h2 { margin: 0; color: var(--about-white); font-size: var(--about-title-size); font-weight: 600; line-height: 1.25; letter-spacing: .035em; }
.about-contact__intro { margin: clamp(32px, 2.5vw, 48px) 0 0; color: var(--about-white); font-size: var(--about-copy-size); line-height: 1.55; letter-spacing: 0; }
.about-contact__address { display: flex; flex-wrap: wrap; align-items: center; gap: var(--about-space); margin: calc(var(--about-space) * 3) 0 0; color: var(--about-muted); font-size: clamp(14px, 1.041667vw, 20px); line-height: 1.6; }
.about-contact__address i { font-style: normal; }
.about-contact__location, .about-contact__address a { display: inline-flex; align-items: center; gap: var(--about-space); }
.about-contact__address a { min-height: 44px; }
.about-contact__address svg { width: 1.142857em; height: 1.142857em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.about-contact__end { position: absolute; inset: auto var(--about-gutter) calc(var(--about-space) * 3); display: flex; align-items: center; justify-content: space-between; gap: calc(var(--about-space) * 3); }
.about-contact__end > span { color: var(--about-faint); font-size: 10px; line-height: 1.6; letter-spacing: .12em; }
.about-contact__end .return { gap: calc(var(--about-space) * 6); min-height: 48px; border-color: var(--about-rule); color: var(--about-muted); font-size: 13px; }
@media (hover: hover) {
  .about-resume a:hover, .about-contact__address a:hover, .about-contact__end a:hover { color: var(--about-white); }
  .about-resume a:hover span { transform: translate(2px, -2px); }
}
@media (min-width: 1921px) {
  .about-profile { --about-title-size: 64px; --about-copy-size: 28px; --about-editorial-size: 22px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .about-profile { --about-gutter: 6.25%; --about-contact-gutter: 8.333333%; }
  .about-hero { min-height: 640px; }
  .about-hero__intro { max-width: 52%; font-size: 18px; }
  .about-strength { column-gap: calc(var(--about-space) * 3); grid-template-columns: 48px minmax(0, .9fr) minmax(0, 1fr); padding-block: calc(var(--about-space) * 6); }
  .about-strength h3 { font-size: 22px; }
  .about-strength p { font-size: 16px; }
  .about-contact__copy { padding-top: 12%; }
  .about-contact h2 { font-size: 36px; }
  .about-contact__intro { margin-top: calc(var(--about-space) * 3); font-size: 18px; }
  .about-contact__address { margin-top: var(--about-space); }
}
@media (max-width: 760px) {
  .about-profile { --about-gutter: 24px; --about-contact-gutter: 24px; --about-title-size: clamp(30px, 8vw, 36px); --about-copy-size: 18px; --about-editorial-size: 16px; }
  .about-profile .about-header { padding-top: max(16px, env(safe-area-inset-top)); font-size: 12px; }
  .about-profile .about-header > span { display: none; }
  .about-hero { display: flex; flex-direction: column; min-height: 0; aspect-ratio: auto; }
  .about-hero__visual { position: relative; z-index: 0; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1 / 1.145; }
  .about-hero__image { top: 0; left: -43%; width: 148%; height: auto; aspect-ratio: 1696 / 1312; object-fit: cover; }
  .about-hero__visual::after { background: linear-gradient(to bottom, rgba(var(--about-navy-rgb), .20), transparent 30%, transparent 84%, var(--about-navy) 94%), linear-gradient(90deg, rgba(var(--about-navy-rgb), .16), transparent 48%); }
  .about-hero__copy { padding: calc(var(--about-space) * 2) var(--about-gutter) calc(var(--about-space) * 10); background: var(--about-navy); }
  .about-hero__tags { gap: 0 var(--about-space); font-size: 11px; line-height: 2; letter-spacing: 0; }
  .about-hero__tags i { display: none; }
  .about-hero__tags > span ~ span::before { display: inline-block; margin-right: var(--about-space); content: "/"; color: var(--about-faint); }
  .about-profile .about-hero h1 { margin-top: calc(var(--about-space) * 3); line-height: 1.35; letter-spacing: .015em; }
  .about-hero h1 > span { white-space: nowrap; }
  .about-hero__intro { max-width: none; margin-top: calc(var(--about-space) * 4); font-size: 17px; line-height: 1.9; }
  .about-hero__intro br { display: none; }
  .about-resume { gap: calc(var(--about-space) * 4); margin-top: calc(var(--about-space) * 4); font-size: 16px; }
  .about-resume a { gap: var(--about-space); }
  .about-editorial { padding-top: calc(var(--about-space) * 4); }
  .about-section-heading { gap: calc(var(--about-space) * 3); margin-bottom: calc(var(--about-space) * 5); }
  .about-section-heading__line { width: 32px; }
  .about-strength { position: relative; grid-template-columns: 32px minmax(0, 1fr); column-gap: calc(var(--about-space) * 2); row-gap: calc(var(--about-space) * 3); padding-block: calc(var(--about-space) * 5); }
  .about-strength__index { gap: 0; }
  .about-strength__index > span { font-size: 11px; line-height: 2.8; }
  .about-strength h3 { font-size: clamp(20px, 5.58vw, 24px); line-height: 1.65; letter-spacing: -.03em; }
  .about-strength p { grid-column: 2; font-size: 16px; line-height: 1.95; letter-spacing: .01em; }
  .about-collaboration { grid-template-columns: minmax(0, 1fr); gap: calc(var(--about-space) * 4); margin-top: calc(var(--about-space) * 6); padding-top: calc(var(--about-space) * 6); }
  .about-collaboration h2 { font-size: 23px; line-height: 1.75; letter-spacing: -.035em; }
  .about-collaboration p { line-height: 1.95; letter-spacing: .01em; }
  .about-attitude { padding: calc(var(--about-space) * 17) 0 calc(var(--about-space) * 14); }
  .about-attitude h2 { font-size: clamp(24px, 6.5vw, 28px); line-height: 1.7; letter-spacing: -.03em; }
  .about-attitude p { margin-top: calc(var(--about-space) * 4); font-size: 16px; line-height: 1.95; letter-spacing: .01em; }
  .about-contact { display: flex; flex-direction: column; aspect-ratio: auto; }
  .about-contact__copy { order: 0; width: auto; margin: 0; padding: calc(var(--about-space) * 7) var(--about-gutter) 0; }
  .about-contact h2 { font-size: 40px; line-height: 1.35; letter-spacing: .015em; }
  .about-contact__intro { margin-top: calc(var(--about-space) * 4); font-size: 18px; line-height: 1.8; }
  .about-contact__address { margin-top: calc(var(--about-space) * 3); font-size: 14px; }
  .about-contact__visual { position: relative; z-index: 0; order: 1; width: 100%; height: auto; aspect-ratio: 1920 / 2014; margin-top: calc(var(--about-space) * 3); }
  .about-contact__plate { top: 0; left: -88%; width: 212%; -webkit-mask-image: none; mask-image: none; }
  .about-contact__visual::after { background: linear-gradient(to bottom, var(--about-navy) 0%, transparent 18%, transparent 80%, var(--about-navy) 100%); }
  .about-contact__end { z-index: 1; }
  .about-contact__end > span { max-width: 96px; font-size: 9px; line-height: 1.8; }
  .about-contact__end .return { gap: calc(var(--about-space) * 4); font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-profile .about-hero__image,
  .about-profile .about-hero__copy,
  .about-profile .about-reveal-pending { opacity: 1 !important; transform: none !important; transition: none !important; }
}
