/* ============================================================
   Studio — testimonials site
   Ash gray canvas, black sections, ink-black accent.
   Type: Lora everywhere.
   ============================================================ */
:root {
  --canvas: #b6b8b2;   /* ash gray */
  --canvas-deep: #a3a59f;
  --ink: #0f0f0f;
  --gunmetal: #2C3539; /* gunmetal gray */
  --blue: #093de1;     /* attic salt blue */
  --cream: #ece9e2;
  --font: "Lora", Georgia, serif;
  --gutter: clamp(20px, 5vw, 90px);
  --container: 1400px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font); font-weight: 400; font-size: 19px; line-height: 1.4;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .8s ease;
}
body.is-night { background: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
img, video, canvas, svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }

/* line-by-line reveal */
[data-lines] .line { display: block; overflow: hidden; }
[data-lines] .line > span { display: block; transform: translateY(110%); }
[data-fade], [data-fade-up] { opacity: 0; }
[data-fade-up] { transform: translateY(40px); }

/* ---------- Stars (on brand: blue) ---------- */
.stars { display: flex; gap: 5px; color: var(--ink); }
.dark .stars, .focus .stars { color: var(--cream); }
.stars svg { width: 18px; height: 17px; }
.focus .stars svg { width: 24px; height: 23px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 40px; font-size: 16px; line-height: 1; white-space: nowrap; background: var(--ink); color: var(--cream); transition: background .3s, color .3s; }
.btn:hover { background: #2a2a28; color: var(--cream); }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.header.is-dark .btn { background: var(--cream); color: var(--ink); }
.header.is-dark .btn:hover { background: #fff; color: var(--ink); }
.magnetic { will-change: transform; }

/* ---------- Header + nav ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: center; padding: 18px var(--gutter); color: var(--ink); transition: color .4s; }
.header__bar { width: 100%; max-width: calc(min(100vw, 1400px) - 2 * var(--gutter)); display: flex; align-items: center; justify-content: space-between; border-radius: 999px; padding: 10px 0; background: rgba(10,10,10,0); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); }
.header.is-pill .header__bar { max-width: 780px; background: rgba(10,10,10,.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 12px 28px; }
.header.is-pill { color: var(--cream); }
.header.is-pill .logo img { filter: none; }
.header.is-pill .nav { gap: 26px; }
.header.is-pill .nav__link { font-size: 17px; }
.header.is-pill .logo img { height: 26px; }
.header.is-dark { color: var(--cream); }
.logo { display: block; }
.logo img { display: block; height: 32px; width: auto; filter: invert(1); transition: filter .4s, height .4s ease; }
.header.is-dark .logo img { filter: none; }
.nav { display: flex; align-items: center; gap: 38px; transition: gap .4s ease; }
.nav__link { font-size: 18px; font-weight: 700; letter-spacing: 0; display: inline-flex; align-items: center; gap: 8px; transition: opacity .3s, font-size .4s ease; }
.nav__link:hover { opacity: .6; }
.nav__caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s var(--ease); }
.nav__item { position: relative; }
.nav__item.is-open .nav__caret { transform: rotate(225deg) translateY(-2px); }

/* Polar-style mega dropdown */
.dropdown { position: absolute; top: calc(100% + 18px); right: -40px; width: min(660px, calc(100vw - 40px)); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__inner { background: var(--ink); color: var(--cream); border-radius: 14px; padding: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dropdown__link { display: block; padding: 10px 12px; border-radius: 10px; transition: background .3s; }
.dropdown__link span { display: block; font-size: 19px; }
.dropdown__link small, .dropdown__card small { display: block; font-size: 13px; opacity: .55; margin-top: 2px; font-style: italic; }
.dropdown__link:hover { background: rgba(236,233,226,.08); }
.dropdown__link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.dropdown__card { display: block; background: rgba(236,233,226,.06); border-radius: 12px; padding: 14px; transition: background .3s; }
.dropdown__card:hover { background: rgba(236,233,226,.12); }
.dropdown__thumb { display: block; aspect-ratio: 16/10; border-radius: 8px; background: linear-gradient(135deg, var(--canvas-deep), var(--cream)); margin-bottom: 12px; }
.dropdown__cardLabel { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.mburger { display: none; }
.mmenu { position: fixed; inset: 0; z-index: 45; background: rgba(10,10,10,.72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__nav { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mmenu__nav a { color: var(--cream); font-size: 42px; font-weight: 700; line-height: 1.3; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s var(--ease); }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .06s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .12s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .18s; }
.mmenu__meta { margin-top: 54px; display: flex; gap: 28px; opacity: 0; transition: opacity .5s ease .24s; }
.mmenu.is-open .mmenu__meta { opacity: 1; }
.mmenu__meta a { color: var(--cream); opacity: .6; font-size: 16px; }
@media (max-width: 860px) {
  .nav__link { display: none; }
  .dropdown { display: none; }
  .mburger { display: block; width: 44px; height: 44px; position: relative; z-index: 60; }
  .mburger span { position: absolute; left: 9px; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); top: 18px; }
  .mburger span:last-child { top: 26px; }
  .mburger.is-open span { top: 22px; }
  .mburger.is-open span:first-child { transform: rotate(45deg); }
  .mburger.is-open span:last-child { transform: rotate(-45deg); }
}

/* ---------- COLLINS-style page-level color wash ---------- */
.page-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ink); transition: background-color 1s ease; }
.fx-wash { background: transparent !important; }

/* ---------- Intro (COLLINS-style) ---------- */
.intro { display: flex; flex-direction: column; background: var(--ink); color: var(--cream); padding-bottom: 120px; }
.intro__top { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 140px 40px 60px; }
.intro__title { font-family: "Lora", Georgia, serif; font-size: clamp(36px, 5.6vw, 80px); line-height: 1.1; letter-spacing: -.02em; font-weight: 500; text-align: center; white-space: nowrap; }
.intro__video-wrap { width: 100%; overflow: hidden; will-change: transform; transform-origin: center center; }
.intro__video { display: block; width: 100%; height: 80vh; object-fit: cover; }
@media (max-width: 900px) {
  .intro__top { min-height: auto; flex: 0 0 auto; padding: 150px 24px 70px; }
}
@media (max-width: 500px) {
  .intro__title { font-size: 12.5vw; white-space: normal; }
}

/* ---------- Statement (Humaan-style) ---------- */
.statement { background: #F3F3E9; color: #0F1D07; padding: 160px 0; }
.statement__text { font-family: "Lora", Georgia, serif; font-size: clamp(32px, 5.04vw, 72px); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; text-align: center; max-width: 18ch; margin: 0 auto; }
@media (max-width: 900px) {
  .statement { padding: 100px 0; }
  .statement__text { max-width: 100%; }
}

/* ---------- Meet Michael (Quote + Portrait) ---------- */
.meet { background: var(--gunmetal); color: #fff; padding: 140px 0; }
.meet__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.meet__quote { font-family: "Lora", Georgia, serif; font-size: clamp(24px, 2.8vw, 38px); line-height: 1.45; font-weight: 400; font-style: italic; opacity: .85; }
.meet__attr { margin-top: 28px; font-family: "Inter", "Helvetica Neue", sans-serif; }
.meet__attr-name { font-size: 18px; font-weight: 600; }
.meet__attr-role { font-size: 14px; opacity: .65; margin-top: 4px; }
.meet__right { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.meet__photo { width: 280px; height: 350px; border-radius: 14px; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 48px; font-weight: 600; color: var(--gunmetal); }
.meet__eyebrow { opacity: .3; }
@media (max-width: 900px) { .meet__inner { grid-template-columns: 1fr; gap: 48px; } .meet__right { order: -1; } }


/* ---------- Services (Blaze-style grid) ---------- */
.services { background: #F3F3E9; color: #0F1D07; padding: 140px 0; }
.services__title { font-family: "Lora", Georgia, serif; font-size: clamp(36px, 5.6vw, 80px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; text-align: center; }
.services__sub { max-width: 540px; margin: 22px auto 0; opacity: .6; font-size: 20px; line-height: 1.55; text-align: center; }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.services__item { display: flex; flex-direction: column; }
.services__card { aspect-ratio: 1 / 1; border-radius: 16px; position: relative; overflow: hidden; transition: background .35s ease; }
.services__card--software { background: #0A192C; }
.services__card--web { background: #1C2A3A; }
.services__card--social { background: #2C3E50; }
.services__card--video { background: #34495E; }
.services__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.15) saturate(1.2) brightness(.9) contrast(1.05);
}
.services__card:hover { background: var(--gunmetal); }
.services__label { position: absolute; bottom: 24px; left: 24px; color: #fff; font-family: "Lora", Georgia, serif; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; line-height: 1.25; }
.services__desc { margin-top: 16px; font-size: 16px; line-height: 1.5; opacity: .6; }
.services__name { font-weight: 600; font-size: 18px; margin-top: 16px; }
@media (max-width: 900px) {
  .services { padding: 100px 0; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 500px) {
  .services__label { font-size: 16px; bottom: 18px; left: 18px; }
  .services__name { font-size: 16px; margin-top: 12px; }
  .services__desc { font-size: 14px; margin-top: 8px; }
}

/* ---------- Relay: You ↔ Michael → Team ---------- */
.relay { background: #0a192c; color: var(--cream); padding: 140px 0 100px; min-height: 130vh; display: flex; flex-direction: column; justify-content: center; }
.relay__head { margin-bottom: 70px; text-align: center; }
.relay__title { font-family: "Lora", Georgia, serif; font-size: clamp(36px, 5.6vw, 80px); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.relay__sub { max-width: 540px; margin: 22px auto 0; opacity: .6; font-size: 20px; line-height: 1.55; }
.relay__inner { display: flex; align-items: center; justify-content: center; gap: 0; }
.relay__card { border-radius: 14px; padding: 34px 28px; display: flex; flex-direction: column; gap: 14px; font-family: "Inter", "Helvetica Neue", sans-serif; will-change: transform, opacity; }
.relay__card--you { width: 270px; min-height: 340px; background: var(--cream); color: #3f3f3d; }
.relay__card--michael { width: 300px; min-height: 380px; background: var(--gunmetal); color: #fff; box-shadow: 0 22px 56px rgba(0,0,0,.35); z-index: 2; }
.relay__card--team { width: 240px; min-height: 300px; background: rgba(236,233,226,.05); border: 1px solid rgba(236,233,226,.08); color: var(--cream); }
.relay__tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .55; }
.relay__name { font-size: 20px; font-weight: 600; }
.relay__role { font-size: 14px; opacity: .6; }
.relay__desc { font-size: 15px; line-height: 1.55; opacity: .8; margin-top: auto; }
.relay__av { width: 52px; height: 52px; font-size: 16px; }
.relay__av--cream { background: linear-gradient(135deg, var(--canvas-deep), var(--cream)); color: var(--ink); }
.relay__av--white { background: rgba(255,255,255,.92); color: var(--gunmetal); }
.relay__av--subtle { background: rgba(236,233,226,.08); color: var(--cream); }
.relay__members { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.relay__member { display: flex; align-items: center; gap: 10px; }
.relay__mav { width: 36px; height: 36px; font-size: 12px; background: rgba(236,233,226,.08); color: var(--cream); }
.relay__mname { font-size: 14px; font-weight: 500; }

/* Relay connectors */
.relay__conn { width: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; will-change: transform, opacity; transform-origin: left center; }
.relay__connLabel { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; opacity: .2; white-space: nowrap; font-weight: 600; }
.relay__line { width: 100%; height: 3px; position: relative; border-radius: 2px; overflow: visible; }
.relay__line--strong { background: rgba(236,233,226,.15); box-shadow: 0 0 12px rgba(236,233,226,.06); }
.relay__line--faint { height: 2px; background: rgba(236,233,226,.06); }

/* Pulse dots */
.relay__dot { position: absolute; border-radius: 50%; top: 50%; }

/* Right-moving dots (You → Michael) */
.relay__dot--r { width: 10px; height: 10px; margin-top: -5px; background: var(--cream); box-shadow: 0 0 8px rgba(236,233,226,.5), 0 0 20px rgba(236,233,226,.2); }
.relay__dot--r1 { animation: relay-r 1.8s ease-in-out infinite; }
.relay__dot--r2 { animation: relay-r 2.2s ease-in-out infinite .7s; width: 7px; height: 7px; margin-top: -3.5px; opacity: .7; }
.relay__dot--r3 { animation: relay-r 2.6s ease-in-out infinite 1.4s; width: 6px; height: 6px; margin-top: -3px; opacity: .5; }
@keyframes relay-r {
  0%   { left: -6px; opacity: 0; transform: scale(.5); }
  12%  { opacity: 1; transform: scale(1); }
  88%  { opacity: 1; transform: scale(1); }
  100% { left: calc(100% - 4px); opacity: 0; transform: scale(.5); }
}

/* Left-moving dots (Michael → You) */
.relay__dot--l { width: 8px; height: 8px; margin-top: -4px; background: var(--cream); box-shadow: 0 0 10px rgba(236,233,226,.5), 0 0 24px rgba(236,233,226,.15); }
.relay__dot--l1 { animation: relay-l 2s ease-in-out infinite .4s; }
.relay__dot--l2 { animation: relay-l 2.6s ease-in-out infinite 1.6s; width: 6px; height: 6px; margin-top: -3px; opacity: .6; }
@keyframes relay-l {
  0%   { right: -6px; left: auto; opacity: 0; transform: scale(.5); }
  12%  { opacity: 1; transform: scale(1); }
  88%  { opacity: 1; transform: scale(1); }
  100% { right: calc(100% - 4px); left: auto; opacity: 0; transform: scale(.5); }
}

/* Forward-only faint dot (Michael → Team) */
.relay__dot--fwd { width: 5px; height: 5px; margin-top: -2.5px; background: rgba(236,233,226,.25); box-shadow: 0 0 6px rgba(236,233,226,.08); animation: relay-fwd 3.5s ease-in-out infinite; }
@keyframes relay-fwd {
  0%   { left: -4px; opacity: 0; }
  15%  { opacity: .6; }
  85%  { opacity: .6; }
  100% { left: calc(100% - 4px); opacity: 0; }
}

/* Breathing glow on strong line */
.relay__line--strong::after { content: ''; position: absolute; inset: -4px -2px; border-radius: 6px; background: rgba(236,233,226,.04); animation: relay-breathe 3s ease-in-out infinite; }
@keyframes relay-breathe {
  0%, 100% { opacity: .3; }
  50%      { opacity: 1; }
}

/* Dots paused until section is revealed */
.relay__dot { animation-play-state: paused; }
.relay.is-pulsing .relay__dot { animation-play-state: running; }
.relay__line--strong::after { animation-play-state: paused; }
.relay.is-pulsing .relay__line--strong::after { animation-play-state: running; }

@media (max-width: 900px) {
  .relay { min-height: auto; padding: 100px 0 80px; }
  .relay__title br { display: none; }
  .relay__inner { flex-direction: column; align-items: stretch; gap: 0; }
  .relay__card { width: 100% !important; min-height: auto !important; }
  .relay__conn { width: auto; transform: none; display: flex; flex-direction: column; align-items: center; padding: 12px 0; }
  .relay__connLabel { display: none; }
  .relay__line { display: none; }
  .relay__conn::after { content: ''; display: block; width: 10px; height: 10px; border-right: 2px solid var(--cream); border-bottom: 2px solid var(--cream); transform: rotate(45deg); opacity: .4; animation: relay-pulse 1.6s ease-in-out infinite; }
  @keyframes relay-pulse { 0%, 100% { opacity: .15; transform: rotate(45deg) translateY(0); } 50% { opacity: .5; transform: rotate(45deg) translateY(4px); } }
}

/* ---------- Focused testimonials (Polar style) ---------- */
.focus { position: relative; background: var(--ink); color: var(--cream); }
.focus__frame { display: flex; flex-direction: column; align-items: center; text-align: center; }
.focus__eyebrow { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); opacity: .5; white-space: nowrap; }
.focus__slides { width: min(920px, 100%); }
.fslide { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; }
.fslide__inner { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.fslide .stars { justify-content: center; }
.fquote { font-size: clamp(24px, 3vw, 38px); line-height: 1.35; font-weight: 400; font-style: italic; }
.fquote .w { opacity: 0; display: inline; }
.fslide__client { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fslide__name { font-size: 18px; font-weight: 600; margin-top: 8px; }
.fslide__role { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .55; }
/* Avatar placeholder thumbnails */
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--canvas), var(--cream)); color: var(--ink); display: grid; place-items: center; font-size: 18px; font-weight: 600; }
.avatar--sm { width: 46px; height: 46px; font-size: 15px; }
.avatar--img { overflow: hidden; background: var(--canvas-deep); }
.avatar--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* ---------- Drifting rows ---------- */
.rows { padding: 130px 0 150px; overflow: hidden; background: #0a192c; color: var(--cream); }
.rows__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 70px; text-align: left; }
.rows__title { font-family: "Lora", Georgia, serif; font-size: clamp(36px, 5.6vw, 80px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; flex: 1; }
.rows__side { display: flex; align-items: flex-end; flex-shrink: 0; padding-bottom: .35em; }
.rows__arrow { display: flex; align-items: center; color: var(--cream); opacity: .7; transition: opacity .3s; }
.rows__arrow:hover { opacity: 1; }
.rows__arrow svg { width: 100px; height: auto; }
.qtrack { display: flex; align-items: flex-start; gap: 26px; overflow-x: auto; padding: 0 var(--gutter) 70px; cursor: grab; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.qtrack::-webkit-scrollbar { display: none; }
.qtrack.is-drag { cursor: grabbing; }
.qtrack.is-drag .qcard { pointer-events: none; }
.qtrack .qcard:nth-child(3n+2) { margin-top: 64px; }
.qtrack .qcard:nth-child(3n) { margin-top: 30px; }
.qcard { width: min(440px, 88vw); min-height: 520px; flex-shrink: 0; background: #f2f0ea; color: #3f3f3d; border-radius: 14px; padding: 44px 40px 40px; display: flex; flex-direction: column; gap: 26px; font-family: "Inter", "Helvetica Neue", sans-serif; transition: box-shadow .4s, transform .4s; }
.qcard:hover { box-shadow: 0 18px 50px rgba(15,15,15,.16); transform: translateY(-4px); }
.qcard--blue { background: var(--gunmetal); color: #fff; }
.qcard blockquote { font-size: 21px; line-height: 1.4; font-weight: 400; letter-spacing: -.012em; }
.qcard__client { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.qcard .avatar { width: 46px; height: 46px; font-size: 15px; font-family: "Inter", sans-serif; background: linear-gradient(135deg, var(--canvas-deep), var(--canvas)); color: var(--ink); }
.qcard--blue .avatar { background: rgba(255,255,255,.92); color: var(--gunmetal); }
.qcard__info { font-size: 14px; line-height: 1.4; }
.qcard__info p { opacity: .65; }
.qcard__name { font-weight: 600; opacity: 1 !important; }
.qcard__li { margin-left: auto; opacity: .55; transition: opacity .3s; display: grid; place-items: center; }
.qcard__li:hover { opacity: 1; }


/* ---------- Work with Michael ---------- */

/* ---------- CTA (Attic Salt style) ---------- */
.cta { padding: 150px 0 120px; color: var(--cream); }
.ctaCard { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; border: 1px solid var(--cream); border-radius: 14px; padding: clamp(28px, 4vw, 56px); overflow: hidden; transition: border-color .5s, color .4s; }
.ctaCard__fill { position: absolute; inset: 0; background: var(--gunmetal); transform: translateY(101%); transition: transform .7s var(--ease), background-color .4s; border-radius: inherit; }
.ctaCard:hover .ctaCard__fill { transform: translateY(0); }
.ctaCard:hover { border-color: var(--gunmetal); }
.ctaCard__title, .ctaCard__foot { position: relative; z-index: 1; }
.ctaCard__title { font-size: clamp(52px, 9vw, 128px); line-height: 1.02; letter-spacing: -.015em; font-weight: 500; }
.ctaCard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 60px; }
.ctaCard__chat { font-size: clamp(18px, 2vw, 24px); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.ctaCard__arrow { transition: transform .5s var(--ease); }
.ctaCard:hover .ctaCard__arrow { transform: translateX(14px); }
.ctaCard { cursor: pointer; }
.ctaCard.is-open { cursor: default; justify-content: flex-start; border-color: rgba(0,0,0,.06); color: var(--ink); }
.ctaCard.is-open .ctaCard__fill { transform: translateY(0); background: #fff; }
.ctaCard.is-open .ctaCard__foot { display: none; }
.ctaCard__formWrap { position: relative; z-index: 1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.ctaCard__formInner { overflow: hidden; }
.ctaCard.is-open .ctaCard__formWrap { grid-template-rows: 1fr; }
.ctaForm { display: flex; flex-direction: column; gap: 22px; padding: 44px 0 8px; }
.ctaForm__field input,
.ctaForm__field textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(15,15,15,.12); color: var(--ink); font-family: "Inter", "Helvetica Neue", sans-serif; font-size: 18px; padding: 14px 0; outline: none; transition: border-color .3s; }
.ctaForm__field input::placeholder,
.ctaForm__field textarea::placeholder { color: rgba(15,15,15,.3); }
.ctaForm__field input:focus,
.ctaForm__field textarea:focus { border-color: rgba(15,15,15,.4); }
.ctaForm__field textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.ctaForm__actions { display: flex; align-items: center; gap: 28px; margin-top: 12px; }
.ctaForm__send { background: var(--ink); color: #fff; font-family: "Inter", "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 16px 44px; border-radius: 8px; border: none; cursor: pointer; transition: opacity .3s, transform .3s; }
.ctaForm__send:hover { opacity: .88; transform: translateY(-1px); }
.ctaForm__send:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.ctaForm__cancel { background: transparent; border: none; color: rgba(15,15,15,.35); font-family: "Inter", "Helvetica Neue", sans-serif; font-size: 15px; cursor: pointer; transition: color .3s; padding: 8px 0; }
.ctaForm__cancel:hover { color: var(--ink); }
.ctaCard.is-sent { border-color: #22c55e; }
.ctaCard.is-sent .ctaCard__fill { transform: translateY(0); background: #22c55e; }
.ctaCard__success { position: absolute; inset: 0; z-index: 3; display: none; flex-direction: column; align-items: center; justify-content: center; background: #22c55e; border-radius: inherit; }
.ctaCard.is-sent .ctaCard__success { display: flex; }
.ctaCard__successText { font-family: "Lora", Georgia, serif; font-size: clamp(40px, 8vw, 96px); line-height: 1.1; font-weight: 500; color: #fff; letter-spacing: -.015em; }
@media (max-width: 600px) {
  .ctaForm__actions { flex-direction: column; gap: 16px; align-items: stretch; }
  .ctaForm__send { width: 100%; text-align: center; }
  .ctaForm__cancel { text-align: center; }
}

/* ---------- Footer ---------- */
.footer { background: var(--gunmetal); color: #fff; padding: 100px 0 0; }
.footer__email { font-family: var(--font); font-size: clamp(22px, 4.8vw, 62px); line-height: 1; letter-spacing: -.01em; position: relative; text-align: left; font-weight: 500; }
.copy__hint { position: absolute; left: 0; bottom: -28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.copy.is-copied .copy__hint { opacity: .8; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 90px; flex-wrap: wrap; }
.footer__bottom:first-child { margin-top: 0; }
.footer__social, .footer__nav { display: flex; gap: 26px; font-size: 16px; }
.footer__social a, .footer__nav a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer__social a:hover, .footer__nav a:hover { border-color: #fff; }
.footer__copyright a { text-decoration: underline; text-underline-offset: 3px; }
.footer__copyright { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-bottom: 50px; font-size: 14px; opacity: .7; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  [data-fade], [data-fade-up], [data-lines] .line > span { opacity: 1; transform: none; }
  .fquote .w { opacity: 1; }
  body { transition: none; }
}
