/* ============ Pulsift — static site styles ============ */

/* ---- fonts (self-hosted) ---- */
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/assets/fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

/* ---- tokens ---- */
:root {
  --orange: #ff5e00;
  --orange-deep: #e05400;      /* hover */
  --orange-text: #c24400;      /* accessible small orange text on white (≥4.5:1) */
  --dark: #1f1f1f;
  --dark-2: #292929;
  --bg: #f2f2f2;
  --text: #292929;
  --muted: #555555;
  --muted-on-dark: #b8b8ae;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 14px;
  --sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --maxw: 1180px;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: inline-block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--orange-text); }
section { scroll-margin-top: 110px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--sans); font-weight: 700; font-size: 1.17rem;
  padding: 0.7em 1.5em; border-radius: 999px; border: 0;
  cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s;
}
.btn-cta { background: var(--orange); color: var(--white); }
.btn-cta:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-dark { background: var(--dark-2); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-lg { font-size: 1.22rem; padding: 0.85em 1.9em; }

/* ---- navbar ---- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px 16px 0; display: flex; justify-content: center; }
.nav {
  width: 100%; max-width: 1320px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.60), rgba(255,255,255,0.22));
  backdrop-filter: blur(24px) saturate(1.9); -webkit-backdrop-filter: blur(24px) saturate(1.9);
  border: 1px solid rgba(255,255,255,0.70); border-radius: 999px; padding: 12px 26px;
  box-shadow: 0 10px 34px rgba(31,31,31,0.10), inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -1px 0 rgba(255,255,255,0.20);
  position: relative;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-weight: 700; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--orange-text); }
.nav-burger { display: none; background: none; border: 0; color: var(--dark-2); cursor: pointer; padding: 8px; }
.nav-mobile[hidden] { display: none; }
.nav-mobile {
  position: absolute; left: 8px; right: 8px; top: calc(100% + 8px);
  background: linear-gradient(160deg, rgba(255,255,255,0.92), rgba(255,255,255,0.80));
  backdrop-filter: blur(24px) saturate(1.9); -webkit-backdrop-filter: blur(24px) saturate(1.9);
  border: 1px solid rgba(255,255,255,0.75); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 4px; box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.nav-mobile a { font-weight: 700; color: var(--muted); text-decoration: none; padding: 12px 10px; border-radius: 10px; }
.nav-mobile a:hover { color: var(--orange-text); background: #f6f6f6; }
.nav-mobile .btn { justify-content: center; color: var(--white); margin-top: 6px; }

/* ---- top zone ---- */
.top-zone { position: relative; }
.top-zone > section { position: relative; z-index: 1; }

/* ---- hero: "Paper Dawn" framed paper-craft diorama ---- */
.hero { position: relative; padding: 14px 18px 10px; }
.hero-frame {
  position: relative; overflow: hidden; margin: 0 auto; max-width: 1720px;
  height: min(94vh, 940px); min-height: 620px;
  border-radius: 28px; background: #FFF4EC;
  border: 1px solid rgba(31,31,31,0.06);
}
.hero-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 60px rgba(140,48,0,0.05);
}
.pd-silk { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; filter: blur(28px); transform: scale(1.15); opacity: 0; transition: opacity 0.8s ease; }
.pd-silk.on { opacity: 1; }
.pd-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; }
.pd-sky { transition: opacity 0.8s ease; }
.silk-on .pd-sky { opacity: 0.55; }
.pd-shadow { fill: #8C3000; opacity: 0.13; filter: url(#pd-soft); }
.pd-sunglow { animation: pd-breathe 12s ease-in-out infinite; }
@keyframes pd-breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

/* parallax carriers (--pdx/--pdy lerped on .pd-scene from main.js) */
.pd-par, .pd-flock, .pd-cloudband {
  transform: translate3d(calc(var(--pdx, 0) * var(--amp, 0) * 1px), calc(var(--pdy, 0) * var(--amp, 0) * 0.6px), 0);
}

/* load choreography: copy first, ridges rise back-to-front, clouds fade mid-drift, bird glides in */
.js .pd-rise { transform: translateY(26px); opacity: 0; transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease; transition-delay: calc(var(--i) * 130ms + 150ms); }
.js .hero-loaded .pd-rise { transform: translateY(0); opacity: 1; }
.js .pd-cloudband { opacity: 0; transition: opacity 0.8s linear 0.4s; }
.js .hero-loaded .pd-cloudband { opacity: 1; }
.js .pd-flock { opacity: 0; transition: opacity 0.5s ease 1.4s; }
.js .hero-loaded .pd-flock { opacity: 1; }
.js .pd-bird-in { transform: translate(430px, -90px); opacity: 0; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s, opacity 0.4s ease 0.9s; }
.js .hero-loaded .pd-bird-in { transform: translate(0, 0); opacity: 1; }
.js .pd-birdshadow { opacity: 0; transition: opacity 1s ease 1.8s; }
.js .hero-loaded .pd-birdshadow { opacity: 0.10; }
.js .hero-copy { transform: translateY(12px); opacity: 0; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease; }
.js .hero-loaded .hero-copy { transform: translateY(0); opacity: 1; }

/* idle life: glacial tempo */
.pd-bird-idle { animation: pd-birdfloat 7s ease-in-out 2.1s infinite; }
@keyframes pd-birdfloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(-2deg); } }
.pd-bird-base { transform: translate(1080px, 260px) rotate(-8deg) scale(0.55); }
.pd-drift { animation: pd-drift var(--t, 120s) ease-in-out infinite alternate; }
@keyframes pd-drift { from { transform: translateX(-55px); } to { transform: translateX(55px); } }
.pd-bob { animation: pd-bob var(--t, 10s) ease-in-out infinite; }
@keyframes pd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* copy overlay — colors tuned for the warm scene behind them */
.hero-inner {
  position: relative; z-index: 4; height: 100%;
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 100px clamp(28px, 5vw, 84px) 40px;
}
.hero-copy { max-width: 600px; }
.hero-copy .hero-sub { margin-left: 0; }
.hero .badge { box-shadow: 0 4px 14px rgba(140,48,0,0.10); }
.hero .accent { color: #c24400; }
.hero .btn-cta { box-shadow: 0 12px 30px rgba(140,48,0,0.30), 0 0 0 3px rgba(255,255,255,0.40); }
.hero .link-quiet { color: #8C3000; font-weight: 700; }
.hero .link-quiet:hover { color: #6b2500; }
.hero-proof { color: #6E4230; }
.badge {
  display: inline-block; background: var(--white); border: 1px solid #ffd2b3; color: var(--orange-text);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 900; color: var(--dark-2); margin-bottom: 18px; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.hero-sub { max-width: 640px; margin: 0 auto 34px; color: #3d3d3d; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.link-quiet { color: var(--muted); font-weight: 500; text-decoration: none; }
.link-quiet:hover { color: var(--orange-text); }
.hero-proof { margin-top: 22px; font-size: 0.92rem; color: var(--muted); font-weight: 500; }

/* ---- subpages (/about/, /process/, /results/) ---- */
.subpage-main { max-width: 900px; margin: 0 auto; padding: 150px 24px 30px; }
.sp-crumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.sp-crumb a { color: var(--muted); text-decoration: none; }
.sp-crumb a:hover { color: var(--orange-text); }
.subpage-main h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 900; color: var(--dark-2); margin-bottom: 16px; }
.subpage-main .accent { color: var(--orange-text); }
.sp-lede { font-size: 1.12rem; color: #3d3d3d; max-width: 720px; margin-bottom: 8px; }
.sp-section { margin: 46px 0; }
.sp-section h2 { font-size: 1.55rem; color: var(--dark-2); margin-bottom: 14px; }
.sp-card { background: var(--white); border: 1px solid #ececec; border-radius: var(--radius-sm); padding: 26px 30px; margin: 20px 0; box-shadow: 0 6px 22px rgba(31,31,31,0.05); }
.sp-card .case-kicker { margin-top: 0; }
.sp-quote { margin: 0; }
.sp-quote p { font-size: 1.06rem; color: var(--dark-2); }
.sp-attrib { color: var(--muted); font-weight: 700; font-size: 0.92rem; margin-bottom: 0; }
.sp-attrib-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.sp-pfp { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sp-card .brand-row { justify-content: flex-start; gap: 20px; margin: 6px 0 14px; }
.sp-stat { font-size: 1.7rem; font-weight: 900; color: var(--orange-text); margin: 4px 0 2px; }
.sp-stat-sub { font-size: 0.98rem; color: var(--muted); font-weight: 500; }
.sp-step { display: flex; gap: 20px; margin: 30px 0; }
.sp-step-num { font-weight: 900; color: var(--orange); font-size: 1.35rem; font-family: var(--serif); font-style: italic; min-width: 44px; }
.sp-step h3 { margin-bottom: 6px; }
.sp-step p { color: #3d3d3d; margin-bottom: 0.6em; }
.sp-cta { margin: 46px 0 20px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.sp-note { font-size: 0.9rem; color: var(--muted); }

/* ---- marquee ---- */
.marquee-section { padding: 44px 0 46px; }
.marquee-title { text-align: center; font-size: 1.4rem; font-weight: 700; color: #444; margin-bottom: 40px; padding: 0 20px; }
.marquee-title::after { content: ""; display: block; width: 96px; height: 4px; margin: 12px auto 0; border-radius: 999px; background: linear-gradient(90deg, var(--orange), #ffd2b3); }
.marquee { position: relative; overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee + .marquee { margin-top: 24px; }
.marquee-track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee-track-rev { animation: scroll 36s linear infinite reverse; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-group { display: flex; }
.tool {
  display: flex; align-items: center; justify-content: center;
  width: 158px; height: 76px; margin: 0 14px; background: var(--white);
  border: 1px solid #ececec; border-radius: 16px;
  overflow: hidden;
}
/* logo sizes come from each img's width/height attributes on purpose:
   some source logos have padding baked in and some run edge to edge,
   so per-logo dimensions keep their VISUAL weight consistent. */
.tool img { object-fit: contain; flex: none; }

/* ---- shared section pieces ---- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; padding: 0 20px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); color: var(--dark-2); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.divider { display: flex; align-items: center; gap: 16px; margin: 0 0 44px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1.5px; background: #b9b9b9; }
.divider-pill { background: var(--white); border: 1px solid #e2e2e2; border-radius: 999px; padding: 8px 18px; font-size: 0.8rem; font-weight: 600; color: var(--orange-text); white-space: nowrap; }
.divider-pill-orange { color: var(--orange-text); }
.faq-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--dark-2); margin: 0; }

/* ---- pain / solution ---- */
.pain { padding: 60px 20px; }
.pain-panel { max-width: var(--maxw); margin: 0 auto; background: var(--dark); border-radius: var(--radius); padding: clamp(26px, 5vw, 72px); }
.pain .section-head h2 { color: var(--white); }
.pain .section-head p { color: #9a9a9a; }
.pain-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; }
.pain-tabs { display: flex; flex-direction: column; gap: 14px; }
.pain-tab {
  text-align: left; font-family: var(--sans); font-weight: 600; font-size: 1.05rem;
  color: #cfcfcf; background: #2c2c2c; border: 1px solid #3d3d3d; border-radius: var(--radius-sm);
  padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.pain-tab:hover { border-color: var(--orange); color: #ff8a47; }
.pain-tab.is-active { background: var(--dark-2); border-color: var(--orange); color: #ff8a47; box-shadow: 0 0 22px rgba(255, 94, 0, 0.25); }
.pain-tab span { opacity: 0; }
.pain-tab.is-active span { opacity: 1; }
.pain-solutions { position: relative; }
.pain-solution { background: var(--white); border-radius: var(--radius-sm); padding: 34px; height: 100%; }
.js .pain-solution { display: none; }
.js .pain-solution.is-active { display: block; }
html:not(.js) .pain-solution { margin-bottom: 16px; }
.check-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: #ddf5e6; color: #14934f;
  font-weight: 900; font-size: 1.2rem; margin-bottom: 16px;
}
.pain-solution h3 { font-size: 1.45rem; color: #1e293b; }
.pain-solution p { color: #475569; margin-bottom: 26px; }

/* ---- results deck ---- */
.results { padding: 40px 20px 30px; max-width: var(--maxw); margin: 0 auto; position: relative; }

/* ---- modest decorative accents (dead-space warmth; behind content) ---- */
.accent-orb {
  position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255,140,66,0.36), rgba(255,94,0,0.14) 70%, transparent);
}
.accent-orb-results { width: 340px; height: 340px; top: -50px; right: -130px; }
.accent-orb-faq { width: 300px; height: 300px; bottom: -70px; left: -120px; }
.accent-bird {
  position: absolute; width: 72px; height: 72px; right: 7%; top: 14px;
  transform: rotate(-12deg); pointer-events: none; z-index: 0; opacity: 0.9;
  animation: pd-bob 9s ease-in-out infinite;
}
.results > :not(.accent-orb):not(.accent-bird), .faq > :not(.accent-orb) { position: relative; z-index: 1; }
.deck-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.deck-count { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--muted); background: var(--white); border: 1px solid #e2e2e2; border-radius: 999px; width: max-content; margin: 0 auto 22px; padding: 6px 16px; }
.deck { position: relative; min-height: 420px; }
.case-card {
  background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(0,0,0,0.10);
  padding: clamp(26px, 4vw, 46px); text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.js .case-card { position: absolute; inset: 0; transition: transform 0.45s ease, opacity 0.45s ease; }
.js .case-card[data-pos="0"] { transform: translateY(0) scale(1); opacity: 1; z-index: 4; }
.js .case-card[data-pos="1"] { transform: translateY(-18px) scale(0.955); opacity: 0.75; z-index: 3; pointer-events: none; }
.js .case-card[data-pos="2"] { transform: translateY(-34px) scale(0.915); opacity: 0.45; z-index: 2; pointer-events: none; }
.js .case-card[data-pos="3"] { transform: translateY(-48px) scale(0.88); opacity: 0.25; z-index: 1; pointer-events: none; }
.js .case-card[data-pos="1"] > *, .js .case-card[data-pos="2"] > *, .js .case-card[data-pos="3"] > * { visibility: hidden; }
html:not(.js) .case-card { margin-bottom: 20px; }
.case-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: var(--orange-text); margin-bottom: 8px; }
.brand-row { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin: 2px 0 16px; }
.brand-row img { width: auto; opacity: 0.9; }
.brand-tommy { height: 26px; }
.brand-guess { height: 20px; }
.brand-lacoste { height: 20px; }
.brand-cg { height: 15px; }
.brand-siemens { height: 16px; }
.brand-chip { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: #3d3d3d; border: 1.5px solid #c4c4c4; border-radius: 6px; padding: 3px 9px; }
.case-stat { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 900; color: var(--dark-2); margin: 0 0 6px; }
.case-stat-sub { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--orange); }
.case-support { color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.case-foot { font-size: 0.85rem; color: #6d6d6d; margin: 8px 0 0; }
.case-pfp { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; margin-bottom: 8px; }
.case-quote { margin: 0; font-size: 1.02rem; color: #333; max-width: 560px; }
.case-quote p { margin: 0 0 10px; }
.case-attrib { font-weight: 700; color: var(--dark-2); margin: 0; }
.case-shot { border-radius: 12px; border: 1px solid #eee; margin: 12px 0 4px; max-width: min(100%, 500px); height: auto; }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.deck-btn { background: var(--white); border: 1px solid #ddd; border-radius: 50%; width: 44px; height: 44px; font-size: 1.1rem; cursor: pointer; color: var(--dark-2); transition: border-color 0.2s, color 0.2s; }
.deck-btn:hover { border-color: var(--orange); color: var(--orange-text); }
.deck-dots { display: flex; gap: 4px; }
.deck-dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.deck-dot::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; border-radius: 50%; background: #cfcfcf; transition: background 0.2s, transform 0.2s; }
.deck-dot.is-active::before { background: var(--orange); transform: translate(-50%, -50%) scale(1.3); }
html:not(.js) .deck-nav, html:not(.js) .deck-count { display: none; }
.stat-band { text-align: center; margin: 44px auto 0; max-width: 760px; background: var(--white); border: 1px solid #e6e6e6; border-radius: var(--radius); padding: 22px 26px; }
.stat-band strong { color: var(--dark-2); font-size: 1.05rem; }
.stat-band span { color: var(--muted); font-size: 0.88rem; }

/* ---- testimonial stripe: three checkable humans, zero theater ---- */
.stripe { background: var(--dark); padding: 90px 20px 70px; margin-top: 50px; }
.stripe-head { text-align: center; margin-bottom: 46px; }
.stripe-eyebrow {
  display: inline-block; border: 1px solid rgba(255, 94, 0, 0.45); color: #ff8a47;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.stripe-head h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0; }
.t-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card {
  margin: 0; display: flex; flex-direction: column;
  background: #2a2a2a; border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius); padding: 30px 30px 26px;
}
.t-glyph { font-family: var(--serif); font-style: italic; color: var(--orange); font-size: 46px; line-height: 0.6; display: block; margin-bottom: 16px; }
.t-card blockquote { margin: 0 0 24px; }
.t-card blockquote p { color: #e7e5e2; font-size: 1.02rem; line-height: 1.65; margin: 0; }
.t-card blockquote em { font-family: var(--serif); font-style: italic; color: #ffbf9e; }
.t-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.t-card figcaption img { border-radius: 50%; width: 56px; height: 56px; object-fit: cover; border: 2px solid rgba(255, 94, 0, 0.5); flex: none; }
.t-card figcaption strong { display: block; color: var(--white); font-size: 0.95rem; }
.t-card figcaption span { color: #9a9793; font-size: 0.85rem; line-height: 1.4; }
.t-permission { text-align: center; color: #9a9793; font-size: 0.82rem; margin: 34px 0 0; }

/* ---- CTA rows ---- */
.cta-row { display: flex; justify-content: center; padding: 44px 20px; }

/* ---- process ---- */
.process { padding: 20px 20px; }
.process-panel { max-width: var(--maxw); margin: 0 auto; background: var(--dark); border-radius: var(--radius); padding: clamp(30px, 5vw, 70px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); }
.process-title { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--white); text-align: center; font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 6px; }
.process-sub { text-align: center; color: var(--muted-on-dark); margin-bottom: 56px; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--orange), rgba(255,94,0,0.15)); }
.step { position: relative; display: flex; gap: 26px; padding: 0 0 46px 0; }
.step:last-child { padding-bottom: 0; }
.step-num {
  flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--orange);
  color: var(--white); font-weight: 900; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--dark); position: relative; z-index: 1;
}
.step-body h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 8px; }
.step-body p { color: #cfcfcf; margin: 0; max-width: 620px; }

/* ---- booking ---- */
.booking { padding: 60px 20px 20px; max-width: var(--maxw); margin: 0 auto; }
.booking-checks {
  list-style: none; margin: 0 auto 36px; padding: 20px 28px; max-width: 980px;
  background: var(--white); border: 2px solid #e6e6e6; border-radius: 999px;
  display: flex; justify-content: center; gap: 34px; flex-wrap: wrap;
}
.booking-checks li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; }
.check-dot { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #22c55e; color: var(--white); font-size: 0.75rem; font-weight: 900; flex: none; }
.cal-shell { background: var(--white); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(0,0,0,0.10); overflow: hidden; min-height: 620px; padding: 10px; scroll-margin-top: 96px; }
#cal-booking { width: 100%; height: 600px; overflow: auto; }
.js .cal-fallback { display: none; }
.cal-fallback { text-align: center; padding: 40px 0; }
.cal-expand-row { display: flex; justify-content: center; margin-top: 22px; }
@media (min-width: 1024px) { .cal-expand-row { display: none; } }

/* ---- FAQ ---- */
.faq { padding: 60px 20px; max-width: var(--maxw); margin: 0 auto; position: relative; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.faq details { background: var(--white); border-radius: 18px; padding: 6px 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--orange-text); flex: none; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 0.94rem; padding-bottom: 16px; margin: 0; }

/* ---- final CTA ---- */
.final-cta { padding: 40px 20px 90px; }
.final-cta-card {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: var(--maxw); margin: 0 auto; background: #ebebeb;
  border-radius: var(--radius); padding: clamp(50px, 8vw, 100px) 24px; text-align: center;
}
.final-cta-card h2 { font-size: clamp(1.7rem, 4vw, 2.9rem); color: #111; }
.final-cta-card p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.final-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.final-orb-solid { width: 190px; height: 190px; background: var(--orange); left: 150px; bottom: -40px; }
.final-orb-glass { width: 320px; height: 320px; left: -60px; bottom: -140px; background: rgba(255,255,255,0.4); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 2px solid var(--white); box-shadow: 0 20px 60px rgba(255,94,0,0.15); }

/* ---- bottom zone: the original sunset-gradient artwork backs the
       final CTA + footer; footer text sits on its black region ---- */
.bottom-zone { position: relative; }
.bottom-zone::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url('https://assets.pulsift.com/footer-gradient.webp') bottom center / cover no-repeat;
}
.bottom-zone::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 180px; z-index: 0;
  background: linear-gradient(180deg, var(--bg), transparent);
}
.bottom-zone > * { position: relative; z-index: 1; }

/* ---- footer ---- */
.footer { background: none; padding: 150px 24px 60px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.footer-brand img { height: 44px; width: auto; }
.footer-tagline { color: rgba(255,255,255,0.9); font-weight: 500; margin: 16px 0 6px; }
.footer-copy { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }
.footer-col h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,0.8); text-decoration: none; margin-bottom: 14px; font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }

/* ---- reveal animation ---- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pd-sunglow, .pd-bird-idle, .pd-drift, .pd-bob, .accent-bird { animation: none; }
  .js .pd-rise, .js .pd-cloudband, .js .pd-flock, .js .pd-bird-in, .js .pd-birdshadow, .js .hero-copy { transform: none; opacity: 1; transition: none; }
  .js .pd-bird-in { transform: translate(0, 0); }
  .js .pd-birdshadow { opacity: 0.10; }
  .pd-par, .pd-flock, .pd-cloudband { transform: none; }
  .pd-silk { display: none; }
  .js .case-card, .js .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (min-width: 768px) { .nav-mobile { display: none !important; } }

/* ---- tablet: narrow window on the scene — bird tucks bottom-right, flock off ---- */
@media (min-width: 768px) and (max-width: 1023px) {
  .pd-bird-base { transform: translate(1095px, 540px) rotate(-8deg) scale(0.25); }
  .pd-flock { display: none; }
  .hero-copy { max-width: 540px; }
}

/* ---- tablet ---- */
@media (max-width: 1023px) {
  .tool img { transform: scale(0.82); }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .t-grid { grid-template-columns: 1fr; max-width: 620px; }
}

/* ---- mobile ---- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  section { scroll-margin-top: 90px; }
  .nav { border-radius: 22px; padding: 10px 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-logo img { height: 34px; }
  .hero { padding: 10px 10px 8px; }
  .hero-frame { border-radius: 16px; height: min(92vh, 780px); min-height: 660px; }
  .accent-bird { display: none; }
  .accent-orb-results { width: 220px; height: 220px; }
  .accent-orb-faq { width: 200px; height: 200px; }
  .hero-inner { align-items: flex-start; text-align: center; padding: 104px 22px 30px; }
  .hero-copy { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-proof { margin-top: 16px; }
  .pd-bird-base { transform: translate(530px, 538px) rotate(-8deg) scale(0.26); }
  .pd-sun-pos { transform: translateX(-80px); }
  .pd-flock { display: none; }
  .pd-far { display: none; }
  .marquee-title { font-size: 1.05rem; }
  .tool { width: 118px; height: 58px; margin: 0 8px; border-radius: 12px; }
  .tool img { transform: scale(0.65); }
  .cal-shell { scroll-margin-top: 80px; }
  .pain-tabs { grid-template-columns: 1fr; }
  .pain-solution { padding: 22px; }
  .deck { min-height: 500px; }
  .case-quote { font-size: 0.94rem; }
  .booking-checks { border-radius: var(--radius); flex-direction: column; gap: 14px; align-items: flex-start; }
  .stripe-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-col a { margin-bottom: 12px; }
  .final-orb-solid { left: 60%; }
}
