/* ==========================================================================
   Atelier — main.css
   Apple-style exhibition layout. Brand colors arrive as CSS variables from
   brand/brand.json (inc/brand.php); defaults below are the neutral Apple set.

   01 Tokens · 02 Reset · 03 Type · 04 Layout & bands · 05 Controls
   06 Global nav · 07 Mobile nav & search · 08 Announcement · 09 Hero
   10 Tiles · 11 Collections · 12 Rail & product card · 13 Frame & panel
   14 Promise · 15 Pages & prose · 16 Footer · 17 Motion · 18 Responsive
   ========================================================================== */

/* 01 · Tokens -------------------------------------------------------------- */
:root {
  --stage: #000000;
  --chrome: #0e0e0e;
  --panel: #1d1d1f;
  --panel-2: #161617;
  --steel: #333336;
  --slate: #6e6e73;
  --ash: #86868b;
  --text: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-ink: #ffffff;
  --link: #2997ff;
  --glow: rgba(0, 113, 227, .3);
  --light: #ffffff;
  --light-ink: #1d1d1f;

  --font-display: -apple-system, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-text: -apple-system, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;

  --r-tile: 28px;
  --r-nav: 20px;
  --r-pill: 980px;
  --r-capsule: 36px;
  --r-link: 10px;

  --keyline: 0 0 0 1px var(--steel);
  --keyline-2: 0 0 0 1px var(--slate);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --gnav-h: 48px;

  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 02 · Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--gnav-h) + 64px); }
body {
  margin: 0;
  background: var(--stage);
  color: var(--text);
  font: 400 17px/1.47 var(--font-text);
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.ic { flex: none; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--stage); }
.skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.anchor { display: block; position: relative; top: calc(-1 * (var(--gnav-h) + 80px)); visibility: hidden; }
[hidden] { display: none !important; }

/* 03 · Type ---------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.display-xl { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.04; letter-spacing: -.015em; }
.display-l  { font-size: clamp(34px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -.012em; }
.display-m  { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.005em; }
.display-s  { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.eyebrow { margin: 0 0 12px; font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--font-display); color: var(--eyebrow, var(--accent)); letter-spacing: .011em; }
.lede { margin: 18px 0 0; max-width: 40ch; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; color: var(--ash); letter-spacing: .009em; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.muted { color: var(--ash); }
.text-accent { color: var(--accent); }
.text-grad {
  background: linear-gradient(100deg, var(--text) 20%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* 04 · Layout & bands ------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.band { position: relative; padding-block: clamp(64px, 8.5vw, 124px); }
.band-tight { padding-block: clamp(48px, 6vw, 88px); }
.band-stage { background: var(--stage); }
.band-carbon { background: linear-gradient(var(--panel), var(--stage) 320px); }
.band-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 64px); }
.band-head.center { margin-inline: auto; }
.band-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* 05 · Controls ------------------------------------------------------------ */
.pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 0;
  font: 400 17px/1 var(--font-text); letter-spacing: -.022em; white-space: nowrap; text-decoration: none !important;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .45s var(--ease-out);
}
.pill-accent { background: var(--accent); color: var(--accent-ink); }
.pill-accent:hover { background: var(--accent-hover); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--glow); }
.pill-outline { background: transparent; color: var(--text); box-shadow: var(--keyline-2); }
.pill-outline:hover { background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.pill-sm { min-height: 32px; padding: 0 15px; font-size: 14px; }
.capsule {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: var(--r-capsule);
  background: color-mix(in srgb, var(--steel) 55%, transparent); color: color-mix(in srgb, var(--text) 82%, transparent); font-size: 15px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.link-more { display: inline-flex; align-items: center; gap: 4px; color: var(--link); font-size: 17px; }
.link-more .ic { transition: transform .3s var(--ease-out); }
.link-more:hover .ic { transform: translateX(3px); }
.new-marker { display: inline-block; font: 600 12px/16px var(--font-text); color: var(--accent); letter-spacing: -.01em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--r-pill);
  color: var(--text); font-size: 14px; box-shadow: var(--keyline-2); text-decoration: none !important;
  transition: background-color .25s, box-shadow .25s, color .25s;
}
.chip:hover { box-shadow: 0 0 0 1px var(--text); }
.chip.is-on { background: var(--text); color: var(--stage); box-shadow: none; }

/* 06 · Global nav ---------------------------------------------------------- */
.gnav {
  position: sticky; top: 0; z-index: 60; height: var(--gnav-h); border-bottom: 1px solid color-mix(in srgb, var(--text) 7%, transparent);
  background: color-mix(in srgb, var(--stage) 82%, transparent);
  transition: background-color .4s var(--ease);
}
@supports (backdrop-filter: blur(20px)) {
  .gnav { background: color-mix(in srgb, var(--stage) 72%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
}
.gnav-inner { max-width: 1024px; height: 100%; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.gnav-logo { display: inline-flex; align-items: center; flex: none; }
.gnav-logo .logo { width: auto; height: 22px; }
.gnav-links { flex: 1; display: flex; justify-content: center; gap: clamp(18px, 2.8vw, 34px); }
.gnav-links a { position: relative; color: color-mix(in srgb, var(--text) 80%, transparent); font-size: 12.5px; letter-spacing: -.01em; text-decoration: none; transition: color .25s; }
.gnav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.gnav-links a:hover { color: var(--text); }
.gnav-links a:hover::after { transform: scaleX(1); }
.gnav-tools { display: flex; align-items: center; gap: 4px; }
.gnav-btn {
  position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: color-mix(in srgb, var(--text) 80%, transparent); transition: color .25s, background-color .25s;
}
.gnav-btn:hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); text-decoration: none; }
.bag-count {
  position: absolute; right: 2px; bottom: 3px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 99px;
  background: var(--accent); color: var(--accent-ink); font: 600 9.5px/15px var(--font-text); text-align: center;
}
.gnav-menu { display: none; }

/* 07 · Mobile nav & search ------------------------------------------------- */
.mnav {
  position: fixed; inset: var(--gnav-h) 0 0 0; z-index: 59; padding: 24px var(--gutter) 40px;
  background: var(--stage); overflow-y: auto;
}
.mnav nav { display: grid; gap: 4px; max-width: 520px; }
.mnav a { display: block; padding: 10px 0; color: var(--text); font: 600 28px/1.15 var(--font-display); text-decoration: none; opacity: 0; transform: translateY(-8px); animation: mnavIn .5s var(--ease-out) forwards; animation-delay: calc(var(--i) * 40ms + 60ms); }
.mnav a.mnav-sub { font-size: 17px; font-weight: 500; color: var(--ash); margin-top: 18px; }
@keyframes mnavIn { to { opacity: 1; transform: none; } }
body.no-scroll { overflow: hidden; }

.search-layer { position: fixed; inset: 0 0 auto 0; z-index: 70; padding: 14px var(--gutter); background: var(--panel-2); box-shadow: var(--keyline); animation: dropIn .35s var(--ease-out); }
.search-layer form { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; color: var(--ash); }
.search-layer input { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; color: var(--text); font-size: 20px; outline: none; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } }

/* 08 · Announcement -------------------------------------------------------- */
.ann { background: var(--panel); text-align: center; padding: 14px var(--gutter); }
.ann p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text); }
.ann a { display: inline-flex; align-items: center; gap: 2px; }

