/* =========================================================
   Lawrencium Media — rebuilt from the Framer site
   Fonts: Tektur (display), Sora (body), Inter (stats)
   ========================================================= */

:root {
  --bg: #000;
  --surface: #0d0d0d;
  --surface-2: #151515;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4efe8;   /* brand Paper */
  --white: #f4efe8;  /* headings: brand Paper (warm white) */
  --muted: #999999;
  --muted-2: #bbbbbb;
  --muted-3: #cecece;
  --accent: #ff6229;
  --accent-deep: #c1101b;
  --grad: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  /* Behind white text: Deep Red to a deeper ember, so white stays readable (4.6:1 or better across the button) */
  --grad-btn: linear-gradient(135deg, var(--accent-deep) 0%, #d9381c 100%);
  --grad-text: linear-gradient(102deg, #fff 40%, #999 95%);

  --font-display: "Tektur", system-ui, sans-serif;
  --font-body: "Sora", system-ui, sans-serif;
  --font-num: "Inter", system-ui, sans-serif;

  --container: 1296px;
  --gutter: 72px;
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 80px;
  --section-y: 72px;   /* vertical padding on each section (was 120px); gap between sections = 2x this */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(960px + var(--gutter) * 2); }
.accent { color: var(--accent); }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Type ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.45vw, 64px);
  line-height: 1.125;
  letter-spacing: -0.03em;
  color: var(--white);
}
.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--white);
}
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.section-head.center { align-items: center; text-align: center; }
.section-sub { color: var(--muted-3); font-size: 18px; line-height: 1.5; max-width: 440px; }
.section-head.center .section-sub { margin: 0 auto; }

/* ---------- Badges & buttons ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 98, 41, 0.35);
  background: rgba(255, 98, 41, 0.08);
  color: var(--accent);
  font-size: 21px; line-height: 1;
  width: fit-content;
}
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 55px; padding: 0 28px;
  border: 0; border-radius: 100px;
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  color: #fff; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-grad { background: var(--grad-btn); color: #ffffff; box-shadow: 0 10px 30px -10px rgba(229, 57, 31, .6); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 98, 41, .75); }
.btn-sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 38px; width: auto; }
.footer-logo { display: inline-block; margin-bottom: 48px; }
.footer-logo img { display: block; height: 48px; width: auto; }
.nav-pill {
  display: flex; gap: 4px; padding: 6px;
  border-radius: 100px;
  background: linear-gradient(-8deg, #000 50%, #292929 124%);
  border: 1px solid var(--line);
}
.nav-pill a { padding: 8px 22px; border-radius: 100px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.nav-pill a:hover, .nav-pill a.active { color: var(--white); background: rgba(255,255,255,.06); }
.header-cta { justify-self: end; }

.menu-toggle {
  display: none; justify-self: end;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.04);
  flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.menu-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 20px 24px;
  background: rgba(10,10,10,.92);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
/* One centered column: label, headline, short line, two buttons, stats.
   Headline sits ~110-130px below the nav, matching top agency sites. */
.hero { position: relative; display: flex; flex-direction: column; min-height: clamp(640px, 92svh, 900px); padding: calc(var(--header-h) + clamp(32px, 6vh, 64px)) 0 56px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-rays { position: absolute; left: 50%; top: 12%; width: min(1325px, 100%); transform: translateX(-50%); opacity: .5; mix-blend-mode: screen; pointer-events: none; }
/* Dark pool behind the text so it stays readable over the video */
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 55% at 50% 42%, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,0) 100%),
  linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.6) 85%, #000 100%); }
