:root {
  --color-black: #050505;
  --color-ink: #111111;
  --color-muted: #8d8f92;
  --color-soft: #f5f5f3;
  --color-line: rgba(0,0,0,.18);
  --color-glass: rgba(255,255,255,.62);
  --page-pad-x: clamp(24px, 4.45vw, 68px);
  --header-h: clamp(72px, 7.4vw, 112px);
  --radius-pill: 999px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-main: Arial, Helvetica, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #fff; }
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.viewport-locked {
  width: 100vw;
  height: 100svh;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}
button { font: inherit; }
img { max-width: 100%; display: block; }

.site-shell {
  position: relative;
  width: 100vw;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(190px, 280px) 1fr auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(18px, 2.4vw, 34px) var(--page-pad-x) 0;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.logo-link {
  width: clamp(168px, 15.4vw, 255px);
  display: inline-flex;
  align-items: center;
}
.logo-link img { width: 100%; height: auto; }

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 3.4vw, 64px);
  font-size: clamp(12px, .98vw, 16px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .015em;
  font-weight: 600;
  white-space: nowrap;
}
.primary-nav a {
  position: relative;
  padding: 10px 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
}
.btn-pill {
  border: 1px solid var(--color-black);
  border-radius: var(--radius-pill);
  min-height: clamp(42px, 4.4vw, 58px);
  padding: 0 clamp(18px, 2vw, 31px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  color: var(--color-black);
  font-size: clamp(12px, .9vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn-pill:hover { background: var(--color-black); color: #fff; transform: translateY(-1px); }
.btn-pill.is-dark { background: #050505; color: #fff; border-color: #050505; }
.btn-pill.is-dark:hover { background: #2a2a2a; border-color: #2a2a2a; }
.btn-arrow { font-size: 1.35em; line-height: .8; transform: translateY(-1px); }
.icon-button {
  width: clamp(42px, 4.4vw, 58px);
  height: clamp(42px, 4.4vw, 58px);
  border-radius: 50%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.icon-button img { width: 100%; height: 100%; object-fit: contain; }
.icon-button .fallback-icon {
  width: 100%; height: 100%; border-radius: 50%; border: 1px solid currentColor;
  display: inline-grid; place-items: center;
}

.hero {
  position: relative;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}
.hero-bg, .section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.01);
  transition: opacity .4s var(--ease);
}
.hero-bg { background-image: url('../images/home/home-1.png'); }
.hero::before, .section-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.36) 34%, rgba(255,255,255,0) 66%);
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 610px;
  padding-left: var(--page-pad-x);
  padding-top: clamp(154px, 18.6vh, 210px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.eyebrow {
  margin: 0 0 clamp(30px, 4vh, 46px);
  color: var(--color-muted);
  font-size: clamp(11px, .9vw, 14px);
  line-height: 1.85;
  letter-spacing: .20em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow strong { color: #0b0b0b; letter-spacing: .18em; }
.hero-title {
  margin: 0;
  color: #020202;
  font-size: clamp(56px, 5.65vw, 92px);
  line-height: .96;
  letter-spacing: -.058em;
  font-weight: 400;
  text-wrap: balance;
}
.hero-title .muted { color: #8f9093; }
.short-rule {
  width: 53px;
  height: 2px;
  margin: clamp(38px, 6vh, 62px) 0 clamp(28px, 4vh, 40px);
  background: #8d8f92;
}
.hero-copy {
  max-width: 420px;
  margin: 0;
  font-size: clamp(15px, 1.13vw, 18px);
  line-height: 1.68;
  letter-spacing: -.02em;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 34px);
  margin-top: clamp(34px, 6vh, 62px);
}
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--color-black);
  font-size: clamp(12px, .95vw, 15px);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.play-circle {
  width: clamp(44px, 4vw, 54px);
  height: clamp(44px, 4vw, 54px);
  border: 1px solid rgba(0,0,0,.55);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: .9em;
}

.section-page {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
}
.section-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: calc(var(--header-h) + 65px) var(--page-pad-x) 44px;
  max-width: 720px;
}
.section-kicker { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .18em; color: var(--color-muted); font-size: 13px; }
.section-title { margin: 0; font-size: clamp(54px, 6vw, 96px); line-height: .98; letter-spacing: -.06em; font-weight: 400; }
.section-text { max-width: 430px; margin: 36px 0 0; font-size: 18px; line-height: 1.6; }

.panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(255,255,255,.02);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.panel-overlay.is-open { opacity: 1; pointer-events: auto; }
.side-panel {
  position: fixed;
  z-index: 90;
  inset: 0 0 0 auto;
  width: min(360px, 92vw);
  height: 100svh;
  padding: clamp(28px, 3.5vw, 52px) clamp(28px, 3.35vw, 46px);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  box-shadow: -28px 0 80px rgba(0,0,0,.08);
  transform: translateX(104%);
  transition: transform .45s var(--ease);
  overflow: hidden;
}
.side-panel.is-open { transform: translateX(0); }
.side-panel__close {
  position: absolute;
  top: clamp(26px, 3vw, 40px);
  right: clamp(26px, 3vw, 40px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #050505;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.side-panel__close::before,
.side-panel__close::after {
  content: "";
  width: 21px;
  height: 1px;
  background: currentColor;
  position: absolute;
}
.side-panel__close::before { transform: rotate(45deg); }
.side-panel__close::after { transform: rotate(-45deg); }
.side-panel__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  padding-top: 70px;
}
.panel-section {
  border-bottom: 1px solid rgba(0,0,0,.18);
  padding: 0 0 28px;
  margin: 0 0 26px;
}
.panel-section:last-child { border-bottom: 0; margin-bottom: 0; }
.panel-label {
  display: block;
  margin: 0 0 24px;
  color: #555;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.panel-nav { display: grid; gap: 17px; }
.panel-nav a { font-size: 16px; line-height: 1.1; }
.panel-nav a.is-active { text-decoration: underline; text-underline-offset: 3px; }
.contact-list { display: grid; gap: 18px; font-size: 14px; line-height: 1.3; }
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.social-list { display: flex; gap: 18px; align-items: center; }
.social-link { font-weight: 700; border: 1px solid #111; width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-size: 12px; }
.legal-links, .by-links { display: grid; gap: 14px; font-size: 14px; }
.external-mark { font-size: 1.05em; }

.cookie-banner {
  position: fixed;
  z-index: 95;
  left: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 16px 20px;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
  font-size: 13px;
  line-height: 1.45;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; max-width: 850px; }
.cookie-banner a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn {
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.cookie-btn.primary { background: #111; color: #fff; }
.cookie-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.22);
  padding: 20px;
}
.cookie-modal.is-open { display: grid; }
.cookie-modal__card {
  width: min(560px, 100%);
  background: #fff;
  padding: 28px;
  box-shadow: 0 20px 90px rgba(0,0,0,.18);
}
.cookie-modal__card h2 { margin: 0 0 14px; font-size: 28px; line-height: 1.1; font-weight: 400; letter-spacing: -.035em; }
.cookie-modal__card p { margin: 0 0 18px; font-size: 14px; line-height: 1.55; }
.cookie-option { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(0,0,0,.12); }
.cookie-option strong { display: block; font-size: 14px; margin-bottom: 5px; }
.cookie-option span { color: #555; font-size: 13px; line-height: 1.4; }
.toggle { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 12px; text-transform: uppercase; font-weight: 700; }
.toggle input { width: 20px; height: 20px; accent-color: #111; }
.cookie-modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }

.legal-shell {
  position: relative;
  height: 100%;
  padding: calc(var(--header-h) + 40px) var(--page-pad-x) 40px;
  overflow: hidden;
}
.legal-card {
  position: relative;
  z-index: 2;
  max-width: 980px;
  max-height: calc(100svh - var(--header-h) - 90px);
  overflow: auto;
  padding: clamp(28px, 3.5vw, 48px);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0,0,0,.08);
}
.legal-card h1 { margin: 0 0 22px; font-size: clamp(38px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; font-weight: 400; }
.legal-card h2 { margin: 34px 0 12px; font-size: 22px; line-height: 1.2; font-weight: 500; }
.legal-card h3 { margin: 24px 0 8px; font-size: 17px; }
.legal-card p, .legal-card li { font-size: 15px; line-height: 1.65; }
.legal-card ul { padding-left: 20px; }
.legal-card .updated { color: #666; font-size: 13px; margin-bottom: 24px; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .primary-nav { gap: clamp(16px, 2vw, 28px); font-size: 12px; }
  .hero-content { max-width: 540px; }
  .hero-title { font-size: clamp(50px, 6.3vw, 72px); }
}

@media (max-width: 940px) {
  .site-shell { min-height: 600px; }
  .primary-nav { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .hero-content { max-width: 50vw; padding-top: clamp(140px, 18vh, 180px); }
  .hero-title { font-size: clamp(45px, 6.4vw, 62px); }
  .hero-copy { font-size: 15px; line-height: 1.55; max-width: 340px; }
}

@media (max-width: 767px) {
  body.viewport-locked { height: auto; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
  .site-shell { width: 100%; height: auto; min-height: 100svh; overflow: visible; }
  .site-header {
    position: fixed;
    grid-template-columns: 1fr auto;
    height: 76px;
    padding: 16px 20px 0;
    background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,0));
  }
  .logo-link { width: 166px; }
  .header-actions .btn-pill { display: none; }
  .icon-button { width: 48px; height: 48px; }
  .hero { min-height: 100svh; height: auto; display: flex; flex-direction: column; }
  .hero-bg {
    position: relative;
    height: 52svh;
    min-height: 380px;
    inset: auto;
    order: 1;
    background-position: center top;
    transform: none;
  }
  .hero::before { display: none; }
  .hero-content {
    order: 2;
    width: 100%;
    max-width: none;
    height: auto;
    padding: 28px 22px 64px;
    background: #fff;
  }
  .eyebrow { margin-bottom: 28px; font-size: 11px; line-height: 1.8; letter-spacing: .16em; }
  .hero-title { font-size: clamp(48px, 16.2vw, 68px); line-height: .98; letter-spacing: -.06em; }
  .short-rule { margin: 34px 0 24px; }
  .hero-copy { max-width: none; font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; margin-top: 34px; gap: 22px; }
  .btn-pill { min-height: 50px; padding: 0 22px; }
  .side-panel { width: min(360px, 100vw); overflow-y: auto; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { flex-wrap: wrap; width: 100%; }
  .cookie-btn { flex: 1 1 auto; }
  .section-page { min-height: 100svh; height: auto; overflow: visible; }
  .section-page::before { display: none; }
  .section-bg { position: relative; height: 44svh; min-height: 320px; background-position: center; transform: none; }
  .section-content { height: auto; max-width: none; padding: 28px 22px 64px; background: #fff; }
  .section-title { font-size: clamp(46px, 15vw, 68px); }
  .legal-shell { height: auto; padding: 96px 20px 40px; overflow: visible; }
  .legal-card { max-height: none; overflow: visible; padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

@supports not (height: 100svh) {
  body.viewport-locked,
  .site-shell,
  .side-panel { height: 100vh; }
}

@media (min-width: 768px) and (max-height: 820px) {
  :root { --header-h: 88px; }
  .site-shell { min-height: 560px; }
  .site-header { padding-top: 18px; }
  .hero-content { padding-top: 124px; max-width: 560px; }
  .eyebrow { margin-bottom: 22px; line-height: 1.6; }
  .hero-title { font-size: clamp(52px, 5.05vw, 70px); }
  .short-rule { margin-top: 30px; margin-bottom: 22px; }
  .hero-copy { line-height: 1.48; }
  .hero-ctas { margin-top: 26px; }
  .btn-pill { min-height: 46px; }
}


/* === QS v0.2 client corrections === */
:root {
  --page-pad-x: clamp(22px, 3.55vw, 66px);
  --header-h: clamp(64px, 5.65vw, 88px);
}

.site-header {
  grid-template-columns: minmax(148px, 210px) 1fr auto;
  gap: clamp(18px, 2.65vw, 46px);
  padding-top: clamp(15px, 1.85vw, 26px);
}
.logo-link { width: clamp(148px, 10.7vw, 205px); }

.primary-nav {
  gap: clamp(22px, 3.15vw, 58px);
  font-size: clamp(10px, .72vw, 13px);
  font-weight: 700;
  letter-spacing: .005em;
}
.primary-nav a {
  display: inline-block;
  padding: 7px 0 17px;
}
.primary-nav a::after {
  height: 1px;
  bottom: 0;
}

.header-actions { gap: clamp(8px, .95vw, 14px); }
.header-actions > .btn-pill {
  min-height: clamp(34px, 2.75vw, 44px);
  padding: 0 clamp(17px, 1.45vw, 27px);
  background: #050505;
  border-color: #050505;
  color: #fff;
  font-size: clamp(10px, .7vw, 13px);
}
.header-actions > .btn-pill:hover { background: #2a2a2a; border-color: #2a2a2a; }
.header-actions > .icon-button {
  width: clamp(34px, 2.75vw, 44px);
  height: clamp(34px, 2.75vw, 44px);
}

.hamburger-button {
  width: clamp(36px, 3.4vw, 44px);
  height: clamp(36px, 3.4vw, 44px);
  border: 1px solid rgba(0,0,0,.72);
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #050505;
  cursor: pointer;
  padding: 0;
  display: none;
  place-items: center;
}
.hamburger-button__lines,
.hamburger-button__lines::before,
.hamburger-button__lines::after {
  content: "";
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.hamburger-button__lines { position: relative; }
.hamburger-button__lines::before,
.hamburger-button__lines::after { position: absolute; left: 0; }
.hamburger-button__lines::before { transform: translateY(-5px); }
.hamburger-button__lines::after { transform: translateY(5px); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 82;
  background: rgba(255,255,255,.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed;
  z-index: 86;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100svh;
  padding: 78px 28px 32px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(18px);
  box-shadow: -24px 0 70px rgba(0,0,0,.09);
  transform: translateX(104%);
  transition: transform .42s var(--ease);
  display: none;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__close {
  position: absolute;
  top: 19px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #050505;
  color: #fff;
  cursor: pointer;
}
.mobile-menu__close::before,
.mobile-menu__close::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
}
.mobile-menu__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-menu__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu__links {
  display: grid;
  gap: 20px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.mobile-menu__links a {
  display: inline-block;
  width: fit-content;
  padding-bottom: 7px;
  border-bottom: 1px solid transparent;
}
.mobile-menu__links a.is-active { border-bottom-color: currentColor; }

.mobile-fixed-actions { display: none; }

.cookie-banner {
  left: 0;
  right: 0;
  bottom: 0;
  gap: 14px;
  padding: 8px clamp(16px, 2.4vw, 30px);
  background: rgba(255,255,255,.78);
  border: 0;
  border-top: 1px solid rgba(0,0,0,.10);
  box-shadow: none;
  backdrop-filter: blur(8px);
  font-size: 12px;
  line-height: 1.25;
}
.cookie-banner p {
  max-width: none;
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cookie-actions { gap: 8px; }
.cookie-btn {
  min-height: 30px;
  padding: 0 14px;
  font-size: 10.5px;
}

@media (max-width: 1180px) {
  .logo-link { width: clamp(144px, 12vw, 188px); }
  .primary-nav { gap: clamp(14px, 2.1vw, 30px); font-size: 11px; }
  .header-actions > .btn-pill { padding-inline: 18px; }
}

@media (max-width: 940px) {
  .site-header { grid-template-columns: auto 1fr; }
  .primary-nav { display: none; }
  .header-actions { justify-self: end; }
  .hamburger-button { display: inline-grid; }
  .mobile-menu { display: block; }
}

@media (max-width: 767px) {
  .site-header {
    height: 74px;
    padding: 15px 20px 0;
    background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,0));
  }
  .logo-link { width: 156px; }
  .header-actions > .btn-pill,
  .header-actions > .icon-button { display: none; }
  .hamburger-button { width: 44px; height: 44px; }

  .hero-bg {
    height: 50svh;
    min-height: 330px;
    background-size: auto 92%;
    background-position: 70% top;
    background-color: #fff;
  }
  .hero-content { padding-bottom: 108px; }
  .mobile-fixed-actions {
    position: fixed;
    z-index: 76;
    right: max(13px, env(safe-area-inset-right));
    bottom: max(13px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-fixed-actions .btn-pill {
    min-height: 50px;
    padding: 0 20px;
    background: #050505;
    border-color: #050505;
    color: #fff;
    font-size: 12px;
  }
  .mobile-fixed-actions .icon-button {
    width: 50px;
    height: 50px;
    background: transparent;
  }
  .mobile-menu { width: min(305px, 88vw); }
  .side-panel { z-index: 92; }
  .panel-overlay { z-index: 88; }
  .cookie-banner {
    z-index: 72;
    display: none;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 12px;
    font-size: 11px;
    line-height: 1.25;
  }
  .cookie-banner.is-visible { display: flex; }
  .cookie-banner p {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    padding-right: 4px;
  }
  .cookie-actions { width: auto; flex: 0 0 auto; flex-wrap: nowrap; gap: 6px; }
  .cookie-btn { min-height: 28px; padding: 0 9px; font-size: 9.5px; flex: 0 0 auto; }
}

/* === QS v0.3 client corrections === */
.site-shell::before {
  content: "";
  position: fixed;
  z-index: 2;
  inset: 0 0 auto 0;
  height: clamp(120px, 14.6vw, 226px);
  pointer-events: none;
  background-image: url('../images/ui/degradado-cabecera.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
}

@media (min-width: 768px) {
  .hero-content {
    max-width: min(780px, 56vw);
    padding-top: clamp(118px, 14.2vh, 166px);
  }
  .eyebrow {
    margin-bottom: clamp(22px, 3vh, 34px);
    font-size: clamp(10px, .76vw, 13px);
    line-height: 1.72;
    letter-spacing: .195em;
  }
  .hero-title {
    max-width: 780px;
    font-size: clamp(48px, 4.82vw, 78px);
    line-height: 1.045;
    letter-spacing: -.067em;
    text-wrap: normal;
  }
  .hero-title.is-long {
    max-width: 840px;
    font-size: clamp(40px, 4.05vw, 66px);
    line-height: 1.07;
    letter-spacing: -.064em;
  }
  .short-rule {
    width: 50px;
    height: 1px;
    margin: clamp(24px, 4.1vh, 42px) 0 clamp(20px, 2.8vh, 32px);
    background: #8e9092;
  }
  .hero-copy {
    max-width: 470px;
    font-size: clamp(13px, .92vw, 16px);
    line-height: 1.62;
    letter-spacing: -.018em;
  }
  .hero-ctas {
    gap: clamp(20px, 2.4vw, 32px);
    margin-top: clamp(24px, 4vh, 42px);
  }
  .hero-ctas .btn-pill {
    min-height: clamp(38px, 3.05vw, 48px);
    padding: 0 clamp(20px, 1.85vw, 31px);
    font-size: clamp(10.5px, .76vw, 13px);
  }
  .video-link {
    gap: 12px;
    font-size: clamp(10.5px, .76vw, 13px);
  }
  .play-circle {
    width: clamp(38px, 3vw, 46px);
    height: clamp(38px, 3vw, 46px);
  }
}

.side-panel {
  width: min(340px, 92vw);
  padding: clamp(30px, 3vw, 38px) clamp(34px, 3.2vw, 44px) clamp(34px, 3.5vw, 46px) clamp(30px, 3vw, 40px);
  background: rgba(255,255,255,.965);
  overflow-y: auto;
  scrollbar-width: thin;
}
.side-panel__close {
  top: clamp(30px, 3vw, 38px);
  right: clamp(30px, 3vw, 38px);
  width: 44px;
  height: 44px;
}
.side-panel__close::before,
.side-panel__close::after {
  width: 20px;
}
.side-panel__content {
  min-height: 100%;
  height: auto;
  padding-top: clamp(60px, 6.2vh, 72px);
}
.panel-section {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom-color: rgba(0,0,0,.19);
}
.panel-section--by {
  padding-bottom: 22px;
  margin-bottom: 0;
}
.panel-label {
  margin-bottom: 17px;
  color: #484848;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .045em;
  font-weight: 500;
}
.panel-nav {
  gap: 15px;
}
.panel-nav a {
  display: inline-block;
  width: fit-content;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.015em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.panel-nav a.is-active {
  border-bottom-color: currentColor;
  text-decoration: none;
}
.contact-list {
  gap: 15px;
  font-size: 12.6px;
  line-height: 1.2;
}
.contact-row {
  gap: 15px;
  min-width: 0;
}
.contact-row span:last-child {
  overflow-wrap: anywhere;
}
.contact-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-grid;
  place-items: center;
  color: #111;
}
.contact-icon svg,
.external-mark svg,
.social-link svg {
  width: 100%;
  height: 100%;
  display: block;
}
.contact-icon svg,
.external-mark svg,
.social-link--instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-list {
  gap: 14px;
}
.social-link {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  font-size: 0;
  color: #111;
  display: inline-grid;
  place-items: center;
}
.social-link--linkedin svg {
  fill: currentColor;
  stroke: none;
}
.social-link--instagram svg {
  width: 22px;
  height: 22px;
}
.legal-links,
.by-links {
  gap: 13px;
  font-size: 12.6px;
  line-height: 1.2;
}
.by-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}
.external-mark {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  transform: translateY(-1px);
}

@media (max-height: 820px) and (min-width: 768px) {
  .side-panel__content { padding-top: 56px; }
  .panel-section { padding-bottom: 18px; margin-bottom: 18px; }
  .panel-label { margin-bottom: 14px; }
  .panel-nav { gap: 12px; }
  .contact-list { gap: 12px; }
  .legal-links, .by-links { gap: 10px; }
}

@media (max-width: 767px) {
  .site-shell::before {
    z-index: 2;
    height: 132px;
    background-size: auto 100%;
  }
  .site-header {
    background: transparent;
  }
  .hero-bg {
    height: 48svh;
    min-height: 310px;
    background-size: auto 100%;
    background-position: 60% top;
  }
  .hero-content {
    padding: 26px 23px 124px;
  }
  .eyebrow {
    margin-bottom: 24px;
    font-size: 10.5px;
    line-height: 1.75;
    letter-spacing: .16em;
  }
  .hero-title {
    font-size: clamp(42px, 14.6vw, 58px);
    line-height: 1.025;
    letter-spacing: -.066em;
  }
  .hero-title.is-long {
    font-size: clamp(34px, 11.2vw, 45px);
    line-height: 1.07;
  }
  .short-rule {
    width: 48px;
    height: 1px;
    margin: 30px 0 22px;
  }
  .hero-copy {
    font-size: 15px;
    line-height: 1.6;
  }
  .hero-ctas {
    margin-top: 30px;
  }
  .side-panel {
    width: min(340px, 100vw);
    padding: 30px 34px 36px 30px;
  }
  .side-panel__content {
    padding-top: 62px;
  }
  .mobile-fixed-actions {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-fixed-actions .btn-pill {
    min-height: 48px;
    padding: 0 19px;
    font-size: 11.5px;
  }
  .mobile-fixed-actions .icon-button {
    width: 48px;
    height: 48px;
  }
}

/* === QS v0.4 client corrections === */
@media (min-width: 768px) {
  .hero-content {
    padding-top: clamp(186px, 22vh, 232px);
    max-width: min(790px, 56vw);
  }
  .eyebrow {
    margin-bottom: clamp(40px, 5.2vh, 62px);
  }
  .hero-title,
  .hero-title.is-long {
    max-width: 790px;
    font-size: clamp(48px, 4.82vw, 78px);
    line-height: 1.045;
    letter-spacing: -.067em;
    font-weight: 400;
  }
  .short-rule {
    margin-top: clamp(30px, 4.5vh, 46px);
    margin-bottom: clamp(22px, 3.3vh, 34px);
  }
}

.hamburger-button {
  color: #050505;
  border-color: rgba(0,0,0,.9);
  background: rgba(255,255,255,.34);
}
.hamburger-button__lines,
.hamburger-button__lines::before,
.hamburger-button__lines::after {
  height: 2px;
  width: 18px;
  background: #050505;
}
.hamburger-button__lines::before { transform: translateY(-6px); }
.hamburger-button__lines::after { transform: translateY(6px); }

.cookie-mobile-trigger { display: none; }

@media (max-width: 767px) {
  .hamburger-button {
    background: rgba(255,255,255,.56);
    border-color: #050505;
  }

  .hero-title,
  .hero-title.is-long {
    font-size: clamp(42px, 14.6vw, 58px);
    line-height: 1.025;
    letter-spacing: -.066em;
    font-weight: 400;
  }

  .cookie-banner.is-visible {
    display: none;
  }
  .cookie-banner.is-visible.is-mobile-expanded {
    z-index: 91;
    left: 0;
    right: 0;
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 60px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px 11px;
    background: rgba(255,255,255,.94);
    border-top: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 -14px 38px rgba(0,0,0,.08);
    backdrop-filter: blur(10px);
    font-size: 11px;
    line-height: 1.25;
  }
  .cookie-banner.is-visible.is-mobile-expanded p {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    padding: 0;
  }
  .cookie-banner.is-visible.is-mobile-expanded .cookie-actions {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 6px;
  }
  .cookie-banner.is-visible.is-mobile-expanded .cookie-btn {
    min-height: 30px;
    padding: 0 11px;
    font-size: 9.5px;
    flex: 0 0 auto;
  }
  body.cookies-pending:not(.cookies-expanded) .cookie-mobile-trigger {
    position: fixed;
    z-index: 75;
    left: max(14px, env(safe-area-inset-left));
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 9px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #111;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #111;
    font-size: 9.5px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .005em;
    box-shadow: 0 10px 25px rgba(0,0,0,.07);
  }
  body.cookies-expanded .cookie-mobile-trigger { display: none; }
}

/* === QS v0.5 section pages === */
.story-page {
  position: relative;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: #fff;
}
.story-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.006);
}
.story-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.84) 0%, rgba(255,255,255,.63) 27%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 72%);
}
.story-content {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: clamp(164px, 19.8vh, 214px) var(--page-pad-x) clamp(46px, 5.8vh, 64px);
}
.story-left {
  width: min(475px, 32vw);
}
.story-kicker {
  margin: 0 0 clamp(38px, 5.2vh, 58px);
  color: var(--color-muted);
  font-size: clamp(10px, .78vw, 13px);
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 700;
}
.story-title {
  margin: 0;
  color: #030303;
  font-size: clamp(48px, 4.45vw, 72px);
  line-height: 1.075;
  letter-spacing: -.064em;
  font-weight: 400;
}
.story-title .muted { color: #8f9093; }
.story-copy {
  max-width: 440px;
  color: #050505;
  font-size: clamp(13px, 1.02vw, 16px);
  line-height: 1.62;
  letter-spacing: -.018em;
}
.story-copy p { margin: 0 0 24px; }
.story-copy p:last-child { margin-bottom: 0; }
.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: clamp(58px, 9vh, 88px);
  color: #050505;
  font-size: clamp(10.5px, .78vw, 13px);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.story-cta__icon {
  width: clamp(42px, 3.7vw, 52px);
  height: clamp(42px, 3.7vw, 52px);
  border: 1px solid rgba(0,0,0,.74);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0;
}
.story-list {
  position: absolute;
  z-index: 4;
  top: clamp(164px, 19vh, 208px);
  left: clamp(500px, 38.5vw, 665px);
  width: min(375px, 27vw);
  display: grid;
}
.story-item {
  display: grid;
  grid-template-columns: clamp(54px, 4.8vw, 72px) minmax(0, 1fr);
  column-gap: clamp(20px, 2vw, 28px);
  padding: 0 0 clamp(28px, 4vh, 44px);
  margin: 0 0 clamp(28px, 4vh, 44px);
  border-bottom: 1px solid rgba(0,0,0,.12);
}
.story-item:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.story-item__number {
  color: #87898c;
  font-size: clamp(28px, 2.45vw, 42px);
  line-height: .9;
  font-weight: 300;
  letter-spacing: -.045em;
}
.story-item__body h2 {
  margin: 0 0 12px;
  color: #060606;
  font-size: clamp(16px, 1.32vw, 22px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.045em;
}
.story-item__body p {
  margin: 0;
  color: #111;
  font-size: clamp(12px, .88vw, 14px);
  line-height: 1.55;
  letter-spacing: -.018em;
}

.page-services .story-bg { background-image: url('../images/services/services-1.png'); }
.page-how-we-work .story-bg { background-image: url('../images/how-we-work/how-we-work-1.png'); }
.page-why-qs-center .story-bg { background-image: url('../images/why-qs-center/why-qs-center-1.png'); }
.page-use-cases .story-bg { background-image: url('../images/use-cases/use-cases-1.png'); }
.page-about .story-bg { background-image: url('../images/about/about-1.png'); }

.story-page--services .services-list {
  top: clamp(145px, 18.8vh, 196px);
  left: clamp(470px, 36.1vw, 630px);
  width: min(370px, 26vw);
}
.story-page--services .story-item {
  grid-template-columns: clamp(72px, 5.8vw, 92px) 1fr;
  column-gap: clamp(22px, 2.3vw, 34px);
  position: relative;
}
.story-page--services .story-item__number::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 1px;
  margin-left: 20px;
  background: rgba(0,0,0,.32);
  transform: translateY(-.32em);
}

.story-page--how .story-content {
  height: calc(100% - clamp(220px, 27.5vh, 282px));
  padding-top: clamp(180px, 22vh, 228px);
  padding-bottom: 24px;
}
.story-page--how .story-left { width: min(480px, 34vw); }
.story-page--how .story-title { font-size: clamp(50px, 4.6vw, 76px); }
.story-page--how .story-cta { margin-top: clamp(28px, 4.6vh, 48px); }
.workflow-band {
  position: absolute;
  z-index: 4;
  inset: auto 0 0 0;
  height: clamp(220px, 27.5vh, 282px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(34px, 4.2vw, 62px);
  padding: clamp(50px, 6vh, 68px) var(--page-pad-x) clamp(42px, 5vh, 58px);
  background: rgba(255,255,255,.96);
  box-shadow: 0 -10px 50px rgba(0,0,0,.025);
}
.workflow-step__top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 3.4vw, 52px);
  margin-bottom: 18px;
}
.workflow-step__top span {
  color: #8f9093;
  font-size: clamp(34px, 3.25vw, 52px);
  line-height: .9;
  font-weight: 300;
  letter-spacing: -.055em;
}
.workflow-step__top i {
  height: 1px;
  background: rgba(0,0,0,.4);
  position: relative;
}
.workflow-step__top i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(0,0,0,.55);
  border-right: 1px solid rgba(0,0,0,.55);
  transform: translateY(-50%) rotate(45deg);
}
.workflow-step:last-child .workflow-step__top i { display: none; }
.workflow-step h2 {
  margin: 0 0 16px;
  font-size: clamp(15px, 1.28vw, 20px);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.workflow-step p {
  margin: 0;
  max-width: 220px;
  font-size: clamp(12px, .88vw, 14px);
  line-height: 1.55;
  letter-spacing: -.015em;
}

.story-page--why::before { background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 31%, rgba(255,255,255,.12) 52%, rgba(255,255,255,0) 70%); }
.story-page--why .story-left { width: min(510px, 35vw); }
.story-page--why .story-title { font-size: clamp(48px, 4.25vw, 70px); line-height: 1.12; }
.story-page--why .story-cta {
  margin-top: clamp(62px, 10vh, 92px);
  gap: 20px;
}
.story-page--why .story-cta__icon {
  width: auto;
  height: auto;
  border: 0;
  font-size: 24px;
}
.story-list--dark {
  top: clamp(108px, 10.3vh, 124px);
  left: clamp(560px, 40.2vw, 680px);
  bottom: clamp(46px, 5.2vh, 72px);
  width: min(310px, 22vw);
  padding: clamp(44px, 5.2vh, 58px) clamp(32px, 2.6vw, 44px);
  color: #fff;
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.38));
  backdrop-filter: blur(1px);
  align-content: start;
  overflow: hidden;
}
.story-list--dark .story-item {
  grid-template-columns: 46px 1fr;
  column-gap: 18px;
  padding-bottom: clamp(22px, 2.7vh, 32px);
  margin-bottom: clamp(22px, 2.7vh, 32px);
  border-bottom-color: rgba(255,255,255,.20);
}
.story-list--dark .story-item__number,
.story-list--dark .story-item__body h2,
.story-list--dark .story-item__body p { color: #fff; }
.story-list--dark .story-item__number { font-size: clamp(25px, 2vw, 34px); }
.story-list--dark .story-item__body h2 { font-size: clamp(14px, 1.05vw, 17px); margin-bottom: 8px; letter-spacing: -.03em; }
.story-list--dark .story-item__body p { font-size: clamp(11px, .78vw, 13px); line-height: 1.5; }

.story-page--use::before { background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.68) 32%, rgba(255,255,255,.20) 54%, rgba(255,255,255,0) 76%); }
.story-page--use .story-left { width: min(480px, 32vw); }
.story-page--use .story-title { font-size: clamp(45px, 3.9vw, 64px); line-height: 1.12; letter-spacing: -.062em; }
.story-page--use .story-cta { margin-top: clamp(42px, 6.8vh, 70px); }
.story-page--use .story-cta__icon { font-size: 18px; }
.use-list {
  top: clamp(140px, 15.4vh, 165px);
  left: clamp(550px, 39vw, 670px);
  width: min(355px, 24vw);
}
.use-list .story-item {
  grid-template-columns: 42px 1fr;
  column-gap: 28px;
  padding-bottom: clamp(24px, 3.1vh, 34px);
  margin-bottom: clamp(24px, 3.1vh, 34px);
  border-bottom-color: rgba(0,0,0,.10);
}
.use-list .story-item__number { font-size: clamp(19px, 1.55vw, 25px); color: #777; }
.use-list .story-item:first-child .story-item__number,
.use-list .story-item:first-child .story-item__body h2,
.use-list .story-item:first-child .story-item__body p { color: #050505; }
.use-list .story-item:not(:first-child) .story-item__body h2,
.use-list .story-item:not(:first-child) .story-item__body p { color: #63666a; }
.use-list .story-item__body h2 { font-size: clamp(13px, 1vw, 16px); line-height: 1.2; margin-bottom: 12px; font-weight: 500; letter-spacing: -.025em; }
.use-list .story-item__body p { font-size: clamp(11px, .74vw, 12.5px); line-height: 1.55; }

.story-page--about::before { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.80) 36%, rgba(255,255,255,.26) 58%, rgba(255,255,255,0) 78%); }
.story-page--about .story-content { padding-top: clamp(186px, 22vh, 238px); }
.story-page--about .story-left { width: min(570px, 38vw); }
.story-page--about .story-title { font-size: clamp(46px, 4vw, 66px); line-height: 1.16; letter-spacing: -.06em; }
.story-page--about .story-copy { max-width: 520px; font-size: clamp(14px, 1vw, 16px); line-height: 1.55; }
.about-stats {
  position: absolute;
  left: var(--page-pad-x);
  bottom: clamp(52px, 6.6vh, 76px);
  width: min(680px, 45vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.about-stat {
  padding: 0 clamp(26px, 2.6vw, 40px) 0 clamp(22px, 2.3vw, 34px);
  border-left: 1px solid rgba(0,0,0,.14);
}
.about-stat:first-child { padding-left: 0; border-left: 0; }
.about-stat strong {
  display: block;
  margin: 0 0 14px;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: .9;
  font-weight: 400;
  letter-spacing: -.06em;
}
.about-stat h2 {
  margin: 0 0 16px;
  font-size: clamp(13px, .96vw, 15px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.02em;
}
.about-stat p {
  margin: 0;
  font-size: clamp(11px, .76vw, 13px);
  line-height: 1.55;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .story-content { padding-top: 150px; }
  .story-title { font-size: clamp(42px, 4.45vw, 60px); }
  .story-list { left: 43vw; width: 30vw; }
  .story-page--services .services-list { left: 42vw; width: 30vw; }
  .story-list--dark { left: 42vw; width: 31vw; padding-inline: 30px; }
  .use-list { left: 42vw; width: 32vw; }
  .about-stats { width: 58vw; }
}

@media (max-height: 820px) and (min-width: 768px) {
  .story-content { padding-top: 132px; }
  .story-kicker { margin-bottom: 30px; }
  .story-title { font-size: clamp(38px, 4vw, 60px); }
  .story-copy { font-size: 13px; line-height: 1.48; }
  .story-cta { margin-top: 38px; }
  .story-list { top: 120px; }
  .story-item { padding-bottom: 22px; margin-bottom: 22px; }
  .story-page--how .story-content { padding-top: 130px; height: calc(100% - 210px); }
  .workflow-band { height: 210px; padding-top: 42px; padding-bottom: 36px; }
  .workflow-step__top { margin-bottom: 14px; }
  .workflow-step h2 { margin-bottom: 10px; }
  .workflow-step p { font-size: 12px; line-height: 1.42; }
  .story-list--dark { top: 96px; bottom: 36px; padding-top: 34px; padding-bottom: 34px; }
  .story-list--dark .story-item { padding-bottom: 15px; margin-bottom: 15px; }
  .story-list--dark .story-item__body p { line-height: 1.37; }
  .use-list .story-item { padding-bottom: 16px; margin-bottom: 16px; }
  .story-page--about .story-content { padding-top: 142px; }
  .about-stats { bottom: 40px; }
}

@media (max-width: 767px) {
  .story-page {
    min-height: 100svh;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .story-page::before { display: none; }
  .story-bg {
    position: relative;
    inset: auto;
    order: 1;
    height: 44svh;
    min-height: 315px;
    background-position: center top;
    background-size: cover;
    transform: none;
  }
  .story-content {
    order: 2;
    height: auto;
    padding: 30px 23px 126px;
    background: #fff;
  }
  .story-left { width: 100%; }
  .story-kicker {
    margin-bottom: 26px;
    font-size: 10.5px;
    letter-spacing: .13em;
  }
  .story-title,
  .story-page--how .story-title,
  .story-page--why .story-title,
  .story-page--use .story-title,
  .story-page--about .story-title {
    font-size: clamp(38px, 12.4vw, 54px);
    line-height: 1.07;
    letter-spacing: -.064em;
  }
  .story-copy {
    max-width: none;
    font-size: 15px;
    line-height: 1.58;
  }
  .story-cta {
    margin-top: 34px;
    font-size: 11px;
    gap: 15px;
  }
  .story-cta__icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .story-list,
  .story-page--services .services-list,
  .story-list--dark,
  .use-list {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 42px;
    padding: 0;
    background: transparent;
    color: #111;
    backdrop-filter: none;
  }
  .story-item,
  .story-page--services .story-item,
  .story-list--dark .story-item,
  .use-list .story-item {
    grid-template-columns: 48px 1fr;
    column-gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,.12);
  }
  .story-item:last-child,
  .story-list--dark .story-item:last-child,
  .use-list .story-item:last-child { border-bottom: 0; }
  .story-item__number,
  .story-list--dark .story-item__number,
  .use-list .story-item__number {
    color: #8f9093;
    font-size: 26px;
  }
  .story-item__body h2,
  .story-list--dark .story-item__body h2,
  .use-list .story-item__body h2,
  .use-list .story-item:not(:first-child) .story-item__body h2 {
    color: #050505;
    font-size: 18px;
    line-height: 1.18;
    margin-bottom: 9px;
    font-weight: 700;
  }
  .story-item__body p,
  .story-list--dark .story-item__body p,
  .use-list .story-item__body p,
  .use-list .story-item:not(:first-child) .story-item__body p {
    color: #222;
    font-size: 13px;
    line-height: 1.52;
  }
  .story-page--services .story-item__number::after { display: none; }

  .story-page--how .story-content {
    height: auto;
    padding-top: 30px;
  }
  .workflow-band {
    position: relative;
    order: 3;
    z-index: 4;
    inset: auto;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 23px 126px;
    background: #fff;
    box-shadow: none;
  }
  .workflow-step__top {
    grid-template-columns: 52px 1fr;
    gap: 20px;
    margin-bottom: 14px;
  }
  .workflow-step__top span { font-size: 34px; }
  .workflow-step h2 { font-size: 17px; margin-bottom: 10px; }
  .workflow-step p { max-width: none; font-size: 13px; line-height: 1.5; }

  .story-page--why .story-cta__icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0,0,0,.74);
    font-size: 18px;
  }
  .story-page--about .story-content { padding-top: 30px; }
  .about-stats {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 42px;
  }
  .about-stat {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid rgba(0,0,0,.12);
  }
  .about-stat:first-child { border-top: 0; padding-top: 0; }
  .about-stat strong { font-size: 34px; }
  .about-stat h2 { font-size: 16px; }
  .about-stat p { font-size: 13px; }
}

/* v0.5 how-we-work layout correction: keep bottom process band attached to viewport on desktop. */
@media (min-width: 768px) {
  .story-page--how .story-content { height: 100%; }
}


/* === QS v0.6 animated slogans and workflow sequence === */
.typewriter-char {
  visibility: hidden;
}
.typewriter-char.is-visible {
  visibility: visible;
}
.story-page--how .workflow-band.is-sequenced .workflow-step {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity .58s var(--ease), transform .58s var(--ease);
  will-change: opacity, transform;
}
.story-page--how .workflow-band.is-sequenced .workflow-step.is-visible {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  .typewriter-char { visibility: visible; }
  .story-page--how .workflow-band.is-sequenced .workflow-step {
    opacity: 1;
    transform: none;
  }
}


/* === QS v0.7 refinements === */
.story-page--services .story-cta {
  margin-top: clamp(22px, 4.2vh, 38px);
}

.story-page--why .story-list--dark {
  left: clamp(505px, 37vw, 630px);
  width: min(400px, 28vw);
  padding: clamp(44px, 5.2vh, 58px) clamp(38px, 3vw, 52px);
}
.story-page--why .story-list--dark .story-item {
  grid-template-columns: 52px 1fr;
  column-gap: 20px;
}
.story-page--why .story-list--dark .story-item__body h2 {
  font-size: clamp(15px, 1.08vw, 18px);
}
.story-page--why .story-list--dark .story-item__body p {
  font-size: clamp(11.5px, .8vw, 13.5px);
}

.use-list .story-item__body h2 {
  font-weight: 700;
}

.story-list.is-drop-sequenced .story-item {
  opacity: 0;
  transform: translateY(var(--drop-start, -100vh));
  transition: opacity .58s var(--ease), transform .58s var(--ease);
  will-change: opacity, transform;
}
.story-list.is-drop-sequenced .story-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-page--how .workflow-band.is-sequenced .workflow-step {
  transform: translateX(-100vw);
}

@media (max-width: 1180px) and (min-width: 768px) {
  .story-page--why .story-list--dark {
    left: 40vw;
    width: 34vw;
    padding-inline: 34px;
  }
}

@media (max-width: 767px) {
  .story-page--services .story-cta {
    margin-top: 26px;
  }
  .story-page--why .story-list--dark {
    width: 100%;
    padding: 0;
  }
  .story-list.is-drop-sequenced .story-item {
    transform: translateY(var(--drop-start, -64vh));
  }
  .story-page--how .workflow-band.is-sequenced .workflow-step {
    transform: translateX(-100vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-list.is-drop-sequenced .story-item {
    opacity: 1;
    transform: none;
  }
}


/* === QS v0.8 talk-to-us page and top-origin card motion === */
.talk-page::before {
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.80) 36%, rgba(255,255,255,.28) 57%, rgba(255,255,255,0) 78%);
}
.talk-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(360px, 36vw) minmax(520px, 44vw);
  align-items: start;
  gap: clamp(48px, 6vw, 92px);
  padding: clamp(168px, 20.5vh, 216px) var(--page-pad-x) clamp(38px, 5.5vh, 58px);
}
.talk-left {
  max-width: 520px;
}
.talk-title {
  margin: 0;
  color: #030303;
  font-size: clamp(48px, 4.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -.064em;
  font-weight: 400;
}
.talk-intro {
  max-width: 470px;
  margin: clamp(26px, 3.8vh, 38px) 0 0;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.6;
  letter-spacing: -.02em;
}
.talk-contact-list {
  display: grid;
  gap: clamp(24px, 3.8vh, 40px);
  margin-top: clamp(26px, 3.8vh, 40px);
}
.talk-contact-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.talk-contact-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0,0,0,.65);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
}
.talk-contact-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.talk-contact-row strong,
.talk-contact-row a,
.talk-contact-row span {
  display: block;
  font-size: clamp(13px, .9vw, 15px);
  line-height: 1.45;
  letter-spacing: -.018em;
}
.talk-contact-row strong {
  margin-bottom: 5px;
  font-weight: 700;
}
.talk-contact-row a {
  width: fit-content;
  text-decoration: none;
}
.talk-contact-row span { color: #5e6064; }

.talk-form {
  width: 100%;
  max-width: 680px;
  justify-self: end;
  padding: clamp(28px, 3.3vw, 42px) clamp(30px, 3.4vw, 48px) clamp(24px, 2.8vw, 36px);
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 10px;
  box-shadow: 0 26px 90px rgba(0,0,0,.10);
  backdrop-filter: blur(14px);
}
.talk-form h2 {
  margin: 0 0 clamp(22px, 2.8vh, 30px);
  font-size: clamp(23px, 1.8vw, 30px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.05em;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.9vh, 22px) 18px;
}
.talk-form label {
  display: grid;
  gap: 8px;
  color: #050505;
  font-size: clamp(12px, .82vw, 14px);
  line-height: 1.1;
  font-weight: 500;
}
.form-wide { grid-column: 1 / -1; }
.talk-form input,
.talk-form select,
.talk-form textarea {
  width: 100%;
  min-height: clamp(42px, 4.3vh, 50px);
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 6px;
  background: rgba(255,255,255,.74);
  color: #111;
  padding: 0 15px;
  font: inherit;
  font-size: clamp(12px, .82vw, 14px);
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.talk-form textarea {
  min-height: clamp(88px, 11.2vh, 116px);
  padding-top: 14px;
  resize: vertical;
}
.talk-form select { appearance: auto; }
.talk-form input:focus,
.talk-form select:focus,
.talk-form textarea:focus {
  border-color: rgba(0,0,0,.55);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.talk-form.was-validated input:invalid,
.talk-form.was-validated select:invalid,
.talk-form.was-validated textarea:invalid {
  border-color: rgba(160,0,0,.58);
}
.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.talk-submit {
  min-height: clamp(42px, 4.4vh, 50px);
  margin-top: clamp(16px, 2.2vh, 22px);
  padding: 0 clamp(20px, 2.2vw, 28px);
  border: 0;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(11px, .78vw, 13px);
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .085em;
  cursor: pointer;
  transition: background .22s var(--ease), transform .22s var(--ease), opacity .22s var(--ease);
}
.talk-submit:hover { background: #292929; transform: translateY(-1px); }
.talk-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.form-legal {
  margin: clamp(16px, 2.2vh, 24px) 0 0;
  color: #333;
  font-size: clamp(11px, .78vw, 12.5px);
  line-height: 1.45;
}
.form-legal a { text-decoration: underline; text-underline-offset: 3px; }
.form-status {
  min-height: 18px;
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #333;
}

@media (min-width: 768px) and (max-height: 820px) {
  .talk-content {
    padding-top: 132px;
    padding-bottom: 30px;
  }
  .talk-title { font-size: clamp(42px, 3.8vw, 62px); }
  .talk-intro { margin-top: 20px; line-height: 1.42; }
  .talk-left .short-rule { margin-top: 24px; margin-bottom: 20px; }
  .talk-contact-list { gap: 18px; margin-top: 22px; }
  .talk-contact-row { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; }
  .talk-contact-icon { width: 40px; height: 40px; }
  .talk-form { padding: 24px 32px 22px; }
  .talk-form h2 { margin-bottom: 18px; }
  .form-grid { gap: 12px 16px; }
  .talk-form textarea { min-height: 76px; }
  .talk-submit { margin-top: 13px; }
  .form-legal { margin-top: 12px; }
}

@media (max-width: 1180px) and (min-width: 768px) {
  .talk-content {
    grid-template-columns: minmax(300px, 34vw) minmax(430px, 50vw);
    gap: 34px;
  }
  .talk-title { font-size: clamp(42px, 4.2vw, 60px); }
  .talk-form { padding-inline: 30px; }
}

@media (max-width: 767px) {
  .talk-page {
    min-height: 100svh;
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .talk-page::before { display: none; }
  .talk-page .section-bg {
    position: relative;
    order: 1;
    height: 42svh;
    min-height: 300px;
    transform: none;
    background-position: center top;
  }
  .talk-content {
    order: 2;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px 22px 126px;
    background: #fff;
  }
  .talk-title {
    font-size: clamp(44px, 14vw, 62px);
    line-height: 1.05;
  }
  .talk-intro {
    margin-top: 24px;
    font-size: 15px;
  }
  .talk-contact-list { gap: 24px; margin-top: 28px; }
  .talk-contact-row { grid-template-columns: 44px minmax(0,1fr); gap: 15px; }
  .talk-contact-icon { width: 42px; height: 42px; }
  .talk-form {
    max-width: none;
    padding: 24px 20px 26px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0,0,0,.08);
    backdrop-filter: none;
  }
  .talk-form h2 { font-size: 26px; }
  .form-grid { grid-template-columns: 1fr; gap: 17px; }
  .talk-form input,
  .talk-form select { min-height: 48px; }
  .talk-form textarea { min-height: 120px; }
  .talk-submit { width: 100%; justify-content: center; white-space: normal; line-height: 1.25; padding-block: 14px; }
}


/* === QS v0.10 lightweight analytics, logo assembly and talk refinements === */
.qs-logo-link {
  position: relative;
  overflow: visible;
}
.qs-logo-motion {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  isolation: isolate;
}
.qs-logo-full {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}
.qs-assembly-mark {
  position: absolute;
  z-index: 2;
  left: 3.98%;
  top: 10.8%;
  width: 24.9%;
  aspect-ratio: 116 / 118;
  pointer-events: none;
}
.qs-assembly-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.qs-assembly-final {
  z-index: 3;
  opacity: 0;
  transform: scale(1);
  animation: qsAssemblyFinal 1080ms var(--ease) 700ms forwards;
}
.qs-assembly-slice {
  z-index: 2;
  opacity: 0;
}
.qs-slice-1 { clip-path: inset(0 50% 50% 0); animation: qsSliceAssemble1 880ms var(--ease) 80ms forwards; }
.qs-slice-2 { clip-path: inset(0 0 50% 50%); animation: qsSliceAssemble2 880ms var(--ease) 160ms forwards; }
.qs-slice-3 { clip-path: inset(50% 50% 0 0); animation: qsSliceAssemble3 880ms var(--ease) 240ms forwards; }
.qs-slice-4 { clip-path: inset(50% 0 0 50%); animation: qsSliceAssemble4 880ms var(--ease) 320ms forwards; }
@keyframes qsSliceAssemble1 {
  0% { opacity: 0; transform: translate(-32px, -28px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes qsSliceAssemble2 {
  0% { opacity: 0; transform: translate(32px, -28px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes qsSliceAssemble3 {
  0% { opacity: 0; transform: translate(-32px, 28px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes qsSliceAssemble4 {
  0% { opacity: 0; transform: translate(32px, 28px); }
  100% { opacity: 1; transform: translate(0, 0); }
}
@keyframes qsAssemblyFinal {
  0% { opacity: 0; transform: scale(.992); filter: blur(.6px); }
  20% { opacity: 1; filter: blur(0); }
  48% { opacity: 1; transform: scale(1.007); }
  72% { opacity: 1; transform: scale(.998); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .qs-assembly-slice { display: none; }
  .qs-assembly-final { opacity: 0; animation: none; }
}

@media (min-width: 768px) {
  .talk-content {
    grid-template-columns: minmax(330px, 29vw) minmax(540px, 38vw);
    gap: clamp(24px, 2.9vw, 54px);
    padding-top: clamp(156px, 18.4vh, 196px);
  }
  .talk-form {
    max-width: 640px;
    justify-self: start;
  }
  .talk-contact-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
  }
  .talk-contact-icon {
    width: 58px;
    height: 58px;
  }
  .talk-contact-icon svg {
    width: 25px;
    height: 25px;
  }
}

.form-feedback-layer {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(255,255,255,.48);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .26s var(--ease);
}
.form-feedback-layer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.form-feedback-card {
  position: relative;
  width: min(520px, 100%);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 100px rgba(0,0,0,.18);
  transform: translateY(16px) scale(.985);
  transition: transform .26s var(--ease);
}
.form-feedback-layer.is-open .form-feedback-card {
  transform: translateY(0) scale(1);
}
.form-feedback-kicker {
  display: block;
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.form-feedback-card h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.06em;
  font-weight: 400;
}
.form-feedback-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -.02em;
}
.form-feedback-card::before {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin: 0 0 24px;
  background: #050505;
}
.form-feedback-layer.is-error .form-feedback-card {
  border-color: rgba(180,0,0,.28);
}
.form-feedback-layer.is-error .form-feedback-card::before {
  background: #b00000;
}
.form-feedback-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.form-feedback-close::before,
.form-feedback-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 1px;
  background: #050505;
}
.form-feedback-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.form-feedback-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media (min-width: 768px) and (max-height: 820px) {
  .talk-content {
    padding-top: 120px;
  }
  .talk-contact-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .talk-contact-icon {
    width: 50px;
    height: 50px;
  }
  .talk-contact-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 767px) {
  .form-feedback-layer {
    align-items: end;
    padding: 18px;
  }
  .form-feedback-card {
    width: 100%;
    padding: 28px 24px 30px;
  }
  .form-feedback-card h2 {
    font-size: 34px;
  }
}


/* === QS v0.11 logo scale-in and talk icon alignment === */
.qs-logo-scale {
  transform-origin: left center;
  animation: qsLogoScaleIn 720ms var(--ease) 90ms both;
}
@keyframes qsLogoScaleIn {
  0% { opacity: 0; transform: scale(.74); }
  62% { opacity: 1; transform: scale(1.025); }
  100% { opacity: 1; transform: scale(1); }
}

/* Previous assembly markup has been removed; keep any remaining assembly layers hidden if cached HTML appears. */
.qs-assembly-mark,
.qs-assembly-slice,
.qs-assembly-final { display: none !important; }

.talk-contact-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
}
.talk-contact-icon svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 23px;
  height: 23px;
  display: block;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  overflow: visible;
}

@media (min-width: 768px) and (max-height: 820px) {
  .talk-contact-icon svg { width: 21px; height: 21px; }
}

@media (max-width: 767px) {
  .talk-contact-icon svg { width: 21px; height: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .qs-logo-scale { animation: none; transform: none; opacity: 1; }
}
