/* Human Portfolio — people and relationships */
:root {
  --hp-night: #101d2c;
  --hp-night-deep: #09131f;
  --hp-paper: #f5f1e8;
  --hp-paper-bright: #fbf9f4;
  --hp-ink: #172433;
  --hp-muted: #68727c;
  --hp-gold: #c79a4a;
  --hp-gold-light: #e1c58e;
  --hp-blue: #7895ae;
  --hp-line: rgba(23, 36, 51, .14);
}

/* ─── HERO ─────────────────────────────── */
.hp-hero {
  min-height: min(780px, calc(100svh - 48px));
  background:
    radial-gradient(circle at 50% 44%, rgba(199, 154, 74, .14), transparent 25%),
    linear-gradient(145deg, var(--hp-night-deep), var(--hp-night));
  color: #fff;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 24px 100px;
}
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, #000, transparent 78%);
}
.hp-hero-orbit {
  position: absolute;
  border: 1px solid rgba(225, 197, 142, .18);
  border-radius: 48% 52% 50% 47% / 51% 46% 54% 49%;
  pointer-events: none;
}
.hp-hero-orbit--one { width: min(64vw, 720px); aspect-ratio: 1; transform: rotate(-7deg); }
.hp-hero-orbit--two { width: min(88vw, 980px); aspect-ratio: 1; border-color: rgba(120, 149, 174, .12); transform: rotate(11deg); }
.hp-hero-inner { position: relative; z-index: 1; max-width: 900px; text-align: center; }

.hp-kicker,
.hp-section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--hp-gold-light);
  margin: 0 0 26px;
}
.hp-hero h1 {
  font-family: var(--font-display-jp);
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.35;
  margin: 0;
  text-wrap: balance;
}
html[lang="en"] .hp-hero h1 { font-family: var(--font-display-en); font-style: italic; letter-spacing: .01em; }
.hp-lead {
  max-width: 730px;
  margin: 34px auto 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2;
}
.hp-scroll {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 48px;
  color: var(--hp-gold-light);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
  border-bottom: 1px solid rgba(225,197,142,.35);
  padding-bottom: 5px;
  transition: opacity .2s;
}
.hp-scroll:hover { opacity: .75; }

/* ─── SECTION SHELL ────────────────────── */
.hp-section { padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 64px); }
.hp-section-head {
  max-width: 820px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  text-align: center;
}
.hp-section-num { color: var(--hp-gold); margin-bottom: 18px; }
.hp-section-head h2,
.hp-closing h2 {
  font-family: var(--font-display-jp);
  color: var(--hp-ink);
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .05em;
  margin: 0;
  text-wrap: balance;
}
html[lang="en"] .hp-section-head h2,
html[lang="en"] .hp-closing h2 { font-family: var(--font-display-en); font-style: italic; letter-spacing: .01em; }
.hp-section-head > p:last-child {
  color: var(--hp-muted);
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 2;
  margin: 24px auto 0;
  max-width: 760px;
}

/* ─── 01 · THE PEOPLE ──────────────────── */
.hp-section--people { background: var(--hp-paper-bright); }

/* Name quick-nav */
.hp-people-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  max-width: 1200px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  justify-content: center;
}
.hp-people-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  padding: 7px 16px;
  border: 1px solid var(--hp-line);
  border-radius: 100px;
  color: var(--hp-muted);
  text-decoration: none;
  background: white;
  transition: border-color .18s, color .18s;
  white-space: nowrap;
}
.hp-people-chip:hover,
.hp-people-chip:focus-visible { border-color: var(--hp-gold); color: var(--hp-ink); outline: none; }

/* Card grid */
.hp-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.hp-card {
  background: white;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 108px;
  transition: box-shadow .22s ease, transform .22s ease;
}
.hp-card:hover { box-shadow: 0 10px 36px rgba(23,36,51,.08); transform: translateY(-3px); }

.hp-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 0;
  position: relative;
}
.hp-card-mono {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199,154,74,.55);
  border-radius: 52% 48% 45% 55% / 48% 55% 45% 52%;
  color: var(--hp-gold);
  font-family: var(--font-display-jp);
  font-size: 26px;
  background: var(--hp-paper-bright);
}
.hp-card-mono--alt {
  color: var(--hp-blue);
  border-color: rgba(120,149,174,.65);
  border-radius: 46% 54% 53% 47% / 56% 46% 54% 44%;
}
.hp-card-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--hp-gold);
  position: absolute;
  top: 18px;
  right: 18px;
}

