/* ==========================================================================
   NEXT DIGITAL LEVEL — Premium layer
   Loader · cursor · reactive dot canvas · split text · magnetic UI ·
   sticky method · comparison · studio · ticker
   Extends style.css; same ivory / emerald / champagne tokens.
   ========================================================================== */

/* ---------- 0. Loader ---------------------------------------------------- */
.loader { display: none; }
.js.is-loading .loader,
.js.is-leaving .loader {
  display: grid;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--canvas);
}
.js.is-leaving .loader { animation: loaderOut 900ms cubic-bezier(0.76, 0, 0.24, 1) forwards; }
@keyframes loaderOut {
  to { clip-path: inset(0 0 100% 0); }
}
.loader__inner { display: flex; align-items: center; gap: 16px; }
.js.is-leaving .loader__inner { animation: loaderInnerOut 500ms ease forwards; }
@keyframes loaderInnerOut { to { opacity: 0; transform: translateY(-14px); } }
.loader__mark { width: 46px; height: 46px; }
.loader__box { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 900ms cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.loader__path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 600ms cubic-bezier(0.65, 0, 0.35, 1) 450ms forwards; }
.loader__path--gold { stroke-dasharray: 12; stroke-dashoffset: 12; animation-delay: 850ms; animation-duration: 300ms; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  opacity: 0;
  animation: heroIn 700ms cubic-bezier(0.16, 1, 0.3, 1) 500ms forwards;
}
.loader__word i { font-style: italic; color: var(--accent); }
.js.is-loading { overflow: hidden; }
/* Hold the hero entrance until the curtain lifts */
.js.is-loading .hero__inner > *,
.js.is-loading .site-header,
.js.is-loading .preview-composition { animation-play-state: paused; }

/* ---------- 1. Scroll progress ------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 130;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
}

/* ---------- 2. Custom cursor --------------------------------------------- */
.cursor,
.cursor-ring { display: none; }
.has-cursor .cursor,
.has-cursor .cursor-ring {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
}
.has-cursor .cursor {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--accent);
  transition: opacity 0.3s, transform 0.25s var(--ease-ui);
}
.has-cursor .cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(11, 110, 79, 0.55);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  transition: width 0.4s var(--ease-ui), height 0.4s var(--ease-ui), margin 0.4s var(--ease-ui),
    background 0.4s var(--ease-ui), border-color 0.4s var(--ease-ui), opacity 0.3s;
}
.has-cursor .cursor-ring span { opacity: 0; transition: opacity 0.25s; }
.has-cursor.cursor--link .cursor-ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  background: rgba(11, 110, 79, 0.1);
  border-color: transparent;
}
.has-cursor.cursor--link .cursor { transform: scale(0.6); }
.has-cursor.cursor--view .cursor-ring {
  width: 82px;
  height: 82px;
  margin: -41px 0 0 -41px;
  background: var(--accent);
  border-color: transparent;
}
.has-cursor.cursor--view .cursor-ring span { opacity: 1; }
.has-cursor.cursor--view .cursor { opacity: 0; }
.has-cursor.cursor--text .cursor-ring,
.has-cursor.cursor--text .cursor { opacity: 0; }
.has-cursor.cursor--dark .cursor-ring { border-color: rgba(224, 191, 82, 0.7); }
.has-cursor.cursor--dark .cursor { background: var(--gold-soft); }
.has-cursor.cursor--dark.cursor--link .cursor-ring { background: rgba(224, 191, 82, 0.16); }
.has-cursor.cursor--hidden .cursor-ring,
.has-cursor.cursor--hidden .cursor { opacity: 0; }
.has-cursor body,
.has-cursor a,
.has-cursor button,
.has-cursor summary,
.has-cursor [data-cursor] { cursor: none; }
.has-cursor input,
.has-cursor textarea,
.has-cursor select { cursor: auto; }

/* ---------- 3. Reactive dot canvas --------------------------------------- */
[data-dots-region] { position: relative; }
.dot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero .dot-canvas { mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 100%); }
.hero .hero__aura { z-index: 0; }
.hero .hero-layout { position: relative; z-index: 1; }
.guarantee .dot-canvas { z-index: 0; opacity: 0.9; }
.guarantee > .dot-canvas { position: absolute; }
/* Older CSS from the first Swiss pass muted this permanently; re-enable a slow breathe */
.hero__aura { animation: auraBreathe 14s ease-in-out infinite !important; }

/* ---------- 4. Hero additions -------------------------------------------- */
.preview-composition { transform-style: preserve-3d; perspective: 1400px; }
.preview-composition .preview-browser {
  transform: rotate(-1.5deg) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform 0.9s var(--ease-reveal);
  will-change: transform;
}
.js .preview-composition { opacity: 0; animation: heroPanelIn 1.2s var(--ease-reveal) 0.55s forwards; }
.preview-caption { transform: translateZ(40px); }
.preview-orbit {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  color: var(--ink);
  z-index: 3;
  opacity: 0;
  animation: heroIn 1s var(--ease-reveal) forwards;
}
.preview-orbit .eyebrow { font-size: 0.56rem; }
.preview-orbit b { font-weight: 500; }
.preview-orbit--a { top: 26px; left: -34px; animation-delay: 1.2s; }
.preview-orbit--b { top: 46%; right: -24px; animation-delay: 1.45s; }
.js .preview-orbit--a { animation: heroIn 1s var(--ease-reveal) 1.2s forwards, floatA 9s ease-in-out 2.2s infinite; }
.js .preview-orbit--b { animation: heroIn 1s var(--ease-reveal) 1.45s forwards, floatB 11s ease-in-out 2.5s infinite; }
@keyframes floatA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes floatB { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
.site-demo { position: relative; }
.demo-cursor {
  position: absolute;
  left: 18%;
  top: 30%;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  opacity: 0;
}
.js .demo-cursor { animation: demoCursor 9s cubic-bezier(0.45, 0, 0.2, 1) 2.4s infinite; }
@keyframes demoCursor {
  0% { opacity: 0; left: 18%; top: 30%; }
  6% { opacity: 1; }
  24% { left: 36%; top: 62%; }
  30% { left: 36%; top: 62%; transform: scale(0.85); }
  34% { transform: scale(1); }
  50% { left: 62%; top: 84%; }
  64% { left: 78%; top: 40%; }
  78% { left: 40%; top: 45%; opacity: 1; }
  88%, 100% { opacity: 0; left: 40%; top: 45%; }
}
.js .demo-button { position: relative; }
.js .demo-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.35);
  opacity: 0;
  animation: demoPress 9s linear 2.4s infinite;
}
@keyframes demoPress { 0%, 29%, 35%, 100% { opacity: 0; } 31% { opacity: 1; } }

/* ---------- 5. Split text ------------------------------------------------ */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js [data-split] .w > span {
  display: inline-block;
  transform: translateY(110%) rotate(2deg);
  transform-origin: left bottom;
  transition: transform 1.1s var(--ease-reveal);
  transition-delay: calc(var(--i, 0) * 45ms);
  will-change: transform;
}
.js [data-split].is-in .w > span { transform: none; }
.js [data-split="lines"] .w > span { transition-delay: calc(var(--l, 0) * 140ms); }

