/* ══════════════════════════════════════════
   ABOUT PAGE — about.css (editorial layout)
   ══════════════════════════════════════════ */

/* ── HERO SPLIT ── */
.ap-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 52% 48%;
  position: relative;
  z-index: 1;
}

/* ── PHOTO SIDE ── */
.ap-photo-side {
  position: relative;
  overflow: hidden;
  /* Fixed height so the container doesn't stretch to show the whole body */
  max-height: 100vh;
}

.ap-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Anchor image to the top so the head is always visible */
  object-position: center top;
  display: block;
  filter: brightness(0.88) contrast(1.05);
}

/* Vignettes: right edge blends into content, bottom fades at waist level */
.ap-photo-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  transparent 50%, var(--bg) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 8%),
    linear-gradient(to top,    var(--bg) 0%, transparent 48%);
  pointer-events: none;
}

/* ── CONTENT SIDE ── */
.ap-content-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 70px 80px 60px;
  position: relative;
  z-index: 1;
}

/* Vertical gold line separator */
.ap-content-side::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.25;
}

.ap-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 24px;
  animation: fadeUp 0.9s ease forwards 0.2s;
  opacity: 0;
}

.ap-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.05;
  text-transform: uppercase;
  animation: fadeUp 0.9s ease forwards 0.4s;
  opacity: 0;
}

.ap-divider {
  width: 50px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 32px 0;
  animation: fadeUp 0.9s ease forwards 0.6s;
  opacity: 0;
}

.ap-bio {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 420px;
  animation: fadeUp 0.9s ease forwards 0.8s;
  opacity: 0;
}

.ap-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  animation: fadeUp 0.9s ease forwards 1s;
  opacity: 0;
}

.ap-skills span {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 5px 14px;
  transition: border-color 0.3s, background 0.3s;
}

.ap-skills span:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
}

.ap-cta {
  display: flex;
  gap: 16px;
  margin-top: 44px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease forwards 1.2s;
  opacity: 0;
}

/* ── NAV ACTIVE STATE ── */
.nav-active {
  color: var(--gold) !important;
  opacity: 1 !important;
}

/* ── RESPONSIVE — TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
  .ap-hero {
    grid-template-columns: 48% 52%;
  }
}

/* ── RESPONSIVE — STACKED (≤ 860px) ── */
@media (max-width: 860px) {
  .ap-hero {
    grid-template-columns: 1fr;
    grid-template-rows: 65vw auto;   /* photo row: proportional to screen width */
    min-height: unset;
  }

  /* Photo anchored to top so head/shoulders always visible */
  .ap-photo {
    object-position: center top;
  }

  /* On stacked layout: fade bottom only, no right-edge fade */
  .ap-photo-vignette {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 8%),
      linear-gradient(to top,    var(--bg) 0%, transparent 45%);
  }

  .ap-content-side {
    padding: 44px 28px 80px;
  }

  .ap-content-side::before {
    display: none;
  }

  .ap-name {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .ap-cta {
    flex-direction: column;
  }
}

/* ── RESPONSIVE — MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .ap-hero {
    grid-template-rows: 72vw auto;   /* taller row on small phones */
  }

  /* Ensure face visible, not cropped */
  .ap-photo {
    object-position: center 5%;
  }

  .ap-photo-vignette {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 10%),
      linear-gradient(to top,    var(--bg) 0%, transparent 40%);
  }

  .ap-content-side {
    padding: 32px 20px 70px;
  }

  .ap-name {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .ap-skills {
    gap: 6px;
  }

  .ap-skills span {
    font-size: 0.52rem;
    padding: 4px 10px;
  }
}

/* ══════════════════════════════════════════
   CAREER & EXPERTISE SECTION
   ══════════════════════════════════════════ */
.ap-career {
  border-top: 1px solid var(--dim2);
  position: relative;
  z-index: 1;
}

.ap-career-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 110px;
}

/* ── Timeline ── */
.ap-tl-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ap-tl-item {
  padding: 40px 0 40px 36px;
  border-left: 1px solid var(--dim2);
  position: relative;
}

.ap-tl-item + .ap-tl-item {
  border-top: 1px solid var(--dim2);
}

.ap-tl-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.ap-tl-dot {
  position: absolute;
  left: -5px;
  top: 44px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.ap-tl-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}

.ap-tl-company {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.ap-tl-note {
  color: var(--text-muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: none;
}

.ap-tl-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
}

.ap-tl-bullets li {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-soft);
  padding-left: 20px;
  position: relative;
}

.ap-tl-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.6;
  font-size: 0.75rem;
}

/* ── Deep Expertise ── */
.ap-depth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dim2);
  border: 1px solid var(--dim2);
}

.ap-depth-card {
  background: var(--bg-card);
  padding: 44px 36px;
  transition: background 0.3s;
}

.ap-depth-card:hover {
  background: #131d30;
}

.ap-depth-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 20px;
  font-style: normal;
}

.ap-depth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.2;
}

.ap-depth-body {
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--text-soft);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .ap-career-inner {
    padding: 70px 28px 90px;
    gap: 80px;
  }

  .ap-depth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ap-tl-item {
    padding: 32px 0 32px 24px;
  }

  .ap-tl-dot {
    top: 36px;
  }
}

/* ── JAPANESE FONT ── */
:lang(ja) .ap-name {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  letter-spacing: 0.04em;
}

:lang(ja) .ap-bio {
  font-family: 'Noto Serif JP', serif;
  font-style: normal;
}
