:root {
  --bg: #f6f5f2;
  --surface: #ffffffea;
  --ink: #1e1e32;
  --muted: #51559f;
  --line: #b2d6f1;
  --pink-900: #ec008c;
  --pink-700: #ef5ba1;
  --pink-500: #f287b7;
  --pink-300: #f6adcd;
  --blue-900: #2b3990;
  --blue-700: #51559f;
  --blue-500: #7674b1;
  --blue-300: #9b98c6;
  --cyan-900: #27aae1;
  --cyan-700: #63b7e6;
  --cyan-500: #8cc6ec;
  --cyan-300: #b2d6f1;
  --brand: var(--cyan-900);
  --brand-deep: var(--pink-900);
  --accent: var(--cyan-500);
  --brand-navy: var(--blue-900);
  --radius: 18px;
  --shadow: 0 18px 42px rgba(8, 25, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(70rem 30rem at 85% -10%, var(--cyan-300) 0%, transparent 60%),
    radial-gradient(40rem 24rem at -10% 30%, var(--pink-300) 0%, transparent 70%),
    var(--bg);
  line-height: 1.55;
}

.ambient {
  position: fixed;
  pointer-events: none;
  inset: auto;
  z-index: -1;
  filter: blur(40px);
}

.ambient-a {
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: var(--cyan-500);
  top: 5rem;
  right: -6rem;
}

.ambient-b {
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: var(--pink-500);
  top: 26rem;
  left: -6rem;
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: #f6f5f2d6;
  border-bottom: 1px solid var(--blue-300);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  color: var(--brand-navy);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.brand-name {
  margin-left: 0.55rem;
  font-family: "Poppins", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--brand-navy);
  font-weight: 600;
}

nav a.is-active {
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero {
  padding: 5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-deep);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.8rem;
  color: var(--brand-navy);
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.7vw, 3.8rem);
  max-width: 15ch;
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1.4rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  padding: 0.72rem 1.15rem;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan-500);
  color: #fff;
  box-shadow: 0 12px 24px rgba(39, 170, 225, 0.24);
}

.btn-primary:hover {
  background: var(--cyan-700);
  box-shadow: 0 16px 28px rgba(39, 170, 225, 0.34);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff8;
}

.trust-points {
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
  color: #253244;
}

.trust-points li::before {
  content: "\2713\00a0";
  color: var(--brand-deep);
  font-weight: 700;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--pink-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.hero-card p,
.hero-card li,
.section-intro,
.case-card p,
.service-card p,
.contact p {
  color: var(--muted);
}

.hero-card ol {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.section {
  padding: 3.4rem 0;
}

.section-intro {
  max-width: 75ch;
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.case-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--cyan-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.service-card a {
  color: var(--brand-deep);
  text-underline-offset: 2px;
  font-weight: 600;
}

.case-card h3,
.service-card h3 {
  font-size: 1.06rem;
}

.section-footnote {
  margin-top: 0.9rem;
}

.section-footnote a {
  color: var(--brand-deep);
  font-weight: 600;
}

.logo-section {
  padding-top: 2.1rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.logo-grid img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--cyan-300);
  padding: 0.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.founder-photo {
  margin: 1rem 0 0;
}

.founder-photo img {
  width: min(160px, 100%);
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--cyan-300);
  box-shadow: var(--shadow);
  display: block;
}

.full {
  width: 100%;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.contact-card a {
  color: var(--brand-deep);
}

.contact-card a.btn-primary {
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--blue-300);
  padding: 1.2rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-grid a {
  color: var(--brand-deep);
  text-underline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal-up 620ms ease forwards;
}

.hero.reveal {
  animation-delay: 90ms;
}

#services.reveal {
  animation-delay: 180ms;
}

#case-studies.reveal {
  animation-delay: 250ms;
}

.logo-section.reveal {
  animation-delay: 320ms;
}

.contact.reveal {
  animation-delay: 390ms;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .service-grid,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header .wrap {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand-name {
    font-size: 1rem;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .hero-grid,
  .contact-grid,
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