/* ---------- 6. Magnetic + spotlight -------------------------------------- */
[data-magnetic] { will-change: transform; }
[data-magnetic] > * { display: inline-block; }
.card--spot { position: relative; overflow: hidden; }
.card--spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 110, 79, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-ui);
  pointer-events: none;
}
.card--spot:hover::before { opacity: 1; }
.card--spot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(11, 110, 79, 0.55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease-ui);
  pointer-events: none;
}
.card--spot:hover::after { opacity: 1; }
.card--spot > * { position: relative; z-index: 1; }
.card__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--body-dim);
}
.card__glyph {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-top: 6px;
  transition: transform 0.6s var(--ease-reveal);
}
.card--spot:hover .card__glyph { transform: translateY(-3px) rotate(-4deg); }
.grid .card--spot h3 { margin-top: 4px; }

/* ---------- 7. Section head variants ------------------------------------- */
.sec-head { max-width: 900px; }
.sec-head--split {
  max-width: none;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.sec-head--split > div { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.sec-head__aside { max-width: 34ch; color: var(--body-mid); padding-bottom: 6px; }

/* ---------- 8. Ticker ---------------------------------------------------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--hairline);
  padding-block: 18px;
  display: grid;
  gap: 10px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  animation: marqueeSlide 48s linear infinite;
}
.ticker__track--reverse { animation-direction: reverse; font-size: clamp(0.9rem, 1.4vw, 1.05rem); font-family: var(--font-body); color: var(--body-mid); animation-duration: 60s; }
.ticker__track span { white-space: nowrap; }
.ticker__track em { color: var(--accent); }
.ticker__track i { color: var(--gold); font-style: normal; font-size: 0.7em; }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- 9. Comparison ------------------------------------------------ */
.compare {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--canvas-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare__head,
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  gap: 20px;
  align-items: center;
  padding: 20px 28px;
}
.compare__head {
  background: var(--canvas-soft);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body-mid);
}
.compare__col--us { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-deep); }
.compare__row { border-bottom: 1px solid var(--hairline); font-size: 0.95rem; transition: background 0.4s var(--ease-ui); }
.compare__row:last-child { border-bottom: 0; }
.compare__row:hover { background: rgba(11, 110, 79, 0.035); }
.compare__row > span:first-child { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.compare__row > span:nth-child(2) { color: var(--body-mid); position: relative; padding-left: 22px; }
.compare__row > span:nth-child(2)::before { content: "—"; position: absolute; left: 0; color: var(--body-dim); }
.compare__row > span:nth-child(3) { position: relative; padding-left: 26px; }
.compare__row > span:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23000'/%3E%3Cpath d='M4 7.2l2 2 4-4.4' stroke='%23fff' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23000'/%3E%3Cpath d='M4 7.2l2 2 4-4.4' stroke='%23fff' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  background: var(--accent);
}
.compare__row b { font-weight: 500; color: var(--ink); }
.js .compare .compare__row { opacity: 0; transform: translateX(-10px); transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal); }
.js .compare.is-in .compare__row { opacity: 1; transform: none; }
.js .compare.is-in .compare__row:nth-child(2) { transition-delay: 80ms; }
.js .compare.is-in .compare__row:nth-child(3) { transition-delay: 160ms; }
.js .compare.is-in .compare__row:nth-child(4) { transition-delay: 240ms; }
.js .compare.is-in .compare__row:nth-child(5) { transition-delay: 320ms; }
.js .compare.is-in .compare__row:nth-child(6) { transition-delay: 400ms; }
.js .compare.is-in .compare__row:nth-child(7) { transition-delay: 480ms; }

/* ---------- 10. Sticky method ------------------------------------------- */
.method { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.method__pin { position: sticky; top: 130px; }
.method__counter { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); color: var(--ink); }
.method__big { font-size: clamp(5rem, 11vw, 9.5rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--accent-deep); display: inline-block; min-width: 2ch; }
.method__of { font-size: 1.3rem; color: var(--body-dim); }
.method__bar { position: relative; height: 2px; background: var(--hairline); margin: 26px 0; max-width: 260px; overflow: hidden; }
.method__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0.25); transform-origin: left; transition: transform 0.8s var(--ease-reveal); }
.method__note { max-width: 30ch; color: var(--body-mid); }
.method__steps { display: grid; gap: 0; }
.method__step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--hairline);
  opacity: 0.35;
  transition: opacity 0.6s var(--ease-ui), transform 0.8s var(--ease-reveal);
  transform: translateY(14px);
}
.method__step.is-active,
.method__step.is-past { opacity: 1; transform: none; }
.method__step.is-past { opacity: 0.55; }
.method__step h3 { max-width: 16ch; }
.method__step p { max-width: 52ch; }
.method__meta { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.method__big.is-flip { animation: numFlip 0.55s var(--ease-reveal); }
@keyframes numFlip { 0% { opacity: 0; transform: translateY(0.35em); } 100% { opacity: 1; transform: none; } }

/* ---------- 11. Included ------------------------------------------------- */
.included { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.included__copy { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 130px; }
.included__copy .btn { align-self: flex-start; margin-top: 8px; }
.included__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.included__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 26px 52px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.4s var(--ease-ui);
}
.included__list li:hover { background: rgba(11, 110, 79, 0.04); }
.included__list li i {
  position: absolute;
  left: 22px;
  top: 30px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--accent);
}
.included__list li i::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.js .stagger.is-in .included__list li i::after,
.js .included__list.is-in li i::after { transform: scale(1); }
.js .included__list.is-in li:nth-child(1) i::after { transition-delay: 0.2s; }
.js .included__list.is-in li:nth-child(2) i::after { transition-delay: 0.3s; }
.js .included__list.is-in li:nth-child(3) i::after { transition-delay: 0.4s; }
.js .included__list.is-in li:nth-child(4) i::after { transition-delay: 0.5s; }
.js .included__list.is-in li:nth-child(5) i::after { transition-delay: 0.6s; }
.js .included__list.is-in li:nth-child(6) i::after { transition-delay: 0.7s; }
.js .included__list.is-in li:nth-child(7) i::after { transition-delay: 0.8s; }
.js .included__list.is-in li:nth-child(8) i::after { transition-delay: 0.9s; }
.included__list b { color: var(--ink); font-weight: 500; }
.included__list span { font-size: 0.88rem; color: var(--body-mid); }

