/* Peter Hussaini · site styles
   Layout: an operations log for a small business. Editorial serif headlines set against
   monospaced timestamps of work getting done on its own. Navy first, cream in light mode. */
:root {
  --bg: #0A111D;
  --bg-2: #0D1626;
  --surface: #111C2F;
  --surface-2: #16233A;
  --fg: #F2ECDF;
  --fg-soft: #C8CEDA;
  --muted: #8E99AC;
  --line: rgba(242, 236, 223, .10);
  --line-strong: rgba(242, 236, 223, .20);
  --gold: #D9B45E;
  --gold-ink: #E2C27A;
  --gold-soft: rgba(217, 180, 94, .13);
  --ok: #6CC59A;
  --danger: #F08A7A;
  --btn-bg: #D9B45E;
  --btn-fg: #0A111D;
  --btn-bg-hover: #E8C878;
  --glass: rgba(17, 28, 47, .74);
  --field: #0D1626;
  --skeleton: #1B2940;
  --skeleton-2: #22324D;
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, .8);
  --shadow-md: 0 18px 40px -22px rgba(0, 0, 0, .75);
  --canvas-dot: 217, 180, 94;

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Geist", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F1E8;
    --bg-2: #EEE8DB;
    --surface: #FFFFFF;
    --surface-2: #FAF7F1;
    --fg: #0E1A2B;
    --fg-soft: #2C3A50;
    --muted: #5E6878;
    --line: rgba(14, 26, 43, .10);
    --line-strong: rgba(14, 26, 43, .20);
    --gold: #B8912F;
    --gold-ink: #8A6A1C;
    --gold-soft: rgba(184, 145, 47, .14);
    --ok: #2F8A5E;
    --danger: #B4412F;
    --btn-bg: #0E1A2B;
    --btn-fg: #F5F1E8;
    --btn-bg-hover: #1C2E49;
    --glass: rgba(255, 255, 255, .80);
    --field: #FBF9F4;
    --skeleton: #E9E3D6;
    --skeleton-2: #F3EEE4;
    --shadow-lg: 0 40px 80px -40px rgba(14, 26, 43, .35);
    --shadow-md: 0 18px 40px -24px rgba(14, 26, 43, .30);
    --canvas-dot: 14, 26, 43;
    color-scheme: light;
  }
}

