/* ─── TOKENS ────────────────────────────────────────────── */
:root {
  --ink: #0d0b0f;
  --ink-secondary: #4a4355;
  --ink-muted: #7a7385;
  --surface: #ffffff;
  --surface-soft: #f9f9fb;
  --surface-mid: #f2f1f6;
  --border: rgba(39, 32, 48, 0.1);
  --border-soft: rgba(39, 32, 48, 0.06);
  --accent: #db1582;
  --accent-hover: #c2116f;
  --accent-glow: rgba(219, 21, 130, 0.18);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body:
    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 40px;
  --space-xl: 64px;
  --space-2xl: 100px;
  --space-3xl: 140px;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --r-xl: 32px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
p {
  text-wrap: pretty;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-l);
}

/* ─── TYPOGRAPHY HELPERS ─────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-m);
}
.section-label--light {
  color: rgba(255, 255, 255, 0.55);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.section-heading--light {
  color: #fff;
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 14px 28px;
  border-radius: var(--r-s);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.22s ease,
    transform 0.18s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ─── HEADER / NAV ────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  transition: height 0.3s ease;
}

.header.scrolled .nav {
  height: 72px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-l);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.header.scrolled .nav-mobile-toggle span {
  background: var(--ink);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after {
  width: 100%;
}

/* scrolled state — nav links dark */
.header.scrolled .nav-link {
  color: var(--ink-secondary);
}
.header.scrolled .nav-link:hover {
  color: var(--accent);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.nav-logo .logo-light,
.nav-logo .logo-dark {
  height: 48px;
  width: auto;
  transition: height 0.3s ease;
}

.nav-logo .logo-dark {
  display: none;
}
.header.scrolled .nav-logo .logo-light {
  display: none;
}
.header.scrolled .nav-logo .logo-dark {
  display: block;
}

.header.scrolled .nav-logo .logo-light,
.header.scrolled .nav-logo .logo-dark {
  height: 36px;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 60% 40%,
      rgba(219, 21, 130, 0.18) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 80% at 10% 80%,
      rgba(219, 21, 130, 0.08) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 100px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: var(--space-m);
  max-width: 680px;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  max-width: 480px;
  margin-bottom: var(--space-l);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-s);
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(0.7);
  }
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about {
  padding: var(--space-3xl) 0;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}

.about-left {
  position: sticky;
  top: 110px;
}

.about-right p {
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-m);
}
.about-right p:last-child {
  margin-bottom: 0;
}

.about-lead {
  font-size: 19px !important;
  color: var(--ink) !important;
  font-weight: 400;
}
.about-lead strong {
  color: var(--accent);
  font-weight: 600;
}

/* pillars */
.pillars {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: var(--space-l);
}
.pillars .section-label {
  display: block;
  margin-bottom: var(--space-l);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-m);
  position: relative;
}

.pillar {
  position: relative;
  padding: var(--space-l) var(--space-m);
  border-radius: var(--r-m);
  background-color: #f9f9fb;
  border: 1px solid rgba(39, 32, 48, 0.06);
  z-index: 1;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background-color: rgba(219, 21, 130, 0.02);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='10' x2='10' y2='0' stroke='%23db1582' stroke-width='1' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  z-index: 0;
  pointer-events: none;
}
.pillar.circle-top-right::before {
  top: -60px;
  right: -60px;
}
.pillar.circle-bottom-left::before {
  bottom: -80px;
  right: -120px;
}
.pillar.circle-top-left::before {
  top: -60px;
  left: -60px;
}
.pillar.circle-bottom-right::before {
  bottom: -60px;
  right: -60px;
}
.pillar.circle-center::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 28px rgba(219, 21, 130, 0.12);
  background-color: #ffffff;
  border-color: rgba(219, 21, 130, 0.3);
}
.pillar:hover .pillar-num {
  width: 45px;
}

.pillar-num {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 16px;
  transition: width 0.3s ease;
  position: relative;
  z-index: 1;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.pillar p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ─── APPROACH ───────────────────────────────────────────── */
.approach {
  padding: var(--space-3xl) 0;
  background: var(--surface-mid);
}

.approach-inner {
  max-width: 800px;
  margin: 0 auto;
}

.approach-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.3px;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: var(--space-l);
  margin: 0 0 var(--space-l);
}

