/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --bg: #ffffff;
  --surface: #f6f6f8;
  --dark: #0b0b0f;
  --dark-2: #14141a;
  --text: #101014;
  --text-muted: #63636e;
  --text-on-dark: #f2f2f5;
  --text-on-dark-muted: #a3a3ad;

  --grad-start: #fd7e6f;
  --grad-end: #e548a8;
  --gradient: linear-gradient(135deg, var(--grad-start), var(--grad-end));

  --border: #e7e7ea;
  --border-dark: #26262e;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Fixed background: content scrolls, this stays put ---------- */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
.bg-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient);
  will-change: transform;
}
.bg-blob-1 {
  top: -12%;
  right: -6%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  filter: blur(110px);
  opacity: 0.17;
  animation: float 20s ease-in-out infinite;
}
.bg-blob-2 {
  bottom: -18%;
  left: -10%;
  width: 42vw;
  height: 42vw;
  max-width: 540px;
  max-height: 540px;
  filter: blur(120px);
  opacity: 0.12;
  animation: float 26s ease-in-out infinite reverse;
}
/* moved off the centre, where it washed out the text, to the left edge */
.bg-blob-3 {
  top: 30%;
  left: -14%;
  width: 32vw;
  height: 32vw;
  max-width: 420px;
  max-height: 420px;
  filter: blur(130px);
  opacity: 0.09;
  animation: float 32s ease-in-out infinite;
}

/* left of the hero panel, centred on its own position */
.bg-blob-4 {
  top: 49%;
  left: 28%;
  width: 27vw;
  height: 27vw;
  max-width: 380px;
  max-height: 380px;
  filter: blur(115px);
  opacity: 0.13;
  transform: translate(-50%, -50%);
  animation: floatCentered 24s ease-in-out infinite;
}
@keyframes floatCentered {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-53%, -46%) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-blob { animation: none; }
}

/* subtle grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Liquid glass surface ---------- */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.2) 100%);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 34px -14px rgba(16, 16, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    border-color 0.55s var(--ease),
    background 0.55s var(--ease);
}

/* specular highlight that follows the cursor */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(180px 180px at var(--mx, 50%) var(--my, 0%),
              rgba(255, 255, 255, 0.7) 0%,
              rgba(255, 255, 255, 0.25) 38%,
              transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: -1;
}

/* refracted edge sheen */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
              rgba(255, 255, 255, 0.95) 0%,
              rgba(255, 255, 255, 0.12) 32%,
              transparent 55%,
              rgba(255, 255, 255, 0.35) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.glass:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.26) 100%);
  box-shadow:
    0 26px 54px -20px rgba(16, 16, 20, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35);
}
.glass:hover::before { opacity: 1; }
.glass:hover::after { opacity: 1; }

/* cards physically lift, buttons and bars do not */
.service-card:hover,
.team-card:hover,
.contact-item:hover { transform: translateY(-6px); }

/* glass on dark surfaces */
.glass-dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.025) 100%);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow:
    0 12px 40px -16px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}
.glass-dark:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.glass-dark::before {
  background: radial-gradient(200px 200px at var(--mx, 50%) var(--my, 0%),
              rgba(255, 255, 255, 0.22) 0%,
              rgba(255, 255, 255, 0.07) 40%,
              transparent 72%);
}
.glass-dark::after {
  background: linear-gradient(135deg,
              rgba(255, 255, 255, 0.5) 0%,
              rgba(255, 255, 255, 0.06) 30%,
              transparent 55%,
              rgba(255, 255, 255, 0.16) 100%);
}
.glass-dark:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    0 30px 60px -22px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--gradient);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 10px 26px -10px rgba(229, 72, 168, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
/* glass sheen sliding across the primary button */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
              transparent 35%,
              rgba(255, 255, 255, 0.42) 50%,
              transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 18px 34px -10px rgba(229, 72, 168, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost { color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-nav { padding: 10px 22px; font-size: 0.9rem; }
.nav-cta { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 26px; left: 0; right: 0;
  z-index: 100;
  /* only `top` animates: an animated transform or opacity on this element
     would create a stacking context and break the glass blur underneath */
  transition: top 0.45s var(--ease);
}
.site-header.scrolled { top: 16px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 16px 12px 24px;
  border-radius: 100px;
  transition: max-width 0.55s var(--ease), padding 0.5s var(--ease),
              background 0.5s var(--ease), border-color 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}
.site-header.scrolled .header-inner {
  max-width: 940px;
  padding: 9px 12px 9px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.66) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 18px 40px -20px rgba(16, 16, 20, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 44px;
  width: auto;
  transition: transform 0.4s var(--ease), height 0.45s var(--ease);
}
.site-header.scrolled .brand-logo { height: 36px; }
.brand:hover .brand-logo { transform: scale(1.04); }
.main-nav {
  display: flex;
  gap: 32px;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--text);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 150px;
  overflow: hidden;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 6%) scale(1.08); }
}
.hero-photo-wrap {
  position: absolute;
  right: 7%;
  bottom: 0;
  top: 0;
  width: 82%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 1;
  animation: heroPhotoIn 1.3s var(--ease) both;
}
.hero-photo {
  height: 102%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: bottom;
  /* upper stops keep the original look through the belts (67-74% of the image);
     the tail falls off harder so the cropped legs leave no visible edge */
  -webkit-mask-image:
    linear-gradient(180deg,
      #000 30%,
      rgba(0, 0, 0, 0.55) 58%,
      rgba(0, 0, 0, 0.22) 74%,
      rgba(0, 0, 0, 0.09) 80%,
      rgba(0, 0, 0, 0.02) 86%,
      transparent 91%);
  mask-image:
    linear-gradient(180deg,
      #000 30%,
      rgba(0, 0, 0, 0.55) 58%,
      rgba(0, 0, 0, 0.22) 74%,
      rgba(0, 0, 0, 0.09) 80%,
      rgba(0, 0, 0, 0.02) 86%,
      transparent 91%);
}
@keyframes heroPhotoIn {
  from { opacity: 0; transform: translateY(40px) scale(1.02); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy {
  max-width: 720px;
  padding: 44px 48px 48px;
  border-radius: 34px;
  margin-bottom: 10vh;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.34) 100%);
  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 24px 60px -24px rgba(16, 16, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}
.hero-copy:hover { transform: none; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--grad-end);
  font-weight: 600;
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.3vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 981px) {
  .hero-title span { white-space: nowrap; }
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #4a4a55;
  max-width: 540px;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .hero-glow { animation: none; }
  .hero-media { animation: none; }
}