/* 09 · Hero ---------------------------------------------------------------- */
.stage { position: relative; background: var(--stage); overflow: hidden; }
.hero { --p: 0; min-height: calc(100svh - var(--gnav-h) - 48px); display: grid; place-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(64px, 8vw, 104px); isolation: isolate; }
.hero-inner { display: grid; justify-items: center; gap: clamp(8px, 2vw, 20px); width: 100%; }
.hero-glow {
  position: absolute; left: 50%; top: 34%; z-index: -1; width: min(1100px, 130vw); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(calc(1 + var(--p) * .3));
  background: radial-gradient(closest-side, var(--glow), transparent 70%);
  opacity: calc(.9 - var(--p) * .8); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { filter: brightness(1.25); } }
.hero-object {
  width: min(400px, 62vw, 42svh);
  transform: translateY(calc(var(--p) * -40px)) scale(calc(1 + var(--p) * .16));
  opacity: calc(1 - var(--p) * 1.1);
}
.hero-object img { width: 100%; animation: heroIn 1.6s var(--ease-out) both; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
@keyframes heroIn { from { opacity: 0; transform: scale(.9); filter: blur(8px); } }
/* Transparent logos (no photo background): no vignette mask, a soft brand glow instead. */
.hero-object.is-plain img { -webkit-mask-image: none; mask-image: none; filter: drop-shadow(0 0 60px var(--glow)); }
/* 3D hero (assets/js/hero3d.js) */
.hero-3d { position: relative; width: min(1100px, 100%); height: clamp(340px, 52vh, 560px); transform: translateY(calc(var(--p) * -30px)); }
.hero-3d[data-scene="devices"] { height: clamp(300px, 44vh, 520px); }
.hero-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.2s var(--ease-out); touch-action: pan-y; }
.hero-3d.ready canvas { opacity: 1; }
.hero:has(.hero-3d) { min-height: 0; padding-top: clamp(16px, 3vw, 32px); }
.hero:has(.hero-3d) .hero-inner { display: flex; flex-direction: column-reverse; }
.hero-copy { transform: translateY(calc(var(--p) * 50px)); opacity: calc(1 - var(--p) * 1.3); }
.hero-label { margin: 0 0 10px; font: 600 clamp(22px, 2.6vw, 32px)/1.13 var(--font-display); letter-spacing: .004em; color: var(--text); }
.hero .lede { margin-inline: auto; color: var(--ash); }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 34px; margin-left: -11px; border-radius: 12px; box-shadow: var(--keyline-2); opacity: calc(.8 - var(--p) * 3); }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(10px); } }

