/* =========================================================
   EDUNOVA SOLUTIONS — warm, light and clear, with a dusk hero
   ========================================================= */

/* light pages by default */
:root {
  --ink: #f7f4ee;          /* page background */
  --ink-2: #eee9e0;        /* alternate band */
  --card: #ffffff;
  --fg: #14172b;           /* main text */
  --fg-2: #464b5f;         /* body text */
  --fg-3: #6a6f82;         /* small print */
  --line: rgba(20, 23, 43, .12);
  --accent: #1800ac;       /* logo blue */
  --on-accent: #ffffff;
  --brand: #1800ac;
  --brand-soft: #ece9fb;
  --peach: #f0c8a2;
  --warm: #c46a22;
  --shadow: 0 1px 2px rgba(20, 23, 43, .05), 0 12px 32px -14px rgba(20, 23, 43, .18);

  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Geist", system-ui, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 9vw, 130px);
  --radius: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* dark surfaces: the hero, footer, artwork tiles, and the nav while it sits over the hero */
.dark, .hero, .footer, .svc-art, .xpand-stage, .nav:not(.scrolled):not(.light) {
  --ink: #10131d;
  --ink-2: #161a26;
  --fg: #f2efea;
  --fg-2: rgba(242, 239, 234, .8);
  --fg-3: rgba(242, 239, 234, .62);
  --line: rgba(242, 239, 234, .14);
  --accent: #f0c8a2;
  --on-accent: #10131d;
  color: var(--fg);
}
/* the nav turns light again when the phone menu is open */
.menu-open .nav {
  --ink: #f7f4ee; --fg: #14172b; --fg-2: #464b5f; --fg-3: #6a6f82;
  --line: rgba(20, 23, 43, .12); --accent: #1800ac; --on-accent: #fff;
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section.tight { padding-top: 0; }
.band { background: var(--ink-2); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; margin: 0; color: var(--fg); }
.h1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
em.warm { font-style: normal; color: var(--accent); }
.body-l { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--fg-2); max-width: 52ch; }
.dim { color: var(--fg-2); }

.label {
  display: inline-block;
  font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: var(--peach); color: #14172b;
  border: 1.5px solid var(--peach);
  font-family: var(--f-body); font-size: 1rem; font-weight: 500; line-height: 1.2;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:not(.ghost):not(.wa):not(.light):hover { background: #ebbb8f; border-color: #ebbb8f; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(164, 96, 40, .55); }
.btn:hover svg { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 35%, transparent); }
.btn.ghost:hover { border-color: var(--fg); box-shadow: none; }
.btn.light { background: #fff; color: var(--brand); border-color: #fff; }
.btn.wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent); }
.more svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled { padding: 10px 0; background: rgba(247, 244, 238, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 30px; height: 30px; fill: var(--fg); }
.nav.scrolled .brand .mark, .nav.light .brand .mark, .menu-open .nav .brand .mark { fill: var(--brand); }
.brand-word { font-family: var(--f-display); font-size: 1rem; letter-spacing: .2em; line-height: 1; }
.brand-word b { font-weight: 600; }
.brand-word span { font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav-links a { position: relative; padding: 8px 0; font-size: .98rem; font-weight: 500; color: var(--fg-2); transition: color .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a.active::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.btn { padding: 10px 18px; color: #14172b; }
.nav-links a.btn::after { display: none; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility .35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a.mm { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: -.03em; line-height: 1.4; }
.mobile-menu .foot { margin-top: 36px; display: grid; gap: 14px; justify-items: start; color: var(--fg-2); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: block; }
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.lines .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.lines .ln > span { display: block; }
.js .lines .ln > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * .08s + var(--d, 0s)); }
.js .lines.in .ln > span { transform: none; }

/* ---------- hero (dark, with the dusk scene) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 92svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: #10131d linear-gradient(to bottom, #1a1e30 0%, #474a60 45%, #c9a596 71%, #efc3a0 72%, #2b2c3b 73%, #10131d 100%);
}
.hero.short { min-height: 70svh; }
canvas.scene { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
canvas.scene.ready { opacity: 1; }
.hero::before { /* keeps the words readable over the sky */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 19, 29, .55), rgba(16, 19, 29, .15) 55%, transparent 75%);
}
.hero-copy { position: relative; display: grid; gap: 24px; justify-items: start; padding-top: 110px; padding-bottom: clamp(60px, 10vh, 120px); }
.hero h1 { text-shadow: 0 2px 30px rgba(16, 19, 29, .35); max-width: 16ch; }
.hero .body-l { max-width: 50ch; color: rgba(242, 239, 234, .9); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(242, 239, 234, .1); border: 1px solid rgba(242, 239, 234, .18); font-size: .86rem; white-space: nowrap; color: var(--fg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #5ad18a; box-shadow: 0 0 0 4px rgba(90, 209, 138, .2); }

.scroll-cue { position: absolute; left: 0; right: 0; bottom: 24px; pointer-events: none; }
.scroll-cue .container { display: flex; justify-content: center; }
.cue { display: grid; gap: 10px; justify-items: center; font-size: .8rem; color: var(--fg-3); }
.cue i { position: relative; display: block; width: 1px; height: 36px; background: rgba(242, 239, 234, .28); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2.4s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes cue { to { top: 110%; } }

@media (max-width: 820px) and (orientation: portrait) {
  .hero { align-items: flex-end; }
  .hero::before { background: linear-gradient(to bottom, transparent 30%, rgba(16, 19, 29, .75) 62%, rgba(16, 19, 29, .92)); }
  .hero-copy { gap: 18px; padding-bottom: 56px; }
  .scroll-cue { display: none; }
}

/* ---------- section heading ---------- */
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head .body-l { margin-top: 4px; }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
a.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 35%, transparent); box-shadow: 0 1px 2px rgba(20,23,43,.05), 0 22px 44px -18px rgba(24, 0, 172, .28); }
a.card:hover .more svg { transform: translateX(4px); }
.card p { color: var(--fg-2); }
.card .more { margin-top: auto; padding-top: 6px; }

/* who we help */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.paths .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.paths .ico svg { width: 26px; height: 26px; }
.paths .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.paths .tags span { font-size: .8rem; padding: 4px 10px; border-radius: 999px; background: rgba(24, 0, 172, .05); color: var(--brand); border: 1px solid rgba(24, 0, 172, .12); }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }

/* service cards on home */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-grid .card { padding: 14px 14px 24px; }
.svc-grid .card > :not(.svc-art) { margin-inline: 10px; }
.svc-grid .svc-art { margin: 0 0 6px; max-width: none; border-radius: 14px; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* about with portrait */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.portrait { position: relative; margin: 0; border-radius: 28px; background: var(--brand-soft); display: flex; justify-content: center; align-items: flex-end; padding-top: 40px; overflow: hidden; min-height: 520px; }
.portrait::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--peach); opacity: .55; top: 14%; left: 15%; }
.portrait img { position: relative; height: min(600px, 70vh); width: auto; max-width: 100%; object-fit: contain; }
.about-copy { display: grid; gap: 20px; }
.about-copy .h2 { max-width: 18ch; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.vm .card { padding: 22px; gap: 8px; box-shadow: none; }
.vm h3 { font-size: 1.05rem; font-weight: 500; }
.vm p { font-size: .96rem; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .portrait { min-height: 0; max-width: 460px; width: 100%; margin: 0 auto; }
  .portrait img { height: min(480px, 60vh); }
  .vm { grid-template-columns: 1fr; }
}

/* ---------- products ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work { padding: 12px 12px 26px; }
.work > :not(.plate) { margin-inline: 12px; }
.plate { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: #10131d; margin: 0; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
a.work:hover .plate img { transform: scale(1.04); }
.work-meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 8px; }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 500; white-space: nowrap; color: var(--c); background: color-mix(in srgb, var(--c) 11%, transparent); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.status.live-demo { --c: #17804a; }
.status.pilot { --c: #1800ac; }
.status.prototype { --c: #a45a12; }
.status.concept { --c: #5d6275; }

/* ---------- how we work: pinned notes joined by a moving dashed thread ---------- */
.pinboard { position: relative; max-width: 1000px; height: 900px; margin: 0 auto; }
.pinboard::before {
  content: ""; position: absolute; inset: -40px -10%; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(20, 23, 43, .06) 31px 32px);
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 30%, transparent 100%);
}
.pin-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pin-path path { fill: none; stroke: rgba(20, 23, 43, .3); stroke-width: 1.5; stroke-dasharray: 8 6; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: thread 3s linear infinite; }
@keyframes thread { to { stroke-dashoffset: -140; } }
.note { position: absolute; width: 290px; z-index: 1; }
.note-1 { top: 0; left: 15%; }   .note-2 { top: 120px; right: 15%; }
.note-3 { top: 450px; left: 15%; } .note-4 { top: 570px; right: 10%; }
.note-card { --t: 6deg; transform: rotate(var(--t)); transition: transform .5s var(--ease); background: var(--card); border: 1px solid var(--line); border-radius: 25px; padding: 8px; box-shadow: 0 24px 50px -24px rgba(20, 23, 43, .35); }
.note-2 .note-card, .note-4 .note-card { --t: -6deg; }
.note:hover { z-index: 3; }
.note:hover .note-card { transform: rotate(var(--t)) scale(1.05); }
.note .pin { display: block; width: 30px; height: 30px; margin: 4px auto 16px; }
.note-body { border-radius: 16px; padding: 20px 20px 24px; border: 1px solid; }
.note.warm .pin { color: var(--warm); } .note.warm { --nc: var(--warm); }
.note.warm .note-body { background: #fbf1e7; border-color: #f2dcc4; }
.note.cool .pin { color: var(--brand); } .note.cool { --nc: var(--brand); }
.note.cool .note-body { background: var(--brand-soft); border-color: #d6d0f6; }
.note-n { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(3.4rem, 5vw, 4.4rem); letter-spacing: -.02em; line-height: .9; margin-bottom: 16px; color: transparent; -webkit-text-stroke: 1.6px var(--nc, var(--brand)); }
.note h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin: 0 0 8px; }
.note p { color: var(--fg-2); font-size: .97rem; line-height: 1.5; }
@media (max-width: 860px) {
  .pinboard { height: auto; display: flex; flex-direction: column; gap: 30px; max-width: 420px; }
  .pin-path { display: none; }
  .note { position: relative; inset: auto; width: 100%; }
  .note-card { --t: 2deg; }
  .note-2 .note-card, .note-4 .note-card { --t: -2deg; }
}
@media (prefers-reduced-motion: reduce) { .pin-path path { animation: none; } }

/* ---------- why edunova: the image grows to fill the screen as you scroll, then a glass panel settles over it.
   --e (0 to 1) is the expansion and --g (0 to 1) the panel, both set from main.js ---------- */
.xpand { position: relative; height: 210vh; --e: 1; --g: 1; }
.xpand-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; color: var(--fg); }
.xpand-media {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: calc(320px + (100vw - 320px) * var(--e));
  height: calc(420px + (100% - 420px) * var(--e));
  border-radius: calc(24px * (1 - var(--e)));
  overflow: hidden; box-shadow: 0 30px 80px -30px rgba(20, 23, 43, .5);
}
.xpand-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(calc(1.12 - .12 * var(--e))); }
.xpand-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(16,19,29,.42), rgba(16,19,29,.08) 100%), rgba(16,19,29, calc(.5 - .36 * var(--e))); }
.xpand-title { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; opacity: calc(1 - var(--e) * 1.4); gap: .1em; font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; line-height: 1; font-size: clamp(2.6rem, 6vw, 5.2rem); color: #f2efea; }
.xpand .xa { transform: translateX(calc(var(--e) * -60vw)); }
.xpand .xb { transform: translateX(calc(var(--e) * 60vw)); }
.xpand-stage { background: #f7f4ee; }
/* white text that inverts: dark on the page, light over the photo */
.xpand-title { color: #fff; mix-blend-mode: difference; }
.xpand-title em.warm { color: inherit; }

.glass {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  width: min(640px, calc(100vw - 2 * var(--gutter))); max-height: calc(100% - 120px); overflow: auto;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(150deg, rgba(242,239,234,.12), rgba(242,239,234,.04) 55%, rgba(80,58,255,.07));
  border: 1px solid rgba(242,239,234,.18); border-radius: 26px;
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 90px -40px rgba(0,0,0,.8);
  opacity: var(--g); transform: translate(-50%, calc(-50% + (1 - var(--g)) * 40px));
  pointer-events: none;
}
.xpand.on .glass { pointer-events: auto; }
.glass .label { margin-bottom: 10px; }
.glass-h { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 18px; }
.glass-list li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; padding: 15px 0; border-top: 1px solid rgba(242,239,234,.16); }
.glass-list b { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
.glass-list span { color: var(--fg-2); font-size: .95rem; line-height: 1.5; }
@media (max-width: 760px) {
  .xpand { height: 190vh; }
  .xpand-media { width: calc(240px + (100vw - 240px) * var(--e)); height: calc(320px + (100% - 320px) * var(--e)); }
  .glass { max-height: calc(100% - 100px); padding: 22px; }
  .glass-list li { grid-template-columns: 1fr; gap: 2px; padding: 11px 0; }
  .glass-list span { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .xpand { height: auto; } .xpand-stage { position: relative; } }

/* ---------- closing call to action ---------- */
.closing { padding: clamp(70px, 9vw, 120px) 0; background: #fff; color: var(--fg); text-align: center; border-top: 1px solid var(--line); }
.closing .h2 { max-width: 20ch; margin: 0 auto; }
.closing .body-l { margin: 18px auto 32px; color: var(--fg-2); }
.closing .btns { justify-content: center; }

/* ---------- services page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { padding: 9px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .95rem; font-weight: 500; color: var(--fg-2); transition: color .3s, border-color .3s, background .3s; }
.jump a:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }

.svc { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); padding: clamp(50px, 6vw, 90px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-side { position: sticky; top: 100px; align-self: start; }
.svc-side .label { margin-bottom: 14px; }
.svc-side .h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.svc-body > p { color: var(--fg-2); font-size: 1.1rem; margin-bottom: 26px; max-width: 56ch; }
.svc-body .sub { display: block; font-weight: 500; margin-bottom: 6px; }
.items li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); }
.items li:last-child { border-bottom: 1px solid var(--line); }
.items li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.fine { margin-top: 18px; font-size: .9rem; color: var(--fg-3); max-width: 58ch; }
.svc-body .btns { margin-top: 28px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc-side { position: static; } .svc-art { max-width: 460px; margin-top: 24px; } }

/* animated line drawings (always on a dark tile) */
.svc-art { margin-top: 32px; max-width: 460px; border-radius: 18px; background: #10131d; overflow: hidden; }
.sa { display: block; width: 100%; height: auto; stroke-linecap: round; stroke-linejoin: round; }
.sa * { animation-play-state: paused; }
.in .sa *, .svc-art.in .sa * { animation-play-state: running; }
.sa-ln { stroke: rgba(242,239,234,.18); stroke-width: 1; }
.sa-dash { stroke-dasharray: 3 6; }
.sa-dot { fill: var(--peach); }
.sa-blue { --c: #8f80ff; }
.sa-warm { --c: var(--peach); }
.sa-pulse { stroke: var(--c, var(--peach)); stroke-width: 2; stroke-dasharray: 9 100; stroke-dashoffset: 9; animation: sa-run 3.3s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes sa-run { to { stroke-dashoffset: -100; } }
.sa-node { fill: #10131d; stroke: rgba(242,239,234,.4); stroke-width: 1.2; animation: sa-node 3.4s ease-in-out infinite; }
@keyframes sa-node { 0%, 70%, 100% { fill: #10131d; stroke: rgba(242,239,234,.4); } 82% { fill: rgba(240,200,162,.55); stroke: #f0c8a2; } }
.sa-plate { fill: #141826; fill-opacity: .92; stroke: rgba(242,239,234,.3); stroke-width: 1; }
.sa-tint { fill: #1a1840; stroke: #8f80ff; }
.sa-up { animation: sa-up 5s ease-in-out infinite; }
.sa-down { animation: sa-down 5s ease-in-out infinite; }
@keyframes sa-up { 50% { transform: translateY(-12px); } }
@keyframes sa-down { 50% { transform: translateY(10px); } }
.sa-ring { stroke: var(--peach); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: sa-ring 2.8s ease-out infinite; }
@keyframes sa-ring { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.sa-draw { stroke: var(--peach); stroke-width: 1.6; stroke-dasharray: 100; animation: sa-draw 5s ease-in-out infinite; }
@keyframes sa-draw { 0% { stroke-dashoffset: 100; opacity: 1; } 55%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.sa-route { stroke: var(--peach); stroke-width: 2; stroke-dasharray: 100; animation: sa-draw 6s ease-in-out infinite; }
.sa-stop { fill: #10131d; stroke: #8f80ff; stroke-width: 1.5; animation: sa-stop 6s ease-in-out infinite; }
@keyframes sa-stop { 0%, 15% { opacity: 0; } 30%, 85% { opacity: 1; } 100% { opacity: 0; } }
.sa-frame { stroke: rgba(242,239,234,.32); stroke-width: 1.2; fill: rgba(242,239,234,.02); }
.sa-skel { fill: rgba(242,239,234,.14); animation: sa-skel 3.2s ease-in-out infinite; }
@keyframes sa-skel { 50% { fill: rgba(242,239,234,.28); } }
.sa-cursor { fill: var(--peach); animation: sa-blink 1.1s steps(1) infinite; }
@keyframes sa-blink { 50% { opacity: 0; } }
.sa-bar { fill: rgba(143,128,255,.32); stroke: #8f80ff; stroke-width: 1; transform-box: fill-box; transform-origin: bottom; animation: sa-bar 4.4s cubic-bezier(.16,1,.3,1) infinite; }
.sa-bar-a { fill: rgba(240,200,162,.4); stroke: var(--peach); }
@keyframes sa-bar { 0% { transform: scaleY(0); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
.sa-globe { fill: rgba(80,58,255,.10); stroke: #8f80ff; stroke-width: 1.2; }
.sa-mer { stroke: rgba(143,128,255,.45); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: sa-turn 8s linear infinite; }
@keyframes sa-turn { 0% { transform: scaleX(1); } 25% { transform: scaleX(0); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.sa-arc { stroke: var(--peach); stroke-width: 2; opacity: .8; }
.sa-sat { fill: #f2efea; }
.sa-panel { fill: #8f80ff; }
.sa-ripple { stroke: rgba(240,200,162,.5); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: sa-ripple 3.6s ease-out infinite; }
@keyframes sa-ripple { 0% { transform: scale(.15); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.sa-person { fill: #10131d; stroke: var(--c, #f2efea); stroke-width: 1.4; opacity: .45; animation: sa-person 3.5s ease-in-out infinite; }
@keyframes sa-person { 0%, 60%, 100% { opacity: .45; } 25% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sa * { animation: none !important; } .sa-draw, .sa-route { stroke-dashoffset: 0; } }

.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pair .card { gap: 10px; }
@media (max-width: 760px) { .pair { grid-template-columns: 1fr; } }

/* ---------- products page ---------- */
.legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.legend div { display: grid; gap: 8px; justify-items: start; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: .92rem; color: var(--fg-2); }
@media (max-width: 860px) { .legend { grid-template-columns: 1fr 1fr; } }
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.product.flip .plate { order: 2; }
.product .plate { box-shadow: var(--shadow); }
.product-copy { display: grid; gap: 14px; justify-items: start; }
.product h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.product .tag { color: var(--accent); font-weight: 500; }
.product .desc { color: var(--fg-2); }
.spec { display: grid; gap: 12px; margin: 6px 0 10px; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: .96rem; width: 100%; }
.spec div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.spec dt { font-weight: 500; color: var(--fg); }
.spec dd { margin: 0; color: var(--fg-2); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product.flip .plate { order: 0; } .spec div { grid-template-columns: 1fr; gap: 2px; } }

.cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cols li { padding: 18px 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.details { display: grid; gap: 12px; }
.detail { padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.detail .k { display: block; font-size: .85rem; color: var(--fg-3); margin-bottom: 2px; }
.detail a, .detail address { font-style: normal; font-size: 1.05rem; font-weight: 500; word-break: break-word; transition: color .3s; }
.detail a:hover { color: var(--brand); }
.copy { flex: none; font-size: .85rem; font-weight: 500; color: var(--brand); padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); transition: background .3s, color .3s; }
.copy:hover, .copy.done { background: var(--brand); color: #fff; }

.form { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-size: 1.5rem; font-weight: 600; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 16px 10px;
  background: var(--ink); border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--fg); font: inherit; font-size: 1rem; resize: vertical;
  outline: none; transition: border-color .3s, background .3s;
}
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--fg-3); pointer-events: none; transition: all .3s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--brand); background: #fff; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: .78rem; color: var(--brand); }
.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.picks-label { display: block; font-weight: 500; margin-bottom: 10px; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks input { position: absolute; opacity: 0; pointer-events: none; }
.picks label { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .93rem; color: var(--fg-2); cursor: pointer; transition: all .25s; user-select: none; }
.picks label:hover { border-color: var(--brand); color: var(--brand); }
.picks input:checked + label { background: var(--brand); border-color: var(--brand); color: #fff; }
.picks input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { font-size: .9rem; color: var(--fg-3); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }

.map { position: relative; height: clamp(300px, 38vw, 460px); overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--ink-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) contrast(.95); }

.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; font-weight: 500; font-size: 1.08rem; line-height: 1.4; }
.faq summary:hover { color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; position: relative; width: 16px; height: 16px; color: var(--brand); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { color: var(--fg-2); padding: 0 30px 22px 0; max-width: 70ch; }

/* ---------- footer ---------- */
.footer { padding: clamp(56px, 7vw, 84px) 0 28px; background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer-top > div > p { color: var(--fg-2); font-size: .98rem; max-width: 36ch; }
.footer .label { margin-bottom: 16px; }
.footer ul { display: grid; gap: 8px; color: var(--fg-2); }
.footer ul a { transition: color .3s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--fg-3); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: #1f9d55; color: #fff; font-weight: 500; font-size: .95rem;
  box-shadow: 0 12px 30px -10px rgba(16, 80, 44, .6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float:hover { transform: translateY(-3px); }
@media (max-width: 600px) { .wa-float { padding: 14px; } .wa-float span { display: none; } }
.menu-open .wa-float { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .lines .ln > span { opacity: 1; transform: none; }
}

/* ---------- contact popup ---------- */
.form-done { padding: 14px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--fg); font-size: .95rem; }
.form-done a { color: var(--brand); text-decoration: underline; }
.modal { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: 26px; background: var(--card); color: var(--fg); overflow: auto; overscroll-behavior: contain; box-shadow: 0 30px 80px rgba(10, 12, 30, .35); }
.modal::backdrop { background: rgba(12, 14, 32, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal .form { border: 0; box-shadow: none; border-radius: 0; padding: clamp(26px, 4vw, 40px); }
.modal .form h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); padding-right: 40px; }
.modal-x { position: absolute; top: 16px; right: 16px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--fg); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.modal-x:hover { background: var(--ink-2); border-color: var(--fg-3); }
.modal[open] { animation: modal-in .35s var(--ease) both; }
.modal[open]::backdrop { animation: fade-in .35s ease both; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
html.modal-open { overflow: hidden; }
@media (max-width: 600px) {
  .modal { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .modal .two { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .modal[open], .modal[open]::backdrop { animation: none; } }

/* ---------- light page heroes (services, products, contact) ---------- */
.phero { position: relative; padding: clamp(120px, 13vw, 160px) 0 clamp(56px, 7vw, 90px); background: var(--ink); border-bottom: 1px solid var(--line); }
.phero-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.phero-copy { display: grid; gap: 22px; justify-items: start; }
.phero h1 { max-width: 12ch; }
.phero .body-l { max-width: 44ch; color: var(--fg-2); }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; } }

/* services: six live tiles that jump to each service */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { display: grid; gap: 10px; padding: 7px 7px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(20, 23, 43, .35); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.tile .svc-art { margin: 0; max-width: none; border-radius: 12px; }
.tile-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 7px; font-weight: 500; font-size: .95rem; line-height: 1.25; }
.tile-name svg { width: 16px; height: 16px; flex: none; color: var(--fg-3); transition: transform .35s var(--ease), color .3s; }
.tile:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 18px 40px -20px rgba(24, 0, 172, .45); }
.tile:hover .tile-name svg { color: var(--brand); transform: translateX(3px); }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } .tile-name { font-size: .86rem; padding: 0 4px; } }

/* products: a fanned stack of product cards */
.fan { position: relative; height: clamp(360px, 34vw, 440px); --sx: clamp(56px, 6.4vw, 90px); --r: 6deg; }
.fan-card { position: absolute; left: 50%; top: 50%; width: clamp(190px, 19vw, 250px); display: grid; gap: 10px; padding: 8px 8px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(20, 23, 43, .45);
  transform: translate(-50%, -50%) translateX(calc((var(--i) - 1.5) * var(--sx))) translateY(calc((var(--i) - 1.5) * (var(--i) - 1.5) * 8px)) rotate(calc((var(--i) - 1.5) * var(--r)));
  transition: transform .6s var(--ease), box-shadow .4s; }
.fan:hover { --sx: clamp(70px, 8.4vw, 118px); --r: 8deg; }
.fan-card:hover { z-index: 5; box-shadow: 0 30px 60px -24px rgba(24, 0, 172, .5); transform: translate(-50%, -50%) translateX(calc((var(--i) - 1.5) * var(--sx))) translateY(-22px) rotate(0deg) scale(1.04); }
.fan-img { display: block; aspect-ratio: 4 / 3.3; border-radius: 12px; overflow: hidden; background: var(--ink-2); }
.fan-img img { width: 100%; height: 100%; object-fit: cover; }
.fan-meta { display: grid; gap: 8px; justify-items: start; padding: 0 6px; }
.fan-meta b { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.2; }
@media (max-width: 900px) {
  .fan { height: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fan-card, .fan-card:hover { position: static; width: auto; transform: none; }
  .fan-meta b { font-size: 1rem; }
}

/* contact: one-tap ways to reach us */
.quick { display: grid; gap: 12px; }
.qa { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding: 18px 22px 18px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(20, 23, 43, .35); transition: transform .35s var(--ease), border-color .3s; }
.qa:hover { transform: translateY(-3px); border-color: var(--brand); }
.qa-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.qa-ic svg { width: 26px; height: 26px; }
.qa.wa .qa-ic { background: #1f9d55; color: #fff; }
.qa b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.qa small { display: block; margin-top: 2px; color: var(--fg-2); font-size: .95rem; overflow-wrap: anywhere; }
.qa > svg { width: 20px; height: 20px; color: var(--fg-3); transition: transform .35s var(--ease), color .3s; }
.qa:hover > svg { color: var(--brand); transform: translateX(4px); }
.addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 18px; border-radius: 16px; border: 1px dashed color-mix(in srgb, var(--fg) 22%, transparent); color: var(--fg-2); }
.addr > svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.addr .more { margin-left: auto; }
@media (max-width: 560px) { .qa { grid-template-columns: 48px 1fr auto; gap: 14px; padding: 14px 16px 14px 14px; } .qa-ic { width: 48px; height: 48px; border-radius: 14px; } .qa b { font-size: 1.1rem; } .addr .more { margin-left: 0; } }

/* ---------- what-we-do strip under the home hero ---------- */
.pillars { background: var(--ink); padding: clamp(46px, 5vw, 70px) 0; }
.pillar-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 6px clamp(22px, 3vw, 46px); border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: rgba(240, 200, 162, .12); color: var(--peach); margin-bottom: 6px; transition: background .3s, color .3s; }
.pillar-ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.pillar p { color: var(--fg-2); max-width: 34ch; }
.pillar .more { color: var(--accent); margin-top: 4px; }
.pillar:hover .pillar-ic { background: var(--peach); color: #14172b; }
@media (max-width: 760px) {
  .pillar-row { grid-template-columns: 1fr; }
  .pillar { border-left: 0; padding: 0 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
}

/* ---------- numbered services list on the home page ---------- */
.slist { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: repeat(6, auto) 1fr; column-gap: clamp(30px, 5vw, 70px); row-gap: 10px; }
.sl-row { display: contents; }
.sl-head { grid-column: 1; display: grid; grid-template-columns: 3.2ch 1fr auto; align-items: center; gap: 18px; width: 100%; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: transparent; color: var(--fg); font: inherit; text-align: left; cursor: pointer; transition: background .3s, border-color .3s, box-shadow .3s; }
.sl-head:hover { border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.sl-n { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -.02em; color: var(--fg-3); transition: color .3s; }
.sl-t { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; line-height: 1.3; }
.sl-head > svg { width: 22px; height: 22px; color: var(--fg-3); transform: rotate(-45deg); transition: transform .4s var(--ease), color .3s; }
.sl-row.on .sl-head { background: var(--card); border-color: var(--brand); box-shadow: 0 16px 36px -22px rgba(24, 0, 172, .45); }
.sl-row.on .sl-n, .sl-row.on .sl-head > svg { color: var(--brand); }
.sl-row.on .sl-head > svg { transform: none; }
.sl-panel { grid-column: 2; grid-row: 1 / -1; align-self: start; position: sticky; top: 100px; display: none; padding: 12px 12px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(20, 23, 43, .35); }
.sl-row.on .sl-panel { display: block; animation: sl-in .5s var(--ease) both; }
@keyframes sl-in { from { opacity: 0; transform: translateY(12px); } }
.sl-panel .svc-art { margin: 0; max-width: none; border-radius: 16px; }
.sl-copy { display: grid; gap: 14px; justify-items: start; padding: 24px 16px 0; }
.sl-copy .h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.sl-copy p { color: var(--fg-2); }
.sl-copy .items { width: 100%; margin-bottom: 8px; }
@media (max-width: 900px) {
  .slist { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .sl-row { display: block; }
  .sl-panel { position: static; margin-top: 10px; }
  .sl-copy { padding: 20px 8px 0; }
}
@media (max-width: 560px) { .sl-head { padding: 18px; gap: 12px; } .sl-n { font-size: 1.35rem; } .sl-t { font-size: 1.02rem; } }

/* ---------- spinning badge on the portrait ---------- */
.spin-badge { position: absolute; bottom: 26px; left: 22px; z-index: 2; width: 128px; height: 128px; border-radius: 50%; background: var(--card); box-shadow: 0 16px 36px -18px rgba(20, 23, 43, .45); display: grid; place-items: center; }
.spin-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.spin-ring text { font-family: var(--f-body); font-size: 15.5px; font-weight: 500; letter-spacing: .1em; fill: var(--fg); }
.spin-badge .mark { width: 34px; height: 34px; fill: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .spin-badge { width: 104px; height: 104px; bottom: 16px; left: 14px; } .spin-badge .mark { width: 28px; height: 28px; } }
@media (prefers-reduced-motion: reduce) { .spin-ring { animation: none; } }

/* ---------- services orbit carousel (home) ---------- */
.orbit { background: var(--ink-2); }
.orb-track { position: relative; height: 400svh; }
.orb-root { position: sticky; top: 0; height: 100svh; overflow: hidden; container-type: inline-size; outline: none; -webkit-tap-highlight-color: transparent; }
.orb-root:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }
.orb-canvas { position: absolute; left: 50%; top: calc(50% + 36px); width: 960px; height: 520px; transform: translate(-50%, -50%) scale(var(--s, 1)); transform-origin: 50% 50%; }
.orb-arc { position: absolute; left: 0; top: 0; width: 960px; height: 520px; overflow: visible; pointer-events: none; }
.orb-arc path { opacity: .5; transition: fill 1.1s ease; }
.orb-root button { appearance: none; border: 0; background: none; color: inherit; font: inherit; padding: 0; margin: 0; cursor: pointer; }
.orb-root button:focus-visible, .orb-root a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 10px; }

.orb-top { position: absolute; left: 130px; top: -10px; display: grid; gap: 6px; }
.orb-top .label { font-size: 11px; }
.orb-h2 { font-size: 30px; line-height: 1.05; }
.orb-all { position: absolute; right: 20px; top: 10px; font-size: 13.5px; color: var(--brand); }
.orb-all svg { width: 14px; height: 14px; }

.orb-pager { position: absolute; left: 76px; top: 150px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.orb-dot { width: 14px; height: 10px; display: grid; place-items: center; transition: height .45s cubic-bezier(.3, .7, .2, 1); }
.orb-dot i { display: block; width: 3px; height: 3px; border-radius: 3px; background: var(--fg); opacity: .4; transition: height .45s cubic-bezier(.3, .7, .2, 1), opacity .3s, background .3s; }
.orb-dot[aria-current] { height: 26px; }
.orb-dot[aria-current] i { height: 22px; opacity: 1; background: var(--brand); }

.orb-plates { position: absolute; left: 130px; top: 82px; width: 245px; height: 245px; touch-action: pan-y; }
.orb-plates .orb-plate { position: absolute; inset: 0; margin: 0; max-width: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; transform-origin: 69% -217%; opacity: 0; will-change: transform;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .7), 0 26px 44px -18px rgba(16, 19, 29, .55); }
.orb-plates .orb-plate.on { opacity: 1; }
.orb-plate .sa { width: 92%; }

.orb-head { position: absolute; left: 396px; top: 100px; width: 320px; height: 150px; }
.orb-hd { position: absolute; inset: 0; opacity: 0; }
.orb-hd.on { opacity: 1; }
.orb-eye { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 4px 2px; }
.orb-hd h3 { margin: 0; font: inherit; }
.orb-t1, .orb-t2 { display: block; white-space: nowrap; line-height: 1; text-transform: uppercase; font-family: var(--f-display); color: var(--fg); }
.orb-t1 { font-weight: 300; letter-spacing: -.02em; margin-top: 8px; }
.orb-t2 { font-weight: 600; letter-spacing: -.035em; margin-top: 6px; }

.orb-actset { position: absolute; left: 398px; top: 272px; width: 310px; height: 40px; }
.orb-acts { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 22px; opacity: 0; pointer-events: none; }
.orb-acts.on { opacity: 1; pointer-events: auto; }
.orb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--peach); color: #14172b; font-size: 13px; font-weight: 500; transition: background .3s, transform .3s var(--ease); }
.orb-btn:hover { background: #ebbb8f; transform: translateY(-2px); }
.orb-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--brand); }
.orb-acts svg { width: 14px; height: 14px; }

.orb-card { position: absolute; left: 722px; top: 118px; width: 226px; padding: 16px 18px 20px; border-radius: 20px;
  background: color-mix(in srgb, #fff 80%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(20, 23, 43, .05) inset, 0 18px 40px -24px rgba(20, 23, 43, .35); }
.orb-tabs { display: flex; gap: 16px; font-size: 12px; margin-bottom: 16px; }
.orb-tab { color: var(--fg-3); font-weight: 500; padding: 3px 0 !important; }
.orb-tab[aria-selected="true"] { color: var(--fg); font-weight: 600; box-shadow: inset 0 -2px 0 var(--brand); }
.orb-bodies { display: grid; }
.orb-body { grid-area: 1 / 1; opacity: 0; pointer-events: none; }
.orb-body.on { opacity: 1; pointer-events: auto; }
.orb-rate { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.orb-badge { flex: none; width: 46px; height: 54px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; color: #14172b; }
.orb-kind { display: block; font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.orb-name { margin: 2px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 14.5px; line-height: 1.25; letter-spacing: -.01em; }
.orb-desc { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--fg-2); min-height: 74px; }
.orb-list { display: none; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; min-height: 74px; align-content: flex-start; }
.orb-list li { font-size: 11px; padding: 4px 9px; border-radius: 99px; background: rgba(24, 0, 172, .06); color: var(--brand); }
.orb-card.covers .orb-desc { display: none; }
.orb-card.covers .orb-list { display: flex; }

.orb-strip { position: absolute; left: 130px; top: 372px; width: 560px; height: 122px; display: flex; align-items: center; }
.orb-arrow { width: 36px; height: 36px; display: grid; place-items: center; flex: none; color: var(--fg-2); }
.orb-arrow:hover { color: var(--brand); }
.orb-arrow svg { width: 11px; height: 15px; fill: currentColor; }
.orb-win { position: relative; width: 472px; height: 122px; overflow: hidden; flex: none; margin: 0 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.orb-rail { position: absolute; left: 0; top: 0; display: flex; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.orb-th { width: 118px; height: 122px; display: flex; justify-content: center; padding-top: 3px; }
.orb-th button { width: 96px; height: 116px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 9px !important; transition: background .45s, box-shadow .45s; }
.orb-th button[aria-current] { background: color-mix(in srgb, #fff 75%, transparent); box-shadow: 0 10px 24px -16px rgba(20, 23, 43, .35); }
.orb-strip .orb-mini { width: 56px; height: 56px; margin: 0; max-width: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; transition: transform .45s; }
.orb-th button[aria-current] .orb-mini { transform: scale(1.06); }
.orb-mini .sa { width: 120%; }
.orb-mini .sa * { animation: none !important; }
.orb-th button > span:last-child { font-size: 10px; line-height: 1.25; text-align: center; font-weight: 500; color: var(--fg-2); max-width: 88px; }
.orb-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* phones and narrow tablets: one column that fits a single screen */
@container (max-width: 859px) {
  .orb-canvas { position: relative; left: auto; top: auto; width: 100%; height: 100%; transform: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 76px 16px 18px; }
  .orb-arc { width: 200%; height: auto; left: -62%; top: 30px; }
  .orb-top { position: relative; left: auto; top: auto; align-self: stretch; text-align: center; justify-items: center; gap: 4px; }
  .orb-h2 { font-size: 26px; }
  .orb-all, .orb-strip { display: none; }
  .orb-pager { left: 12px; top: 50%; transform: translateY(-50%); }
  .orb-plates { position: relative; left: auto; top: auto; width: min(46vw, 25svh); height: min(46vw, 25svh); margin-top: 14px; flex: none; }
  .orb-plates .orb-plate { box-shadow: 0 0 0 5px rgba(255, 255, 255, .7), 0 20px 34px -16px rgba(16, 19, 29, .55); }
  .orb-head { position: relative; left: auto; top: auto; width: 100%; height: 112px; margin-top: 12px; flex: none; }
  .orb-hd { text-align: center; transform: scale(.78); transform-origin: 50% 0; }
  .orb-actset { position: relative; left: auto; top: auto; width: 100%; height: 38px; flex: none; }
  .orb-acts { left: 0; right: 0; justify-content: center; white-space: nowrap; }
  .orb-card { position: relative; left: auto; top: auto; width: 100%; max-width: 420px; margin-top: 12px; flex: none; }
  .orb-desc, .orb-list { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .orb-rail, .orb-dot, .orb-dot i, .orb-th button, .orb-mini, .orb-arc path { transition: none; } }

/* ---------- coming next: a fan of poster cards (products) ---------- */
.cf-sec { background: radial-gradient(120% 70% at 50% 45%, #1a1e2b, var(--ink) 70%); overflow: hidden; }
.cf { --cw: clamp(220px, 25vw, 300px); --gap: calc(var(--cw) * .84); position: relative; display: grid; justify-items: center; outline: none; }
.cf:focus-visible .cf-card.on { outline: 2px solid var(--peach); outline-offset: 6px; }
.cf-stage { position: relative; width: 100%; height: calc(var(--cw) * 4 / 3 + 40px); perspective: 1600px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.cf-stage.drag { cursor: grabbing; }
.cf-stage::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--cw) * 2.6); height: calc(var(--cw) * 1.9); transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .16), transparent); pointer-events: none; }
.cf-card { position: absolute; left: 50%; top: 20px; width: var(--cw); aspect-ratio: 3 / 4; margin-left: calc(var(--cw) / -2);
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 18px 22px; border-radius: 26px; border: 9px solid #1d2029; overflow: hidden;
  background: radial-gradient(90% 60% at 50% 28%, color-mix(in srgb, var(--acc) 30%, transparent), transparent 70%), #12151f;
  transform: translateX(calc(var(--x, 0) * var(--gap))) translateZ(calc(var(--ad, 0) * -150px)) rotateY(calc(var(--r, 0) * 1deg));
  opacity: var(--o, 1); filter: brightness(var(--b, 1)); z-index: var(--z, 1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .6s ease, filter .6s ease, box-shadow .6s ease; }
.cf-card.on { box-shadow: 0 0 80px -10px rgba(255, 255, 255, .22), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.cf-art { width: calc(100% + 36px); margin: 0 -18px; max-width: none; border-radius: 0; background: transparent; }
.cf-art .sa { width: 100%; }
.cf-num { margin-top: 2px; font-size: 11px; letter-spacing: .3em; color: var(--acc); opacity: .9; }
.cf-name { margin-top: 8px; font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: calc(var(--cw) * .1); line-height: .98; letter-spacing: -.02em; color: var(--acc); }
.cf-sub { margin-top: 10px; font-size: 12.5px; line-height: 1.4; color: rgba(242, 239, 234, .72); max-width: 24ch; }
.cf-ask { margin-top: auto; display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 999px; background: #0b0d14; color: #fff; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease), background .3s; }
.cf-ask svg { width: 14px; height: 14px; }
.cf-ask:hover { background: #000; }
.cf-ask:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; }
.cf-card.on .cf-ask { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }

.cf-infos { display: grid; margin-top: 34px; text-align: center; }
.cf-info { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .6s var(--ease); pointer-events: none; }
.cf-info.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .15s; }
.cf-title { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.02em; color: var(--fg); }
.cf-meta { margin: 8px 0 0; color: var(--fg-3); font-size: 15px; }

.cf-ctrl { margin-top: 26px; display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 26px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03);
  box-shadow: 0 0 40px -10px rgba(255, 255, 255, .08); }
.cf-count { font-variant-numeric: tabular-nums; color: var(--fg-3); font-size: 15px; letter-spacing: .04em; padding-right: 18px; margin-right: 10px; border-right: 1px solid rgba(255, 255, 255, .14); white-space: nowrap; }
.cf-count b { color: var(--fg); font-weight: 500; }
.cf-btn { appearance: none; border: 0; background: none; color: var(--fg); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.cf-btn svg { width: 20px; height: 20px; }
.cf-btn:hover { background: rgba(255, 255, 255, .08); }
.cf-btn:focus-visible { outline: 2px solid var(--peach); outline-offset: 2px; }
.cf-play { width: 58px; height: 58px; background: rgba(255, 255, 255, .08); }
.cf-play:hover { background: rgba(255, 255, 255, .14); }
.cf-i-pause, .cf.playing .cf-i-play { display: none; }
.cf.playing .cf-i-pause { display: block; }
.cf-hint { margin: 18px 0 0; display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: 14.5px; }
.cf-hint i { display: inline-flex; gap: 4px; }
.cf-hint svg { width: 16px; height: 16px; }

@media (max-width: 700px) {
  .cf { --cw: min(58vw, 250px); --gap: calc(var(--cw) * .62); }
  .cf-sub { font-size: 11.5px; }
  .cf-ctrl { padding-left: 20px; }
  .cf-btn { width: 44px; height: 44px; }
  .cf-play { width: 52px; height: 52px; }
  .cf-hint { font-size: 13px; }
}
.cf-keys { display: inline-flex; align-items: center; gap: 10px; }
@media (hover: none) { .cf-keys { display: none; } }
@media (prefers-reduced-motion: reduce) { .cf-card, .cf-info, .cf-ask { transition: none !important; } }
