/* =======================================
   ABOUT PAGE — about.css
   Companion to style.css
   ======================================= */

/* ── Section Dividers ── */
.page-hero,
.profile-section,
.hank-section,
.about-cta {
  border-top: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--border2) 50%,
    var(--border) 80%,
    transparent 100%
  ) 1;
}

/* =======================================
   PAGE HERO
   ======================================= */
.page-hero {
  padding: 140px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--border2) 50%,
    var(--border) 80%,
    transparent 100%
  );
}

/* Decorative background ghost text */
.page-hero__ghost {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-head);
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.page-hero__breadcrumb a {
  color: var(--ink-faint);
  transition: color 0.2s;
}

.page-hero__breadcrumb a:hover {
  color: var(--accent);
}

.page-hero__breadcrumb span {
  color: var(--border2);
}

.page-hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 8px;
}

/* =======================================
   PROFILE SECTION
   ======================================= */
.profile-section {
  background: var(--bg2);
  padding: 96px 0;
}

.profile__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Photo column */
.profile__photo-wrap {
  position: relative;
}

.profile__photo-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}

.profile__photo-wrap::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}

.profile__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.profile__photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-faint);
}

.profile__photo-placeholder span:first-child {
  font-size: 40px;
  opacity: 0.4;
}

.profile__photo-placeholder span:last-child {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

/* Bio column */
.profile__bio {
  padding-top: 8px;
}

.profile__eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.profile__name {
  font-family: var(--ff-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}

.profile__body {
  margin-bottom: 32px;
}

.profile__body p {
  color: var(--ink-mid);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
}

.profile__body p:last-child {
  margin-bottom: 0;
}

/* Tags */
.profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.profile__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 230, 66, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius);
}

/* Founded block */
.profile__founded {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.profile__founded-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.profile__founded-value {
  font-family: var(--ff-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* =======================================
   HANK SECTION
   ======================================= */
.hank-section {
  background: var(--bg3);
  padding: 96px 0;
  text-align: center;
}

.hank__intro {
  max-width: 520px;
  margin: 0 auto 56px;
}

.hank__intro .eyebrow {
  display: block;
  text-align: center;
}

.hank__intro h2 {
  text-align: center;
}

.hank__card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  text-align: left;
}

/* Corner bracket — top left */
.hank__card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 28px;
  height: 28px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}

/* Corner bracket — bottom right */
.hank__card::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 28px;
  height: 28px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 2;
  pointer-events: none;
}

.hank__photo-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hank__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hank__card:hover .hank__photo {
  transform: scale(1.03);
}

.hank__photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-faint);
}

.hank__photo-placeholder span:first-child {
  font-size: 48px;
  opacity: 0.35;
}

.hank__photo-placeholder span:last-child {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
}

.hank__info {
  padding: 28px;
}

.hank__role-badge {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(245, 230, 66, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.hank__name {
  font-family: var(--ff-head);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

.hank__dept {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.hank__desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* =======================================
   ABOUT CTA
   ======================================= */
.about-cta {
  background: var(--bg);
  padding: 96px 0;
  text-align: center;
}

.about-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.about-cta h2 {
  font-family: var(--ff-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.about-cta p {
  color: var(--ink-mid);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.about-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =======================================
   NAV ACTIVE STATE
   ======================================= */
.nav__link--active {
  color: var(--accent) !important;
  background: var(--accent-dim);
}

/* =======================================
   RESPONSIVE
   ======================================= */
@media (max-width: 900px) {
  .profile__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .profile__photo-wrap {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 64px;
  }

  .page-hero__ghost {
    display: none;
  }

  .profile-section,
  .hank-section,
  .about-cta {
    padding: 72px 0;
  }

  .about-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-cta__actions .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .profile__tags {
    gap: 6px;
  }

  .hank__card {
    margin: 0 4px;
  }
}
