@layer reset, tokens, base, components, sections, responsive, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ol, ul, fieldset { margin: 0; }
  ol, ul { padding: 0; list-style: none; }
  button, input, textarea { font: inherit; }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; }
}

@layer tokens {
  :root {
    --bg: oklch(1 0 0);
    --surface: oklch(0.955 0 0);
    /* Sampled from the brand logo: navy #171e27 and magenta #d61a66. */
    --ink: oklch(0.232 0.02 255);
    --muted: oklch(0.43 0.016 255);
    --primary: oklch(0.571 0.218 5);
    --primary-dark: oklch(0.478 0.182 5);
    --blue: oklch(0.55 0.18 250);
    --yellow: oklch(0.89 0.18 95);
    --mint: oklch(0.84 0.13 155);
    --line: oklch(0.84 0.008 255);
    --whatsapp: oklch(0.53 0.15 155);
    --whatsapp-dark: oklch(0.45 0.13 155);
    --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
    --font-body: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
    --max-width: 1440px;
    --gutter: clamp(1.1rem, 4vw, 4.75rem);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --z-dropdown: 20;
    --z-sticky: 30;
    --z-modal: 40;
  }
}

@layer base {
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    overflow-x: hidden;
    scrollbar-color: var(--primary) var(--ink);
    scrollbar-width: thin;
  }

  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: var(--ink); }
  ::-webkit-scrollbar-thumb { background: var(--primary); border: 3px solid var(--ink); }
  ::-webkit-scrollbar-thumb:hover { background: var(--yellow); }
  ::-webkit-scrollbar-corner { background: var(--ink); }

  body.menu-open { overflow: hidden; }
  ::selection { background: var(--yellow); color: var(--ink); }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 0.95; letter-spacing: -0.035em; text-wrap: balance; overflow-wrap: break-word; }
  p { text-wrap: pretty; overflow-wrap: break-word; }
  button, a { -webkit-tap-highlight-color: transparent; }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

  .skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: var(--z-modal);
    transform: translateY(-160%);
    background: var(--ink);
    color: var(--bg);
    padding: .7rem 1rem;
    text-decoration: none;
  }
  .skip-link:focus { transform: none; }

  /* --- Loader -------------------------------------------------------------
     Only shown when JS is present, so a script failure can never hide the
     page. script.js also force-dismisses it after a hard timeout. */
  .loader { display: none; }
  html.js.is-loading { overflow: hidden; }
  html.js.is-loading body { overflow: hidden; }

  html.js .loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    pointer-events: auto;
  }

  .loader-panel {
    position: absolute;
    left: 0;
    right: 0;
    height: 50.5%;
    background: var(--ink);
    transition: transform .85s var(--ease-out);
  }
  .loader-panel-top { top: 0; }
  .loader-panel-bottom { bottom: 0; }

  .loader-inner {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 1.4rem;
    padding: var(--gutter);
    text-align: center;
    transition: opacity .35s ease, transform .55s var(--ease-out);
  }

  .loader-mark { display: block; overflow: hidden; line-height: 0; }
  .loader-mark img {
    display: block;
    height: clamp(56px, 12vw, 96px);
    width: auto;
    max-width: none;
    aspect-ratio: 240 / 127;
    object-fit: contain;
    animation: loaderMarkIn .9s var(--ease-out) both;
  }

  .loader-word {
    display: flex;
    gap: .28em;
    color: var(--bg);
    font-family: var(--font-display);
    font-size: clamp(.95rem, 2.6vw, 1.5rem);
    font-weight: 800;
    letter-spacing: .16em;
  }
  .loader-word span { animation: loaderLetterIn .5s var(--ease-out) both; }
  .loader-word .ac { color: var(--primary); }
  .loader-word span:nth-child(1) { animation-delay: .30s; }
  .loader-word span:nth-child(2) { animation-delay: .35s; }
  .loader-word span:nth-child(3) { animation-delay: .40s; }
  .loader-word span:nth-child(4) { animation-delay: .45s; }
  .loader-word span:nth-child(5) { animation-delay: .50s; }
  .loader-word span:nth-child(6) { animation-delay: .55s; }
  .loader-word span:nth-child(7) { animation-delay: .60s; }
  .loader-word span:nth-child(8) { animation-delay: .65s; }
  .loader-word span:nth-child(9) { animation-delay: .70s; }
  .loader-word span:nth-child(10) { animation-delay: .75s; }
  .loader-word span:nth-child(11) { animation-delay: .80s; }

  .loader-rail {
    position: relative;
    width: min(260px, 62vw);
    height: 3px;
    background: color-mix(in oklch, var(--bg) 22%, transparent);
    overflow: hidden;
  }
  .loader-rail span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width .3s linear;
  }
  .loader-count {
    color: color-mix(in oklch, var(--bg) 62%, transparent);
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
  }

  .loader.is-done { pointer-events: none; }
  .loader.is-done .loader-inner { opacity: 0; transform: translateY(-12px); }
  .loader.is-done .loader-panel-top { transform: translateY(-100%); }
  .loader.is-done .loader-panel-bottom { transform: translateY(100%); }

  @keyframes loaderMarkIn {
    from { opacity: 0; transform: translateY(14px) scale(.94); }
  }
  @keyframes loaderLetterIn {
    from { opacity: 0; transform: translateY(90%); }
  }
}