/* ---------- Stats ---------- */
.stats {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* one number carrying the whole section, so it goes big */
.stat-number-hero {
  font-size: clamp(4.2rem, 13vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.stat-single-label {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 420px;
  margin: 22px 0 0;
  line-height: 1.55;
}
.stat-single-note {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin: 18px 0 0;
}

/* ---------- Sections generic ---------- */
section { padding: 130px 0; position: relative; scroll-margin-top: 80px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 700px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 0 60px;
}

/* ---------- Services ---------- */
/* no own background: the fixed layer carries the colour, keeping brightness even */
.services { overflow: hidden; }
.services .container { position: relative; z-index: 1; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card { padding: 38px 36px; }
.service-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--grad-end);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 12px;
}
.service-card p { color: var(--text-muted); margin: 0; font-size: 0.98rem; }

/* ---------- Process ---------- */
.process { overflow: hidden; }
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  position: relative;
}
/* line threading the numbered nodes together */
.process-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--gradient);
  opacity: 0.3;
}
.process-step { position: relative; }
.process-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 22px -10px rgba(229, 72, 168, 0.65);
  margin-bottom: 24px;
  transition: transform 0.45s var(--ease);
}
.process-step:hover .process-num { transform: translateY(-4px) scale(1.06); }
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.65;
}

/* ---------- Pricing ---------- */
.pricing { overflow: hidden; }
.pricing-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 56px 56px;
  border-radius: 32px;
  text-align: center;
}
.pricing-panel:hover { transform: none; }
.pricing-panel .eyebrow { margin-bottom: 16px; }
.pricing-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
.pricing-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 40px;
}
.pricing-factors {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: left;
}
.pricing-factors li {
  padding-top: 18px;
  border-top: 2px solid transparent;
  border-image: var(--gradient) 1;
  border-image-slice: 1;
}
.pricing-factor-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grad-end);
  margin-bottom: 8px;
}
.pricing-factor-desc {
  display: block;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}
.pricing-free {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
  margin-bottom: 34px;
}
.pricing-free-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
}
.pricing-free-mark svg { width: 17px; height: 17px; }
.pricing-free p {
  margin: 0;
  color: #4a4a55;
  font-size: 0.97rem;
  line-height: 1.62;
}
.pricing-free strong { color: var(--text); }

/* ---------- Team ---------- */
.team { background: var(--dark); color: var(--text-on-dark); overflow: hidden; }
.team .eyebrow { color: #ff9ecb; }
.team .section-sub { color: var(--text-on-dark-muted); }

.team-photo-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: var(--gradient);
  filter: blur(150px);
  opacity: 0.28;
  border-radius: 50%;
  animation: float 16s ease-in-out infinite reverse;
  pointer-events: none;
}
.team .container { position: relative; z-index: 1; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.team-card { padding: 38px 36px; }
.team-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 22px;
  border: 2px solid transparent;
  background: var(--gradient);
  padding: 3px;
  transition: transform 0.4s var(--ease);
}
.team-card:hover .team-avatar { transform: scale(1.04); }
.team-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 10px; }
.team-card p { color: var(--text-on-dark-muted); margin: 0; font-size: 0.98rem; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .section-title, .contact .section-sub { margin-left: auto; margin-right: auto; }

.contact-details {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 36px;
  justify-content: center;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 18px 24px;
  border-radius: 20px;
}
.contact-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  min-height: 22px;
}
.contact-label svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--grad-end);
  transition: transform 0.3s var(--ease);
}
.contact-item:hover .contact-label svg { transform: scale(1.12); }
.contact-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