:root[data-theme="light"] {
  --bg: #F5F1E8;
  --bg-2: #EEE8DB;
  --surface: #FFFFFF;
  --surface-2: #FAF7F1;
  --fg: #0E1A2B;
  --fg-soft: #2C3A50;
  --muted: #5E6878;
  --line: rgba(14, 26, 43, .10);
  --line-strong: rgba(14, 26, 43, .20);
  --gold: #B8912F;
  --gold-ink: #8A6A1C;
  --gold-soft: rgba(184, 145, 47, .14);
  --ok: #2F8A5E;
  --danger: #B4412F;
  --btn-bg: #0E1A2B;
  --btn-fg: #F5F1E8;
  --btn-bg-hover: #1C2E49;
  --glass: rgba(255, 255, 255, .80);
  --field: #FBF9F4;
  --skeleton: #E9E3D6;
  --skeleton-2: #F3EEE4;
  --shadow-lg: 0 40px 80px -40px rgba(14, 26, 43, .35);
  --shadow-md: 0 18px 40px -24px rgba(14, 26, 43, .30);
  --canvas-dot: 14, 26, 43;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .4s ease, color .4s ease;
}
img, video, svg { max-width: 100%; }
img, video { display: block; height: auto; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--btn-fg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: .7em 1.1em; border-radius: 999px; text-decoration: none; font-weight: 500;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 150px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font: 500 .74rem/1.2 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.no-rule::before { display: none; }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.012em; }
.display em { font-style: italic; color: var(--gold-ink); }
.h2 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.0; }
.section-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head > p:not(.eyebrow) { color: var(--fg-soft); font-size: 1.12rem; max-width: 60ch; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.dot.live { animation: pulse 2.2s ease-out infinite; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 1.55em; border-radius: 999px;
  font: 500 .98rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease);
  will-change: transform;
}
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic-arrow { transform: translateX(4px); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn-sm { padding: .72em 1.15em; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.copy-btn {
  font: 500 .66rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--line-strong); color: var(--muted);
  border-radius: 999px; padding: .5em .85em; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.copy-btn:hover { color: var(--gold-ink); border-color: var(--gold); }

/* ---------- Progress + header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.monogram {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--gold); color: var(--gold-ink);
  display: grid; place-items: center;
  font: 400 1.12rem/1 var(--font-display); letter-spacing: .02em;
}
.brand-name { font-weight: 600; letter-spacing: -.01em; font-size: 1.02rem; }
.brand-name small { display: block; white-space: nowrap; font: 400 .68rem/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .5em .9em; border-radius: 999px;
  color: var(--fg-soft); text-decoration: none; font-size: .94rem;
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.active { color: var(--fg); background: var(--gold-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-strong); color: var(--fg);
  cursor: pointer; transition: border-color .2s, color .2s, transform .4s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-ink); }
.theme-toggle:hover { transform: rotate(18deg); }
.menu-toggle { display: none; }

.site-header.menu-open { background: var(--bg); border-bottom-color: var(--line); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px var(--gutter) 28px; display: grid; }
.mobile-menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font: 400 1.9rem/1.1 var(--font-display); text-decoration: none; color: var(--fg);
}
.mobile-menu a span { font: 400 .72rem var(--font-mono); color: var(--muted); letter-spacing: .1em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 96px));
  padding-bottom: clamp(70px, 9vw, 120px);
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 760px; height: 760px; right: -120px; top: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--gold-soft), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero-copy { min-width: 0; }
.hero-title { font-size: clamp(3.1rem, 7.4vw, 6.6rem); line-height: .94; margin: 22px 0 26px; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .12em .08em 0; margin-bottom: -.08em; }
.hero-title .line > * { display: inline-block; animation: rise 1s var(--ease) both; }
.hero-title .line:nth-child(2) > * { animation-delay: .09s; }
.hero-title .line:nth-child(3) > * { animation-delay: .18s; }
.lede { font-size: clamp(1.08rem, 1.45vw, 1.24rem); color: var(--fg-soft); max-width: 34em; }
.hero-copy .eyebrow, .hero-copy .lede, .hero-copy .cta-row, .hero-copy .hero-contact { animation: fadeUp .9s var(--ease) both; }
.hero-copy .lede { animation-delay: .3s; }
.hero-copy .cta-row { animation-delay: .42s; }
.hero-copy .hero-contact { animation-delay: .54s; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-contact {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; gap: 10px; font-family: var(--font-mono); font-size: .86rem;
}
.hero-contact li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-contact .label { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; min-width: 4.6em; }
.hero-contact a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line-strong); overflow-wrap: anywhere; }
.hero-contact a:hover { border-color: var(--gold); }

.hero-visual {
  position: relative; justify-self: center; width: min(100%, 460px);
  display: grid; justify-items: center; padding-block: 18px;
  perspective: 1200px; animation: fadeUp 1.1s var(--ease) .15s both;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 6% 2%; z-index: -1; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  background: radial-gradient(closest-side, var(--gold-soft), transparent);
}
.device {
  position: relative; width: min(100%, 318px); max-width: 100%; aspect-ratio: 10 / 17;
  padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .5s var(--ease);
}
.device::before {
  content: ""; position: absolute; z-index: 2; top: 20px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 22px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line);
}
.device-screen {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 36px; background: var(--bg); border: 1px solid var(--line);
}
.device-head { display: flex; align-items: center; gap: 10px; padding: 50px 16px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.dv-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-ink); font: 400 1.1rem/1 var(--font-display);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
}
.device-head b { display: block; font-size: .9rem; font-weight: 600; line-height: 1.2; }
.device-head small { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--muted); }
.device-head .dot { width: 6px; height: 6px; }
.device-body {
  flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; padding: 14px 12px; font-size: .8rem; line-height: 1.38;
}
.dv-day {
  align-self: center; padding: 4px 10px; border-radius: 999px; background: var(--surface);
  font: 500 .58rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.dv-msg { max-width: 84%; padding: .55em .8em; border-radius: 14px; animation: msgIn .4s var(--ease) both; }
.dv-msg.in { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.dv-msg.out { align-self: flex-end; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-bottom-right-radius: 4px; }
.dv-msg time { display: block; margin-top: 3px; font: 500 .54rem var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.dv-msg.out time { color: var(--gold-ink); text-align: right; }
.device-body .typing { align-self: flex-end; }
.device-compose {
  display: flex; align-items: center; gap: 8px; margin: 0 10px 12px; padding: 6px 6px 6px 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .78rem;
}
.device-compose span { flex: 1; }
.device-compose b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-fg); }
.device-compose .ic { width: 13px; height: 13px; }
.float-card {
  position: absolute; z-index: 3;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: var(--shadow-md);
  font-size: .86rem; line-height: 1.4;
  animation: bob 7s ease-in-out infinite;
}
.booking-card .meta, .enquiry-pill { font: 500 .64rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bubble { padding: .6em .85em; border-radius: 14px; max-width: 92%; transition: opacity .4s ease, transform .4s var(--ease); }
.bubble.in { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; justify-self: start; }
.bubble.out { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); border-bottom-right-radius: 4px; justify-self: end; }
.typing { display: inline-flex; gap: 4px; padding: .7em .9em; border-radius: 14px; background: var(--gold-soft); justify-self: end; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-ink); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.booking-card {
  left: -8%; bottom: 3%; width: 236px; padding: 14px 16px;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center;
  animation-delay: -3.5s; transition: opacity .45s ease, transform .45s var(--ease);
}
.booking-card .tick {
  grid-row: span 2; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok);
}
.booking-card strong { font-weight: 600; font-size: .92rem; }
.enquiry-pill {
  right: -6%; top: 4%; padding: 9px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 9px; color: var(--fg-soft);
  animation-delay: -1.6s;
}
.hero-visual[data-step] .is-pending { opacity: 0; transform: translateY(8px) scale(.98); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; display: grid; gap: 14px; overflow: hidden; }
.marquee-label { text-align: center; font: 500 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee-track li {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font: 400 1.5rem/1 var(--font-display); color: var(--fg-soft); white-space: nowrap;
}
.marquee-track li::after { content: ""; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); opacity: .8; }

/* ---------- Services ---------- */
.service {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
  padding-block: clamp(52px, 7vw, 96px); border-top: 1px solid var(--line);
}
.service:last-child { padding-bottom: 0; }
.service.flip .service-copy { order: 2; }
.service-copy { min-width: 0; }
.service-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .74rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink);
}
.service-tag .ic-wrap {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-ink);
}
.service h3 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.9vw, 3.3rem); line-height: 1.02; margin: 22px 0 16px; }
.service-copy > p { color: var(--fg-soft); max-width: 46ch; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 18px; height: 18px; color: var(--gold-ink); margin-top: .22em; stroke-width: 2; }

