:root {
  --cream: #F0EAD6;
  --surface: #ffffff;
  --dark: #141414;
  --mid: #5c5c5c;
  --light: #8a8a8a;
  --turquoise: #00bcd4;
  --purple: #7b5ea7;
  --pink: #e83e8c;
  --gradient: linear-gradient(135deg, #00bcd4 0%, #7b5ea7 55%, #c2185b 100%);
  --gradient-soft: linear-gradient(135deg, #00bcd4, #7b5ea7);
  --gradient-green: linear-gradient(135deg, #00e5a8 0%, #00bcd4 45%, #00897b 100%);
  --gradient-ink: linear-gradient(135deg, #111 0%, #888 50%, #222 100%);
  --brand-line: linear-gradient(90deg, #00bcd4 0%, #7b5ea7 50%, #e83e8c 100%);
  --font: "Poppins", system-ui, sans-serif;
  --display: "DM Serif Display", Georgia, serif;
  --radius: 10px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #F0EAD6;
  background-color: #F0EAD6;
}

body {
  background: #F0EAD6;
  background-color: #F0EAD6;
  background-image: none;
  font-family: var(--font);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.55;
}

main {
  background: #F0EAD6;
}

body.has-fine-pointer {
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── CURSOR ── */
#cursor-blob {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(232, 62, 140, 0.45),
    rgba(232, 62, 140, 0.18) 45%,
    transparent 70%
  );
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9995;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.35s ease, height 0.35s ease;
  will-change: transform;
  filter: blur(2px);
  opacity: 0;
}

#cursor-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition:
    width 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  will-change: transform;
  background: var(--pink);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(232, 62, 140, 0.35),
    0 0 14px 4px rgba(232, 62, 140, 0.55);
  opacity: 0;
}

body.has-fine-pointer #cursor-blob,
body.has-fine-pointer #cursor-inner {
  opacity: 1;
}

body.cursor-hover #cursor-inner {
  width: 36px;
  height: 36px;
  background: rgba(232, 62, 140, 0.18);
  border-color: var(--pink);
  box-shadow:
    0 0 0 1px rgba(232, 62, 140, 0.4),
    0 0 18px 6px rgba(232, 62, 140, 0.35);
}

body.cursor-hover #cursor-blob {
  width: 60px;
  height: 60px;
}

body.has-fine-pointer a,
body.has-fine-pointer button {
  cursor: none;
}

body.cursor-on-chat,
body.cursor-on-chat a,
body.cursor-on-chat button,
body.cursor-on-chat input {
  cursor: auto;
}

body.cursor-on-chat #cc-btn,
body.cursor-on-chat #cc-send,
body.cursor-on-chat .cc-qb,
body.cursor-on-chat #cc-book,
body.cursor-on-chat #cc-mail,
body.cursor-on-chat #cookie-tag,
body.cursor-on-chat .cookie-btn,
body.cursor-on-chat #cookie-open,
body.cursor-on-chat #lead-modal button,
body.cursor-on-chat #lead-modal a,
body.cursor-on-chat #lead-modal input,
body.cursor-on-chat #lead-modal select,
body.cursor-on-chat #lead-modal textarea {
  cursor: pointer !important;
}

body.cursor-on-chat #lead-modal input,
body.cursor-on-chat #lead-modal select,
body.cursor-on-chat #lead-modal textarea {
  cursor: text !important;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 60px;
  transition: padding 0.4s, background 0.4s, border-color 0.4s;
}

.nav-brand-mobile {
  display: none;
}

nav.scrolled {
  padding: 8px 60px;
  background: #F0EAD6;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-wordmark {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-line);
  margin: 0 1px 2px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--mid);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--turquoise);
}

.nav-cta {
  background: var(--dark) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: var(--radius);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  z-index: 1;
  gap: 32px;
  background: #F0EAD6;
}

.hero-logo {
  height: auto;
  width: min(100%, 420px);
  object-fit: contain;
  margin-bottom: 28px;
}

.hero-logo-mobile {
  display: none;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1;
  margin-bottom: 24px;
  font-weight: 400;
  color: var(--dark);
}

.hero-line {
  display: inline-block;
}

.hero-title em {
  font-style: italic;
  background: var(--gradient-green);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 18px;
}

.award-line {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 36px;
}

.award-line--clients {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--mid);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.25s;
}

.btn-primary::after {
  display: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 188, 212, 0.22);
  background: var(--gradient-soft);
}

body.has-fine-pointer .magnetic {
  --mx: 0px;
  --my: 0px;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s,
    background 0.25s,
    border-color 0.2s,
    color 0.2s;
  will-change: transform;
}

