:root {
  --ink: #26322c;
  --ink-deep: #14211c;
  --canvas: #f5f0e4;
  --paper: #ffffff;
  --muted: #67717a;
  --line: #d9ddd9;
  --blue: #3f7180;
  --blue-light: #dae9e8;
  --red: #e44438;
  --cream: #e9dfc9;
  --recycle: #71804a;
  --kraft: #b99655;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", Consolas, monospace;
  --pad: clamp(1.25rem, 4.5vw, 5rem);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
}
h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

.container {
  width: min(100% - (var(--pad) * 2), 1200px);
  margin-inline: auto;
}
.section {
  padding-block: clamp(5rem, 10vw, 9rem);
}
.skip-link {
  position: fixed;
  z-index: 99;
  top: -4rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 0.25rem;
}
.skip-link:focus {
  top: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - (var(--pad) * 2), 1400px);
  height: 6.1rem;
  margin-inline: auto;
  color: #fff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand > span:last-child > span {
  color: #e6c983;
}
.brand-mark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 1.55rem;
  height: 1.45rem;
}
.brand-mark i {
  display: block;
  width: 0.38rem;
  background: var(--red);
  transform: skewY(-28deg);
}
.brand-mark i:first-child {
  height: 0.62rem;
}
.brand-mark i:nth-child(2) {
  height: 1.15rem;
  background: #8aa060;
}
.brand-mark i:last-child {
  height: 0.86rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.5vw, 2.45rem);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.site-nav > a {
  position: relative;
  opacity: 0.78;
  transition: opacity 0.2s ease;
}
.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.55rem;
  left: 0;
  height: 1px;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav > a:hover,
