:root {
  --ink: #0b0f14;
  --paper: #f4f0e8;
  --white: #fffdf8;
  --accent: #ff5a36;
  --line: rgba(11, 15, 20, 0.16);
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
  --pad: clamp(1.25rem, 4vw, 5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.about-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem var(--pad);
  color: white;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 12px;
  letter-spacing: -0.09em;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.about-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-header nav > a:not(.contact-link) { opacity: 0.72; }
.about-header nav > a:hover { opacity: 1; }

.contact-link {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.about-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 13, 0.72) 0%, rgba(6, 9, 13, 0.24) 58%, rgba(6, 9, 13, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 9, 13, 0.78) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) clamp(3rem, 7vw, 5.5rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.075em;
}

.hero-names {
  margin: 1.7rem 0 0;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: clamp(3rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-section { padding: clamp(5rem, 10vw, 9rem) var(--pad); }

.team-intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.45fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.team-intro .section-kicker { padding-top: 0.75rem; }

.team-intro h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.2rem);
}

.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--white);
}

.portrait-wrap {
  position: relative;
  height: clamp(330px, 33vw, 430px);
  overflow: hidden;
  background: #ded9cf;
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 450ms ease;
}

.person-card:hover .portrait { transform: scale(1.025); }

.person-number {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: white;
  background: rgba(11,15,20,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.7rem;
  font-weight: 700;
}

.person-info { padding: clamp(1.4rem, 3vw, 2.3rem); }

.role {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.person-info h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.qualification-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.qualification-list span {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(11,15,20,0.68);
  background: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.about-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5rem) var(--pad);
  color: white;
  background: var(--accent);
}

.about-footer-cta p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.about-footer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem var(--pad);
  color: rgba(255,255,255,0.55);
  background: var(--ink);
  font-size: 0.75rem;
}

.site-footer p { margin: 0; }

@media (max-width: 760px) {
  .about-header nav > a:not(.contact-link) { display: none; }
  .hero-content h1 { font-size: clamp(4.2rem, 24vw, 7rem); }
  .scroll-cue { display: none; }
  .team-intro,
  .team-grid { grid-template-columns: 1fr; }
  .team-intro { gap: 1rem; }
  .portrait-wrap {
    height: 360px;
  }
  .about-footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  :root { --pad: 1.05rem; }
  .brand-name { display: none; }
  .about-header { padding-top: 1rem; }
  .hero-content { padding-bottom: 2rem; }
  .site-footer {
    flex-direction: column;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Story + compact team layout */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about-story h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.story-copy {
  max-width: 760px;
  margin-top: 2rem;
  color: rgba(11,15,20,0.72);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.8;
}

.story-copy p {
  margin: 0 0 1.25rem;
}

.team-stack {
  display: grid;
  gap: 1.25rem;
}

.compact-card {
  border-radius: 1.2rem;
}

.compact-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.compact-info {
  padding: 1.25rem 1.35rem 1.4rem;
}

.compact-info h3 {
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
}

.compact-info .qualification-list {
  margin-top: 1rem;
}

.compact-info .qualification-list span {
  font-size: 0.72rem;
  padding: 0.5rem 0.7rem;
}

.compact-info .profile-link {
  margin-top: 1rem;
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .team-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  
}

@media (max-width: 650px) {
  .team-stack {
    grid-template-columns: 1fr;
  }

  
}


.compact-portrait .portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ded9cf;
}


/* Final polish for better balance */
.about-layout {
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
}

.story-copy {
  font-size: clamp(1.04rem, 1.28vw, 1.15rem);
  line-height: 1.85;
}

.team-stack {
  width: 100%;
  max-width: 510px;
  justify-self: end;
}

.compact-info {
  padding: 1.35rem 1.45rem 1.5rem;
}

.compact-info h3 {
  font-size: clamp(1.95rem, 2.85vw, 2.7rem);
}

.role {
  font-size: 0.76rem;
}

.compact-info .qualification-list span {
  font-size: 0.76rem;
  padding: 0.54rem 0.76rem;
}

.compact-info .profile-link {
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .team-stack {
    max-width: none;
    justify-self: stretch;
  }

  .story-copy {
    font-size: 1rem;
  }
}