body.has-fine-pointer .magnetic:hover {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
}

body.has-fine-pointer .btn-outline.magnetic:hover {
  border-color: var(--dark);
  color: var(--dark);
}

body.has-fine-pointer .btn-on-dark.magnetic:hover {
  background: var(--turquoise);
  color: #fff;
  box-shadow: none;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-large {
  font-size: 1rem;
  padding: 16px 32px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--dark);
  color: var(--dark);
  transform: translateY(-2px);
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
}

.polaroid-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.polaroid {
  position: absolute;
  margin: 0;
  width: 148px;
  padding: 10px 10px 28px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.14);
  z-index: 0;
  animation: polaroid-float 6s ease-in-out infinite alternate;
}

.polaroid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  background: #ddd;
}

.polaroid-1 {
  top: 4%;
  left: -6%;
  transform: rotate(-12deg);
  animation-delay: 0s;
}

.polaroid-2 {
  top: 8%;
  right: -4%;
  transform: rotate(9deg);
  animation-delay: -1.5s;
  width: 136px;
}

.polaroid-2 img {
  height: 156px;
}

.polaroid-3 {
  bottom: 10%;
  left: -10%;
  transform: rotate(7deg);
  animation-delay: -3s;
  width: 142px;
}

.polaroid-3 img {
  height: 150px;
}

.polaroid-4 {
  bottom: 6%;
  right: -8%;
  transform: rotate(-8deg);
  animation-delay: -4.2s;
  width: 154px;
}

.polaroid-4 img {
  height: 176px;
}

@keyframes polaroid-float {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -8px;
  }
}

.phone-shell {
  width: min(280px, 70vw);
  position: relative;
  z-index: 1;
  filter: none;
  animation: phone-float 5s ease-in-out infinite alternate;
}

@keyframes phone-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

.phone-screen {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #000;
  border: 8px solid #111;
}

.phone-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── HERO ENTRANCE (revert: remove this block + heroEntrance in script.js + hero-reveal/hero-line classes) ── */
#hero.hero-entrance:not(.is-in) .hero-reveal,
#hero.hero-entrance:not(.is-in) .polaroid,
#hero.hero-entrance:not(.is-in) .phone-shell {
  opacity: 0;
}

#hero.hero-entrance:not(.is-in) .hero-reveal {
  transform: translateY(18px);
}

#hero.hero-entrance:not(.is-in) .polaroid {
  translate: 0 32px;
}

#hero.hero-entrance:not(.is-in) .phone-shell {
  transform: translateY(28px);
}

#hero.hero-entrance .hero-reveal,
#hero.hero-entrance .polaroid,
#hero.hero-entrance .phone-shell {
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

#hero.hero-entrance.is-in .hero-reveal,
#hero.hero-entrance.is-in .polaroid,
#hero.hero-entrance.is-in .phone-shell {
  opacity: 1;
}

#hero.hero-entrance.is-in .hero-reveal {
  transform: translateY(0);
}

#hero.hero-entrance.is-in .polaroid {
  translate: 0 0;
}

#hero.hero-entrance.is-in .phone-shell {
  transform: translateY(0);
}

#hero.hero-entrance.is-in .hero-logo {
  transition-delay: 0s;
}

#hero.hero-entrance.is-in .hero-title .hero-line:nth-child(1) {
  transition-delay: 0.08s;
}

#hero.hero-entrance.is-in .hero-title .hero-line:nth-child(3) {
  transition-delay: 0.16s;
}

#hero.hero-entrance.is-in .hero-sub {
  transition-delay: 0.28s;
}

#hero.hero-entrance.is-in .award-line {
  transition-delay: 0.34s;
}

#hero.hero-entrance.is-in .hero-ctas {
  transition-delay: 0.4s;
}

#hero.hero-entrance.is-in .polaroid-1 {
  transition-delay: 0.52s;
}

#hero.hero-entrance.is-in .polaroid-2 {
  transition-delay: 0.6s;
}

#hero.hero-entrance.is-in .polaroid-3 {
  transition-delay: 0.68s;
}

#hero.hero-entrance.is-in .polaroid-4 {
  transition-delay: 0.76s;
}

#hero.hero-entrance.is-in .phone-shell {
  transition-delay: 0.88s;
}

#hero.hero-entrance:not(.is-ready) .polaroid,
#hero.hero-entrance:not(.is-ready) .phone-shell {
  animation: none;
}

/* ── MARQUEE ── */
.marquee {
  background: var(--dark);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, #1a1a1a, transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, #1a1a1a, transparent);
}