/* phone tiles are not clickable on desktop */
.contact-item:not([href]) { cursor: default; }
.contact-item:not([href]):hover { transform: none; }

/* ---------- Mail picker ---------- */
.mail-picker {
  position: fixed;
  z-index: 300;
  min-width: 232px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 100%);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.mail-picker.visible { opacity: 1; transform: translateY(0); }
.mail-picker-head {
  margin: 4px 12px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mail-picker-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: none;
  border-radius: 12px;
  background: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.mail-picker-item:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--grad-end);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  z-index: 200;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-on-dark);
  background: rgba(16, 16, 20, 0.9);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Legal / text pages ---------- */
.legal { padding: 180px 0 110px; position: relative; overflow: hidden; }
.legal-inner { position: relative; z-index: 1; max-width: 780px; }
.legal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 22px;
}
.legal-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 14px;
}
.legal-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 46px 0 16px;
}
.legal h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 28px 0 10px;
}
.legal p, .legal li {
  color: #4a4a55;
  line-height: 1.72;
  font-size: 1rem;
}
.legal p { margin: 0 0 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal a[href^="mailto"] {
  color: var(--grad-end);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.legal a[href^="mailto"]:hover { border-bottom-color: var(--grad-end); }
.legal-highlight {
  padding: 22px 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.legal-back { margin-top: 56px; }

@media (max-width: 760px) {
  .legal { padding: 140px 0 80px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.brand-footer .brand-logo { height: 30px; }
.footer-tagline { margin: 18px 0 20px; line-height: 1.6; }

.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 18px;
}
.footer-col a {
  position: relative;
  padding: 6px 0;
  color: var(--text-muted);
  transition: color 0.3s var(--ease);
}
.footer-col a[href]:hover { color: var(--text); }
.footer-col a[href]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}
.footer-col a[href]:hover::after { width: 100%; }
.footer-col a:not([href]) { cursor: default; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer-bottom p { margin: 0; font-size: 0.88rem; }
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s var(--ease);
  align-self: flex-start;
}
.footer-ig svg { width: 20px; height: 20px; color: var(--grad-end); }
.footer-ig:hover { color: var(--grad-end); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 124px 0 30px;
  }
  .hero-inner { position: relative; z-index: 2; order: 1; }

  /* no glass panel on mobile: bare, airy typography instead */
  .hero-copy {
    max-width: 100%;
    padding: 0;
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    isolation: auto;
  }
  .hero-copy::before,
  .hero-copy::after { display: none; }

  .hero-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
  }
  .hero-copy .eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: var(--gradient);
  }
  .hero-title { font-size: clamp(2.5rem, 11.5vw, 3.2rem); line-height: 1.04; }
  .hero-sub { font-size: 1.05rem; line-height: 1.62; margin-bottom: 34px; }

  .hero-photo-wrap { display: none; }
  .hero-glow { top: 14%; right: -8%; }
}

@media (max-width: 900px) {
  .services-grid, .team-grid { grid-template-columns: 1fr; }

  /* process turns into a vertical timeline */
  .process-steps { grid-template-columns: 1fr; gap: 0; }
  .process-steps::before {
    top: 10px;
    bottom: 10px;
    left: 26px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 22px;
    padding-bottom: 34px;
  }
  .process-num { margin-bottom: 0; grid-row: span 2; }
  .process-step h3 { align-self: center; margin: 14px 0 8px; }
  .process-step p { grid-column: 2; }

  .pricing-panel { padding: 40px 28px 44px; border-radius: 26px; }
  .pricing-factors { grid-template-columns: 1fr; gap: 20px; }
  .contact-details { grid-template-columns: repeat(2, auto); gap: 28px; }
  section { padding: 90px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: fixed;
    top: 92px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 18px;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
  }
  .main-nav.open a { padding: 12px 14px; border-radius: 10px; }
  .main-nav.open a:hover { background: var(--surface); }
  .main-nav.open .nav-cta {
    display: inline-flex;
    margin-top: 6px;
    justify-content: center;
    color: #fff;
  }
  .main-nav.open .nav-cta:hover { background: var(--gradient); }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .site-header { top: 14px; }
  .site-header.scrolled { top: 10px; }
  .header-inner { padding: 10px 18px; }
  .site-header.scrolled .header-inner { padding: 8px 16px; }
  .brand-logo { height: 36px; }
  .site-header.scrolled .brand-logo { height: 32px; }
  .stats { padding: 74px 0; }
  .contact-details { grid-template-columns: 1fr; text-align: center; }
  .contact-item { align-items: center; }
}