.hero-inner { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; }
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 1280px; }
.badge.hero-eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 9px 16px; gap: 10px; margin-bottom: 28px; }
.hero-eyebrow .badge-dot { width: 7px; height: 7px; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5.6vw, 92px); line-height: 1.04; letter-spacing: -0.02em; color: var(--white); }
.ht-line { display: block; }
.ht-accent { color: var(--accent); text-shadow: 0 0 40px rgba(255,98,41,.35); }
.hero-lede { margin-top: 28px; max-width: 600px; color: #d9d9d9; font-size: 19px; line-height: 1.6; }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn-ghost { border: 1px solid rgba(255,98,41,.6); color: var(--white); background: rgba(0,0,0,.25); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(255,98,41,.1); transform: translateY(-2px); }
.hero-stats { margin-top: 56px; display: flex; justify-content: center; gap: clamp(32px, 6vw, 72px); }
.hero-stats li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-stats strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1; color: var(--white); }
.hero-stats span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Work ---------- */
.work { padding: var(--section-y) 0 calc(var(--section-y) * .5); }
.category { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 44px 0; position: relative; }
.category + .category::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.cat-badge {
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--white);
  padding: 8px 18px; border-radius: 6px; background: var(--grad-btn);
  box-shadow: 0 8px 24px -10px rgba(229,57,31,.7);
}
.vgrid { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.vrow { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; width: 100%; }
.vstack { display: flex; flex-direction: column; gap: 24px; }

/* video card sizes (desktop widths matching the Framer layout) */
.w-xl { width: 666px; }
.w-l  { width: 380px; }
.w-l2 { width: 550px; }
.w-m  { width: 337px; }
.w-m2 { width: 480px; }
.w-s  { width: 234px; }
.w-s2 { width: 260px; }
.vstack .w-m2 { width: 489px; }

.yt {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 16px; background: #111;
  border: 1px solid var(--line);
  max-width: 100%;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.yt.h { aspect-ratio: 16 / 9; }
.yt.v { aspect-ratio: 9 / 16; }
.yt:hover { transform: translateY(-4px); border-color: rgba(255,98,41,.45); box-shadow: 0 24px 50px -24px rgba(255,98,41,.5); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.yt:hover img { transform: scale(1.04); }
.yt .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 44px; border-radius: 12px; border: 0;
  background: rgba(0,0,0,.65); cursor: pointer;
  display: grid; place-items: center; transition: background .25s;
}
.yt .play::after { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.yt:hover .play { background: var(--accent); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Services ---------- */
.services { padding: var(--section-y) 0; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.services-head > div { display: flex; flex-direction: column; gap: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service-card {
  position: relative; padding: 32px 28px 40px;
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.04) 100%);
  transition: background .4s ease;
}
.service-card + .service-card { border-left: 1px solid var(--line); }
.service-card:hover, .service-card.featured { background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 60%); }
.service-card.featured { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.service-art { position: relative; height: 200px; display: grid; place-items: center; margin-bottom: 20px; }
.service-art .glow { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.service-art .icon { position: relative; width: 150px; height: 150px; object-fit: contain; transition: transform .5s ease; }
.service-art .icon-wide { width: 220px; }
.service-card:hover .icon { transform: translateY(-6px) scale(1.04); }
.service-card .num { color: var(--muted); font-size: 14px; }
.service-card h3 { font-family: var(--font-body); font-weight: 500; font-size: 20px; letter-spacing: -0.5px; color: var(--accent); }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Pain ---------- */
.pain { position: relative; padding: var(--section-y) 0; overflow: hidden; text-align: center; }
.pain-bg { position: absolute; left: 50%; top: 50%; width: 1296px; max-width: none; transform: translate(-50%, -50%); opacity: .55; pointer-events: none; }
.pain .container { position: relative; }
.pain-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 6.5vw, 93px); line-height: .9; letter-spacing: -0.05em; color: var(--white); margin-bottom: 56px; }
.pain-list { display: flex; flex-direction: column; gap: 18px; text-align: left; width: fit-content; margin: 0 auto; }
.pain-list li { display: flex; align-items: flex-start; gap: 16px; color: var(--text); font-size: 17px; }
.pain-list li::before {
  content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6229' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
  border: 1px solid var(--line);
  margin-top: -1px;
}
.pain-close { margin-top: 64px; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; color: var(--white); max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---------- About ---------- */
.about { padding: calc(var(--section-y) * .5) 0 var(--section-y); }
.about-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start;
  padding: 72px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(20,20,20,.9), rgba(10,10,10,.9));
}
.about-dots { position: absolute; left: -10%; top: 10%; width: 120%; max-width: none; opacity: .5; pointer-events: none; }
.about-copy, .about-photo { position: relative; }
.about-copy { display: flex; flex-direction: column; gap: 24px; }
.about-intro { font-family: var(--font-display); font-size: 24px; line-height: 1.35; color: var(--white); max-width: 420px; }
.about-body { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--font-num); font-weight: 500; font-size: 40px; line-height: 1.1; letter-spacing: -1.6px; color: var(--white); }
.stat-label { font-family: var(--font-num); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.about-photo { aspect-ratio: 440 / 560; max-width: 440px; justify-self: end; width: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 20px; }
.corner { position: absolute; width: 36px; height: 36px; border: 2px solid var(--accent); }
.corner.tl { top: -12px; left: -12px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.corner.br { bottom: -12px; right: -12px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.testi-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; pointer-events: none; }
.testimonials .container { position: relative; }
.carousel { position: relative; }
.car-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 20px; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 280px;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card header { display: flex; align-items: center; gap: 14px; }
.testi-card header img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.12); }
.testi-card strong { display: block; font-weight: 600; color: var(--text); }
.testi-card header span { font-size: 13px; color: var(--muted); }
.stars { color: #ffb800; font-size: 22px; letter-spacing: 4px; line-height: 1; }
.testi-card blockquote {
  flex: 1; min-height: 340px;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: #1a1a1a;
  border: 1px solid var(--line);
  color: var(--muted-2); font-size: 15px; line-height: 1.65;
  display: flex; flex-direction: column; justify-content: center;
}
.testi-card blockquote .lead { color: var(--text); margin-bottom: 14px; }
.car-btn {
  position: absolute; top: 55%; z-index: 2; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(20,20,20,.9);
  font-size: 26px; line-height: 1; cursor: pointer; transition: background .25s;
}
.car-btn:hover { background: var(--grad); }
.car-btn.prev { left: -22px; }
.car-btn.next { right: -22px; }

/* ---------- Process ---------- */
.process { padding: var(--section-y) 0; overflow: hidden; }
.process .section-sub { max-width: 560px; }

/* Workflow: gray track, orange fill draws left to right, each node lights up as the fill reaches it */
.flow { --node: 84px; --num-h: 18px; --num-gap: 18px; position: relative; margin-top: 16px; }
.flow-track {
  position: absolute; left: 10%; right: 10%; height: 2px;
  top: calc(var(--num-h) + var(--num-gap) + var(--node) / 2 - 1px);
  background: rgba(255,255,255,.1); border-radius: 2px;
}
.flow-fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  box-shadow: 0 0 12px rgba(255,98,41,.6);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 2.2s cubic-bezier(.45,.05,.25,1);
}
.flow-dot {
  position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 3px rgba(255,98,41,.9), 0 0 24px 6px rgba(255,98,41,.45);
  opacity: 0;
}
/* Each step is a subgrid over 5 shared rows (num, icon, title, tag, text), so tags and descriptions line up across steps */
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, auto); column-gap: 24px; }
.flow-step { --delay: calc(var(--i) * .45s + .15s); display: grid; grid-row: span 5; grid-template-rows: subgrid; justify-items: center; text-align: center; }
.flow-num { height: var(--num-h); margin-bottom: var(--num-gap); font-family: var(--font-num); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--muted); transition: color .5s var(--delay); }
.flow-node {
  position: relative; width: var(--node); height: var(--node); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #1c1c1c, #0b0b0b 70%);
  border: 1.5px solid rgba(255,255,255,.12);
  transition: border-color .5s var(--delay), box-shadow .5s var(--delay), transform .5s var(--delay);
}
.flow-node svg { width: 30px; height: 30px; fill: none; stroke: #6f6f6f; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s var(--delay), filter .5s var(--delay); }
.flow-step h3, .flow-step .flow-tag, .flow-step p { opacity: .35; transform: translateY(10px); transition: opacity .6s var(--delay), transform .6s var(--delay); }
.flow-step h3 { align-self: end; margin-top: 26px; }
.flow-step .flow-tag { align-self: start; margin-top: 14px; }
.flow-step p { align-self: start; margin-top: 14px; }
.flow-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; line-height: 1.2; color: var(--white); }
.flow-step p { color: var(--muted-2); font-size: 15px; line-height: 1.6; max-width: 240px; }
.flow-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255,98,41,.5); color: var(--accent); background: rgba(255,98,41,.08); white-space: nowrap;
}
.flow-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* Active state (added by JS when the section scrolls into view) */
.flow.is-active .flow-fill { transform: scaleX(1); }
.flow.is-active .flow-dot { animation: flowDotX 3.6s ease-in-out 2.4s infinite; }
.flow.is-active .flow-num { color: var(--accent); }
.flow.is-active .flow-node { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(255,98,41,.08), 0 0 30px rgba(255,98,41,.35); transform: scale(1.04); }
.flow.is-active .flow-node svg { stroke: var(--accent); filter: drop-shadow(0 0 6px rgba(255,98,41,.6)); }
.flow.is-active .flow-step h3, .flow.is-active .flow-step .flow-tag, .flow.is-active .flow-step p { opacity: 1; transform: none; }
.flow-step:hover .flow-node { transform: scale(1.1); }
@keyframes flowDotX { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes flowDotY { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.process-note { margin-top: 40px; text-align: center; color: var(--accent); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section-y) 0; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-weight: 500; font-size: 20px; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: 0 0 30px; height: 30px; border-radius: 50%;
  background: #333; position: relative; transition: background .3s, transform .3s;
}
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; transform: translate(-50%, -50%); border-radius: 2px; transition: transform .3s; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--grad); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { color: var(--muted); padding-top: 14px; padding-right: 54px; }
.faq-item[open] p { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact { padding: calc(var(--section-y) * .5) 0 var(--section-y); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: #0b0b0b;
  padding: 56px 40px;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, rgba(255,98,41,.75) 0%, rgba(193,16,27,.75) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 2;
}
.book-card { display: flex; flex-direction: column; gap: 24px; padding: 40px 32px 32px; }
.book-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; pointer-events: none; }
.book-head { position: relative; display: flex; flex-direction: column; gap: 10px; }
.book-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -0.01em; color: var(--white); }
.book-head p { color: var(--muted-3); font-size: 15px; line-height: 1.5; }
/* Calendly's free plan renders a white calendar, so it sits in its own rounded white panel */
.calendly-embed { position: relative; flex: 1; min-height: 660px; border-radius: 16px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.calendly-embed iframe { width: 100%; height: 100%; min-height: 660px; border: 0; display: block; }
.calendly-embed.is-loaded { display: block; }
.calendly-fallback { width: auto; margin: 24px; }
.calendly-embed.is-loaded .calendly-fallback { display: none; }
.book-done { position: relative; color: #7bdc9b; font-size: 15px; text-align: center; }
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.contact-form h3 { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--muted-3); margin-bottom: 8px; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 15px; color: var(--white); }
.contact-form input, .contact-form textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: 10px 0; color: var(--white); font: 400 15px var(--font-body);
  outline: none; transition: border-color .25s; resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #777; }
/* Keep Chrome/Safari autofill from painting the fields light blue on the dark card */
.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px #0b0b0b inset;
  caret-color: var(--white);
  transition: background-color 9999s ease-out 0s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.form-status { min-height: 1.5em; font-size: 14px; color: var(--muted-3); text-align: center; }
.form-status.err { color: #ff7b7b; }
.form-status.ok { color: #7bdc9b; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-col { display: flex; gap: 40px; }
.footer-label { color: var(--muted); font-size: 14px; padding-top: 8px; min-width: 50px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.15; color: var(--text); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.back-top { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted-3); }
.back-top-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(#454545, #2b2b2b); color: var(--white); transition: background .25s; }
.back-top:hover .back-top-icon { background: var(--grad); }

/* ---------- Scroll reveal ---------- */
/* Hero fades in with pure CSS, so above-the-fold content never waits on JavaScript */
.hero-in { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-in { animation: none; }
  .flow-fill, .flow-num, .flow-node, .flow-node svg, .flow-step h3, .flow-step .flow-tag, .flow-step p, .flow-step::after { transition: none !important; }
  .flow-dot { display: none; }
  .hero-video { display: none; }
}

/* =========================================================
   Tablet  (≤ 1100px)
   ========================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 0; }
  .service-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-panel { grid-template-columns: 1fr; padding: 48px; }
  .about-photo { justify-self: start; max-width: 380px; }
  .flow-steps { gap: 12px; }
  .flow-step h3 { font-size: 17px; }
  .flow-step p { font-size: 14px; }
  .flow-tag { font-size: 10px; letter-spacing: .08em; padding: 6px 10px; }
  .testi-card { flex-basis: calc((100% - 24px) / 2); }
  .contact-grid { grid-template-columns: 1fr; }
  .car-btn.prev { left: -8px; }
  .car-btn.next { right: -8px; }
}

/* =========================================================
   Phone  (≤ 760px)
   ========================================================= */
@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 68px; --section-y: 56px; }
  .nav-pill, .header-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero-title { font-size: 36px; }
  .hero-lede { font-size: 16px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { margin-top: 44px; gap: 24px; }
  .hero-stats strong { font-size: 26px; }
  .hero-stats span { font-size: 10px; }
  .badge.hero-eyebrow { font-size: 10px; letter-spacing: .04em; padding: 8px 12px; white-space: nowrap; }

  .category { padding: 32px 0; }
  .badge { font-size: 18px; padding: 10px 20px; }
  .section-head { margin-bottom: 36px; }
  .vrow { gap: 16px; }
  .vgrid, .vstack { gap: 16px; }
  .yt.h { width: 100%; }
  .vstack { width: 100%; }
  .vrow > .yt.v { width: calc(50% - 8px); }
  .vrow > .yt.v:only-child { width: 70%; }

  .services-head { flex-direction: column; align-items: flex-start; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 24px 18px 28px; }
  .service-art { height: 130px; }
  .service-art .icon { width: 100px; height: 100px; }
  .service-art .icon-wide { width: 140px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 14px; }

  .pain-list li { font-size: 15px; }
  .about-panel { padding: 32px 22px; gap: 40px; border-radius: 24px; }
  .stats { grid-template-columns: 1fr; gap: 20px; }
  .about-photo { max-width: 100%; }

  .testi-card { flex-basis: 85%; }
  .testi-card blockquote { min-height: 0; }
  .car-btn { display: none; }

  /* Phone: vertical workflow, line runs top to bottom on the left */
  .flow { --node: 60px; margin-top: 8px; }
  .flow-track { display: none; }
  .flow-step { position: relative; }
  .flow-step:not(:last-child)::before,
  .flow-step:not(:last-child)::after {
    content: ""; position: absolute; left: calc(var(--node) / 2 - 1px); top: var(--node); bottom: -36px; width: 2px;
    background: rgba(255,255,255,.1);
  }
  .flow-step:not(:last-child)::after {
    background: linear-gradient(180deg, var(--accent), var(--accent-deep)); box-shadow: 0 0 10px rgba(255,98,41,.5);
    transform: scaleY(0); transform-origin: top; transition: transform .45s ease calc(var(--delay) + .3s);
  }
  .flow.is-active .flow-step::after { transform: scaleY(1); }
  .flow-steps { grid-template-columns: 1fr; grid-template-rows: none; gap: 36px; }
  .flow-step { grid-row: auto; grid-template-rows: auto auto 1fr; grid-template-columns: var(--node) 1fr; column-gap: 18px; justify-items: start; text-align: left; align-items: start; }
  .flow-step h3, .flow-step .flow-tag, .flow-step p { grid-column: 2; align-self: start; }
  .flow-step h3 { margin-top: 4px; }
  .flow-step .flow-tag, .flow-step p { margin-top: 10px; }
  .flow-num { display: none; }
  .flow-node { grid-row: 1 / span 3; grid-column: 1; }
  .flow-node svg { width: 24px; height: 24px; }
  .flow-step h3 { font-size: 19px; }
  .flow-step p { max-width: none; }
  .faq-item summary { font-size: 17px; }
  .faq-item p { padding-right: 0; }

  .contact-card { padding: 40px 22px; }
  .book-card { padding: 28px 6px 6px; }
  .book-head { padding: 0 16px; }
  .calendly-embed, .calendly-embed iframe { min-height: 720px; }

  .footer-cols { grid-template-columns: 1fr; }
  .footer-col { flex-direction: column; gap: 12px; }
  .footer-col a { font-size: 26px; }
  .footer-bottom { margin-top: 64px; }
}

/* =========================================================
   Phone polish (≤ 760px) — sizes tuned for 360–430px screens.
   Placed last so it overrides the older phone rules above.
   ========================================================= */
@media (max-width: 760px) {
  :root { --gutter: 24px; --section-y: 60px; }

  /* Type scale */
  .h-display { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
  .section-sub { font-size: 15px; }
  .section-head { gap: 14px; margin-bottom: 32px; }
  .badge { font-size: 14px; padding: 8px 16px; gap: 8px; }
  .badge-dot { width: 7px; height: 7px; }

  /* Buttons */
  .btn { height: 50px; font-size: 15px; padding: 0 22px; }

  /* Header */
  .logo img { height: 32px; }
  .footer-logo { margin-bottom: 32px; }
  .footer-logo img { height: 40px; }
  .menu-toggle { width: 44px; height: 44px; }

  /* Hero */
  .hero { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .hero-title { font-size: 30px; line-height: 1.12; }
  .hero-title .ht-line { display: inline; }
  .hero-title .ht-line:first-child::after { content: " "; }
  .badge.hero-eyebrow { margin-bottom: 22px; }
  .hero-lede { margin-top: 18px; font-size: 15px; line-height: 1.6; }
  .hero-ctas { margin-top: 28px; gap: 12px; }
  .hero-stats { margin-top: 36px; gap: 12px; width: 100%; justify-content: space-between; }
  .hero-stats li { flex: 1; min-width: 0; }
  .hero-stats span { max-width: 92px; line-height: 1.4; }
  .hero-stats strong { font-size: 24px; }
  .hero-stats span { font-size: 10px; letter-spacing: .08em; }

  /* Work: each category is one swipeable row */
  .work { padding-bottom: 24px; }
  .category { padding: 28px 0; gap: 18px; }
  .cat-badge { font-size: 16px; padding: 7px 14px; }
  .category > .vgrid, .category > .vrow {
    display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 12px;
    width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .category > .vgrid::-webkit-scrollbar, .category > .vrow::-webkit-scrollbar { display: none; }
  .category .vgrid .vrow, .category .vstack { display: contents; }
  .category .yt { flex: 0 0 auto; scroll-snap-align: start; width: auto; }
  .category .yt.h { width: 82%; }
  .category .yt.v, .vrow > .yt.v, .vrow > .yt.v:only-child { width: 44%; }
  .category .yt.v:only-child { width: 60%; }

  /* Services: one card per row, icon beside the text */
  .services-head { gap: 16px; margin-bottom: 32px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; row-gap: 6px; padding: 22px 20px; align-items: start; }
  .service-card + .service-card, .service-card:nth-child(3), .service-card:nth-child(n+3) { border-left: 0; border-top: 1px solid var(--line); }
  .service-art { grid-row: 1 / span 3; height: 64px; width: 64px; margin: 0; }
  .service-art .icon, .service-art .icon-wide { width: 56px; height: 56px; }
  .service-card .num { font-size: 12px; }
  .service-card h3 { font-size: 17px; }
  .service-card p { font-size: 14px; line-height: 1.55; }

  /* Pain */
  .pain-title { font-size: 36px; margin-bottom: 36px; }
  .pain-list { gap: 14px; }
  .pain-list li { font-size: 15px; }
  .pain-close { margin-top: 40px; font-size: 20px; }

  /* About */
  .about { padding-top: 24px; }
  .about-panel { padding: 28px 20px; gap: 32px; }
  .about-panel h2 { font-size: 28px; }
  .about-intro { font-size: 19px; }
  .about-body { font-size: 14px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 22px; }
  .stat-num { font-size: 28px; letter-spacing: -1px; }
  .stat-label { font-size: 10px; letter-spacing: .3px; }
  .corner { width: 26px; height: 26px; }
  .corner.tl { top: -8px; left: -8px; }
  .corner.br { bottom: -8px; right: -8px; }

  /* Testimonials */
  .testi-card { flex-basis: 86%; min-width: 0; }
  .testi-card blockquote { padding: 22px 20px; font-size: 14px; }
  .stars { font-size: 18px; }
  .testimonials .car-dots { display: flex; }

  /* Process */
  .flow-step h3 { font-size: 17px; }
  .flow-step p { font-size: 14px; }
  .process-note { font-size: 14px; margin-top: 32px; }

  /* FAQ */
  .faq-item { padding: 18px 0; }
  .faq-item summary { font-size: 16px; gap: 16px; }
  .faq-item p { font-size: 14px; }

  /* Contact */
  .contact { padding-top: 24px; }
  .contact-card { padding: 32px 20px; }
  .book-head h2 { font-size: 24px; }
  .contact-form h3 { font-size: 22px; }

  /* Footer */
  .site-footer { padding-top: 40px; }
  .footer-col a { font-size: 22px; }
  .footer-bottom { margin-top: 48px; }
}

/* Small phones (≤ 380px, e.g. iPhone SE, small Androids) */
@media (max-width: 380px) {
  :root { --gutter: 20px; }
  .h-display { font-size: 27px; }
  .hero-title { font-size: 27px; }
  .pain-title { font-size: 32px; }
  .hero-stats strong { font-size: 22px; }
  .badge.hero-eyebrow { font-size: 9px; padding: 7px 10px; }
}

/* Testimonial dots (shown on phones) */
.car-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.car-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); cursor: pointer; transition: width .3s, background .3s; }
.car-dots button.on { width: 22px; border-radius: 4px; background: var(--accent); }

/* Calendly pop-up (desktop): size it to Calendly's single-column card so its scrollbar
   sits inside the card edge instead of floating beside it. Phones keep Calendly's full-screen view.
   `body` raises specificity above Calendly's widget.css, which loads after this file. */
@media (min-width: 976px) {
  body .calendly-overlay .calendly-popup {
    width: min(680px, calc(100vw - 48px)); min-width: 0; max-width: none;
    height: min(760px, calc(100vh - 64px)); max-height: none;
    border-radius: 16px; overflow: hidden;
  }
}