.marquee-track {
  display: flex;
}

.marquee-inner {
  display: flex;
  animation: mscroll 22s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-inner span {
  padding: 0 28px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.65;
}

.marquee-inner .dot {
  opacity: 0.3;
  padding: 0 4px;
}

@keyframes mscroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.gradient-divider {
  height: 1px;
  margin: 0 60px;
  background: var(--brand-line);
  opacity: 0.55;
  position: relative;
  z-index: 1;
}

/* ── SECTIONS ── */
.section {
  padding: 100px 60px;
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--turquoise);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
  font-weight: 400;
}

.section-title em {
  font-style: italic;
  background: var(--gradient-soft);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease infinite;
}

/* Title mask reveals */
.title-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.title-mask-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.title-reveal.is-revealed .title-mask:nth-child(1) .title-mask-inner {
  transform: translateY(0);
  transition-delay: 0s;
}

.title-reveal.is-revealed .title-mask:nth-child(2) .title-mask-inner {
  transform: translateY(0);
  transition-delay: 0.1s;
}

.title-reveal.is-revealed .title-mask:only-child .title-mask-inner {
  transition-delay: 0s;
}

.section-sub {
  color: var(--mid);
  font-size: 0.95rem;
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 52px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-pillar {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: none;
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.service-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.pillar-accent {
  height: 3px;
}

.accent-consult {
  background: linear-gradient(to right, #00bcd4, #3dd4e0);
}

.accent-commerce {
  background: linear-gradient(to right, #7b5ea7, #a07fd4);
}

.accent-media {
  background: linear-gradient(to right, #c0397e, #e83e8c);
}

.pillar-header {
  width: 100%;
  padding: 28px 26px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.pillar-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.tag-consult {
  background: rgba(0, 188, 212, 0.1);
  color: #007a8a;
}

.tag-commerce {
  background: rgba(123, 94, 167, 0.1);
  color: #5a4580;
}

.tag-media {
  background: rgba(232, 62, 140, 0.1);
  color: #9a2a6a;
}

.pillar-name {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.08;
  font-weight: 400;
}

.pillar-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s,
    color 0.3s;
}

.service-pillar.open .pillar-toggle {
  transform: rotate(45deg);
  background: var(--dark);
  color: #fff;
}

.pillar-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-pillar.open .pillar-body {
  max-height: 560px;
}

.pillar-inner {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 22px 26px 28px;
}

.pillar-desc {
  font-size: 0.83rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--mid);
}

/* Pillar stagger open */
.pillar-desc,
.service-list li {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-pillar:not(.open) .pillar-desc,
.service-pillar:not(.open) .service-list li,
.service-pillar:not(.open) .service-cta {
  transition-duration: 0.12s;
  transition-delay: 0s !important;
}

.service-pillar.open .pillar-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.service-pillar.open .service-list li {
  opacity: 1;
  transform: translateY(0);
}

.service-pillar.open .service-list li:nth-child(1) {
  transition-delay: 0.14s;
}
.service-pillar.open .service-list li:nth-child(2) {
  transition-delay: 0.19s;
}
.service-pillar.open .service-list li:nth-child(3) {
  transition-delay: 0.24s;
}
.service-pillar.open .service-list li:nth-child(4) {
  transition-delay: 0.29s;
}
.service-pillar.open .service-list li:nth-child(5) {
  transition-delay: 0.34s;
}

.service-pillar.open .service-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.service-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.list-consult li::before {
  background: var(--turquoise);
}

.list-commerce li::before {
  background: var(--purple);
}

.list-media li::before {
  background: var(--pink);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s,
    background 0.25s;
}

.cta-consult {
  background: var(--turquoise);
}

.cta-commerce {
  background: var(--purple);
}

.cta-media {
  background: var(--pink);
}

.service-pillar.open .service-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.cta-arrow {
  transition: transform 0.2s;
  display: inline-block;
}

.service-cta:hover .cta-arrow {
  transform: translateX(4px);
}

/* ── ABOUT ── */
.about {
  padding-bottom: 100px;
  background: #111;
  color: #fff;
}

.about .section-eyebrow {
  color: var(--turquoise);
}

.about .section-title {
  color: #fff;
}

.about-lead {
  margin-bottom: 0;
  max-width: 560px;
  color: #999;
}

.about-lead + .about-lead {
  margin-top: 18px;
}

/* ── QUOTES ── */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  margin-top: 56px;
  max-width: 1100px;
}

.quote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}

.quote p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
}

.quote-turquoise p {
  color: var(--turquoise);
}

.quote-purple p {
  color: var(--purple);
}

.quote-pink p {
  color: var(--pink);
}

/* ── CLOSE BAND (trust + contact) ── */
.close-band {
  position: relative;
  z-index: 1;
  background: #111;
  color: #fff;
  padding: 72px 60px 88px;
  margin-top: 8px;
}

.close-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-line);
  opacity: 0.7;
}

