/* BeHel Tech site. Brand from the { B } logo, gradient version: light pink #FFE4F1 ground, navy #0B1020 text,
   gradient #2155E6 to #E0398A (brighter #4F8BFF to #FF5CAA on navy), Space Grotesk over Inter.
   Layout and UX rules from the UI UX Pro Max skill (portfolio grid with filters, trust + conversion, 44px targets, 4.5:1 text). */

:root {
  color-scheme: light;
  /* Colour. --accent is the deep pink for small text and icons; --grad-strong sits behind white text. */
  --bg: #FFE4F1; --bg-2: #FFF1F7; --bg-3: #FFF7FB; --surface: #FFFFFF; --surface-2: #FFFFFF;
  --line: #F4CADD; --line-2: #EBB3CD;
  --text: #0B1020; --text-2: #4B4360; --text-3: #6E6280;
  --blue: #2155E6; --pink: #E0398A; --accent: #B81F6C; --on-brand: #FFFFFF;
  --ok: #16A34A; --err: #DC2626;
  --grad: linear-gradient(100deg, var(--blue), var(--pink));
  --grad-strong: linear-gradient(100deg, #2155E6, #C8247A);
  /* Primary buttons are one solid colour: navy on the pink page, pink inside the navy contact block */
  --btn: #0B1020; --btn-hover: #232C4D; --btn-ink: #FFFFFF;
  /* Type */
  --font-display: "Space Grotesk", system-ui, sans-serif; --font-body: "Inter", system-ui, sans-serif;
  --fs-hero: clamp(2.6rem, 4.6vw + 0.6rem, 4.75rem); --fs-h2: clamp(2rem, 2.6vw + 0.9rem, 3.25rem); --fs-h3: 1.25rem;
  --fs-lead: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem); --fs-body: 1rem; --fs-sm: 0.875rem;
  /* Space (spacious marketing scale) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow: 0 1px 2px #8a1c5214, 0 22px 44px -28px #8a1c5259;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --spring: cubic-bezier(0.34, 1.45, 0.64, 1); --t-fast: 160ms; --t-mid: 260ms; --t-slow: 600ms;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-body)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: #e0398a40; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); background: var(--text); color: var(--bg); }
.skip:focus-visible { top: var(--s-4); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5); border: 1px solid transparent; border-radius: var(--r-pill); font: 600 var(--fs-body)/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--t-fast) var(--ease), background-color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.btn .ic { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease); }
.btn--primary { background: var(--btn); color: var(--btn-ink); box-shadow: 0 8px 22px -12px #0b102099; }
.btn--primary:hover { background: var(--btn-hover); box-shadow: 0 12px 26px -12px #0b1020aa; transform: translateY(-1px); }
.btn--primary:hover .ic { transform: translate(2px, -2px); }
.btn--ghost { border-color: var(--line-2); background: #ffffffb3; color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); background: #ffffff; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 var(--s-4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease); }
.nav.is-stuck { background: #ffe4f1e6; border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav__in { display: flex; align-items: center; gap: var(--s-6); height: 100%; }
.brand { display: inline-flex; border-radius: 8px; }
.brand__svg { display: block; width: auto; height: 34px; overflow: visible; }
.brand__text { font: 700 30px var(--font-display); letter-spacing: -0.6px; fill: var(--text); }
.brand__t { font-weight: 500; }
.nav__menu { position: relative; display: flex; gap: var(--s-1); margin-left: auto; }
/* One white pill slides under the section you are in, and over to the link under the mouse */
.nav__pill { position: absolute; left: 0; top: 50%; height: 40px; width: var(--pw, 0); border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; box-shadow: 0 6px 16px -10px #8a1c5266; transform: translate(var(--px, 0), -50%); opacity: 0; pointer-events: none; transition: transform 0.45s var(--spring), width 0.45s var(--spring), opacity var(--t-mid) var(--ease); }
.nav__pill.is-on { opacity: 1; }
.nav__menu a { position: relative; z-index: 1; white-space: nowrap; }
.nav__menu.has-pill a:hover { background: transparent; }
.nav__menu a[aria-current="true"] { color: var(--text); }
.nav__menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-pill); color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; text-decoration: none; transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.nav__menu a:hover { color: var(--text); background: #ffffffa6; }
.nav__end { display: flex; align-items: center; gap: var(--s-3); }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: var(--r-pill); }
.lang button { min-width: 44px; min-height: 36px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--text-3); font: 600 var(--fs-sm)/1 var(--font-display); cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }

