:root {
  --hero-bg-1: #5f335f;
  --hero-bg-2: #5b0057;
  --hero-bg-3: #a514a3;

  --bg-page: #f5eff5;
  --bg-section: #f3edf4;
  --bg-section-alt: #efe6f0;
  --bg-card: #ffffff;

  --text-dark: #5d1a67;
  --text-body: #6c5873;
  --text-soft: #8a7691;
  --text-light: #ffffff;

  --accent: #a314a1;
  --accent-dark: #7f0f7d;
  --accent-soft: #d7b7d8;

  --border-soft: rgba(124, 68, 129, 0.16);
  --border-strong: rgba(124, 68, 129, 0.28);

  --shadow-soft: 0 18px 50px rgba(76, 24, 79, 0.08);
  --shadow-card: 0 10px 28px rgba(76, 24, 79, 0.06);

  --radius: 22px;
  --max-width: 1080px;
  --hero-max-width: 1200px;
  --section-body-size: 1.1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero,
.section,
.footer {
  position: relative;
}

.hero {
  min-height: 100svh;
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.14), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(135deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 52%, var(--hero-bg-3) 100%);
  color: var(--text-light);
}

.topbar {
  width: min(100%, var(--hero-max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--text-light);
}

.brand img {
  width: 7rem;
  height: auto;
}

.brand span {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.92);
}

.topbar-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.topbar-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.topbar-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar-toggle span + span {
  margin-top: 0.28rem;
}

.topbar.is-open .topbar-toggle span:nth-child(1) {
  transform: translateY(0.39rem) rotate(45deg);
}

.topbar.is-open .topbar-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.is-open .topbar-toggle span:nth-child(3) {
  transform: translateY(-0.39rem) rotate(-45deg);
}

.hero__content {
  width: min(100%, var(--hero-max-width));
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 2rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: rgba(60, 22, 64, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.15);
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: #ffffff;
}

.hero__support {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button--small {
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
}

.button--ghost,
.button--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.button--ghost:hover,
.button--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button:not(.button--ghost):not(.button--secondary) {
  background: var(--accent);
  color: #ffffff;
}

.button:not(.button--ghost):not(.button--secondary):hover {
  background: var(--accent-dark);
}

.button--full {
  width: 100%;
}

.scroll-indicator {
  width: min(100%, var(--hero-max-width));
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  padding-top: 0.5rem;
}

.scroll-indicator span {
  width: 1.7rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.45rem;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 1rem);
  }
}

.section {
  width: 100%;
  padding: 7rem 1.5rem;
  font-size: var(--section-body-size);
}

.section > * {
  width: min(100%, var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

#section-what-we-do,
#section-about-us {
  background: var(--bg-page);
}

#section-how-we-help,
#section-contact {
  background: var(--bg-section-alt);
}

.section-heading {
  max-width: 62rem;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: var(--text-dark);
}

.summary-card,
.detail-card,
.contact-form,
.contact-copy {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.summary-card {
  padding: 0;
}

.summary-card p {
  margin: 0;
  font-size: var(--section-body-size);
  line-height: 1.8;
  color: var(--text-body);
}

.summary-card strong {
  color: var(--text-dark);
}

.what-we-do-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.what-we-do-visual {
  margin: 0;
  width: clamp(140px, 18vw, 190px);
  justify-self: end;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.what-we-do-visual img {
  width: 100%;
  height: auto;
  background: transparent;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.95fr;
  gap: 2.5rem;
  align-items: start;
}

.detail-card {
  padding: 0;
}

.detail-card--main p {
  margin: 0 0 1.35rem;
  color: var(--text-body);
  font-size: var(--section-body-size);
  line-height: 1.85;
}

.detail-card--main p:last-child {
  margin-bottom: 0;
}

.detail-card--highlights {
  display: grid;
  gap: 1rem;
}

.detail-card--highlights > div {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow-card);
}

.metric {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
  font-size: var(--section-body-size);
  font-weight: 800;
}

.detail-card--highlights p {
  margin: 0;
  color: var(--text-body);
  font-size: var(--section-body-size);
  line-height: 1.6;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.35fr minmax(290px, 1.05fr);
  gap: 2.5rem;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1.15rem;
}

.about-copy p {
  margin: 0;
  color: var(--text-body);
  font-size: var(--section-body-size);
  line-height: 1.9;
}

.about-copy strong {
  color: var(--text-dark);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  width: 100%;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  width: 100%;
  max-width: none;
  justify-self: stretch;
  font-size: var(--section-body-size);
  line-height: 1.55;
}

.founder-card img {
  width: clamp(88px, 40%, 126px);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  margin: 0.65rem auto 0;
  border-radius: 16px;
}

.founder-card__body {
  padding: 0.65rem 0.8rem 0.75rem;
}

.founder-card h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: inherit;
  line-height: 1.2;
}