.site-nav > a.active {
  opacity: 1;
}
.site-nav > a.active:not(.nav-cta)::after {
  transform: scaleX(1);
}
.site-nav .nav-cta {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 1;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: max(100vh, 760px);
  height: auto; /* grows with content so nothing collides with the footer strip */
  overflow: hidden;
  color: #fff;
  background: var(--ink-deep);
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  z-index: -3;
  animation: hero-scale 1.2s ease-out both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(17, 27, 22, 0.97) 0%,
      rgba(20, 32, 25, 0.85) 28%,
      rgba(20, 32, 25, 0.25) 65%,
      rgba(20, 32, 25, 0.12) 100%
    ),
    linear-gradient(0deg, rgba(12, 21, 16, 0.66) 0%, transparent 35%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.13;
  background-image:
    repeating-linear-gradient(
      8deg,
      rgba(225, 203, 154, 0.25) 0 1px,
      transparent 1px 7px
    ),
    repeating-linear-gradient(
      98deg,
      rgba(225, 203, 154, 0.16) 0 1px,
      transparent 1px 11px
    );
  mask-image: linear-gradient(90deg, black, transparent 74%);
}
.hero-content {
  align-self: center;
  padding-top: 6rem;
  padding-bottom: 6.5rem; /* reserves room for .hero-foot */
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.eyebrow > span {
  display: inline-block;
  flex: none;
  width: 1.8rem;
  height: 1px;
  background: var(--red);
}
.eyebrow.dark {
  color: var(--muted);
}
.eyebrow.light {
  color: rgba(255, 255, 255, 0.66);
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(3.5rem, 7.3vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.077em;
  line-height: 0.9;
}
h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.06em;
}
.hero h1 em {
  color: #ead29a;
}
.hero-copy {
  max-width: 415px;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.91rem, 1.3vw, 1.02rem);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.1rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 0.94rem 1.2rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.button:hover {
  transform: translateY(-3px);
}
.button b {
  font-size: 1.15rem;
  font-weight: 400;
}
.button-primary {
  background: #fff;
  color: var(--ink);
}
.button-primary:hover {
  background: #e6d0a0;
}
.text-link {
  position: relative;
  font-size: 0.76rem;
  font-weight: 800;
}
.text-link span {
  margin-left: 0.35rem;
  color: #87cbff;
}
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.65;
}
.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.35rem;
}
.material-tags span {
  padding: 0.36rem 0.52rem;
  border: 1px solid rgba(234, 210, 154, 0.45);
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-foot {
  position: absolute;
  right: 0;
  bottom: 1.6rem;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.57);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.scroll-indicator i {
  display: block;
  width: 2.8rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

/* ---------- INTRO / FOCUS ---------- */
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.115em;
  text-transform: uppercase;
}
.section-kicker > span {
  color: var(--recycle);
}
.section-kicker.light {
  color: rgba(255, 255, 255, 0.58);
}
.section-kicker.light > span {
  color: #8bcfff;
}
.intro-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 6rem;
  align-items: end;
  padding: clamp(3.2rem, 6vw, 5.8rem) 0 4.2rem;
}
h2 {
  font-size: clamp(2.65rem, 5.1vw, 5rem);
  letter-spacing: -0.073em;
  line-height: 0.98;
}
.intro-heading h2 {
  max-width: 510px;
}
.intro-heading h2 em {
  color: var(--recycle);
}
.intro-copy {
  padding-bottom: 0.37rem;
}
.intro-copy > p {
  max-width: 405px;
  color: #45525c;
  font-size: 0.96rem;
  line-height: 1.8;
}
.arrow-link {
  display: inline-flex;
  gap: 0.75rem;
  margin-top: 1.55rem;
  color: var(--recycle);
  font-size: 0.75rem;
  font-weight: 800;
}
.arrow-link span {
  font-size: 1rem;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.focus-card {
  position: relative;
  min-height: 245px;
  padding: 1.8rem 2rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.focus-card:hover {
  z-index: 1;
  background: var(--paper);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(20, 42, 59, 0.08);
}
.focus-number {
  position: absolute;
  top: 1.55rem;
  right: 1.8rem;
  color: #a2a8a7;
  font-family: var(--mono);
  font-size: 0.6rem;
}
.focus-card h3 {
  margin-top: 1.7rem;
  font-size: 1.23rem;
  letter-spacing: -0.045em;
}
.focus-card p {
  max-width: 240px;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}
.focus-icon {
  position: relative;
  width: 2.6rem;
  height: 2.3rem;
}
.focus-icon i {
  position: absolute;
  display: block;
  background: var(--blue);
}
.icon-design i:first-child {
  top: 1.02rem;
  left: 0.14rem;
  width: 2.12rem;
  height: 1px;
  background: var(--recycle);
  transform: rotate(-27deg);
}
.icon-design i:nth-child(2) {
  top: 0.33rem;
  left: 0.19rem;
  width: 0.74rem;
  height: 0.74rem;
  border: 2px solid var(--red);
  background: transparent;
  border-radius: 50%;
}
.icon-design i:last-child {
  right: 0.14rem;
  bottom: 0.13rem;
  width: 0.62rem;
  height: 0.62rem;
  background: var(--red);
}
.icon-build i:first-child {
  top: 0.38rem;
  left: 0.2rem;
  width: 2.1rem;
  height: 1.48rem;
  background: transparent;
  border: 2px solid var(--recycle);
}
.icon-build i:nth-child(2) {
  top: 0.9rem;
  left: -0.1rem;
  width: 2.7rem;
  height: 2px;
  background: var(--red);
  transform: rotate(-33deg);
}
.icon-build i:last-child {
  right: 0.32rem;
  bottom: 0.05rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
}
.icon-code i:first-child {
  top: 0.27rem;
  left: 0.25rem;
  width: 1.95rem;
  height: 1.8rem;
  border: 2px solid var(--recycle);
  background: transparent;
}
.icon-code i:nth-child(2) {
  top: 0.84rem;
  left: 0.83rem;
  width: 0.8rem;
  height: 2px;
  background: var(--red);
}
.icon-code i:last-child {
  top: 0.47rem;
  left: 1.15rem;
  width: 2px;
  height: 1.2rem;
  background: var(--red);
}

/* ---------- MENTOR ---------- */
.mentor-section {
  overflow: hidden;
  padding-block: clamp(5.6rem, 9vw, 8.5rem);
  color: #fff;
  background: #283a2e;
}
.mentor-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}
.mentor-image-wrap {
  position: relative;
  width: min(100%, 380px);
  justify-self: center;
}
.mentor-image-wrap::before {
  position: absolute;
  z-index: 0;
  top: -1.5rem;
  right: -1.5rem;
  width: 78%;
  height: 47%;
  border: 1px solid rgba(222, 202, 149, 0.65);
  content: "";
}
.mentor-image-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 0.77;
  background: #2b3b47;
}
.mentor-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* zoom in on the mentor so he fills the frame instead of the empty room */
  transform: scale(1.28);
  transform-origin: 52% 66%;
  transition: transform 0.5s ease;
}
.mentor-image-wrap:hover img {
  transform: scale(1.33);
}
.image-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.mentor-content .section-kicker {
  margin-bottom: 1.8rem;
}
.mentor-content .eyebrow {
  margin-bottom: 1.1rem;
}
.mentor-content h2 {
  max-width: 610px;
}
.mentor-content h2 em {
  color: #eed79f;
}
.mentor-content blockquote {
  max-width: 580px;
  margin-top: 2rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--red);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}
