/* ==========================================================================
   Sterling Delta Marketing: homepage
   Web-design-first, dark luxury: near-black, gold light, glass and real footage.
   Geist for type, Geist Mono for labels and code, Instrument Serif italic for
   accent words. Motion lives in js/main.js (GSAP + ScrollTrigger + SplitText +
   Lenis); the page is complete and readable without it.
   ========================================================================== */

@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg: #060606;
  --bg-2: #0D0C0B;
  --text: #F3EFE7;
  --muted: rgba(243, 239, 231, .64);
  --dim: rgba(243, 239, 231, .42);
  --line: rgba(243, 239, 231, .1);
  --line-2: rgba(243, 239, 231, .18);

  --gold: #D6AE5C;
  --gold-hi: #F4E0AE;
  --gold-lo: #A97A24;
  --gold-grad: linear-gradient(120deg, #F4E0AE 0%, #D6AE5C 42%, #B98A34 70%, #F1D9A0 100%);
  --gold-rgb: 214, 174, 92;

  --f: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: var(--f);                    /* small labels use the main font */
  --code: "Geist Mono", ui-monospace, Menlo, monospace;   /* only for code and address bars */
  --serif: "Instrument Serif", Georgia, serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: clamp(22px, 2.4vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  /* Heading scale: one size per level, used everywhere (laptop → phone) */
  --fs-h1: clamp(40px, 4.5vw, 68px);     /* hero only:            ~64px → 40px */
  --fs-h2: clamp(32px, 3.35vw, 52px);    /* every section title:  ~48px → 32px */
  --fs-h3: clamp(26px, 2.5vw, 38px);     /* service cards:        ~36px → 26px */
  --fs-h4: clamp(20px, 1.55vw, 24px);    /* small titles, FAQ:    ~22px → 20px */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Film grain over everything: the quiet difference between flat and premium */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 400;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
/* Even line lengths in headings, no lonely last words in paragraphs */
h1, h2, h3, .say__text, .cta__title { text-wrap: balance; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--gold); color: #0b0b0b; }

.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: fixed; z-index: 500; left: 16px; top: -80px; padding: 12px 18px; border-radius: 12px; background: var(--gold); color: #0b0b0b; font-weight: 500; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px;
  font: 500 12.5px/1 var(--mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.kicker::before { content: ""; width: 8px; height: 9px; background: var(--gold-grad); clip-path: polygon(0 0, 100% 50%, 0 100%); }

.h2 {
  max-width: 20ch;
  font: 500 var(--fs-h2)/1.06 var(--f);
  letter-spacing: -.035em;
}
/* The second half of a headline steps back in soft grey: same font, no italics */
.h2 em, .hero__title em, .cta__title em, .ftr__brand em {
  font-style: normal;
  color: rgba(243, 239, 231, .4);
}
/* SplitText line masks: room for descenders */
.ln-mask { padding: 0 .06em .12em 0; margin: 0 -.06em -.12em 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 8px 0 26px;
  border-radius: 999px;
  font: 500 15.5px/1 var(--f); letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .35s, border-color .35s, color .35s, box-shadow .5s var(--ease);
}
.btn__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: transform .6s var(--ease); }
.btn__ico .icon { width: 17px; height: 17px; }
.btn:hover .btn__ico { transform: rotate(-45deg); }

.btn--gold { background: var(--gold-grad); color: #161108; box-shadow: 0 14px 40px -16px rgba(var(--gold-rgb), .75); }
.btn--gold:hover { box-shadow: 0 18px 50px -12px rgba(var(--gold-rgb), .9); }
.btn--gold .btn__ico { background: #0E0D0B; color: var(--gold); }
.btn--gold::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost {
  padding: 0 26px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(243, 239, 231, .32); }
.btn--sm { height: 46px; padding-left: 20px; gap: 12px; font-size: 14.5px; }
.btn--sm .btn__ico { width: 32px; height: 32px; }
.btn--wide { width: 100%; justify-content: space-between; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding-bottom: 4px; border-bottom: 1px solid var(--line-2); font-weight: 500; transition: color .3s, border-color .3s; }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   Preloader (JS lifts it; CSS removes it anyway after 5s)
   ========================================================================== */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 450;
  display: grid; place-items: center;
  background: var(--bg);
  transition: transform 1.1s var(--ease-io);
  animation: loader-failsafe 0s linear 5s forwards;
}
.loader__inner { display: grid; justify-items: center; gap: 22px; transition: opacity .5s, transform .8s var(--ease); }
.loader__inner img { width: 96px; height: 96px; animation: loader-logo 1.2s var(--ease) both; }
.is-loaded .loader { transform: translateY(-100%); pointer-events: none; }
.is-loaded .loader__inner { opacity: 0; transform: translateY(-40px); }
@keyframes loader-logo { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr { position: fixed; z-index: 100; top: 16px; left: 0; right: 0; pointer-events: none; transition: translate .7s var(--ease); }
/* No bar: logo, links and button float on the page, aligned with the content */
.hdr__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 10px;
  width: min(100% - 2 * var(--gutter), var(--wrap));
  height: 66px;
  margin-inline: auto;
}
/* Once you scroll, a soft edgeless fade from the top keeps the links readable over photos */
.hdr::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -16px; height: 140px;
  background: linear-gradient(180deg, rgba(6, 6, 6, .8) 0%, rgba(6, 6, 6, .45) 50%, rgba(6, 6, 6, 0) 100%);
  opacity: 0; pointer-events: none;
  transition: opacity .5s;
}
.hdr.is-scrolled::before { opacity: 1; }
.menu-open .hdr::before { opacity: 0; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__logo { width: 42px; height: 42px; border-radius: 50%; }
.brand__word { display: grid; line-height: 1; }
.brand__word b { font: 600 16.5px/1 var(--f); letter-spacing: -.02em; }
.brand__word small { margin-top: 5px; font: 500 9.5px var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--dim); }
.nav { display: flex; gap: 2px; }
.nav a { position: relative; padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .3s, background-color .3s; }
/* Scroll-spy: the section you are reading is marked with a small gold dot */
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); opacity: 0; transform: scale(0); transition: opacity .4s, transform .5s var(--ease); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { opacity: 1; transform: none; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.hdr__cta { margin-left: 12px; }

.burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--text); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #0b0b0b; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) 44px;
  background: radial-gradient(70% 50% at 80% 10%, rgba(var(--gold-rgb), .16), transparent 70%), var(--bg);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease-io); }
.menu-open { overflow: hidden; }
.menu__nav { display: grid; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font: 500 clamp(32px, 8.5vw, 48px)/1.1 var(--f); letter-spacing: -.045em;
  opacity: 0; translate: 0 30px;
  transition: opacity .5s, translate .8s var(--ease);
}
.menu__nav a span { font: 500 12px var(--mono); letter-spacing: .12em; color: var(--dim); }
.menu-open .menu__nav a { opacity: 1; translate: 0 0; }
.menu-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu__mail { margin-top: 34px; color: var(--muted); }

/* ==========================================================================
   Hero: a website is built live: wireframe → design → code → live
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 clamp(80px, 9vw, 130px); text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 38% at 50% 70%, rgba(var(--gold-rgb), .2), transparent 70%),
    radial-gradient(28% 30% at 86% 14%, rgba(139, 107, 255, .13), transparent 70%),
    radial-gradient(26% 30% at 10% 26%, rgba(var(--gold-rgb), .08), transparent 70%);
}
/* A design-canvas dot grid */
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(243, 239, 231, .16) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(64% 54% at 50% 40%, #000 15%, transparent 78%); mask-image: radial-gradient(64% 54% at 50% 40%, #000 15%, transparent 78%);
}
.hero__copy { display: grid; justify-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 13px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.eyebrow__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(1.8); } }

.hero__title { max-width: 26ch; margin: 22px 0 20px; font: 500 var(--fs-h1)/1 var(--f); letter-spacing: -.04em; }
.hero__title em { display: inline-block; }
.hero__lead { max-width: 40ch; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- The build stage ---------- */
.build {
  --t-bg: #F4EDE4; --t-acc: #C2562D; --t-ink: #2B1D14;
  position: relative;
  width: min(100% - 2 * var(--gutter), 1180px);
  margin: clamp(40px, 4vw, 60px) auto 0;
  perspective: 1800px;
}
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.steps__item {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-2); border-radius: 999px;
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--dim);
  transition: color .4s, border-color .4s, background-color .4s;
}
.steps__item span { color: var(--dim); }
.steps__item i { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; }
.steps__item.is-on { color: var(--text); border-color: rgba(var(--gold-rgb), .55); background: rgba(var(--gold-rgb), .09); }
.steps__item.is-on span { opacity: 1; }
.steps__item.is-on i { animation: step-fill var(--dur, 2s) linear forwards; }
.steps__item.is-done { color: var(--muted); }
.steps__item.is-done i { transform: scaleX(1); opacity: .5; }
@keyframes step-fill { to { transform: scaleX(1); } }