.close-trust {
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.close-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 22px;
}

.client-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 28px;
}

.client-row li {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.client-row li.visible {
  opacity: 1;
  transform: translateY(0);
}

.client-row li:nth-child(3) {
  color: #fff;
  background: none;
  -webkit-text-fill-color: unset;
  animation: none;
}

.client-sep {
  font-family: var(--font) !important;
  font-size: 1.1rem !important;
  color: #555 !important;
  -webkit-text-fill-color: #555 !important;
  background: none !important;
  animation: none !important;
  padding: 0 6px;
}

.client-sep.visible {
  opacity: 0.7;
}

.close-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 4px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888;
  line-height: 1.6;
}

.close-proof span {
  white-space: nowrap;
}

.proof-dot {
  color: #555;
  padding: 0 6px;
}

.close-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.close-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}

.close-title em {
  font-style: italic;
  background: var(--gradient-green);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s ease infinite;
}

.close-sub {
  color: #999;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.close-email {
  margin-top: 18px;
}

.close-email a {
  color: #888;
  font-size: 0.88rem;
  text-decoration: none;
}

.close-email a:hover {
  color: var(--turquoise);
}

.btn-on-dark {
  background: #fff;
  color: #111;
}

.btn-on-dark:hover {
  background: var(--turquoise);
  color: #fff;
  box-shadow: none;
}

/* ── FOOTER ── */
footer {
  background: #0a0a0a;
  color: #fff;
  padding: 48px 60px 28px;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer::before {
  display: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-img {
  height: auto;
  width: min(100%, 220px);
  object-fit: contain;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #888;
  line-height: 1.65;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #555;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: #aaa;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact a {
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--turquoise);
}

.footer-address {
  font-style: normal;
  margin-top: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #888;
}

.footer-backed {
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #555;
}

.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-legal a,
.footer-cookie-btn {
  color: #888;
  font-size: 0.75rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
}

.footer-legal a:hover,
.footer-cookie-btn:hover {
  color: var(--turquoise);
}

.cookies-copy {
  max-width: 560px;
  margin-top: 20px;
}

.cookies-copy p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.cookies-copy a {
  color: var(--turquoise);
}

.legal-page {
  min-height: 100vh;
  background: var(--cream);
}

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.legal-back {
  margin-top: 36px;
}

.legal-back a {
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.legal-back a:hover {
  color: var(--turquoise);
}

/* Cookie manage tag */
.cookie-tag {
  position: fixed;
  left: 20px;
  bottom: 0;
  z-index: 10040;
  margin: 0;
  padding: 10px 16px 12px;
  border: none;
  border-radius: 8px 8px 0 0;
  background: #fff;
  color: #333;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer !important;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.12);
  transition: color 0.15s, box-shadow 0.15s;
}

.cookie-tag:hover {
  color: #111;
  box-shadow: 0 -3px 18px rgba(0, 0, 0, 0.16);
}

.cookie-tag[hidden] {
  display: none !important;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  max-width: 560px;
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  font-family: var(--font);
}

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #ccc;
  margin-bottom: 14px;
}

.cookie-banner-text a {
  color: var(--turquoise);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

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

.cookie-btn-accept {
  background: linear-gradient(135deg, #00bcd4, #e83e8c);
  color: #fff;
}

.cookie-btn-reject {
  background: transparent;
  color: #ddd;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.cookie-btn-manage {
  background: #fff;
  color: #111;
}

.cookie-banner-manage {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #bbb;
  cursor: pointer;
}

.cookie-option strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}

.cookie-option input {
  margin-top: 3px;
}

body.cookie-open #cc-label {
  opacity: 0;
}

@media (max-width: 900px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* Lead prequal modal */
body.lead-open {
  overflow: hidden;
}

body.lead-open #cc-label {
  opacity: 0;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal[hidden] {
  display: none !important;
}

.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease, backdrop-filter 0.35s ease;
  backdrop-filter: blur(0px);
}

.lead-modal.is-open .lead-backdrop {
  opacity: 1;
  backdrop-filter: blur(6px);
}

.lead-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 820px);
  overflow: auto;
  background: #F0EAD6;
  color: var(--dark);
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: var(--font);
  opacity: 0;
  transform: scale(0.96) translateY(14px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-modal.is-open .lead-dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition-delay: 0.04s;
}