/* ---------- 12. Studio ---------------------------------------------------- */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.studio__copy { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 130px; }
.studio__tenets { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.tenet {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 8px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.5s var(--ease-ui);
}
.tenet:hover { padding-left: 8px; }
.tenet__n {
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.tenet b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.01em; }
.tenet p { color: var(--body-mid); font-size: 0.95rem; max-width: 46ch; }

/* ---------- 13. Sectors / FAQ ------------------------------------------- */
.sector-links a { position: relative; overflow: hidden; }
.sector-links a > span:first-child { display: inline-flex; align-items: baseline; gap: 22px; }
.sector-links a small { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; color: var(--body-dim); }
.sector-links a > span:last-child { transition: transform 0.5s var(--ease-reveal), color 0.3s; }
.sector-links a:hover > span:last-child { transform: translate(6px, -6px); color: var(--gold); }
.sector-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-reveal);
}
.sector-links a:hover::after { transform: scaleX(1); }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-layout .sec-head { position: sticky; top: 130px; margin-bottom: 0; }
.faq-aside { color: var(--body-mid); max-width: 36ch; }
.faq-detail summary span { transition: transform 0.5s var(--ease-reveal); display: inline-block; }
.faq-detail > p { animation: faqIn 0.6s var(--ease-reveal); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- 14. Dark CTA ------------------------------------------------- */
.cta-band {
  background: linear-gradient(155deg, var(--panel-soft), var(--panel) 60%);
  color: var(--panel-body);
  border-top: 0;
  isolation: isolate;
}
.cta-band .dot-canvas { z-index: 0; }
.cta-band__inner { z-index: 1; }
.cta-band h2 { color: var(--panel-ink); }
.cta-band h2 em { color: var(--gold-soft); }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-band .t-body-lg { color: var(--panel-body); }
.guarantee .btn--gold { box-shadow: 0 18px 40px -18px rgba(201, 162, 39, 0.6); }

/* ---------- 15. Header polish ------------------------------------------- */
.nav__link { position: relative; }
.nav__link::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-reveal);
}
.nav__link:hover::before { transform: scaleX(1); transform-origin: left; }

/* ---------- 16. Responsive ---------------------------------------------- */
@media (max-width: 1040px) {
  .method { grid-template-columns: 0.7fr 1.3fr; gap: 40px; }
  .included, .studio, .faq-layout { gap: 44px; }
}
@media (max-width: 900px) {
  .sec-head { max-width: 900px; }
.sec-head--split { flex-direction: column; align-items: flex-start; }
  .method { grid-template-columns: 1fr; gap: 10px; }
  .method__pin { position: relative; top: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; }
  .method__big { font-size: 4rem; }
  .method__bar { margin: 0; max-width: none; grid-column: 2; }
  .method__note { grid-column: 1 / -1; margin-top: 14px; }
  .method__step { opacity: 1; transform: none; }
  .included, .studio, .faq-layout { grid-template-columns: 1fr; }
  .included__copy, .studio__copy, .faq-layout .sec-head { position: static; }
  .faq-layout .sec-head { margin-bottom: 28px; }
  .included__list { grid-template-columns: 1fr; }
  .compare__head { display: none; }
  .compare__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 22px; }
  .compare__row > span:nth-child(2) { font-size: 0.86rem; }
  .preview-orbit--a { left: -6px; top: -18px; }
  .preview-orbit--b { right: -6px; }
}
@media (max-width: 720px) {
  .ticker { padding-block: 14px; gap: 8px; }
  .preview-orbit { display: none; }
  .tenet { grid-template-columns: 40px 1fr; padding: 24px 0; }
  .tenet__n { font-size: 1.6rem; }
  .method__step { padding: 30px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js.is-loading .loader, .js.is-leaving .loader { display: none; }
  .js.is-loading { overflow: auto; }
  .js [data-split] .w > span { transform: none !important; transition: none !important; }
  .ticker__track { animation: none !important; }
  .preview-orbit, .demo-cursor, .demo-button::after { animation: none !important; opacity: 1; }
  .demo-cursor { display: none; }
  .js .preview-composition { opacity: 1; animation: none; }
  .js .compare .compare__row, .method__step { opacity: 1 !important; transform: none !important; }
  .js .included__list li i::after { transform: scale(1); }
  .preview-composition .preview-browser { transition: none; }
}

/* ==========================================================================
   Layer 2 — real previews, scroll-expansion showcase, liquid buttons,
   scroll rail, extra mobile motion
   ========================================================================== */

/* ---------- 17. Portfolio cards with real screenshots -------------------- */
.project-shot {
  position: relative;
  background: var(--panel);
  overflow: hidden;
}
.project-shot__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--panel-line);
}
.project-shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--panel-dim); }
.project-shot__bar span {
  margin-left: 8px;
  flex: 1;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  color: var(--panel-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.project-shot img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top;
  display: block;
  transform: scale(1.001);
  transition: transform 1.2s var(--ease-reveal);
}
.wcard:hover .project-shot img { transform: scale(1.04); }
.project-shot__num { display: none; }
.project-shot__badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: rgba(13, 21, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--panel-ink);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.project-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 21, 18, 0.35));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.wcard:hover .project-shot::after { opacity: 1; }
.wcard { transition: transform 0.6s var(--ease-reveal), box-shadow 0.6s var(--ease-ui); }
.wcard:hover { box-shadow: var(--shadow-lg); }

/* ---------- 18. Scroll-expansion showcase --------------------------------
   The section is tall; its inner block is sticky for one viewport. As the
   visitor scrolls through, JS writes --p (0 → 1) and the screenshot frame
   grows from a small card to the full container while the two words part.
   Native scroll only — nothing is hijacked, so it works on every device. */
.showcase { position: relative; height: 240vh; --p: 0; }
.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.showcase__dots { opacity: calc(1 - var(--p) * 1.4); }
.showcase__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 36px);
  width: 100%;
}
.showcase__word {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.5vw, 7rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  opacity: calc(1 - var(--p) * 1.3);
  pointer-events: none;
}
.showcase__word em { color: var(--accent); font-style: italic; }
.showcase__word--l { transform: translateX(calc(var(--p) * -18vw)); }
.showcase__word--r { transform: translateX(calc(var(--p) * 18vw)); }
.showcase__media {
  position: relative;
  z-index: 1;
  --maxw: min(1200px, calc(100vw - 48px), calc((100vh - 205px) * 1.44));
  --maxw: min(1200px, calc(100vw - 48px), calc((100dvh - 205px) * 1.44));
  width: calc(300px + var(--p) * (var(--maxw) - 300px));
  border-radius: calc(22px - var(--p) * 6px);
  background: var(--panel);
  box-shadow: 0 calc(30px + var(--p) * 30px) calc(70px + var(--p) * 60px) calc(-30px - var(--p) * 10px) rgba(7, 40, 29, 0.6);
  overflow: hidden;
  transform: rotateX(calc((1 - var(--p)) * 6deg));
  transform-origin: center bottom;
  will-change: width, transform;
}
.showcase__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: var(--panel-soft);
  border-bottom: 1px solid var(--panel-line);
  font-family: var(--font-mono);
  color: var(--panel-body);
}
.showcase__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--panel-dim); }
.showcase__bar span {
  margin-left: 10px;
  flex: 1;
  padding: 4px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.showcase__live { display: inline-flex; align-items: center; gap: 7px; font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-bright); font-weight: 500; opacity: calc(var(--p) * 2 - 0.8); }
.showcase__live .pip { width: 14px; height: 14px; background: rgba(28, 186, 136, 0.18); }
.showcase__live .pip::after { width: 5px; height: 5px; background: var(--accent-bright); animation: livePulse 2s ease-in-out infinite; }
.showcase__screen { position: relative; aspect-ratio: 1440 / 1000; background: var(--panel-card); }
.showcase__track {
  display: flex;
  height: 100%;
  transform: translateX(calc(var(--i, 0) * -100%));
  transition: transform 0.9s var(--ease-reveal);
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}
.showcase__track.is-dragging { transition: none; cursor: grabbing; }
.showcase__screen img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  user-select: none;
  -webkit-user-drag: none;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-reveal);
}
.showcase__screen img.is-on { transform: none; }
.showcase__drag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(13, 21, 18, 0.7);
  color: var(--panel-ink);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.showcase.is-expanded .showcase__drag { opacity: 0.85; }