.approach-body {
  padding-left: calc(var(--space-l) + 3px);
  margin-bottom: var(--space-2xl);
}
.approach-body p {
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-s);
}
.approach-body p:last-child {
  margin-bottom: 0;
}

.approach-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-l);
  max-width: 900px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  position: relative;
}
.approach-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 1px;
  background: var(--border);
  border-radius: 2px;
}
.approach-cta-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.approach-cta-text .accent {
  color: var(--accent);
}
.approach-cta .btn {
  margin-top: var(--space-s);
}

/* ─── CONTACT + FOOTER WRAPPER ─────────────────────────────── */
.contact-footer-bg {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.contact-footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 30%,
      rgba(219, 21, 130, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 80% at 10% 90%,
      rgba(219, 21, 130, 0.08) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.contact-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact {
  padding: var(--space-2xl) 0 0;
  background: transparent;
  position: relative;
  z-index: 1;
}
.contact .container {
  position: relative;
  z-index: 1;
}

.contact-header {
  margin-bottom: var(--space-xl);
}

/* Contact Cards Layout */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-l);
  margin-bottom: var(--space-xl);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  padding: var(--space-xl) var(--space-l);
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(219, 21, 130, 0.1);
  border: 1px solid rgba(219, 21, 130, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-card-icon img {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.contact-card:hover .contact-card-icon img {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.contact-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-m);
}

.contact-card-value {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.contact-card--revealable {
  cursor: pointer;
}

.contact-card--revealable .contact-card-value,
.contact-card--revealable .contact-card-action {
  display: none;
}

.contact-card--revealable.is-revealed .contact-card-value {
  display: block;
  margin-top: var(--space-xs);
  animation: cardValueIn 0.35s ease forwards;
}

.contact-card--revealable.is-revealed .contact-card-action {
  display: inline-flex;
  margin-top: var(--space-m);
  animation: cardValueIn 0.35s ease 0.1s forwards;
  opacity: 0;
}

.contact-card-action {
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--r-m);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-card-action:hover {
  background: #c4126f;
  transform: translateY(-1px);
}

@keyframes cardValueIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Footer */
.contact-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-m);
}

.contact-social {
  display: flex;
  gap: var(--space-xs);
}

.contact-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--r-s);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}
.social-btn:hover img {
  opacity: 1;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: transparent;
  padding: var(--space-l) 0 var(--space-l);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-m);
  text-align: center;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-data p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-xs);
}

/* ─── FADE IN ANIMATION ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-l);
  }
  .about-left {
    position: static;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .pillar {
    padding: var(--space-m);
  }
  .approach-quote {
    font-size: 20px;
    padding-left: var(--space-m);
  }
  .approach-body {
    padding-left: calc(var(--space-m) + 3px);
  }
  .approach-cta {
    padding: var(--space-l) var(--space-m);
  }
  .approach-cta-text {
    font-size: 22px;
  }
  .contact-cards {
    grid-template-columns: 1fr;
    gap: var(--space-m);
  }
  .contact-card {
    padding: var(--space-l) var(--space-m);
  }
  .contact-card-icon {
    width: 48px;
    height: 48px;
  }
  .contact-card-icon img {
    width: 22px;
    height: 22px;
  }
  .contact-footer {
    align-items: center;
  }
  .footer {
    padding: var(--space-m) 0;
  }
  .footer-logo img {
    height: 24px;
  }
  .footer-data p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .nav-mobile-toggle {
    display: flex;
  }

  .nav-right {
    position: static;
  }

  .nav-links {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-l);
    z-index: 300;
    opacity: 0;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    padding-top: 80px;
  }

  .nav-links.is-open {
    visibility: visible;
    opacity: 1;
  }

  .nav-link {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
  }

  body.menu-open {
    overflow: hidden;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 44px);
    letter-spacing: -0.5px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .section-heading {
    font-size: 24px;
  }
  .approach-quote {
    font-size: 18px;
  }
  .approach-cta-text {
    font-size: 20px;
  }
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  .social-btn {
    width: 40px;
    height: 40px;
  }
}