.bw-stage { position: relative; transform-style: preserve-3d; transform-origin: 50% 0; }
.bw {
  position: relative; overflow: hidden;
  border: 1px solid rgba(243, 239, 231, .1); border-radius: 18px;
  background: #141312;
  box-shadow: 0 90px 160px -60px rgba(0, 0, 0, .95), 0 0 160px -50px rgba(var(--gold-rgb), .5);
  text-align: left;
}
.bw__bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; background: #1B1A18; border-bottom: 1px solid var(--line); }
.bw__dots { display: flex; gap: 7px; }
.bw__dots i { width: 11px; height: 11px; border-radius: 50%; background: #E0645A; opacity: .8; }
.bw__dots i:nth-child(2) { background: #E5B54A; }
.bw__dots i:nth-child(3) { background: #5CBF6B; }
.bw__url {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex: 1; max-width: 420px; height: 28px; margin: 0 auto;
  border-radius: 8px; background: rgba(0, 0, 0, .35);
  font: 400 12.5px var(--code); color: var(--muted);
}
.bw__url .icon { width: 12px; height: 12px; color: var(--dim); transition: color .4s; }
.bw__live { display: none; padding: 3px 7px; border-radius: 6px; background: rgba(107, 209, 138, .15); font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8BE3A8; }
.build.is-live .bw__url .icon { color: #6BD18A; }
.build.is-live .bw__live { display: inline-block; }
.bw__devices { display: flex; gap: 10px; color: var(--dim); }
.bw__devices .icon { width: 16px; height: 16px; transition: color .4s; }
.bw__devices .is-on { color: var(--gold); }

.bw__view { position: relative; display: flex; justify-content: center; height: clamp(380px, 46vw, 600px); overflow: hidden; background: #0D0D0E; }

/* ---------- The mini website (it reflows with container queries) ---------- */
.ms {
  --bg: #F4EDE4; --ink: #2B1D14; --soft: #6E5A4C; --acc: #C2562D; --card: #FFFFFF; --line-ms: rgba(43, 29, 20, .12);
  --hf: var(--serif); --hs: normal; --hw: 400; --rad: 1.2cqi;
  container-type: inline-size;
  position: relative; flex: none;
  width: 100%; height: 100%;
  padding: 0 4cqi;
  overflow: hidden;
  background: var(--bg); color: var(--ink);
  font: 400 1.25cqi/1.5 var(--f);
  transition: width 1s var(--ease-io), height 1s var(--ease-io), margin 1s var(--ease-io), border-radius 1s var(--ease-io), box-shadow 1s, background-color .8s var(--ease), color .8s;
}
.ms[data-theme="1"] { --bg: #0E1B2C; --ink: #EEF3F9; --soft: #A9B6C6; --acc: #7FB2FF; --card: #15263B; --line-ms: rgba(238, 243, 249, .12); --hf: var(--f); --hw: 600; --rad: .7cqi; }
.ms[data-theme="2"] { --bg: #F7E9EA; --ink: #221416; --soft: #7B5E62; --acc: #B4325A; --card: #FFFFFF; --line-ms: rgba(34, 20, 22, .12); --hf: var(--f); --hw: 400; --rad: 99px; }

.ms > * { position: relative; transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .22s); }
.ms__nav { display: flex; align-items: center; gap: 3cqi; height: 7.4cqi; border-bottom: 1px solid var(--line-ms); }
.ms__logo { margin-right: auto; font: var(--hs) var(--hw) 2cqi/1 var(--hf); letter-spacing: -.02em; }
.ms__links { display: flex; gap: 2.6cqi; font-size: 1.15cqi; color: var(--soft); }
.ms__links i { font-style: normal; }
.ms__cta, .ms__btn { display: inline-flex; align-items: center; padding: .9cqi 1.8cqi; border-radius: var(--rad); background: var(--acc); color: var(--bg); font-size: 1.1cqi; font-weight: 600; }
.ms__burger { display: none; gap: 4px; flex-direction: column; }
.ms__burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.ms__hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 4cqi; padding: 4.4cqi 0 3.6cqi; }
.ms__copy { display: grid; justify-items: start; gap: 1.6cqi; }
.ms__kicker { font: 500 1cqi var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.ms__h { font: var(--hs) var(--hw) 4.7cqi/1 var(--hf); letter-spacing: -.035em; }
.ms__p { max-width: 36ch; font-size: 1.3cqi; color: var(--soft); }
.ms__btns { display: flex; gap: 1cqi; margin-top: .6cqi; }
.ms__btn { padding: 1.1cqi 2.2cqi; font-size: 1.15cqi; }
.ms__btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-ms); }
.ms__img { position: relative; height: 26cqi; overflow: hidden; border-radius: calc(var(--rad) * 1.4); background: var(--card); }
.ms[data-theme="2"] .ms__img { border-radius: 14cqi 14cqi 1.2cqi 1.2cqi; }
.ms__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease) .35s, transform 1.4s var(--ease) .35s; }
.ms__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqi; }
.ms__card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .3cqi 1.4cqi; padding: 1.6cqi; border-radius: calc(var(--rad) * .8); background: var(--card); box-shadow: inset 0 0 0 1px var(--line-ms); }
.ms[data-theme="2"] .ms__card { border-radius: 1.6cqi; }
.ms__ic { grid-row: span 2; width: 3.2cqi; height: 3.2cqi; border-radius: 50%; background: var(--acc); opacity: .9; }
.ms__card b { font-size: 1.3cqi; font-weight: 600; }
.ms__card i { font-size: 1.05cqi; font-style: normal; color: var(--soft); }
.ms [data-w] { transition: color .6s var(--ease), background-color .6s var(--ease); }

/* Phone layout, when the window is narrow */
@container (max-width: 560px) {
  .ms__nav { height: 15cqi; }
  .ms__logo { font-size: 5.4cqi; }
  .ms__links, .ms__cta { display: none; }
  .ms__burger { display: flex; }
  .ms__hero { grid-template-columns: 1fr; gap: 6cqi; padding: 8cqi 0 6cqi; }
  .ms__copy { gap: 3.6cqi; }
  .ms__kicker { font-size: 2.8cqi; }
  .ms__h { font-size: 10.6cqi; }
  .ms__p { font-size: 3.7cqi; }
  .ms__btns { gap: 2.4cqi; }
  .ms__btn { padding: 3cqi 5cqi; font-size: 3.4cqi; border-radius: max(var(--rad), 2cqi); }
  .ms__img { height: 52cqi; border-radius: 4cqi; }
  .ms[data-theme="2"] .ms__img { border-radius: 30cqi 30cqi 4cqi 4cqi; }
  .ms__cards { grid-template-columns: 1fr; gap: 3cqi; }
  .ms__card { padding: 4cqi; gap: 1cqi 4cqi; border-radius: 3cqi; }
  .ms__ic { width: 9cqi; height: 9cqi; }
  .ms__card b { font-size: 3.8cqi; }
  .ms__card i { font-size: 3.2cqi; }
}

