:root {
  --navy: #202061;
  --purple: #523096;
  --teal: #1cb6cf;
  --blue: #2f7ec2;
  --coral: #ff5c82;
  --orange: #ff9e25;
  --yellow: #ffd34d;
  --lime: #77d91f;
  --sky: #e8fbff;
  --soft-blue: #d8f5fb;
  --ink: #182243;
  --muted: #60708d;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(32, 32, 97, 0.13);
  --radius: 24px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(119, 217, 31, 0.1), transparent 24rem),
    radial-gradient(circle at 92% 4%, rgba(28, 182, 207, 0.14), transparent 24rem),
    #fbfdff;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.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;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(47, 126, 194, 0.12);
}

.nav {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img {
  width: 112px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 850;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--blue);
  background: var(--sky);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--sky);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 2px;
}

.hero,
.page-hero,
.section,
.founder-section {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: 76px 0 88px;
  background:
    linear-gradient(135deg, rgba(232, 251, 255, 0.96), rgba(255, 255, 255, 0.92) 52%, rgba(255, 246, 216, 0.78)),
    var(--sky);
}

.page-hero {
  padding: 82px 0 74px;
  text-align: center;
  background:
    radial-gradient(circle at 0% 30%, rgba(255, 211, 77, 0.26), transparent 20rem),
    radial-gradient(circle at 100% 0%, rgba(28, 182, 207, 0.16), transparent 26rem),
    linear-gradient(135deg, var(--sky), #ffffff);
}

.section {
  padding: 82px 0;
}

.intro-band {
  background:
    radial-gradient(circle at 100% 100%, rgba(255, 92, 130, 0.08), transparent 24rem),
    #ffffff;
}

.hero-grid,
.two-column,
.founder-grid,
.form-layout,
.footer-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
}

.two-column {
  grid-template-columns: 0.9fr 1.1fr;
}

.founder-grid,
.form-layout {
  grid-template-columns: 0.82fr 1.18fr;
}

.hero-logo {
  width: 186px;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(3.1rem, 7.2vw, 6.8rem);
  line-height: 0.94;
  font-weight: 950;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

h3 {
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 10px;
}

.tagline {
  color: var(--coral);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 950;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-text,
.page-hero p,
.section-heading p,
.body-copy p,
.founder-copy p,
.info-panel p,
.contact-panel {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 30px;
}

.lead {
  color: var(--navy) !important;
  font-size: 1.35rem !important;
  font-weight: 850;
}

.button-row,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.center-actions {
  justify-content: center;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover,
.preview-grid:hover figure,
.gallery-card:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--teal));
  box-shadow: 0 16px 34px rgba(47, 126, 194, 0.25);
}

.btn-secondary {
  color: var(--navy);
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  box-shadow: 0 16px 34px rgba(255, 158, 37, 0.24);
}

.btn-ghost {
  color: var(--navy);
  background: var(--white);
  border: 2px solid rgba(32, 32, 97, 0.1);
}

.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  color: var(--coral);
}

.hero-photos {
  position: relative;
  min-height: 540px;
}

.hero-photo,
.founder-photo,
.work-card,
.gallery-card,
.preview-grid figure,
.form-card,
.info-panel,
.contact-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-photo {
  object-fit: cover;
  border: 10px solid var(--white);
  background: var(--white);
}

.main-photo {
  width: min(86%, 410px);
  height: 500px;
}

.accent-photo {
  position: absolute;
  right: 0;
  bottom: 16px;
  width: 48%;
  min-width: 210px;
  transform: rotate(4deg);
}

.impact-note {
  position: absolute;
  top: 30px;
  right: 8px;
  width: 230px;
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.impact-note strong,
.impact-note span {
  display: block;
}

.impact-note strong {
  color: var(--navy);
  line-height: 1.1;
}

.impact-note span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.68;
}

.shape-teal {
  width: 430px;
  height: 430px;
  right: -170px;
  top: 42px;
  background: var(--soft-blue);
  border-radius: 56% 44% 40% 60% / 42% 51% 49% 58%;
}

.shape-lime {
  width: 180px;
  height: 180px;
  left: -80px;
  bottom: 26px;
  background: rgba(119, 217, 31, 0.14);
  border-radius: 58% 42% 64% 36% / 42% 58% 42% 58%;
}

.shape-orange {
  width: 360px;
  height: 360px;
  left: -150px;
  top: 14%;
  background: rgba(255, 158, 37, 0.18);
  border-radius: 63% 37% 54% 46% / 38% 58% 42% 62%;
}

.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  min-height: 224px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(47, 126, 194, 0.1);
}

.work-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--white);
  border-radius: 16px;
  font-weight: 950;
}

.teal { background: var(--teal); }
.coral { background: var(--coral); }
.orange { background: var(--orange); }
.lime { background: var(--lime); color: var(--navy); }
.purple { background: var(--purple); }
.blue { background: var(--blue); }

.preview-grid,
.full-gallery {
  display: grid;
  gap: 20px;
}

.preview-grid {
  grid-template-columns: repeat(3, 1fr);
  color: inherit;
  text-decoration: none;
}

.preview-grid figure,
.gallery-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.preview-grid img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-grid figure {
  height: 340px;
}

.full-gallery {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card.wide {
  grid-column: span 2;
}

figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(32, 32, 97, 0.86);
  font-weight: 900;
  text-align: center;
}

.founder-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(232, 251, 255, 0.82)),
    #ffffff;
}

.founder-photo {
  overflow: hidden;
  padding: 12px;
  background: var(--white);
  transform: rotate(-1.5deg);
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
}

.form-layout {
  align-items: start;
}

.info-panel,
.contact-panel,
.form-card {
  background: var(--white);
  border: 1px solid rgba(47, 126, 194, 0.1);
}

.info-panel,
.contact-panel {
  padding: 34px;
}

.contact-panel {
  display: grid;
  gap: 12px;
  color: var(--navy);
  font-weight: 850;
}

.contact-panel a {
  text-decoration: none;
}

.contact-panel a:hover {
  color: var(--blue);
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 30px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 2px solid rgba(47, 126, 194, 0.14);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(28, 182, 207, 0.14);
  background: var(--white);
  outline: none;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--blue);
  font-weight: 850;
}

.footer {
  padding: 44px 0;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.footer img {
  width: 150px;
  padding: 8px;
  border-radius: 18px;
  background: var(--white);
  margin-bottom: 16px;
}

.footer p {
  margin-bottom: 0;
  font-weight: 850;
}

.footer address {
  display: grid;
  gap: 10px;
  justify-items: end;
  font-style: normal;
  font-weight: 800;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  color: var(--yellow);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .hero-grid,
  .two-column,
  .founder-grid,
  .form-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .full-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer address {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero,
  .page-hero,
  .section {
    padding: 62px 0;
  }

  .brand img {
    width: 92px;
  }

  .hero-logo {
    width: 150px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .page-hero h1 {
    font-size: 2.65rem;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .hero-photos {
    min-height: 470px;
  }

  .main-photo {
    width: 84%;
    height: 420px;
  }

  .accent-photo {
    width: 58%;
    min-width: 170px;
  }

  .impact-note {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin-top: 16px;
  }

  .card-grid,
  .preview-grid,
  .full-gallery {
    grid-template-columns: 1fr;
  }

  .preview-grid figure,
  .full-gallery {
    grid-auto-rows: 310px;
  }

  .gallery-card.tall,
  .gallery-card.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .work-card {
    min-height: auto;
  }

  .form-card,
  .info-panel,
  .contact-panel {
    padding: 22px;
  }
}