.mentor-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.1rem;
}
.portrait-dot {
  width: 2.25rem;
  height: 2.25rem;
  border: 2px solid #d8c482;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--red) 0 45%,
    #d3c596 45% 60%,
    var(--recycle) 60%
  );
}
.mentor-person strong,
.mentor-person span {
  display: block;
}
.mentor-person strong {
  font-size: 0.82rem;
  letter-spacing: -0.025em;
}
.mentor-person span {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.66rem;
}
.replace-note {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--mono);
  font-size: 0.58rem;
  line-height: 1.6;
}

/* ---------- TEAM ---------- */
.team-section {
  padding-bottom: clamp(5.7rem, 10vw, 9rem);
}
.team-heading {
  border-bottom: 1px solid var(--line);
}
.team-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 0 3.5rem;
}
.team-title-row h2 em {
  color: var(--recycle);
}
.team-title-row > p {
  max-width: 270px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}
.team-group {
  padding-top: 2.1rem;
}
.team-members-group {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: 2.1rem;
  border-top: 1px solid var(--line);
}
.team-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.team-group-heading > div > span {
  display: block;
  color: var(--recycle);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.team-group-heading h3 {
  margin-top: 0.42rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.055em;
}
.team-group-heading > p {
  max-width: 300px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}
.leaders-grid,
.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  padding-top: 1.45rem;
}
.member-card {
  min-width: 0;
}
.representative-card {
  padding: 0.48rem;
  border: 1px solid rgba(228, 68, 56, 0.78);
  background: #fffaf0;
  box-shadow: 0.35rem 0.35rem 0 rgba(228, 68, 56, 0.2);
}
.member-image {
  position: relative;
  overflow: hidden;
  height: clamp(220px, 25vw, 350px);
  background: #c7d3db;
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.03);
  transition:
    transform 0.5s ease,
    filter 0.3s ease;
}
.member-card:hover img {
  transform: scale(1.075);
  filter: saturate(1);
}
.photo-hariom img {
  object-position: center 19%;
}
.photo-mohit img {
  object-position: center 23%;
}
.photo-bhawesh img {
  object-position: center 24%;
}
.photo-priya img {
  object-position: center 21%;
}
.photo-abhilay img {
  object-position: center 20%;
}
.photo-krishika img {
  object-position: center 20%;
}
.photo-soumya img {
  object-position: center 23%;
}
.photo-vishal img {
  object-position: center 20%;
}
.member-placeholder {
  display: grid;
  overflow: hidden;
  place-items: center;
  background-color: #cad5b3;
  background-image:
    radial-gradient(
      circle at 18% 15%,
      rgba(228, 68, 56, 0.6) 0 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 77% 76%,
      rgba(63, 113, 128, 0.65) 0 4px,
      transparent 5px
    ),
    repeating-linear-gradient(
      16deg,
      rgba(78, 91, 59, 0.15) 0 1px,
      transparent 1px 8px
    ),
    linear-gradient(135deg, #e7dcc2, #aebc8d);
}
.member-placeholder::before {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(43, 58, 35, 0.34);
  content: "";
  transform: rotate(-4deg);
}
.placeholder-initials {
  position: relative;
  z-index: 1;
  color: #34442c;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  letter-spacing: -0.08em;
}
.member-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(6, 13, 20, 0.36));
  content: "";
  pointer-events: none;
}
.member-placeholder::after {
  background: linear-gradient(transparent, rgba(38, 50, 44, 0.12));
}
.member-index {
  position: absolute;
  z-index: 1;
  right: 0.85rem;
  bottom: 0.7rem;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.62rem;
}
.member-placeholder .member-index {
  color: #34442c;
}
.member-meta {
  padding-top: 0.85rem;
}
.representative-card .member-meta {
  padding: 0.92rem 0.14rem 0.18rem;
}
.member-meta h3 {
  font-size: 0.85rem;
  letter-spacing: -0.02em;
}
.member-meta p {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.67rem;
}
.representative-badge {
  position: absolute;
  z-index: 2;
  top: 0.65rem;
  left: 0.65rem;
  max-width: calc(100% - 1.3rem);
  padding: 0.36rem 0.48rem;
  color: #fff;
  background: var(--red);
  box-shadow: 0.18rem 0.18rem 0 rgba(20, 33, 28, 0.28);
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}
.team-note {
  margin-top: 2.35rem;
  color: #8b9290;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.02em;
}