@layer components {
  /* Icons live in one sprite so glyph fallbacks and text encoding can never break them. */
  .icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .icon {
    width: 1em;
    height: 1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: square;
    stroke-linejoin: miter;
  }
  .icon-spark { fill: currentColor; stroke: none; }

  .scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    background: transparent;
    z-index: calc(var(--z-sticky) + 1);
  }
  .scroll-progress span { display: block; width: 0; height: 100%; background: var(--primary); }

  .site-header {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    min-height: 88px;
    /* 100% (not 100vw) so a visible scrollbar cannot push the header past the viewport. */
    padding: 1rem max(var(--gutter), calc((100% - var(--max-width)) / 2 + var(--gutter)));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: color-mix(in oklch, var(--bg) 94%, transparent);
    transition: box-shadow .25s ease;
  }
  .site-header.is-stuck {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    box-shadow: 0 1px 0 var(--line);
  }

  .brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 750;
    letter-spacing: -.03em;
    text-decoration: none;
  }
  .brand-name { white-space: nowrap; }
  .brand-accent { color: var(--primary); }
  /* iOS Safari mis-sizes an intrinsic-ratio <img> inside a flex item when only one
     axis is set, so the ratio is declared explicitly and the box is never squashed. */
  .brand-mark { display: block; flex: none; line-height: 0; }
  .brand-mark img {
    display: block;
    height: 34px;
    width: auto;
    max-width: none;
    aspect-ratio: 240 / 127;
    object-fit: contain;
  }

  .site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.75rem); }
  .site-nav a {
    font-size: .93rem;
    font-weight: 600;
    text-decoration: none;
    text-underline-offset: .35rem;
  }
  .site-nav a:not(.nav-cta):hover { text-decoration: underline; }
  .nav-cta { display: inline-flex; align-items: center; gap: 1.5rem; background: var(--primary); color: var(--bg); padding: .8rem 1rem .8rem 1.2rem; }
  .nav-cta .icon { font-size: 1.1rem; transition: transform .25s var(--ease-out); }
  .nav-cta:hover .icon { transform: translate(3px, -3px); }
  .menu-toggle { display: none; }

  .button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: .85rem 1rem .85rem 1.25rem;
    border: 0;
    border-radius: 0;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ease-out), background-color .25s ease;
  }
  .button .icon { font-size: 1.2rem; transition: transform .25s var(--ease-out); }
  .button:hover { transform: translateY(-3px); }
  .button:hover .icon { transform: translate(3px, -3px); }
  .button-primary { background: var(--primary); color: var(--bg); }
  .button-primary:hover { background: var(--primary-dark); }
  .button-light { background: var(--bg); color: var(--ink); }
  .button-dark { background: var(--ink); color: var(--bg); }

  .text-link {
    display: inline-flex;
    gap: .8rem;
    align-items: center;
    padding-block: .7rem;
    font-weight: 600;
    text-underline-offset: .35rem;
  }
  .text-link .icon { font-size: 1.1rem; transition: transform .25s var(--ease-out); }
  .text-link:hover .icon { transform: translateY(3px); }

  .section-shell { width: min(100%, var(--max-width)); margin-inline: auto; padding: clamp(5rem, 10vw, 9.5rem) var(--gutter); }
  .section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 3rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
  .section-heading h2 { font-size: clamp(3.25rem, 8vw, 6rem); }
  .section-heading p { max-width: 44ch; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
}

