/* =========================================================
   Notch Studio — website studio
   ========================================================= */
:root {
  --paper: #ECEEF4;
  --paper-2: #F7F8FB;
  --white: #FFFFFF;
  --ink: #16143B;
  --ink-2: #2A2860;
  --ink-soft: #34355C;
  --line: rgba(22, 20, 59, 0.12);
  --cobalt: #3B4BFF;
  --cobalt-deep: #2633D6;
  --peach: #FF9F80;
  --sky: #A9B6FF;

  --f-display: "Syne", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow-3d: 0 40px 80px -30px rgba(22, 20, 59, 0.45), 0 18px 30px -18px rgba(22, 20, 59, 0.35);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--f-display); line-height: 1.02; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--ink-soft); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 0 6px 0 -1px rgba(22,20,59,.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 0 -2px rgba(22,20,59,.22); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 -1px rgba(22,20,59,.25); }
.btn-cobalt { --bg: var(--cobalt); }
.btn-cobalt:hover { --bg: var(--cobalt-deep); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); --bg: var(--white); }
.on-dark .btn-ghost { --fg: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.on-dark .btn-ghost:hover { --bg: rgba(255,255,255,.08); }
.btn-light { --bg: var(--white); --fg: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 50;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px;
  background: rgba(247, 248, 251, .72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(22,20,59,.4);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .5em 1em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(22,20,59,.07); }
.nav .btn { padding: .7em 1.2em; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .3s var(--ease), opacity .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links, .nav .btn-nav { display: none; }
  .nav.open .nav-inner { border-radius: 26px; flex-wrap: wrap; }
  .nav.open .nav-links { display: flex; flex-direction: column; width: 100%; order: 3; padding: 8px 0 4px; }
  .nav.open .nav-links a { padding: .8em 1em; font-size: 1.05rem; }
  .nav.open .btn-nav { display: inline-flex; order: 4; margin: 0 0 8px 6px; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Browser mockups (shared) ---------- */
.browser {
  container-type: inline-size;
  background: var(--m-bg, #fff);
  border-radius: 1.4% / 2.2%;
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 1px solid rgba(22,20,59,.08);
  aspect-ratio: 16 / 10.4;
  display: flex; flex-direction: column;
  font-family: var(--f-body);
  color: var(--m-ink, #111);
  text-align: left;
}
.b-bar {
  flex: none; display: flex; align-items: center; gap: .9cqw;
  height: 5.4cqw; padding: 0 2cqw;
  background: #F3F4F8; border-bottom: 1px solid rgba(0,0,0,.06);
}
.b-bar i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #D9DBE5; }
.b-bar i:nth-child(1) { background: #FF8A7A; }
.b-bar i:nth-child(2) { background: #FFCE5C; }
.b-bar i:nth-child(3) { background: #6FDB8C; }
.b-url {
  margin-left: 2cqw; flex: 1; max-width: 50%;
  height: 3cqw; border-radius: 99px; background: #fff;
  font-size: 1.55cqw; line-height: 3cqw; padding: 0 1.6cqw; color: #7A7C93;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.b-screen { flex: 1; padding: 2.4cqw 4cqw 3cqw; display: flex; flex-direction: column; gap: 3cqw; overflow: hidden; position: relative; }

.m-nav { display: flex; align-items: center; gap: 3cqw; font-size: 1.7cqw; }
.m-logo { font-family: var(--m-font, inherit); font-weight: 700; font-size: 2.3cqw; letter-spacing: -.01em; white-space: nowrap; }
.m-links { display: flex; gap: 2.4cqw; margin-left: auto; opacity: .7; white-space: nowrap; }
.m-btn {
  display: inline-block; background: var(--m-acc); color: var(--m-on-acc, #fff);
  padding: .8cqw 1.8cqw; border-radius: var(--m-radius, 99px); font-weight: 700; font-size: 1.6cqw; white-space: nowrap;
}
.m-kicker { font-size: 1.5cqw; font-weight: 700; color: var(--m-acc); display: block; margin-bottom: 1.2cqw; }
.m-copy h4 { font-family: var(--m-font, inherit); font-size: 5.1cqw; line-height: 1; margin: 0 0 1.8cqw; letter-spacing: -.02em; font-weight: var(--m-weight, 700); }
.m-copy p { font-size: 1.7cqw; line-height: 1.45; opacity: .72; margin-bottom: 2.2cqw; max-width: 30ch; }
.m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.m-card { background: var(--m-card, rgba(0,0,0,.04)); border-radius: var(--m-radius-sm, 1.2cqw); padding: 1.2cqw; font-size: 1.5cqw; }
.m-thumb { display: block; height: 7cqw; border-radius: .8cqw; margin-bottom: 1cqw; background: var(--m-thumb, color-mix(in srgb, var(--m-acc) 35%, var(--m-bg))); position: relative; overflow: hidden; }
.m-card b { display: block; font-weight: 700; }
.m-card small { display: flex; justify-content: space-between; opacity: .65; font-size: 1.35cqw; }

/* hero art variants */

/* phone variant */
.phone {
  container-type: inline-size;
  aspect-ratio: 9 / 18.5;
  border-radius: 16% / 7.8%;
  position: relative;
  background: #1C1B3A;
  box-shadow: var(--shadow-3d);
}
.phone .p-screen {
  position: absolute; inset: 1.9% 4%; border-radius: 13% / 6.2%; overflow: hidden;
  background: var(--m-bg); color: var(--m-ink);
  padding: 14cqw 7cqw 7cqw; display: flex; flex-direction: column; gap: 6cqw;
}
.phone .p-screen::before { content: ""; position: absolute; top: 4cqw; left: 50%; translate: -50% 0; width: 30cqw; height: 6cqw; border-radius: 99px; background: #1C1B3A; }
.phone .m-logo { font-size: 7cqw; }
.phone .m-copy h4 { font-family: var(--m-font, inherit); font-size: 13cqw; line-height: 1; margin: 0; letter-spacing: -.02em; }
.phone .m-btn { font-size: 5.4cqw; padding: 3.4cqw 6cqw; text-align: center; }

/* ---------- Section rhythm ---------- */
.section { padding-block: clamp(80px, 12vw, 160px); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 46rem; }
.on-dark { background: var(--ink); color: var(--white); }
.on-dark .lede { color: #DCDDF6; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh;
  padding-top: clamp(120px, 15vh, 170px); padding-bottom: 60px;
  display: grid; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 80% 40%, rgba(59,75,255,.18), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(255,159,128,.25), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.hero-copy { display: grid; gap: 28px; position: relative; z-index: 2; }
.hero h1 { max-width: 9ch; font-size: clamp(2.8rem, 5.8vw, 5.6rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: .95rem; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--paper); margin-left: -10px; display: grid; place-items: center; font-weight: 800; font-size: .75rem; color: #fff; }
.avatars span:first-child { margin-left: 0; }

.deck { perspective: 1800px; position: relative; aspect-ratio: 1 / .86; }
.deck-inner {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, -18deg)) rotateZ(2deg);
  will-change: transform;
}
.layer { position: absolute; transform-style: preserve-3d; }
.layer > * { animation: land 1.3s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes land {
  from { opacity: 0; transform: translate3d(0, 60px, -500px) rotateX(30deg); }
  to   { opacity: 1; transform: none; }
}
.l1 { width: 58%; left: 8%; top: 2%;  transform: translateZ(-140px); --d: .05s; }
.l2 { width: 60%; left: 40%; top: -2%; transform: translateZ(-40px); --d: .2s; }
.l3 { width: 62%; left: 14%; top: 42%; transform: translateZ(70px); --d: .35s; }
.l4 { width: 21%; left: 80%; top: 30%; transform: translateZ(190px); --d: .55s; }
.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--white); color: var(--ink);
  font-weight: 700; font-size: clamp(.72rem, 1.1vw, .9rem); white-space: nowrap;
  box-shadow: 0 20px 40px -18px rgba(22,20,59,.5);
}
.chip svg { width: 18px; height: 18px; flex: none; }
.c1 { left: 52%; top: 30%; transform: translateZ(240px); --d: .9s; }
.c2 { left: 6%; top: 84%; transform: translateZ(260px); --d: 1.05s; }
.c3 { left: 60%; top: 90%; transform: translateZ(150px); --d: 1.2s; }
.speed { color: #16A34A; }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--paper-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll-x 40s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; white-space: nowrap; color: var(--ink-2); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 10px; height: 10px; background: var(--cobalt); border-radius: 3px; transform: rotate(45deg); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Exploded layers ---------- */
.explode { height: 320vh; position: relative; }
.explode-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.explode-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.explode-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 6px; }
.explode-steps li { padding: 16px 20px; border-radius: var(--r-md); transition: background .4s, opacity .4s; opacity: .45; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; }
.explode-steps li.active { opacity: 1; background: rgba(255,255,255,.07); }
.explode-steps .dot { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c); color: var(--ink); font-weight: 800; font-size: .85rem; }
.explode-steps strong { font-family: var(--f-display); font-size: 1.2rem; }
.explode-steps p { color: #DCDDF6; font-size: .95rem; }
.stack-stage { perspective: 2200px; aspect-ratio: 1; position: relative; }
.stack {
  position: absolute; inset: 12% 8%;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
}
.plane {
  position: absolute; inset: 0;
  border-radius: 22px;
  transform: translateZ(calc(var(--i) * var(--gap, 0px)));
  transition: box-shadow .4s;
  overflow: hidden;
}
.plane-label {
  position: absolute; left: 6%; bottom: 6%;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(.8rem, 1.4vw, 1.1rem);
  padding: 6px 12px; border-radius: 10px; background: rgba(0,0,0,.35); color: #fff;
}
.p-host { background: #24226A; background-image: linear-gradient(rgba(169,182,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(169,182,255,.18) 1px, transparent 1px); background-size: 28px 28px; box-shadow: 0 0 0 1px rgba(169,182,255,.3) inset; }
.p-host::after { content: ""; position: absolute; width: 28%; aspect-ratio: 1; right: 12%; top: 14%; border-radius: 18px; background: radial-gradient(circle, #6FDB8C 0 18%, transparent 19%), #2E2C80; box-shadow: 0 0 0 2px #6FDB8C55; }
.p-code { background: rgba(28, 27, 70, .92); padding: 9% 8%; display: grid; align-content: start; gap: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.p-code i { display: block; height: 9px; border-radius: 9px; background: var(--c, #A9B6FF); opacity: .8; }
.p-content { background: rgba(255,255,255,.92); padding: 9%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.p-content i { display: block; height: 10px; border-radius: 10px; background: #C9CCE0; }
.p-content i.big { grid-column: span 2; height: 22px; background: var(--ink); width: 70%; }
.p-content i.img { grid-column: span 1; height: 70px; border-radius: 12px; background: linear-gradient(135deg, var(--sky), var(--cobalt)); }
.p-design { background: var(--white); box-shadow: 0 0 0 1px rgba(22,20,59,.1); padding: 8%; display: grid; gap: 10px; align-content: start; }
.p-design .sw { display: flex; gap: 8px; }
.p-design .sw i { width: 30px; height: 30px; border-radius: 50%; }
.p-design .ty { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.6rem); color: var(--ink); line-height: 1; }
.p-design .bar { height: 14px; border-radius: 99px; background: var(--peach); width: 45%; }
.plane.lit { box-shadow: 0 0 0 3px var(--peach), 0 30px 60px -20px rgba(0,0,0,.6); }

/* ---------- Process ---------- */
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.process-list::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); opacity: .25; }
.process-list li { counter-increment: s; padding-right: 28px; position: relative; }
.process-list li::before {
  content: counter(s); display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 18px; margin-bottom: 26px;
  background: var(--white); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 6px 0 var(--ink); border: 2px solid var(--ink); position: relative;
}
.process-list li:last-child::before { background: var(--cobalt); color: #fff; }
.process-list h3 { margin-bottom: 10px; }
.process-list .when { display: inline-block; font-weight: 700; font-size: .85rem; color: var(--cobalt); margin-bottom: 8px; }
.process-list p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) {
  .process-list { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .process-list::before { display: none; }
}
@media (max-width: 520px) { .process-list { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Showcase ring ---------- */
.showcase { overflow: hidden; }
.showcase-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.ring-stage {
  perspective: 2000px; height: clamp(360px, 46vw, 560px);
  position: relative; touch-action: pan-y; cursor: grab; user-select: none;
  margin-top: 20px;
}
.ring-stage.dragging { cursor: grabbing; }
.ring {
  position: absolute; left: 50%; top: 50%;
  width: var(--card-w); height: calc(var(--card-w) * .65);
  margin-left: calc(var(--card-w) / -2); margin-top: calc(var(--card-w) * -.325);
  transform-style: preserve-3d;
  --card-w: clamp(240px, 36vw, 480px);
}
.ring-item {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: filter .5s, opacity .5s;
  border: 0; padding: 0; background: none; cursor: pointer; text-align: left;
}
.ring-item .browser { width: 100%; height: auto; }
.ring-item .caption {
  position: absolute; left: 0; right: 0; top: calc(100% + 18px);
  display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--white);
  opacity: 0; transition: opacity .4s;
}
.ring-item .caption span:last-child { color: #DCDDF6; font-weight: 600; }
.ring-item.front .caption { opacity: 1; }
/* Side sites are dimmed with a dark layer (cheap to animate) instead of a filter (slow on phones) */
.ring-item::after { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1 / .65; border-radius: 1.4% / 2.2%; background: #16143B; opacity: 0; transition: opacity .5s; pointer-events: none; }
.ring-item:not(.front)::after { opacity: .45; }
.ring-item.far { opacity: 0; pointer-events: none; }
.ring-item { transition: opacity .4s; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ring-controls { display: flex; gap: 10px; }
.round-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); background: transparent; color: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.round-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.round-btn svg { width: 22px; height: 22px; }
.ring-hint { text-align: center; color: #C9CBEE; font-size: .9rem; margin-top: 40px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--gutter); visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22,20,59,.6); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-panel {
  position: relative; width: min(1100px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  background: var(--paper-2); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start;
  transform: translateY(30px) scale(.96); opacity: 0; transition: transform .45s var(--ease), opacity .35s;
}
.modal.open .modal-panel { transform: none; opacity: 1; }
.modal-panel h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 6px 0 12px; }
.modal-panel .tag { font-weight: 700; color: var(--cobalt); }
.modal-panel ul { padding: 0; list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; }
.modal-panel li { display: flex; gap: 10px; align-items: start; }
.modal-panel li svg { flex: none; width: 22px; height: 22px; color: var(--cobalt); margin-top: 2px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(22,20,59,.15); z-index: 2; }
.modal-results { display: flex; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); margin-bottom: 24px; }
.modal-results b { display: block; font-family: var(--f-display); font-size: 1.8rem; }
.modal-results span { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 800px) { .modal-panel { grid-template-columns: 1fr; } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.quote { background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: grid; gap: 28px; align-content: space-between; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -.01em; }
.quote.small blockquote { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.quote.tinted { background: var(--sky); }
.who { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.who b { display: block; }
.who span { color: var(--ink-soft); }
.who .av { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.quotes-side { display: grid; gap: 24px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(60px, 9vw, 120px); }
.cta-card {
  position: relative; overflow: hidden;
  background: var(--cobalt); color: #fff; border-radius: clamp(24px, 4vw, 44px);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta-card h2 { max-width: 12ch; }
.cta-card p { color: #FFFFFF; margin: 18px 0 30px; max-width: 32em; }
.cta-cubes { position: relative; height: 100%; min-height: 240px; perspective: 900px; }
.cube {
  --s: 110px;
  position: absolute; width: var(--s); height: var(--s);
  transform-style: preserve-3d;
  animation: spin 18s linear infinite;
}
.cube i { position: absolute; inset: 0; border-radius: 14px; border: 2px solid rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); background: rgba(255,255,255,.18); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: var(--peach); border-color: var(--peach); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube.k2 { --s: 64px; right: 6%; top: 4%; animation-duration: 12s; animation-direction: reverse; }
.cube.k1 { left: 30%; top: 30%; }
.cube.k3 { --s: 40px; left: 8%; bottom: 6%; animation-duration: 9s; }
@keyframes spin { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } .cta-cubes { min-height: 160px; } }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); background: var(--paper-2); position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4, .footer .footer-h { margin: 0 0 12px; font-family: var(--f-body); font-size: .95rem; font-weight: 800; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink-soft); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* =========================================================
   Packages page
   ========================================================= */
.page-hero { padding-top: clamp(130px, 18vh, 190px); padding-bottom: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.4rem); max-width: 14ch; }
.page-hero .lede { margin-top: 24px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.morph { perspective: 1400px; aspect-ratio: 1.15; position: relative; }
.morph-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -10deg)); }
.morph .browser { position: absolute; width: 74%; left: 24%; top: 32%; transition: transform .8s var(--ease), opacity .8s; }
.morph .browser:nth-child(1) { transform: translateZ(-160px) translateX(-14%) translateY(-12%); }
.morph .browser:nth-child(2) { transform: translateZ(-60px) translateX(-5%) translateY(-4%); }
.morph .browser:nth-child(3) { transform: translateZ(40px) translateX(5%) translateY(5%); }
.morph-badge {
  position: absolute; right: 0; bottom: 6%; transform: translateZ(180px);
  background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 18px; font-weight: 700; box-shadow: var(--shadow-3d);
}
.morph-badge small { display: block; color: #DCDDF6; font-weight: 600; }

.billing { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 36px; }
.billing button { border: 0; background: none; padding: .6em 1.2em; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--ink-soft); }
.billing button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1600px; }
.tier {
  position: relative; background: var(--white); border-radius: var(--r-lg); padding: 34px 30px 30px;
  display: flex; flex-direction: column; gap: 20px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s;
  box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 20px 40px -30px rgba(22,20,59,.35);
}
.tier:hover { box-shadow: 0 40px 70px -30px rgba(22,20,59,.45); transition: transform .1s linear, box-shadow .5s; }
.tier > * { transform: translateZ(30px); }
.tier.featured { background: var(--ink); color: #fff; }
.tier.featured .tier-desc, .tier.featured .per { color: #DCDDF6; }
.tier.featured .tier-list li svg { color: var(--peach); }
.tier-flag { position: absolute; top: 18px; right: 18px; background: var(--peach); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 99px; transform: translateZ(60px); }
.tier-icon { width: 64px; height: 64px; }
.tier h3 { font-size: 1.8rem; }
.tier-desc { color: var(--ink-soft); font-size: .98rem; min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1; }
.per { color: var(--ink-soft); font-size: .92rem; }
.tier-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .96rem; flex: 1; }
.tier-list li { display: flex; gap: 10px; }
.tier-list svg { flex: none; width: 20px; height: 20px; color: var(--cobalt); margin-top: 3px; }
.tier .btn { justify-content: center; }
.tier.featured .btn { --bg: var(--peach); --fg: var(--ink); box-shadow: 0 6px 0 -1px rgba(0,0,0,.4); }
.bespoke {
  margin-top: 20px; border-radius: var(--r-lg); padding: 28px 30px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  border: 2px dashed rgba(22,20,59,.25);
}
.bespoke h3 { margin-bottom: 6px; }
.bespoke p { color: var(--ink-soft); max-width: 44em; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; } .tier-desc { min-height: 0; } }

/* industries */
.industry-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip-btn {
  border: 2px solid var(--line); background: var(--white); border-radius: 999px;
  padding: .6em 1.1em; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"], .chip-btn[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .chip-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.on-dark .chip-btn:hover { border-color: #fff; }
.on-dark .chip-btn[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.industry-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.industry-panel h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; }
.industry-panel > div > p { color: #DCDDF6; margin-bottom: 26px; }
.need-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.need-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.need-list .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.need-list .ic svg { width: 20px; height: 20px; color: var(--peach); }
.need-list b { display: block; }
.need-list span { color: #DCDDF6; font-size: .94rem; }
.industry-view { perspective: 1600px; }
.industry-view .tilt { transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; transition: transform .6s var(--ease); position: relative; }
.industry-view .phone { position: absolute; width: 24%; right: -4%; bottom: -10%; transform: translateZ(90px); }
.swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: rotateY(40deg) translateZ(-120px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .industry-panel { grid-template-columns: 1fr; } .industry-view { order: -1; } }

/* builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.step { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); margin-bottom: 18px; }
.step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.step-num { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); font-family: var(--f-display); font-weight: 800; }
.step h3, .step-head h2 { font-size: 1.3rem; }
.biz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.biz {
  border: 2px solid var(--line); border-radius: var(--r-md); background: var(--paper-2);
  padding: 14px; cursor: pointer; text-align: left; display: grid; gap: 8px; font-weight: 700; font-size: .95rem;
  transition: border-color .2s, transform .2s, background .2s;
}
.biz svg { width: 26px; height: 26px; color: var(--cobalt); }
.biz:hover { border-color: var(--ink); transform: translateY(-2px); }
.biz[aria-pressed="true"] { border-color: var(--cobalt); background: #E7E9FF; box-shadow: 0 0 0 3px rgba(59,75,255,.15); }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feat { position: relative; }
.feat input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.feat label {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: start;
  padding: 14px; border-radius: var(--r-md); border: 2px solid var(--line); background: var(--paper-2);
  transition: border-color .2s, background .2s; cursor: pointer; height: 100%;
}
.feat .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid rgba(22,20,59,.3); display: grid; place-items: center; transition: background .2s, border-color .2s; background: #fff; }
.feat .box svg { width: 14px; height: 14px; color: #fff; opacity: 0; }
.feat b { display: block; font-size: .96rem; }
.feat small { display: block; color: var(--ink-soft); font-size: .85rem; line-height: 1.4; }
.feat .fp { font-weight: 700; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.feat input:checked + label { border-color: var(--cobalt); background: #EEF0FF; }
.feat input:checked + label .box { background: var(--cobalt); border-color: var(--cobalt); }
.feat input:checked + label .box svg { opacity: 1; }
.feat input:focus-visible + label { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.feat .rec { display: inline-block; margin-left: 6px; font-size: .72rem; font-weight: 800; color: var(--cobalt); background: #E1E4FF; padding: 2px 7px; border-radius: 99px; vertical-align: 1px; }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }

.range-row { display: grid; gap: 14px; }
.range-val { font-family: var(--f-display); font-weight: 800; font-size: 2rem; }
input[type="range"] { width: 100%; accent-color: var(--cobalt); height: 28px; }
.range-scale { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: .85rem; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.summary { position: sticky; top: 100px; }
.summary-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); overflow: hidden; }
.summary-preview { perspective: 1200px; margin: -4px 0 24px; }
.summary-preview .tilt { transform: rotateX(14deg) rotateY(-10deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.summary-card:hover .summary-preview .tilt { transform: rotateX(4deg) rotateY(-2deg); }
.sum-pack { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.sum-pack span { color: #DCDDF6; font-size: .95rem; }
.sum-pack b { background: var(--peach); color: var(--ink); padding: 4px 12px; border-radius: 99px; font-size: .9rem; }
.sum-price { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -.03em; line-height: 1; }
.sum-sub { color: #DCDDF6; font-size: .92rem; margin: 8px 0 20px; }
.sum-rows { display: grid; gap: 8px; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.12); margin-bottom: 20px; font-size: .93rem; max-height: 220px; overflow: auto; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows span:last-child { color: #DCDDF6; white-space: nowrap; }
.sum-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.sum-meta div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 12px 14px; }
.sum-meta b { display: block; font-family: var(--f-display); font-size: 1.3rem; }
.sum-meta span { color: #DCDDF6; font-size: .82rem; }
.summary .btn { width: 100%; justify-content: center; }
.sum-note { color: #C9CBEE; font-size: .82rem; margin-top: 14px; text-align: center; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } .summary { position: static; } }

/* compare table */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .96rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--f-display); font-size: 1.15rem; position: sticky; top: 0; background: var(--white); }
.compare thead th:nth-child(3) { color: var(--cobalt); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody tr:hover { background: var(--paper-2); }
.compare .y { color: var(--cobalt); font-weight: 800; }
.compare .n { color: #B9BACF; }
.compare .grp td { font-weight: 800; background: var(--paper-2); font-size: .85rem; color: var(--ink-soft); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 18px; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; transition: transform .3s var(--ease); color: var(--cobalt); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 20px; } }

/* quote form */
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); background: var(--paper-2); color: var(--ink);
  transition: border-color .2s, background .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; }
.field .err { color: #C2261B; font-size: .85rem; min-height: 1.2em; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C2261B; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success svg { width: 72px; height: 72px; margin: 0 auto 18px; color: var(--cobalt); }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; }
.contact-list svg { width: 20px; height: 20px; color: var(--cobalt); }
@media (max-width: 860px) { .form-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Responsive (home) ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 11ch; }
  .deck { max-width: 640px; width: 100%; margin-inline: auto; }
  .explode-grid { grid-template-columns: 1fr; gap: 0; }
  .explode-copy .lede { display: none; }
  .explode-steps { margin-top: 16px; }
  .explode-steps li:not(.active) { display: none; }
  .stack-stage { max-width: 420px; width: 100%; margin: -40px auto 0; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .morph { max-width: 560px; }
}
@media (max-width: 960px) and (max-height: 760px) { .explode-copy h2 { font-size: 1.8rem; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* explode sizing fit */
.explode-copy h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.explode-steps li { padding: 12px 18px; }
.stack-stage { width: min(100%, 74vh); justify-self: center; }

/* Background cube field */
.facet-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.feat .rec[hidden] { display: none; }

/* Build vs build & maintain */
.plan-switch { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 36px; }
.plan-switch .billing { margin-bottom: 0; }
.plan-note { color: var(--ink-soft); font-size: .95rem; max-width: 34em; }
.care-box { border-radius: var(--r-md); padding: 16px 18px; background: #EEF0FF; font-size: .92rem; }
.care-box b { display: block; margin-bottom: 8px; color: var(--cobalt); }
.care-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.care-box li { padding-left: 18px; position: relative; }
.care-box li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--cobalt); }
.tier.featured .care-box { background: rgba(255,255,255,.08); }
.tier.featured .care-box b { color: var(--peach); }
.tier.featured .care-box li::before { background: var(--peach); }
.care-box[hidden] { display: none; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.plan-grid .biz b { font-size: 1rem; }
.plan-grid .biz small { color: var(--ink-soft); font-weight: 500; font-size: .88rem; line-height: 1.45; }
@media (max-width: 520px) { .plan-grid { grid-template-columns: 1fr; } }
.tier-list { align-content: start; }

/* Add-ons */
.addons { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 24px 48px; }
.addons-head h3 { font-size: 1.8rem; margin-bottom: 10px; }
.addons-head p { color: var(--ink-soft); }
.addon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.addon-list li { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.addon-list b { display: block; }
.addon-list span { display: block; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.addon-list strong { font-family: var(--f-display); font-size: 1.15rem; white-space: nowrap; }
.feat-sub { grid-column: 1 / -1; margin: 14px 0 2px; font-family: var(--f-display); font-size: 1.05rem; }
@media (max-width: 900px) { .addons { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .addon-list { grid-template-columns: 1fr; } }

/* ===== Realistic mockups (photos) ===== */
.browser .b-screen { padding: 0; gap: 0; }
.m-bar { flex: none; background: var(--m-acc); color: var(--m-on-acc, #fff); font-size: 1.35cqw; font-weight: 700; text-align: center; padding: .75cqw 2cqw; letter-spacing: .01em; }
.m-links { font-size: 1.5cqw; gap: 2.2cqw; }
.m-copy h4 { font-size: 4.5cqw; }
.m-copy .m-btn { box-shadow: 0 .6cqw 1.4cqw -.6cqw rgba(0,0,0,.4); }
.m-rating { display: flex; align-items: center; gap: .8cqw; font-size: 1.3cqw; margin-top: 1.8cqw; opacity: .85; font-weight: 600; }
.m-stars { display: flex; color: #F5B300; }
.m-stars svg { width: 1.5cqw; height: 1.5cqw; }
.m-card { padding: 0 0 1cqw; background: none; }
img.m-thumb { display: block; width: 100%; height: 7.6cqw; object-fit: cover; border-radius: var(--m-radius-sm, 1cqw); margin-bottom: 1cqw; background: color-mix(in srgb, var(--m-acc) 20%, var(--m-bg)); }
.m-card b { font-size: 1.55cqw; }
.m-icon { position: relative; margin-left: 1cqw; display: grid; place-items: center; }
.m-icon svg { width: 2.6cqw; height: 2.6cqw; }
.m-icon i { position: absolute; top: -.6cqw; right: -.9cqw; width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--m-acc); color: #fff; font-size: 1.1cqw; font-style: normal; font-weight: 800; display: grid; place-items: center; }
.m-tel { display: flex; align-items: center; gap: .6cqw; font-weight: 800; font-size: 1.5cqw; white-space: nowrap; color: var(--m-acc); }
.m-tel svg { width: 1.7cqw; height: 1.7cqw; }
/* full-bleed photo layout */

/* phone */
.phone .p-screen { padding: 13cqw 6cqw 6cqw; gap: 4cqw; }
.p-nav { display: flex; justify-content: space-between; align-items: center; }
.p-nav .m-logo { font-size: 6.4cqw; }
.p-burger { display: grid; gap: 1.6cqw; }
.p-burger i { display: block; width: 7cqw; height: .9cqw; border-radius: 1cqw; background: currentColor; }
.p-photo { width: 100%; height: 34%; flex: none; object-fit: cover; border-radius: 5cqw; display: block; background: color-mix(in srgb, var(--m-acc) 20%, var(--m-bg)); }
.phone .m-kicker { font-size: 3.8cqw; margin-bottom: 1.6cqw; }
.phone .m-copy h4 { font-size: 9.4cqw; }
.p-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: auto; }
.p-row img { display: block; width: 100%; height: 17cqw; object-fit: cover; border-radius: 3cqw; margin-bottom: 1.6cqw; }
.p-row b { display: block; font-size: 3.8cqw; line-height: 1.2; }
.p-row small { font-size: 3.2cqw; opacity: .65; }

/* ===== Multi-page additions ===== */
.page-top { padding-top: clamp(130px, 17vh, 180px); }
.page-h1 { font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.02; letter-spacing: -0.03em; }
.page-hero-slim { padding-bottom: clamp(20px, 4vw, 48px); }
.page-hero-slim .lede { max-width: 40em; }
.footer-bottom a { color: var(--ink-soft); }

/* Home: explore panels */
.explore { padding-top: clamp(60px, 9vw, 120px); }
.explore-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.ex-panel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 440px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ex-panel:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -36px rgba(22,20,59,.55); }
.ex-work { background: var(--white); }
.ex-how { background: var(--ink); color: #fff; }
.ex-price { background: var(--cobalt); color: #fff; }
.ex-text h3 { font-size: 1.7rem; margin-bottom: 8px; }
.ex-text p { max-width: 30em; }
.ex-link { display: inline-block; margin-top: 18px; font-weight: 800; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.ex-visual { position: relative; flex: 1; min-height: 190px; perspective: 1000px; }
.ex-fan .browser { position: absolute; width: 74%; transition: transform .6s var(--ease); }
.ex-fan .browser:nth-child(1) { left: 0; top: 0; transform: rotateY(18deg) rotateZ(-4deg) scale(.92); }
.ex-fan .browser:nth-child(2) { left: 14%; top: 10%; transform: rotateY(10deg) rotateZ(-1deg) scale(.96); }
.ex-fan .browser:nth-child(3) { left: 28%; top: 20%; transform: rotateY(4deg) rotateZ(2deg); }
.ex-work:hover .ex-fan .browser:nth-child(1) { transform: rotateY(22deg) rotateZ(-8deg) translateX(-6%) scale(.92); }
.ex-work:hover .ex-fan .browser:nth-child(3) { transform: rotateY(0) rotateZ(4deg) translateX(6%); }
.ex-layers { transform-style: preserve-3d; }
.ex-layers i {
  position: absolute; left: 22%; top: 30%; width: 56%; aspect-ratio: 1.3; border-radius: 16px;
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc(var(--n) * 26px));
  transition: transform .6s var(--ease);
}
.ex-layers i:nth-child(1) { --n: 0; background: #2E2C80; box-shadow: inset 0 0 0 1px rgba(169,182,255,.4); }
.ex-layers i:nth-child(2) { --n: 1; background: rgba(169,182,255,.55); }
.ex-layers i:nth-child(3) { --n: 2; background: rgba(255,255,255,.85); }
.ex-layers i:nth-child(4) { --n: 3; background: var(--peach); }
.ex-how:hover .ex-layers i { transform: rotateX(58deg) rotateZ(-30deg) translateZ(calc(var(--n) * 46px)); }
.ex-from { display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.ex-from b { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.6rem); letter-spacing: -.04em; line-height: 1; }
.ex-from small { font-size: .95rem; }
@media (max-width: 960px) { .explore-grid { grid-template-columns: 1fr; } .ex-panel { min-height: 380px; } }

/* About */
.about-photos { perspective: 1400px; aspect-ratio: 1.1; position: relative; }
.about-photos-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -14deg)); }
.about-photos-inner > img { position: absolute; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-3d); }
.ap1 { width: 78%; height: 68%; left: 0; top: 6%; transform: translateZ(-40px); }
.ap2 { width: 46%; height: 50%; right: 0; bottom: 4%; transform: translateZ(90px); border: 6px solid var(--white); }
.about-where { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.where-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.where-list li { padding: 20px; border-radius: var(--r-md); background: rgba(255,255,255,.06); }
.where-list b { display: block; font-family: var(--f-display); font-size: 1.3rem; }
.where-list span { color: #DCDDF6; font-size: .92rem; }
@media (max-width: 860px) { .beliefs, .about-where { grid-template-columns: 1fr; } }

/* Privacy */
.legal { max-width: 70ch; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p { color: var(--ink-2); margin-bottom: 14px; }

/* Form notice */
.form-note { margin-top: 14px; font-size: .88rem; color: var(--ink-soft); }

/* ===== Eight distinct example layouts ===== */
.b-screen h4 { margin: 0; font-family: var(--m-font); font-weight: var(--m-weight, 700); line-height: 1; letter-spacing: -.02em; }
.b-screen p { margin: 0; font-size: 1.45cqw; line-height: 1.45; opacity: .72; }
.b-screen ul { list-style: none; margin: 0; padding: 0; }
.b-screen img { display: block; }
.b-screen > div:last-child { flex: 1; min-height: 0; }

/* Bakery — editorial */
.ed { padding: 2.2cqw 4cqw 2.6cqw; display: flex; flex-direction: column; gap: 2cqw; }
.ed-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-bottom: 1.4cqw; border-bottom: 1px solid color-mix(in srgb, var(--m-ink) 15%, transparent); }
.ed-nav .m-links { margin: 0; }
.ed-nav .m-links:last-child { justify-content: flex-end; }
.ed-nav .m-logo { font-size: 3cqw; }
.ed-head { text-align: center; display: grid; justify-items: center; gap: 1.4cqw; }
.ed-head .m-kicker { margin: 0; }
.ed-head h4 { font-size: 6.4cqw; }
.ed-collage { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 2.4cqw; align-items: end; }
.ed-f { margin: 0; }
.ed-f img { width: 100%; object-fit: cover; border-radius: 1.2cqw; box-shadow: 0 1.4cqw 2.4cqw -1.4cqw rgba(74,37,12,.5); }
.ed-f0 img { height: 14cqw; transform: rotate(-3deg); }
.ed-f1 img { height: 19cqw; }
.ed-f2 img { height: 14cqw; transform: rotate(3deg); }
.ed-f figcaption { display: flex; justify-content: space-between; font-size: 1.4cqw; font-weight: 700; margin-top: 1cqw; }
.ed-f figcaption span { opacity: .65; font-weight: 600; }

/* Law — classic with arched portrait */
.lw { padding: 2.4cqw 4cqw 2.8cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.lw-nav { display: flex; align-items: center; gap: 2.4cqw; }
.lw-nav .m-logo { font-size: 2.6cqw; }
.lw-tel { font-size: 1.35cqw; color: var(--m-acc); border: 1px solid var(--m-acc); padding: .6cqw 1.4cqw; border-radius: .4cqw; font-weight: 700; }
.lw-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4cqw; flex: 1; min-height: 0; }
.lw-copy { align-self: center; }
.lw-copy h4 { font-size: 5.2cqw; }
.lw-rule { display: block; width: 8cqw; height: .25cqw; background: var(--m-acc); margin: 2cqw 0; }
.lw-btns { display: flex; gap: 1.4cqw; margin-top: 2.2cqw; align-items: center; }
.lw-ghost { font-size: 1.5cqw; font-weight: 700; padding: .8cqw 1.8cqw; border: 1px solid color-mix(in srgb, var(--m-ink) 40%, transparent); border-radius: .4cqw; }
.lw-arch { border-radius: 20cqw 20cqw .4cqw .4cqw; overflow: hidden; border: .4cqw solid var(--m-acc); }
.lw-arch img { width: 100%; height: 100%; object-fit: cover; }
.lw-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; flex: none !important; }
.lw-areas div { border-top: 1px solid var(--m-acc); padding-top: 1cqw; }
.lw-areas b { font-size: 1.6cqw; font-family: var(--m-font); font-weight: 400; display: block; }
.lw-areas span { font-size: 1.25cqw; opacity: .65; }

/* Gym — poster */
.ps { position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; padding: 2.4cqw 4cqw 0; }
.ps-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) contrast(1.15); }
.ps::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.2) 40%, rgba(0,0,0,.75)); }
.ps > :not(img) { position: relative; z-index: 2; }
.ps-nav { display: flex; align-items: center; gap: 2.4cqw; }
.ps-nav .m-logo { font-size: 2.8cqw; letter-spacing: .1em; }
.ps-type { margin-top: auto; font-family: "Syne", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 10cqw; line-height: .86; letter-spacing: -.04em; padding-bottom: 2.4cqw; }
.ps-type span { display: block; }
.ps-type em { font-style: normal; color: var(--m-acc); }
.ps-strip { margin: 0 -4cqw; background: var(--m-acc); color: #121212; display: flex; align-items: center; gap: 3cqw; padding: 1.4cqw 4cqw; }
.ps-strip b { font-size: 1.5cqw; text-transform: uppercase; letter-spacing: .08em; }
.ps-strip div { display: flex; flex-direction: column; line-height: 1.2; padding-left: 2.4cqw; border-left: 1px solid rgba(0,0,0,.25); }
.ps-strip small { font-size: 1.15cqw; opacity: .7; }
.ps-strip div span { font-size: 1.5cqw; font-weight: 800; }
.ps-strip em { font-size: 1.1cqw; font-style: normal; opacity: .7; }
.ps-strip .m-btn { margin-left: auto; background: #121212; color: var(--m-acc); }

/* Architects — gallery */
.gl { padding: 2.4cqw 4cqw 3cqw; display: flex; flex-direction: column; gap: 2.6cqw; }
.gl-nav { display: flex; align-items: baseline; }
.gl-nav .m-logo { font-size: 2.4cqw; font-weight: 500; letter-spacing: .02em; }
.gl-main { display: grid; grid-template-columns: 26% 1fr; gap: 3cqw; flex: 1; min-height: 0; }
.gl-side { display: flex; flex-direction: column; gap: 1.6cqw; }
.gl-side h4 { font-size: 3.6cqw; font-weight: 500; }
.gl-side ul { margin-top: auto; }
.gl-side li { display: flex; justify-content: space-between; border-top: 1px solid rgba(0,0,0,.18); padding: .9cqw 0; font-size: 1.35cqw; }
.gl-side li span:last-child { opacity: .55; }
.gl-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 1.2fr 1fr; gap: 1cqw; min-height: 0; }
.gl-grid img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.gl-grid .g1 { grid-row: span 2; }
.gl-grid .g2 { grid-column: 2 / 4; }

/* Plant shop — store */
.sh { padding: 2cqw 3.4cqw 2.4cqw; display: flex; flex-direction: column; gap: 2cqw; }
.sh-nav { display: flex; align-items: center; gap: 2.4cqw; }
.sh-nav .m-links { margin-left: 2cqw; }
.sh-search { margin-left: auto; background: color-mix(in srgb, var(--m-ink) 7%, transparent); border-radius: 99px; padding: .7cqw 2cqw; font-size: 1.25cqw; opacity: .75; min-width: 16cqw; }
.sh-main { display: grid; grid-template-columns: 14% 1fr; gap: 2.6cqw; flex: 1; min-height: 0; }
.sh-side { display: flex; flex-direction: column; gap: .7cqw; font-size: 1.25cqw; }
.sh-side b { margin-top: .8cqw; font-size: 1.35cqw; }
.sh-side b:first-child { margin-top: 0; }
.sh-side span { position: relative; padding-left: 2cqw; opacity: .8; }
.sh-side span::before { content: ""; position: absolute; left: 0; top: .25cqw; width: 1.1cqw; height: 1.1cqw; border-radius: .3cqw; border: 1px solid currentColor; }
.sh-side span.on::before { background: var(--m-acc); border-color: var(--m-acc); }
.sh-body { display: flex; flex-direction: column; gap: 2cqw; min-height: 0; }
.sh-banner { position: relative; height: 15cqw; flex: none; border-radius: 1.4cqw; overflow: hidden; }
.sh-banner img { width: 100%; height: 100%; object-fit: cover; }
.sh-banner div { position: absolute; left: 2cqw; top: 2cqw; bottom: 2cqw; width: 44%; background: var(--m-bg); border-radius: 1cqw; padding: 1.8cqw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.4cqw; }
.sh-banner h4 { font-size: 2.8cqw; }
.sh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; }
.sh-p { background: #fff; border-radius: 1.2cqw; padding: 1cqw; font-size: 1.35cqw; display: grid; grid-template-columns: 1fr auto; gap: .3cqw 1cqw; align-items: center; }
.sh-p img { grid-column: 1 / -1; width: 100%; height: 9cqw; object-fit: cover; border-radius: .8cqw; margin-bottom: .6cqw; }
.sh-p span { color: var(--m-acc); font-weight: 800; grid-row: 3; }
.sh-p em { grid-row: 2 / 4; grid-column: 2; font-style: normal; background: var(--m-ink); color: #fff; border-radius: 99px; font-size: 1.15cqw; padding: .5cqw 1.4cqw; font-weight: 700; }

/* Dental — booking */
.bk { padding: 2.4cqw 4cqw 3cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.bk-nav { display: flex; align-items: center; gap: 2.4cqw; }
.bk-main { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3cqw; flex: 1; min-height: 0; align-items: center; }
.bk-copy h4 { font-size: 5cqw; margin-bottom: 1.6cqw; }
.bk-visual { position: relative; height: 100%; }
.bk-photo { width: 76%; height: 100%; object-fit: cover; border-radius: 2cqw; margin-left: auto; }
.bk-card { position: absolute; left: 0; bottom: 6%; width: 60%; background: #fff; color: #0B3556; border-radius: 1.6cqw; padding: 1.8cqw; display: flex; flex-direction: column; gap: 1.1cqw; box-shadow: 0 2.4cqw 4cqw -1.6cqw rgba(11,53,86,.45); }
.bk-card b { font-size: 1.6cqw; }
.bk-sel { display: flex; justify-content: space-between; border: 1px solid rgba(11,53,86,.2); border-radius: .8cqw; padding: .8cqw 1.2cqw; font-size: 1.3cqw; }
.bk-days, .bk-times { display: flex; gap: .7cqw; }
.bk-days span, .bk-times span { flex: 1; text-align: center; font-size: 1.15cqw; padding: .7cqw .3cqw; border-radius: .7cqw; background: #EEF4FA; font-weight: 600; }
.bk-days .on, .bk-times .on { background: var(--m-acc); color: #fff; }
.bk-card .m-btn { text-align: center; font-size: 1.35cqw; }

/* Restaurant — menu */
.mn { display: grid; grid-template-columns: 1fr 1.1fr; }
.mn-photo { position: relative; overflow: hidden; }
.mn-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mn-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(43,15,18,.85), transparent 55%); }
.mn-photo .m-logo { position: absolute; left: 3cqw; bottom: 3cqw; z-index: 1; color: #fff; font-size: 4.2cqw; }
.mn-side { padding: 2.4cqw 4cqw 2.8cqw; display: flex; flex-direction: column; gap: 1.2cqw; }
.mn-nav { display: flex; justify-content: flex-end; margin-bottom: 1.6cqw; }
.mn-side .m-kicker { margin: 0; }
.mn-side h4 { font-size: 4.4cqw; font-weight: 400; margin-bottom: .8cqw; }
.mn-list { display: flex; flex-direction: column; gap: 1.15cqw; }
.mn-list li { display: flex; align-items: baseline; gap: 1cqw; font-size: 1.6cqw; }
.mn-list i { flex: 1; border-bottom: 1px dotted currentColor; opacity: .4; }
.mn-res { margin-top: auto; display: flex; align-items: center; gap: 1.6cqw; border: 1px solid rgba(247,231,215,.25); border-radius: 99px; padding: .6cqw .6cqw .6cqw 2cqw; font-size: 1.3cqw; }
.mn-res .m-btn { margin-left: auto; }

/* Plumber — trades */
.tr { padding: 2cqw 4cqw 2.6cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.tr-nav { display: flex; align-items: center; gap: 2.4cqw; }
.tr-nav .m-logo { font-size: 2.6cqw; line-height: 1; }
.tr-nav .m-logo small { display: block; font-size: 1.15cqw; font-weight: 600; opacity: .6; letter-spacing: .02em; margin-top: .3cqw; }
.tr-main { display: grid; grid-template-columns: 1.15fr 1fr .62fr; gap: 2.4cqw; flex: 1; min-height: 0; align-items: center; }
.tr-copy h4 { font-size: 4.6cqw; }
.tr-copy ul { display: flex; flex-direction: column; gap: 1cqw; margin: 2cqw 0 .4cqw; }
.tr-copy li { display: flex; align-items: center; gap: 1cqw; font-size: 1.45cqw; font-weight: 600; }
.tr-copy li svg { width: 2cqw; height: 2cqw; padding: .35cqw; border-radius: 50%; background: color-mix(in srgb, var(--m-acc) 18%, #fff); color: var(--m-acc); flex: none; }
.tr-form { background: #fff; border: 1px solid rgba(14,35,64,.12); border-radius: 1.2cqw; padding: 2cqw; display: flex; flex-direction: column; gap: 1cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(14,35,64,.4); }
.tr-form b { font-size: 1.8cqw; margin-bottom: .4cqw; }
.tr-form .f { border: 1px solid rgba(14,35,64,.2); border-radius: .6cqw; padding: .9cqw 1.2cqw; font-size: 1.3cqw; opacity: .7; display: flex; justify-content: space-between; }
.tr-form .f i { font-style: normal; }
.tr-form .up { border-style: dashed; justify-content: center; color: var(--m-acc); opacity: 1; font-weight: 700; }
.tr-form .m-btn { text-align: center; font-size: 1.45cqw; padding: 1.1cqw; }
.tr-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 1.2cqw; }
.form-error { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #FDECEA; color: #8A1C12; font-size: .95rem; }
.form-error a { color: inherit; font-weight: 700; }
button[disabled] { opacity: .7; cursor: progress; }

/* 404 */
.nf { min-height: 80vh; display: grid; align-items: center; }
.nf-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.nf-cubes { position: relative; height: 320px; perspective: 900px; }
.nf-cubes .cube i { border-color: var(--ink); background: rgba(59,75,255,.12); }
.nf-cubes .cube i:nth-child(1) { background: rgba(59,75,255,.3); }
.nf-cubes .cube.k1 { --s: 150px; left: 20%; top: 18%; }
.nf-cubes .cube.k2 { --s: 70px; right: 8%; top: 0; }
.nf-code { position: absolute; left: 0; bottom: 0; font-family: var(--f-display); font-weight: 800; font-size: 5rem; letter-spacing: -.04em; color: var(--cobalt); line-height: 1; }
@media (max-width: 760px) { .nf-grid { grid-template-columns: 1fr; } .nf-cubes { height: 220px; } .nf-cubes .cube.k1 { --s: 100px; } }

/* ===== Phone fixes ===== */
.sum-meta b { font-size: 1.15rem; }
@media (max-width: 960px) {
  .c2 { left: 14%; }
  .explode-copy { position: relative; z-index: 2; }
  .explode-steps li.active { background: rgba(42,40,96,.92); }
  .stack-stage { width: min(74%, 40vh); margin: 64px auto 0; }
}
@media (max-width: 600px) {
  .ring { --card-w: 80vw; }
  .ring-stage { height: 300px; margin-top: 0; }
  .ring-hint { margin-top: 56px; }
}
.quote { margin: 0; }
@media (max-width: 600px) { .morph .browser { width: 66%; left: 24%; } }

/* Work page spacing: size the carousel area to its cards */
.ring-stage { height: calc(clamp(240px, 36vw, 480px) * .65 + 120px); margin-top: 8px; }
.showcase { padding-bottom: clamp(48px, 6vw, 80px); }
.ring-hint { margin-top: 28px; }
.cta-band { padding-block: clamp(40px, 6vw, 80px); }
@media (max-width: 600px) { .ring-stage { height: calc(80vw * .65 + 110px); } .ring-hint { margin-top: 28px; } }

/* Logo lockup: "Notch" with small "Studio" underneath */
.logo-text { position: relative; line-height: 1; }
/* "Studio" tucks under the bottom-right corner of "Notch" without moving "Notch" off the cube's centre line */
.logo-text small { position: absolute; top: 100%; right: 0; font-family: var(--f-body); font-size: .5em; font-weight: 700; letter-spacing: .06em; color: #000; line-height: 1; margin-top: 1px; }

/* Readability: intro paragraphs a touch heavier */
.lede { font-weight: 500; }

/* FAQ page */

.page-hero-slim .lede a { color: var(--cobalt); font-weight: 700; }

/* Readable panels: long text sits on solid white, not on the cube background */
.faq > div:last-child { background: var(--white); border-radius: var(--r-lg); padding: 6px clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 20px 40px -32px rgba(22,20,59,.35); }
.faq details:last-child { border-bottom: 0; }
.faq details p { color: var(--ink-soft); }
.legal { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); max-width: 78ch; }
.legal h2:first-child { margin-top: 0; }

/* ===== FAQ page ===== */
.faq-hero { padding-bottom: clamp(24px, 4vw, 48px); }
.faq-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.faq-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 11ch; }
.faq-hero .lede { margin-top: 20px; }
.faq-search {
  display: flex; align-items: center; gap: 12px; margin-top: 28px; max-width: 540px;
  background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 4px 8px 4px 20px;
  box-shadow: 0 18px 40px -28px rgba(22,20,59,.45); transition: border-color .2s, box-shadow .2s;
}
.faq-search:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(59,75,255,.15); }
.faq-search svg { width: 20px; height: 20px; color: var(--ink-soft); flex: none; }
.faq-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1.05rem; font-weight: 500; color: var(--ink); padding: 14px 0; }
.faq-search input::placeholder { color: #7A7B9C; }
.faq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.faq-chips .chip-btn { text-decoration: none; font-size: .92rem; }

.faq-visual { perspective: 1200px; position: relative; aspect-ratio: 1 / .92; }
.faq-visual-inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, -16deg)); }
.bub {
  position: absolute; max-width: 72%; padding: 14px 18px; border-radius: 20px;
  font-weight: 700; font-size: clamp(.85rem, 1.2vw, 1.02rem); line-height: 1.35;
  box-shadow: 0 24px 40px -20px rgba(22,20,59,.5);
  animation: bub-in .9s var(--ease) both;
}
.bub.q { background: var(--white); color: var(--ink); border-bottom-left-radius: 6px; }
.bub.a { background: var(--cobalt); color: #fff; border-bottom-right-radius: 6px; }
.b1 { left: 2%; top: 6%; transform: translateZ(40px); animation-delay: .1s; }
.b2 { right: 0; top: 27%; transform: translateZ(110px); animation-delay: .35s; }
.b3 { left: 0; top: 54%; transform: translateZ(70px); animation-delay: .6s; }
.b4 { right: 4%; top: 75%; transform: translateZ(140px); animation-delay: .85s; }
.bub-mark {
  position: absolute; left: 30%; top: 22%; width: 38%; aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 30px;
  background: var(--peach); color: var(--ink);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1;
  transform: translateZ(-120px) rotate(-8deg); box-shadow: 0 30px 60px -30px rgba(22,20,59,.5);
}
@keyframes bub-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

.faq-body { padding-top: clamp(24px, 4vw, 48px); }
.faq-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-nav { position: sticky; top: 110px; }
.faq-nav p { font-weight: 800; font-size: .95rem; margin-bottom: 10px; padding-left: 12px; }
.faq-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.faq-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-soft); transition: background .2s, color .2s; }
.faq-nav a:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.faq-nav a.active { background: var(--white); color: var(--ink); box-shadow: 0 10px 24px -18px rgba(22,20,59,.5); }
.faq-nav em { margin-left: auto; font-style: normal; font-size: .8rem; background: var(--white); border-radius: 99px; padding: 2px 9px; }
.faq-nav a.active em { background: var(--cobalt); color: #fff; }
.faq-ic { width: 44px; height: 44px; border-radius: 14px; background: #E1E4FF; color: var(--cobalt); display: grid; place-items: center; flex: none; }
.faq-ic svg { width: 22px; height: 22px; }
.faq-ic.sm { width: 30px; height: 30px; border-radius: 10px; }
.faq-ic.sm svg { width: 16px; height: 16px; }

.faq-list { display: grid; gap: 36px; }
.faq-cat { scroll-margin-top: 110px; }
.faq-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.faq-cat-head h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.faq-count { margin-left: auto; font-size: .9rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.faq-panel { background: var(--white); border-radius: var(--r-lg); padding: 4px clamp(18px, 3vw, 30px); box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 24px 44px -34px rgba(22,20,59,.45); }
.faq-panel details { border-bottom: 1px solid var(--line); }
.faq-panel details:last-of-type { border-bottom: 0; }
.faq-panel summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); transition: color .2s; }
.faq-panel summary::-webkit-details-marker { display: none; }
.faq-panel summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); color: var(--cobalt);
  font-family: var(--f-body); font-size: 1.35rem; font-weight: 600; line-height: 1;
  transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq-panel summary:hover { color: var(--cobalt); }
.faq-panel details[open] summary { color: var(--cobalt); }
.faq-panel details[open] summary::after { transform: rotate(45deg); background: var(--cobalt); color: #fff; }
.faq-panel details p { padding: 0 50px 22px 0; max-width: 66ch; color: var(--ink-soft); animation: faq-open .35s var(--ease); }
@keyframes faq-open { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }
.faq-panel mark { background: #FFDCCF; color: inherit; border-radius: 4px; padding: 0 2px; }
.faq-empty { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); text-align: center; }
.faq-empty h2 { font-size: 1.5rem; margin-bottom: 10px; }
.faq-empty p { color: var(--ink-soft); }
.faq-empty a { color: var(--cobalt); font-weight: 700; }

@media (max-width: 960px) {
  .faq-hero-grid { grid-template-columns: 1fr; }
  .faq-visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { display: none; }
}
@media (max-width: 520px) {
  .faq-count { display: none; }
  .faq-panel details p { padding-right: 0; }
}

/* Calm background for reading pages (no cube pattern) */
body[data-bg="off"] { background: var(--paper); }
body[data-bg="off"] .page-hero, .faq-hero { position: relative; isolation: isolate; }
body[data-bg="off"] .page-hero::before, .faq-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 45% at 76% 45%, rgba(59,75,255,.14), transparent 100%), radial-gradient(26% 26% at 10% 58%, rgba(255,159,128,.16), transparent 100%); }
@media (max-width: 520px) { .b3 { left: 4%; } .b2 { right: 2%; } }

/* About: beliefs on a solid panel so the text reads cleanly */

.about-hero { overflow: visible; }

/* ===== About: "What we believe" bento ===== */
.bento { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.bn {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; justify-content: center; gap: 26px;
  box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 24px 44px -34px rgba(22,20,59,.45);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bn:hover { transform: translateY(-4px); box-shadow: 0 36px 56px -34px rgba(22,20,59,.55); }
.bn-talk { grid-column: span 3; background: var(--white); }
.bn-price { grid-column: span 2; background: var(--ink); color: #fff; }
.bn-own { grid-column: span 2; background: var(--cobalt); color: #fff; }
.bn-fast { grid-column: span 3; background: var(--white); }
/* Both rows the same height, everything centred in its box, the same room between picture and words */
.bn-talk, .bn-fast { flex-direction: row; align-items: center; gap: clamp(28px, 3.4vw, 44px); }
.bn-talk .bn-vis, .bn-fast .bn-vis { flex: 1.1; }
.bn-talk .bn-text, .bn-fast .bn-text { flex: 1; }
.bn-text h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: 10px; }
.bn-text p { color: var(--ink-soft); }
.bn-price .bn-text p, .bn-own .bn-text p { color: #E7E8FA; }
.bn-vis { min-width: 0; }

/* chat */
.vis-chat { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 20px; background: var(--paper); }
.cb { max-width: 86%; padding: 12px 16px; border-radius: 18px; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.cb-q { align-self: flex-end; background: var(--white); border-bottom-right-radius: 6px; box-shadow: 0 8px 18px -12px rgba(22,20,59,.35); }
.cb-a { align-self: flex-start; display: flex; gap: 10px; align-items: flex-end; background: var(--cobalt); color: #fff; border-bottom-left-radius: 6px; }
.cb-a small { display: block; font-size: .78rem; font-weight: 600; opacity: .9; margin-top: 4px; }
.cb-av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--peach); color: var(--ink); font-weight: 800; font-size: .8rem; }

/* quote */
.vis-quote { position: relative; background: var(--white); color: var(--ink); border-radius: 18px; padding: 16px 18px 18px; rotate: -2deg; box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.qt-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .92rem; border-bottom: 1px dashed var(--line); }
.qt-row span { color: var(--ink-soft); font-weight: 600; }
.qt-total { border-bottom: 0; font-size: 1.05rem; }
.qt-total span, .qt-total b { color: var(--ink); font-family: var(--f-display); font-weight: 800; }
.qt-stamp { position: absolute; right: -8px; top: -14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #16A34A; color: #fff; font-weight: 800; font-size: .85rem; rotate: 6deg; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); }
.qt-stamp svg { width: 14px; height: 14px; }

/* ownership */
.vis-own { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 18px; padding: 16px 18px; }
.vis-own b { display: block; font-size: .9rem; margin-bottom: 10px; }
.vis-own ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vis-own li { display: flex; align-items: center; gap: 8px; background: var(--white); color: var(--ink); border-radius: 12px; padding: 9px 12px; font-weight: 700; font-size: .9rem; }
.vis-own li svg { width: 16px; height: 16px; color: #16A34A; flex: none; }

/* speed + search result */
.vis-fast { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 20px; background: var(--paper); }
.gauge { position: relative; flex: none; width: 104px; height: 104px; display: grid; place-items: center; align-content: center; text-align: center; }
.gauge svg { position: absolute; inset: 0; rotate: -90deg; }
.gauge circle { fill: none; stroke: #D8F3E1; stroke-width: 3.4; }
.gauge .g-val { stroke: #16A34A; stroke-linecap: round; stroke-dasharray: 95.5 97.4; }
.gauge b { font-family: var(--f-display); font-size: 1.9rem; line-height: 1; color: #15803D; }
.gauge small { font-size: .75rem; font-weight: 700; color: var(--ink-soft); }
.serp { min-width: 0; background: var(--white); border-radius: 14px; padding: 12px 14px; box-shadow: 0 8px 18px -12px rgba(22,20,59,.35); }
.serp small { display: block; font-size: .75rem; color: #4D5156; }
.serp b { display: block; color: #1A0DAB; font-size: 1.02rem; font-weight: 600; margin: 2px 0; }
.serp-stars { display: block; color: #F5A300; font-size: .82rem; }
.serp-stars i { font-style: normal; color: #4D5156; }
.serp p { font-size: .85rem; color: #4D5156; margin-top: 2px; }

@media (max-width: 1180px) and (min-width: 961px) {
  /* Narrower desktops: give the pictures in the wide boxes more of the room */
  .bn-talk .bn-vis, .bn-fast .bn-vis { flex: 1.45; }
  .vis-fast { gap: 14px; padding: 14px; }
  .gauge { width: 84px; height: 84px; }
  .gauge b { font-size: 1.6rem; }
}
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .bn-price, .bn-own { grid-column: auto; }
  .bn-talk, .bn-fast { grid-column: span 2; }
  .bn-talk, .bn-fast { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 26px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bn-talk, .bn-fast { grid-column: auto; }
  .vis-fast { flex-direction: column; align-items: flex-start; }
}

/* Packages: tighter hero, collapsible comparison table */
.page-hero-tight { padding-bottom: clamp(16px, 3vw, 40px); }
.page-hero-tight .morph { aspect-ratio: 1.35; }
.compare-toggle { border-radius: var(--r-lg); background: var(--white); box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 24px 44px -34px rgba(22,20,59,.45); }
.compare-toggle > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; padding: 24px clamp(20px, 3vw, 32px); }
.compare-toggle > summary::-webkit-details-marker { display: none; }
.compare-toggle > summary span { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.compare-toggle > summary small { color: var(--ink-soft); font-weight: 600; }
.compare-toggle > summary::after { content: "+"; margin-left: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--cobalt); font-size: 1.4rem; transition: transform .3s var(--ease), background .2s, color .2s; }
.compare-toggle[open] > summary::after { transform: rotate(45deg); background: var(--cobalt); color: #fff; }
.compare-toggle .table-wrap { border-radius: 0 0 var(--r-lg) var(--r-lg); border-top: 1px solid var(--line); }
#tiers { padding-bottom: clamp(56px, 7vw, 96px); }
#industries { padding-block: clamp(56px, 7vw, 96px); }
#industries .section-head { margin-bottom: 28px; }
#industries .industry-tabs { margin-bottom: 28px; }
.addons { margin-top: 40px; }

/* Phone price bar on the quote page */
.mbar { display: none; }
@media (max-width: 960px) {
  .mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    padding: 10px 10px 10px 18px; border-radius: 20px;
    background: var(--ink); color: #fff; box-shadow: 0 20px 40px -16px rgba(22,20,59,.6);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .mbar.show { transform: none; }
  .mbar small { display: block; font-size: .8rem; font-weight: 700; color: #DCDDF6; }
  .mbar strong { display: block; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.1; }
  .mbar .btn { padding: .8em 1.1em; font-size: .92rem; white-space: nowrap; }
  #summary { scroll-margin-top: 90px; }
}
#industries { overflow: hidden; }
.seg .chip-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Work page: quieter heading, bigger showcase */
.showcase.page-top { padding-top: clamp(110px, 14vh, 150px); }
.showcase.page-top .page-h1 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); max-width: 24ch; }
.showcase.page-top .lede { font-size: 1rem; max-width: 42em; }
.showcase.page-top .section-head { gap: 10px; }
.showcase.page-top .ring { --card-w: clamp(280px, 52vw, 780px); }
.showcase.page-top .ring-stage { height: calc(clamp(280px, 52vw, 780px) * .65 + 110px); margin-top: 20px; }
@media (max-width: 600px) {
  /* a little narrower than the screen, so the next site peeks in on each side */
  .showcase.page-top .ring { --card-w: 74vw; }
  .showcase.page-top .ring-stage { height: calc(74vw * .65 + 100px); }
}
@media (max-width: 600px) {
  .showcase.page-top .page-h1 { font-size: 1.45rem; }
  .showcase.page-top .lede { font-size: .95rem; }
  .showcase.page-top .ring-stage { margin-top: 0; }
}

/* Footer legal links */
.footer-legal { display: inline-flex; gap: 18px; flex-wrap: wrap; }

/* About: founder */
.founder-sec { padding-top: 0; }
.founder { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 24px 44px -34px rgba(22,20,59,.45); }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { display: block; width: 100%; height: auto; aspect-ratio: 673 / 900; object-fit: cover; border-radius: 20px; }
.founder-photo::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 64px; height: 64px; border-radius: 14px; background: var(--peach); z-index: -1; }
.founder-text { display: grid; gap: 14px; max-width: 34em; }
.founder-kicker { font-weight: 800; font-size: .9rem; color: var(--cobalt); }
.founder-text h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.founder-role { font-weight: 700; color: var(--ink-soft); margin-top: -6px; }
.founder-text p:not(.founder-role) { color: var(--ink-soft); font-size: 1.06rem; }
.founder-text .hero-cta { margin-top: 6px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 320px; } }
.founder-photo { isolation: isolate; }

/* About hero: founder portrait + an example website card */
.about-photos-inner > img.ap-founder { width: 58%; height: 94%; left: 6%; top: 0; object-position: center 20%; transform: translateZ(-30px); }
.about-photos .ap-site { position: absolute; right: 0; bottom: 6%; width: 60%; height: auto; transform: translateZ(90px); border: 0; }
.about-photos .ap-site .browser { width: 100%; box-shadow: var(--shadow-3d); }

/* About hero: example websites in 3D (no photo) */
.about-photos .ap-big { position: absolute; left: 0; top: 12%; width: 84%; transform: translateZ(-30px); }
.about-photos .ap-phone { position: absolute; right: 2%; bottom: 0; width: 27%; transform: translateZ(110px); }
.about-photos .ap-big .browser, .about-photos .ap-phone .phone { width: 100%; }
.about-photos .ap-chip { position: absolute; left: 4%; bottom: 10%; transform: translateZ(160px); display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--white); color: var(--ink); font-weight: 700; font-size: clamp(.75rem, 1.1vw, .9rem); white-space: nowrap; box-shadow: 0 20px 40px -18px rgba(22,20,59,.5); }
.about-photos .ap-chip svg { width: 18px; height: 18px; flex: none; }

/* ---------- Read next ---------- */
.read-next { padding-block: 0 clamp(48px, 7vw, 88px); }
.rn-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label arrow" "title arrow" "desc arrow"; column-gap: 24px; row-gap: 4px; align-items: center; padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 24px 44px -34px rgba(22,20,59,.45); transition: box-shadow .3s var(--ease); }
.rn-label { grid-area: label; font-weight: 800; font-size: .9rem; color: var(--cobalt); }
.rn-title { grid-area: title; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.1; }
.rn-desc { grid-area: desc; color: var(--ink-soft); font-size: 1.02rem; }
.rn-arrow { grid-area: arrow; width: clamp(52px, 6vw, 68px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.rn-arrow svg { width: 44%; height: 44%; }
.rn-link:hover { box-shadow: 0 1px 0 rgba(22,20,59,.06), 0 30px 56px -30px rgba(22,20,59,.55); }
.rn-link:hover .rn-arrow { transform: translateX(6px); background: var(--cobalt); }
.rn-link:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }

/* ---------- Phone action bar ---------- */
.abar { display: none; }
@media (max-width: 760px) {
  .abar { display: flex; gap: 8px; align-items: center; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; padding: 8px; border-radius: 20px; background: var(--ink); box-shadow: 0 20px 40px -16px rgba(22,20,59,.6); transform: translateY(150%); transition: transform .35s var(--ease); }
  .abar.show { transform: none; }
  .abar-quote { flex: 1; justify-content: center; padding-block: .85em; }
  .abar-ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
  .abar-ic svg { width: 24px; height: 24px; }
  .abar-ic.wa { background: #1FA855; }
  .footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .abar { transition: none; } }

.tier.picked { box-shadow: 0 0 0 3px var(--cobalt), 0 40px 70px -30px rgba(22,20,59,.45); }
.tier { scroll-margin-top: 110px; }

/* ---------- Smoother scrolling on phones and tablets ---------- */
@media (hover: none) {
  .nav-inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(247, 248, 251, .96); }
}

/* ---------- Quote builder: one step at a time ---------- */
.wizard .step { margin-bottom: 0; }
.wizard .step[hidden] { display: none; }
.wizard .step.wiz-in { animation: wizIn .35s var(--ease); }
@keyframes wizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wizard .step.wiz-in { animation: none; } }
.wizard .step-head h2:focus { outline: none; }
.wizard .step-head h2:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }

.wiz-progress { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wiz-progress button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 8px 8px; border: 0; border-top: 4px solid rgba(22,20,59,.12); background: none; font: inherit; color: var(--ink-soft); text-align: left; cursor: pointer; }
.wiz-progress button:disabled { cursor: default; color: #6B6C8C; }
.wiz-progress .wiz-dot { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: .8rem; background: var(--white); color: var(--ink-soft); }
.wiz-progress .wiz-label { font-weight: 700; font-size: .9rem; line-height: 1.2; min-width: 0; }
.wiz-progress .done button { border-top-color: var(--cobalt); color: var(--ink); }
.wiz-progress .done .wiz-dot { background: var(--cobalt); color: #fff; }
.wiz-progress .now button { border-top-color: var(--cobalt); color: var(--ink); }
.wiz-progress .now .wiz-dot { background: var(--ink); color: #fff; }
.wiz-progress button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 6px; }

.wiz-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.wiz-nav #wizNext { margin-left: auto; min-width: 9.5em; justify-content: center; }
.wiz-nav [hidden] { display: none; }
.wiz-count { font-weight: 700; color: var(--ink-soft); font-size: .92rem; }
.wiz-nav #wizBack:not([hidden]) + .wiz-count { margin-right: auto; }
@media (max-width: 600px) {
  .wiz-progress .wiz-label { display: none; }
  .wiz-progress button { justify-content: center; padding-inline: 0; }
  .wiz-progress .now .wiz-label { display: block; position: absolute; left: -9999px; }
  .wiz-count { order: -1; width: 100%; text-align: center; }
  .wiz-nav { flex-wrap: wrap; }
  .wiz-nav .btn { flex: 1; justify-content: center; }
}
.wizard .step-num { display: none; }   /* the progress bar already numbers the steps */

/* ---------- Which package? (below the packages) ---------- */
.pickr { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.pickr::before { content: ""; position: absolute; left: clamp(24px, 4vw, 44px); top: 0; width: 46px; height: 26px; background: var(--peach); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.pickr-kicker { display: block; font-weight: 800; font-size: .95rem; color: var(--peach); margin-top: 18px; }
.pickr-intro h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.12; margin-top: 10px; }
.pickr-intro p { color: #DCDDF6; margin-top: 12px; max-width: 30em; }
.pickr-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 24px; max-width: 220px; }
.pickr-bar i { height: 6px; border-radius: 99px; background: rgba(255,255,255,.16); transition: background .3s; }
.pickr-bar i.now { background: rgba(255,255,255,.5); }
.pickr-bar i.on { background: var(--peach); }

.pickr-stage { position: relative; min-width: 0; }
.pq { border: 0; margin: 0; padding: 0; min-width: 0; }
.pq[hidden], .pickr-result[hidden], .pickr-back[hidden] { display: none; }
.pq legend { padding: 0; margin-bottom: 16px; display: grid; gap: 6px; }
.pq-count { font-size: .85rem; font-weight: 700; color: #B7B8E0; }
.pq-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.2; color: #fff; }
.pq-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pq-opt { display: grid; align-content: start; gap: 6px; text-align: left; padding: 18px 16px; border-radius: 18px; cursor: pointer; font: inherit; color: #fff;
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.12); transition: transform .2s var(--ease), background .2s, border-color .2s; }
.pq-opt:hover { transform: translateY(-3px); border-color: rgba(169,182,255,.7); background: rgba(255,255,255,.1); }
.pq-opt:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.pq-opt[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); transform: translateY(-3px); }
.pq-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(169,182,255,.16); color: var(--sky); margin-bottom: 6px; transition: background .2s, color .2s; }
.pq-ic svg { width: 24px; height: 24px; }
.pq-opt[aria-pressed="true"] .pq-ic { background: rgba(255,255,255,.18); color: #fff; }
.pq-opt b { font-size: 1.02rem; line-height: 1.25; }
.pq-opt small { color: #C9CBEE; font-size: .88rem; line-height: 1.4; }
.pq-opt[aria-pressed="true"] small { color: #E8EAFF; }
.pq-in { animation: pqIn .35s var(--ease); }
@keyframes pqIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.pickr-back { margin-top: 16px; background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 700; color: #C9CBEE; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.pickr-back:hover { color: #fff; }
.pickr-back:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 4px; }

.pickr-result { padding: 4px 0; }
.pickr-result .pickr-kicker { margin-top: 0; }
.pickr-name { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; margin-top: 6px; outline: none; }
.pickr-price { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--ink); background: var(--peach); padding: 4px 12px; border-radius: 99px; font-size: .95rem; }
.pickr-result p { color: #DCDDF6; margin-top: 14px; max-width: 34em; font-size: 1.05rem; }
.pickr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; }
.btn-outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn-outline-light:hover { --bg: rgba(255,255,255,.1); }
.pickr-again { background: none; border: 0; font: inherit; font-weight: 700; color: #C9CBEE; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding: 6px 2px; }
.pickr-again:hover { color: #fff; }

@media (max-width: 900px) { .pickr { grid-template-columns: 1fr; } .pickr-bar { max-width: none; } }
@media (max-width: 640px) {
  .pq-opts { grid-template-columns: 1fr; gap: 10px; }
  .pq-opt { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px; align-items: center; }
  .pq-ic { grid-row: span 2; margin: 0; }
  .pickr-cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pq-in { animation: none; } .pq-opt, .pq-opt:hover { transition: none; transform: none; } }

/* ---------- Quote summary: "Most restaurants also add" ---------- */
.sum-extras { margin: -6px 0 18px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.sum-extras[hidden] { display: none; }
.sx-title { display: block; font-size: .85rem; font-weight: 800; color: var(--peach); margin-bottom: 10px; }
.sx-list { display: grid; gap: 8px; }
.sx { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18); background: transparent; color: #fff; font: inherit; font-size: .92rem; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.sx:hover { border-color: rgba(169,182,255,.8); background: rgba(255,255,255,.06); }
.sx:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.sx-ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255,255,255,.12); }
.sx-name { font-weight: 700; }
.sx-price { color: #DCDDF6; font-weight: 700; white-space: nowrap; font-size: .88rem; }
.sx[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); }
.sx[aria-pressed="true"] .sx-ic { background: #fff; color: var(--cobalt); }
.sx[aria-pressed="true"] .sx-price { color: #fff; }

/* ---------- Home hero: "Your website is fine. costing you customers." ---------- */
.hero h1.pitch-strike { max-width: 13ch; font-size: clamp(2.4rem, 4.8vw, 4.6rem); line-height: .98; letter-spacing: -.035em; }
.pitch-strike .was { position: relative; display: inline-block; color: var(--ink); }
.pitch-strike .was::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .16em; border-radius: 99px; background: #FF5A36; box-shadow: 0 2px 0 rgba(22,20,59,.15); transform: rotate(-4deg) scaleX(0); transform-origin: left center; animation: strikeIn .45s cubic-bezier(.23,1,.32,1) .6s forwards; }
.pitch-strike .now { display: block; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.01em; color: var(--cobalt); font-size: 1.08em; line-height: 1; margin-top: .08em; }
@keyframes strikeIn { to { transform: rotate(-4deg) scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .pitch-strike .was::after { animation: none; transform: rotate(-4deg) scaleX(1); } }

/* ---------- Free call: home hero link and quote form tick box ---------- */
.free-call { display: inline-flex; align-items: center; gap: 12px; margin: -6px 0 26px; padding: 10px 18px 10px 10px; border-radius: 99px; background: var(--white); color: var(--ink); text-decoration: none; font-size: .95rem; box-shadow: 0 10px 24px -16px rgba(22,20,59,.45); transition: box-shadow .2s ease; }
.free-call svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #16A34A; color: #fff; }
.free-call b { font-weight: 800; }
@media (hover: hover) and (pointer: fine) { .free-call:hover { box-shadow: 0 14px 30px -14px rgba(22,20,59,.55); } .free-call:hover span { text-decoration: underline; text-underline-offset: 3px; } }

.tick { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; border: 2px solid rgba(22,20,59,.14); background: var(--paper); cursor: pointer; font-weight: 400; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick-box { width: 24px; height: 24px; border-radius: 7px; border: 2px solid rgba(22,20,59,.35); background: #fff; display: grid; place-items: center; margin-top: 1px; transition: background .15s, border-color .15s; }
.tick-box::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.tick b { display: block; font-weight: 800; }
.tick small { display: block; color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.tick:has(input:checked) { border-color: var(--cobalt); background: #EEF0FF; }
.tick input:checked + .tick-box { background: var(--cobalt); border-color: var(--cobalt); }
.tick input:checked + .tick-box::after { opacity: 1; }
.tick input:focus-visible + .tick-box { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.tick { position: relative; }
/* Free call link inside the blue call-to-action band */
.cta-band .free-call, .on-dark .free-call { margin: 22px 0 0; }

/* Home hero: a calm patch behind the words, so the moving cube background never sits under the headline */
.hero-copy::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -12% -18% -12% -30%;
  background: radial-gradient(closest-side, rgba(236,238,244,.97) 62%, rgba(236,238,244,.85) 78%, rgba(236,238,244,0) 100%);
}

/* About hero on phones: keep the "Designed & built in Ireland" badge inside the screen */
@media (max-width: 760px) {
  .about-photos .ap-chip { left: 6%; bottom: 6%; transform: translateZ(40px); }
}

/* Packages, "Tailored to the way your trade works" on tablets and phones:
   keep the phone mock-up inside the screen and clear of the heading below */
@media (max-width: 900px) {
  .industry-view { margin-bottom: 12%; }
  .industry-view .phone { right: 2%; bottom: -8%; }
}

/* Home hero on phones: the 3D depth pushed the "0.8s load time" badge off the left edge */
@media (max-width: 600px) {
  .c2 { left: 18%; transform: translateZ(120px); }
}

/* "We build & maintain it": coming soon */
.is-soon { cursor: not-allowed; opacity: .75; }
.is-soon:hover { transform: none; }
.soon-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: var(--peach); color: var(--ink); font-size: .72rem; font-weight: 800; vertical-align: 1px; white-space: nowrap; }
.plan-grid .is-soon .soon-tag { display: block; width: max-content; margin: 8px 0 0; }

/* Packages page, viewing maintenance while it's "coming soon" */
.billing .is-soon { cursor: pointer; opacity: 1; }
.tier.soon-view .care-box { border: 2px dashed rgba(59,75,255,.35); opacity: .9; }
.tier.featured.soon-view .care-box { border-color: rgba(255,255,255,.3); }
.care-box .soon-tag { margin-left: 6px; }
/* Packages page: "Start with …" can't be picked while maintenance is coming soon */
.tier .pick-soon { pointer-events: none; cursor: not-allowed; opacity: .55; box-shadow: none; }
.tier .pick-soon .soon-tag { margin-left: 8px; opacity: 1; }
