:root {
  --ink: #2f241e;
  --mid: #5a4638;
  --container: min(1120px, 100% - clamp(2rem, 6vw, 8rem));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #f9dbc4 0%, #f6ede2 42%, #efe5d7 100%);
}

h1,
h2,
h3 {
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(216, 120, 73, 0.32), transparent 70%);
  filter: blur(10px);
  z-index: 0;
}

.page::before {
  top: -120px;
  left: -140px;
}

.page::after {
  bottom: 10%;
  right: -160px;
}

.intro {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(4.5rem, 8vw, 6rem);
  background: #ffffff;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(13, 27, 36, 0.07);
  overflow: hidden;
}

.intro-inner {
  width: var(--container);
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: center;
  justify-items: center;
  text-align: center;
}

.intro-logo {
  display: flex;
  justify-content: center;
  width: clamp(230px, 30vw, 340px);
  margin-inline: auto;
  opacity: 0;
  animation: intro-fade-in 1.0s ease-out 0.1s forwards;
}

.intro-copy h1 {
  font-size: clamp(1.02rem, 2.2vw, 1.9rem);
  font-weight: 600;
  margin: 0;
  max-width: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: intro-fade-in 0.7s ease-out 1s forwards;
}

.intro-logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(2.5rem, 4.2vw, 3.4rem);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 27, 36, 0.15);
  background: rgba(255, 248, 240, 0.95);
  box-shadow: 0 12px 30px rgba(13, 27, 36, 0.14);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13, 27, 36, 0.8);
  opacity: 0;
  animation: intro-hint-in 0.7s ease-out 1.8s forwards;
}

.intro-scroll-arrow {
  width: 0.72rem;
  height: 0.72rem;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  animation: intro-arrow-float 1.8s ease-in-out 1.8s infinite;
}

@keyframes intro-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-hint-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes intro-arrow-float {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(4px);
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--mid);
  margin-bottom: 14px;
}

.impact-section {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

.impact-inner {
  width: var(--container);
  margin-inline: auto;
}

.impact-title {
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  letter-spacing: -0.01em;
  margin: 0 0 clamp(0.8rem, 2vw, 1.2rem);
}

.impact-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(13, 27, 36, 0.1);
  box-shadow: 0 20px 45px rgba(13, 27, 36, 0.14);
}

.impact-note {
  margin: 0.55rem 0 0;
  font-size: clamp(0.72rem, 1.3vw, 0.9rem);
  color: rgba(13, 27, 36, 0.7);
  letter-spacing: 0.02em;
}

.team-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  z-index: 1;
}

.team-inner {
  width: var(--container);
  margin-inline: auto;
}

.team-head {
  text-align: center;
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.team-head h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  font-weight: 400;
}

.team-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.2vw, 1.6rem);
  margin-bottom: clamp(1.1rem, 2.5vw, 1.8rem);
}

.member-photo {
  margin: 0;
  width: 100%;
  max-width: clamp(170px, 16vw, 220px);
  margin-inline: auto;
  aspect-ratio: 379 / 533;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 36, 0.08);
  box-shadow: 0 18px 35px rgba(13, 27, 36, 0.16);
  background: #fff;
}

.member-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.team-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 27, 36, 0.08);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(13, 27, 36, 0.12);
  text-align: center;
}

.team-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  margin-bottom: 0.35rem;
}

.team-card p {
  color: var(--mid);
}

.team-role {
  margin-top: 0.45rem;
  font-weight: 700;
  color: var(--ink) !important;
}

.principle-section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  z-index: 1;
}