/* 10 · Tiles --------------------------------------------------------------- */
.panel-tiles { padding: clamp(12px, 1.6vw, 20px); }
.tiles { display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 32px 28px;
  border-radius: var(--r-tile); background: var(--stage); isolation: isolate;
  transition: transform .6s var(--ease-out), background-color .4s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--glow), transparent 60%);
}
.tile:hover { transform: translateY(-6px); }
.tile:hover::before { opacity: 1; }
.tile-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--panel); color: var(--accent); transition: transform .5s var(--ease-out); }
.tile:hover .tile-ic { transform: scale(1.08) rotate(-4deg); }
.tile-stat { margin: 0; padding-top: 22px; font: 600 clamp(40px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -.01em; color: var(--text); }
.tile-title { font-size: 21px; line-height: 1.19; letter-spacing: .011em; }
.tile-text { margin: 0; font-size: 15px; line-height: 1.42; color: var(--ash); }
.tile-sm { min-height: 0; }
.tile-sm .tile-title { margin-top: 10px; }

/* 11 · Collections --------------------------------------------------------- */
.collections { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collections-1 { grid-template-columns: 1fr; }
.collections-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collection {
  position: relative; display: grid; grid-template-rows: 1fr auto; min-height: clamp(380px, 46vw, 620px); overflow: hidden;
  border-radius: var(--r-tile); background: var(--panel); color: var(--text); text-decoration: none !important; isolation: isolate;
}
.collection-media { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.collection:hover .collection-media img { transform: scale(1.06); }
.collection-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .78)); }
.collection-ic { display: grid; place-items: center; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); color: var(--accent); transition: transform 1s var(--ease-out); }
.collection-ic .ic { width: 96px; height: 96px; }
.collection:hover .collection-ic { transform: scale(1.12); }
.collection-copy { grid-row: 2; padding: clamp(24px, 3vw, 40px); }
.collection-copy h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.collection-copy p { margin: 8px 0 14px; max-width: 36ch; color: var(--ash); font-size: 17px; }
/* text sitting on a photo stays white whatever the page theme */
.collection:has(.collection-media img) { color: #f5f5f7; }
.collection:has(.collection-media img) h3 { color: #fff; }
.collection:has(.collection-media img) .collection-copy p { color: rgba(245, 245, 247, .78); }
.frame-copy, .frame-copy h2, .frame-copy h3 { color: #fff; }
.frame-copy .lede, .frame-copy p { color: rgba(245, 245, 247, .82); }
.frame-copy .eyebrow { color: #fff; opacity: .9; }

/* 12 · Rail & product card ------------------------------------------------- */
.rail { position: relative; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 28vw, 340px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 8px 0 24px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.rail-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--steel); color: var(--text); transition: background-color .25s, opacity .25s; }
.rail-btn:hover { background: var(--slate); }
.rail-btn[data-rail-prev] .ic { transform: rotate(180deg); }
.rail-btn:disabled { opacity: .35; cursor: default; }

.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--stage); overflow: hidden; transition: transform .6s var(--ease-out); }
.band-stage .pcard, .pgrid .pcard { background: var(--panel); }
.pcard:hover { transform: translateY(-6px); }
.pcard-media { position: relative; display: block; aspect-ratio: 1 / 1.08; overflow: hidden; background: #fff; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.1s var(--ease-out); }
.pcard-img-alt { opacity: 0; }
.pcard:hover .pcard-img { transform: scale(1.05); }
.pcard:hover .pcard-img-alt { opacity: 1; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; flex: 1; }
.pcard-cat { font-size: 12px; color: var(--ash); text-transform: uppercase; letter-spacing: .08em; }
.pcard-title { font-size: 19px; line-height: 1.21; letter-spacing: .012em; }
.pcard-title a { color: var(--text); text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; }
.pcard-foot { position: relative; z-index: 1; margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-price { font-size: 15px; color: var(--text); }
.pcard-price del { color: var(--ash); margin-right: 6px; }
.pcard-price ins { text-decoration: none; }

.soon-panel { display: grid; justify-items: center; gap: 12px; padding: clamp(48px, 8vw, 96px) 24px; border-radius: var(--r-tile); background: var(--stage); text-align: center; box-shadow: var(--keyline); }
.soon-panel h3 { font-size: clamp(24px, 2.6vw, 32px); }
.soon-panel p { margin: 0; color: var(--ash); max-width: 46ch; }

/* 13 · Frame & panel ------------------------------------------------------- */
.frame { --py: 0; position: relative; overflow: hidden; display: grid; align-items: end; min-height: clamp(420px, 56vw, 680px); border-radius: var(--r-tile); background: var(--panel); isolation: isolate; }
.frame-img { position: absolute; inset: -8% 0; z-index: -1; width: 100%; height: 116%; object-fit: cover; transform: translateY(calc(var(--py) * 1px)); }
.frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 30%, rgba(0, 0, 0, .82)); }
.frame-copy { padding: clamp(28px, 5vw, 64px); max-width: 760px; }
.frame-copy .pill { margin-top: 24px; }
.panel { padding: clamp(28px, 5vw, 64px); border-radius: var(--r-tile); background: var(--panel); }
.cmp-mini { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmp-mini-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.cmp-col { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 24px; border-radius: var(--r-tile); background: var(--stage); text-align: center; }
.cmp-col-media { display: block; width: 72%; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; }
.cmp-col-media img { width: 100%; height: 100%; object-fit: cover; }
.cmp-col h3 { font-size: 21px; }
.cmp-price { margin: 0; color: var(--text); }
.cmp-col ul { list-style: none; margin: 8px 0 12px; padding: 0; width: 100%; }
.cmp-col li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--steel); font-size: 14px; }
.cmp-col li span { color: var(--ash); font-size: 12px; }

/* 14 · Promise ------------------------------------------------------------- */
.promise { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promise-item { padding: 28px; border-radius: var(--r-tile); background: var(--panel); color: var(--accent); }
.promise-item h3 { margin: 14px 0 6px; font-size: 19px; }
.promise-item p { margin: 0; color: var(--ash); font-size: 15px; line-height: 1.42; }

/* 15 · Pages & prose ------------------------------------------------------- */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(28px, 4vw, 48px); }
.page-hero-sm { padding-block: clamp(36px, 5vw, 64px) 12px; }
.prose-wrap, .list-wrap { padding-bottom: clamp(80px, 10vw, 140px); }
.flow-wrap { padding-bottom: clamp(64px, 8vw, 112px); }
.prose { max-width: 720px; font-size: 17px; line-height: 1.6; color: color-mix(in srgb, var(--text) 88%, transparent); }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { margin: 1.5em 0 .4em; font-size: 21px; }
.prose a { color: var(--link); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--ash); }
.post-list { display: grid; gap: 14px; }
.post-row { padding: 24px 28px; border-radius: var(--r-tile); background: var(--panel); }
.post-row h2 { font-size: 24px; }
.post-row h2 a { color: var(--text); }
.post-row p { margin: 8px 0 0; color: var(--ash); }
.stage-404 { padding-block: clamp(96px, 14vw, 200px); }