.hp-card-body {
  padding: 16px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hp-card-field {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: .22em;
  color: var(--hp-gold);
  margin: 0 0 10px;
}
.hp-card h3 {
  font-family: var(--font-display-jp);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  color: var(--hp-ink);
  letter-spacing: .06em;
  margin: 0 0 11px;
  line-height: 1.4;
}
html[lang="en"] .hp-card h3 { font-family: var(--font-display-en); font-style: italic; font-size: clamp(17px, 1.8vw, 22px); }
.hp-card-quote {
  color: var(--hp-ink);
  font-family: var(--font-display-jp);
  font-size: 12.5px;
  line-height: 1.8;
  margin: 0 0 9px;
}
html[lang="en"] .hp-card-quote { font-style: italic; }
.hp-card-desc {
  color: var(--hp-muted);
  font-size: 13px;
  line-height: 1.85;
  margin: 0;
  flex: 1;
}
.hp-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--hp-ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--hp-gold);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color .18s;
}
.hp-card-link:hover,
.hp-card-link:focus-visible { color: #93691e; outline: none; }

/* Building/placeholder card */
.hp-card--building {
  border-style: dashed;
  opacity: 0.7;
}
.hp-card--building:hover { transform: none; box-shadow: none; }
.hp-card-building {
  color: var(--hp-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  margin: 0;
}

/* ─── 02 · RELATIONSHIP ────────────────── */
.hp-section--network { background: var(--hp-paper); }

.hp-relation-web {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.hp-relation-center {
  width: 148px;
  height: 148px;
  border: 1px dashed rgba(199,154,74,.72);
  border-radius: 48% 52% 46% 54% / 53% 47% 55% 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display-jp);
  font-size: 22px;
  letter-spacing: .12em;
  color: var(--hp-ink);
  background: rgba(245,241,232,.8);
  flex-shrink: 0;
}
.hp-relation-center small {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
  color: var(--hp-muted);
}
.hp-relation-names {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hp-relation-names li a {
  font-family: var(--font-display-jp);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--hp-ink);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid rgba(120,149,174,.42);
  border-radius: 100px;
  background: white;
  transition: border-color .18s, background .18s;
}
.hp-relation-names li a:hover,
.hp-relation-names li a:focus-visible { border-color: var(--hp-gold); background: var(--hp-paper-bright); outline: none; }
html[lang="en"] .hp-relation-names li a { font-family: var(--font-display-en); font-style: italic; }

.hp-network-note {
  text-align: center;
  color: var(--hp-muted);
  font-size: clamp(14px, 1.45vw, 17px);
  line-height: 2;
  max-width: 760px;
  margin: 0 auto;
}

/* ─── 03 · WHAT CONNECTS US ─────────────── */
.hp-section--process { background: white; }
.hp-process-list {
  max-width: 960px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--hp-line);
  border-left: 1px solid var(--hp-line);
}
.hp-process-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: clamp(26px, 3.5vw, 44px);
  border-right: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
}
.hp-process-no { font-family: var(--font-mono); font-size: 10px; color: var(--hp-gold); padding-top: 5px; }
.hp-process-list h3 { font-family: var(--font-display-jp); font-size: 22px; color: var(--hp-ink); margin: 0 0 11px; }
.hp-process-list p { color: var(--hp-muted); font-size: 14px; line-height: 1.9; margin: 0; }

/* ─── 04 · PROOF ───────────────────────── */
.hp-section--result { background: var(--hp-paper); }
.hp-result-body {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: clamp(18px, 2.6vw, 26px);
}
.hp-result-body p { font-size: clamp(15px, 1.6vw, 17px); line-height: 2.1; color: var(--hp-muted); }
.hp-result-body p strong { color: var(--hp-ink); }

/* ─── 05 · COMMUNITY ───────────────────── */
.hp-section--community { background: var(--hp-paper-bright); }

/* ─── CLOSING ──────────────────────────── */
.hp-closing {
  padding: clamp(90px, 12vw, 150px) 24px;
  text-align: center;
  background: var(--hp-night-deep);
  color: white;
}
.hp-closing h2 { color: white; }
.hp-closing > p:not(.hp-section-num) {
  max-width: 720px;
  margin: 28px auto 0;
  color: rgba(255,255,255,.68);
  line-height: 2;
  font-size: 15px;
}
.hp-cta {
  display: inline-flex;
  margin-top: 42px;
  padding: 15px 24px;
  border: 1px solid var(--hp-gold);
  border-radius: 6px;
  color: var(--hp-gold-light);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
  transition: background .2s ease, color .2s ease;
}
.hp-cta:hover,
.hp-cta:focus-visible { background: var(--hp-gold); color: var(--hp-night-deep); outline: none; }
.hp-closing > p.hp-studio-link { margin: 30px auto 0; font-size: 11px; letter-spacing: .12em; }
.hp-studio-link a { color: rgba(255,255,255,.48); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 3px; }
.hp-studio-link a:hover,
.hp-studio-link a:focus-visible { color: var(--hp-gold-light); border-color: rgba(225,197,142,.55); outline: none; }

/* ─── RESPONSIVE ───────────────────────── */
@media (max-width: 960px) {
  .hp-people-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hp-hero { min-height: 690px; padding-top: 120px; }
  .hp-hero-orbit--one { width: 112vw; }
  .hp-hero-orbit--two { width: 154vw; }
  .hp-people-grid { grid-template-columns: 1fr; }
  .hp-process-list { grid-template-columns: 1fr; }
  .hp-relation-web { gap: 28px; }
  .hp-relation-center { width: 120px; height: 120px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-card,
  .hp-scroll,
  .hp-cta,
  .hp-people-chip,
  .hp-card-link { transition: none; }
  html { scroll-behavior: auto; }
}