/* Wireframe stage: grey boxes, dashed outlines, labels */
.build.is-wire .ms { --bg: #121213; --card: transparent; --line-ms: rgba(243, 239, 231, .12); background: #121213; color: transparent; }
.build.is-wire .ms [data-w] { color: transparent !important; background: rgba(243, 239, 231, .1); border-radius: 4px; box-shadow: none; }
.build.is-wire .ms__nav, .build.is-wire .ms__hero, .build.is-wire .ms__cards { outline: 1px dashed rgba(var(--gold-rgb), .4); outline-offset: .6cqi; }
.build.is-wire .ms__nav { border-color: transparent; }
.build.is-wire [data-label]::before {
  content: attr(data-label);
  position: absolute; z-index: 2; left: .5cqi; top: .5cqi;
  padding: .2cqi .7cqi; border-radius: 3px;
  background: rgba(var(--gold-rgb), .9); color: #141009;
  font: 600 .85cqi var(--mono); letter-spacing: .1em;
}
.build.is-wire .ms__img { background: rgba(243, 239, 231, .05) linear-gradient(to top right, transparent calc(50% - .5px), rgba(243, 239, 231, .16) 50%, transparent calc(50% + .5px)), linear-gradient(to bottom right, transparent calc(50% - .5px), rgba(243, 239, 231, .16) 50%, transparent calc(50% + .5px)); outline: 1px dashed rgba(243, 239, 231, .2); }
.build.is-wire .ms__img::before { top: .8cqi; left: .8cqi; }
.build.is-wire .ms__img img { opacity: 0; transform: scale(1.12); transition-delay: 0s; }
.build.is-wire .ms__btn, .build.is-wire .ms__cta, .build.is-wire .ms__ic { background: rgba(243, 239, 231, .14); box-shadow: none; }
.build.is-wire .ms__card { box-shadow: inset 0 0 0 1px rgba(243, 239, 231, .14); }
.build.is-wire .ms__burger i { background: rgba(243, 239, 231, .3); }
.build.is-pre .ms > * { opacity: 0; transform: translateY(1.4cqi); transition-delay: 0s; }

/* Phone check at launch */
.build.is-phone .ms { width: min(370px, 74%); height: calc(100% - 36px); margin-top: 18px; border-radius: 30px; box-shadow: 0 0 0 9px #222120, 0 0 0 10px rgba(243, 239, 231, .12), 0 40px 80px -20px rgba(0, 0, 0, .8); }

/* Code layer */
.code {
  position: absolute; z-index: 3; top: 0; right: 0; bottom: 0;
  width: min(46%, 520px);
  display: flex; flex-direction: column;
  background: rgba(14, 14, 16, .95);
  border-left: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: -40px 0 80px -20px rgba(0, 0, 0, .6);
  transform: translateX(104%);
  transition: transform .85s var(--ease-io);
}
.build.is-code .code { transform: none; }
.code__tab { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 12px 0 0 12px; padding: 7px 12px; border-radius: 8px 8px 0 0; background: rgba(255, 255, 255, .05); font: 500 12px var(--code); color: var(--muted); }
.code__tab .icon { width: 14px; height: 14px; color: var(--gold); }
.code__body { flex: 1; margin: 0; padding: 18px 20px; overflow: hidden; border-top: 1px solid var(--line); font: 400 clamp(11px, 1.05vw, 13.5px)/1.75 var(--code); color: rgba(243, 239, 231, .82); white-space: pre-wrap; }
.code__body .t { color: var(--gold); }
.code__body .a { color: #B9A2FF; }
.code__body .s { color: #9FD8A9; }
.code__body .p { color: #8DBBFF; }
.code__body .k { color: #F29B8A; }
.code__body .caret { display: inline-block; width: 7px; height: 1.1em; vertical-align: -.2em; background: var(--gold); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Developer-tools style highlight */
.inspect { position: absolute; z-index: 2; left: 0; top: 0; width: 0; height: 0; border: 1.5px solid #8B6BFF; border-radius: 4px; background: rgba(139, 107, 255, .1); opacity: 0; pointer-events: none; transition: transform .55s var(--ease), width .55s var(--ease), height .55s var(--ease), opacity .3s; }
.inspect b { position: absolute; left: -1.5px; bottom: 100%; margin-bottom: 4px; padding: 2px 7px; border-radius: 4px; background: #8B6BFF; color: #fff; font: 500 10.5px var(--code); white-space: nowrap; }
.inspect.is-on { opacity: 1; }

/* Launch toast */
.toast { position: absolute; z-index: 4; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px 10px 11px; border: 1px solid rgba(107, 209, 138, .35); border-radius: 12px; background: rgba(16, 18, 16, .92); font: 500 13px var(--f); color: #C8F2D4; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(-140%); transition: transform .7s var(--ease), opacity .4s; }
.toast .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #3FAE68; color: #fff; stroke-width: 2.6; }
.build.is-toast .toast { opacity: 1; transform: none; }

/* Collaborators' cursors */
.mate { position: absolute; z-index: 6; left: 0; top: 0; display: flex; align-items: flex-start; pointer-events: none; opacity: 0; transition: transform 1s var(--ease-io), opacity .4s; }
.mate .icon { width: 20px; height: 20px; fill: var(--gold); stroke: #141009; stroke-width: 1.2; }
.mate b { margin: 14px 0 0 -2px; padding: 3px 8px; border-radius: 6px 6px 6px 2px; background: var(--gold); color: #141009; font: 600 11px var(--f); }
.mate--dev .icon { fill: #8B6BFF; stroke: #fff; }
.mate--dev b { background: #8B6BFF; color: #fff; }
.mate.is-on { opacity: 1; }
.mate.is-click .icon { animation: click .35s var(--ease); }
@keyframes click { 50% { transform: scale(.8); } }

/* Design-tool chips around the window */
.chip {
  position: absolute; z-index: 7;
  display: grid; gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 16px;
  background: rgba(24, 22, 20, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
  text-align: left;
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.chip__label { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.chip--palette { left: -72px; top: 22%; }
.chip__sw { display: flex; gap: 6px; }
.chip__sw i { width: 26px; height: 26px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); background: var(--t-bg); transition: background-color .6s; }
.chip__sw i:nth-child(2) { background: var(--t-acc); }
.chip__sw i:nth-child(3) { background: var(--t-ink); }
.chip--type { right: -64px; top: 12%; }
.chip__aa { font: var(--t-hs, normal) var(--t-hw, 400) 34px/1 var(--t-hf, var(--serif)); color: var(--text); }
.chip--checks { left: 50%; bottom: -26px; display: flex; gap: 6px; padding: 8px; border-radius: 999px; transform: translate(-50%, 14px); }
.chip--checks span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); font: 500 12.5px var(--f); white-space: nowrap; }
.chip--checks .icon { width: 13px; height: 13px; color: #6BD18A; stroke-width: 2.6; }
.build.show-tools .chip--palette, .build.show-tools .chip--type { opacity: 1; transform: none; }
.build.is-live .chip--checks { opacity: 1; transform: translate(-50%, 0); }

.build__note { margin-top: 44px; font: 400 12px var(--mono); letter-spacing: .06em; color: var(--dim); text-align: center; }
.build__note span { color: var(--muted); }

/* ==========================================================================
   Statement: words light up only as you scroll (nothing moves on its own)
   ========================================================================== */
.say { padding: clamp(110px, 14vw, 220px) 0 clamp(90px, 11vw, 170px); border-top: 1px solid var(--line); }
.say__text {
  max-width: 28ch;
  font: 500 clamp(28px, 3vw, 44px)/1.18 var(--f);
  letter-spacing: -.03em;
  color: var(--text);
}

/* ==========================================================================
   Services: horizontal scroll scene (stacked on phones and without GSAP)
   ========================================================================== */
.svc { position: relative; padding: clamp(40px, 5vw, 70px) 0 clamp(90px, 10vw, 150px); }
.svc__track { display: grid; gap: 20px; width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.svc__intro { padding-bottom: 30px; }
.svc__lead { max-width: 30ch; margin-top: 26px; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); }
.svc__hint { display: none; align-items: center; gap: 14px; margin-top: 40px; font: 500 11.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.svc__hint-line { position: relative; width: 60px; height: 1px; overflow: hidden; background: var(--line-2); }
.svc__hint-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); animation: hint 2s var(--ease-io) infinite; }
@keyframes hint { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.panel {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 560px;
  border-radius: var(--radius);
  background: #151412;
  display: flex; align-items: flex-end;
}
.panel__media { position: absolute; inset: 0; z-index: -2; }
.panel__media img, .panel__media video { width: 100%; height: 100%; object-fit: cover; }
.panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(15deg, rgba(6, 6, 6, .94) 0%, rgba(6, 6, 6, .7) 35%, rgba(6, 6, 6, .05) 70%);
}
.panel__body { padding: clamp(24px, 3vw, 48px); max-width: 640px; }
.panel__num { display: inline-flex; align-items: center; gap: 12px; font: 500 13px var(--mono); letter-spacing: .1em; color: var(--muted); }
.panel__num::after { content: ""; width: 40px; height: 1px; background: rgba(var(--gold-rgb), .6); }
.panel__title { margin: 14px 0 12px; font: 500 var(--fs-h3)/1.05 var(--f); letter-spacing: -.035em; }
.panel__text { max-width: 30ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: rgba(243, 239, 231, .82); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tags li {
  padding: 8px 15px;
  border: 1px solid rgba(243, 239, 231, .22); border-radius: 999px;
  background: rgba(10, 10, 10, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13.5px;
}
.svc__progress { display: none; }

/* The scroll scene (switched on by JS on wide screens) */
.svc.is-scene { padding: 0; }
.svc.is-scene .svc__pin { position: relative; display: flex; align-items: center; height: 100vh; overflow: hidden; }
.svc.is-scene .svc__track {
  display: flex; align-items: center; gap: clamp(20px, 2vw, 32px);
  width: max-content; margin: 0;
  padding: 0 var(--gutter);
  will-change: transform;
}
.svc.is-scene .svc__intro { flex: none; width: min(38vw, 560px); padding: 0 3vw 0 0; }
.svc.is-scene .svc__intro .h2 { max-width: none; }
.svc.is-scene .svc__hint { display: flex; }
.svc.is-scene .panel { flex: none; width: min(62vw, 1040px); height: min(74vh, 700px); min-height: 0; }
.svc.is-scene .panel__media { inset: 0 -9%; }
.svc.is-scene .svc__progress {
  display: block;
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px;
  height: 2px; border-radius: 2px; background: var(--line);
}
.svc.is-scene .svc__progress i { display: block; height: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.panel__tag { margin-left: 4px; padding: 4px 10px; border: 1px solid rgba(var(--gold-rgb), .45); border-radius: 999px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }

/* ==========================================================================
   Choose your build: hand-coded or WordPress
   ========================================================================== */
.choose { padding: clamp(100px, 12vw, 180px) 0 0; }
.choose__head { margin-bottom: clamp(40px, 5vw, 64px); }
.choose__lead { max-width: 42ch; margin-top: 22px; font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); }
.choose__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1200px) { .choose__grid { grid-template-columns: minmax(0, 1fr); } }
.opt {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: border-color .5s;
}
.opt::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 25%), rgba(var(--gold-rgb), .14), transparent 65%); opacity: 0; transition: opacity .6s; }
.opt:hover { border-color: rgba(var(--gold-rgb), .35); }
.opt:hover::before { opacity: 1; }
.opt__vis { height: 230px; margin-bottom: 28px; }
.opt__label { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.opt__title { margin: 10px 0 8px; font: 500 var(--fs-h3)/1.05 var(--f); letter-spacing: -.035em; }
.opt__text { max-width: 40ch; color: var(--muted); }
.opt__list { display: grid; gap: 11px; margin: 24px 0 28px; }
.opt__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.opt__list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(var(--gold-rgb), .14); color: var(--gold); stroke-width: 2.6; }
.opt__best { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; }
.opt__best span { display: block; margin-bottom: 4px; font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.choose__cta { display: flex; justify-content: center; margin-top: 32px; }

/* How a WordPress site is built: four glass layers drop in and float */
.vis-stack { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 8px; }
.vis-stack__scene { position: relative; display: grid; place-items: center; height: 100%; perspective: 1000px; }
.vis-stack__iso { position: relative; width: 132px; height: 132px; margin-top: 70px; transform: rotateX(58deg) rotateZ(45deg); transform-style: preserve-3d; }
.slab {
  position: absolute; inset: 0;
  border: 1px solid rgba(var(--gold-rgb), .5); border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 6px 6px 0 -1px rgba(var(--gold-rgb), .16), 0 24px 40px -10px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transform: translateZ(calc(var(--z) * 34px));
}
.slab--top {
  border-color: var(--gold-hi);
  background: linear-gradient(135deg, rgba(var(--gold-rgb), .65), rgba(var(--gold-rgb), .18) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 6px 6px 0 -1px rgba(var(--gold-rgb), .35), 0 0 50px rgba(var(--gold-rgb), .35);
}
.vis-stack__labels { display: grid; gap: 12px; }
.vis-stack__labels li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); }
.vis-stack__labels b { display: grid; place-items: center; width: 30px; height: 22px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 10.5px; font-weight: 500; color: var(--muted); }
.vis-stack__labels li:first-child b { border-color: transparent; background: var(--gold-grad); color: #161108; }
.js .vis-stack .slab { opacity: 0; transform: translateZ(calc(var(--z) * 34px + 150px)); }
.js .opt.is-in .vis-stack .slab {
  animation: slab-drop 1s var(--ease) forwards, slab-float 4.5s ease-in-out infinite;
  animation-delay: calc(var(--z) * .28s), calc(1.4s + var(--z) * .35s);
}
@keyframes slab-drop { to { opacity: 1; transform: translateZ(calc(var(--z) * 34px)); } }
@keyframes slab-float { 0%, 100% { opacity: 1; transform: translateZ(calc(var(--z) * 34px)); } 50% { opacity: 1; transform: translateZ(calc(var(--z) * 34px + 9px)); } }
.js .vis-stack__labels li { opacity: .22; }
.js .opt.is-in .vis-stack__labels li { animation: label-on .6s var(--ease) forwards; animation-delay: calc(var(--z) * .28s + .5s); }
@keyframes label-on { to { opacity: 1; } }

/* ==========================================================================
   Selected work: three projects side by side (a swipe row on phones)
   ========================================================================== */
.work { padding: clamp(100px, 12vw, 180px) 0 clamp(60px, 7vw, 100px); }
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 60px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.work__note { max-width: 34ch; font-size: clamp(15px, 1.15vw, 17px); color: var(--muted); }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.wk { min-width: 0; }
.wk__frame {
  overflow: hidden;
  border: 1px solid var(--line); border-radius: 16px;
  background: #141312;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  transition: transform .7s var(--ease), border-color .5s, box-shadow .7s var(--ease);
}
.wk:hover .wk__frame { transform: translateY(-6px); border-color: rgba(var(--gold-rgb), .45); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 60px -20px rgba(var(--gold-rgb), .45); }
.wk__bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #1B1A18; border-bottom: 1px solid var(--line); }
.wk__bar .bw__dots i { width: 9px; height: 9px; }
.wk__url { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; height: 22px; margin-right: 30px; overflow: hidden; border-radius: 6px; background: rgba(0, 0, 0, .35); font: 400 11px var(--code); color: var(--muted); white-space: nowrap; }
.wk__url .icon { width: 10px; height: 10px; color: #6BD18A; }
.wk__view { aspect-ratio: 16 / 9; overflow: hidden; background: #0d0d0e; }
.wk__view img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transition: transform 1.2s var(--ease); }
.wk:hover .wk__view img { transform: scale(1.04); }
.wk__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 16px; }
.wk__name { font: 500 var(--fs-h4)/1.2 var(--f); letter-spacing: -.02em; }
.wk__type { margin-top: 4px; font-size: 14px; color: var(--muted); }
.badge { flex: none; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.badge--gold { border-color: rgba(var(--gold-rgb), .55); color: var(--text); }

/* ==========================================================================
   Every website includes: a bento of small living visuals
   ========================================================================== */
.inc { padding: clamp(80px, 10vw, 150px) 0 clamp(100px, 12vw, 180px); }
.inc__head { margin-bottom: clamp(44px, 5vw, 72px); }
.inc__head .h2 { max-width: 18ch; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 330px; padding: 26px;
  border: 1px solid var(--line); border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: border-color .5s, background-color .5s;
}
.tile::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 30%), rgba(var(--gold-rgb), .15), transparent 65%); opacity: 0; transition: opacity .6s; }
.tile:hover { border-color: rgba(var(--gold-rgb), .35); }
.tile:hover::before { opacity: 1; }
.tile--code, .tile--convert { grid-column: span 2; }
.tile__vis { flex: 1; display: grid; place-items: center; min-height: 150px; margin-bottom: 22px; }
.tile__title { font: 500 var(--fs-h4)/1.2 var(--f); letter-spacing: -.02em; }
.tile__text { max-width: 34ch; margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* Code */
.vis-code { place-items: center start; width: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0, 0, 0, .35); font: 400 clamp(12px, 1.05vw, 14px)/1.9 var(--code); color: var(--muted); }
.vis-code p { white-space: nowrap; overflow: hidden; }
.vis-code b { font-weight: 400; color: var(--gold); }
.vis-code i { font-style: normal; color: #B9A2FF; }
.vis-code s { text-decoration: none; color: #9FD8A9; }
.vis-code__caret { display: inline-block; width: 7px; height: 1.1em; margin-left: 4px; vertical-align: -.2em; background: var(--gold); animation: caret 1s steps(1) infinite; }
.js :is(.tile, .opt).is-in .vis-code p { animation: type-line .9s steps(30) both; }
.js .vis-code p { clip-path: inset(0 100% 0 0); }
.js :is(.tile, .opt).is-in .vis-code p:nth-child(2) { animation-delay: .5s; }
.js :is(.tile, .opt).is-in .vis-code p:nth-child(3) { animation-delay: 1s; }
.js :is(.tile, .opt).is-in .vis-code p:nth-child(4) { animation-delay: 1.5s; }
@keyframes type-line { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Phone */
.vis-phone { position: relative; }
.vis-phone__screen { display: grid; align-content: start; gap: 8px; width: 92px; height: 170px; padding: 22px 10px 10px; border: 2px solid rgba(243, 239, 231, .35); border-radius: 20px; background: rgba(0, 0, 0, .3); }
.vis-phone__screen i { display: block; height: 18px; border-radius: 6px; background: rgba(243, 239, 231, .14); animation: phone-row 3.2s var(--ease) infinite; }
.vis-phone__screen i:first-child { height: 34px; background: rgba(var(--gold-rgb), .5); }
.vis-phone__screen i:nth-child(2) { animation-delay: .15s; }
.vis-phone__screen i:nth-child(3) { width: 70%; animation-delay: .3s; }
.vis-phone__screen i:nth-child(4) { width: 50%; animation-delay: .45s; }
@keyframes phone-row { 0%, 15% { transform: translateY(12px); opacity: 0; } 30%, 80% { transform: none; opacity: 1; } 100% { opacity: 0; } }

/* Speed */
.vis-speed__ring { position: relative; display: grid; place-items: center; width: 130px; height: 130px; }
.vis-speed__ring svg:first-child { position: absolute; inset: 0; transform: rotate(-90deg); }
.vis-speed__ring circle { fill: none; stroke: rgba(243, 239, 231, .1); stroke-width: 7; }
.vis-speed__ring .vis-speed__arc { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), .6)); }
.js .tile.is-in .vis-speed__arc { animation: arc 1.8s var(--ease) .2s forwards; }
.no-js .vis-speed__arc, html:not(.js) .vis-speed__arc { stroke-dashoffset: 6; }
@keyframes arc { to { stroke-dashoffset: 6; } }
.vis-speed__ring > .icon { width: 34px; height: 34px; color: var(--gold); fill: rgba(var(--gold-rgb), .25); }

/* SEO */
.vis-seo { display: grid; place-items: stretch; align-content: center; gap: 10px; width: 100%; max-width: 280px; margin-inline: auto; }
.vis-seo__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.vis-seo__bar .icon { width: 15px; height: 15px; color: var(--dim); }
.vis-seo__bar i { flex: 1; height: 7px; border-radius: 7px; background: rgba(243, 239, 231, .15); }
.vis-seo__res { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.vis-seo__res b { height: 9px; border-radius: 9px; background: rgba(243, 239, 231, .16); font: 500 12px var(--code); }
.vis-seo__res i { height: 7px; width: 80%; border-radius: 7px; background: rgba(243, 239, 231, .08); }
.vis-seo__res.is-top { border-color: rgba(var(--gold-rgb), .45); background: rgba(var(--gold-rgb), .08); }
.vis-seo__res.is-top b { height: auto; background: none; color: var(--text); }
.js .tile.is-in .vis-seo__res.is-top { animation: rise-top .9s var(--ease) .3s both; }
@keyframes rise-top { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }

/* AI-ready */
.vis-ai { display: grid; justify-items: center; gap: 10px; }
.vis-ai__spark { width: 42px; height: 42px; color: var(--gold); fill: rgba(var(--gold-rgb), .2); animation: spark 3s ease-in-out infinite; }
@keyframes spark { 50% { transform: rotate(90deg) scale(1.1); filter: drop-shadow(0 0 12px rgba(var(--gold-rgb), .7)); } }
.vis-ai span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(0, 0, 0, .3); font: 400 11.5px var(--code); color: #B9A2FF; white-space: nowrap; }

/* Built to convert */
.vis-convert { position: relative; width: 100%; min-height: 170px; }
.vis-convert__btn { padding: 14px 26px; border-radius: 999px; background: var(--gold-grad); color: #161108; font-weight: 600; font-size: 15px; animation: press 4s var(--ease) infinite; }
.vis-convert__cursor { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; fill: var(--text); stroke: #0b0b0b; stroke-width: 1.2; animation: cursor-go 4s var(--ease) infinite; }
.vis-convert__toast { position: absolute; right: 8%; top: 8%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid rgba(107, 209, 138, .35); border-radius: 12px; background: rgba(16, 18, 16, .92); color: #C8F2D4; font-size: 13.5px; font-weight: 500; animation: toast-pop 4s var(--ease) infinite; }
.vis-convert__toast .icon { width: 15px; height: 15px; color: #6BD18A; }
@keyframes cursor-go { 0% { transform: translate(140px, 70px); } 35%, 100% { transform: translate(10px, 6px); } }
@keyframes press { 0%, 36% { transform: none; } 41% { transform: scale(.93); } 48%, 100% { transform: none; } }
/* Shopify option: a product card, its cart and a new paid order */
.vis-shop { position: relative; display: grid; place-items: center; width: 100%; max-width: 440px; margin-inline: auto; }
.vis-shop__card {
  display: grid; gap: 6px; width: 156px; padding: 10px;
  border: 1px solid var(--line-2); border-radius: 16px;
  background: linear-gradient(180deg, #1D1B18, #121110);
  box-shadow: 0 30px 60px -30px #000, 0 0 50px -24px rgba(var(--gold-rgb), .5);
  transform: translateX(-34%) rotate(-4deg);
}
.vis-shop__img { height: 92px; border-radius: 10px; background: radial-gradient(55% 60% at 50% 42%, rgba(var(--gold-rgb), .55), transparent 72%), linear-gradient(160deg, #2D2923, #171512); }
.vis-shop__card b { margin-top: 2px; font-size: 13.5px; font-weight: 500; }
.vis-shop__price { font: 500 12px var(--mono); color: var(--muted); }
.vis-shop__btn { margin-top: 2px; padding: 7px; border-radius: 999px; background: var(--gold-grad); color: #161108; font-size: 11.5px; font-weight: 600; text-align: center; }
.vis-shop__cart { position: absolute; top: 10%; right: 14%; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(var(--gold-rgb), .45); border-radius: 50%; background: rgba(16, 15, 13, .9); color: var(--gold); }
.vis-shop__cart .icon { width: 20px; height: 20px; }
.vis-shop__cart i { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold-grad); color: #161108; font: 600 10.5px/19px var(--f); font-style: normal; text-align: center; }
.vis-shop__toast { position: absolute; z-index: 2; right: 3%; bottom: 16%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(107, 209, 138, .35); border-radius: 12px; background: rgba(16, 18, 16, .92); color: #C8F2D4; font-size: 13px; font-weight: 500; }
.vis-shop__toast .icon { width: 14px; height: 14px; color: #6BD18A; stroke-width: 2.4; }
.js .opt.is-in .vis-shop__btn { animation: press 4.5s var(--ease) infinite; }
.js .opt.is-in .vis-shop__cart i { animation: badge-pop 4.5s var(--ease) infinite; }
.js .vis-shop__toast { opacity: 0; }
.js .opt.is-in .vis-shop__toast { animation: toast-pop 4.5s var(--ease) infinite; }
@keyframes badge-pop { 0%, 40% { transform: scale(0); } 47% { transform: scale(1.3); } 54%, 100% { transform: scale(1); } }
@media (max-width: 640px) { .vis-shop__card { transform: translateX(-42%) rotate(-4deg); } .vis-shop__toast { right: 0; bottom: 4%; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .js .vis-shop__toast { opacity: 1; } }
@keyframes toast-pop { 0%, 45% { opacity: 0; transform: translateY(10px); } 55%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* Review goals (chips) */
.goals { margin: 4px 0 18px; padding: 0; border: 0; }
.goals legend { margin-bottom: 10px; padding: 0; font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.goals label { display: inline-block; margin: 0 6px 8px 0; cursor: pointer; }
.goals input { position: absolute; opacity: 0; pointer-events: none; }
.goals span { display: inline-block; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; transition: background-color .3s, border-color .3s, color .3s; }
.goals label:hover span { border-color: rgba(var(--gold-rgb), .5); }
.goals input:checked + span { border-color: transparent; background: var(--gold-grad); color: #161108; font-weight: 500; }
.goals input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

/* A ring of gold light travelling around the review card */
.scanner::before {
  content: ""; position: absolute; inset: -1px; z-index: 0;
  padding: 1px; border-radius: inherit;
  background: conic-gradient(from var(--spin), transparent 0deg, rgba(var(--gold-rgb), .9) 40deg, transparent 90deg, transparent 180deg, rgba(var(--gold-rgb), .5) 220deg, transparent 270deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 7s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { --spin: 360deg; } }

/* ==========================================================================
   Free website review
   ========================================================================== */
.check { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 13vw, 200px) 0; }
.check__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 50% at 75% 50%, rgba(var(--gold-rgb), .18), transparent 70%),
    radial-gradient(30% 40% at 20% 80%, rgba(139, 107, 255, .1), transparent 70%);
}
.check__glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(243, 239, 231, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(50% 60% at 70% 50%, #000, transparent 75%); mask-image: radial-gradient(50% 60% at 70% 50%, #000, transparent 75%);
}
.check__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.check__lead { max-width: 34ch; margin-top: 28px; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); }
.check__perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.check__perks li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; }
.check__perks .icon { width: 15px; height: 15px; color: var(--gold); stroke-width: 2.4; }

.scanner {
  position: relative; isolation: isolate;
  min-height: 486px;
  padding: clamp(24px, 2.6vw, 38px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(30, 28, 25, .88), rgba(12, 11, 10, .95));
  border: 1px solid var(--line);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), 0 0 120px -50px rgba(var(--gold-rgb), .5);
  overflow: hidden;
}
.scanner > * { position: relative; z-index: 1; }
.scanner__label { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font: 500 12.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.scanner__label .icon { width: 16px; height: 16px; color: var(--gold); }
.scanner__label b { font-weight: 500; color: var(--text); text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; }

.scanner__form, .scanner__done { display: none; }
.scanner[data-state="form"] .scanner__form,
.scanner[data-state="done"] .scanner__done { display: block; animation: state-in .7s var(--ease) both; }
@keyframes state-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.field { display: grid; gap: 9px; margin-bottom: 16px; }
.field > span { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.field input {
  width: 100%; height: 56px; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: 16px;
  background: rgba(0, 0, 0, .35);
  font-size: 16px;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field input::placeholder { color: rgba(243, 239, 231, .3); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .14); background: rgba(0, 0, 0, .5); }
.field input[aria-invalid="true"] { border-color: #E9967A; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field__error { min-height: 1.4em; margin: -4px 0 12px; font-size: 14px; color: #F0A88A; }


.scanner__done { text-align: center; padding-top: 30px; }
.scanner__tick { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 26px; border-radius: 50%; background: var(--gold-grad); color: #141009; box-shadow: 0 0 60px -10px rgba(var(--gold-rgb), .8); animation: pop .8s var(--ease) both .1s; }
.scanner__tick .icon { width: 34px; height: 34px; stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.scanner__title { font: 500 clamp(22px, 1.9vw, 28px)/1.15 var(--f); letter-spacing: -.03em; }
.scanner__text { max-width: 32ch; margin: 14px auto 32px; color: var(--muted); }
.scanner__edit { margin-top: 18px; padding: 6px 4px; font-size: 14.5px; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.scanner__edit:hover { color: var(--text); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: clamp(80px, 10vw, 160px) 0 clamp(110px, 12vw, 190px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0;
  padding: 28px 0;
  list-style: none; cursor: pointer;
  font: 500 clamp(17px, 1.35vw, 21px)/1.35 var(--f); letter-spacing: -.015em;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: #fff; }
.qa__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .6s var(--ease), background-color .4s, color .4s, border-color .4s; }
.qa__ico .icon { width: 18px; height: 18px; }
.qa[open] .qa__ico { transform: rotate(135deg); background: var(--gold-grad); border-color: transparent; color: #141009; }
.qa__a { overflow: hidden; }
.qa__a p { max-width: 58ch; padding: 0 68px 30px 0; font-size: 17px; color: var(--muted); }
.qa__q { flex: 1; padding-right: 24px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.cta { padding: 0 12px; }
.cta__frame {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: min(92vh, 860px);
  padding: 80px var(--gutter);
  border-radius: var(--radius);
  background: #17140f;
  text-align: center;
}
.cta__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(6, 6, 6, .55), rgba(6, 6, 6, .88)), rgba(6, 6, 6, .2); }
.cta__inner { display: grid; justify-items: center; max-width: 1000px; }
.cta__title { max-width: 18ch; font: 500 clamp(34px, 3.8vw, 58px)/1.04 var(--f); letter-spacing: -.035em; }
.cta__line { max-width: 34ch; margin-top: 28px; font-size: clamp(17px, 1.45vw, 21px); color: rgba(243, 239, 231, .8); }
.cta__btns { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: 40px; }
.cta__mail { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid rgba(243, 239, 231, .35); font-weight: 500; font-size: 17px; transition: color .3s, border-color .3s; }
.cta__mail:hover { color: var(--gold); border-color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
/* Minimal and quiet: logo, links, small print */
.ftr { padding: clamp(80px, 9vw, 130px) 0 32px; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.ftr__brand img { width: 52px; height: 52px; border-radius: 50%; }
.ftr__brand p { max-width: 16ch; margin-top: 20px; font: 500 clamp(19px, 1.5vw, 23px)/1.2 var(--f); letter-spacing: -.02em; }
.ftr__col { display: grid; align-content: start; gap: 12px; font-size: 15.5px; color: var(--muted); }
.ftr__col a { justify-self: start; transition: color .3s; }
.ftr__col a:hover { color: var(--text); }
.ftr__head { margin-bottom: 6px; font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(64px, 7vw, 110px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }
.ftr__up { display: inline-flex; align-items: center; gap: 6px; transition: color .3s; }
.ftr__up:hover { color: var(--text); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .chip--palette { left: -20px; top: auto; bottom: 18%; }
  .chip--type { right: -20px; }
}

@media (max-width: 1120px) {
  .check__grid { grid-template-columns: minmax(0, 1fr); }
  .check__copy { max-width: 640px; }
  .scanner { max-width: 680px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .chip--palette, .chip--type { display: none; }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .choose__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .panel { min-height: 0; aspect-ratio: 4 / 5; }
  .work__head { flex-direction: column; align-items: flex-start; }
  .works { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(82%, 440px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  .works::-webkit-scrollbar { display: none; }
  .wk { scroll-snap-align: start; }
  .wk__meta { flex-direction: column; gap: 10px; }
}

@media (max-width: 640px) {
  .hdr { top: 10px; }
  .hdr__bar { height: 60px; }
  .brand__logo { width: 38px; height: 38px; }
  .hero { padding: 118px 0 80px; }
  .hero__title { max-width: 14ch; }
  .eyebrow { padding: 8px 12px 8px 10px; font-size: 10px; letter-spacing: .07em; }
  .hero__btns { width: 100%; }
  .hero__btns .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero__btns .btn--ghost { justify-content: center; }
  .steps { gap: 6px; }
  .steps__item { padding: 8px 11px; font-size: 10.5px; }
  .steps__item span { display: none; }
  .bw { border-radius: 14px; }
  .bw__bar { height: 38px; gap: 10px; }
  .bw__devices { display: none; }
  .bw__view { height: 540px; }
  .code { width: 100%; top: auto; height: 58%; border-left: 0; border-top: 1px solid var(--line); transform: translateY(104%); }
  .chip--checks { bottom: -22px; }
  .chip--checks span { padding: 5px 9px; font-size: 11.5px; }
  .chip--checks span:nth-child(3) { display: none; }
  .panel { aspect-ratio: auto; min-height: 520px; }
  .panel::after { background: linear-gradient(0deg, rgba(6, 6, 6, .97) 0%, rgba(6, 6, 6, .86) 42%, rgba(6, 6, 6, .1) 82%); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--code, .tile--convert { grid-column: auto; }
  .scanner { padding: 22px 18px; }
  .qa__a p { padding: 0 0 26px; }
  .cta__frame { min-height: 620px; }
  .cta__btns .btn { width: 100%; justify-content: space-between; }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 400px) {
  .brand__word small { display: none; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Reduced motion: nothing moves, everything is shown
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .loader { display: none; }
  .js .vis-code p { clip-path: none; }
  .js .vis-stack .slab, .js .vis-stack__labels li { opacity: 1; transform: translateZ(calc(var(--z) * 34px)); }
  .vis-speed__arc { stroke-dashoffset: 6 !important; }
}

/* ==========================================================================
   WordPress and Shopify service cards
   ========================================================================== */
/* The WordPress photo is lit low and warm: lift it a little so it reads on every screen */
.panel--wp .panel__media img { object-position: 50% 38%; filter: brightness(1.22) saturate(1.06); }
.panel--shop .panel__media video { object-position: 50% 30%; }
@media (max-width: 640px) {
  .vis-stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vis-stack__iso { width: 104px; height: 104px; margin-top: 64px; }
  .vis-stack__labels li { font-size: 13px; gap: 8px; }
}

/* ==========================================================================
   Floating call-to-action (appears after the hero, steps aside near the form)
   ========================================================================== */
.float-cta {
  position: fixed; z-index: 95; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px);
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 6px 0 18px;
  border: 1px solid rgba(var(--gold-rgb), .35); border-radius: 999px;
  background: rgba(16, 15, 13, .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), 0 0 40px -16px rgba(var(--gold-rgb), .5);
  font: 500 14px var(--f); color: var(--text);
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none;
  transition: opacity .5s, transform .7s var(--ease), border-color .4s;
}
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-cta:hover { border-color: var(--gold); }
.float-cta__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.float-cta__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.2s var(--ease) infinite; }
.float-cta__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); color: #161108; transition: transform .5s var(--ease); }
.float-cta__ico .icon { width: 16px; height: 16px; }
.float-cta:hover .float-cta__ico { transform: rotate(-45deg); }
.menu-open .float-cta { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Light beams between sections: a thin line that opens out, with a soft glow
   ========================================================================== */
.beam { position: relative; width: min(100% - 2 * var(--gutter), var(--wrap)); height: 1px; margin: 0 auto; }
.beam i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .55) 50%, transparent); }
.beam::after { content: ""; position: absolute; left: 50%; top: 50%; width: 42%; height: 70px; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, rgba(var(--gold-rgb), .14), transparent 70%); pointer-events: none; }
.js .beam i { transform: scaleX(.12); opacity: .3; transition: transform 1.8s var(--ease), opacity 1.8s; }
.js .beam::after { opacity: 0; transition: opacity 1.8s var(--ease); }
.js .beam.is-in i { transform: none; opacity: 1; }
.js .beam.is-in::after { opacity: 1; }

/* ==========================================================================
   Testimonials: each real quote is set as a letter, with the website we
   built tucked behind it and a seal that turns as you scroll
   ========================================================================== */
.voices { position: relative; overflow-x: clip; padding: clamp(80px, 10vw, 150px) 0 clamp(110px, 12vw, 180px); }
.voices::before {
  content: ""; position: absolute; left: 50%; top: 62%; width: min(1200px, 130vw); height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--gold-rgb), .08), transparent 70%);
  pointer-events: none;
}
.voices__head { position: relative; display: grid; justify-items: center; text-align: center; margin-bottom: clamp(96px, 10vw, 150px); }
.voices__nav { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.voices__count { margin-right: 10px; font: 500 13px var(--mono); letter-spacing: .1em; color: var(--dim); }
.voices__count b { font-weight: 500; color: var(--text); }
.voices__btn { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--text); transition: border-color .4s, background-color .4s, transform .5s var(--ease); }
.voices__btn .icon { width: 18px; height: 18px; }
.voices__btn--prev .icon { transform: rotate(180deg); }
.voices__btn:hover { border-color: var(--gold); background: rgba(var(--gold-rgb), .1); }

/* The stage: --px / --py (-1 … 1) follow the pointer and give the layers depth */
.voices__stage { --px: 0; --py: 0; position: relative; width: min(100%, 940px); margin: 0 auto; }

/* A blank sheet behind the letter, for depth */
.voices__ghost { position: absolute; z-index: 0; inset: 0; transform: translate(-30px, 26px) rotate(-3.4deg); pointer-events: none; }
.voices__ghost i {
  position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 30px;
  background: linear-gradient(160deg, #161513, #0B0A09);
  box-shadow: 0 50px 100px -50px #000;
  transform: translate(calc(var(--px) * -14px), calc(var(--py) * -10px));
  transition: transform .9s var(--ease);
}
.voices:not(.is-single) .voices__ghost { display: none; }

/* The seal on the letter's corner */
.voices__seal {
  position: absolute; z-index: 3; left: clamp(-60px, -4.2vw, -26px); top: clamp(-62px, -4.4vw, -40px);
  display: grid; place-items: center; width: clamp(96px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(var(--gold-rgb), .4);
  background: radial-gradient(circle at 32% 26%, #2B2419, #0D0C0A 72%);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .95), 0 0 46px -12px rgba(var(--gold-rgb), .4);
  pointer-events: none;
}
.voices__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.voices__seal text { font: 600 8.6px var(--f); letter-spacing: .2em; text-transform: uppercase; fill: var(--gold); }
.voices__seal b {
  font: 600 clamp(48px, 4.6vw, 64px)/1 var(--f); transform: translateY(.2em);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* The deck: one letter per quote; with several they stack behind each other */
.voices__deck { position: relative; z-index: 1; display: grid; }
.voices:not(.is-single) .voices__deck { padding: 0 0 34px 34px; }
.quote { grid-area: 1 / 1; position: relative; isolation: isolate; perspective: 1600px; transition: transform .9s var(--ease), opacity .7s var(--ease), filter .7s; }
.quote__card {
  position: relative; z-index: 1; overflow: hidden;
  padding: clamp(60px, 6.4vw, 92px) clamp(24px, 5.6vw, 80px) clamp(28px, 3.6vw, 48px);
  border: 1px solid rgba(var(--gold-rgb), .16); border-radius: 30px;
  background:
    radial-gradient(460px circle at var(--mx, 70%) var(--my, 0%), rgba(var(--gold-rgb), .1), transparent 65%),
    radial-gradient(70% 90% at 0% 0%, rgba(var(--gold-rgb), .07), transparent 60%),
    linear-gradient(180deg, #1A1815, #0E0D0B);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 70px 120px -60px #000, 0 30px 80px -50px rgba(var(--gold-rgb), .3);
  transform: rotateX(calc(var(--py) * -2.2deg)) rotateY(calc(var(--px) * 2.8deg));
  transition: transform .8s var(--ease);
}
.quote__card::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), .85), transparent); }
.quote__tag { position: absolute; top: clamp(22px, 2.6vw, 34px); right: clamp(22px, 2.8vw, 36px); padding: 6px 12px; border: 1px solid rgba(var(--gold-rgb), .5); border-radius: 999px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.quote__text { margin: 0; }
.quote__text p { font: 400 clamp(21px, 2.3vw, 33px)/1.42 var(--f); letter-spacing: -.02em; color: rgba(243, 239, 231, .6); }
/* Key phrases: brighter, with a soft gold highlighter swept underneath */
.quote__text mark {
  margin: 0 -.12em; padding: 0 .12em;
  color: var(--text);
  background: linear-gradient(90deg, rgba(var(--gold-rgb), .3), rgba(var(--gold-rgb), .14)) 0 88% / 100% 42% no-repeat;
  border-radius: .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: color 1s var(--ease) var(--d, 0s), background-size 1.3s var(--ease) var(--d, 0s);
}
.voices.is-dim .quote__text mark { color: inherit; background-size: 0% 42%; }

.quote__by { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: clamp(30px, 3.4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.quote__avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: var(--gold-grad); color: #161108; font-size: 15px; font-weight: 600; box-shadow: 0 0 0 5px rgba(var(--gold-rgb), .1); }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote__who { display: grid; gap: 2px; }
.quote__name { font-weight: 600; }
.quote__role { font-size: 14px; color: var(--muted); }
.quote__link { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; font-size: 14.5px; font-weight: 500; transition: color .4s; }
.quote__go { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; transition: border-color .4s, background-color .4s, color .4s, transform .6s var(--ease); }
.quote__go .icon { width: 15px; height: 15px; }
.quote__link:hover { color: var(--gold-hi); }
.quote__link:hover .quote__go { border-color: transparent; background: var(--gold-grad); color: #161108; transform: rotate(-45deg); }

/* The website, tucked behind the letter's top-right corner; it slides out a little on hover */
.quote__shot { position: absolute; z-index: 0; top: clamp(-150px, -10vw, -96px); right: calc(-1 * clamp(36px, (100vw - 940px) / 2 - 40px, 200px)); width: clamp(280px, 44%, 430px); }
.quote__frame {
  display: block; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 14px; background: #141312;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 70px -30px rgba(var(--gold-rgb), .45);
  transform: translate(calc(var(--px) * -18px + var(--hx, 0px)), calc(var(--py) * -12px + var(--hy, 0px))) rotate(var(--r, 7deg));
  transform-origin: 15% 100%;
  transition: transform .9s var(--ease), border-color .5s;
}
.quote__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
.quote__shot:hover .quote__frame { --hx: 20px; --hy: -26px; --r: 3deg; border-color: rgba(var(--gold-rgb), .5); }
.quote:not([data-pos="0"]) .quote__shot { opacity: 0; pointer-events: none; }

/* Deck positions, set by the script (only used with two or more quotes) */
.quote[data-pos="0"] { z-index: 3; }
.quote[data-pos="1"] { z-index: 2; opacity: .5; transform: translate(-17px, 17px) scale(.975); filter: blur(1px); pointer-events: none; }
.quote[data-pos="2"] { z-index: 1; opacity: .22; transform: translate(-34px, 34px) scale(.95); filter: blur(2px); pointer-events: none; }
.quote[data-pos="hide"] { z-index: 0; opacity: 0; transform: translate(-34px, 34px) scale(.95); pointer-events: none; }
.quote[data-pos="out"] { z-index: 4; opacity: 0; transform: translate(70px, -30px) rotate(3deg); pointer-events: none; }
.voices__bar { width: min(100%, 940px); height: 2px; margin: 30px auto 0; overflow: hidden; border-radius: 2px; background: var(--line); }
.voices__bar i { display: block; width: 100%; height: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: 0 50%; }
.voices__bar.is-running i { animation: voices-progress var(--dur, 7s) linear forwards; }
@keyframes voices-progress { to { transform: scaleX(1); } }
.voices.is-single .voices__nav, .voices.is-single .voices__bar { display: none; }

/* Tablets: the letter moves left so the website still shows on the right */
@media (max-width: 1100px) {
  .voices__head { margin-bottom: 130px; }
  .voices__stage { width: calc(100% - 64px); margin-left: 14px; }
  .voices__ghost { transform: translate(-20px, 22px) rotate(-2.6deg); }
  .voices__seal { left: -26px; top: -50px; width: 98px; }
  .voices__seal b { font-size: 50px; }
  .quote__shot { top: -88px; right: -78px; width: 44%; }
}
@media (max-width: 900px) and (min-width: 701px) {
  .quote__shot { right: -48px; }
}

@media (max-width: 700px) {
  .voices__head { margin-bottom: 118px; }
  .voices__stage { width: 100%; }
  .voices__ghost { transform: translate(-8px, 14px) rotate(-2.4deg); }
  .voices__seal { left: -4px; top: -34px; width: 84px; }
  .voices__seal b { font-size: 44px; }
  .quote__shot { top: -86px; right: -4px; width: 64%; }
  .quote__frame { --r: 5deg; }
  .quote__card { padding: 66px 22px 26px; border-radius: 24px; }
  .quote__tag { top: 20px; right: 18px; }
  .quote__text p { font-size: 20px; line-height: 1.46; }
  .quote__link { width: 100%; margin-left: 0; }
}
@media (max-width: 400px) {
  .quote__shot { right: 10px; width: 62%; }
}

@media (max-width: 640px) {
  .float-cta { right: 12px; bottom: 12px; height: 46px; padding-left: 15px; font-size: 13.5px; }
  .float-cta__ico { width: 36px; height: 36px; }
  .voices:not(.is-single) .voices__deck { padding: 0 0 18px 18px; }
  .quote[data-pos="1"] { transform: translate(-9px, 9px) scale(.98); }
  .quote[data-pos="2"] { transform: translate(-18px, 18px) scale(.96); }
}
@media (prefers-reduced-motion: reduce) {
  .js .beam i { transform: none; opacity: 1; }
  .js .beam::after { opacity: 1; }
  .quote__card, .quote__frame, .voices__ghost i { transform: none; }
  .quote__frame { transform: rotate(var(--r, 7deg)); }
}

/* ==========================================================================
   Pricing: each plan is a brushed-metal "membership card" (silver, gold,
   platinum) over a glass panel. Gold is raised, with a slowly turning gold edge.
   ========================================================================== */
.plans { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(80px, 10vw, 150px) 0 clamp(90px, 11vw, 160px); }
.plans__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 64px; margin-bottom: clamp(40px, 4vw, 60px); }
.plans__head .h2 { max-width: 24ch; }
.plans__side { max-width: 40ch; }
.plans__lead { font-size: clamp(16px, 1.25vw, 19px); color: var(--muted); }
.plans__note { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 8px 15px 8px 9px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14.5px; }
.plans__note .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(var(--gold-rgb), .14); color: var(--gold); stroke-width: 2.6; }

/* Warm light and thin gold streaks behind the cards; a soft pulse runs along each streak */
.plans__streaks { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.plans__streaks b { position: absolute; left: 50%; top: 60%; width: min(1100px, 130vw); height: 820px; transform: translate(-50%, -50%); background: radial-gradient(50% 50% at 50% 50%, rgba(var(--gold-rgb), .15), transparent 70%); }
.plans__streaks i {
  position: absolute; left: -20%; width: 140%; height: 1px; transform: rotate(-21deg);
  background: linear-gradient(90deg, transparent 8%, rgba(var(--gold-rgb), .55) 50%, transparent 92%);
  box-shadow: 0 0 40px 6px rgba(var(--gold-rgb), .12);
}
.plans__streaks i::after { content: ""; position: absolute; inset: -1px 0; background: linear-gradient(90deg, transparent, rgba(255, 236, 190, .95), transparent) 0 0 / 18% 100% no-repeat; animation: streak 7s var(--ease-io) infinite; }
.plans__streaks i:nth-of-type(1) { top: 44%; }
.plans__streaks i:nth-of-type(2) { top: 64%; opacity: .5; }
.plans__streaks i:nth-of-type(2)::after { animation-delay: 2.4s; }
.plans__streaks i:nth-of-type(3) { top: 86%; opacity: .7; }
.plans__streaks i:nth-of-type(3)::after { animation-delay: 4.6s; }
@keyframes streak { from { background-position: -20% 0; } 60%, to { background-position: 120% 0; } }

/* The three metals */
[data-tier="silver"] { --metal: linear-gradient(120deg, #F3F5F7 0%, #BFC6CD 34%, #8E979F 60%, #DDE2E7 82%, #A9B1B9 100%); --metal-rgb: 184, 192, 200; }
[data-tier="gold"] { --metal: var(--gold-grad); --metal-rgb: var(--gold-rgb); }
[data-tier="platinum"] { --metal: linear-gradient(120deg, #FFFFFF 0%, #E6EAF1 20%, #C9D2DE 42%, #F3EEF7 60%, #CFD8E4 80%, #FFFFFF 100%); --metal-rgb: 222, 228, 238; }

.btn--metal { background: var(--metal); color: #15140F; box-shadow: 0 14px 40px -16px rgba(var(--metal-rgb), .7); }
.btn--metal:hover { box-shadow: 0 18px 50px -12px rgba(var(--metal-rgb), .85); }
.btn--metal .btn__ico { background: #0E0D0B; color: rgb(var(--metal-rgb)); }
.btn--metal::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--metal:hover::after { transform: translateX(120%); }
.btn--line { padding-right: 8px; border: 1px solid rgba(var(--metal-rgb), .45); background: rgba(255, 255, 255, .03); }
.btn--line .btn__ico { border: 1px solid rgba(var(--metal-rgb), .45); color: rgb(var(--metal-rgb)); transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s; }
.btn--line:hover { border-color: rgba(var(--metal-rgb), .9); background: rgba(var(--metal-rgb), .07); }
.btn--line:hover .btn__ico { border-color: transparent; background: var(--metal); color: #15140F; }

/* ---------- Currency chooser ---------- */
.cur { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 clamp(64px, 6vw, 84px); }
html:not(.js) .cur { display: none; }
.cur__label { margin-right: 6px; font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.cur__opt {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-size: 14.5px; color: var(--muted);
  transition: border-color .4s, background-color .4s, color .4s, box-shadow .5s var(--ease);
}
.cur__opt i { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: 50%; font: 600 14px var(--f); font-style: normal; color: var(--text); transition: background-color .4s, border-color .4s, color .4s; }
.cur__opt:hover { border-color: rgba(var(--gold-rgb), .45); color: var(--text); }
.cur__opt[aria-checked="true"] { border-color: rgba(var(--gold-rgb), .7); background: rgba(var(--gold-rgb), .08); color: var(--text); box-shadow: 0 10px 30px -14px rgba(var(--gold-rgb), .7); }
.cur__opt[aria-checked="true"] i { border-color: transparent; background: var(--gold-grad); color: #161108; }
.cur__note { width: 100%; font-size: 13.5px; color: var(--dim); }
.cur__note b { font-weight: 500; color: var(--gold-hi); }
@media (max-width: 560px) {
  .cur__label { width: 100%; }
  .cur__opt { font-size: 13.5px; }
}

/* ---------- The plans ---------- */
.mc-grid { --pro: clamp(110px, 9.6vw, 140px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.mc {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  margin-top: calc(var(--pro) + 34px); padding: 0 clamp(20px, 2vw, 28px) 28px;
  border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .5s;
}
.mc:hover { border-color: rgba(var(--metal-rgb), .35); }
.mc[data-tier="gold"] {
  margin-top: var(--pro); border-color: transparent;
  background:
    linear-gradient(180deg, #1B1915, #0E0D0B) padding-box,
    conic-gradient(from var(--spin), rgba(var(--gold-rgb), .15), rgba(var(--gold-rgb), .95), rgba(var(--gold-rgb), .15) 40%, rgba(var(--gold-rgb), .7) 70%, rgba(var(--gold-rgb), .15)) border-box;
  box-shadow: 0 60px 120px -50px rgba(var(--gold-rgb), .55);
  animation: spin 9s linear infinite;
}
.mc__flag {
  position: absolute; z-index: 3; left: 50%; top: calc(-1 * var(--pro) - 46px); transform: translateX(-50%);
  padding: 7px 14px; border-radius: 999px; background: var(--gold-grad); color: #161108;
  font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 30px -8px rgba(var(--gold-rgb), .8);
}

/* The metal card. --tx / --ty (-1 … 1) follow the pointer; --sx moves the shine */
.mcard {
  --tx: 0; --ty: 0; --sx: 30; --bx: 14deg; --by: -10deg; --bz: -2deg; --lift: 0px;
  position: relative; z-index: 2; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1.586; margin: calc(-1 * var(--pro)) -8px 0; padding: 7% 7.5%; border-radius: 18px;
  color: rgba(22, 19, 14, .8);
  background:
    radial-gradient(130% 90% at 18% 0%, rgba(255, 255, 255, .6), transparent 45%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, .08) 0 1px, rgba(0, 0, 0, .05) 1px 2px, transparent 2px 4px),
    var(--metal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -3px 8px rgba(0, 0, 0, .28), 0 50px 70px -36px #000, 0 30px 90px -40px rgba(var(--metal-rgb), .85);
  transform: translateY(var(--lift)) perspective(1000px) rotateX(calc(var(--bx) + var(--ty) * -7deg)) rotateY(calc(var(--by) + var(--tx) * 9deg)) rotateZ(var(--bz));
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.mc[data-tier="gold"] .mcard { --bx: 12deg; --by: 0deg; --bz: 0deg; --lift: -6px; }
.mc[data-tier="platinum"] .mcard { --bx: 14deg; --by: 10deg; --bz: 2deg; }
.mc:hover .mcard { --bx: 4deg; --by: 0deg; --bz: 0deg; --lift: -10px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -3px 8px rgba(0, 0, 0, .28), 0 60px 80px -36px #000, 0 30px 110px -30px rgba(var(--metal-rgb), 1); }
.mcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 44%, rgba(255, 236, 248, .3) 50%, transparent 62%) calc(var(--sx) * 1%) 0 / 260% 100% no-repeat;
  transition: background-position .6s var(--ease);
}
.mcard__top { display: flex; align-items: center; gap: 10px; }
.mcard__top img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.mcard__brand { font: 600 11px/1.1 var(--f); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.mcard__tier { margin-left: auto; font: 600 13px var(--mono); letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255, 255, 255, .55); }
.mcard__chip {
  width: 46px; height: 35px; border-radius: 7px;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(0, 0, 0, .25) 14px 15px), repeating-linear-gradient(0deg, transparent 0 11px, rgba(0, 0, 0, .25) 11px 12px), linear-gradient(135deg, #F1E3B5, #B48F45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 1px 2px rgba(0, 0, 0, .3);
}
.mcard__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.mcard__price { font: 600 clamp(36px, 3.4vw, 52px)/.9 var(--f); letter-spacing: -.04em; text-shadow: 0 1px 0 rgba(255, 255, 255, .55), 0 -1px 0 rgba(0, 0, 0, .15); }
.mcard__price small { margin-right: 2px; font-size: .5em; vertical-align: .6em; }
.mcard__pages { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }

/* Platinum: the top plan gets a black titanium card with platinum foil lettering,
   a holographic edge that travels round it and a soft cool glow */
.mc[data-tier="platinum"] {
  border-color: transparent;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(170, 190, 255, .13), transparent 70%) padding-box,
    linear-gradient(180deg, #17181C, #0C0D0F) padding-box,
    conic-gradient(from var(--spin), rgba(159, 230, 255, .95), rgba(201, 184, 255, .2), rgba(255, 184, 232, .95), rgba(255, 231, 166, .2), rgba(184, 255, 217, .95), rgba(201, 184, 255, .2), rgba(159, 230, 255, .95)) border-box;
  box-shadow: 0 60px 120px -50px rgba(165, 195, 255, .6), 0 0 90px -45px rgba(240, 175, 255, .55);
  animation: spin 7s linear infinite;
}

/* Platinum's button: a pearl-holographic fill that slowly shifts, with a glow and a passing shine */
.btn--holo {
  padding-right: 8px; color: #121216;
  background: linear-gradient(110deg, #FFFFFF 0%, #DCEBFF 16%, #E9DCFF 33%, #FFDFF2 50%, #FFF0CF 66%, #DCF8EB 83%, #FFFFFF 100%) 0 0 / 200% 100%;
  box-shadow: 0 16px 44px -14px rgba(196, 208, 255, .85), 0 0 34px -8px rgba(240, 190, 255, .6);
  animation: holo-shift 6s linear infinite;
  transition: box-shadow .5s var(--ease);
}
.btn--holo .btn__ico { background: #0E0E12; color: #E8ECFF; }
.btn--holo::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 48%, transparent 66%);
  transform: translateX(-120%); animation: holo-shine 3.6s var(--ease-io) infinite 1s;
}
.btn--holo:hover { box-shadow: 0 20px 56px -12px rgba(196, 208, 255, 1), 0 0 46px -6px rgba(240, 190, 255, .8); }
@keyframes holo-shift { to { background-position: -200% 0; } }
@keyframes holo-shine { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) {
  .mc[data-tier="platinum"], .btn--holo, .btn--holo::after { animation: none; }
}
.mc[data-tier="platinum"] .mcard {
  color: #E9EDF3;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255, 255, 255, .17), transparent 46%),
    radial-gradient(80% 70% at 100% 100%, rgba(150, 190, 255, .16), transparent 60%),
    repeating-linear-gradient(98deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #2C2E35 0%, #141518 46%, #1F2128 72%, #0C0D10 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -3px 10px rgba(0, 0, 0, .6),
    0 50px 70px -36px #000, 0 30px 100px -30px rgba(165, 195, 255, .6), 0 0 80px -25px rgba(240, 175, 255, .5);
}
.mc[data-tier="platinum"] .mcard::before {
  content: ""; position: absolute; z-index: 3; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--spin), #FFFFFF, #9FE6FF, #C9B8FF, #FFB8E8, #FFE7A6, #B8FFD9, #FFFFFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.mc[data-tier="platinum"] .mcard::after {
  mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 32%, rgba(150, 225, 255, .4) 42%, rgba(255, 170, 235, .4) 50%, rgba(255, 235, 170, .32) 58%, transparent 68%) calc(var(--sx) * 1%) 0 / 260% 100% no-repeat;
  animation: holo 5.5s ease-in-out infinite;
}
.mc[data-tier="platinum"]:hover .mcard::after { animation: none; }
@keyframes holo { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.mc[data-tier="platinum"] :is(.mcard__brand, .mcard__tier, .mcard__price, .mcard__pages) {
  background: linear-gradient(100deg, #FFFFFF 0%, #C9D2DE 22%, #F4E6FF 40%, #CDEFFF 58%, #FFFFFF 76%, #D7DEE8 100%) 0 0 / 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  animation: foil 6s linear infinite;
}
@keyframes foil { to { background-position: -220% 0; } }
.mcard__holo {
  position: absolute; z-index: 1; right: 7.5%; top: 41%; width: 48px; height: 32px; border-radius: 6px;
  background: conic-gradient(from var(--spin), #9FE6FF, #C9B8FF, #FFB8E8, #FFE7A6, #B8FFD9, #9FE6FF);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 0 18px rgba(200, 210, 255, .35);
  opacity: .85; animation: spin 4s linear infinite;
}
.mcard__holo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .25) 0 2px, transparent 2px 5px); }
.mc[data-tier="platinum"] .mcard__top img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 0 14px rgba(200, 220, 255, .35); }
.mc[data-tier="platinum"] .mcard__chip {
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(0, 0, 0, .22) 14px 15px), repeating-linear-gradient(0deg, transparent 0 11px, rgba(0, 0, 0, .22) 11px 12px), linear-gradient(135deg, #F7F9FC, #A9B2BE);
}
@media (prefers-reduced-motion: reduce) {
  .mc[data-tier="platinum"] .mcard::before, .mc[data-tier="platinum"] .mcard::after, .mcard__holo,
  .mc[data-tier="platinum"] :is(.mcard__brand, .mcard__tier, .mcard__price, .mcard__pages) { animation: none; }
}


.mc__fee { margin-top: 26px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.mc__for { min-height: 3em; margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.mc__list { display: grid; gap: 10px; margin: 22px 0 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.mc__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.4; }
.mc__list .icon { flex: none; width: 21px; height: 21px; margin-top: -1px; padding: 4px; border-radius: 50%; background: rgba(var(--metal-rgb), .16); color: rgb(var(--metal-rgb)); stroke-width: 2.6; }
.plan__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: auto 0 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan__meta dt { margin-bottom: 5px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.plan__meta dd { margin: 0; font-size: 16px; font-weight: 500; }
.plan__host { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }
.plan__host dd { font-size: 15px; line-height: 1.4; }

/* The promises underneath, in one glass strip */
.plans__trust {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px;
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.plans__trust li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 22px clamp(18px, 2vw, 28px); }
.plans__trust li + li { border-left: 1px solid var(--line); }
.plans__ico { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(var(--gold-rgb), .35); border-radius: 50%; color: var(--gold); }
.plans__ico .icon { width: 20px; height: 20px; }
.plans__trust b { align-self: end; font-size: 15.5px; font-weight: 500; }
.plans__trust li > span:last-child { align-self: start; font-size: 14px; color: var(--muted); }

/* Tablets and phones: a swipe row that opens on Gold; the cards sit flatter */
@media (max-width: 1000px) {
  .plans__head { flex-direction: column; align-items: flex-start; }
  .mc-grid {
    --pro: 104px;
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 380px);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 54px var(--gutter) 20px; scroll-padding-inline: var(--gutter);
  }
  .mc-grid::-webkit-scrollbar { display: none; }
  .mc, .mc[data-tier="gold"] { margin-top: var(--pro); scroll-snap-align: center; }
  .mc[data-tier] .mcard { --bx: 8deg; --by: 0deg; --bz: 0deg; }
  .plans__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans__trust li:nth-child(3) { border-left: 0; }
  .plans__trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .plans__trust { grid-template-columns: minmax(0, 1fr); }
  .plans__trust li + li { border-left: 0; border-top: 1px solid var(--line); }
  .plans__trust li { padding: 18px 20px; }
  .mcard__brand { font-size: 9.5px; }
  .mcard__tier { font-size: 11.5px; }
  .mcard__chip { width: 38px; height: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  .mc[data-tier="gold"], .plans__streaks i::after { animation: none; }
}