.founder-card__role {
  margin: 0.25rem 0 0.45rem;
  color: var(--accent-dark);
  font-size: inherit;
  font-weight: 600;
}

.founder-card p {
  margin: 0;
  color: var(--text-body);
  font-size: inherit;
}

.founder-card a {
  display: inline-flex;
  margin-top: 0.2rem;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: inherit;
}

.founder-card a:hover {
  color: var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-copy,
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.contact-copy h3 {
  margin: 0 0 1rem;
  font-size: var(--section-body-size);
  line-height: 1.15;
  color: var(--text-dark);
}

.contact-copy p {
  margin: 0 0 1rem;
  color: var(--text-body);
  font-size: var(--section-body-size);
}

.contact-copy ul {
  margin: 1.15rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-body);
  font-size: var(--section-body-size);
}

.contact-copy ul + p {
  margin-top: 1.75rem;
}

.contact-copy li + li {
  margin-top: 0.45rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  font-size: var(--section-body-size);
  font-weight: 700;
  color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text-dark);
  padding: 1rem 1rem;
  font: inherit;
  resize: vertical;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a28ca8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(163, 20, 161, 0.12);
}

.contact-form .button {
  margin-top: 0.4rem;
  background: var(--accent);
  color: #ffffff;
  border: none;
}

.contact-form .button:hover {
  background: var(--accent-dark);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--text-soft);
  font-size: var(--section-body-size);
}

.form-status {
  min-height: 1.4rem;
}

.footer {
  background: var(--bg-page);
  padding: 0 1.5rem 3rem;
}

.footer p {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .what-we-do-layout,
  .detail-grid,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .what-we-do-visual {
    width: min(220px, 60vw);
    justify-self: center;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .founders-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --section-body-size: 1.08rem;
  }

  .hero {
    padding-inline: 1rem;
  }

  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem 0.75rem;
  }

  .brand img {
    width: 5.2rem;
  }

  .brand span {
    font-size: 1.35rem;
  }

  .topbar-links {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(91, 0, 87, 0.32);
    backdrop-filter: blur(4px);
  }

  .topbar.menu-ready .topbar-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .topbar.menu-ready .topbar-links {
    display: none;
  }

  .topbar.menu-ready.is-open .topbar-links {
    display: flex;
  }

  .topbar-links a {
    width: 100%;
    line-height: 1.35;
  }

  .topbar-links .button--small {
    width: 100%;
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
  }

  .section,
  .footer {
    padding-inline: 1rem;
  }

  .hero__content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.6rem);
    max-width: 10ch;
  }

}

@media (max-height: 820px) {
  .hero {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero__content {
    padding: 1.25rem 0;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 5.2vw, 4.8rem);
    max-width: 12ch;
  }

  .hero__support {
    font-size: 1rem;
    margin-top: 0.9rem;
  }

  .hero__actions {
    margin-top: 1.25rem;
  }

  .scroll-indicator {
    padding-top: 0.25rem;
  }
}

@media (max-height: 700px) {
  .scroll-indicator {
    display: none;
  }

  .hero__support {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