.principle-section-primary {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.principle-section-followup {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
}

.principle-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.principle-section-primary .principle-inner {
  min-height: clamp(620px, 88vh, 920px);
  align-content: space-between;
}

.principle-head {
  margin-bottom: 0.2rem;
}

.principle-head h2 {
  font-size: clamp(0.96rem, 1.9vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.tech-story {
  display: grid;
  gap: clamp(0.9rem, 2vw, 1.3rem);
}

.tech-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  padding: clamp(0.35rem, 1vw, 0.6rem) 0;
}

.tech-text {
  text-align: left;
  max-width: 44ch;
}

.tech-text p {
  color: var(--mid);
  margin: 0;
}

.tech-media {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.tech-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.tech-figure {
  margin: 0;
  background: #fff9f2;
  border: 1px solid rgba(13, 27, 36, 0.12);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: min(100%, 620px);
  box-shadow: 0 24px 44px rgba(13, 27, 36, 0.16), 0 6px 16px rgba(13, 27, 36, 0.1);
}

.tech-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: clamp(200px, 30vw, 320px);
}

.support-screen {
  min-height: clamp(460px, 72vh, 780px);
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(1.2rem, 3.2vw, 2.6rem);
  padding: clamp(1.2rem, 2.6vw, 2rem);
  border: 1px solid rgba(13, 27, 36, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.72);
  box-shadow: 0 18px 38px rgba(13, 27, 36, 0.08);
}

.support-title {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.support-text {
  max-width: 56ch;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  color: var(--mid);
  margin: 0;
}

.support-text-col {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.4rem);
  text-align: left;
}

.support-logos-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-logos {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 2vw, 1.4rem);
  align-items: center;
  justify-content: center;
  width: 100%;
}

.support-logos img {
  display: block;
  height: auto;
  max-width: min(100%, 420px);
  width: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
}

.support-logo-mpi {
  height: clamp(92px, 12vw, 168px) !important;
  background: transparent !important;
  padding: 0 !important;
}

.support-logo-maximize {
  height: clamp(44px, 6.3vw, 84px) !important;
  background: transparent !important;
  padding: 0 !important;
}

.footer {
  padding: clamp(1.2rem, 2.4vw, 1.8rem) 0 clamp(1.4rem, 2.8vw, 2.1rem);
  background: #0f3a52;
}

.footer-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-weight: 700;
  color: #ffffff;
}

.footer-note,
.footer-meta,
.footer-meta-line {
  color: rgba(237, 247, 252, 0.9);
}

.footer-meta {
  display: flex;
  align-items: center;
}

.footer-meta-line {
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  line-height: 1.4;
  text-align: left;
  max-width: 60ch;
  margin-top: 0.5rem;
}

.footer-legal-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-btn {
  display: inline-flex;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(218, 239, 250, 0.28);
  background: #eaf5fb;
  color: #0f3a52;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(7, 24, 35, 0.24);
}

.footer-contact-btn:hover {
  background: #d9edf8;
}

@media (max-width: 720px) {
  .intro-inner {
    text-align: center;
    justify-items: center;
  }

  .intro-scroll {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    bottom: 2rem;
  }

  .intro-copy h1 {
    font-size: clamp(0.88rem, 2.9vw, 1.18rem);
  }

  .team-photos,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .team-head {
    order: 0;
    margin-bottom: 0.4rem;
  }

  .team-photos,
  .team-grid {
    display: contents;
  }

  .team-photos .member-photo:nth-child(1) {
    order: 1;
  }

  .team-grid .team-card:nth-child(1) {
    order: 2;
  }

  .team-photos .member-photo:nth-child(2) {
    order: 3;
  }

  .team-grid .team-card:nth-child(2) {
    order: 4;
  }

  .team-photos .member-photo:nth-child(3) {
    order: 5;
  }

  .team-grid .team-card:nth-child(3) {
    order: 6;
  }

  .tech-row {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.75rem;
  }

  .principle-section-primary {
    min-height: auto;
  }

  .principle-section-primary .principle-inner {
    min-height: auto;
    align-content: start;
  }

  .principle-section-followup {
    min-height: auto;
  }

  .support-screen {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .tech-media {
    justify-content: stretch;
  }

  .support-logos-col {
    justify-content: flex-start;
  }

  .tech-media-pair {
    grid-template-columns: 1fr;
  }

  .tech-figure {
    max-width: 100%;
  }

  .tech-figure img {
    max-height: none;
  }

  .impact-image {
    border-radius: 14px;
  }

  .impact-note {
    margin-top: 0.45rem;
    font-size: 0.68rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .footer-meta-line {
    text-align: left;
  }
}