.showcase__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 21, 18, calc(0.5 - var(--p) * 0.5));
  pointer-events: none;
}
.showcase.is-expanded .showcase__screen::after { display: none; }
.showcase__hint {
  position: absolute;
  bottom: clamp(26px, 6vh, 54px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--body-mid);
  white-space: nowrap;
  opacity: calc(1 - var(--p) * 3);
  pointer-events: none;
}
.showcase__hint-l { transform: translateX(calc(var(--p) * -30vw)); }
.showcase__hint-r { transform: translateX(calc(var(--p) * 30vw)); }
.showcase__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 4vh, 40px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-inline: max(24px, calc((100vw - 1200px) / 2));
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-ui), transform 0.8s var(--ease-reveal);
  pointer-events: none;
}
.showcase.is-expanded .showcase__meta { opacity: 1; transform: none; pointer-events: auto; }
.showcase.is-expanded .showcase__media { box-shadow: 0 60px 120px -40px rgba(7, 40, 29, 0.6); }
.showcase__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.showcase__tabs button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 9px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: rgba(253, 252, 249, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-ui);
  position: relative;
  overflow: hidden;
}
.showcase__tabs button b { font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.showcase__tabs button span { font-size: 0.68rem; color: var(--body-mid); }
.showcase__tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.showcase__tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--canvas-card); }
.showcase__tabs button[aria-selected="true"]::after { animation: tabFill var(--cycle, 4200ms) linear forwards; }
@keyframes tabFill { to { transform: scaleX(1); } }
.showcase__tabs button:hover { transform: translateY(-2px); border-color: var(--hairline-strong); }
.showcase__cta { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }

/* Where the section ends, the media should already look "landed" */
.showcase + .section { padding-top: clamp(60px, 7vw, 100px); }

/* ---------- 19. Liquid-glass buttons ------------------------------------- */
.btn {
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s var(--ease-ui), box-shadow 0.45s var(--ease-ui),
    background 0.3s var(--ease-ui), color 0.3s var(--ease-ui), border-color 0.3s var(--ease-ui), filter 0.3s var(--ease-ui);
}
.btn > * { position: relative; z-index: 2; }
/* glass rim: layered inset highlights + a faint outer halo, drawn on a pseudo so the fill stays flat */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
  box-shadow:
    inset 1px 1px 0.5px -0.5px rgba(255, 255, 255, 0.55),
    inset -1px -1px 0.5px -0.5px rgba(255, 255, 255, 0.35),
    inset 0 0 6px 4px rgba(255, 255, 255, 0.06),
    inset 3px 3px 0.5px -3px rgba(0, 0, 0, 0.35),
    inset -3px -3px 0.5px -3px rgba(0, 0, 0, 0.25);
  opacity: 0.9;
  transition: opacity 0.3s;
}
.btn--ghost,
.btn--onpanel {
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(20, 17, 14, 0.12);
  box-shadow:
    0 0 6px rgba(20, 17, 14, 0.03),
    0 2px 6px rgba(20, 17, 14, 0.08),
    inset 3px 3px 0.5px -3px rgba(20, 17, 14, 0.7),
    inset -3px -3px 0.5px -3px rgba(20, 17, 14, 0.6),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.9),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.7),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.14),
    0 0 12px rgba(255, 255, 255, 0.25);
}
.btn--ghost::before,
.btn--onpanel::before { opacity: 0; }
.btn--ghost:hover { transform: translateY(-2px) scale(1.03); border-color: rgba(20, 17, 14, 0.2); background: rgba(255, 255, 255, 0.45); }
.btn--onpanel {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.25),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.12),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.7),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.5),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.08);
}
.btn--onpanel:hover { transform: translateY(-2px) scale(1.03); background: rgba(255, 255, 255, 0.14); }
/* liquid distortion under the glass (Chromium honours url() backdrop filters; others just get the blur) */
.btn--ghost::after,
.btn--onpanel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  backdrop-filter: url("#ndl-liquid");
  -webkit-backdrop-filter: url("#ndl-liquid");
  pointer-events: none;
  opacity: 0.85;
}
/* specular sweep on every filled button */
.btn--primary,
.btn--gold { background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 55%); box-shadow: 0 14px 30px -16px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.18); }
.btn--gold { box-shadow: 0 14px 30px -16px rgba(201, 162, 39, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.14); }
.btn--primary:hover,
.btn--gold:hover { filter: brightness(1.08); transform: translateY(-2px) scale(1.03); }
.btn--primary::after { z-index: 1; }
.btn:active { transform: translateY(1px) scale(0.985) !important; transition-duration: 0.1s; filter: brightness(0.94); }

