/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* ── Tokens ── */
:root {
  --purple: #66023c;
  --purple-10: #f5ebf1;
  --purple-20: #e8d0dc;
  --gold: #b8963e;
  --ink: #1a1a1a;
  --charcoal: #4a4a4a;
  --mid: #7a7a7a;
  --rule: #e4ded8;
  --off-white: #faf8f6;
  --white: #ffffff;
  --nav-h: 72px;
  --max: 1180px;
  /* --serif: "Cormorant Garamond", Georgia, serif; */
  /* --sans: "DM Sans", system-ui, sans-serif; */

  /* Fredoka */
  --fredoka: "Fredoka", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Philosopher */
  --philosopher: "Philosopher", sans-serif;
}

/* ── Base ── */
body {
  font-family: var(--philosopher) !important;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-image {
  width: 220px;
}
.nav-logo-bar {
  width: 3px;
  height: 18px;
  background: var(--purple);
  border-radius: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--purple);
}
.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--white) !important;
  background: var(--purple);
  padding: 10px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover {
  opacity: 0.85;
}

/* ── HERO ── */
#hero {
  padding-top: 150px;
  display: flex;
  align-items: center;
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding-bottom: 0 !important;
}
.hero-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--purple);
}
.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-10);
  border: 1px solid var(--purple-20);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.hero-eyebrow span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(52px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--purple);
}
.hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--charcoal);
  max-width: 420px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}
.btn-primary:hover {
  opacity: 0.85;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover {
  color: var(--purple);
}
.btn-ghost svg {
  transition: transform 0.2s var(--ease);
}
.btn-ghost:hover svg {
  transform: translateX(3px);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-card {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 28px 32px;
  position: relative;
}
.hero-card-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--purple);
  border-radius: 4px 0 0 4px;
}
.hero-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.hero-card-value {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-card-desc {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.5;
}
.hero-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── SECTION SHARED ── */
section {
  padding: 80px 0;
}
section.alt {
  background: var(--off-white);
}
.section-header {
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  margin-top: 12px;
  color: var(--ink);
}
.section-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: 20px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 44px 40px;
  position: relative;
  transition: background 0.25s var(--ease);
  cursor: default;
}
.service-card:hover {
  background: var(--purple-10);
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}
.service-num {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  display: block;
}
.service-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.2;
}
.service-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.65;
  margin-bottom: 24px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  padding: 4px 0;
}
.service-tag:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--rule);
}
.service-arrow {
  position: absolute;
  right: 32px;
  top: 44px;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease);
  color: var(--purple);
}

/* ── OPPORTUNITY ── */
#opportunity {
  background: var(--ink);
}
#opportunity .label {
  color: var(--gold);
}
#opportunity h2 {
  color: var(--white);
}
#opportunity .section-rule {
  background: var(--purple);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 60px;
}
.stat-cell {
  padding: 52px 40px;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 500;
  color: var(--purple);
  /* override with custom lighter purple for dark bg */
  color: #c06090;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.stat-line {
  width: 36px;
  height: 1.5px;
  background: var(--gold);
  margin-bottom: 16px;
}
.stat-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.insight-bar {
  margin-top: 1px;
  padding: 28px 40px;
  background: var(--white);
  border: 1.5px solid var(--purple);
  grid-column: 1 / -1;
}
.insight-bar p {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 400;
  color: var(--purple);
  line-height: 1.5;
}

/* ── PROCESS ── */
#process {
  background: var(--white);
}
.section-header-process {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.process-step {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.process-step:last-child {
  border-right: none;
}
.process-step-top {
  height: 4px;
  background: var(--rule);
  margin: -40px -36px 36px;
  transition: background 0.3s;
}
.process-step:hover .process-step-top {
  background: var(--purple);
}
.process-n {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--purple);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 14px;
  transition: opacity 0.3s;
}
.process-step:hover .process-n {
  opacity: 1;
}
.process-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.process-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.65;
}
.process-foot {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.process-foot p {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--mid);
}

/* ── WHY US ── */
#why {
  background: var(--off-white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.why-card:hover::before {
  transform: scaleX(1);
}
.why-card:hover {
  border-color: var(--purple-20);
  box-shadow: 0 4px 24px rgba(102, 2, 60, 0.06);
}
.why-card-n {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
  display: block;
}
.why-card-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.why-card-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.65;
}

/* ── CONTACT ── */
#contact {
  background: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin-top: 12px;
  margin-bottom: 24px;
}
.contact-left p {
  font-size: 16px;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-item {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-item:first-child {
  border-top: 1px solid var(--rule);
}
.contact-item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 4px;
}
.contact-item-val {
  font-size: 15px;
  color: var(--purple);
  font-weight: 400;
  text-decoration: none;
}
.contact-item-val:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--off-white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 44px 40px;
}
.contact-form h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 32px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.submit-btn {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 16px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.submit-btn:hover {
  opacity: 0.85;
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 52px 0 40px;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.footer-tagline {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
}
.footer-links-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.social-links {
  display: flex;
  gap: 32px;
  list-style: none;
  justify-content: flex-end;
}
.social-links a {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}
.footer-region {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  color: #a0486e;
}

/* ── ANNOTATIONS ── (for Figma reference) */
.figma-note {
  display: inline-block;
  background: #3b82f6;
  color: #fff;
  font-family: monospace;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  position: absolute;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

/* ── SCROLL ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }
  .contact-inner {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  section {
    padding: 60px 0;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 14px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
    gap: 60px;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }
  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .hero-visual {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-card-value {
    font-size: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 32px 24px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-cell {
    padding: 40px 24px;
  }
  .stat-num {
    font-size: 48px;
  }
  .insight-bar {
    padding: 24px;
  }
  .insight-bar p {
    font-size: 18px;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .section-header-process {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .process-step:nth-child(odd) {
    border-right: 1px solid var(--rule);
  }
  .process-step:nth-child(n + 3) {
    border-bottom: none;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
  .nav-inner {
    padding: 0 24px;
    justify-content: space-between;
  }
  .nav-links li:not(:last-child) {
    display: none;
  }
  .nav-links {
    display: flex;
    gap: 0;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 11px;
  }
  .nav-logo-image {
    width: 140px;
  }
  .hero-title {
    font-size: 42px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-step:nth-child(odd) {
    border-right: none;
  }
  .process-step {
    border-bottom: 1px solid var(--rule);
  }
  .process-step:last-child {
    border-bottom: none;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
