:root {
  --primary: #3E5BA5;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #5b6474;
  --line: rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Unbounded", "Inter", system-ui, sans-serif;
  letter-spacing: 0.02em;
}

.px-site {
  padding-left: 7vw;
  padding-right: 7vw;
}

.grid-site {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 6vw;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0));
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  color: inherit;
}

.site-header .brand-logo {
  width: 58px;
  height: 58px;
}

.brand-path {
  fill: currentColor;
  fill-rule: evenodd;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-left: 6px;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 42, 0.25);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open {
  overflow: hidden;
}

main {
  padding-top: 112px;
  padding-bottom: 72px;
}

.about-hero {
  padding-top: 28px;
}

.hero-copy {
  grid-column: span 6;
  align-self: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-copy p {
  color: var(--muted);
  max-width: 52ch;
}

.hero-media {
  grid-column: span 6;
  min-height: clamp(260px, 34vw, 420px);
  aspect-ratio: 1024 / 474;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #f4f6fb;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #f4f6fb;
}

.about-story,
.about-values,
.about-gallery,
.about-metrics,
.about-cta {
  padding-top: 36px;
}

.story-card, .value-card, .metric {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease;
}

.story-card:hover, .value-card:hover, .metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-color: rgba(62, 91, 165, 0.2);
}

.story-card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.story-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.story-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.story-card h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  margin-bottom: 0;
}

.story-card p {
  color: var(--muted);
}

.section-head {
  margin-bottom: 14px;
}

.section-head span {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.76rem;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
}

.values-grid {
  align-items: stretch;
}

.value-card {
  grid-column: span 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(18px, 2.5vw, 30px);
  box-shadow: var(--shadow);
}

.value-card h3 {
  font-size: 1.02rem;
  margin-bottom: 9px;
}

.value-card p {
  color: var(--muted);
}

.gallery-grid {
  grid-auto-rows: 220px;
}

.gallery-item {
  grid-column: span 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-item.tall {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.metrics-grid {
  align-items: stretch;
}

.metric {
  grid-column: span 3;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.metric h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 6px;
}

.metric p {
  color: var(--muted);
}

.cta-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(1.2rem, 2.1vw, 2rem);
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto 20px;
}

.cta-link {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  background: var(--primary);
  border: 1px solid var(--primary);
  padding: 11px 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  border-radius: 17px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.cta-link:hover {
  background: #2f4b96;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(62, 91, 165, 0.3);
  border-color: #2f4b96;
}

@media (max-width: 1024px) {
  .hero-copy,
  .hero-media,
  .story-card {
    grid-column: 1 / -1;
  }

  .hero-media {
    min-height: auto;
  }

  .value-card {
    grid-column: span 6;
  }

  .metric {
    grid-column: span 6;
  }

  .gallery-item,
  .gallery-item.tall {
    grid-column: span 6;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .hero-copy h1, .section-head h2 {
    line-height: 1.25;
  }

  .site-header {
    padding: 14px 6vw;
    justify-content: space-between;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 6vw;
    right: 6vw;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    margin-left: 0;
  }

  .site-nav a {
    padding: 10px 8px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.menu-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .px-site {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .value-card,
  .metric,
  .gallery-item,
  .gallery-item.tall {
    grid-column: 1 / -1;
  }

  .gallery-grid {
    grid-auto-rows: 190px;
  }
}

@media (max-width: 640px) {
  .site-header {
    justify-content: flex-start;
  }
}
