/* ============================================================
   HOMEPAGE — page-specific sections
   Loads AFTER theme.css. Only styles that appear on the homepage
   live here, so editing this file cannot affect other pages.
   ============================================================ */

/* ---------- Hero (centered, founderos-style) ---------- */
.hero { padding: clamp(150px, 22vh, 250px) 0 var(--pad-section); text-align: center; }
.hero__inner { max-width: 1160px; margin: 0 auto; }
.hero__inner .eyebrow { margin-bottom: 26px; }
/* Hero headline only: Title Case, not the sitewide caps (theme.css uppercases all headings).
   line-height opened up too — Bryan asked for spacing between the headline lines. */
.hero h1 {
  font-size: clamp(2.3rem, 4.7vw, 4.3rem);
  margin: 0 auto 26px;
  line-height: 1.16;
  text-transform: none;
}
.hero__line { display: block; }
.hero .lead { max-width: 720px; margin: 0 auto 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__trust { margin-top: 48px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--ink-dim); font-size: .9rem; font-weight: 600; }
.hero__avatars { display: flex; }
.hero__avatars span { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,#3a3a3a,#555); border: 2px solid var(--black); margin-left: -10px; }
.hero__avatars span:first-child { margin-left: 0; }

/* ---------- Problem / Solution ----------
   Two columns: headline left, Bryan's two brief paragraphs right. No eyebrow.
   Headline is ALL CAPS (Bryan, 2026-07-19 — reverses the Title Case he asked
   for on 2026-07-10; the sitewide caps from theme.css now apply as-is).
   Second paragraph (the solution) is lime, with its closing clause bolded
   per his underline. */
.problem { align-items: center; }
.problem h2 { margin: 0; }
.problem p { line-height: 1.7; }
.problem p:last-child { margin-top: 1.1em; color: var(--lime); }
.problem p strong { font-weight: 700; color: inherit; }

/* ---------- What We Offer: ascending (stair-step) flow ---------- */
.flow {
  list-style: none; margin: 0 0 clamp(40px,5vw,64px); padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.flow__node {
  position: relative; padding: 28px 20px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(218,255,0,.05), transparent 60%);
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}
.flow__node:hover {
  transform: translateY(-8px);
  border-color: rgba(218,255,0,.42);
  background: linear-gradient(180deg, rgba(218,255,0,.12), rgba(255,255,255,.025) 72%);
  box-shadow: 0 18px 42px rgba(0,0,0,.28), 0 0 0 1px rgba(218,255,0,.08);
}
/* stair-step + diagonal connector that reaches the next card (wide screens only) */
@media (min-width: 861px) {
  .flow__node:nth-child(1){ margin-top: 60px; }
  .flow__node:nth-child(2){ margin-top: 40px; }
  .flow__node:nth-child(3){ margin-top: 20px; }
  .flow__node:nth-child(4){ margin-top: 0; }
  /* straight horizontal connector, anchored a fixed 38px from each card's top
     (by the step number). Because every card steps up 20px, each connector sits
     20px higher than the previous one — the lines themselves form the staircase */
  .flow__node::after {
    content: ""; position: absolute; top: 38px; left: 100%;
    width: 26px; height: 2px;
    background: rgba(255,255,255,.3);
  }
  .flow__node:last-child::after { display: none; }
}
.flow__num { font-family: var(--font-head); font-size: 1.1rem; color: var(--lime); }
.flow__node h3 { margin: 8px 0 10px; font-size: 1.5rem; }
.flow__node p { color: var(--ink-dim); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* offer cards (What We Offer — Bryan's 9 services)
   Icon art + mask paths are shared, in theme.css. This only sizes and colours them. */
.offer-card__icon {
  display: block;
  width: 56px; height: 56px;
  margin: 0 auto 18px;   /* block-level, so centre it explicitly */
  color: var(--lime);
}
.band-light .offer-card__icon { color: var(--orange); }
.offer-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
/* the deck gives titles only — no description line, so don't leave a dangling margin */
.offer-card h3:last-child { margin-bottom: 0; }
.offer-card p { color: var(--ink-dim); margin: 0; }
.offer-cards { --cgap: clamp(26px, 3vw, 40px); --rgap: clamp(28px, 3vw, 44px); column-gap: var(--cgap); row-gap: var(--rgap); }
.offer-card {
  position: relative;
  text-align: center;   /* FounderOS-style: centered icon → title → description */
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 22% 0%, rgba(218,255,0,.18), transparent 34%);
  opacity: 0;
  transition: opacity .28s var(--ease);
  pointer-events: none;
}
.offer-card > * { position: relative; z-index: 1; }
.offer-card:hover {
  transform: translateY(-10px);
  border-color: rgba(218,255,0,.5);
  background: rgba(255,255,255,.045);
  box-shadow: 0 22px 48px rgba(0,0,0,.34), 0 0 22px rgba(218,255,0,.08);
}
/* every card except the last one carries a connector — don't lift it away from the line */
.offer-card:nth-child(-n+8):hover { transform: none; }
.offer-card:hover::before { opacity: 1; }
.offer-card:hover .offer-card__icon {
  transform: translateY(-3px) scale(1.08);
  filter: drop-shadow(0 0 10px rgba(218,255,0,.38));
}
.offer-card__icon { transition: transform .28s var(--ease), filter .28s var(--ease); }

/* neon flow arrows connecting the cards in Bryan's snake sequence (desktop only) */
@media (min-width: 861px) {
  /* 3×3 snake: row 1 L→R, row 2 R→L, row 3 L→R */
  .offer-card:nth-child(4) { grid-column: 3; grid-row: 2; }
  .offer-card:nth-child(5) { grid-column: 2; grid-row: 2; }
  .offer-card:nth-child(6) { grid-column: 1; grid-row: 2; }
  .offer-card:nth-child(7) { grid-column: 1; grid-row: 3; }
  .offer-card:nth-child(8) { grid-column: 2; grid-row: 3; }
  .offer-card:nth-child(9) { grid-column: 3; grid-row: 3; }

  /* thick lime lines that bridge the gap and tuck into both cards */
  .offer-card--r::after, .offer-card--l::after, .offer-card--d::after {
    content: ""; position: absolute; background: var(--lime);
    filter: drop-shadow(0 0 4px rgba(218,255,0,.5));
    pointer-events: none; z-index: 3;
  }
  /* horizontal line filling the column gap, meeting each card's edge (no overlap) */
  .offer-card--r::after, .offer-card--l::after { top: 50%; height: 7px; width: var(--cgap); transform: translateY(-50%); }
  .offer-card--r::after { left: calc(100% + 1px); }
  .offer-card--l::after { right: calc(100% + 1px); }
  /* vertical line filling the row gap */
  .offer-card--d::after { left: 50%; top: calc(100% + 1px); width: 7px; height: var(--rgap); transform: translateX(-50%); }
}

/* ---------- Embed ---------- */
.embed { max-width: 960px; margin: 0 auto; }

/* ---------- Our Works: staggered reel grid ---------- */
.works {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start;
}
.works__item { margin: 0; }
.works__item:nth-child(even) { margin-top: 42px; }
.works__cta { text-align: center; margin-top: 44px; }
@media (max-width: 900px) { .works { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .works__item:nth-child(even) { margin-top: 24px; }
}

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.compare__col {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,36px);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
}
.compare__col--us { background: linear-gradient(180deg, rgba(218,255,0,.10), rgba(218,255,0,.02)); border-color: rgba(218,255,0,.4); }
.compare__col:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
}
.compare__col--us:hover {
  border-color: rgba(218,255,0,.68);
  background: linear-gradient(180deg, rgba(218,255,0,.16), rgba(218,255,0,.035));
}
.compare__col--them:hover { border-color: rgba(255,255,255,.24); }
.compare__head { font-size: 1.5rem; margin-bottom: 20px; }
.compare__col--us .compare__head { color: var(--lime); }
.compare__col ul { list-style: none; margin: 0; padding: 0; }
.compare__col li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--ink-dim); }
.compare__col li:first-child { border-top: 0; }
.compare__col--us li { color: var(--ink); }
.compare__col li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 14px; border-radius: 50%; }
.compare__col--us li::before { background: var(--lime); }
.compare__col--them li::before { border: 2px solid var(--ink-dim); top: 16px; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 18px; }
.testimonial__pills { display: flex; gap: 8px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; color: var(--ink-dim); font-size: .9rem; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: #333; flex: 0 0 auto; }

/* ---------- How it works: alternating timeline ---------- */
.hiw { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 940px; display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 32px); }
/* faint center connector line */
.hiw::before { content: ""; position: absolute; top: 34px; bottom: 34px; left: 50%; width: 2px; transform: translateX(-50%); background: var(--line-invert); z-index: 0; }