/* ---------- PROCESS ---------- */
.process-section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
  color: #fff;
  background: #24352b;
}
.process-top {
  display: grid;
  grid-template-columns: 0.35fr 0.9fr 0.58fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 3.6rem;
}
.process-title .eyebrow {
  margin-bottom: 1rem;
}
.process-title h2 em {
  color: #e6ce91;
}
.process-intro {
  max-width: 300px;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.75;
}
.bts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.bts-card {
  min-width: 0;
  overflow: hidden;
  background: #31463a;
}
.bts-image {
  width: 100%;
  aspect-ratio: 1.18;
  background-image: url("assets/behind-the-scenes-upcycled.png");
  background-size: 300% 200%;
  background-repeat: no-repeat;
  transition:
    filter 0.25s ease,
    transform 0.35s ease;
}
.bts-card:hover .bts-image {
  filter: saturate(1.1) brightness(1.1);
  transform: scale(1.035);
}
.bts-one {
  background-position: 0% 0%;
}
.bts-two {
  background-position: 50% 0%;
}
.bts-three {
  background-position: 100% 0%;
}
.bts-four {
  background-position: 0% 100%;
}
.bts-five {
  background-position: 50% 100%;
}
.bts-six {
  background-position: 100% 100%;
}
.bts-caption {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 0.9rem 1rem;
}
.bts-caption > span {
  color: #e4ce91;
  font-family: var(--mono);
  font-size: 0.58rem;
  padding-top: 0.15rem;
}
.bts-caption h3 {
  font-size: 0.75rem;
  letter-spacing: -0.015em;
}
.bts-caption p {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.62rem;
}

/* ---------- CLOSING / FOOTER ---------- */
.closing-section {
  padding-block: clamp(5.5rem, 11vw, 10rem);
  background: var(--cream);
}
.closing-inner {
  text-align: center;
}
.closing-inner .eyebrow {
  justify-content: center;
}
.closing-inner h2 {
  margin-top: 1.15rem;
}
.closing-inner h2 em {
  color: var(--recycle);
}
.button-dark {
  margin-top: 2.2rem;
  color: #fff;
  background: var(--ink);
}
.button-dark:hover {
  background: var(--recycle);
}
.site-footer {
  padding: 1.6rem 0;
  color: rgba(255, 255, 255, 0.6);
  background: var(--ink-deep);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-size: 0.62rem;
}
.footer-brand {
  justify-self: start;
  color: #fff;
  transform: scale(0.88);
  transform-origin: left;
}
.site-footer p {
  text-align: center;
}
.site-footer .footer-note {
  text-align: right;
  color: rgba(255, 255, 255, 0.42);
}

/* ---------- MOTION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-scale {
  from {
    transform: scale(1.035);
    opacity: 0.5;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- TABLET / MOBILE (<= 840px) ---------- */