.lead-form-wrap {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-modal.is-open .lead-form-wrap {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.lead-success:not([hidden]) {
  animation: leadSuccessIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes leadSuccessIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lead-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.lead-close:hover {
  color: #111;
}

.lead-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 10px;
}

.lead-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 10px;
}

.lead-intro {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #444;
}

.lead-field em {
  font-style: normal;
  font-weight: 400;
  color: #888;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark);
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
  transition: border-color 0.15s;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  border-color: var(--turquoise);
}

.lead-field textarea {
  resize: vertical;
  min-height: 84px;
}

.lead-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.lead-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.lead-submit:disabled {
  opacity: 0.7;
  pointer-events: none;
}

.lead-note {
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  line-height: 1.45;
}

.lead-error {
  color: #b00040;
  font-size: 0.85rem;
  line-height: 1.45;
}

.lead-success .lead-intro {
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .lead-dialog {
    padding: 24px 18px 20px;
  }

  .lead-row {
    grid-template-columns: 1fr;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 88px 24px 48px;
    display: flex;
    flex-direction: column;
  }

  .hero-left {
    display: contents;
  }

  .hero-logo-desktop {
    display: none;
  }

  /* First screen: big headline + awards */
  .hero-title {
    order: 1;
    font-size: clamp(3.6rem, 16vw, 5.8rem);
    line-height: 0.95;
    margin: 14vh 0 16px;
    max-width: 9ch;
    margin-left: auto;
    margin-right: auto;
  }

  .award-line {
    order: 2;
    margin: 0 auto 28vh;
    font-size: 0.72rem;
    letter-spacing: 1px;
    max-width: 16rem;
    line-height: 1.45;
  }

  /* Below the fold */
  .hero-right {
    order: 3;
    margin-top: 8px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .hero-sub {
    order: 4;
    margin: 28px auto 0;
    max-width: 34rem;
    font-size: 1rem;
  }

  .hero-ctas {
    order: 5;
    justify-content: center;
    margin-top: 24px;
    margin-bottom: 12px;
  }

  nav {
    justify-content: space-between;
    padding: 10px 16px;
  }

  nav.scrolled {
    padding: 8px 16px;
  }

  .nav-brand-mobile {
    display: block;
    line-height: 0;
    flex-shrink: 0;
  }

  .nav-brand-mobile img {
    width: 52px;
    height: auto;
    display: block;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .phone-shell {
    position: relative;
    z-index: 1;
    width: min(240px, 62vw);
    order: 1;
  }

  .polaroid-stack {
    position: static;
    inset: auto;
    width: 100%;
    max-width: 420px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    order: 2;
    pointer-events: none;
  }

  .polaroid {
    position: static;
    width: 100% !important;
    margin: 0;
    padding: 6px 6px 16px;
    animation: none;
    z-index: auto;
  }

  .polaroid-1 { transform: rotate(-4deg) !important; }
  .polaroid-2 { transform: rotate(3deg) !important; }
  .polaroid-3 { transform: rotate(5deg) !important; }
  .polaroid-4 { transform: rotate(-3deg) !important; }

  .polaroid img,
  .polaroid-2 img,
  .polaroid-3 img,
  .polaroid-4 img {
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }

  .nav-logo-img {
    height: 40px;
  }

  .section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about {
    text-align: center;
  }

  .about-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .quotes-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 40px;
  }

  .close-band {
    padding: 56px 24px 72px;
  }

  .close-proof span {
    white-space: normal;
    text-align: center;
  }

  .gradient-divider {
    margin: 0 24px;
  }

  footer {
    padding: 40px 24px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 540px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .nav-brand-mobile img {
    width: 44px;
  }

  .phone-shell {
    width: min(210px, 58vw);
  }

  .polaroid-stack {
    grid-template-columns: repeat(2, 1fr);
    max-width: 280px;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #hero.hero-entrance:not(.is-in) .hero-reveal,
  #hero.hero-entrance:not(.is-in) .polaroid,
  #hero.hero-entrance:not(.is-in) .phone-shell {
    opacity: 1;
    transform: none;
    translate: none;
  }

  .title-mask-inner {
    transform: none !important;
  }

  .pillar-desc,
  .service-list li,
  .service-cta {
    opacity: 1 !important;
    transform: none !important;
  }

  .lead-form-wrap {
    opacity: 1 !important;
    transform: none !important;
  }
}