.hiw-step { position: relative; z-index: 1; width: 84%; }
.hiw-step--left  { margin-right: auto; padding-left: 78px; }
.hiw-step--right { margin-left: auto;  padding-right: 78px; }

.hiw-step__icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 15px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-invert); color: var(--orange);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: transform .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.hiw-step--left  .hiw-step__icon { left: 0; }
.hiw-step--right .hiw-step__icon { right: 0; }
.hiw-step__icon svg { width: 26px; height: 26px; }

.hiw-card {
  background: #fff; border: 1px solid var(--line-invert); border-radius: 18px;
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.hiw-step:hover .hiw-card {
  transform: translateY(-8px);
  border-color: rgba(255,140,20,.42);
  box-shadow: 0 20px 42px rgba(0,0,0,.1);
}
.hiw-step:hover .hiw-step__icon {
  color: #241100;
  border-color: var(--orange);
  box-shadow: 0 12px 28px rgba(255,140,20,.22);
}
.hiw-step--left:hover .hiw-step__icon { transform: translateY(-50%) translateX(4px) rotate(-3deg); }
.hiw-step--right:hover .hiw-step__icon { transform: translateY(-50%) translateX(-4px) rotate(3deg); }
.hiw-step--right .hiw-card { text-align: right; }
.hiw-num { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.hiw-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 10px; }
.hiw-card p { margin: 0; color: var(--ink-invert-dim); }

/* mobile: single left-aligned column, icon on top, no center line */
@media (max-width: 680px) {
  .hiw::before { display: none; }
  .hiw-step, .hiw-step--left, .hiw-step--right {
    width: 100%; margin: 0; padding: 70px 0 0;
  }
  .hiw-step--left .hiw-step__icon, .hiw-step--right .hiw-step__icon { top: 0; transform: none; left: 0; right: auto; }
  .hiw-step--left:hover .hiw-step__icon, .hiw-step--right:hover .hiw-step__icon { transform: translateY(-4px) rotate(-3deg); }
  .hiw-step--right .hiw-card { text-align: left; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
  transition: border-color .32s var(--ease);
}
.faq__item.is-open { border-color: rgba(255,140,20,.45); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: 0; cursor: pointer; text-align: left; padding: 24px 0; color: var(--ink); font-family: var(--font-body); font-size: 1.1rem; font-weight: 600;
  transition: color .24s var(--ease);
}
.faq__q:hover, .faq__item.is-open .faq__q { color: var(--orange); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--orange); transition: transform .25s var(--ease); }
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item.is-open .faq__icon::before { transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: scaleY(0) rotate(180deg); }
.faq__a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  visibility: hidden;
  transition:
    max-height .48s var(--ease),
    opacity .28s var(--ease),
    transform .36s var(--ease),
    visibility .48s step-end;
}
.faq__item.is-open .faq__a { max-height: 900px; }
.faq__item.is-open .faq__a {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition:
    max-height .56s var(--ease),
    opacity .34s var(--ease) .08s,
    transform .42s var(--ease) .04s,
    visibility 0s step-start;
}
.faq__a p { padding: 0 0 24px; color: var(--ink-dim); margin: 0; }