/* ---------- 20. Scroll rail --------------------------------------------- */
.rail {
  position: fixed;
  top: 50%;
  right: 22px;
  height: min(48vh, 420px);
  transform: translateY(-50%);
  z-index: 115;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s var(--ease-ui);
}
.rail.is-on { opacity: 1; }
.rail__track { position: relative; width: 1px; height: 100%; background: var(--hairline-strong); }
.rail__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--gold));
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}
.rail__bead {
  position: absolute;
  left: 50%;
  top: calc(var(--progress, 0) * 100%);
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
  transition: transform 0.3s var(--ease-ui);
}
.rail.is-moving .rail__bead { transform: scale(1.6); }
.rail__label {
  position: absolute;
  right: 18px;
  top: calc(var(--progress, 0) * 100%);
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--body-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rail__label b { color: var(--accent-deep); font-weight: 500; }
.rail__label i { display: block; width: 14px; height: 1px; background: var(--hairline-strong); }
.rail__pct { position: absolute; top: calc(100% + 12px); font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.14em; color: var(--body-dim); }
.rail__label span { display: inline-block; animation: railLabelIn 0.5s var(--ease-reveal); }
@keyframes railLabelIn { from { opacity: 0; transform: translateY(6px); } }
.rail--dark .rail__label, .rail--dark .rail__pct { color: var(--panel-body); }
.rail--dark .rail__label b { color: var(--gold-soft); }
.rail--dark .rail__track { background: var(--panel-line-strong); }

/* ---------- 21. Extra mobile motion -------------------------------------- */
.ticker { --skew: 0deg; }
.ticker__track { transform: skewX(var(--skew)); transition: transform 0.4s var(--ease-ui); }
.card, .tenet, .included__list li, .faq-detail summary, .wcard { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  .card:active, .wcard:active, .showcase__tabs button:active { transform: scale(0.985); transition-duration: 0.12s; }
  .sector-links a { transition: padding-left 0.4s var(--ease-ui); }
  .sector-links a:active { padding-left: 8px; }
  .js .sector-links.is-in a::after { transform: scaleX(1); transition-delay: calc(var(--i, 0) * 120ms); }
  .tenet:active { padding-left: 8px; }
}
[data-parallax] { will-change: transform; }

/* ---------- 22. Responsive / reduced motion ------------------------------ */
@media (max-width: 900px) {
  .showcase { height: 210vh; }
  .showcase__media { --maxw: min(calc(100vw - 32px), calc((100dvh - 300px) * 1.44)); width: calc(240px + var(--p) * (var(--maxw) - 240px)); }
  .showcase__sticky { padding: 80px 0 150px; }
  .showcase__meta { flex-direction: column; align-items: stretch; gap: 12px; bottom: 14px; padding-inline: 16px; }
  .showcase__tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; padding-bottom: 2px; }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .showcase__tabs button { flex-shrink: 0; padding: 7px 11px; }
  .showcase__tabs button span { display: none; }
  .showcase__cta { justify-content: space-between; }
  .showcase__cta .tlink { display: none; }
  .showcase__row { flex-direction: column; gap: 18px; }
  .showcase__word { font-size: clamp(2.6rem, 12vw, 5rem); }
  .showcase__word--l { transform: translateY(calc(var(--p) * -22vh)); }
  .showcase__word--r { transform: translateY(calc(var(--p) * 22vh)); }
  .showcase__live { display: none; }
  .rail { right: 8px; height: 34vh; }
  .rail__label, .rail__pct { display: none; }
  .rail__bead { width: 6px; height: 6px; margin: -3px 0 0 -3px; }
}
@media (max-width: 720px) {
  .showcase + .section { padding-top: 56px; }
  .showcase__meta { bottom: 148px; }
  .showcase__sticky { padding-bottom: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase { height: auto; }
  .showcase__sticky { position: relative; height: auto; padding: 80px 0 40px; }
  .showcase { --p: 1 !important; }
  .showcase__word, .showcase__hint { display: none; }
  .showcase__meta { position: static; opacity: 1; transform: none; pointer-events: auto; margin-top: 24px; }
  .showcase__media { transform: none; transition: none; }
  .showcase__tabs button[aria-selected="true"]::after { animation: none; transform: scaleX(1); }
  .rail__bead { transition: none; }
  .btn--ghost::after, .btn--onpanel::after { display: none; }
}

/* position: sticky needs no scroll container between it and the viewport;
   overflow-x: hidden on body created one, clip does not. */
html, body { overflow-x: clip; }

/* ---------- 23. Icon arrows (replace the old text glyphs) ---------------- */
.ico { width: 1em; height: 1em; flex-shrink: 0; display: inline-block; vertical-align: -0.12em; transition: transform 0.45s var(--ease-reveal); }
.btn .ico { width: 15px; height: 15px; margin-left: 2px; }
.btn:hover .ico { transform: translate(2px, -2px); }
.btn:hover .ico--down { transform: translateY(3px); }
.tlink:hover .arw { transform: translateX(4px); }
.hero-work-link .ico { margin-left: 4px; }
.hero-work-link:hover .ico { transform: translateY(3px); }
.rbtn .ico { width: 16px; height: 16px; }
.rbtn:hover .ico { transform: translateX(2px); }
.rbtn[data-work-prev]:hover .ico { transform: translateX(-2px); }
.preview-arrow { width: 26px; height: 26px; color: var(--accent); margin-left: 12px; }
.sector-links a > span:last-child .ico { width: 22px; height: 22px; }
.mobile-contact .ico { width: 14px; height: 14px; }
.demo-button .ico { width: 10px; height: 10px; vertical-align: -1px; }
.contact-direct b .ico { width: 14px; height: 14px; }

/* ---------- 24. Hero demo: interactive 4-step screen --------------------- */
.site-demo { padding: 22px 26px 24px; }
.demo-nav { padding-bottom: 18px; }
.demo-progress { display: inline-flex; gap: 5px; }
.demo-progress i { width: 18px; height: 3px; border-radius: 2px; background: var(--canvas-mid); transition: background 0.4s, width 0.4s var(--ease-ui); }
.demo-progress i.is-on { background: var(--accent); width: 28px; }
.demo-stage { position: relative; min-height: 236px; }
.demo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.5s var(--ease-ui), transform 0.7s var(--ease-reveal);
  pointer-events: none;
}
.demo-slide.is-on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.demo-slide.is-out { transform: translateX(-18px); }
.demo-slide .eyebrow { font-size: 0.55rem; }
.demo-slide .demo-title { margin: 12px 0 10px; font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.demo-slide > p { font-size: 0.74rem; max-width: 34ch; line-height: 1.55; }
.demo-visual { position: relative; margin-top: 14px; min-height: 64px; }
.js .demo-button { cursor: pointer; border: 0; font: inherit; font-size: 0.64rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; transition: transform 0.3s var(--ease-ui), background 0.3s; }
.js .demo-button::after { display: none; }
.demo-button.is-pressed { transform: scale(0.94); background: var(--accent-deep); }
.demo-button:hover { background: var(--accent-soft); }
.demo-tiles { margin-top: 20px; gap: 8px; }
.demo-tiles button {
  padding: 12px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--canvas-soft);
  font: inherit;
  font-size: 0.6rem;
  line-height: 1.3;
  color: var(--body);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-ui), color 0.3s;
}
.demo-tiles button span { display: block; color: var(--accent); margin-bottom: 6px; font-family: var(--font-mono); font-size: 0.58rem; }
.demo-tiles button:hover { transform: translateY(-2px); background: var(--canvas-mid); }
.demo-tiles button[aria-selected="true"] { background: var(--accent-wash-strong); border-color: var(--accent); color: var(--ink); }
.demo-tiles button.is-pressed { transform: scale(0.95); }
.demo-cursor { left: 0; top: 0; opacity: 0; transition: left 0.9s cubic-bezier(0.45, 0, 0.2, 1), top 0.9s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.4s, transform 0.15s; }
.js .demo-cursor { animation: none; }
.demo-cursor.is-visible { opacity: 1; }
.demo-cursor.is-pressed { transform: scale(0.8); }
@media (pointer: coarse) { .demo-cursor { display: none; } }

/* step visuals */
.dv-bub {
  display: block;
  width: fit-content;
  max-width: 78%;
  padding: 7px 10px;
  border-radius: 11px;
  font-size: 0.62rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
  margin-top: 5px;
}
.dv-bub--in { background: var(--canvas-soft); color: var(--body); border-bottom-left-radius: 3px; }
.dv-bub--out { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 3px; }
.demo-slide.is-on .dv-bub { animation: dvIn 0.5s var(--ease-reveal) forwards; }
.demo-slide.is-on .dv-bub:nth-child(1) { animation-delay: 0.35s; }
.demo-slide.is-on .dv-bub:nth-child(2) { animation-delay: 1.1s; }
.demo-slide.is-on .dv-bub:nth-child(3) { animation-delay: 1.9s; }
@keyframes dvIn { to { opacity: 1; transform: none; } }

