/* =====================================================================
   Branded Webs — one system, measured from Apple's product pages
   Tokens · type · layout · chrome · components · motion · accessibility
   Apple @1440: body 17/25 · hero 80/84 · section 48/52 · sub 21/29 grey · section padding 144 ·
   content ~1250 wide · card radius 28 · pill 44 high · left-aligned headlines
   ===================================================================== */

:root {
  color-scheme: light;
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg-1: #ffffff; --bg-2: #f5f5f7;
  --ink: #1d1d1f; --ink-2: #6e6e73;
  --line: rgba(0, 0, 0, 0.12);
  --glass: rgba(255, 255, 255, 0.72); --glass-solid: #ffffff; --glass-menu: rgba(255, 255, 255, 0.94);
  --blue: #683ce4; --blue-hover: #7a52ea; --link: #683ce4;   /* the logo's purple */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 6.2vw, 5.5rem);      /* side margin */
  --wide: 78rem;                              /* content column */
  --gap: clamp(4.5rem, 10vw, 9rem);           /* space above and below a section */
  --radius: 1.75rem;                          /* cards: 28px */
}
/* A section marked .dark (or .dark-2) flips the tokens, so everything inside just works */
.dark, .dark-2, .nav { --bg-1: #000; --bg-2: #111; --ink: #f5f5f7; --ink-2: #86868b; --line: rgba(255, 255, 255, 0.16); --glass: rgba(22, 22, 23, 0.72); --glass-solid: #161617; --glass-menu: rgba(22, 22, 23, 0.94); --link: #a68cff; color: var(--ink); }
.dark { background: #000; }
.dark-2 { background: #111; }

* { box-sizing: border-box; margin: 0; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 3.5rem; -webkit-text-size-adjust: 100%; }
body { background: var(--bg-2); color: var(--ink); font: 400 1.0625rem/1.47 var(--font); letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
button, input { font-family: var(--font); -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Type: size, weight, leading and tracking move together ---------- */
.display  { font-size: clamp(2.5rem, 5.6vw, 5rem);     line-height: 1.05;  letter-spacing: -0.015em; }
.headline { font-size: clamp(2.125rem, 3.35vw, 3rem);  line-height: 1.083; letter-spacing: -0.003em; }
.sub      { margin-top: 1rem; font-size: clamp(1.1875rem, 1.46vw, 1.3125rem); font-weight: 600; line-height: 1.38; letter-spacing: 0.011em; color: var(--ink-2); }
.note     { margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.43; letter-spacing: -0.01em; color: var(--ink-2); }
.headline .dim { color: var(--ink-2); }
.eyebrow, .hl-eyebrow, .pack-for, .proj-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Sections: one rhythm, one column, headlines on the left ---------- */
.band { padding: var(--gap) var(--pad); text-align: left; }
.band > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.band-1 { background: var(--bg-1); }
.band-2 { background: var(--bg-2); }
.band-inv { background: #000; color: #f5f5f7; --ink: #f5f5f7; --ink-2: #86868b; --line: rgba(255, 255, 255, 0.16); --link: #a68cff; }
.band-inv .sub, .band-inv .note { color: #86868b; }
.reveal-gap { margin-top: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Buttons and links: press feedback is instant ---------- */
.links { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 2rem; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0 1.375rem; border-radius: 980px; border: 0; font-size: 1.0625rem; font-weight: 400; letter-spacing: -0.022em; cursor: pointer; transition: transform 0.1s ease-out, background 0.2s; }
.pill-blue { background: var(--blue); color: #fff; }
.pill-blue:hover { background: var(--blue-hover); }
.more { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--link); font-size: 1.0625rem; font-weight: 600; }
.more::after { content: "›"; margin-left: 0.3rem; transition: transform 0.25s var(--ease); }
.more:hover::after { transform: translateX(0.25rem); }
.more.inline { min-height: 0; display: inline; font-size: inherit; }
.pill:active, .round:active, .menu-btn:active, .faq summary:active, .seg button:active { transform: scale(0.97); transition-duration: 0.05s; }
.more:active, .nav nav a:active, .nav-cta:active, .menu a:active, .foot-dir a:active { opacity: 0.55; transition-duration: 0.05s; }

/* ---------- Navigation: dark frosted glass, content scrolls under; a soft edge instead of a line ---------- */
.nav { position: sticky; top: 0; z-index: 20; height: 3rem; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 1.5rem; pointer-events: none; background: linear-gradient(var(--glass), transparent); opacity: 0; transition: opacity 0.4s var(--ease); }
.nav.scrolled::after { opacity: 1; }
.nav-inner { width: 100%; max-width: calc(var(--wide) + 2 * var(--pad)); height: 100%; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav nav { display: flex; }
.nav nav a, .nav-cta { min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 0.85rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink-2); transition: color 0.2s, background 0.3s var(--ease), padding 0.3s var(--ease), transform 0.1s ease-out; }
.nav nav a:hover, .nav nav a[aria-current="true"], .nav nav a[aria-current="page"] { color: var(--ink); }
.nav-cta { color: var(--link); padding-right: 0; }
.nav-cta:active { transform: scale(0.96); }
.nav.docked .nav-cta { min-height: 1.875rem; padding: 0 0.9rem; border-radius: 980px; background: var(--blue); color: #fff; }
.nav.docked .nav-cta:hover { background: var(--blue-hover); }
.logo { display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.logo-mark { width: 1.75rem; height: 1.75rem; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--line); }
.logo-accent { color: var(--link); }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; margin-right: -0.6rem; border: 0; background: transparent; position: relative; cursor: pointer; }
.menu-btn i { position: absolute; left: 0.875rem; right: 0.875rem; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.menu-btn i:nth-child(1) { top: 1.1rem; } .menu-btn i:nth-child(2) { top: 1.55rem; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 1.35rem; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { top: 1.35rem; transform: rotate(-45deg); }
/* A thicker material, anchored to the nav it came from; the blur grows as it arrives */
.menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; padding: 0.5rem var(--pad) 1.5rem; background: var(--glass-menu); -webkit-backdrop-filter: saturate(180%) blur(0); backdrop-filter: saturate(180%) blur(0); border-radius: 0 0 1.5rem 1.5rem; box-shadow: 0 1.5rem 3.75rem rgba(0, 0, 0, 0.5); transform-origin: 50% 0; opacity: 0; visibility: hidden; transform: translateY(-0.5rem) scale(0.98); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), backdrop-filter 0.5s var(--ease), -webkit-backdrop-filter 0.5s var(--ease), visibility 0s linear 0.5s; }
.menu.open { opacity: 1; visibility: visible; transform: none; -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px); transition-delay: 0s; }
.menu a { min-height: 3.25rem; display: flex; align-items: center; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.menu a:last-child { color: var(--link); }

/* ---------- Hero: the work in the middle, headline bottom left, the action bottom right ---------- */
.hero-dark { position: relative; display: flex; flex-direction: column; min-height: max(40rem, 100svh); margin-top: -3rem; padding: 3rem 0 clamp(2rem, 4vw, 3.25rem); overflow: hidden; }
.hero-copy { position: relative; z-index: 3; width: 100%; max-width: calc(var(--wide) + 2 * var(--pad)); margin: clamp(1.5rem, 3vw, 2.5rem) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 2rem; }
.hero-copy .display { grid-column: 1; }
.hero-buy { grid-column: 2; grid-row: 1 / 3; align-self: end; display: inline-flex; align-items: center; gap: 1rem; padding: 0.4rem 0.4rem 0.4rem 1.5rem; border-radius: 980px; background: rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.hero-buy p { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; color: #d2d2d7; }
.hero-buy .pill { min-height: 2.5rem; padding: 0 1.25rem; font-size: 1rem; }
.cl-bar { display: flex; gap: 0.4rem; padding: 0.7rem 0.95rem; background: #f2f2f5; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
/* the three dots wake up on hover, like macOS (every window on the site) */
.cl-bar i { position: relative; flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #d2d2d7; transition: background 0.35s var(--ease), transform 0.3s var(--ease); transition-delay: calc(var(--k, 0) * 45ms); }
.cl-bar i:nth-child(1) { --k: 0; } .cl-bar i:nth-child(2) { --k: 1; } .cl-bar i:nth-child(3) { --k: 2; }
.cl-bar i::after { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 0.5rem; font-weight: 800; line-height: 1; color: rgba(0, 0, 0, 0.55); opacity: 0; transform: scale(0.4); transition: opacity 0.2s var(--ease), transform 0.3s var(--ease); }
.cl-bar i:nth-child(1)::after { content: "×"; } .cl-bar i:nth-child(2)::after { content: "−"; } .cl-bar i:nth-child(3)::after { content: "+"; }
@media (hover: hover) {
  .cl:hover .cl-bar i:nth-child(1), .cmp:hover .cl-bar i:nth-child(1) { background: #ff5f57; }
  .cl:hover .cl-bar i:nth-child(2), .cmp:hover .cl-bar i:nth-child(2) { background: #febc2e; }
  .cl:hover .cl-bar i:nth-child(3), .cmp:hover .cl-bar i:nth-child(3) { background: #28c840; }
  .cl-bar:hover i::after { opacity: 1; transform: none; }
  .cl-bar i:hover { transform: scale(1.35); }
  .cl-bar i:active { transform: scale(1.1); transition-duration: 0.08s; }
}

/* ---------- Get the highlights: big black cards on #111 (Apple: 1245 x 612, radius 28) ---------- */
.hl-band, .rail-band { padding-inline: 0; }
.hl-head, .rail-band > .headline { max-width: calc(var(--wide) + 2 * var(--pad)); padding-inline: var(--pad); margin-inline: auto; }
.rail { max-width: none; margin-top: clamp(1.75rem, 4vw, 3rem); overflow: hidden; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.rail.dragging { cursor: grabbing; }
.rail-track { display: flex; gap: 0.75rem; width: max-content; padding: 0 max(var(--pad), calc((100% - var(--wide)) / 2)); will-change: transform; }
.rail-ctrl { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 2rem; max-width: none; }
.round { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: var(--line); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: transform 0.1s ease-out, opacity 0.2s; }
.round:disabled { opacity: 0.3; cursor: default; }
.rail-dots { display: flex; align-items: center; gap: 0.5rem; height: 2.75rem; padding: 0 1rem; border-radius: 980px; background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.rail-dots i { width: 0.4375rem; height: 0.4375rem; border-radius: 980px; background: var(--ink-2); opacity: 0.4; transition: width 0.45s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease); }
.rail-dots i.on { width: 1.5rem; opacity: 1; background: var(--ink); }
.hl-card { --v: 1; flex: 0 0 min(var(--wide), calc(100vw - 2 * var(--pad))); height: clamp(26rem, 42.5vw, 38rem); display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 1rem; padding: 0 0 0 clamp(1.5rem, 5vw, 4.5rem); border-radius: var(--radius); background: #000; overflow: hidden; opacity: calc(0.5 + 0.5 * var(--v)); }
.hl-card h3 { margin-top: 0.5rem; font-size: clamp(1.5rem, 1.95vw, 1.75rem); line-height: 1.143; letter-spacing: 0.007em; }
.hl-copy > p:not(.hl-eyebrow) { margin-top: 0.9rem; max-width: 24rem; font-size: 1.0625rem; line-height: 1.47; letter-spacing: -0.022em; color: #a1a1a6; }
.hl-copy .more { margin-top: 0.75rem; }
.hl-shot { position: relative; align-self: end; height: 86%; margin-right: clamp(1rem, 5vw, 4.5rem); overflow: hidden; border-radius: 1rem 1rem 0 0; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
.hl-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; -webkit-user-drag: none; }

/* ---------- Video testimonials ---------- */
.vt[hidden] { display: none; }
.vt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.75rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.vt-card { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; isolation: isolate; cursor: pointer; text-align: left; color: #fff; background: #1c1c1e; transition: transform 0.1s ease-out; }
.vt-card:active { transform: scale(0.98); }
.vt-poster { position: absolute; inset: 0; z-index: -2; display: grid; place-items: start; background: linear-gradient(160deg, #2c2c2e, #161617) center 26% / cover no-repeat; transition: transform 0.9s var(--ease); }
.vt-card:hover .vt-poster { transform: scale(1.05); }
.vt-initials { margin: 1.4rem 0 0 1.5rem; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; font-weight: 600; background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vt-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: -1; background: linear-gradient(transparent, rgba(0, 0, 0, 0.62)); }
.vt-play { position: absolute; left: 50%; top: 48%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.26); border: 1px solid rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); transition: transform 0.5s var(--ease), background 0.3s; }
.vt-play svg { width: 1.75rem; height: 1.75rem; margin-left: 0.2rem; fill: #fff; }
.vt-card:hover .vt-play { transform: scale(1.1); background: rgba(255, 255, 255, 0.4); }
.vt-meta { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; display: flex; flex-direction: column; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.vt-meta strong { font-size: 1.1875rem; font-weight: 600; letter-spacing: 0.012em; }
.vt-meta em { font-style: normal; font-size: 0.875rem; font-weight: 500; letter-spacing: -0.016em; opacity: 0.88; }
.vt-dialog { width: fit-content; max-width: 92vw; max-height: 92vh; margin: auto; padding: 0; border: 0; overflow: visible; background: transparent; transform-origin: 50% 50%; }
.vt-dialog::backdrop { background: rgba(0, 0, 0, 0.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.vt-stage { --ratio: 1.7778; --h: min(84vh, 46rem); width: min(92vw, 60rem); aspect-ratio: var(--ratio); display: grid; place-items: center; overflow: hidden; border-radius: 1.25rem; background: #000; box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.5); }
.vt-stage.portrait { width: min(92vw, calc(var(--h) * var(--ratio))); }
.vt-stage video, .vt-stage iframe { width: 100%; height: 100%; border: 0; background: #000; }
.vt-stage video:focus-visible, .vt-stage iframe:focus-visible { outline: none; }
.vt-close { position: absolute; top: -3.25rem; right: 0; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; transition: transform 0.1s ease-out, background 0.2s; }
.vt-close:hover { background: rgba(255, 255, 255, 0.3); }
.vt-close:active { transform: scale(0.94); }
html:has(.vt-dialog[open]) { overflow: hidden; }

/* ---------- Statement: the words light up with scroll ---------- */
.statement-band { padding-block: calc(var(--gap) * 1.1); }
.statement { max-width: 62rem; margin: 0 auto; text-align: center; font-size: clamp(2.25rem, 4.45vw, 4rem); font-weight: 600; line-height: 1.0625; letter-spacing: -0.01em; text-wrap: balance; }
.statement .sw { opacity: 0.2; }
.statement.lit .sw { opacity: 1; }

/* ---------- Before / after: pinned; scroll moves the new design across the old one ---------- */
.compare { --p: 1; position: relative; background: var(--bg-1); }
.compare-stage { padding: var(--gap) var(--pad); display: flex; flex-direction: column; align-items: center; }
.compare-text { width: min(var(--wide), 100%); align-self: center; }
.cmp, .seg { align-self: flex-start; margin-left: max(0px, calc((100% - var(--wide)) / 2)); }
.cmp { width: min(var(--wide), 100%); margin-top: clamp(2rem, 4vw, 3rem); overflow: hidden; border-radius: 1.25rem; background: #fff; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 3rem 6rem -2rem rgba(0, 0, 0, 0.6), 0 0.75rem 2rem rgba(0, 0, 0, 0.2); }
.cmp-view { position: relative; aspect-ratio: 16 / 9; background: #000; }
.cmp-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp-before { clip-path: inset(0 0 0 calc(var(--p) * 100%)); }
.cmp-edge { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * 100%); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 1.25rem rgba(104, 60, 228, 0.7); }
.seg { display: inline-flex; margin-top: 1.5rem; padding: 0.25rem; border-radius: 980px; background: var(--line); }
.seg button { min-height: 2.5rem; padding: 0 1.25rem; border: 0; border-radius: 980px; background: transparent; color: var(--ink-2); font-size: 0.875rem; font-weight: 600; letter-spacing: -0.016em; cursor: pointer; transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.1s ease-out; }
.seg button[aria-pressed="true"] { background: #fff; color: #000; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14); }
.js .compare { height: 240svh; }
.js .compare-stage { position: sticky; top: 3rem; height: calc(100svh - 3rem); padding-block: clamp(1.5rem, 5vh, 3.5rem); justify-content: center; overflow: hidden; }
.js .cmp { width: min(var(--wide), 100%, calc((100svh - 18rem) * 1.78)); transform: scale(calc(0.94 + 0.06 * var(--p))); }

/* ---------- Numbers: one big dark panel, black tiles (Apple's "Worth the upgrade?") ---------- */
.panel { padding: clamp(1.75rem, 6vw, 4.5rem) clamp(1rem, 4.5vw, 4.5rem) clamp(1rem, 4.5vw, 4.5rem); border-radius: var(--radius); background: #111; color: #f5f5f7; --ink: #f5f5f7; --ink-2: #86868b; --link: #a68cff; }
.panel .headline { max-width: 14ch; font-size: clamp(2.25rem, 3.9vw, 3.5rem); line-height: 1.07; }
.panel .sub { margin-top: clamp(1.5rem, 4vw, 3rem); }
.panel .sub b { font-weight: 600; color: #fff; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; min-height: 18.75rem; padding: 1rem; border-radius: var(--radius); background: #000; overflow: hidden; }
.tile p { font-size: 1.1875rem; font-weight: 600; line-height: 1.21; letter-spacing: 0.012em; color: rgba(255, 255, 255, 0.56); }
.tile strong { font-size: clamp(2.25rem, 3.35vw, 3rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.003em; color: #a68cff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) { .tile strong { background: linear-gradient(100deg, #a68cff, #e8a6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; } }
.tile .more { font-size: inherit; }
.tile-shot { justify-content: flex-start; padding: 1.5rem 0 0; }
.tile-img { position: relative; flex: 1; width: calc(100% - 2rem); margin-top: 1rem; min-height: 11rem; overflow: hidden; border-radius: 1.25rem 1.25rem 0 0; background: #111; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.9s var(--ease); }
@media (hover: hover) { .tile-shot:hover .tile-img img { transform: scale(1.04); } }

/* ---------- Reviews ---------- */
.quote { --v: 1; flex: 0 0 min(80vw, 26rem); min-height: 20rem; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius); background: var(--bg-1); display: flex; flex-direction: column; justify-content: space-between; opacity: calc(0.5 + 0.5 * var(--v)); transform: scale(calc(0.955 + 0.045 * var(--v))); }
.quote::before { content: "“"; display: block; height: 2.25rem; font-size: 4rem; font-weight: 700; line-height: 1; color: var(--blue); }
.quote blockquote { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; line-height: 1.143; letter-spacing: 0.007em; }
.quote figcaption { display: flex; flex-direction: column; margin-top: 2rem; font-size: 0.875rem; letter-spacing: -0.016em; color: var(--ink-2); }
.quote figcaption strong { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }

/* ---------- Process: left-aligned, a line that fills as you scroll ---------- */
.steps { --prog: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2.5rem; }
.steps-line { position: absolute; left: 0.375rem; right: calc((100% - 6rem) / 4); top: 0.5rem; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps-line i { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--prog)); }
.step { position: relative; }
.step > * { opacity: 0.4; transform: translateY(0.5rem); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.step.on > * { opacity: 1; transform: none; }
.step::before { content: ""; position: absolute; left: 0; top: calc(-2.5rem + 0.125rem + 1px); width: 0.75rem; height: 0.75rem; border-radius: 50%; background: var(--line); transition: background 0.4s var(--ease), transform 0.4s var(--ease); }
.step.on::before { background: var(--blue); transform: scale(1.25); }
.step h3 { font-size: 1.3125rem; line-height: 1.19; letter-spacing: 0.011em; }
.step p { margin-top: 0.6rem; font-size: 1.0625rem; line-height: 1.4; color: var(--ink-2); }
.steps + .links { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.pack { --pack-bg: #fff; --pack-ink: var(--ink); --pack-ink-2: var(--ink-2); --pack-line: var(--line); position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 36rem; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); background: var(--pack-bg); color: var(--pack-ink); }
.band-1 .pack { --pack-bg: var(--bg-2); }
.pack-dark { --pack-bg: #000 !important; --pack-ink: #f5f5f7; --pack-ink-2: #86868b; --pack-line: rgba(255, 255, 255, 0.16); }
.pack-dark::before { content: ""; position: absolute; z-index: -1; top: -35%; right: -25%; width: 100%; aspect-ratio: 1; pointer-events: none; background: radial-gradient(closest-side, rgba(120, 80, 240, 0.55), rgba(150, 110, 255, 0.16) 55%, transparent); }
.pack-for { color: var(--pack-ink-2); }
.pack-name { margin-top: 0.5rem; font-size: clamp(2.25rem, 3.35vw, 3rem); font-weight: 600; line-height: 1.083; letter-spacing: -0.003em; }
.pack-line { margin-top: 0.9rem; max-width: 22rem; font-size: 1.3125rem; font-weight: 600; line-height: 1.38; letter-spacing: 0.011em; color: var(--pack-ink-2); }
.pack-price { margin-top: 2rem; color: var(--pack-ink-2); }
.pack-price span { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.016em; }
.pack-price strong { font-size: clamp(1.625rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.125; letter-spacing: 0.004em; color: var(--pack-ink); font-variant-numeric: tabular-nums; }
.pack .links { margin-top: 1.25rem; }
.pack-list { list-style: none; padding: 2.5rem 0 0; margin-top: auto; }
.pack-list li { padding: 0.8rem 0; border-top: 1px solid var(--pack-line); color: var(--pack-ink); font-size: 1.0625rem; }

/* ---------- FAQ: headline on the left, answers on the right ---------- */
#faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(2rem, 6vw, 5rem); max-width: calc(var(--wide) + 2 * var(--pad)); margin-inline: auto; align-items: start; }
#faq > * { max-width: none; margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; min-height: 3.5rem; padding: 0.6rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1.3125rem; font-weight: 600; letter-spacing: 0.011em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.75rem; font-weight: 300; color: var(--ink-2); transition: transform 0.4s var(--ease); }
.faq details.opening summary::after, .faq details[open]:not(.closing) summary::after { transform: rotate(45deg); }
.faq details p { overflow: hidden; padding-bottom: 1.1rem; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.4; }

/* ---------- Closing call to action and the form ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta::before { content: ""; position: absolute; z-index: -1; top: -30%; left: 50%; width: min(70rem, 140%); aspect-ratio: 2 / 1; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(104, 60, 228, 0.42), rgba(150, 110, 255, 0.12) 55%, transparent); }
.cta .links { justify-content: center; }
.or { display: flex; align-items: center; gap: 1rem; max-width: 32rem !important; margin-top: 3.5rem; color: #86868b; font-size: 0.875rem; letter-spacing: -0.016em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.16); }
form { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; max-width: 32.5rem !important; margin-top: 1.75rem; }
input[type="url"], input[type="email"] { flex: 1 1 16rem; min-height: 3rem; padding: 0 1.1rem; border-radius: 0.75rem; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); color: #f5f5f7; font: inherit; letter-spacing: 0; transition: border-color 0.2s, box-shadow 0.2s; }
input::placeholder { color: #86868b; }
input:focus { outline: none; border-color: #a68cff; box-shadow: 0 0 0 4px rgba(166, 140, 255, 0.32); }
input[aria-invalid="true"] { border-color: #ff453a; }
form .pill { flex: 1 1 100%; min-height: 3.125rem; }
.form-msg { flex-basis: 100%; min-height: 1.4rem; font-size: 0.875rem; letter-spacing: -0.016em; color: #86868b; }
.form-msg.ok { color: #32d74b; } .form-msg.err { color: #ff453a; }
.cta .note { margin-inline: auto; max-width: 36rem; }

/* ---------- Footer: Apple's directory ---------- */
.footer { background: var(--bg-2); color: var(--ink-2); padding: 3rem var(--pad) 3rem; font-size: 0.75rem; line-height: 1.33; letter-spacing: -0.01em; }
.footer-inner { max-width: var(--wide); margin: 0 auto; }
.foot-dir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-bottom: 1.75rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.foot-dir .foot-h { margin-bottom: 0.6rem; font-size: 0.75rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.foot-dir a { display: block; padding: 0.3rem 0; min-height: 1.75rem; color: var(--ink-2); transition: color 0.2s; }
.foot-dir a:hover { color: var(--ink); }

/* ---------- Our clients ---------- */
.page-head .headline { font-size: clamp(2.25rem, 4.45vw, 4rem); line-height: 1.0625; letter-spacing: -0.009em; }
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.client { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.client-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.client-shot img { position: absolute; top: 0; left: 0; width: 100%; height: auto; will-change: transform; }
.client-body { display: flex; flex-direction: column; flex: 1; gap: 0.5rem; padding: 1.5rem 1.5rem 1.25rem; }
.client-body h3 { font-size: clamp(1.375rem, 1.95vw, 1.75rem); line-height: 1.143; letter-spacing: 0.007em; }
.client-body p:not(.proj-eyebrow) { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.4; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin-top: 0.5rem; }
.chips li { padding: 0.25rem 0.7rem; border-radius: 980px; background: var(--line); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; }
.client-body .more { margin-top: auto; padding-top: 0.5rem; }

/* ---------- Motion primitives (transform + opacity only). Only when JS runs. ---------- */
.js .reveal { opacity: 0; transform: translateY(2rem) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .fade { opacity: 0; transform: translateY(0.875rem); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js.ready .fade { opacity: 1; transform: none; }
.js .display .w { display: inline-block; opacity: 0; transform: translateY(0.45em); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js.ready .display .w { opacity: 1; transform: none; }
.display .accent { color: #a68cff; }
@supports (corner-shape: squircle) { .pack, .quote, .client, .tile, .panel, .hl-card, .vt-card, .menu { corner-shape: squircle; } .pack, .quote, .client, .tile, .hl-card, .vt-card { border-radius: 3rem; } .panel { border-radius: 3.5rem; } }

/* ---------- Tablet and phone ---------- */
@media (max-width: 56.25em) {
  :root { --gap: clamp(4rem, 14vw, 5.5rem); }
  .nav nav { display: none; }
  .menu-btn { display: block; }
  .menu { display: flex; }
  .nav-cta { margin-left: auto; }
  .packages { grid-template-columns: 1fr; }
  .pack { min-height: 0; }
  .pack-list { margin-top: 2rem; padding-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 2rem; padding-top: 0; }
  .steps-line, .step::before { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  #faq { display: block; }
  #faq > .faq { margin-top: 2rem; }
  .hero-copy { grid-template-columns: 1fr; }
  .hero-buy { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 1.5rem; }
}
@media (max-width: 40em) {
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 14rem; }
  .tile-shot { min-height: 22rem; }
  .clients { grid-template-columns: 1fr; }
  .foot-dir { grid-template-columns: 1fr 1fr; }
  .foot-dir a { padding: 0.6rem 0; min-height: 2.75rem; }
  .hero-buy { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0.75rem; padding: 1rem; border-radius: 1.5rem; text-align: center; }
  .hl-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: 34rem; padding: 1.5rem 1.5rem 0; gap: 1.25rem; }
  .hl-shot { margin-right: 0; height: 100%; }
}

/* ---------- Accessibility: three independent signals ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .compare { height: auto; }
  .js .compare-stage { position: static; height: auto; }
  .js .cmp { transform: none; }
  .cmp-before { transition: clip-path 0.25s ease; }
  .js .reveal, .js .fade, .js .display .w { transform: none; transition: opacity 0.25s ease; transition-delay: 0ms; }
  .step > * { transform: none; }
    .menu { transform: none; transition: opacity 0.2s; -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px); }
  .menu-btn i, .faq summary::after, .rail-dots i { transition: none; }
  .pill:active, .round:active { transform: none; }
  .vt-card:hover .vt-poster, .vt-card:hover .vt-play, .tile-shot:hover .tile-img img { transform: none; }
  .statement .sw { opacity: 1; }
  .quote, .hl-card { opacity: 1; transform: none; }
  .cl-bar i, .cl-bar i::after { transition: background 0.2s; }
  .cl-bar i:hover, .cl-bar i:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .menu, .rail-dots { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav::after { display: none; }
  .vt-play, .vt-initials, .hero-buy { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .vt-play { background: rgba(0, 0, 0, 0.6); }
  .hero-buy { background: #1c1c1e; }
}
@media (prefers-contrast: more) {
  :root, .dark, .dark-2, .nav, .panel { --ink-2: var(--ink); }
  .nav, .menu { background: var(--glass-solid); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--ink); }
  .nav::after { display: none; }
  .pack, .quote, .client, .tile, .hl-card { outline: 1px solid var(--ink); outline-offset: -1px; }
  .vt-play { background: rgba(0, 0, 0, 0.75); border-color: #fff; }
  input { border-color: currentColor; }
}

/* Hero, like the reference: one huge picture fading into black, four words bottom left, a short pill bottom right */
.hero-dark .hero-copy { margin-top: auto; }
.hero-buy { gap: 1.25rem; padding: 0.375rem 0.375rem 0.375rem 1.5rem; background: rgba(255, 255, 255, 0.1); }
.hero-buy p { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.016em; color: #f5f5f7; }
.hero-buy .pill { min-height: 2.75rem; padding: 0 1.375rem; font-size: 1.0625rem; }
/* Hero headline: one line, sized so it takes up about the room Apple's does (theirs: 534px wide at 1920) */
.hero-dark .display { font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }

.statement-band .sub { max-width: 40rem; margin: 1.5rem auto 0; text-align: center; }

/* Hero label: the logo and name, small (Apple's is a quiet line above the headline) */
.hero-eyebrow { grid-column: 1; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); }
.hero-eyebrow img { width: 1.25rem; height: 1.25rem; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.hero-eyebrow b { font-weight: 600; color: #a68cff; }

/* Hero: a full-screen banner, edge to edge, like Apple's product pages: a real client site scrolling by, with a plain black scrim so the words stay readable */
.hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; max-width: none; height: 100%; margin: 0; object-fit: cover; pointer-events: none; }
.hero-dark::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.94) 86%, #000 100%); }

@media (max-width: 40em) { .hero-buy { width: auto; justify-self: start; flex-direction: row; justify-content: space-between; align-items: center; padding: 0.375rem 0.375rem 0.375rem 1.25rem; border-radius: 980px; } .hero-buy .pill { min-height: 2.5rem; } }


/* The still frame of the right recording paints at once (before any video loads); the video fades in over it */
.hero-dark { background: #000 url("videos/hero-site.webp") center / cover no-repeat; }
@media (orientation: portrait) and (min-width: 641px) { .hero-dark { background-image: url("videos/hero-site-tablet.webp"); } }
@media (orientation: portrait) and (max-width: 640px) { .hero-dark { background-image: url("videos/hero-site-mobile.webp"); } }
.hero-bg { opacity: 0; transition: opacity 0.8s var(--ease); }
.hero-bg.on { opacity: 1; }

/* ---------- Contact: one dark panel, the offer on the left, the form on the right ---------- */
.contact-panel { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(1.75rem, 6vw, 4.5rem); }
.contact-panel .headline { max-width: 12ch; }
.contact-panel .sub { margin-top: 1rem; }
.contact-main .links { margin-top: 2rem; }
.contact-facts { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; gap: 0.85rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.022em; color: #f5f5f7; }
.contact-facts li { display: flex; align-items: center; gap: 0.75rem; }
.contact-facts li::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #a68cff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.contact-form { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.25rem; background: #000; }
.contact-form h3 { font-size: 1.3125rem; line-height: 1.19; letter-spacing: 0.011em; }
.contact-form form { max-width: none !important; margin: 1.25rem 0 0; justify-content: stretch; }
.contact-form input { flex: 1 1 100%; background: #111; border-color: rgba(255, 255, 255, 0.14); }
.contact-form .note { max-width: none; margin: 1rem 0 0; text-align: left; }
@media (max-width: 56.25em) { .contact-panel { grid-template-columns: 1fr; } .contact-panel .headline { max-width: none; } }