.demo {
  position: relative; min-width: 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(16px, 2.4vw, 26px); box-shadow: var(--shadow-md);
}
.demo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--gold-soft), transparent 60%);
}
.demo:hover::before { opacity: 1; }
.demo-head {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px;
  font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.demo-head span { display: inline-flex; align-items: center; gap: 8px; }

/* website builder demo */
.browser { position: relative; border-radius: 16px; border: 1px solid var(--line-strong); overflow: hidden; background: var(--bg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.url {
  margin-left: 10px; flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 8px; background: var(--surface);
  font: 400 .72rem var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden;
}
.url .ic { width: 12px; height: 12px; }
.mini { padding: 16px; display: grid; gap: 16px; }
.mini-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-logo { display: inline-flex; align-items: center; gap: 8px; font: 400 1.05rem var(--font-display); border-radius: 6px; }
.mini-logo b { width: 18px; height: 18px; border-radius: 5px; background: var(--gold); }
.mini-links { display: flex; gap: 12px; font-size: .68rem; color: var(--muted); border-radius: 6px; }
.mini-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; align-items: stretch; }
.mini-hero h4 { font: 400 clamp(1.25rem, 2.2vw, 1.7rem)/1.02 var(--font-display); border-radius: 6px; }
.mini-hero p { font-size: .72rem; color: var(--muted); margin-top: 8px; border-radius: 4px; }
.mini-btn {
  display: inline-block; margin-top: 12px; padding: 7px 13px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-size: .7rem; font-weight: 600;
}
.mini-img {
  border-radius: 12px; min-height: 120px;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--gold) 22%, transparent) 14px 15px),
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--gold) 55%, transparent), transparent 55%),
    linear-gradient(160deg, var(--surface-2), var(--bg-2));
}
.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-cards div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: .68rem; color: var(--muted); background: var(--surface); min-width: 0; }
.mini-cards b { display: block; color: var(--fg); font-size: .76rem; font-weight: 600; margin-bottom: 2px; }
.sk { position: relative; }
.sk::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, var(--skeleton) 0%, var(--skeleton-2) 50%, var(--skeleton) 100%) 0 0 / 200% 100%;
  animation: shimmer 1.6s linear infinite;
  transition: opacity .55s ease var(--d, 0s);
}
.browser[data-stage="wire"] .sk::after,
.browser[data-stage="design"] .sk[data-layer="content"]::after { opacity: 1; }
.live-badge {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-strong);
  font: 500 .66rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg);
  transition: opacity .4s ease, transform .4s var(--ease);
}
.browser[data-stage]:not([data-stage="live"]) .live-badge { opacity: 0; transform: translateY(8px); }
.stages { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.stages li {
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  font: 500 .66rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: color .3s, border-color .3s, background-color .3s;
}
.stages li.on { color: var(--gold-ink); border-color: var(--gold); background: var(--gold-soft); }

/* chatbot demo */
.convo { position: relative; display: grid; gap: 10px; align-content: start; min-height: 330px; font-size: .92rem; }
.convo .bubble { max-width: 82%; }
.convo .stamp { font: 500 .62rem var(--font-mono); color: var(--muted); letter-spacing: .06em; }
.convo .bubble.out .stamp { color: var(--gold-ink); }
.convo .booked {
  justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--ok) 60%, transparent); color: var(--ok);
  font: 500 .7rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase;
}
.convo > * { animation: msgIn .35s var(--ease) both; }
.composer {
  position: relative; display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 8px 8px 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .85rem;
}
.composer span { flex: 1; }
.composer b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-fg); }
.composer .ic { width: 15px; height: 15px; }