@layer sections {
  .hero {
    width: min(100%, var(--max-width));
    min-height: calc(100svh - 88px);
    margin-inline: auto;
    padding: clamp(1.25rem, 2.5vw, 2.5rem) var(--gutter) clamp(1.75rem, 3.5vw, 3.5rem);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
  }
  .hero-copy { max-width: 720px; }
  .hero-kicker { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.5rem; color: var(--muted); font-weight: 700; }
  .hero-kicker span { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 16px 0 0 var(--yellow), 32px 0 0 var(--blue); margin-right: 2rem; }
  .hero h1 { max-width: 9.4ch; font-size: clamp(4rem, 7.5vw, 6rem); }
  .hero h1 em { color: var(--primary); font-style: normal; }
  .hero-intro { max-width: 54ch; margin-top: 2rem; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.3rem); }
  .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem 2rem; margin-top: 2.5rem; }

  .build-scene { min-width: 0; background: var(--yellow); border: 2px solid var(--ink); }
  .scene-topline, .scene-footer { min-height: 46px; padding: .65rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; font-size: .78rem; font-weight: 700; }
  .scene-topline { border-bottom: 2px solid var(--ink); }
  .scene-topline span:first-child { display: flex; align-items: center; gap: .5rem; }
  .scene-topline i { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.48 0.18 150); }
  .scene-time { font-family: var(--font-display); letter-spacing: .04em; }
  .scene-footer { border-top: 2px solid var(--ink); }
  .scene-dots { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 14px 0 0 var(--ink), 28px 0 0 var(--ink); margin-right: 28px; }
  .scene-field { position: relative; min-height: min(520px, 58vw); overflow: hidden; isolation: isolate; }
  .scene-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
  .scene-lines path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 7 8; }
  .scene-lines circle { fill: var(--ink); }
  .orbit { position: absolute; border: 1px solid color-mix(in oklch, var(--ink) 45%, transparent); border-radius: 50%; z-index: -2; }
  .orbit-one { width: 74%; aspect-ratio: 1; left: 14%; top: 6%; }
  .orbit-two { width: 46%; aspect-ratio: 1; left: 28%; top: 23%; }
  .module { position: absolute; min-width: 142px; padding: .8rem .9rem; border: 2px solid var(--ink); display: flex; flex-direction: column; box-shadow: 5px 5px 0 var(--ink); transition: transform .35s var(--ease-out); }
  .module:hover { transform: translate(-3px, -3px); }
  .module span { align-self: flex-end; font-size: .7rem; font-weight: 700; }
  .module strong { font-family: var(--font-display); font-size: 1.25rem; line-height: 1; }
  .module small { font-size: .68rem; font-weight: 600; }
  .module-product { left: 5%; top: 8%; background: var(--bg); transform: rotate(-4deg); }
  .module-code { right: 4%; top: 30%; background: var(--primary); color: var(--bg); transform: rotate(3deg); }
  .module-cloud { left: 8%; bottom: 10%; background: var(--blue); color: var(--bg); transform: rotate(3deg); }
  .module-grow { right: 7%; bottom: 7%; background: var(--mint); transform: rotate(-3deg); }
  .scene-core { position: absolute; left: 50%; top: 50%; width: 112px; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(45deg); display: grid; place-items: center; background: var(--ink); color: var(--bg); }
  .scene-core span { transform: rotate(-45deg); font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; }
  .scene-core i { position: absolute; inset: 9px; border: 1px solid var(--bg); }
  .scene-note { position: absolute; font-family: var(--font-display); font-size: .66rem; font-weight: 800; letter-spacing: .04em; }
  .note-one { left: 4%; top: 47%; transform: rotate(-90deg); transform-origin: left top; }
  .note-two { right: 2%; top: 3%; }

  .ticker { overflow: hidden; background: var(--ink); color: var(--bg); border-block: 2px solid var(--ink); }
  .ticker-track { width: max-content; display: flex; align-items: center; gap: 1.6rem; padding: 1rem 0; animation: ticker 28s linear infinite; }
  .ticker span { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; }
  .ticker .icon-spark { width: .8em; height: .8em; font-size: clamp(1.15rem, 2vw, 1.6rem); color: var(--primary); }

  .service-stack { border-top: 2px solid var(--ink); }
  .service-row { min-height: 142px; display: grid; grid-template-columns: 1.05fr .9fr auto; align-items: center; gap: 2rem; padding: 1.6rem clamp(1rem, 3vw, 2.5rem); border-bottom: 2px solid var(--ink); }
  .service-title { display: flex; flex-direction: column; transition: transform .3s var(--ease-out); }
  .service-row:hover .service-title { transform: translateX(clamp(.4rem, 1vw, 1rem)); }
  .service-title span { font-size: .84rem; font-weight: 700; }
  .service-title strong { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 3.5rem); line-height: 1; letter-spacing: -.035em; }
  .service-row > p { max-width: 48ch; font-size: .96rem; }
  .service-row ul { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; font-size: .78rem; font-weight: 700; }
  .service-red { background: var(--primary); color: var(--bg); }
  .service-blue { background: var(--blue); color: var(--bg); }
  .service-yellow { background: var(--yellow); }
  .service-ink { background: var(--ink); color: var(--bg); }
  .service-mint { background: var(--mint); }

  /* The 2px grid gap over an ink background draws the dividing rules, so cells
     never double up borders the way per-card borders would. */
  .capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
    gap: 2px;
    background: var(--ink);
    border: 2px solid var(--ink);
  }
  .capability {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1.6rem 1.5rem 1.5rem;
    background: var(--bg);
    transition: background .25s ease;
  }
  .capability-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .capability-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--ink);
    color: var(--bg);
    transition: background .25s ease;
  }
  .capability-icon .icon { width: 23px; height: 23px; stroke-width: 1.8; }
  .capability-index { font-family: var(--font-display); font-size: .8rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
  .capability h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
  .capability > p { flex: 1; color: var(--muted); font-size: .92rem; }
  .capability-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .3rem; }
  .capability-tags li { padding: .3rem .55rem; border: 2px solid var(--line); font-size: .72rem; font-weight: 700; }

  .capability:hover { background: var(--yellow); }
  .capability:hover .capability-icon { background: var(--primary); }
  .capability:hover .capability-index,
  .capability:hover > p { color: var(--ink); }
  .capability:hover .capability-tags li { border-color: var(--ink); }

  .difference { background: var(--primary); color: var(--bg); padding: clamp(5rem, 11vw, 10rem) max(var(--gutter), calc((100% - var(--max-width)) / 2 + var(--gutter))); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(4rem, 10vw, 10rem); }
  .difference-copy .statement { max-width: 14ch; font-family: var(--font-display); font-size: clamp(3rem, 6.4vw, 5.6rem); font-weight: 750; line-height: .98; letter-spacing: -.035em; }
  .difference-copy .statement span { color: var(--yellow); }
  .difference-copy > p:not(.statement) { max-width: 52ch; margin: 2rem 0; font-size: 1.15rem; }
  .principles { align-self: center; border-top: 1px solid color-mix(in oklch, var(--bg) 50%, transparent); }
  .principle { padding: 1.7rem 0; border-bottom: 1px solid color-mix(in oklch, var(--bg) 50%, transparent); display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.5rem; }
  .principle span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
  .principle p { opacity: .88; }

  .method { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(4rem, 9vw, 9rem); }
  .method-intro { position: sticky; top: 8rem; align-self: start; }
  .method-intro h2 { max-width: 12ch; font-size: clamp(3rem, 5.6vw, 5.2rem); }
  .method-intro p { max-width: 38ch; margin-top: 1.5rem; color: var(--muted); font-size: 1.15rem; }
  .method-list { border-top: 2px solid var(--ink); }
  .method-list li { min-height: 185px; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 2rem 0; border-bottom: 2px solid var(--ink); }
  .method-number { align-self: start; color: var(--primary); font-family: var(--font-display); font-weight: 800; }
  .method-list h3 { font-size: clamp(2.2rem, 4vw, 4rem); }
  .method-list p { max-width: 44ch; margin-top: .8rem; color: var(--muted); }
  .method-arrow { display: flex; font-size: 1.8rem; transition: transform .25s var(--ease-out); }
  .method-list li:hover .method-arrow { transform: translateX(8px); }

  .quote { background: var(--yellow); border-top: 2px solid var(--ink); display: grid; grid-template-columns: .85fr 1.15fr; }
  .quote-heading { position: relative; min-height: 730px; padding: clamp(4rem, 8vw, 8rem) var(--gutter); border-right: 2px solid var(--ink); overflow: hidden; }
  .quote-heading > p { max-width: 34ch; font-weight: 600; }
  .quote-heading h2 { margin-top: 3rem; font-size: clamp(4rem, 7vw, 6rem); }
  .quote-heading h2 em { color: var(--primary); font-style: normal; }
  .quote-stamp { position: absolute; right: 9%; bottom: 9%; width: 160px; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: .3rem; transform: rotate(-9deg); background: var(--bg); }
  .quote-stamp span { font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
  .stamp-icon { width: 2.1rem; height: 2.1rem; stroke-width: 1.6; color: var(--primary); }
  .quote-contact { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(4rem, 8vw, 8rem) var(--gutter); background: var(--bg); }
  .quote-lead { max-width: 40ch; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 650; line-height: 1.2; letter-spacing: -.02em; }

  .whatsapp-cta {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: min(100%, 460px);
    margin-top: 2.5rem;
    padding: 1.1rem 1.2rem;
    background: var(--whatsapp);
    color: oklch(1 0 0);
    text-decoration: none;
    transition: transform .25s var(--ease-out), background-color .25s ease;
  }
  .whatsapp-cta:hover { background: var(--whatsapp-dark); transform: translateY(-3px); }
  .whatsapp-cta-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; background: color-mix(in oklch, oklch(0 0 0) 16%, transparent); }
  .whatsapp-cta-icon .icon { width: 27px; height: 27px; }
  .whatsapp-cta-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .whatsapp-cta-text strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 750; }
  .whatsapp-cta-text span { font-size: .9rem; font-weight: 600; opacity: .9; }
  .whatsapp-cta-arrow { width: 1.3rem; height: 1.3rem; margin-left: auto; transition: transform .25s var(--ease-out); }
  .whatsapp-cta:hover .whatsapp-cta-arrow { transform: translate(3px, -3px); }

  .quote-points { max-width: 46ch; margin-top: 2.5rem; display: grid; gap: .9rem; }
  .quote-points li { position: relative; padding-left: 1.9rem; color: var(--muted); font-size: .96rem; }
  .quote-points li::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 10px; background: var(--primary); }
  .quote-alt { margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }
  .quote-alt a { font-weight: 700; text-underline-offset: .3rem; }

  /* Floating WhatsApp button: hidden until the page is scrolled past the hero. */
  .whatsapp-float {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .85rem 1.1rem;
    background: var(--whatsapp);
    color: oklch(1 0 0);
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--ink);
    opacity: 0;
    transform: translateY(130%);
    transition: opacity .3s ease, transform .45s var(--ease-out), background-color .25s ease;
  }
  .whatsapp-float.is-visible { opacity: 1; transform: none; }
  .whatsapp-float:hover { background: var(--whatsapp-dark); }
  .whatsapp-float .icon { width: 26px; height: 26px; }
  .whatsapp-float:focus-visible { opacity: 1; transform: none; }

  .site-footer { background: var(--ink); color: var(--bg); padding: 3.5rem var(--gutter); display: grid; grid-template-columns: 1fr auto; gap: 2.5rem 4rem; align-items: center; }
  .footer-brand { color: var(--bg); font-size: 1.4rem; }
  .footer-brand .brand-mark img { height: 42px; }
  .site-footer > p:not(.copyright) { justify-self: end; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 650; }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { text-underline-offset: .3rem; }
  .copyright { justify-self: end; color: oklch(0.72 0 0); font-size: .85rem; }
}

