@charset "utf-8";

/* PROFILE page only — requires html.site-shell + site-shell.css before this file */

html.site-shell #profile.profile-article {
  background: var(--pf-surface);
  border-radius: var(--pf-radius);
  border: 1px solid var(--pf-line);
  box-shadow: var(--pf-shadow);
  padding: 32px 24px 36px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  html.site-shell #profile.profile-article {
    padding: 40px 40px 44px;
  }
}

html.site-shell .profile-hero {
  text-align: center;
  margin-bottom: 28px;
}

html.site-shell .profile-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pf-accent);
  margin: 0 0 12px;
}

html.site-shell #profile h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--pf-ink);
  margin: 0 0 12px;
  line-height: 1.25;
}

html.site-shell .profile-lead {
  font-size: 14px;
  font-weight: 400;
  color: var(--pf-ink-muted);
  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

html.site-shell .profile-visual {
  margin: 0 0 36px;
  border-radius: var(--pf-radius-sm);
  overflow: hidden;
  border: 1px solid var(--pf-line);
}

html.site-shell .profile-visual img {
  display: block;
  width: 100%;
  height: auto;
}

html.site-shell .profile-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

html.site-shell .profile-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--pf-accent) 0%,
    var(--pf-accent-soft) 100%
  );
  border-radius: 1px;
}

html.site-shell .profile-timeline li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 28px;
}

html.site-shell .profile-timeline li:last-child {
  margin-bottom: 0;
}

html.site-shell .profile-timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pf-surface);
  border: 2px solid var(--pf-accent);
  box-shadow: 0 0 0 3px var(--pf-accent-soft);
}

html.site-shell .profile-timeline time {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--pf-accent);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

html.site-shell .profile-timeline__body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--pf-ink);
  letter-spacing: 0.02em;
}

html.site-shell #profile p {
  margin-top: 0;
  margin-bottom: 0;
  color: inherit;
}

html.site-shell .profile-cta-wrap {
  text-align: center;
  margin: 8px 0 32px;
}

html.site-shell a.profile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--pf-ink);
  text-decoration: none;
  border: 1px solid var(--pf-line);
  border-radius: 999px;
  background: var(--pf-surface);
  box-shadow: 0 4px 16px rgba(44, 40, 38, 0.06);
  transition: border-color 0.3s var(--pf-ease), background 0.3s var(--pf-ease),
    transform 0.25s var(--pf-ease), color 0.3s var(--pf-ease);
}

html.site-shell a.profile-cta:hover {
  border-color: var(--pf-accent);
  background: var(--pf-accent-soft);
  color: var(--pf-accent);
  transform: translateY(-2px);
}

html.site-shell a.profile-cta:visited {
  color: var(--pf-ink);
}

html.site-shell a.profile-cta:focus-visible {
  outline: 2px solid var(--pf-accent);
  outline-offset: 3px;
}

@media screen and (max-width: 800px) {
  html.site-shell #profile.profile-article {
    padding: 24px 18px 28px;
  }

  html.site-shell .profile-timeline li {
    padding-left: 24px;
  }
}