/* automation demo */
.flow { position: relative; display: grid; }
.node {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .35s, box-shadow .35s, background-color .35s;
}
.node .ic-wrap {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); color: var(--fg-soft); border: 1px solid var(--line);
  transition: color .3s, background-color .3s;
}
.node b { display: block; font-weight: 600; font-size: .94rem; }
.node small { display: block; color: var(--muted); font-size: .78rem; overflow-wrap: anywhere; }
.node time { font: 500 .72rem var(--font-mono); color: var(--muted); white-space: nowrap; }
.node.is-active { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.node.is-active .ic-wrap, .node.is-done .ic-wrap { color: var(--gold-ink); background: var(--gold-soft); }
.node.is-done time, .node.is-active time { color: var(--gold-ink); }
.flow[data-run] .node:not(.is-done):not(.is-active) { opacity: .55; }
.connector { position: relative; height: 20px; width: 2px; margin-left: 33px; background: var(--line-strong); overflow: hidden; }
.connector::after {
  content: ""; position: absolute; left: 0; top: -60%; width: 2px; height: 60%;
  background: linear-gradient(transparent, var(--gold)); animation: flowdown 1.4s linear infinite;
}

/* ---------- Calculator ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 30px;
  padding: clamp(24px, 4.5vw, 56px); box-shadow: var(--shadow-md);
}
.calc-copy { display: grid; gap: 30px; min-width: 0; align-content: start; }
.calc-copy .section-head { margin-bottom: 0; }
.field-range { display: grid; gap: 12px; }
.field-range .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.field-range label { font-weight: 500; }
.field-range output { font: 500 .95rem var(--font-mono); color: var(--gold-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--gold) var(--p), var(--line-strong) var(--p));
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--gold-soft);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 5px var(--gold-soft);
}
.calc-result {
  display: grid; align-content: center; gap: 22px; min-width: 0;
  border-radius: 22px; padding: clamp(22px, 3.5vw, 40px);
  background:
    radial-gradient(500px circle at 100% 0%, var(--gold-soft), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.big-num { font: 400 clamp(4.6rem, 10vw, 7.6rem)/.86 var(--font-display); color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.big-unit { font-size: 1.05rem; color: var(--fg-soft); margin-top: 8px; }
.calc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.calc-stats b { display: block; font: 400 2.2rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.calc-stats span { font-size: .86rem; color: var(--muted); }
.calc-note { font-size: .8rem; color: var(--muted); }

/* ---------- Videos ---------- */
.reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.reel { display: grid; gap: 14px; min-width: 0; margin: 0; }
.reel:nth-child(even) { transform: translateY(36px); }
.reel-frame {
  position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 9 / 16; padding: 0;
  border-radius: 26px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); box-shadow: var(--shadow-md);
  transition: transform .5s var(--ease), border-color .3s;
}
.reel-frame:hover { transform: translateY(-6px); border-color: var(--gold); }
.reel-frame video, .reel-frame img { width: 100%; height: 100%; object-fit: cover; }
.reel-play {
  position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--glass); color: var(--fg);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.reel-play .ic { width: 16px; height: 16px; margin-left: 2px; }