.demo-visual--wire { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px; border: 1px dashed var(--hairline-strong); border-radius: 9px; }
.dv-w { display: block; height: 10px; border-radius: 3px; background: var(--canvas-mid); opacity: 0; transform: scaleX(0.4); transform-origin: left; }
.dv-w--nav { grid-column: 1 / -1; height: 6px; width: 40%; }
.dv-w--hero { grid-column: 1 / -1; height: 26px; background: var(--accent-wash-strong); }
.dv-w--a, .dv-w--b, .dv-w--c { height: 18px; }
.demo-slide.is-on .dv-w { animation: dvGrow 0.6s var(--ease-reveal) forwards; }
.demo-slide.is-on .dv-w--nav { animation-delay: 0.3s; }
.demo-slide.is-on .dv-w--hero { animation-delay: 0.55s; }
.demo-slide.is-on .dv-w--a { animation-delay: 0.85s; }
.demo-slide.is-on .dv-w--b { animation-delay: 1s; }
.demo-slide.is-on .dv-w--c { animation-delay: 1.15s; }
@keyframes dvGrow { to { opacity: 1; transform: none; } }
.dv-tag { position: absolute; right: -6px; top: -10px; padding: 4px 8px; border-radius: 6px; background: var(--gold); color: #241c00; font-size: 0.55rem; font-weight: 500; opacity: 0; transform: scale(0.8); }
.demo-slide.is-on .dv-tag { animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards; }

.dv-days { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.55rem; color: var(--body-dim); margin-bottom: 6px; }
.dv-days i { font-style: normal; opacity: 0.4; }
.demo-slide.is-on .dv-days i { animation: dvLit 0.3s forwards; }
.demo-slide.is-on .dv-days i:nth-child(1) { animation-delay: 0.4s; } .demo-slide.is-on .dv-days i:nth-child(2) { animation-delay: 0.7s; } .demo-slide.is-on .dv-days i:nth-child(3) { animation-delay: 1s; } .demo-slide.is-on .dv-days i:nth-child(4) { animation-delay: 1.3s; } .demo-slide.is-on .dv-days i:nth-child(5) { animation-delay: 1.6s; } .demo-slide.is-on .dv-days i:nth-child(6) { animation-delay: 1.9s; } .demo-slide.is-on .dv-days i:nth-child(7) { animation-delay: 2.2s; }
@keyframes dvLit { to { opacity: 1; color: var(--accent-deep); } }
.dv-bar { display: block; height: 6px; border-radius: 3px; background: var(--canvas-mid); overflow: hidden; }
.dv-bar b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); }
.demo-slide.is-on .dv-bar b { animation: dvFill 2.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards; }
@keyframes dvFill { to { width: 100%; } }
.dv-done { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 4px 9px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 0.58rem; opacity: 0; transform: scale(0.8); }
.demo-slide.is-on .dv-done { animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.6s forwards; }

.dv-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-bottom: 10px; }
.dv-months i { display: block; height: 8px; border-radius: 2px; background: var(--canvas-mid); }
.demo-slide.is-on .dv-months i { animation: dvMonth 0.3s forwards; }
.demo-slide.is-on .dv-months i:nth-child(n) { animation-delay: calc(0.3s + var(--k, 0) * 0.09s); }
.dv-months i:nth-child(1) { --k: 0; } .dv-months i:nth-child(2) { --k: 1; } .dv-months i:nth-child(3) { --k: 2; } .dv-months i:nth-child(4) { --k: 3; } .dv-months i:nth-child(5) { --k: 4; } .dv-months i:nth-child(6) { --k: 5; } .dv-months i:nth-child(7) { --k: 6; } .dv-months i:nth-child(8) { --k: 7; } .dv-months i:nth-child(9) { --k: 8; } .dv-months i:nth-child(10) { --k: 9; } .dv-months i:nth-child(11) { --k: 10; } .dv-months i:nth-child(12) { --k: 11; }
@keyframes dvMonth { to { background: var(--accent); } }
.demo-visual--months .dv-bub:nth-child(2) { animation-delay: 1.5s !important; }
.demo-visual--months .dv-bub:nth-child(3) { animation-delay: 2.3s !important; }

@media (max-width: 380px) { .demo-tiles { grid-template-columns: repeat(2, 1fr); } .demo-stage { min-height: 250px; } }
@media (prefers-reduced-motion: reduce) {
  .demo-slide.is-on .dv-bub, .demo-slide.is-on .dv-w, .demo-slide.is-on .dv-tag, .demo-slide.is-on .dv-days i, .demo-slide.is-on .dv-done, .demo-slide.is-on .dv-months i { animation: none; opacity: 1; transform: none; }
  .demo-slide.is-on .dv-bar b { width: 100%; animation: none; }
  .demo-slide.is-on .dv-days i { color: var(--accent-deep); }
  .demo-slide.is-on .dv-months i { background: var(--accent); }
}

/* ---------- 25. Portfolio strip: continuous drift ------------------------ */
.work__viewport { scroll-snap-type: none; cursor: grab; scrollbar-width: none; padding-bottom: 6px; }
.work__viewport::-webkit-scrollbar { display: none; }
.work__viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.work__viewport.is-dragging .wcard { pointer-events: none; }
.wcard { scroll-snap-align: none; }
.work__controls { margin-top: 26px; }

