:root {
  --purple-deep: #321c62;
  --purple-light: #806c9d;
  --bg-soft: #f7f1ea;
  --text-dark: #292929;
  --white: #ffffff;
  --line: #e7ddcf;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 10px 40px rgba(50, 28, 98, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text-dark);
  background: var(--bg-soft);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(10px);
}

.bg-shape-top {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(128, 108, 157, 0.30), rgba(128, 108, 157, 0));
  top: -180px;
  right: -120px;
}

.bg-shape-bottom {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(50, 28, 98, 0.16), rgba(50, 28, 98, 0));
  bottom: -180px;
  left: -130px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(247, 241, 234, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 124px;
}

.brand img {
  width: 178px;
  height: auto;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  padding-bottom: 4px;
}

.brand-symbol-wrap {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(1px) translateY(1px);
}

.brand-symbol {
  width: 100%;
  height: auto;
  display: block;
}

.brand-word {
  font-family: "Fraunces", serif;
  font-size: 2.28rem;
  line-height: 1;
  letter-spacing: 0.018em;
  color: var(--purple-deep);
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.96rem;
}

.main-nav a {
  position: relative;
  font-weight: 500;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--purple-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--purple-deep);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
  color: #fff;
}

.btn {
  border: 1px solid transparent;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--purple-deep);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #28164f;
}

.btn-ghost {
  border-color: #c9b8df;
  color: var(--purple-deep);
  background: rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 1);
}

.btn-light {
  background: #f0e3d4;
  color: var(--purple-deep);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 46px;
  align-items: center;
  padding: 48px 0 42px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--purple-light);
  margin: 0 0 12px;
  font-weight: 700;
}

.hero h1 {
  font-family: "Fraunces", serif;
  color: var(--purple-deep);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin: 0;
}

.lede {
  margin: 20px 0 6px;
  font-size: 1.08rem;
  max-width: 54ch;
}

.slogan {
  margin: 0 0 24px;
  color: var(--purple-light);
  font-weight: 700;
}

.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 430px;
  background: #ede3d6;
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(50, 28, 98, 0.80);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
}

.hero-overlay p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.section {
  padding: 38px 0;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.84rem;
  color: var(--purple-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.section h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--purple-deep);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.section-subtitle {
  margin-top: 8px;
  margin-bottom: 24px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 8px 24px rgba(41, 41, 41, 0.04);
}

.service-card h3 {
  margin: 2px 0 6px;
  color: var(--purple-deep);
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.step {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
}

.step span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-deep);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.step h3 {
  margin: 0;
  color: var(--purple-deep);
  font-size: 0.98rem;
}

.step p {
  margin: 6px 0 0;
  font-size: 0.86rem;
}

.split-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.industry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.industry-list li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #efe5d9;
  font-weight: 600;
}

.image-panel {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.panel-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(50, 28, 98, 0.82);
  color: var(--white);
  border-radius: 12px;
  padding: 16px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.metric strong {
  display: block;
  font-size: 2rem;
  color: var(--purple-deep);
  line-height: 1;
}

.metric span {
  font-weight: 600;
  font-size: 0.95rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 18px;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  position: relative;
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-copy {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.about-copy p {
  margin-bottom: 0;
}

.about-copy .about-closing {
  margin-top: 0;
  padding-top: 0;
}

.about-copy ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.about-copy li {
  margin-bottom: 8px;
}

.quote .container {
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.quote p {
  margin: 0;
  font-family: "Fraunces", serif;
  color: var(--purple-deep);
  font-size: 1.2rem;
}

.quote span {
  display: block;
  margin-top: 8px;
  color: #514560;
}

.cta-band-wrap {
  background: var(--purple-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 4px;
}

.cta-band p {
  margin: 0;
  color: #d7cae8;
}

.contact-form-wrap {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-form {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddcfbe;
  background: #fffefc;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text-dark);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(50, 28, 98, 0.24);
  border-color: var(--purple-light);
}

.contact-form .full-width {
  width: 100%;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.success-overlay {
  position: fixed;
  z-index: 29;
  inset: 0;
  background: rgba(41, 29, 51, 0.28);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.success-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.success-card {
  position: fixed;
  z-index: 30;
  top: 50%;
  left: 50%;
  width: min(380px, calc(100vw - 32px));
  padding: 24px 48px 24px 24px;
  border: 1px solid #d6c7e5;
  border-left: 5px solid var(--purple-deep);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(50, 28, 98, 0.22);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 18px));
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.success-card.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.success-card-label {
  margin: 0 0 6px;
  color: var(--purple-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.success-card h2 {
  margin: 0;
  color: var(--purple-deep);
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.success-card > p:last-child {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.success-card-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--purple-deep);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.success-card-close:hover {
  background: #f0e8f5;
}

.upload-control {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ddcfbe;
  border-radius: 10px;
  background: #fffefc;
  padding: 10px;
}

.upload-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.upload-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--purple-deep);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.upload-trigger:hover {
  background: #28164f;
}

.upload-name {
  font-size: 0.9rem;
  color: #5b4f68;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  padding: 12px 0 24px;
}

.footer-grid {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.footer-lockup {
  align-items: center;
  margin-bottom: 14px;
}

.footer-lockup .brand-symbol {
  width: 100%;
}

.footer-lockup .brand-symbol-wrap {
  width: 90px;
  height: 90px;
  transform: translateX(1px) translateY(1px);
}

.footer-lockup .brand-word {
  font-size: 2.4rem;
}

.footer-grid h3 {
  margin: 0 0 8px;
  color: var(--purple-deep);
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  display: block;
  margin: 5px 0;
  font-size: 0.92rem;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 14px;
  color: #64596e;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.site-header.reveal {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0.03s; }
.stagger-2 { transition-delay: 0.07s; }
.stagger-3 { transition-delay: 0.11s; }
.stagger-4 { transition-delay: 0.15s; }
.stagger-5 { transition-delay: 0.19s; }
.stagger-6 { transition-delay: 0.23s; }

@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 340px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .nav-wrap {
    min-height: 104px;
  }

  .brand-symbol-wrap {
    width: 64px;
    height: 64px;
    transform: translateX(0);
  }

  .brand-symbol {
    width: 100%;
  }

  .brand-word {
    font-size: 1.9rem;
  }

  .footer-lockup .brand-symbol-wrap {
    width: 70px;
    height: 70px;
    transform: translateX(0);
  }

  .footer-lockup .brand-symbol {
    width: 100%;
  }

  .footer-lockup .brand-word {
    font-size: 2.05rem;
  }

  .nav-btn {
    display: none;
  }

  .hero {
    padding-top: 26px;
    gap: 24px;
  }

  .service-grid,
  .timeline,
  .industry-list,
  .impact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