@layer responsive {
  @media (max-width: 1050px) {
    .hero { grid-template-columns: 1fr; }
    .hero h1 { max-width: 11ch; }
    .build-scene { width: min(100%, 760px); }
    .scene-field { min-height: 540px; }
    .service-row { grid-template-columns: 1fr 1fr; }
    .service-row ul { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .difference, .method { grid-template-columns: 1fr; }
    .method-intro { position: static; }
    .method-intro h2 { max-width: 14ch; }
    .quote { grid-template-columns: 1fr; }
    .quote-heading { min-height: 500px; border-right: 0; border-bottom: 2px solid var(--ink); }
  }

  @media (max-width: 760px) {
    .site-header { min-height: 74px; }
    /* Mark only on mobile — the wordmark is already in the logo itself. */
    .brand-name { display: none; }
    .brand-mark img { height: 38px; }
    .footer-brand .brand-mark img { height: 46px; }
    .menu-toggle { position: relative; z-index: calc(var(--z-dropdown) + 1); display: flex; align-items: center; gap: .7rem; border: 0; background: transparent; color: var(--ink); font-weight: 700; cursor: pointer; }
    .menu-toggle i, .menu-toggle i::after { width: 20px; height: 2px; display: block; background: currentColor; transition: transform .25s var(--ease-out); }
    .menu-toggle i::after { content: ""; transform: translateY(6px); }
    .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
    .menu-toggle[aria-expanded="true"] i::after { transform: rotate(-90deg); }
    .site-nav { position: fixed; inset: 0; z-index: var(--z-dropdown); display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 6rem var(--gutter) 2rem; background: var(--yellow); transform: translateY(-105%); transition: transform .45s var(--ease-out); }
    .site-nav.is-open { transform: none; }
    .site-nav a { padding: 1rem 0; border-bottom: 2px solid var(--ink); font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.5rem); }
    .site-nav .nav-cta { margin-top: 2rem; padding: 1rem 1.2rem; border: 0; color: var(--bg); font-size: 1.1rem; }
    .hero { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
    .hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
    .scene-field { min-height: 480px; }
    .module { min-width: 125px; padding: .7rem; }
    .module strong { font-size: 1.05rem; }
    .scene-core { width: 92px; }
    .section-heading { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
    .section-heading h2 { font-size: clamp(3.1rem, 15vw, 5rem); }
    .service-row { grid-template-columns: 1fr; gap: 1rem; }
    .service-row ul { grid-column: auto; }
    .principle { grid-template-columns: 1fr; gap: .5rem; }
    .method-list li { grid-template-columns: auto 1fr; gap: 1rem; }
    .method-arrow { display: none; }
    .whatsapp-float { padding: .85rem; box-shadow: 3px 3px 0 var(--ink); }
    .whatsapp-float-label { display: none; }
    .site-footer { grid-template-columns: 1fr; }
    .site-footer > p:not(.copyright), .copyright { justify-self: start; }
  }

  @media (max-width: 430px) {
    .site-header { gap: 1rem; }
    .brand { font-size: 1.05rem; gap: .5rem; }
    .brand-mark { width: 30px; height: 30px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .scene-field { min-height: 420px; }
    .module { min-width: 106px; }
    .module small { display: none; }
    .scene-core { width: 76px; }
    .scene-core span { font-size: 1.2rem; }
    .note-one { display: none; }
    .quote-heading { min-height: 430px; }
    .quote-stamp { width: 128px; }
    .footer-links { flex-wrap: wrap; }
  }
}

/* --- Legal & contact pages ------------------------------------------------
   Shared by /terms-and-conditions, /refund-policy, and /contact. Same
   hard-edged language as the home page: 2px rules, display-font numbers,
   magenta accents, no radii. */
@layer sections {
  .legal-hero {
    background: var(--ink);
    color: var(--bg);
    padding: clamp(3rem, 7vw, 6rem) max(var(--gutter), calc((100% - var(--max-width)) / 2 + var(--gutter))) clamp(3rem, 6vw, 5rem);
  }
  .legal-crumbs { display: flex; align-items: center; gap: .7rem; font-size: .85rem; font-weight: 600; color: oklch(0.78 0 0); }
  .legal-crumbs a { display: inline-flex; align-items: center; gap: .5rem; color: var(--bg); text-decoration: none; text-underline-offset: .3rem; }
  .legal-crumbs a:hover { text-decoration: underline; }
  .legal-crumbs .icon { width: 1.05rem; height: 1.05rem; transition: transform .25s var(--ease-out); }
  .legal-crumbs a:hover .icon { transform: translateX(-3px); }

  .legal-kicker { display: flex; align-items: center; gap: .7rem; margin-top: 2.5rem; color: oklch(0.8 0 0); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
  .legal-kicker span { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 16px 0 0 var(--yellow), 32px 0 0 var(--blue); margin-right: 2rem; }

  .legal-hero h1 { max-width: 12ch; margin-top: 1.2rem; font-size: clamp(2.9rem, 7vw, 5.5rem); }
  .legal-hero h1 em { color: var(--primary); font-style: normal; }
  .legal-lede { max-width: 56ch; margin-top: 1.8rem; font-size: clamp(1.02rem, 1.6vw, 1.25rem); opacity: .85; }

  .legal-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(2.2rem, 5vw, 3.5rem); border: 2px solid color-mix(in oklch, var(--bg) 34%, transparent); }
  .legal-meta > div { flex: 1 1 210px; padding: 1.1rem 1.3rem; border-right: 2px solid color-mix(in oklch, var(--bg) 34%, transparent); }
  .legal-meta > div:last-child { border-right: 0; }
  .legal-meta dt { color: oklch(0.75 0 0); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .legal-meta dd { margin: .45rem 0 0; font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }

  .legal { display: grid; grid-template-columns: minmax(210px, .3fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }

  .legal-aside { position: sticky; top: 7rem; align-self: start; max-height: calc(100svh - 10rem); overflow-y: auto; overscroll-behavior: contain; padding-right: .5rem; }
  .legal-aside-title { font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .legal-toc { margin-top: 1rem; border-top: 2px solid var(--ink); }
  .legal-toc li { border-bottom: 1px solid var(--line); }
  .legal-toc a { display: grid; grid-template-columns: 2.1rem 1fr; gap: .4rem; padding: .6rem 0; font-size: .86rem; font-weight: 600; text-decoration: none; transition: color .2s ease, padding-left .2s var(--ease-out); }
  .legal-toc a span { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
  .legal-toc a:hover { color: var(--primary); padding-left: .35rem; }

  .legal-preamble { padding-bottom: 2.2rem; border-bottom: 2px solid var(--ink); display: grid; gap: 1rem; }
  .legal-preamble p { max-width: 68ch; font-family: var(--font-display); font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }

  .legal-section { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); padding: clamp(2.2rem, 4vw, 3.2rem) 0; border-bottom: 2px solid var(--ink); scroll-margin-top: 6.5rem; }
  .legal-section:first-of-type { border-top: 0; }
  .legal-number { font-family: var(--font-display); font-size: .95rem; font-weight: 800; letter-spacing: .04em; color: var(--primary); padding-top: .35rem; }
  .legal-section h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
  .legal-section h3 { margin-top: 1.8rem; font-size: clamp(1.02rem, 1.6vw, 1.2rem); letter-spacing: -.015em; }
  .legal-section h3::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: .7rem; background: var(--primary); }
  .legal-section p { max-width: 68ch; margin-top: 1rem; color: var(--muted); }
  .legal-section h2 + p, .legal-section h3 + p { margin-top: .8rem; }
  .legal-section a { font-weight: 700; color: var(--primary); text-underline-offset: .25rem; overflow-wrap: anywhere; }
  .legal-section strong { color: var(--ink); }

  .legal-list { max-width: 68ch; margin-top: 1.1rem; display: grid; gap: .6rem; counter-reset: legal-item; }
  .legal-list li { position: relative; padding-left: 1.9rem; color: var(--muted); }
  .legal-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; background: var(--primary); }
  .legal-list-numbered li { counter-increment: legal-item; }
  .legal-list-numbered li::before { content: counter(legal-item) "."; top: 0; width: auto; height: auto; background: none; font-family: var(--font-display); font-weight: 800; color: var(--primary); }

  .legal-note { max-width: 68ch; margin-top: 1.4rem; padding: .9rem 1.1rem; border-left: 4px solid var(--blue); background: var(--surface); font-size: .93rem; }

  .legal-card { max-width: 46rem; margin-top: 1.4rem; padding: 1.4rem 1.5rem; border: 2px solid var(--ink); background: var(--surface); }
  .legal-card-accent { background: var(--yellow); }
  .legal-card-label { margin-top: 1.1rem; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
  .legal-card-label:first-child { margin-top: 0; }
  .legal-card p { margin-top: .35rem; color: var(--ink); }
  .legal-card address { margin-top: .35rem; font-style: normal; line-height: 1.6; }
  .legal-card-accent .legal-card-label { color: color-mix(in oklch, var(--ink) 70%, transparent); }
  .legal-card .whatsapp-cta { margin-top: 1.4rem; }

  .legal-section .whatsapp-cta { margin-top: 2rem; }
  .legal-foot { padding-top: 2rem; }

  /* --- Contact page --------------------------------------------------- */
  .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0; border: 2px solid var(--ink); border-bottom: 0; }
  .contact-card { display: flex; flex-direction: column; gap: .55rem; padding: clamp(1.6rem, 3vw, 2.4rem); border-bottom: 2px solid var(--ink); border-right: 2px solid var(--ink); transition: background .25s ease; }
  .contact-card:last-child { border-right: 0; }
  .contact-card:hover { background: var(--yellow); }
  .contact-card-label { font-family: var(--font-display); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
  .contact-card h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
  .contact-card p, .contact-card address { margin: 0; color: var(--muted); font-style: normal; line-height: 1.6; }
  .contact-card a { font-weight: 700; text-underline-offset: .25rem; overflow-wrap: anywhere; }
  /* Sized so the support address fits one line in a four-up card, and only
     breaks mid-word on genuinely narrow columns. */
  .contact-card .value { font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.015em; }
  .contact-card:hover p, .contact-card:hover address { color: var(--ink); }

  .contact-cta { margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(2rem, 4vw, 3.2rem); background: var(--ink); color: var(--bg); display: grid; grid-template-columns: 1.1fr auto; gap: 2rem 3rem; align-items: center; }
  .contact-cta h2 { max-width: 16ch; font-size: clamp(1.9rem, 3.6vw, 3rem); }
  .contact-cta p { max-width: 46ch; margin-top: 1rem; opacity: .85; }
  .contact-cta .whatsapp-cta { margin-top: 0; }
}

@layer responsive {
  @media (max-width: 980px) {
    .legal { grid-template-columns: 1fr; }
    .legal-aside { position: static; max-height: none; overflow: visible; padding: 1.2rem 1.3rem; border: 2px solid var(--ink); background: var(--surface); }
    .legal-toc { columns: 2; column-gap: 2rem; }
    .legal-toc li { break-inside: avoid; }
    .contact-cta { grid-template-columns: 1fr; }
  }

  @media (max-width: 760px) {
    .legal-meta > div { flex-basis: 100%; border-right: 0; border-bottom: 2px solid color-mix(in oklch, var(--bg) 34%, transparent); }
    .legal-meta > div:last-child { border-bottom: 0; }
    .legal-section { grid-template-columns: 1fr; gap: .6rem; }
    .legal-number { padding-top: 0; }
    .legal-toc { columns: 1; }
    .contact-card { border-right: 0; }
  }
}

@layer motion {
  @keyframes ticker { to { transform: translateX(-50%); } }
  @keyframes sceneEnter { from { opacity: .6; transform: translateY(20px) rotate(var(--angle, 0deg)); } }
  @keyframes corePulse { 50% { transform: translate(-50%, -50%) rotate(50deg) scale(1.03); } }
  .scene-core { animation: corePulse 6s ease-in-out infinite; }
  .hero-copy { animation: sceneEnter .8s var(--ease-out) both; }
  .build-scene { animation: sceneEnter .9s .12s var(--ease-out) both; }

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