/* ---------- 26. Method scenes (one animated vignette per step) ----------- */
.method__scenes { position: relative; margin-top: 30px; width: min(100%, 300px); aspect-ratio: 300 / 230; color: var(--accent-deep); }
.mscene { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease-ui), transform 0.7s var(--ease-reveal); pointer-events: none; }
.mscene.is-on { opacity: 1; transform: none; }
.mscene svg { width: 100%; height: auto; display: block; }
.ms-bub { position: absolute; max-width: 62%; padding: 8px 11px; border-radius: 12px; background: var(--canvas-card); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); font-size: 0.7rem; line-height: 1.4; color: var(--body); opacity: 0; transform: translateY(8px) scale(0.96); }
.ms-bub--a { left: 42%; top: 6%; border-bottom-left-radius: 3px; }
.ms-bub--b { right: 0; top: 40%; background: var(--accent); color: #fff; border-color: transparent; border-bottom-right-radius: 3px; }
.ms-bub--c { left: 34%; top: 68%; border-bottom-left-radius: 3px; }
.mscene.is-on .ms-bub { animation: dvIn 0.55s var(--ease-reveal) forwards; }
.mscene.is-on .ms-bub--a { animation-delay: 0.3s; }
.mscene.is-on .ms-bub--b { animation-delay: 1.2s; }
.mscene.is-on .ms-bub--c { animation-delay: 2.1s; }
.ms-phone { stroke-dasharray: 460; stroke-dashoffset: 460; }
.mscene.is-on .ms-phone { animation: draw 1.4s var(--ease-reveal) forwards; }
.ms-wave { opacity: 0; }
.mscene.is-on .ms-wave { animation: msWave 2.4s ease-in-out infinite; }
.mscene.is-on .ms-wave--2 { animation-delay: 0.25s; }
.mscene.is-on .ms-wave--3 { animation-delay: 0.5s; }
@keyframes msWave { 0%, 100% { opacity: 0; } 40% { opacity: 0.8; } }
.ms-browser { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 10px 10px 0 0; background: var(--panel); }
.ms-browser i { width: 7px; height: 7px; border-radius: 50%; background: var(--panel-dim); }
.ms-browser b { margin-left: 8px; font-family: var(--font-mono); font-weight: 400; font-size: 0.56rem; color: var(--panel-body); letter-spacing: 0.04em; }
.mscene--preview svg { background: var(--canvas-card); border: 1px solid var(--hairline); border-top: 0; border-radius: 0 0 10px 10px; }
.ms-draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.mscene.is-on .ms-draw { animation: draw 1.2s var(--ease-reveal) forwards; }
.mscene.is-on .ms-draw:nth-child(2) { animation-delay: 0.35s; }
.mscene.is-on .ms-draw:nth-child(3) { animation-delay: 0.75s; }
.mscene.is-on .ms-draw:nth-child(4) { animation-delay: 0.9s; }
.mscene.is-on .ms-draw:nth-child(5) { animation-delay: 1.05s; }
.ms-fill { opacity: 0; }
.mscene.is-on .ms-fill { animation: msFillIn 0.8s ease 1.4s forwards; }
@keyframes msFillIn { to { opacity: 0.1; } }
.ms-tag { position: absolute; right: -8px; bottom: -8px; padding: 7px 11px; border-radius: 8px; background: var(--gold); color: #241c00; font-size: 0.66rem; font-weight: 500; box-shadow: var(--shadow-md); opacity: 0; transform: scale(0.8); }
.mscene.is-on .ms-tag { animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.9s forwards; }
.ms-tag--live { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; }
.ms-code { display: grid; gap: 9px; padding: 18px 16px; border-radius: 12px; background: var(--panel); }
.ms-code i { display: block; height: 7px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent-bright), rgba(255, 255, 255, 0.25)); }
.mscene.is-on .ms-code i { animation: msType 0.6s var(--ease-reveal) forwards; animation-delay: calc(0.2s + var(--d, 0) * 0.22s); }
@keyframes msType { to { width: var(--w); } }
.ms-days { display: flex; gap: 5px; margin-top: 14px; }
.ms-days span { flex: 1; height: 30px; border-radius: 6px; background: var(--canvas-mid); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.56rem; color: var(--body-dim); }
.ms-days span i { font-style: normal; }
.mscene.is-on .ms-days span { animation: msDay 0.35s forwards; }
.mscene.is-on .ms-days span:nth-child(1) { animation-delay: 1.6s; } .mscene.is-on .ms-days span:nth-child(2) { animation-delay: 1.85s; } .mscene.is-on .ms-days span:nth-child(3) { animation-delay: 2.1s; } .mscene.is-on .ms-days span:nth-child(4) { animation-delay: 2.35s; } .mscene.is-on .ms-days span:nth-child(5) { animation-delay: 2.6s; } .mscene.is-on .ms-days span:nth-child(6) { animation-delay: 2.85s; } .mscene.is-on .ms-days span:nth-child(7) { animation-delay: 3.1s; }
@keyframes msDay { to { background: var(--accent); color: #fff; } }
.mscene--build .ms-tag--live { animation-delay: 3.5s !important; }
.ms-months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 16px; border-radius: 12px; background: var(--canvas-card); border: 1px solid var(--hairline); }
.ms-months i { display: block; aspect-ratio: 1; border-radius: 6px; background: var(--canvas-mid); }
.mscene.is-on .ms-months i { animation: dvMonth 0.3s forwards; animation-delay: calc(0.2s + var(--k, 0) * 0.12s); }
.ms-months i:nth-child(1) { --k: 0; } .ms-months i:nth-child(2) { --k: 1; } .ms-months i:nth-child(3) { --k: 2; } .ms-months i:nth-child(4) { --k: 3; } .ms-months i:nth-child(5) { --k: 4; } .ms-months i:nth-child(6) { --k: 5; } .ms-months i:nth-child(7) { --k: 6; } .ms-months i:nth-child(8) { --k: 7; } .ms-months i:nth-child(9) { --k: 8; } .ms-months i:nth-child(10) { --k: 9; } .ms-months i:nth-child(11) { --k: 10; } .ms-months i:nth-child(12) { --k: 11; }
.mscene--care .ms-bub--a { left: 0; top: 66%; max-width: 58%; }
.mscene--care .ms-bub--b { right: 0; top: 84%; }
.mscene--care .ms-bub--a { animation-delay: 1.8s !important; }
.mscene--care .ms-bub--b { animation-delay: 2.6s !important; }
.ms-ring { position: absolute; right: -10px; top: -14px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--accent-deep); color: var(--gold-soft); box-shadow: var(--shadow-md); opacity: 0; transform: scale(0.7); }
.ms-ring b { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; line-height: 1; }
.ms-ring small { font-size: 0.5rem; color: var(--panel-body); letter-spacing: 0.04em; }
.mscene.is-on .ms-ring { animation: checkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards, sealGlow 4s ease-in-out 2s infinite; }
@media (max-width: 900px) {
  .method__scenes { grid-column: 1 / -1; width: min(100%, 320px); margin: 18px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mscene.is-on .ms-bub, .mscene.is-on .ms-tag, .mscene.is-on .ms-ring, .mscene.is-on .ms-fill { animation: none; opacity: 1; transform: none; }
  .mscene.is-on .ms-phone, .mscene.is-on .ms-draw { animation: none; stroke-dashoffset: 0; }
  .mscene.is-on .ms-code i { animation: none; width: var(--w); }
  .mscene.is-on .ms-days span { animation: none; background: var(--accent); color: #fff; }
  .mscene.is-on .ms-months i { animation: none; background: var(--accent); }
  .mscene.is-on .ms-wave { animation: none; opacity: 0.6; }
}

/* ---------- 27. Service pages ------------------------------------------- */
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 0.86rem; font-weight: 500; color: var(--accent); }
.card__more .ico { transition: transform 0.4s var(--ease-reveal); }
.card--spot:hover .card__more .ico { transform: translate(2px, -2px); }
.included__list--simple li { padding: 22px 24px 22px 52px; }
.included__list--simple li i { top: 26px; }
.site-footer .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1040px) { .site-footer .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .site-footer .footer__grid { grid-template-columns: 1fr; } }
.demo-tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 380px) { .demo-tiles { grid-template-columns: repeat(2, 1fr); } }
.ms-tag svg { width: 12px; height: 12px; flex-shrink: 0; }
.ms-tag--live { white-space: nowrap; }
.ms-ring b { font-size: 1.15rem; }