@media (max-width: 840px) {
  .site-header {
    height: 5.4rem;
  }
  .menu-toggle {
    position: relative;
    z-index: 23;
    display: grid;
    gap: 5px;
    width: 2.7rem;
    height: 2.7rem;
    place-content: center;
  }
  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 1.35rem;
    height: 1px;
    background: #fff;
    transition: transform 0.2s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-3px) rotate(-45deg);
  }
  .site-nav {
    position: fixed;
    z-index: 22;
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(7, 16, 26, 0.98);
    font-size: 1.2rem;
    opacity: 0;
    transition:
      visibility 0.2s,
      opacity 0.2s;
  }
  .site-nav.open {
    visibility: visible;
    opacity: 1;
  }
  .site-nav > a:not(.nav-cta)::after {
    bottom: -0.3rem;
  }
  .site-nav .nav-cta {
    font-size: 0.82rem;
  }

  /* HERO (mobile): robot on top, text on solid dark below */
  .hero {
    min-height: 100svh;
    height: auto;
    align-items: flex-end;
  }
  .hero-image {
    height: 66%; /* image only fills the top part */
    object-position: 68% 30%; /* keeps robot + faces in frame */
  }
  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(17, 27, 22, 0.55) 0%,
      rgba(17, 27, 22, 0.05) 20%,
      rgba(17, 27, 22, 0.35) 42%,
      rgba(17, 27, 22, 0.92) 60%,
      var(--ink-deep) 70%
    );
  }
  .hero-content {
    align-self: flex-end;
    margin-top: 40svh; /* leaves the top of the image visible */
    padding-top: 0;
    padding-bottom: 5rem;
  }
  .eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 13.5vw, 4.5rem);
  }
  .hero-copy {
    max-width: 100%;
    margin-top: 1.1rem;
    line-height: 1.65;
  }
  .hero-actions {
    margin-top: 1.5rem;
    gap: 1.2rem;
  }
  .button {
    padding: 0.85rem 1.1rem;
  }
  .hero-foot {
    bottom: 1.2rem;
  }
  .scroll-indicator {
    display: none;
  }

  .intro-layout,
  .mentor-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .intro-layout {
    padding-bottom: 3rem;
  }
  /* FACULTY (mobile) */
  .mentor-section {
    padding-block: 4.5rem;
  }
  .mentor-layout {
    gap: 2.2rem;
  }
  .mentor-image-wrap {
    width: calc(
      100% - 1rem
    ); /* leaves room so the gold frame never hits the screen edge */
    max-width: 420px;
    justify-self: start;
  }
  .mentor-image-wrap::before {
    top: -0.9rem;
    right: -0.9rem;
  }
  .mentor-image-frame {
    aspect-ratio: 0.9;
  }
  .mentor-content .section-kicker {
    margin-bottom: 1.4rem;
  }
  .mentor-content h2 {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }
  .mentor-content blockquote {
    margin-top: 1.5rem;
    font-size: 1.1rem;
  }
  .mentor-person {
    margin-top: 1.6rem;
  }
  .process-top {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }
  .process-top .section-kicker {
    margin-bottom: 0.2rem;
  }
  .process-intro {
    max-width: 510px;
  }
  .leaders-grid,
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .member-image {
    height: clamp(220px, 47vw, 350px);
  }
  .bts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Representative badges: slim strip along the bottom of the photo on
     mobile/tablet, with the 01/02 index number moved to the top-right. */
  .representative-badge {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: none;
    padding: 0.38rem 0.4rem;
    text-align: center;
    font-size: 0.5rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
    box-shadow: none;
  }
  .representative-badge ~ .member-index {
    top: 0.6rem;
    right: 0.7rem;
    bottom: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- SMALL PHONES (<= 560px) ---------- */
@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
  }
  .hero-content {
    padding-top: 0;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 13.5vw, 4.5rem);
  }
  .hero-copy {
    max-width: 100%;
  }
  .hero-foot > :last-child {
    display: none;
  }
  .hero-foot {
    bottom: 1.2rem;
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .focus-card {
    min-height: 205px;
  }
  .team-title-row {
    display: block;
    padding-bottom: 2.6rem;
  }
  .team-title-row > p {
    margin-top: 1rem;
  }
  .team-group-heading {
    display: block;
  }
  .team-group-heading > p {
    margin-top: 0.75rem;
  }
  .leaders-grid,
  .members-grid {
    gap: 0.9rem;
    padding-top: 1.3rem;
  }
  .member-image {
    height: clamp(190px, 59vw, 290px);
  }
  .bts-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bts-image {
    aspect-ratio: 1.38;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .footer-brand {
    justify-self: center;
  }
  .site-footer p,
  .site-footer .footer-note {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