.reel figcaption { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.reel figcaption b { font: 400 1.35rem/1.1 var(--font-display); }
.reel figcaption span { font: 500 .7rem var(--font-mono); color: var(--muted); letter-spacing: .08em; white-space: nowrap; }

.lightbox {
  border: none; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible;
  width: min(420px, calc(100vw - 32px));
}
.lightbox::backdrop { background: rgba(5, 9, 16, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox video { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 22px; background: #000; }
.lightbox-close {
  position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); cursor: pointer;
}

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.work-card {
  display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: 12px 12px 24px;
  border-radius: 24px; border: 1px solid var(--line); background: var(--surface); min-width: 0;
  transition: transform .5s var(--ease), border-color .3s;
}
.work-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.work-art { position: relative; aspect-ratio: 16 / 11; max-width: 100%; border-radius: 15px; overflow: hidden; background: var(--bg-2); }
.work-art svg { width: 100%; height: 100%; display: block; transition: transform .8s var(--ease); }
.work-card:hover .work-art svg { transform: scale(1.04); }
.work-meta { display: grid; gap: 10px; align-content: start; padding-inline: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span {
  font: 500 .64rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px;
}
.work-meta h3 { font: 400 1.65rem/1.08 var(--font-display); }
.work-meta p { color: var(--fg-soft); font-size: .95rem; }
.work-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; width: fit-content;
  font: 500 .74rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid transparent;
}
.work-link:hover { border-color: currentColor; }
.work-link .ic { width: 14px; height: 14px; }
/* illustration fills */
.i-bg { fill: var(--bg-2); }
.i-panel { fill: var(--surface); }
.i-panel-2 { fill: var(--surface-2); }
.i-line { fill: var(--line-strong); }
.i-stroke { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.i-gold { fill: var(--gold); }
.i-gold-soft { fill: var(--gold-soft); }
.i-gold-stroke { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-fg { fill: var(--fg); }
.i-muted { fill: var(--muted); }
.i-ok { fill: var(--ok); }
.i-text { font-family: var(--font-display); fill: var(--fg); }
.i-mono { font-family: var(--font-mono); fill: var(--muted); letter-spacing: .08em; }
.i-route { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 5 6; animation: dash 3s linear infinite; }

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; }
.steps::before { background: var(--line-strong); }
.steps::after { background: var(--gold); transform-origin: left; transform: scaleX(var(--progress, 1)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; display: grid; gap: 14px; align-content: start; min-width: 0; }
.step-num {
  width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--gold); color: var(--gold-ink);
  font: 500 .82rem var(--font-mono);
}
.step-label { font: 500 .68rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step h3 { font: 400 1.75rem/1.05 var(--font-display); }
.step p { color: var(--fg-soft); font-size: .97rem; }

/* ---------- Packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 22px); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px; min-width: 0;
  padding: clamp(26px, 3vw, 36px); border-radius: 26px; border: 1px solid var(--line); background: var(--surface);
}
.plan.featured {
  border-color: var(--gold);
  background: radial-gradient(520px circle at 50% -20%, var(--gold-soft), transparent 65%), var(--surface);
  box-shadow: var(--shadow-md);
}
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-kind { font: 500 .7rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-badge {
  font: 500 .64rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg); padding: 5px 10px; border-radius: 999px;
}
.plan h3 { font: 400 2.6rem/1 var(--font-display); }
.plan > p { color: var(--fg-soft); font-size: .97rem; }
.plan .ticks { margin-top: 4px; font-size: .96rem; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 28px; color: var(--muted); font-size: .92rem; text-align: center; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.ceo-card {
  margin: 0; display: grid; gap: 14px; width: min(100%, 220px); align-content: start;
  position: sticky; top: calc(var(--header-h) + 28px);
  padding: 12px 12px 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-md);
}
.ceo-photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-card figcaption { display: grid; gap: 4px; padding-inline: 6px; min-width: 0; }
.ceo-card b { font: 400 1.55rem/1.1 var(--font-display); }
.ceo-role { font: 500 .68rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.ceo-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; }
.ceo-card a { font-size: .9rem; color: var(--muted); text-decoration: none; width: fit-content; border-bottom: 1px solid var(--line-strong); }
.ceo-card a:hover { color: var(--gold-ink); }
.about-copy { display: grid; gap: 20px; min-width: 0; }
.about-copy > p:not(.eyebrow):not(.signature) { color: var(--fg-soft); font-size: 1.1rem; max-width: 56ch; }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.promises h3 { font-size: 1.02rem; font-weight: 600; font-family: var(--font-body); display: flex; gap: 10px; align-items: center; }
.promises h3 .ic { color: var(--gold-ink); width: 18px; height: 18px; stroke-width: 2; }
.promises p { color: var(--muted); font-size: .94rem; margin-top: 6px; }
.signature { font: italic 400 2.6rem/1 var(--font-display); color: var(--gold-ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; cursor: pointer; font-size: 1.14rem; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold-ink); }
.faq-list summary .ic { width: 22px; height: 22px; transition: transform .4s var(--ease); color: var(--gold-ink); }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list details p { padding: 0 0 26px; color: var(--fg-soft); max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 34px; border: 1px solid var(--line); background: var(--surface);
  padding: clamp(36px, 7vw, 96px); display: grid; gap: 22px;
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; right: -220px; top: 50%; width: 720px; height: 720px; transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 38px, color-mix(in srgb, var(--gold) 30%, transparent) 38px 39px);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
  animation: breathe 9s ease-in-out infinite;
}
.cta-band h2 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1; max-width: 14ch; }
.cta-band p:not(.eyebrow) { color: var(--fg-soft); font-size: 1.12rem; max-width: 50ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-info { display: grid; gap: 20px; min-width: 0; }
.contact-info > p:not(.eyebrow) { color: var(--fg-soft); font-size: 1.08rem; max-width: 46ch; }
.contact-list { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.contact-list .ic-wrap {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--gold-ink);
}
.contact-list small { display: block; font: 500 .66rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list .value { font-size: 1.05rem; color: var(--fg); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold-ink); }

.form {
  display: grid; gap: 18px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field legend { font-size: .9rem; font-weight: 500; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: .85em 1em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; min-height: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: .6em 1.05em; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .92rem; transition: all .2s;
}
.choice span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--muted); transition: all .2s; }
.choice input:checked + span { border-color: var(--gold); background: var(--gold-soft); color: var(--gold-ink); }
.choice input:checked + span::before { background: var(--gold); border-color: var(--gold); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form-foot small { color: var(--muted); font-size: .82rem; max-width: 34ch; }
.form-foot small a { color: var(--fg-soft); }
.form-status { border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; font-size: .95rem; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.form-status.warn { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); }
.form-status .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 104px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.footer-grid h2 { font: 500 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--fg-soft); text-decoration: none; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--gold-ink); }
.footer-about p { color: var(--muted); max-width: 36ch; margin-top: 16px; font-size: .95rem; }
.wordmark {
  margin-top: 56px; font: 400 clamp(3.4rem, 14.5vw, 13rem)/.85 var(--font-display); letter-spacing: -.03em;
  white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-strong);
  user-select: none;
}
.wordmark em { -webkit-text-stroke: 1px color-mix(in srgb, var(--gold) 60%, transparent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }

/* ---------- Floating UI ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--fg); color: var(--bg); padding: .75em 1.2em; border-radius: 999px; font-size: .9rem; font-weight: 500;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.to-top {
  position: fixed; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  background: var(--surface); box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Chat widget ---------- */
.chat-launcher {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 65;
  display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border: none; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-lg);
  font: 500 .95rem var(--font-body); cursor: pointer; transition: transform .3s var(--ease), background-color .2s;
}
.chat-launcher:hover { transform: translateY(-2px); background: var(--btn-bg-hover); }
.chat-launcher .avatar { position: relative; }
.chat-launcher .monogram { width: 40px; height: 40px; border-color: var(--btn-fg); color: var(--btn-fg); font-size: 1.05rem; }
.chat-launcher .dot { position: absolute; right: 0; bottom: 1px; border: 2px solid var(--btn-bg); width: 12px; height: 12px; }
.chat-teaser {
  position: fixed; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 64;
  max-width: 250px; padding: 12px 34px 12px 14px; border-radius: 16px 16px 4px 16px;
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-md); font-size: .9rem;
  animation: msgIn .4s var(--ease) both;
}
.chat-teaser button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: none; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.chat-teaser button .ic { width: 14px; height: 14px; }
.chat-panel {
  position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(88px + env(safe-area-inset-bottom, 0px)); z-index: 66;
  width: min(390px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: var(--shadow-lg);
  transform-origin: bottom right; animation: pop .3s var(--ease) both;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.chat-head .monogram { width: 42px; height: 42px; }
.chat-head .who { flex: 1; min-width: 0; }
.chat-head b { display: block; font-weight: 600; }
.chat-head small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; }
.chat-head .dot { width: 7px; height: 7px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: .65em .95em; border-radius: 16px; font-size: .94rem; line-height: 1.45; animation: msgIn .3s var(--ease) both; overflow-wrap: anywhere; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: var(--btn-bg); color: var(--btn-fg); border-bottom-right-radius: 5px; }
.msg a { color: inherit; font-weight: 600; }
.msg.typing-msg { display: inline-flex; gap: 4px; padding: .85em 1em; }
.msg.typing-msg i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg.typing-msg i:nth-child(2) { animation-delay: .15s; }
.msg.typing-msg i:nth-child(3) { animation-delay: .3s; }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 12px; scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button {
  flex: none; padding: .5em .95em; border-radius: 999px; border: 1px solid var(--gold);
  background: transparent; color: var(--gold-ink); font-size: .85rem; cursor: pointer; transition: background-color .2s;
}
.chat-chips button:hover { background: var(--gold-soft); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 1rem; color: var(--fg); background: var(--field);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: .7em 1.1em;
}
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--btn-bg); color: var(--btn-fg); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-form button .ic { width: 18px; height: 18px; }
.chat-foot { padding: 0 16px 10px; font: 400 .66rem var(--font-mono); color: var(--muted); letter-spacing: .04em; text-align: center; }

/* ---------- Reveal ---------- */
.js .reveal { transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal:not(.in) { transform: translateY(34px); opacity: .5; }

/* ---------- Keyframes ---------- */
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes flowdown { to { top: 110%; } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-50%) scale(1.06); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--ok) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 0%, transparent); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .brand-name small { display: none; }
}
@media (max-width: 1100px) {
  .booking-card { left: -2%; }
  .enquiry-pill { right: -2%; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .service, .calc, .about, .faq, .contact { grid-template-columns: minmax(0, 1fr); }
  .service.flip .service-copy { order: 0; }
  .hero-visual { margin-top: 16px; width: min(100%, 520px); }
  .ceo-card { position: static; grid-template-columns: 120px minmax(0, 1fr); align-items: center; width: min(100%, 440px); }
  .faq .section-head { position: static; }
  .work-grid, .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans .plan:last-child { grid-column: 1 / -1; }
  .reels { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(220px, 42%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
  .reel { scroll-snap-align: start; }
  .reel:nth-child(even) { transform: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .header-actions .btn-sm { display: none; }
  .brand-name small { display: none; }
  .hero-title { font-size: clamp(2.9rem, 13.5vw, 3.6rem); }
  .device { width: min(100%, 290px); }
  .booking-card { left: -4px; bottom: -7%; width: 200px; }
  .enquiry-pill { right: -4px; top: 2%; }
  .ceo-card { grid-template-columns: 96px minmax(0, 1fr); }
  .mini-hero { grid-template-columns: minmax(0, 1fr); }
  .mini-img { min-height: 70px; }
  .mini-links { display: none; }
  .work-grid, .plans, .form-row, .promises, .calc-stats { grid-template-columns: minmax(0, 1fr); }
  .plans .plan:last-child { grid-column: auto; }
  .reels { grid-auto-columns: 70%; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .contact-list li { grid-template-columns: auto minmax(0, 1fr); }
  .contact-list li .copy-btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .chat-launcher .launcher-label { display: none; }
  .chat-launcher { padding: 6px; }
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .to-top { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; transition-delay: 0s !important;
  }
  .js .reveal:not(.in) { transform: none; opacity: 1; }
  .marquee-track { animation: none; }
}

/* Portfolio screenshots of live sites */
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-card:hover .work-shot img { transform: scale(1.04); }

/* Prices */
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: -6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.plan-price .from, .guide-price .from { font: 500 .66rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 100%; }
.plan-price b { font: 400 2.1rem/1 var(--font-display); color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.plan-price .usd, .guide-price .usd { font: 500 .9rem var(--font-mono); color: var(--fg-soft); }
.price-guide { margin-top: clamp(48px, 6vw, 72px); }
.price-guide h3 { font: 400 1.9rem/1.1 var(--font-display); margin-bottom: 18px; }
.price-guide ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-guide li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-guide h4 { font-size: 1.08rem; font-weight: 600; }
.price-guide li p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.guide-price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.guide-price b { font: 400 1.6rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .price-guide li { grid-template-columns: minmax(0, 1fr); }
  .guide-price { justify-items: start; text-align: left; }
}
.price-guide li.guide-premium {
  margin-top: 14px; padding: 24px; border: 1px solid var(--gold); border-radius: 20px;
  background: radial-gradient(520px circle at 0% 0%, var(--gold-soft), transparent 70%), var(--surface);
  box-shadow: var(--shadow-md);
}
.guide-premium .plan-badge { display: inline-block; margin-bottom: 10px; }
.guide-premium h4 { font: 400 1.7rem/1.1 var(--font-display); }
.guide-premium .guide-price b { color: var(--gold-ink); }
.guide-premium .guide-price .btn { margin-top: 8px; }

/* Currency switch */
.currency-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.currency { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); }
.currency button {
  border: 0; background: transparent; color: var(--fg-soft); cursor: pointer;
  padding: .55em 1.1em; border-radius: 999px; font: 500 .88rem var(--font-body);
  transition: background-color .25s, color .25s;
}
.currency button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.section-head p.currency-note { font-size: .9rem; color: var(--muted); max-width: 44ch; }
.money { font-variant-numeric: tabular-nums; }