/* 16 · Footer -------------------------------------------------------------- */
.site-footer { background: var(--panel); color: var(--ash); font-size: 12px; line-height: 1.5; padding-block: 48px 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--steel); }
.footer-brand .logo-footer { width: auto; height: 22px; margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 34ch; font-size: 13px; }
.footer-col h4 { margin-bottom: 10px; font: 600 12px/1.4 var(--font-text); color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ash); }
.footer-col a:hover { color: var(--text); }
.footer-legal { padding-top: 20px; display: grid; gap: 8px; }
.footer-legal p { margin: 0; }

/* 17 · Motion -------------------------------------------------------------- */
/* Content is visible without JS; .js enables the entrance animations. */
.js .intro { opacity: 0; transform: translateY(24px); animation: introIn 1.1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes introIn { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(36px) scale(.985); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.magnetic { transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s; }

@media (prefers-reduced-motion: reduce) {
  .js .intro, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-glow, .scroll-cue span { animation: none; }
  .hero-object, .hero-copy { transform: none !important; opacity: 1 !important; }
}

/* 18 · Responsive ---------------------------------------------------------- */
@media (max-width: 1068px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 833px) {
  :root { --gnav-h: 48px; }
  .hero-object { width: min(300px, 70vw, 36svh); }
  .gnav-links { display: none; }
  .gnav-tools { margin-left: auto; }
  .gnav-menu { display: inline-grid; }
  .hide-sm { display: none !important; }
  .collections, .collections-3, .promise, .cmp-mini, .cmp-mini-2 { grid-template-columns: 1fr; }
  .tiles-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .tiles, .tiles-3, .tiles-2 { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .tile-stat { padding-top: 16px; }
  .footer-top { grid-template-columns: 1fr; }
  .rail-track { grid-auto-columns: 78%; }
  .cta-row .capsule { width: 100%; justify-content: center; }
}

/* 22 · apple.com home structure (template-parts/home/tiles.php) ------------
   Dark global nav, full-width tiles stacked with 12px white gaps, then a two-up grid.
   Copy centered at the top (title, subhead, two pill buttons), the product below. */
.gnav { --text: #f5f5f7; border-bottom: 0; background: rgba(22, 22, 23, .92); }
@supports (backdrop-filter: blur(20px)) { .gnav { background: rgba(22, 22, 23, .8); } }
.gnav-links a { font-size: 12px; color: #e8e8ed; opacity: .82; }
.gnav-links a:hover { opacity: 1; }

.hero:has(.hero-3d) { background: linear-gradient(180deg, #fff 0%, var(--panel) 100%); padding-bottom: clamp(40px, 5vw, 64px); }
.hero:has(.hero-3d) .hero-glow, .hero:has(.hero-3d) .scroll-cue { display: none; }
.hero:has(.hero-3d) .capsule { display: none; }
.hero-dark, .hero.hero-dark:has(.hero-3d) { --text: #f5f5f7; --ash: #a1a1a6; --keyline-2: inset 0 0 0 1px rgba(245, 245, 247, .6); background: radial-gradient(90% 70% at 50% 75%, #0b2f5c 0%, #04101f 62%); }
.hero-dark .hero-label { color: var(--eyebrow); }
.hero-dark .pill-accent { --accent: #d2a744; --accent-hover: #e0bb62; --accent-ink: #04101f; }

.ats { display: grid; gap: 12px; padding-bottom: 12px; background: #fff; }
.at { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--panel); color: var(--text); }
.at-full { min-height: 692px; padding-top: 56px; }
.at-half { min-height: 580px; padding-top: 48px; }
.at-copy { position: relative; z-index: 2; padding-inline: var(--gutter); max-width: 900px; }
.at-eyebrow { margin: 0 0 8px; font: 600 15px/1.2 var(--font-text); color: var(--eyebrow, var(--accent)); }
.at-title { margin: 0; font: 600 56px/1.07 var(--font-display); letter-spacing: -.005em; text-wrap: balance; }
.at-half .at-title { font-size: 40px; line-height: 1.1; }
.at-sub { margin: 8px auto 0; max-width: 34ch; font: 400 28px/1.14 var(--font-display); letter-spacing: .007em; text-wrap: balance; }
.at-half .at-sub { font-size: 21px; line-height: 1.2; }
.at-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 20px; }
.at-half .pill { min-height: 38px; padding: 0 17px; font-size: 15px; }
.at-note { margin: 14px 0 0; font-size: 15px; color: var(--ash); }
.at-note del { opacity: .6; margin-right: 6px; }
.at-note ins { text-decoration: none; }
.at-media { position: relative; flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; padding: 24px var(--gutter) 40px; }
.at-img { width: auto; height: auto; max-width: min(84%, 720px); max-height: 460px; object-fit: contain; mix-blend-mode: multiply; transition: transform 1.2s var(--ease-out); }
.at-half .at-img { max-height: 330px; max-width: 74%; }
.at:hover .at-img { transform: scale(1.03); }
/* screenshot tiles (website models): a framed browser shot, no multiply blend */
.at-media .at-shot { max-width: min(92%, 860px); max-height: none; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; mix-blend-mode: normal; border-radius: 14px; box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -24px rgba(0, 0, 0, .35); }
.at-half .at-shot { max-width: 88%; }

.at-gray { background: #f5f5f7; }
.at-white { background: #fbfbfd; }
.at-warm { background: #f6efe6; }
.at-cool { background: #e8eef5; }
.at-dark { --text: #f5f5f7; --ash: #86868b; --keyline-2: inset 0 0 0 1px rgba(245, 245, 247, .7); background: #000; }
.at-navy { --text: #f5f5f7; --ash: #a1a1a6; --keyline-2: inset 0 0 0 1px rgba(245, 245, 247, .7); background: #04101f; }
.at-navy .pill-accent { --accent: #d2a744; --accent-hover: #e0bb62; --accent-ink: #04101f; }
.at-dark .at-title em, .at-navy .at-title em { font-style: normal; color: var(--eyebrow-dark, var(--eyebrow, var(--accent))); }
.at-dark .at-eyebrow, .at-navy .at-eyebrow { color: var(--eyebrow-dark, var(--eyebrow, var(--accent))); }

.at-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; width: min(100%, 560px); }
.at-stats div { display: grid; gap: 8px; }
.at-stats b { white-space: nowrap; font: 600 clamp(32px, 4vw, 48px)/1 var(--font-display); letter-spacing: -.02em; background: linear-gradient(180deg, #fff, #8e8e93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.at-stats span { font-size: 14px; color: var(--ash); }
.at-trio { display: flex; align-items: flex-end; justify-content: center; gap: 4%; width: min(100%, 480px); }
.at-trio img { width: 30%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.at-trio img:nth-child(2) { width: 36%; transform: translateY(-10px); }
.at-icon { color: var(--eyebrow, var(--accent)); opacity: .9; }
.at-icon svg { width: clamp(120px, 16vw, 180px); height: auto; stroke-width: 1; }

.at-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-inline: 12px; }

@media (max-width: 1068px) {
  .at-full { min-height: 600px; }
  .at-title { font-size: 48px; }
  .at-sub { font-size: 24px; }
  .at-half .at-title { font-size: 32px; }
  .at-half .at-sub { font-size: 19px; }
}
@media (max-width: 734px) {
  .ats { gap: 10px; }
  .at-full, .at-half { min-height: 0; padding-top: 40px; }
  .at-title, .at-half .at-title { font-size: 32px; line-height: 1.12; }
  .at-sub, .at-half .at-sub { font-size: 19px; line-height: 1.25; }
  .at-ctas { gap: 10px; margin-top: 16px; }
  .at .pill { min-height: 38px; padding: 0 17px; font-size: 15px; }
  .at-media { padding: 20px 16px 32px; }
  .at-img, .at-half .at-img { max-height: 260px; max-width: 80%; }
  .at-grid { grid-template-columns: 1fr; gap: 10px; padding-inline: 0; }
  .at-stats b { font-size: 30px; }
}
/* 3D hero: product centered like MoorPicks; white 12px strip under the hero before the first tile */
.hero:has(.hero-3d) .hero-inner { align-items: center; }
.hero:has(.hero-3d) .hero-3d { margin-inline: auto; height: clamp(380px, 58vh, 620px); }
.ats { padding-top: 12px; }
/* Black product stage, like MoorPicks: small eyebrow, product-size headline, note under the buttons */
.hero-black, .hero.hero-black:has(.hero-3d) { --text: #f5f5f7; --ash: #a1a1a6; --keyline-2: inset 0 0 0 1px rgba(245, 245, 247, .7); background: radial-gradient(60% 55% at 50% 78%, #2c2c2e 0%, #121213 45%, #000 75%); }
.hero-black .hero-label { margin-bottom: 8px; font: 600 15px/1.2 var(--font-text); letter-spacing: .02em; color: var(--eyebrow-dark, var(--eyebrow, var(--accent))); }
.hero-black .display-xl { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.07; }
.hero-black .lede { font-size: clamp(19px, 2vw, 26px); color: #f5f5f7; max-width: 32ch; }
.hero-black .cta-row { margin-top: 22px; }
.hero.hero-black:has(.hero-3d) .capsule { display: inline-flex; order: 3; flex-basis: 100%; justify-content: center; min-height: 0; padding: 4px 0 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #86868b; font-size: 15px; }

/* 23 · Floating "Message us" (inc/contact.php) ----------------------------- */
.contact-fab-wrap { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 58; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
body.single-product .contact-fab-wrap { bottom: calc(88px + env(safe-area-inset-bottom)); }
.contact-fab { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: var(--r-pill, 980px); background: var(--accent); color: var(--accent-ink); font: 500 15px/1 var(--font-text); letter-spacing: -.01em; cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .35); transition: transform .3s var(--ease-out), background-color .3s; }
.contact-fab:hover { background: var(--accent-hover); transform: translateY(-2px); }
.contact-fab-wrap.is-open .contact-fab span { display: none; }
.contact-panel { width: min(360px, calc(100vw - 32px)); padding: 18px; border-radius: 22px; background: #fff; color: #1d1d1f; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .06); animation: dropIn .3s var(--ease-out); }
.contact-panel[hidden] { display: none; }
.contact-head { display: flex; align-items: center; justify-content: space-between; }
.contact-head b { font: 600 19px/1.2 var(--font-display); }
.contact-head .gnav-btn { color: #6e6e73; }
.contact-lede { margin: 4px 0 12px; font-size: 14px; color: #6e6e73; }
.contact-panel form { display: grid; gap: 10px; }
.contact-panel label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: #1d1d1f; }
.contact-panel input, .contact-panel textarea { width: 100%; padding: 10px 12px; border: 1px solid #d2d2d7; border-radius: 12px; background: #fbfbfd; color: #1d1d1f; font: 400 15px/1.4 var(--font-text); resize: vertical; }
.contact-panel input:focus, .contact-panel textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact-panel .pill { justify-self: start; }
.contact-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin: 0; min-height: 1.2em; font-size: 13px; color: #6e6e73; }
.contact-status.is-ok { color: #1d8348; }
.contact-status.is-error { color: #d70015; }
.contact-alt { margin: 10px 0 0; font-size: 12px; color: #86868b; }
.contact-alt a { color: inherit; text-decoration: underline; }
@media (max-width: 560px) {
  .contact-fab { padding: 0 14px; min-height: 46px; }
  .contact-fab span { display: none; }
  .contact-fab-wrap { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  body.single-product .contact-fab-wrap { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* 30 · Pricing (template-parts/home/pricing.php) ----------------------------- */
.pricing + .pricing { padding-top: 0; }
.pricing-head { text-align: center; }
.pricing-head .kicker { display: block; text-align: center; }
.pricing-lede { max-width: 640px; margin: 14px auto 0; color: var(--ash); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; }
.pricing-switch { display: flex; width: max-content; margin: 0 auto clamp(28px, 4vw, 44px); padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--panel); box-shadow: var(--keyline); }
.pricing-switch button { min-height: 38px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ash); font: 500 15px/1 var(--font-text); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.pricing-switch button.is-on { background: var(--stage); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.pricing-save { white-space: nowrap; margin-left: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 12px; font-weight: 600; }
.pricing-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); align-items: stretch; }
.pricing-n2 { max-width: 820px; margin-inline: auto; }
.pricing-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-tile); background: var(--panel); box-shadow: var(--keyline); }
.pricing-card.is-featured { background: var(--stage); box-shadow: 0 0 0 2px var(--accent), 0 18px 50px var(--glow); }
.pricing-badge { position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.pricing-name { margin: 0; padding-right: 90px; font: 600 clamp(21px, 2vw, 24px)/1.15 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.pricing-desc { margin: 0; color: var(--ash); font-size: 15px; line-height: 1.45; }
.pricing-price { display: flex; flex-direction: column; gap: 4px; padding-block: 6px; }
.pricing-amount { font: 700 clamp(36px, 4vw, 46px)/1 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.pricing-amount small { margin-left: 3px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ash); }
.pricing-amount[hidden], .pricing-actions [hidden] { display: none !important; }
.pricing-setup { color: var(--ash); font-size: 14px; }
.pricing-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; }
.pricing-features li { display: flex; gap: 9px; align-items: flex-start; color: var(--text); font-size: 15px; line-height: 1.4; }
.pricing-features li svg { flex: none; margin-top: 2px; color: var(--accent); }
.pricing-actions { display: flex; margin-top: 6px; }
.pricing-actions .pill { width: 100%; }
.pricing-note { margin: 0; color: var(--ash); font-size: 13px; line-height: 1.4; text-align: center; }
.pricing-foot { max-width: 760px; margin: clamp(22px, 3vw, 34px) auto 0; color: var(--ash); font-size: 14px; line-height: 1.5; text-align: center; }
@media (max-width: 640px) {
  .pricing-switch { width: 100%; }
  .pricing-switch button { flex: 1; padding: 0 8px; white-space: nowrap; font-size: 14px; }
  .pricing-save { margin-left: 4px; padding: 2px 6px; font-size: 11px; }
  .pricing-name { padding-right: 0; }
  .pricing-badge { position: static; align-self: flex-start; }
}

/* ==========================================================================
   30b · Guide (template-parts/home/guide.php): steps, feature cards, FAQ
   ========================================================================== */
.guide { padding-block: clamp(56px, 8vw, 110px); }
.guide + .guide { padding-top: 0; }
.guide-head { text-align: center; }
.guide-head .kicker { display: block; text-align: center; }
.guide-lede { max-width: 680px; margin: 14px auto 0; color: var(--ash); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; }
.guide-grid { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.guide-steps .guide-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.guide-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-tile); background: var(--panel); box-shadow: var(--keyline); }
.guide-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.guide-num { font: 400 clamp(36px, 3.4vw, 48px)/1 var(--font-display); color: var(--accent); letter-spacing: .02em; }
.guide-ic { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.guide-badge { padding: 4px 10px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink, #fff); font: 700 11px/1.3 var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.guide-card h3 { margin: 4px 0 0; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.25; }
.guide-card p { margin: 0; color: var(--ash); font-size: 15.5px; line-height: 1.55; }
.guide-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.guide-points li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.guide-points li svg { margin-top: 3px; color: var(--accent); }
.guide-faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.guide-q { border-radius: 20px; background: var(--panel); box-shadow: var(--keyline); }
.guide-q summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
.guide-q summary::-webkit-details-marker { display: none; }
.guide-q summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); transition: transform .3s var(--ease); }
.guide-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.guide-a { padding: 0 24px 22px; color: var(--ash); font-size: 15.5px; line-height: 1.6; }
.guide-a p { margin: 0 0 10px; }
.guide-a ul { margin: 0; padding-left: 20px; }
.guide-foot { max-width: 760px; margin: clamp(22px, 3vw, 34px) auto 0; color: var(--ash); font-size: 14px; line-height: 1.5; text-align: center; }

/* ==========================================================================
   31 · "gloss3d" effect (brand.json → "fx": "gloss3d" → body.fx-gloss3d):
        colored backdrop on every page + glossy 3D cards (tiles, plans, promises, forms)
   ========================================================================== */
body.fx-gloss3d {
  --fx-shadow: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 -1px 0 rgba(16, 34, 74, .06) inset, 0 46px 80px -34px rgba(16, 34, 74, .55), 0 16px 32px -14px rgba(16, 34, 74, .32);
  --fx-shadow-sm: 0 1px 0 rgba(255, 255, 255, .95) inset, 0 30px 50px -28px rgba(16, 34, 74, .5), 0 10px 22px -12px rgba(16, 34, 74, .28);
  --fx-shadow-dark: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 46px 80px -34px rgba(5, 12, 35, .8), 0 16px 32px -14px rgba(5, 12, 35, .55);
  --fx-card: linear-gradient(160deg, #ffffff 0%, #f5f8fd 45%, #e1e9f6 100%);
  --fx-card-dark: linear-gradient(180deg, #172036 0%, #080c17 100%);
  --fx-sheen: linear-gradient(125deg, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, .2) 18%, rgba(255, 255, 255, 0) 38%), radial-gradient(140% 55% at 50% -12%, rgba(255, 255, 255, .7), transparent 62%);
  --fx-sheen-dark: linear-gradient(125deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .06) 20%, rgba(255, 255, 255, 0) 40%), radial-gradient(140% 55% at 50% -12%, rgba(120, 160, 255, .28), transparent 62%);
  background:
    radial-gradient(1100px 620px at 12% 0%, rgba(37, 99, 235, .22), transparent 62%),
    radial-gradient(900px 560px at 92% 28%, rgba(124, 58, 237, .14), transparent 60%),
    radial-gradient(1000px 700px at 50% 100%, rgba(14, 165, 233, .16), transparent 65%),
    linear-gradient(180deg, #e6ecf7 0%, #d3ddee 42%, #dfe6f2 100%) fixed;
}
body.fx-gloss3d .site-main,
body.fx-gloss3d .page-hero,
body.fx-gloss3d .ats,
body.fx-gloss3d .band,
body.fx-gloss3d .band-stage,
body.fx-gloss3d .section,
body.fx-gloss3d .res-hero,
body.fx-gloss3d .hero.stage { background: transparent; }
body.fx-gloss3d .site-footer { background: rgba(255, 255, 255, .35); border-top: 1px solid rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Big tiles (apps, models, services, home) */
body.fx-gloss3d .ats { gap: 30px; padding-top: 30px; padding-bottom: 48px; }
body.fx-gloss3d .at {
  border-radius: 30px; isolation: isolate;
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  border: 1px solid rgba(255, 255, 255, .85);
  background: var(--fx-card);
  box-shadow: var(--fx-shadow);
}
body.fx-gloss3d .at-dark, body.fx-gloss3d .at-navy, body.fx-gloss3d .at-black { border-color: rgba(255, 255, 255, .16); background: var(--fx-card-dark); box-shadow: var(--fx-shadow-dark); }
body.fx-gloss3d .at:hover { --ty: -8px; }

/* Gloss + moving light, shared by every 3D card */
body.fx-gloss3d .at::before,
body.fx-gloss3d .pricing-card::before,
body.fx-gloss3d .promise-item::before,
body.fx-gloss3d .gold-card::before,
body.fx-gloss3d .res-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: var(--fx-sheen); opacity: .85;
}
body.fx-gloss3d .at-dark::before, body.fx-gloss3d .at-navy::before, body.fx-gloss3d .at-black::before, body.fx-gloss3d .gold-card::before { background: var(--fx-sheen-dark); opacity: 1; }
body.fx-gloss3d .at::after,
body.fx-gloss3d .pricing-card::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none; width: 520px; height: 520px; border-radius: 50%;
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0));
  opacity: var(--shine, 0); transition: opacity .4s;
}
body.fx-gloss3d .at-dark::after { background: radial-gradient(closest-side, rgba(140, 180, 255, .22), rgba(140, 180, 255, 0)); }
body.fx-gloss3d .at-copy, body.fx-gloss3d .at-media { position: relative; z-index: 2; }

/* Website / app screenshots: a glossy screen standing in 3D */
body.fx-gloss3d .at-media { perspective: 1500px; }
body.fx-gloss3d .at-media .at-shot {
  transform: rotateX(9deg) translateY(4px); transform-origin: 50% 100%;
  border-radius: 18px; outline: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 60px 90px -36px rgba(10, 25, 60, .65), 0 22px 34px -20px rgba(10, 25, 60, .5);
  transition: transform .9s var(--ease-out), box-shadow .9s var(--ease-out);
}
body.fx-gloss3d .at:hover .at-shot { transform: rotateX(0deg) translateY(-4px) scale(1.015); }

/* Price plans */
body.fx-gloss3d .pricing-card {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 26px;
  background: var(--fx-card); box-shadow: var(--fx-shadow-sm);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
body.fx-gloss3d .pricing-card > *:not(.pricing-badge) { position: relative; z-index: 2; }
body.fx-gloss3d .pricing-badge { z-index: 3; }
body.fx-gloss3d .pricing-card:hover { --ty: -6px; box-shadow: var(--fx-shadow); }
body.fx-gloss3d .pricing-card.is-featured { border: 2px solid var(--accent); box-shadow: 0 0 0 6px rgba(37, 99, 235, .12), var(--fx-shadow); }
body.fx-gloss3d .pricing-switch { background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--fx-shadow-sm); }

/* Promise row, resource cards, form and text pages */
body.fx-gloss3d .guide-card,
body.fx-gloss3d .guide-q {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85); background: var(--fx-card); box-shadow: var(--fx-shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
body.fx-gloss3d .guide-card { border-radius: 24px; }
body.fx-gloss3d .guide-card::before, body.fx-gloss3d .guide-q::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; background: var(--fx-sheen); opacity: .7;
}
body.fx-gloss3d .guide-card > *, body.fx-gloss3d .guide-q > * { position: relative; z-index: 1; }
body.fx-gloss3d .guide-card:hover { transform: translateY(-5px); box-shadow: var(--fx-shadow); }
body.fx-gloss3d .promise-item,
body.fx-gloss3d .res-card {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 24px;
  background: var(--fx-card); box-shadow: var(--fx-shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
body.fx-gloss3d .promise-item > *, body.fx-gloss3d .res-card > * { position: relative; z-index: 2; }
body.fx-gloss3d .promise-item:hover, body.fx-gloss3d .res-card:hover { transform: translateY(-5px); box-shadow: var(--fx-shadow); }
body.fx-gloss3d .gold-card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); background: var(--fx-card-dark); box-shadow: var(--fx-shadow-dark); }
body.fx-gloss3d .gold-card > * { position: relative; z-index: 2; }
body.fx-gloss3d .prose-wrap .prose,
body.fx-gloss3d .flow-wrap {
  padding: clamp(24px, 4vw, 48px); border-radius: 28px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--fx-shadow-sm);
}
body.fx-gloss3d .pcard { border: 1px solid rgba(255, 255, 255, .85); background: var(--fx-card); box-shadow: var(--fx-shadow-sm); }
body.fx-gloss3d .pcard:hover { box-shadow: var(--fx-shadow); }

/* Home bento tiles + stats band */
body.fx-gloss3d .bt {
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 28px; box-shadow: var(--fx-shadow-sm);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
body.fx-gloss3d .bt:hover { --ty: -6px; box-shadow: var(--fx-shadow); }
body.fx-gloss3d .bt-product, body.fx-gloss3d .bt-light { background: var(--fx-card); }
body.fx-gloss3d .bt-dark { background: var(--fx-card-dark); border-color: rgba(255, 255, 255, .16); box-shadow: var(--fx-shadow-dark); }
body.fx-gloss3d .bt-accent { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 80%, #fff) 0%, var(--accent) 55%, color-mix(in srgb, var(--accent) 75%, #000) 100%); border-color: rgba(255, 255, 255, .35); }
body.fx-gloss3d .bt::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: var(--fx-sheen); opacity: .8;
}
body.fx-gloss3d .bt-dark::before { background: var(--fx-sheen-dark); opacity: 1; }
body.fx-gloss3d .bt::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none; width: 460px; height: 460px; border-radius: 50%;
  left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
  opacity: var(--shine, 0); transition: opacity .4s;
}
body.fx-gloss3d .bt > *:not(.bt-icon) { position: relative; z-index: 2; }
body.fx-gloss3d .bt-icon { z-index: 2; }
body.fx-gloss3d .bt-shot img, body.fx-gloss3d .bt-media.bt-shot img { border-radius: 14px; box-shadow: 0 2px 0 rgba(255, 255, 255, .5) inset, 0 40px 60px -30px rgba(10, 25, 60, .6); }
body.fx-gloss3d .stats-band { background: rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, .8); }

/* Footer wordmark: glossy extruded 3D letters with a light sweep */
body.fx-gloss3d .footer-word {
  -webkit-text-stroke: 0; color: transparent;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, #ffffff 0%, #d6e4ff 28%, #6f9cf5 58%, #1f56e0 100%);
  background-size: 260% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  filter:
    drop-shadow(0 1.5px 0 #2a5fe0) drop-shadow(0 1.5px 0 #2050cc) drop-shadow(0 1.5px 0 #1b43b0)
    drop-shadow(0 1.5px 0 #173894) drop-shadow(0 1.5px 0 #132d78) drop-shadow(0 26px 26px rgba(15, 30, 80, .42));
  transform: perspective(1000px) rotateX(16deg); transform-origin: 50% 100%;
  animation: fx-word-shine 7s var(--ease-out) infinite;
  padding-bottom: .04em;
}
@keyframes fx-word-shine {
  0%, 55% { background-position: 120% 0, 0 0; }
  100% { background-position: -40% 0, 0 0; }
}

@media (max-width: 734px) {
  body.fx-gloss3d .ats { gap: 18px; }
  body.fx-gloss3d .at { border-radius: 24px; transform: none; }
  body.fx-gloss3d .pricing-card, body.fx-gloss3d .bt { transform: none; }
  body.fx-gloss3d .at-media .at-shot { transform: rotateX(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  body.fx-gloss3d .at, body.fx-gloss3d .pricing-card, body.fx-gloss3d .at-media .at-shot,
  body.fx-gloss3d .promise-item, body.fx-gloss3d .res-card { transform: none !important; transition: none; }
  body.fx-gloss3d .at::after, body.fx-gloss3d .pricing-card::after, body.fx-gloss3d .bt::after { display: none; }
  body.fx-gloss3d .bt { transform: none !important; transition: none; }
  body.fx-gloss3d .footer-word { animation: none; }
}