/* ---------- 28. Demo hint + inline method scenes on phones --------------- */
.demo-button { position: relative; }
.js [data-demo]:not(.is-touched) .demo-button::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: demoHint 2.2s ease-out 2s infinite;
  pointer-events: none;
}
@keyframes demoHint { 0% { opacity: 0.8; transform: scale(0.96); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
.demo-hint { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body-dim); }
[data-demo].is-touched .demo-hint { opacity: 0.6; }
.method--inline .method__scenes { display: none; }
.mscene--inline { position: relative; opacity: 1; transform: none; width: min(100%, 320px); aspect-ratio: 300 / 230; margin-top: 22px; pointer-events: none; }
.mscene--inline:not(.is-on) .ms-bub, .mscene--inline:not(.is-on) .ms-tag, .mscene--inline:not(.is-on) .ms-ring { opacity: 0; }
@media (max-width: 900px) {
  .method__step { opacity: 1; transform: none; }
  .method__step.is-past { opacity: 1; }
}

/* ==========================================================================
   29. Dark mode — same emerald / gold, ivory becomes deep green-black.
   Set by the toggle (data-theme) or, absent a choice, by the OS preference.
   ========================================================================== */
:root[data-theme="dark"] {
  --canvas: #0c1310;
  --canvas-soft: #101915;
  --canvas-card: #141e19;
  --canvas-mid: #1d2a24;
  --ink: #f4f2ec;
  --body: #b7c0ba;
  --body-mid: #8e9a93;
  --body-dim: #6c7871;
  --accent: #1fb383;
  --accent-soft: #2cc794;
  --accent-deep: #8fdcc0;
  --accent-glow: rgba(31, 179, 131, 0.45);
  --accent-wash: rgba(31, 179, 131, 0.1);
  --accent-wash-strong: rgba(31, 179, 131, 0.18);
  --gold-ink: #e0bf52;
  --gold-wash: rgba(224, 191, 82, 0.14);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -50px rgba(0, 0, 0, 0.8);
  --panel: #060a08;
  --panel-soft: #0b110e;
  --panel-card: #101713;
  color-scheme: dark;
}
:root[data-theme="dark"] body { background: var(--canvas); }
:root[data-theme="dark"] .nav { background: rgba(12, 19, 16, 0.72); border-color: var(--hairline); box-shadow: 0 4px 24px -12px rgba(0, 0, 0, 0.6); }
:root[data-theme="dark"] .site-header.is-scrolled .nav { background: rgba(12, 19, 16, 0.9); }
:root[data-theme="dark"] .drawer { background: var(--canvas); }
:root[data-theme="dark"] .hero__badge { background: rgba(255, 255, 255, 0.05); }
:root[data-theme="dark"] .preview-orbit,
:root[data-theme="dark"] .showcase__tabs button,
:root[data-theme="dark"] .chat__launch { background: rgba(20, 30, 25, 0.9); }
:root[data-theme="dark"] .btn--ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.35), inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.25), inset 0 0 6px 6px rgba(255, 255, 255, 0.05); }
:root[data-theme="dark"] .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); }
:root[data-theme="dark"] .btn--primary { --btn-fg: #06120d; }
:root[data-theme="dark"] .btn--primary:hover { background: var(--accent-soft); }
:root[data-theme="dark"] .card--spot::before { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(31, 179, 131, 0.14), transparent 55%); }
:root[data-theme="dark"] .compare__row:hover { background: rgba(31, 179, 131, 0.06); }
:root[data-theme="dark"] .included__list li:hover { background: rgba(31, 179, 131, 0.06); }
:root[data-theme="dark"] .mobile-contact { background: var(--canvas-card); }
:root[data-theme="dark"] .mobile-contact a { color: #06120d; }
:root[data-theme="dark"] .mobile-contact a + a { background: var(--accent-wash-strong); color: var(--accent-deep); }
:root[data-theme="dark"] .chat__msg--user { color: #06120d; }
:root[data-theme="dark"] .chat__chip--act { color: #06120d; }
:root[data-theme="dark"] .chat__send { color: #06120d; }
:root[data-theme="dark"] .demo-button { color: #06120d; }
:root[data-theme="dark"] .dv-bub--out, :root[data-theme="dark"] .ms-bub--b { color: #06120d; }
:root[data-theme="dark"] .ms-tag--live, :root[data-theme="dark"] .dv-done { color: #06120d; }
:root[data-theme="dark"] .project-shot__badge { background: rgba(6, 10, 8, 0.8); }
:root[data-theme="dark"] .loader { background: var(--canvas); }
:root[data-theme="dark"] .guarantee { background: linear-gradient(155deg, #0f1a15, #070c0a 60%); border: 1px solid var(--hairline); }
:root[data-theme="dark"] .cta-band { background: linear-gradient(155deg, #0f1a15, #070c0a 60%); border-top: 1px solid var(--hairline); }
:root[data-theme="dark"] .panel { border: 1px solid var(--hairline); }
:root[data-theme="dark"] .preview-caption { background: var(--canvas-card); }
:root[data-theme="dark"] ::selection { background: var(--gold); color: #241c00; }
:root[data-theme="dark"] .has-cursor .cursor-ring { border-color: rgba(224, 191, 82, 0.6); }
:root[data-theme="dark"] .has-cursor .cursor { background: var(--gold-soft); }
:root[data-theme="dark"] .showcase__word { color: var(--ink); }
:root[data-theme="dark"] .ticker__track { color: var(--ink); }
:root[data-theme="dark"] .rail__label b { color: var(--accent-deep); }
:root[data-theme="dark"] .field input, :root[data-theme="dark"] .field textarea, :root[data-theme="dark"] .field select { background: var(--canvas-soft); color: var(--ink); border-color: var(--hairline-strong); }
:root[data-theme="dark"] .site-footer { background: var(--canvas); }
:root[data-theme="dark"] img.project-shot__img { opacity: 0.94; }

/* Toggles */
.nav__tools { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__tools + .nav__phone { margin-left: 4px; }
.tog {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--body);
  font: inherit;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease-ui);
}
.tog:hover { background: var(--accent-wash); color: var(--ink); border-color: var(--hairline-strong); transform: translateY(-1px); }
.tog svg { width: 16px; height: 16px; }
.tog--theme .tog__moon { display: none; }
:root[data-theme="dark"] .tog--theme .tog__sun { display: none; }
:root[data-theme="dark"] .tog--theme .tog__moon { display: block; }
.drawer__tools { display: flex; gap: 10px; margin-top: 18px; }
.drawer__tools .tog { height: 42px; padding: 0 16px; }
@media (max-width: 1200px) { .nav__tools { display: none; } }

/* ---------- 30. Social links -------------------------------------------- */
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border: 1px solid var(--hairline); border-radius: var(--radius-pill); font-size: 0.82rem; color: var(--body); transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-ui), background 0.3s; }
.footer__social a:hover { color: var(--ink); border-color: var(--accent); background: var(--accent-wash); transform: translateY(-2px); }
.footer__social svg { color: var(--accent); }

/* ---------- 31. Swiss made ---------------------------------------------- */
.footer__swiss { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-size: 0.82rem; color: var(--ink); font-weight: 500; }
.footer__swiss svg { flex-shrink: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); border-radius: 4px; }

/* ---------- 32. Regions grid ------------------------------------------- */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.regions a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--canvas-card); color: var(--ink); transition: transform 0.5s var(--ease-reveal), border-color 0.3s, box-shadow 0.5s var(--ease-ui); }
.regions a:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.regions small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--accent); }
.regions b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -0.01em; }
.regions .ico { position: absolute; right: 20px; top: 22px; color: var(--body-dim); transition: transform 0.4s var(--ease-reveal), color 0.3s; }
.regions a:hover .ico { transform: translate(2px, -2px); color: var(--gold); }
.regions__all { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
.regions__all .ico { position: static; }
.region-card { text-decoration: none; }
.region-card .card__more { margin-top: 6px; }
@media (max-width: 720px) { .regions { grid-template-columns: 1fr 1fr; gap: 10px; } .regions a { padding: 18px; } .regions b { font-size: 1.1rem; } }
