/* =========================================================
   Niveka — design tokens (after "AI for Business" reference)
   ========================================================= */
:root {
  --black: #000000;
  --white: #ffffff;
  --canvas: #e5e5e5;
  --mist: #f3f3f3;
  --ash: #c6c6c6;
  --smoke: #979797;
  --slate: #444444;
  --graphite: #2f2f2f;
  --mint: #d1ffca;
  --volt: #fff100;
  --pink: #ffc4dc;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 96px);
  --r-card: 32px;
  --r-arc: clamp(40px, 6vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  font-stretch: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.practice-dark :focus-visible, .arc-black :focus-visible, .footer :focus-visible, .pkg-dark :focus-visible { outline-color: var(--volt); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: -0.03em; line-height: 1.3; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.h-xl  { font-size: clamp(48px, 7.4vw, 88px); }
.h-xxl { font-size: clamp(64px, 10vw, 128px); }
.dim { color: var(--smoke); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; color: var(--slate); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--black); }
.eyebrow.on-dark { color: var(--smoke); }
.eyebrow.on-dark::before { background: var(--mint); }

.tag {
  display: inline-block;
  background: var(--mint);
  color: var(--black);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: -0.03em;
  padding: 6px 12px;
  border-radius: 64px;
  line-height: 1.2;
}
.tag-plain { background: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; font-weight: 500; line-height: 1;
  padding: 16px 24px; border-radius: 8px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn::after { content: "→"; transition: transform .2s ease; }
.btn:hover::after { transform: translateX(3px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--graphite); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: var(--mint); }
.btn-ghost { background: transparent; color: var(--slate); box-shadow: inset 0 0 0 1.5px var(--slate); border-radius: 4px; }
.btn-ghost:hover { background: var(--black); color: var(--white); box-shadow: inset 0 0 0 1.5px var(--black); }

/* ---------- Nav ---------- */
.nav {
  height: 8rem;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 20;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.logo-mark { width: 22px; height: 22px; background: var(--black); border-radius: 6px; position: relative; }
.logo-mark::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; background: var(--mint); border-radius: 3px; }
.logo-word { font-stretch: 62%; font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.logo-light .logo-mark { background: var(--white); }
.logo-light { color: var(--white); }

.nav-pill {
  display: flex; gap: 4px;
  background: var(--white);
  border-radius: 48px;
  padding: 6px;
}
.nav-pill a {
  text-decoration: none; color: var(--slate); font-weight: 500; font-size: 15px;
  padding: 10px 16px; border-radius: 48px; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.nav-pill a:hover { background: var(--mist); color: var(--black); }
.nav-cta { justify-self: end; }
.nav-cta-mobile, .menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 24px;
  position: relative;
}
.hero-title { font-size: clamp(64px, 10vw, 128px); margin: 20px 0 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.02em; }
.hero-title .line > span { display: block; animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-title .line:nth-child(2) > span { animation-delay: .08s; }
.hero-title .line:nth-child(3) > span { animation-delay: .16s; }
.hero-title .line:nth-child(4) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }

.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.33; color: var(--slate); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-switch { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.switch-card {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px;
  background: var(--white); border-radius: 24px; padding: 20px 24px;
  text-decoration: none; transition: background-color .25s, color .25s;
}
.switch-card .mono { grid-column: 1; color: var(--slate); text-transform: uppercase; }
.switch-card strong {
  grid-column: 1; font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(32px, 3.6vw, 44px); line-height: .9; letter-spacing: -0.03em;
}
.switch-sub { grid-column: 1; color: var(--slate); font-size: 14px; }
.switch-card::after {
  content: "↓"; grid-column: 2; grid-row: 1 / span 3; align-self: center;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--black); font-size: 20px; transition: transform .25s;
}
.switch-card:hover::after { transform: translateY(4px); }
.switch-dark { background: var(--black); color: var(--white); }
.switch-dark .mono, .switch-dark .switch-sub { color: var(--smoke); }
.switch-dark::after { background: var(--volt); }

/* ---------- 3D stages ---------- */
.hero-art { position: relative; height: clamp(380px, 46vw, 600px); }
.hero-art canvas, .practice-visual canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.has-webgl .fallback { display: none; }
.hero-art canvas { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.practice-visual { position: relative; border-radius: var(--r-card); overflow: hidden; min-height: 360px; height: 100%; }
.visual-light { background: var(--mist); }
.visual-dark { background: var(--graphite); }
.practice-visual::after {
  content: attr(data-caption); position: absolute; left: 20px; bottom: 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: -0.03em; text-transform: uppercase; color: var(--smoke);
}

/* CSS fallback blocks (only when WebGL is unavailable) */
.scene { position: absolute; left: 50%; top: 65%; }
.world { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-38deg); }
.cube {
  position: absolute; left: 0; top: 0; width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform-style: preserve-3d; transform: translate3d(var(--x), var(--y), var(--z));
}
.cube > i { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 10%; font-style: normal; }
.cube .ft { transform: translateZ(calc(var(--s) / 2)); }
.cube .bk { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube .rt { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube .lt { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube .tp { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube .bt { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.cube b { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: calc(var(--s) * 0.42); line-height: .8; }
.c-concrete .tp { background: #d9d7d2; } .c-concrete .ft, .c-concrete .bk { background: #bdbab4; } .c-concrete .rt, .c-concrete .lt, .c-concrete .bt { background: #a29f99; }
.c-black > i { color: var(--white); } .c-black .tp { background: #3a3a3a; } .c-black .ft, .c-black .bk { background: #1a1a1a; } .c-black .rt, .c-black .lt, .c-black .bt { background: #000; }

/* ---------- Ticker ---------- */
.ticker {
  display: flex; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto 56px; padding: 0 var(--gutter);
}
.ticker-label { flex: none; text-transform: uppercase; color: var(--slate); }
.ticker-track {
  display: flex; overflow: hidden; flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-list {
  display: flex; flex: none; gap: 40px; padding-right: 40px;
  animation: marquee 40s linear infinite;
}
.ticker-list li { font-stretch: 62%; font-weight: 700; font-size: 28px; text-transform: uppercase; color: var(--slate); white-space: nowrap; letter-spacing: -0.01em; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Section shells ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding-top: calc(var(--section) * .5); }

.arc { border-radius: var(--r-arc) var(--r-arc) 0 0; padding: var(--section) 0; }
.arc-black { background: var(--black); color: var(--white); }

.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 48px; }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-intro { color: var(--slate); font-size: 18px; line-height: 1.33; max-width: 40ch; }
.section-head .section-intro { justify-self: end; }

/* ---------- Practices ---------- */
.practices { background: var(--white); border-radius: var(--r-arc) var(--r-arc) 0 0; }
.practice { padding: var(--section) 0; }
.practice-dark { background: var(--black); color: var(--white); border-radius: var(--r-arc) var(--r-arc) 0 0; }
.practice-head { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px 48px; align-items: stretch; margin-bottom: 40px; }
.practice-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 8px 0; }
.practice-copy .btn { margin-top: auto; }
.practice-dark .section-intro { color: var(--smoke); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.practice .card { background: var(--mist); }
.practice-dark .card { background: var(--graphite); }
.card .tag { align-self: flex-start; }
.card h3 {
  font-size: 26px; font-weight: 600;
  line-height: 1.08; letter-spacing: -0.025em; font-stretch: 88%;
}
.example {
  background: var(--white); border-radius: 16px; padding: 12px 14px;
  font-size: 14px; line-height: 1.4; display: grid; gap: 4px;
}
.card .example { color: var(--black); }
.example .mono { text-transform: uppercase; color: var(--slate); }
.practice-dark .card .example { background: #3a3a3a; color: var(--white); }
.practice-dark .example .mono { color: var(--smoke); }

.card-cta { justify-content: flex-end; background: var(--black) !important; color: var(--white); min-height: 280px; }
.card-cta h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 44px; line-height: .9; letter-spacing: -0.03em; }
.card-cta p { color: var(--smoke) !important; }
.card-cta .btn { align-self: flex-start; margin-top: 8px; }
.practice-dark .card-cta { background: var(--mint) !important; color: var(--black); }
.practice-dark .card-cta p { color: var(--slate) !important; }

.card.is-flash { animation: flash 1.6s ease .3s; }
@keyframes flash { 0%, 100% { box-shadow: inset 0 0 0 0 var(--black); } 20%, 70% { box-shadow: inset 0 0 0 3px var(--black); } }
.practice-dark .card.is-flash { animation-name: flashDark; }
@keyframes flashDark { 0%, 100% { box-shadow: inset 0 0 0 0 var(--volt); } 20%, 70% { box-shadow: inset 0 0 0 3px var(--volt); } }

.depts { color: var(--slate); text-transform: uppercase; line-height: 1.6; max-width: 46ch; }
.practice-dark .depts { color: var(--smoke); }

/* ---------- Who it's for ---------- */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stage { background: var(--white); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.stage .tag { align-self: flex-start; }
.stage h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4vw, 52px); line-height: .9; letter-spacing: -0.03em; }
.stage p { color: var(--slate); }
.stage-label { margin-top: 8px; text-transform: uppercase; }
.stage-links { display: grid; border-top: 1px solid var(--ash); }
.stage-links a {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--ash); text-decoration: none; font-weight: 500;
}
.stage-links a::after { content: "→"; transition: transform .2s; }
.stage-links a:hover::after { transform: translateX(4px); }
.stage-dark { background: var(--black); color: var(--white); }
.stage-dark p { color: var(--smoke); }
.stage-dark .stage-links, .stage-dark .stage-links a { border-color: #3a3a3a; }
.stage-dark .tag { background: var(--volt); }
.card p { color: var(--slate); }
.practice-dark .card p { color: var(--smoke); }
.ticks { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: "+"; font-family: var(--mono); color: var(--smoke); }
.card .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ash); color: var(--slate); text-transform: uppercase; }
.practice-dark .card .meta { border-top-color: #474747; color: var(--smoke); }
.practice-dark .tag { background: var(--volt); }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pkg {
  background: var(--white); border-radius: var(--r-card); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.pkg .tag { align-self: flex-start; }
.pkg h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(40px, 4vw, 52px); line-height: .9; letter-spacing: -0.03em; }
.pkg p { color: var(--slate); }
.pkg .pkg-time { color: var(--black); text-transform: uppercase; }
.pkg .pkg-time::before { content: "◷ "; }
.pkg .ticks { margin-bottom: 8px; }
.pkg-btn { margin-top: auto; align-self: flex-start; }
.pkg-dark { background: var(--black); color: var(--white); }
.pkg-dark p { color: var(--smoke); }
.pkg-dark .pkg-time { color: var(--white); }
.pkg-dark .tag { background: var(--volt); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { border-top: 3px solid var(--black); padding-top: 20px; display: grid; gap: 12px; align-content: start; }
.step-n { color: var(--slate); text-transform: uppercase; }
.step h3 { font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: 44px; line-height: .9; letter-spacing: -0.03em; }
.step p { color: var(--slate); max-width: 28ch; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { flex-direction: row; gap: 24px; padding: 28px; align-items: flex-start; }
.person > div:last-child { display: flex; flex-direction: column; gap: 12px; }
.person .meta { border-top: 1px solid var(--ash); padding-top: 14px; margin-top: 4px; }
.avatar {
  flex: none; width: 112px; height: 136px; border-radius: 20px;
  background: var(--mint); display: grid; place-items: center;
  font-stretch: 62%; font-weight: 800; font-size: 56px; letter-spacing: -0.03em;
}
.avatar-dark { background: var(--black); color: var(--white); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.faq-wrap .section-head { grid-template-columns: 1fr; margin-bottom: 0; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--white); border-radius: 24px; padding: 0 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--mist);
  display: grid; place-items: center; font-family: var(--mono); font-size: 16px;
  transition: transform .2s, background-color .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--mint); }
.faq details p { color: var(--slate); padding-bottom: 22px; max-width: 60ch; }

/* ---------- Contact ---------- */
.arc-black { margin-top: var(--section); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: start; }
.contact-copy { display: grid; gap: 24px; }
.contact-copy p { color: var(--smoke); font-size: 18px; max-width: 40ch; }
.contact-copy .contact-mail { color: var(--white); }
.volt { background: var(--volt); color: var(--black); padding: 2px 6px; border-radius: 4px; text-decoration: none; font-weight: 500; }
.volt:hover { background: var(--white); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--graphite); border-radius: var(--r-card); padding: 24px; }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--smoke); letter-spacing: -0.02em; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--black); border: 1px solid #4a4a4a; border-radius: 12px;
  padding: 14px; color: var(--white); font-size: 16px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23979797' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mint); }
.field.has-error input, .field.has-error textarea { border-color: #ff8a8a; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-status { color: var(--mint); }
.form-status.is-error { color: #ff8a8a; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); border-top: 1px solid #2a2a2a; padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--smoke); font-weight: 500; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--smoke); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-pill a { padding: 10px 12px; }
  .grid, .packages { grid-template-columns: 1fr 1fr; }
  .grid .card-cta { grid-column: 1 / -1; min-height: 0; }
  .stages { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .team { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav { height: 88px; grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .menu-btn {
    display: inline-flex; background: var(--white); border: 0; border-radius: 48px;
    padding: 12px 20px; font-weight: 500; cursor: pointer;
  }
  .nav-pill {
    display: none; position: absolute; top: 80px; left: var(--gutter); right: var(--gutter);
    flex-direction: column; border-radius: 24px; padding: 10px;
  }
  .nav-pill.is-open { display: flex; }
  .nav-pill a { padding: 14px 16px; font-size: 18px; }
  .nav-pill .nav-cta-mobile { display: block; background: var(--black); color: var(--white); text-align: center; margin-top: 6px; }

  .hero { grid-template-columns: 1fr; padding-bottom: 32px; }
  .hero-art { height: 380px; order: -1; margin-bottom: -16px; }

  .section-head, .practice-head { grid-template-columns: 1fr; }
  .section-head .section-intro { justify-self: start; }
  .practice-visual { height: 340px; min-height: 0; }
  .contact, .faq-wrap { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-switch { grid-template-columns: 1fr; }
  .person { flex-direction: column; }
  .avatar { width: 88px; height: 100px; font-size: 44px; }
  .form { grid-template-columns: 1fr; padding: 18px; }
  .ticker { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ticker-track { width: 100%; }
  .ticker-list li { font-size: 22px; }
  .hero-art { height: 320px; }
  .practice-visual { height: 280px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   WhatsApp contact
   ========================================================= */
:root {
  --wa-green: #25d366;
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
}

.btn-wa::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat;
          mask: var(--wa-icon) center / contain no-repeat;
}
.btn-wa::after { content: none; }
.btn-dark.btn-wa::before { background: var(--wa-green); }

.hours { margin-top: 14px; color: var(--slate); }
.hours a { color: var(--black); }

.stage-btn { align-self: flex-start; margin-top: auto; }
.stage-links { margin-bottom: 8px; }

.card-ask {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--black);
  margin-top: -2px;
}
.card-ask::before {
  content: ""; width: 16px; height: 16px; background: #128c4a;
  -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat;
}
.card-ask::after { content: "→"; transition: transform .2s; }
.card-ask:hover { text-decoration: underline; }
.card-ask:hover::after { transform: translateX(3px); }
.practice-dark .card-ask { color: var(--white); }
.practice-dark .card-ask::before { background: var(--wa-green); }

/* Contact cards */
.contact { align-items: end; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: grid; gap: 6px; padding: 28px; border-radius: var(--r-card);
  text-decoration: none; transition: transform .25s ease;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card .mono { text-transform: uppercase; }
.contact-card strong { font-stretch: 62%; font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: .95; letter-spacing: -0.02em; word-break: break-word; }
.contact-hours { font-size: 16px; }
.contact-card .btn { justify-self: start; margin-top: 14px; pointer-events: none; }
.contact-wa { background: var(--wa-green); color: var(--black); }
.contact-wa .mono, .contact-wa .contact-hours { color: #0b3d20; }
.contact-email { background: var(--graphite); color: var(--white); }
.contact-email .mono, .contact-email .contact-hours { color: var(--smoke); }
.contact-email strong { font-size: clamp(30px, 3.4vw, 44px); }

/* Floating WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 56px;
  background: var(--wa-green); color: var(--black);
  font-weight: 600; text-decoration: none;
  border: 2px solid var(--black);
  transition: transform .2s ease;
  animation: floatIn .5s cubic-bezier(.2,.8,.2,1) 1.2s both;
}
.wa-float::before {
  content: ""; width: 26px; height: 26px; background: var(--black);
  -webkit-mask: var(--wa-icon) center / contain no-repeat; mask: var(--wa-icon) center / contain no-repeat;
}
.wa-float:hover { transform: translateY(-3px); }
@keyframes floatIn { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 620px) {
  .wa-float { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .wa-float-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .contact-card { padding: 22px; }
  .hero-actions .btn-wa { font-size: 15px; padding: 16px 18px; }
}

/* WhatsApp kept to the contact section; floating button on phones only */
.wa-float { display: none; }
.wa-float.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 620px) {
  .wa-float { display: inline-flex; transition: transform .3s ease, opacity .3s ease; }
}

/* Compact contact rows (replace the large contact cards) */
.contact { align-items: center; }
.contact-list { display: grid; border-top: 1px solid #333; }
.contact-row {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px;
  padding: 20px 4px; border-bottom: 1px solid #333;
  text-decoration: none; color: var(--white);
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #1f1f1f; position: relative;
}
.contact-icon::before {
  content: ""; position: absolute; inset: 11px; background: var(--white);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.icon-wa { --icon: var(--wa-icon); }
.icon-wa::before { background: var(--wa-green); }
.icon-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.contact-text { display: grid; gap: 2px; min-width: 0; }
.contact-value { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-note { font-size: 14px; color: var(--smoke); }
.contact-arrow { font-size: 20px; color: var(--smoke); transition: transform .2s, color .2s; }
.contact-row:hover .contact-arrow { transform: translateX(4px); color: var(--white); }
.contact-row:hover .contact-value { text-decoration: underline; text-underline-offset: 4px; }


/* =========================================================
   Pixel: logo mark, hero stage and machine captions
   ========================================================= */
svg.logo-mark { width: 34px; height: 34px; background: none; border-radius: 0; overflow: visible; flex: none; }
.logo-light svg.logo-mark { background: none; }
.logo-eyes { transform-box: view-box; transform-origin: 22px 23.5px; animation: logoBlink 5.5s infinite; }
@keyframes logoBlink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.12); } }

.hero { grid-template-columns: 1fr; row-gap: 8px; }
.hero-side { display: grid; gap: 0; }
@media (min-width: 961px) {
  .hero-copy { display: grid; grid-template-columns: 1.25fr 0.75fr; column-gap: 56px; align-items: end; }
  .hero-copy .tag { grid-column: 1 / -1; justify-self: start; }
  .hero-copy .hero-title { margin-bottom: 0; }
  .hero-side { padding-bottom: 10px; }
}
.hero-art { height: clamp(300px, 31vw, 450px); margin: 0 calc(var(--gutter) * -0.5); }
.hero-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-fallback svg { width: clamp(120px, 16vw, 180px); height: auto; }

.machine-label {
  position: absolute; transform: translate(-50%, 0);
  display: grid; gap: 2px; text-align: center;
  padding: 7px 14px; border-radius: 12px;
  background: var(--white); color: var(--slate);
  white-space: nowrap; pointer-events: none;
  transition: background-color .25s, color .25s, transform .25s;
}
.machine-label b { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: -0.02em; text-transform: uppercase; opacity: .75; }
.machine-label span { font-size: 14px; font-weight: 500; color: var(--black); transition: color .25s; }
.machine-label.on { background: var(--black); color: var(--white); transform: translate(-50%, 0) scale(1.06); }
.machine-label.on span { color: var(--white); }

@media (max-width: 960px) {
  .hero-art { height: clamp(260px, 62vw, 420px); order: 0; margin: 8px calc(var(--gutter) * -1) 0; }
}
@media (max-width: 620px) {
  .machine-label { padding: 5px 8px; border-radius: 10px; }
  .machine-label b { font-size: 9px; }
  .machine-label span { font-size: 10.5px; }
}
.hero .hero-title { font-size: clamp(46px, 7.4vw, 112px); white-space: nowrap; margin: 16px 0 20px; }
@media (max-width: 960px) { .hero .hero-title { white-space: normal; } }
@media (max-width: 620px) { .machine-label { white-space: normal; width: max-content; max-width: 42vw; } }

/* Analytics footer note and opt-out confirmation */
.footer-note { flex-basis: 100%; margin: 0; font-size: 12px; color: #6f6f6f; }
.track-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--black); color: var(--white); padding: 12px 18px; border-radius: 10px; font-size: 14px; }
