
.buildpress-gjc-web-mockups {
  --ai-ink: var(--e-global-color-primary, #050505);
  --ai-text: var(--e-global-color-text, #333333);
  --ai-accent: var(--e-global-color-accent, #e3185c);
  --ai-accent-dk: var(--e-global-color-tonepinkdk, #c10b45);
  --ai-paper: var(--e-global-color-900224d, #ffffff);
  --ai-soft: color-mix(in srgb, var(--ai-paper) 95%, var(--ai-ink));
  --ai-line: color-mix(in srgb, var(--ai-ink) 12%, transparent);
  --ai-muted: color-mix(in srgb, var(--ai-text) 72%, var(--ai-paper));
  --ai-green: var(--e-global-color-tonegreen, #1fae9c);
  --ai-green-dk: var(--e-global-color-tonegreendk, #0f766e);
  --ai-gold: var(--e-global-color-tonegold, #e69a2e);
  --ai-gold-dk: var(--e-global-color-tonegolddk, #b45309);
  --ai-coral: var(--e-global-color-tonecoral, #f0456e);
  --ai-coral-dk: var(--e-global-color-tonecoraldk, #be123c);
  --ai-cyan: var(--e-global-color-tonecyan, #2bb7d0);
  --ai-violet: var(--e-global-color-toneviolet, #a07bff);
  --ai-fs: var(--e-global-typography-text-font-size, 1rem);
  --ai-fs-sm: calc(var(--ai-fs) * 0.875);
  --ai-fs-xs: calc(var(--ai-fs) * 0.75);
  --ai-fs-title: var(--gjc-home-type-section, 3.125rem);
  --ai-font: var(--e-global-typography-text-font-family, sans-serif);
  --ai-font-ui: var(--e-global-typography-accent-font-family, sans-serif);
  --ai-font-display: var(--e-global-typography-primary-font-family, serif);
  position: relative;
  padding: 6.5rem 1.5rem;
  color: var(--ai-ink);
  background: var(--ai-paper);
  font-family: var(--ai-font);
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__inner { position: relative; width: min(100%, 75rem); margin-inline: auto; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.4rem 0.8rem;
  color: var(--ai-accent-dk);
  background: color-mix(in srgb, var(--ai-accent) 9%, var(--ai-paper));
  border-radius: 999px;
  font-family: var(--ai-font-ui);
  font-size: var(--ai-fs-xs);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__eyebrow::before { width: 0.4rem; height: 0.4rem; content: ""; background: currentColor; border-radius: 50%; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__title {
  max-width: 20ch;
  margin: 0;
  color: var(--ai-ink);
  font-family: var(--ai-font-display);
  font-size: var(--ai-fs-title);
  font-weight: var(--e-global-typography-primary-font-weight, 700);
  line-height: 1.08;
  text-wrap: balance;
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__lead {
  max-width: 56ch;
  margin: 1.25rem 0 0;
  color: var(--ai-text);
  font-size: calc(var(--ai-fs) * 1.0625);
  line-height: 1.65;
}
@media (max-width: 767px) {
  .buildpress-gjc-web-mockups { padding: 4.5rem 1rem; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__title { font-size: calc(var(--ai-fs-title) * 0.7); }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__lead { font-size: var(--ai-fs); }
}

.buildpress-gjc-web-mockups { --mk-blue: var(--e-global-color-toneblue, #5b9bff); --mk-green: var(--e-global-color-tonelime, #2bb56b); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__intro { max-width: 44rem; margin-bottom: 3rem; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card { --tone: var(--ai-violet); display: grid; gap: 1rem; align-content: start; min-width: 0; margin: 0; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--coral { --tone: var(--ai-coral); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--cyan { --tone: var(--ai-cyan); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--green { --tone: var(--mk-green); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--gold { --tone: var(--ai-gold); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--blue { --tone: var(--mk-blue); }

/* stage = tinted panel holding the two devices; every size scales with the card (cqw) */
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__stage {
  position: relative; overflow: hidden; aspect-ratio: 16 / 11; container-type: inline-size; isolation: isolate;
  background: radial-gradient(70% 80% at 100% 0%, color-mix(in srgb, var(--tone) 26%, transparent), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, color-mix(in srgb, var(--tone) 16%, transparent), transparent 70%), var(--ai-soft);
  border-radius: 20px; box-shadow: 0 0 0 1px var(--ai-line);
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__browser {
  position: absolute; top: 7cqw; left: 6cqw; width: 76cqw; overflow: hidden; background: var(--ai-paper); border-radius: 1.6cqw;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ai-ink) 6%, transparent), 0 3cqw 6cqw -3cqw color-mix(in srgb, var(--ai-ink) 40%, transparent);
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__bar { display: flex; gap: 0.8cqw; align-items: center; height: 4.2cqw; padding: 0 1.8cqw; background: var(--ai-paper); border-bottom: 1px solid var(--ai-line); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__bar i { width: 1cqw; height: 1cqw; background: color-mix(in srgb, var(--ai-ink) 16%, transparent); border-radius: 50%; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__bar b { width: 26cqw; height: 2.2cqw; margin-left: auto; margin-right: auto; background: var(--ai-soft); border-radius: 999px; transform: translateX(-2cqw); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__view { position: relative; overflow: hidden; aspect-ratio: 16 / 10; container-type: inline-size; background: var(--ai-soft); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__phone {
  position: absolute; right: 5cqw; bottom: -6cqw; width: 22cqw; padding: 1.1cqw; background: var(--ai-ink); border-radius: 3.6cqw;
  box-shadow: 0 3cqw 6cqw -2cqw color-mix(in srgb, var(--ai-ink) 50%, transparent);
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__pview { position: relative; overflow: hidden; aspect-ratio: 9 / 18; container-type: inline-size; background: var(--ai-soft); border-radius: 2.6cqw; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__pview::before { position: absolute; top: 3cqw; left: 50%; z-index: 1; width: 30cqw; height: 8cqw; content: ""; background: var(--ai-ink); border-radius: 999px; transform: translateX(-50%); }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__view img, .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__pview img { display: block; width: 100%; max-width: none; height: auto; border-radius: 0; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__pview img { padding-top: 14cqw; background: var(--ai-paper); box-sizing: content-box; }

/* motion: the page scrolls slowly top → bottom → top while the card is on screen (JS adds .is-live) */
@keyframes gjc-web-mock-page { 0%, 10% { transform: translateY(0); } 50%, 60% { transform: translateY(calc(-100% + 62.5cqw)); } 100% { transform: translateY(0); } }
@keyframes gjc-web-mock-phone { 0%, 14% { transform: translateY(0); } 54%, 64% { transform: translateY(calc(-100% + 200cqw)); } 100% { transform: translateY(0); } }
.buildpress-gjc-web-mockups.is-motion .buildpress-gjc-web-mockups__shot { animation: gjc-web-mock-page 24s cubic-bezier(0.45, 0, 0.55, 1) infinite; animation-play-state: paused; will-change: transform; }
.buildpress-gjc-web-mockups.is-motion .buildpress-gjc-web-mockups__pshot { animation: gjc-web-mock-phone 24s cubic-bezier(0.45, 0, 0.55, 1) infinite; animation-play-state: paused; will-change: transform; }
.buildpress-gjc-web-mockups.is-motion .buildpress-gjc-web-mockups__stage.is-live .buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups.is-motion .buildpress-gjc-web-mockups__stage.is-live .buildpress-gjc-web-mockups__pshot { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .buildpress-gjc-web-mockups.is-motion .buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups.is-motion .buildpress-gjc-web-mockups__pshot { animation: none; } }
/* scroll (default): the page inside the devices follows the visitor's own scroll — JS writes --p (0 → 1) on each stage while it crosses the viewport */
.buildpress-gjc-web-mockups.is-scroll .buildpress-gjc-web-mockups__shot { transform: translateY(calc((-100% + 62.5cqw) * var(--p, 0))); transition: transform 160ms linear; will-change: transform; }
.buildpress-gjc-web-mockups.is-scroll .buildpress-gjc-web-mockups__pshot { transform: translateY(calc((-100% + 200cqw) * var(--p, 0))); transition: transform 160ms linear; will-change: transform; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__sb { display: none; }
.buildpress-gjc-web-mockups.is-scroll .buildpress-gjc-web-mockups__sb { position: absolute; top: 1.2cqw; right: 0.8cqw; bottom: 1.2cqw; display: block; width: 0.7cqw; pointer-events: none; }
.buildpress-gjc-web-mockups.is-scroll .buildpress-gjc-web-mockups__sb i { position: absolute; left: 0; display: block; width: 100%; height: 22%; top: calc(78% * var(--p, 0)); background: color-mix(in srgb, var(--ai-ink) 28%, transparent); border-radius: 999px; transition: top 160ms linear; }
@media (prefers-reduced-motion: reduce) { .buildpress-gjc-web-mockups.is-scroll .buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups.is-scroll .buildpress-gjc-web-mockups__pshot, .buildpress-gjc-web-mockups.is-scroll .buildpress-gjc-web-mockups__sb i { transition: none; } }
/* steps (default, owner round 3: following the mouse scroll was hard to watch): once a card is on screen the page glides to three stops —
   top, middle, bottom — holds each, then returns to the top. Starts from the top every time the card comes into view (JS toggles .is-live),
   holds still while the pointer rests on the card, right-hand cards start a beat later so two cards never move together. */
@keyframes gjc-web-mock-steps { 0%, 22% { transform: translateY(0); } 30%, 52% { transform: translateY(calc((-100% + 62.5cqw) * 0.5)); } 60%, 84% { transform: translateY(calc(-100% + 62.5cqw)); } 94%, 100% { transform: translateY(0); } }
@keyframes gjc-web-mock-steps-phone { 0%, 22% { transform: translateY(0); } 30%, 52% { transform: translateY(calc((-100% + 200cqw) * 0.5)); } 60%, 84% { transform: translateY(calc(-100% + 200cqw)); } 94%, 100% { transform: translateY(0); } }
@keyframes gjc-web-mock-steps-thumb { 0%, 22% { top: 0; } 30%, 52% { top: 39%; } 60%, 84% { top: 78%; } 94%, 100% { top: 0; } }
.buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__sb { position: absolute; top: 1.2cqw; right: 0.8cqw; bottom: 1.2cqw; display: block; width: 0.7cqw; pointer-events: none; }
.buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__sb i { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 22%; background: color-mix(in srgb, var(--ai-ink) 28%, transparent); border-radius: 999px; }
.buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__stage.is-live .buildpress-gjc-web-mockups__shot { animation: gjc-web-mock-steps 14s cubic-bezier(0.65, 0, 0.35, 1) 0.4s infinite both; }
.buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__stage.is-live .buildpress-gjc-web-mockups__pshot { animation: gjc-web-mock-steps-phone 14s cubic-bezier(0.65, 0, 0.35, 1) 0.4s infinite both; }
.buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__stage.is-live .buildpress-gjc-web-mockups__sb i { animation: gjc-web-mock-steps-thumb 14s cubic-bezier(0.65, 0, 0.35, 1) 0.4s infinite both; }
@media (min-width: 768px) {
  .buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__card:nth-child(even) .buildpress-gjc-web-mockups__stage.is-live :is(.buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups__pshot, .buildpress-gjc-web-mockups__sb i) { animation-delay: 2s; }
}
@media (hover: hover) and (pointer: fine) {
  .buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__stage:hover :is(.buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups__pshot, .buildpress-gjc-web-mockups__sb i) { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .buildpress-gjc-web-mockups.is-steps .buildpress-gjc-web-mockups__stage.is-live :is(.buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups__pshot, .buildpress-gjc-web-mockups__sb i) { animation: none; } }
/* hover (default, owner round 4: "chỉ khi hover thì mới scroll"): still pages; resting the mouse on a card glides its page from top to bottom at a
   steady speed (--mk-glide, set per card from the page length), leaving the card glides back quickly. Touch screens keep the top of the page. */
.buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__pshot, .buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__sb i { transition-property: transform, top; transition-duration: 0.7s; transition-timing-function: cubic-bezier(0.45, 0, 0.2, 1); }
.buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__sb { position: absolute; top: 1.2cqw; right: 0.8cqw; bottom: 1.2cqw; display: block; width: 0.7cqw; pointer-events: none; }
.buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__sb i { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 22%; background: color-mix(in srgb, var(--ai-ink) 28%, transparent); border-radius: 999px; }
@media (hover: hover) and (pointer: fine) {
  .buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__stage:hover :is(.buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups__pshot, .buildpress-gjc-web-mockups__sb i) { transition-duration: var(--mk-glide, 5s); transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1); }
  .buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__stage:hover .buildpress-gjc-web-mockups__shot { transform: translateY(calc(-100% + 62.5cqw)); }
  .buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__stage:hover .buildpress-gjc-web-mockups__pshot { transform: translateY(calc(-100% + 200cqw)); }
  .buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__stage:hover .buildpress-gjc-web-mockups__sb i { top: 78%; }
}
@media (prefers-reduced-motion: reduce) { .buildpress-gjc-web-mockups.is-hover .buildpress-gjc-web-mockups__stage:hover :is(.buildpress-gjc-web-mockups__shot, .buildpress-gjc-web-mockups__pshot, .buildpress-gjc-web-mockups__sb i) { transition-duration: 0s; } }

.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; padding: 0 0.25rem; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__name { color: var(--ai-ink); font-family: var(--ai-font-ui); font-size: calc(var(--ai-fs) * 1.0625); font-weight: 800; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__tag { padding: 0.25rem 0.625rem; color: var(--ai-text); background: var(--ai-soft); border-radius: 999px; font-family: var(--ai-font-ui); font-size: var(--ai-fs-xs); font-weight: 700; line-height: 1.3; }

/* last card = invitation */
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--end { align-content: stretch; }
/* an even number of samples leaves the invitation alone on its row: give it the full row, copy and button side by side */
@media (min-width: 768px) {
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--end:nth-child(odd) { grid-column: 1 / -1; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--end:nth-child(odd) .buildpress-gjc-web-mockups__end { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2rem; min-height: 0; padding: 2rem 2.5rem; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--end:nth-child(odd) .buildpress-gjc-web-mockups__end-title { max-width: none; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--end:nth-child(odd) .buildpress-gjc-web-mockups__end-copy { grid-column: 2; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__card--end:nth-child(odd) .buildpress-gjc-web-mockups__cta { grid-column: 3; grid-row: 1 / span 2; }
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__end {
  position: relative; display: grid; align-content: center; justify-items: start; gap: 1rem; min-height: 16rem; padding: 2.5rem; overflow: hidden; box-sizing: border-box;
  background: radial-gradient(28rem 18rem at 100% 0%, color-mix(in srgb, var(--ai-accent) 14%, transparent), transparent 70%),
    radial-gradient(22rem 16rem at 0% 100%, color-mix(in srgb, var(--ai-cyan) 16%, transparent), transparent 70%), var(--ai-soft);
  border: 1px dashed color-mix(in srgb, var(--ai-ink) 22%, transparent); border-radius: 20px;
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__end-mark { display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--ai-accent); background: var(--ai-paper); border-radius: 50%; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__end-mark svg { width: 1.5rem; height: 1.5rem; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__end-title { max-width: 16ch; margin: 0; color: var(--ai-ink); font-family: var(--ai-font-display); font-size: calc(var(--ai-fs-title) * 0.56); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__end-copy { max-width: 42ch; margin: 0; color: var(--ai-text); font-size: var(--ai-fs-sm); line-height: 1.6; text-wrap: pretty; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__cta {
  display: inline-flex; gap: 0.5rem; align-items: center; min-height: 3rem; padding: 0 1.25rem; color: var(--ai-paper); text-decoration: none;
  background: var(--ai-ink); border-radius: 8px; font-family: var(--ai-font-ui); font-size: var(--ai-fs-sm); font-weight: 800; transition: background-color 180ms ease;
}
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__cta svg { width: 1rem; height: 1rem; }
.buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__cta:hover, .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__cta:focus-visible { color: var(--ai-paper); background: var(--ai-accent); }

@media (max-width: 767px) {
  .buildpress-gjc-web-mockups { padding: 4.5rem 1rem; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__intro { margin-bottom: 2rem; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__end { min-height: 0; padding: 2rem 1.5rem; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__stage { aspect-ratio: 5 / 4; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__browser { top: 8cqw; left: 5cqw; width: 82cqw; }
  .buildpress-gjc-web-mockups .buildpress-gjc-web-mockups__phone { right: 4cqw; width: 27cqw; }
}