/* Hero */
.hero { position: relative; padding: var(--s-9) 0 var(--s-8); overflow: clip; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 70vw; max-width: 980px; aspect-ratio: 1; background: radial-gradient(closest-side, #ffffffd9, #c9d6ff66 45%, transparent 72%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-8); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--text-2); font: 600 1rem/1 var(--font-display); }
.eyebrow__b { width: 11px; height: 28px; flex-shrink: 0; overflow: visible; }
.hero h1 { margin: var(--s-5) 0 var(--s-5); font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 > span { display: block; }
.hero__lead { max-width: 54ch; color: var(--text-2); font-size: var(--fs-lead); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__ticks { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: var(--fs-sm); }
.hero__ticks li { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__ticks .ic { width: 16px; height: 16px; color: var(--accent); }

.hero__stage { position: relative; padding: var(--s-5) var(--s-8) var(--s-8) 0; }
.frame { margin: 0; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.frame__bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.frame__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.frame--desk img { width: 100%; }
.frame--phone { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 230px; border-radius: 28px; border-width: 6px; border-color: #1a2340; }
.frame--phone img { border-radius: 20px; }
/* Phone booking screen in Aurea's colours. Children are placed on a 330 x 700 grid: 1 grid unit = --u. */
.pu { position: relative; aspect-ratio: 330 / 700; --u: calc(100cqw / 330); border-radius: 20px; overflow: hidden; background: #FBF6F8; color: #2B1426; font-family: var(--font-body); line-height: 1.2; }
.pu > * { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u)); box-sizing: border-box; }
.pu-head { background: #3B1A33; }
.pu-notch { background: #05040a; border-radius: 0 0 calc(14 * var(--u)) calc(14 * var(--u)); }
.pu-logo { display: grid; place-items: center; border-radius: calc(9 * var(--u)); background: #F2D7B6; color: #6B2A57; font: 700 calc(12 * var(--u))/1 var(--font-display); }
.pu-name { color: #FFFFFF; font: 600 calc(15 * var(--u))/1.2 var(--font-display); }
.pu-sub { color: #E3C9DA; font-size: calc(11 * var(--u)); }
.pu-title { color: #FFFFFF; font: 600 calc(22 * var(--u))/1.2 Georgia, "Times New Roman", serif; }
.pu-pro { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(6 * var(--u)); border: 1px solid #EADDE5; border-radius: calc(12 * var(--u)); background: #FFFFFF; font-size: calc(11 * var(--u)); font-weight: 600; }
.pu-pro i { display: grid; place-items: center; width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: 50%; color: #FFFFFF; font: 700 calc(10 * var(--u))/1 var(--font-body); }
.pu-pro.is-on { border: calc(2 * var(--u)) solid #7E3767; }
.pu-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(2 * var(--u)); border: 1px solid #EADDE5; border-radius: calc(10 * var(--u)); background: #FFFFFF; font: 700 calc(15 * var(--u))/1 var(--font-body); }
.pu-day small { color: #8A7383; font-size: calc(9 * var(--u)); font-weight: 600; }
.pu-day.is-on { border-color: #3B1A33; background: #3B1A33; color: #FFFFFF; }
.pu-day.is-on small { color: #E3C9DA; }
.pu-label { color: #8A7383; font-size: calc(10 * var(--u)); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pu-time { display: grid; place-items: center; border: 1px solid #EADDE5; border-radius: calc(9 * var(--u)); background: #FFFFFF; font-size: calc(12.5 * var(--u)); font-weight: 600; }
.pu-time.is-off { background: #F6F0F3; color: #C9B9C3; text-decoration: line-through; }
.pu-time.is-on { border-color: #7E3767; background: #7E3767; color: #FFFFFF; }
.pu-btn { display: grid; place-items: center; border-radius: calc(14 * var(--u)); background: #7E3767; color: #FFFFFF; font-size: calc(15 * var(--u)); font-weight: 600; }
.pu-card { display: flex; flex-direction: column; justify-content: center; gap: calc(4 * var(--u)); padding: 0 calc(14 * var(--u)); border: 1px solid #EADDE5; border-radius: calc(14 * var(--u)); background: #FFFFFF; color: #6E5A69; font-size: calc(11 * var(--u)); }
.pu-card b { color: #2B1426; font-size: calc(12.5 * var(--u)); }
.pu-card small { color: #7E3767; font-size: calc(10 * var(--u)); font-weight: 600; }
.pu-home { border-radius: 3px; background: #2B1426; opacity: 0.25; }
.toast { position: absolute; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fffffff2; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: var(--fs-sm); line-height: 1.35; }
.toast b { display: block; font-family: var(--font-display); font-weight: 600; }
.toast small { color: var(--text-3); font-size: 0.8125rem; }
.toast--a { left: -28px; top: 12%; }
.toast--b { left: 18%; bottom: 0; }
.toast__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #2155e61a; color: var(--blue); }
.toast__ic--ok { background: #16a34a1f; color: var(--ok); }
.toast .ic { width: 18px; height: 18px; }

.stack { margin-top: var(--s-9); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.stackline { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-3); margin: 0; padding: 0; list-style: none; }
.stackline li { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #ffffff8c; color: var(--text-2); font-size: var(--fs-sm); }

/* Sections */
.section { padding: var(--s-10) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: var(--s-8); }
.head--center { margin-inline: auto; text-align: center; }
.head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-6); max-width: none; flex-wrap: wrap; }
.kicker { margin-bottom: var(--s-3); color: var(--accent); font: 600 var(--fs-sm)/1.2 var(--font-display); }
.head h2, .why h2, .cta h2 { font-size: var(--fs-h2); }
.head__lead { margin-top: var(--s-4); max-width: 60ch; color: var(--text-2); font-size: var(--fs-lead); }

/* Cards */
.card { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease); }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--text-2); }
/* Our icons (x-* symbols in index.html): braces + drawing, shown bare, no tinted square */
.x-ic { display: block; flex-shrink: 0; width: 56px; height: 56px; overflow: visible; }
.card--mini .x-ic, .points .x-ic { width: 48px; height: 48px; }
.list { display: grid; gap: var(--s-2); margin: var(--s-4) 0 0; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 26px; color: var(--text-2); font-size: 0.9375rem; }
.list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.card--svc { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); }
.card--svc:hover, .card--why:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card--feature { grid-row: span 2; background: linear-gradient(180deg, #eef3ff, var(--surface)); border-color: #c9d6ff; overflow: hidden; }
.card__shot { margin-top: auto; translate: 0 var(--s-6); border-radius: var(--r-sm) var(--r-sm) 0 0; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.card--mini { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-6); }
.card--mini h3 { font-size: 1.0625rem; margin-bottom: 2px; }
.card--mini p { font-size: 0.9375rem; }

/* Work */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-pill); background: transparent; color: var(--text-2); font: 500 var(--fs-sm)/1 var(--font-display); cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.chip:hover { border-color: var(--blue); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--surface); }
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.project { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: border-color var(--t-mid) var(--ease); }
.project:hover { border-color: var(--line-2); }
.project[hidden] { display: none; }
.project__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); border-bottom: 1px solid var(--line); }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform var(--t-slow) var(--ease); }
.project:hover .project__media img { transform: scale(1.025); }
.project__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); flex: 1; }
.project__body h3 { font-size: 1.5rem; }
.project__body p { color: var(--text-2); }
.project--wide { grid-column: 1 / -1; flex-direction: row; }
.project--wide .project__media { flex: 1.35; aspect-ratio: auto; min-height: 380px; border-bottom: 0; border-right: 1px solid var(--line); }
.project--wide .project__body { flex: 1; justify-content: center; padding: var(--s-7); }
.project--wide h3 { font-size: 2rem; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tags span { padding: 4px 10px; border-radius: var(--r-pill); background: #2155e614; color: var(--blue); font-size: 0.8125rem; font-weight: 500; }
.link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; margin-top: auto; color: var(--blue); font: 600 var(--fs-body)/1 var(--font-display); text-decoration: none; }
.link .ic { width: 18px; height: 18px; transition: transform var(--t-mid) var(--ease); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link:hover .ic { transform: translate(2px, -2px); }
.empty { padding: var(--s-7); color: var(--text-3); text-align: center; }

/* Inside a system */
.inside__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin: 0; padding: 0; list-style: none; }
.points li { position: relative; display: flex; gap: var(--s-4); padding: var(--s-3) var(--s-4); border: 1px solid transparent; border-radius: var(--r-md); }
.points h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.points p { color: var(--text-2); font-size: 0.9375rem; }

/* Enlarged panel: the window opens full screen, with zoom in and out */
.frame--big { position: relative; }
.frame--big .shot { cursor: zoom-in; }
.zoom-btn { display: none; }
.js .zoom-btn { position: absolute; right: var(--s-3); bottom: var(--s-3); z-index: 2; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4); border: 0; border-radius: var(--r-pill); background: var(--text); color: var(--bg-3); font: 600 var(--fs-sm)/1 var(--font-display); cursor: pointer; transition: transform var(--t-fast) var(--ease); }
.zoom-btn:hover { transform: translateY(-2px); }
.zoom-btn .ic { width: 18px; height: 18px; }
html:has(.zoom[open]) { overflow: hidden; }
.zoom { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.zoom::backdrop { background: #0b1020eb; }
.zoom__view { position: absolute; inset: 0; display: flex; padding: var(--s-4); overflow: auto; overscroll-behavior: contain; }
.zoom__view img { flex: none; max-width: none; margin: auto; border-radius: var(--r-sm); cursor: zoom-in; user-select: none; }
.zoom__view.is-big img { cursor: grab; }
.zoom__view.is-drag img { cursor: grabbing; }
.zoom__tools { position: fixed; top: var(--s-4); right: var(--s-4); display: flex; gap: var(--s-1); padding: var(--s-1); border-radius: var(--r-pill); background: var(--surface); box-shadow: var(--shadow); }
.zoom__tools button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.zoom__tools button:hover { background: var(--bg-2); }
.zoom__tools button:disabled { color: var(--line-2); cursor: default; background: transparent; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; padding: var(--s-6); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: calc(-1 * var(--s-5)); width: var(--s-5); height: 1px; background: var(--grad); }
.step__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s-5); border-radius: 50%; background: var(--grad-strong); color: var(--on-brand); font: 700 1.125rem/1 var(--font-display); }
.step h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.step p { color: var(--text-2); font-size: 0.9375rem; }

/* Why */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); margin: 0; padding: 0; list-style: none; }
.card--why { padding: var(--s-6); }
.card--why h3 { margin-bottom: var(--s-2); font-size: 1.125rem; }
.card--why p { font-size: 0.9375rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s-8); align-items: start; }
.faq .head { margin-bottom: 0; }
.faq__list { display: grid; gap: var(--s-3); }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: border-color var(--t-mid) var(--ease); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 60px; padding: var(--s-4) var(--s-5); font: 600 1.0625rem/1.35 var(--font-display); cursor: pointer; list-style: none; border-radius: var(--r-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-3px); transition: transform var(--t-mid) var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 var(--s-5) var(--s-5); color: var(--text-2); }

/* Contact */
/* The contact block stays navy: the page's one dark panel, with the brighter brand colours scoped to it */
.cta {
  color-scheme: dark;
  --bg: #0B1020; --bg-2: #0F162B; --bg-3: #141C34; --surface: #121A31; --surface-2: #18213D;
  --line: #1E2844; --line-2: #2B3657;
  --text: #F1F5F9; --text-2: #C3CAD8; --text-3: #8F99AF;
  --blue: #4F8BFF; --pink: #FF5CAA; --accent: #FF7DBB; --ok: #34D399; --err: #F87171;
  --grad: linear-gradient(100deg, var(--blue), var(--pink));
  --btn: #FF5CAA; --btn-hover: #FF7DBB; --btn-ink: #0B1020;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-8); padding: var(--s-8); border: 1px solid #2b3a66; border-radius: 32px; background: linear-gradient(160deg, #121c38, #0d1428); color: var(--text); overflow: hidden;
}
.cta__glow { position: absolute; left: -15%; bottom: -40%; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, #ff5caa2e, transparent 70%); pointer-events: none; }
.cta__copy { position: relative; }
.cta__mail { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; margin-top: var(--s-6); color: var(--text); font: 600 1.125rem/1 var(--font-display); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.cta__mail:hover { border-color: var(--accent); }
.cta__mail .ic { color: var(--accent); }
.form { position: relative; display: grid; gap: var(--s-4); }
.form__trap { display: none; }
.cookies { position: fixed; left: var(--s-4); right: var(--s-4); bottom: var(--s-4); z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); max-width: 640px; margin-inline: auto; padding: var(--s-4) var(--s-5); border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow); }
.cookies[hidden] { display: none; }
.cookies p { flex: 1 1 260px; color: var(--text-2); font-size: var(--fs-sm); }
.cookies__btns { display: flex; gap: var(--s-2); }
.cookies .btn { min-height: 44px; padding: 0 var(--s-4); font-size: var(--fs-sm); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { padding: 0; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #0a0f1d; color: var(--text); font-size: 1rem; transition: border-color var(--t-fast) var(--ease); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover { border-color: #3a4870; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { min-height: 1.2em; color: var(--err); font-size: var(--fs-sm); }
.needs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: 4px; }
.need { position: relative; display: inline-flex; cursor: pointer; }
.need input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.need span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.need:hover span { border-color: var(--blue); color: var(--text); }
.need input:checked + span { background: #4f8bff26; border-color: var(--blue); color: var(--text); }
.need input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__help { color: var(--text-3); font-size: var(--fs-sm); text-align: center; }

/* Footer */
.foot { padding: var(--s-8) 0 var(--s-6); border-top: 1px solid var(--line); background: var(--bg-2); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); align-items: start; }
.foot__brand p { margin-top: var(--s-3); max-width: 34ch; color: var(--text-3); font-size: var(--fs-sm); }
.foot__nav { display: grid; gap: var(--s-1); }
.foot__nav a, .foot__addr a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-2); font-size: var(--fs-sm); text-decoration: none; }
.foot__nav a:hover, .foot__addr a:hover { color: var(--text); text-decoration: underline; }
.foot__addr { color: var(--text-3); font-size: var(--fs-sm); font-style: normal; line-height: 1.8; }
.foot__legal { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.8125rem; }

/* Reveal on scroll (content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Motion (motion.js). Decoration only: without JS, or with reduced motion, the page stands still. */
@property --brace { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes rise-blur { from { opacity: 0; transform: translateY(0.3em); filter: blur(12px); } }
@keyframes shine { from { background-position: 100% 0, 0 0; } to { background-position: 0 0, 0 0; } }
@keyframes desk-in { from { opacity: 0; transform: perspective(1600px) rotateY(-16deg) rotateX(7deg) translate3d(48px, 24px, 0) scale(0.9); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(80px) rotate(7deg); } }
@keyframes drift { 50% { translate: -6% 5%; } }
@keyframes brace-hello { 45% { --brace: 9; } }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } }
@keyframes land { 12% { box-shadow: 0 0 0 1.5px #e0398a, 0 0 18px 2px #e0398a99; } to { box-shadow: 0 0 0 1.5px #e0398a00, 0 0 18px 2px #e0398a00; } }
@keyframes ring-out { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.4); } }
@keyframes ok-flash { 30% { background-color: #34d39966; } }
@keyframes ring-bell { 20% { rotate: 16deg; } 40% { rotate: -14deg; } 60% { rotate: 9deg; } 80% { rotate: -5deg; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes tour { to { transform: scaleX(1); } }
@keyframes tilt-in { from { opacity: 0.25; transform: perspective(1400px) rotateX(24deg) scale(0.9); } }
@keyframes parallax { from { translate: 0 -3.5%; } to { translate: 0 3.5%; } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes vt-out { to { opacity: 0; filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; filter: blur(6px); } }

/* Logo: the braces open on hover, and once when the page loads */
.bh-brace--l { transform: translateX(calc(var(--brace) * -1px)); }
.bh-brace--r { transform: translateX(calc(var(--brace) * 1px)); }
.brand .brand__svg { transition: --brace 0.7s var(--spring); }
.brand:hover .brand__svg, .brand:focus-visible .brand__svg { --brace: 7; }

/* Primary buttons: a light sweeps across on hover */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, #ffffff8c 50%, transparent 70%); translate: -110% 0; }
.btn--primary:hover::after { translate: 110% 0; transition: translate 0.8s var(--ease); }

/* Hero: blueprint grid that lights up around the cursor, gradient words with a passing shine, layers that lean */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#b81f6c17 1px, transparent 1px), linear-gradient(90deg, #b81f6c17 1px, transparent 1px); background-size: 56px 56px; background-position: center top; -webkit-mask-image: radial-gradient(440px circle at var(--hx, 72%) var(--hy, 42%), #000, transparent 70%); mask-image: radial-gradient(440px circle at var(--hx, 72%) var(--hy, 42%), #000, transparent 70%); }
.hero .grad { background-image: linear-gradient(100deg, transparent 42%, #ffffffc0 50%, transparent 58%), var(--grad); background-size: 300% 100%, 100% 100%; background-repeat: no-repeat; background-position: 100% 0, 0 0; }
.hero__stage { --px: 0; --py: 0; }
.frame--desk { translate: calc(var(--px) * -10px) calc(var(--py) * -8px); }
.frame--phone { translate: calc(var(--px) * 16px) calc(var(--py) * 12px); container-type: inline-size; }
.toast--a { translate: calc(var(--px) * 26px) calc(var(--py) * 18px); }
.toast--b { translate: calc(var(--px) * 20px) calc(var(--py) * 24px); }

/* Hero demo: crops of the panel screenshot, the phone's "booked" button, the tap and the light that carries the booking */
.shot { position: relative; container-type: inline-size; }
.crop { position: absolute; background-repeat: no-repeat; pointer-events: none; }
.demo-block { border-radius: 1.9% / 7.3%; opacity: 0; transform: scale(0.6); transition: opacity 0.3s var(--ease), transform 0.7s var(--spring); }
.demo-block::before { content: ""; position: absolute; inset: -2px; border: 2px solid var(--pink); border-radius: inherit; opacity: 0; }
.demo-block::after { content: ""; position: absolute; left: 3.4%; top: 59%; width: 20.7%; height: 19%; border-radius: 999px; }
.demo-wait { position: absolute; display: grid; place-items: center; border-radius: 999px; background: #FBEAD0; color: #8A5300; font: 600 0.5cqw/1 var(--font-body); transition: opacity 0.4s var(--ease); }
.demo-sent { position: absolute; display: flex; align-items: center; justify-content: center; gap: 1.8cqw; border-radius: 4.2cqw; background: #7E3767; color: #FFFFFF; font: 600 5.15cqw/1 var(--font-body); opacity: 0; transform: scale(0.94); transition: opacity 0.25s var(--ease), transform 0.5s var(--spring); }
.demo-sent .ic { width: 1.15em; height: 1.15em; stroke-width: 3; }
.demo-tap { position: absolute; width: 24cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ffffffe6 0 17%, transparent 18% 50%, #ffffffa6 52% 56%, transparent 58%); opacity: 0; pointer-events: none; }
.demo-beam { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.demo-beam path { fill: none; stroke: url(#bh-gh); stroke-width: 3; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 5px #e0398a99); }
.demo-beam circle { fill: #FFFFFF; opacity: 0; filter: drop-shadow(0 0 6px #e0398a) drop-shadow(0 0 2px #2155e6); }
.js .hero__stage.is-live .toast { animation: none; opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity 0.45s var(--ease), transform 0.7s var(--spring); }
.js .hero__stage.is-booked .toast--a, .js .hero__stage.is-reminded .toast--b { opacity: 1; transform: none; }
.is-booked .toast--a .toast__ic { animation: pop 0.6s var(--spring) 0.15s both; }
.is-reminded .toast--b .toast__ic .ic { animation: ring-bell 0.9s ease 0.25s; }
.is-sent .demo-sent { opacity: 1; transform: none; }
.is-booked .demo-block { opacity: 1; transform: none; animation: land 1.6s var(--ease) 0.05s; }
.is-booked .demo-block::before { animation: ring-out 1.1s var(--ease) 0.1s; }
.is-confirmed .demo-wait { opacity: 0; }
.is-confirmed .demo-block::after { animation: ok-flash 1.4s ease; }

/* Capabilities strip as a marquee */
.stack.is-marquee { 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); }
.is-marquee .stackline { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; animation: marquee 50s linear infinite; }
.is-marquee .stackline li { margin-right: var(--s-3); white-space: nowrap; }
.is-marquee:hover .stackline { animation-play-state: paused; }

/* Cards: the border catches the light under the cursor; the feature card's panel peeks up */
@media (hover: hover) and (pointer: fine) {
  .card::before, .project::before, .step::before, .cta::before { content: ""; position: absolute; inset: 0; z-index: 1; padding: 1px; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--pink), #2155e688 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity var(--t-mid) var(--ease); }
  .card:hover::before, .project:hover::before, .step:hover::before, .cta:hover::before { opacity: 1; }
}
.card__shot { transition: translate 0.7s var(--ease); }
.card--feature:hover .card__shot { translate: 0 var(--s-4); }
.x-ic { transition: --brace 0.6s var(--spring); }
.card:hover .x-ic { --brace: 5; }

/* Panel tour: the active point lights up its part of the screenshot (4.2s each, matching STEP in motion.js) */
.frame--big .shot { overflow: hidden; }
.spot { position: absolute; border: 2px solid var(--pink); border-radius: 8px; box-shadow: 0 0 0 200vmax #0b102040, 0 0 24px #e0398a99; opacity: 0; pointer-events: none; transition: left 0.8s var(--ease), top 0.8s var(--ease), width 0.8s var(--ease), height 0.8s var(--ease), opacity 0.6s var(--ease); }
.spot.is-on { opacity: 1; }
.js .points li.reveal { transition: opacity var(--t-slow) var(--ease) var(--d, 0ms), transform var(--t-slow) var(--ease) var(--d, 0ms), background-color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease); }
.points li.is-active { background: var(--surface); border-color: var(--line-2); }
.points li.is-active .x-ic, .points li:hover .x-ic { --brace: 6; }
.js .points li::after { content: ""; position: absolute; left: var(--s-4); right: var(--s-4); bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.js .points li.is-active::after { animation: tour 4.2s linear both; }
.points.is-held li::after { visibility: hidden; }

/* Smooth swaps for the language switch and the project filter (View Transitions, where the browser has them) */
::view-transition-group(*) { animation-duration: 0.5s; animation-timing-function: var(--ease); }
.vt-lang::view-transition-old(root) { animation: vt-out 0.25s var(--ease) both; }
.vt-lang::view-transition-new(root) { animation: vt-in 0.45s var(--ease) 0.1s both; }

.burst { position: fixed; z-index: 70; font: 700 1.25rem/1 var(--font-display); text-shadow: 0 0 14px #ff5caa66; pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > :not(h1) { animation: rise 0.9s var(--ease) both; }
  .js .hero__copy > .eyebrow { animation: rise 0.9s var(--ease) both, brace-hello 1.4s var(--ease) 1s; }
  .js .hero__copy > .hero__lead { animation-delay: 0.4s; }
  .js .hero__copy > .hero__ctas { animation-delay: 0.5s; }
  .js .hero__copy > .hero__ticks { animation-delay: 0.6s; }
  .js .hero h1 > span { animation: rise-blur 1.1s var(--ease) 0.1s both; }
  .js .hero h1 > .grad { animation: rise-blur 1.1s var(--ease) 0.24s both, shine 1.8s var(--ease) 1.3s both; }
  .js .frame--desk { animation: desk-in 1.3s var(--ease) 0.2s both; }
  .js .frame--phone { animation: phone-in 1.2s var(--spring) 0.55s both; }
  .js .hero__stage .toast { animation: rise 0.8s var(--ease) 1.8s both; }
  .js .nav .brand__svg { animation: brace-hello 1.3s var(--ease) 0.6s; }
  .hero__glow { animation: drift 18s ease-in-out infinite; }
  .js .step:not(:last-child)::after { transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease) calc(var(--d, 0ms) + 350ms); }
  .js .step.is-in::after { transform: none; }
  .js .step.is-in .step__n { animation: pop 0.7s var(--spring) calc(var(--d, 0ms) + 120ms) both; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .frame--big { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .project__media img { scale: 1.08; animation: parallax linear both; animation-timeline: view(); }
    .nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform-origin: 0 50%; animation: progress linear both; animation-timeline: scroll(root); }
  }
}


/* Responsive */
@media (max-width: 1080px) {
  .hero__in, .why, .faq, .cta { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { max-width: 720px; }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--feature { grid-row: auto; grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 860px) {
  .nav__menu { display: none; }
  .nav__end { margin-left: auto; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .project--wide { flex-direction: column; }
  .project--wide .project__media { aspect-ratio: 16 / 9; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .project--wide .project__body { padding: var(--s-6); }
  .foot__in { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .section { padding: var(--s-8) 0; }
  .hero { padding-top: var(--s-7); }
  .brand__svg { height: 28px; }
  .nav__end .btn { display: none; }
  .hero__stage { padding: 0 var(--s-6) var(--s-8) 0; }
  .toast--a { left: -8px; }
  .toast--b { left: 6%; }
  .bento, .why__grid, .steps, .form__row, .points { grid-template-columns: minmax(0, 1fr); }
  .js .zoom-btn { right: var(--s-2); bottom: var(--s-2); min-height: 40px; padding: 0 var(--s-3); }
  .card--svc, .card--why, .step { padding: var(--s-5); }
  .cta { padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); }
  .head--split { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