/* ---------- Highlights: stats segment (lyvisuals-style) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); text-align: center; max-width: 900px; margin: 0 auto; }
.stat {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: transform .28s var(--ease);
}
.stat:hover { transform: translateY(-6px); }
.stat__icon { color: var(--orange); transition: transform .28s var(--ease), filter .28s var(--ease); }
.stat:hover .stat__icon { transform: scale(1.12) rotate(-3deg); filter: drop-shadow(0 8px 14px rgba(255,140,20,.24)); }
.stat__icon svg { width: 42px; height: 42px; }
.stat__num { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: var(--ink-invert); }
.stat__num span { color: var(--orange); }
.stat__label { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; color: var(--ink-invert-dim); }
.highlights__framework { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Our Works (real client portfolio) ---------- */
.works-cat { margin-bottom: clamp(40px, 5vw, 68px); }
.works-cat__label { display: inline-block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--lime); margin-bottom: 20px; }
.works-land { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.works-port { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 18px; }
.work {
  display: block; text-decoration: none; color: inherit;
  transition: transform .28s var(--ease);
}
.work__media {
  position: relative; overflow: hidden; display: block; border-radius: var(--radius);
  transition: outline-color .25s var(--ease), outline-offset .25s var(--ease), box-shadow .28s var(--ease);
}
.work--land .work__media { aspect-ratio: 16/9; }
.work--port .work__media { aspect-ratio: 9/16; }
.work__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s var(--ease), filter .45s var(--ease);
}
/* Taller than the 9:16 frame; anchor top so the crop falls on the device nav bar. */
.work--socials .work__media img { object-position: top center; }
.work__media .ph__play { width: 52px; height: 52px; top: 50%; left: 50%; transform: translate(-50%,-50%); margin: 0; }
.work__media .ph__play { transition: transform .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease); }
.work__media .ph__play::after { border-width: 9px 0 9px 15px; }
.work__name { display: block; margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.work__tag { position: absolute; top: 10px; left: 10px; background: var(--lime); color: #1a1f00; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .3em .7em; border-radius: var(--radius-pill); z-index: 2; }
.work:hover, .work:focus-visible { transform: translateY(-6px); }
.work:hover .work__media, .work:focus-visible .work__media {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  box-shadow: 0 18px 36px rgba(0,0,0,.34);
}
.work:hover .work__media img, .work:focus-visible .work__media img { transform: scale(1.06); filter: saturate(1.08) contrast(1.04); }
.work:hover .work__media .ph__play, .work:focus-visible .work__media .ph__play {
  transform: translate(-50%,-50%) scale(1.08);
  box-shadow: 0 0 24px rgba(218,255,0,.38);
}
.work:hover .work__name, .work:focus-visible .work__name { color: var(--lime); }
@media (max-width: 900px){ .works-land{ grid-template-columns: repeat(2,1fr) } .works-port{ grid-template-columns: repeat(3,1fr) } }
@media (max-width: 560px){ .works-land{ grid-template-columns: 1fr } .works-port{ grid-template-columns: repeat(2,1fr) } }

/* ---------- Reviews (Google-style carousel) ---------- */
.gr-summary { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.gr-summary strong { font-family: var(--font-head); font-size: 1.6rem; }
.gr-stars { color: #ffc107; letter-spacing: 2px; font-size: 1.05rem; }
.gr-count { color: var(--ink-dim); font-size: .9rem; }
/* Breaks out of the 1200px .wrap so four 340px cards fit (4*340 + 3*20 gap
   + 4px track padding = 1424). Narrower screens just show fewer, as before.
   Centred with margins, not translateX: .reviews is also a .reveal, and
   .reveal.is-in sets `transform: none`, which would wipe out a transform here. */
.reviews { --rev-w: min(1424px, 94vw); position: relative; margin-top: 8px; width: var(--rev-w); margin-left: calc(50% - var(--rev-w) / 2); }
/* overflow-x:auto forces overflow-y to auto, so the track clips vertically:
   padding-top must clear the -8px hover lift (+ border + shadow bleed). */
/* --cols = how many cards are visible at once; cards size themselves to fit. */
.reviews__track { --cols: 4; --gap: 20px; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 2px 22px; scrollbar-width: none; cursor: grab; }
.reviews__track::-webkit-scrollbar { display: none; }
/* while dragging: grabbing cursor, no snap fighting the drag, no text selection */
.reviews__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.reviews__track.is-dragging .gr-card { pointer-events: none; }
/* after release: snap stays off through the momentum glide + smooth settle,
   so it can't snatch the track mid-flight */
.reviews__track.is-gliding { scroll-snap-type: none; }
.gr-card {
  flex: 0 0 340px; max-width: 340px; scroll-snap-align: start; background: #fff; color: var(--ink-invert); border-radius: var(--radius); padding: 26px;
  border: 1px solid transparent;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.gr-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,140,20,.28);
  box-shadow: 0 18px 38px rgba(0,0,0,.22);
}
.gr-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
/* Initial badge (Bryan's "Client Success Stories" ref, 2026-07-25) — the span
   holds the client's first initial instead of a blank grey circle. */
.gr-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(255,140,20,.16);
  color: var(--orange);
  font-weight: 700; font-size: 1.05rem; line-height: 1;
}
.gr-card__meta { display: flex; flex-direction: column; line-height: 1.25; }
.gr-card__meta strong { color: var(--ink-invert); font-size: .98rem; }
.gr-card__meta span { font-size: .8rem; color: #888; }
.gr-card__g { margin-left: auto; }
.gr-card .gr-stars { display: block; margin-bottom: 10px; }
.gr-card__text { color: #444; margin: 0; font-size: .96rem; line-height: 1.55; }
/* SVG chevrons, not text glyphs: a "‹" is not centred inside its own em box,
   so place-items:center still leaves it visually off-centre. */
.reviews__nav { position: absolute; top: 42%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: rgba(20,20,20,.85); color: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; transition: background .2s, color .2s, border-color .2s; }
.reviews__nav svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.reviews__nav:hover { background: var(--lime); color: #1a1f00; border-color: var(--lime); }
.reviews__nav--prev { left: -12px; }
.reviews__nav--next { right: -12px; }
/* Small screens: one full card per slide, and the arrows move out from the
   sides (no room to overlay them) into a centred row beneath the track. */
@media (max-width: 560px){
  .gr-card{ flex-basis: 100%; max-width: 100%; }
  .reviews{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
  .reviews__track{ order: 1; flex: 0 0 100%; padding-bottom: 8px; }
  .reviews__nav{ position: static; transform: none; order: 2; }
}

/* ---------- Mobile overflow hardening (homepage containers) ---------- */
/* let these grid/flex children shrink below their intrinsic content width */
.hero__inner > *, .problem > *, .flow > *, .compare > *, .compare__col > *,
.works > *, .steps > *, .step, .step__body, .testimonial > * { min-width: 0; }

/* ---------- Homepage mobile polish ---------- */
@media (max-width: 480px) {
  .hero { padding-top: 104px; }
  .hero__media { min-height: 210px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .flow__node, .offer-card, .offer-card::before, .offer-card__icon,
  .compare__col, .hiw-step__icon, .hiw-card, .stat, .stat__icon,
  .work, .work__media, .work__media img, .work__media .ph__play, .gr-card,
  .faq__item, .faq__q, .faq__icon::before, .faq__icon::after, .faq__a {
    transition: none;
  }
  .flow__node:hover, .offer-card:hover, .compare__col:hover,
  .hiw-step:hover .hiw-card, .hiw-step--left:hover .hiw-step__icon,
  .hiw-step--right:hover .hiw-step__icon, .stat:hover, .stat:hover .stat__icon,
  .work:hover, .work:focus-visible, .work:hover .work__media img,
  .work:focus-visible .work__media img, .work:hover .work__media .ph__play,
  .work:focus-visible .work__media .ph__play, .gr-card:hover {
    transform: none;
  }
}

/* ============ OUR WORKS — Bunny video lightbox ============ */
.hs-lb {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(12, 12, 12, .9);
  opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.hs-lb.is-open { opacity: 1; visibility: visible; }
.hs-lb__frame {
  position: relative;
  transform: translateY(8px) scale(.98);
  transition: transform .28s var(--ease);
}
.hs-lb.is-open .hs-lb__frame { transform: none; }
.hs-lb__frame.is-land { width: min(92vw, 1100px); aspect-ratio: 16 / 9; }
.hs-lb__frame.is-port { height: min(84vh, 860px); aspect-ratio: 9 / 16; max-width: 92vw; }
/* Image variant: frame sizes to the image (no fixed ratio). */
.hs-lb__frame.is-img { width: auto; height: auto; aspect-ratio: auto; }
.hs-lb__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; border-radius: 14px; background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.hs-lb__frame img {
  display: block; max-width: 92vw; max-height: 84vh; width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
/* Optional "View on Instagram / source" link under an image */
.hs-lb__cap { text-align: center; margin-top: 14px; }
.hs-lb__cap a {
  display: inline-block; padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12); color: #fff;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: background .2s var(--ease);
}
.hs-lb__cap a:hover, .hs-lb__cap a:focus-visible { background: var(--orange); }
.hs-lb__close {
  position: absolute; top: -46px; right: 0;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.hs-lb__close:hover, .hs-lb__close:focus-visible { background: var(--orange); }
@media (prefers-reduced-motion: reduce) {
  .hs-lb, .hs-lb__frame { transition: none; }
  .hs-lb__frame { transform: none; }
}
@media (max-width: 640px) {
  /* On phones a tall portrait image would fill the screen and push the
     -46px close button off the top. Rather than move the × onto the image,
     shrink the image so the × still sits ABOVE it and stays on-screen,
     with room for the caption below. */
  .hs-lb__frame.is-img img { max-height: 72vh; }
}
