/* ==========================================================================
   EN2 Tech — site styles. Hand-written, no framework.
   ========================================================================== */

:root {
  --bg: #fbfaf7;
  --bg-2: #f3f1ea;
  --surface: #ffffff;
  --ink: #0f1222;
  --ink-2: #464c63;
  --ink-3: #7a7f93;
  --line: #e7e3d9;
  --line-2: #d9d4c7;

  --mint: #12b886;
  --mint-ink: #087a59;
  --mint-tint: #dcf7ec;
  --sun: #ff7a1a;
  --sun-ink: #b44a00;
  --sun-tint: #ffeadb;
  --sky: #4c6fff;
  --sky-ink: #2a45c9;
  --sky-tint: #e3e9ff;
  --grape: #8b5cf6;
  --grape-tint: #efe7ff;
  --night: #161a35;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 18, 34, .06), 0 2px 8px rgba(15, 18, 34, .04);
  --shadow: 0 2px 4px rgba(15, 18, 34, .04), 0 12px 32px -8px rgba(15, 18, 34, .14);
  --shadow-lg: 0 4px 8px rgba(15, 18, 34, .04), 0 30px 60px -20px rgba(15, 18, 34, .28);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); letter-spacing: -.03em; font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { margin: 0 0 1em; }
::selection { background: var(--mint-tint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  font: 600 .78rem/1.2 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--mint-ink);
  margin: 0 0 14px;
}
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .06em; height: .34em; z-index: -1;
  background: var(--mint); opacity: .32; border-radius: 4px; transform-origin: left; transform: scaleX(0);
  animation: hl 900ms var(--ease) 500ms forwards;
}
.hl.sun::after { background: var(--sun); opacity: .3; }
@keyframes hl { to { transform: scaleX(1); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -6px rgba(15, 18, 34, .5); }
.btn-ink:hover { box-shadow: 0 12px 26px -8px rgba(15, 18, 34, .55); }
.btn-mint { background: var(--mint); color: #04231a; box-shadow: 0 8px 22px -8px rgba(18, 184, 134, .75); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.logo-word {
  display: inline-flex; align-items: center;
  font: 800 1.55rem/1 var(--font-display); letter-spacing: -.05em; font-style: italic;
  transform: skewX(-6deg);
}
.logo-gem {
  width: .42em; height: .42em; margin: .28em .04em 0; transform: rotate(45deg);
  background: var(--mint); border-radius: 2px; box-shadow: inset 0 0 0 .1em var(--surface), 0 0 0 1px var(--mint);
  transition: transform .5s var(--ease);
}
.logo:hover .logo-gem { transform: rotate(225deg); }
.logo-lines { display: inline-flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.logo-lines i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; width: 12px; }
.logo-lines i:nth-child(2) { width: 16px; background: var(--mint); }
.logo-lines i:nth-child(3) { width: 9px; }
.logo:hover .logo-lines i { animation: zoom .6s var(--ease); }
.logo:hover .logo-lines i:nth-child(2) { animation-delay: .05s; }
.logo:hover .logo-lines i:nth-child(3) { animation-delay: .1s; }
@keyframes zoom { 40% { transform: translateX(-6px); opacity: .4; } }
.logo-lg .logo-word { font-size: 2rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 18, 34, .3); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) { padding: 12px 4px; text-decoration: none; font: 600 1.2rem var(--font-display); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }
.mobile-menu[hidden] { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob.b1 { width: 520px; height: 520px; background: #b8f0da; right: -120px; top: -140px; }
.blob.b2 { width: 420px; height: 420px; background: #ffd9bd; right: 28%; top: 38%; animation-duration: 22s; }
.blob.b3 { width: 380px; height: 380px; background: #d4dcff; left: -160px; bottom: -120px; animation-duration: 26s; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 18, 34, .09) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.badge:hover { border-color: var(--line-2); }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mint); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 70%, 100% { transform: scale(2.8); opacity: 0; } }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; color: var(--ink-3); font-size: .9rem; }
.hero-proof .faces { display: flex; }
.hero-proof .faces span {
  width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--bg); margin-left: -9px; display: grid; place-items: center;
  font: 700 .72rem var(--font-body); color: #fff;
}
.hero-proof .faces span:first-child { margin-left: 0; }

/* hero collage */
.collage { position: relative; aspect-ratio: 1 / .92; min-height: 0; }
.tv {
  position: absolute; left: 0; right: 4%; top: 6%;
  background: #0d1020; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg); animation: float 9s ease-in-out infinite;
}
.tv img { border-radius: 8px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tv::after { content: ""; position: absolute; left: 42%; right: 42%; bottom: -16px; height: 16px; background: linear-gradient(#2a2f4a, #1a1e33); border-radius: 0 0 6px 6px; }
.phone {
  position: absolute; width: 27%; right: 0; bottom: 0; z-index: 3;
  background: #0d1020; border-radius: 28px; padding: 7px; box-shadow: var(--shadow-lg);
  transform: rotate(4deg); animation: float 7s ease-in-out -2s infinite;
}
.phone img { border-radius: 22px; aspect-ratio: 585 / 1080; object-fit: cover; object-position: top; width: 100%; }
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; width: 30%; height: 10px; transform: translateX(-50%); background: #0d1020; border-radius: 8px; z-index: 2; }
@keyframes float { 50% { translate: 0 -10px; } }
.pop {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow);
  font-size: .86rem; line-height: 1.3; border: 1px solid var(--line);
  animation: float 8s ease-in-out infinite;
}
.pop b { display: block; font-size: .95rem; }
.pop small { color: var(--ink-3); }
.pop .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.pop .ico svg { width: 20px; height: 20px; }
.pop-ai { left: -6%; bottom: 14%; animation-delay: -3s; }
.pop-ai .ico { background: var(--sun-tint); color: var(--sun-ink); }
.pop-sync { left: 22%; top: -2%; animation-delay: -5s; }
.pop-sync .ico { background: var(--mint-tint); color: var(--mint-ink); }
.pop .count { font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .collage { max-width: 640px; width: 100%; margin: 12px auto 0; }
}
@media (max-width: 520px) {
  .pop { font-size: .76rem; padding: 9px 12px 9px 9px; gap: 9px; }
  .pop .ico { width: 30px; height: 30px; }
  .pop b { font-size: .82rem; }
  .pop-ai { left: 0; bottom: 6%; }
  .pop-sync { left: 6%; top: -6%; }
}

/* ---------- clients + marquee ---------- */
.clients { padding: 28px 0 8px; }
.clients-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.clients-row .label { width: 100%; text-align: center; font-size: .82rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.client-name { font: 700 clamp(1rem, 1.5vw, 1.08rem) var(--font-display); letter-spacing: -.02em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.client-name i { width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); display: inline-block; }
.marquee { margin-top: 40px; overflow: hidden; border-block: 1px solid var(--line); background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 18px 0; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 600 1rem var(--font-body); color: var(--ink-2); display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--mint); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(18, 184, 134, .45), transparent 65%); }
.stat { position: relative; }
.stat b { display: block; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stat b em { font-style: normal; color: var(--mint); }
.stat > span { color: rgba(255, 255, 255, .72); font-size: .95rem; line-height: 1.45; display: block; max-width: 24ch; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* ---------- work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.work-card {
  grid-column: span 6; display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  transform-style: preserve-3d; will-change: transform;
}
.work-card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.work-wide { grid-column: span 12; flex-direction: row; }
.work-wide .work-media { flex: 1.35; aspect-ratio: auto; display: grid; place-items: center; padding: clamp(18px, 3vw, 36px); }
.work-wide .work-media > img { height: auto; aspect-ratio: 16 / 9; border-radius: 12px; box-shadow: var(--shadow-lg); border: 6px solid #0d1020; }
.work-wide .work-body { flex: 1; align-self: center; padding: clamp(28px, 4vw, 48px); }
.work-third { grid-column: span 4; }
.work-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.work-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-media > img { transform: scale(1.04); }
.work-media > .mock { position: absolute; inset: 0; }
.work-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { margin-bottom: 10px; }
.work-body p:not(.eyebrow) { color: var(--ink-2); font-size: .98rem; }
.work-more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: .95rem; display: inline-flex; gap: 8px; }
.work-more span { transition: transform .3s var(--ease); }
.work-card:hover .work-more span { transform: translateX(4px); }
.tone-mint .eyebrow { color: var(--mint-ink); }
.tone-sun .eyebrow { color: var(--sun-ink); }
.tone-sky .eyebrow { color: var(--sky-ink); }
.tone-grape .eyebrow { color: #6b3fd6; }
.tone-mint .work-media { background: linear-gradient(135deg, #e3f8ef, #c9f0e0); }
.tone-sun .work-media { background: linear-gradient(135deg, #fff1e6, #ffe0c8); }
.tone-sky .work-media { background: linear-gradient(135deg, #eef1ff, #dbe2ff); }
.tone-grape .work-media { background: linear-gradient(135deg, #f4eeff, #e6dbff); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 18px; }
.chip { font-size: .78rem; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); }
@media (max-width: 960px) {
  .work-third { grid-column: span 6; }
  .work-wide { flex-direction: column; }
  .work-wide .work-media { aspect-ratio: auto; flex: none; }
}
@media (max-width: 680px) { .work-card, .work-third { grid-column: span 12; } }

/* ---------- lab strip ---------- */
.lab { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 24px 28px; border-radius: var(--r-lg); border: 1.5px dashed var(--line-2); background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(15, 18, 34, .015) 12px 24px); }
.lab-tag { font: 700 .74rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; background: var(--grape-tint); color: #6b3fd6; }
.lab h3 { margin: 0 0 4px; font-size: 1.2rem; }
.lab p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.wave { display: flex; gap: 3px; align-items: center; height: 36px; }
.wave i { width: 4px; border-radius: 3px; background: var(--grape); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.9s; } .wave i:nth-child(2) { height: 70%; animation-delay: -.7s; }
.wave i:nth-child(3) { height: 100%; animation-delay: -.5s; } .wave i:nth-child(4) { height: 55%; animation-delay: -.3s; }
.wave i:nth-child(5) { height: 85%; animation-delay: -.1s; } .wave i:nth-child(6) { height: 40%; animation-delay: -.6s; }
.wave i:nth-child(7) { height: 65%; animation-delay: -.2s; }
@keyframes wave { 50% { transform: scaleY(.35); } }
@media (max-width: 680px) { .lab { grid-template-columns: 1fr; } .lab-tag { justify-self: start; } }

/* ---------- services ---------- */
.services { background: var(--bg-2); }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); position: relative; overflow: hidden;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; transition: transform .5s var(--ease); }
.svc:hover .svc-ico { transform: rotate(-8deg) scale(1.06); }
.svc-ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.28rem; margin-bottom: 10px; }
.svc p { color: var(--ink-2); font-size: .97rem; margin-bottom: 14px; }
.svc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.svc li { display: flex; gap: 8px; }
.svc li::before { content: ""; width: 6px; height: 6px; margin-top: .62em; border-radius: 2px; transform: rotate(45deg); background: var(--mint); flex: none; }
.i-mint { background: var(--mint-tint); color: var(--mint-ink); }
.i-sun { background: var(--sun-tint); color: var(--sun-ink); }
.i-sky { background: var(--sky-tint); color: var(--sky-ink); }
.i-grape { background: var(--grape-tint); color: #6b3fd6; }
.i-ink { background: #e6e7ee; color: var(--ink); }
.svc { padding: 26px 24px; }
.svc h3 { font-size: 1.18rem; }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- integrations ---------- */
.integ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integ-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.integ-group:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.integ-group h3 { font-size: .8rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.integ-group .dot { width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg); flex: none; }
.integ-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.integ-group li { font: 600 1.02rem/1.3 var(--font-display); letter-spacing: -.01em; }
.integ-more { text-align: center; margin: 32px 0 0; color: var(--ink-2); }
.integ-more a { font-weight: 600; color: var(--ink); text-decoration-color: var(--mint); text-underline-offset: 3px; }
@media (max-width: 960px) { .integ-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .integ-grid { grid-template-columns: 1fr; } }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.story-card { position: sticky; top: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.story-card .portrait { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 18px; }
.story-card .portrait img { width: 120px; height: 120px; border-radius: 22px; background: linear-gradient(160deg, #dfe6ff, #c9f0e0); object-fit: cover; }
.story-card .portrait b { font: 700 1.3rem var(--font-display); display: block; }
.story-card .portrait span { color: var(--ink-3); font-size: .92rem; }
.story-card blockquote { margin: 0; font: 500 1.18rem/1.5 var(--font-display); letter-spacing: -.01em; }
.story-card .fine { margin: 16px 0 0; font-size: .82rem; color: var(--ink-3); }
.timeline { list-style: none; margin: 32px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-2), var(--mint)); }
.timeline li { position: relative; padding: 0 0 30px 48px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 16px; height: 16px; border-radius: 5px; transform: rotate(45deg); background: var(--surface); border: 2.5px solid var(--line-2); transition: background .4s, border-color .4s; }
.timeline li.in::before { border-color: var(--mint); background: var(--mint-tint); }
.timeline li:last-child::before { background: var(--mint); border-color: var(--mint); }
.timeline .when { font: 600 .78rem var(--font-mono); color: var(--mint-ink); letter-spacing: .04em; }
.timeline h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.timeline p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.term {
  margin-top: 28px; background: #0d1020; color: #c8f7e4; border-radius: 14px; padding: 16px 18px;
  font: 500 .86rem/1.6 var(--font-mono); box-shadow: var(--shadow); overflow: hidden;
}
.term .dots { display: flex; gap: 6px; margin-bottom: 10px; }
.term .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f5c; }
.term .dots i:nth-child(1) { background: #ff5f57; } .term .dots i:nth-child(2) { background: #febc2e; } .term .dots i:nth-child(3) { background: #28c840; }
.term .dim { color: #6f7799; }
.term .caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: #c8f7e4; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } .story-card { position: relative; top: 0; } }

/* ---------- process ---------- */
.process { background: var(--night); color: #fff; overflow: hidden; }
.process .eyebrow { color: #6ee7b7; }
.process .lede { color: rgba(255, 255, 255, .7); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, transform .4s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.step::before { counter-increment: step; content: "0" counter(step); font: 800 3.2rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(110, 231, 183, .7); display: block; margin-bottom: 22px; }
.step h3 { font-size: 1.35rem; }
.step p { color: rgba(255, 255, 255, .72); margin: 0; font-size: .98rem; }
.promise { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.promise span { display: inline-flex; align-items: center; gap: 10px; }
.promise svg { width: 18px; height: 18px; color: #6ee7b7; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; width: 360px; height: 360px; left: -140px; bottom: -180px; background: radial-gradient(circle, rgba(18, 184, 134, .22), transparent 65%); pointer-events: none; }
.contact-info h2 { margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.contact-list a { font-weight: 600; color: var(--ink); text-decoration-color: var(--mint); text-underline-offset: 3px; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); flex: none; }
.contact-list svg { width: 19px; height: 19px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--mint); background: var(--surface); box-shadow: 0 0 0 4px rgba(18, 184, 134, .16); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; margin-top: 4px; }
.form-foot small { color: var(--ink-3); }
.form-status { grid-column: 1 / -1; display: none; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.form-status.ok { display: block; background: var(--mint-tint); color: var(--mint-ink); }
.form-status.err { display: block; background: var(--sun-tint); color: var(--sun-ink); }
.form-status a { font-weight: 700; color: inherit; }
@media (max-width: 860px) { .contact-card { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { padding: 72px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; }
.footer-brand p { color: var(--ink-2); max-width: 36ch; margin-top: 16px; font-size: .95rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font: 600 .78rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-cols a, .footer-cols span { display: block; text-decoration: none; color: var(--ink-2); font-size: .95rem; padding: 4px 0; }
.footer-cols a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 56px; padding-top: 22px; color: var(--ink-3); font-size: .85rem; position: relative; }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- case study ---------- */
.case-hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.case-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); max-width: 18ch; }
.case-hero .lede { margin-bottom: 0; }
.case-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 48px; margin: 34px 0 44px; padding: 20px 0; border-block: 1px solid var(--line); }
.case-meta dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 600; margin-bottom: 6px; }
.case-meta dd { margin: 0; font-weight: 600; }
.case-meta .chips { margin: 0; }
.case-stage { border-radius: var(--r-lg); padding: clamp(14px, 3vw, 36px); position: relative; overflow: hidden; }
.tone-mint .case-stage { background: linear-gradient(135deg, #e3f8ef, #bdeed9); }
.tone-sun .case-stage { background: linear-gradient(135deg, #fff1e6, #ffd6b8); }
.tone-sky .case-stage { background: linear-gradient(135deg, #eef1ff, #cfd8ff); }
.tone-grape .case-stage { background: linear-gradient(135deg, #f4eeff, #ddd0ff); }
.case-stage .hero-shot img, .case-stage > .mock { border-radius: 14px; box-shadow: var(--shadow-lg); }
.case-stage > .mock { position: relative; aspect-ratio: 16 / 9; }
.case-stage > .mock { background: none; box-shadow: none; overflow: visible; }
.case-stage > .mock .mwin { inset: 4% 4% 0; }
.gallery:empty { display: none; }
.hero-shot, .zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.case-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); padding: clamp(56px, 8vw, 96px) 0 0; }
.case-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.case-body p { color: var(--ink-2); }
.built { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.built li { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.built li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.built strong { font-family: var(--font-display); font-size: 1.08rem; }
.built span { color: var(--ink-2); font-size: .96rem; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: clamp(48px, 7vw, 80px); }
.result { padding: 26px; border-radius: var(--r); background: var(--ink); color: #fff; }
.result b { display: block; font: 800 clamp(1.7rem, 3vw, 2.3rem)/1.05 var(--font-display); letter-spacing: -.03em; color: #6ee7b7; margin-bottom: 8px; }
.result span { color: rgba(255, 255, 255, .75); font-size: .94rem; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: clamp(48px, 7vw, 80px); }
.gal-item { margin: 0; grid-column: span 6; }
.gal-full { grid-column: span 12; }
.gal-third { grid-column: span 4; }
.gal-twothird { grid-column: span 8; }
.gal-item img { border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); width: 100%; transition: transform .5s var(--ease), box-shadow .5s; }
.gal-item .zoom:hover img { transform: translateY(-3px); box-shadow: var(--shadow); }
.gal-mock .mock { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; box-shadow: var(--shadow-sm); }
.gal-item figcaption { font-size: .88rem; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 760px) { .gal-item, .gal-third, .gal-twothird { grid-column: span 12; } }
.case-note { margin-top: 28px; font-size: .88rem; color: var(--ink-3); }
.next-case { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(64px, 9vw, 112px); padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: box-shadow .4s, transform .4s var(--ease); }
.next-case:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.next-case h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin: 0; }
.next-case .go { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 1.4rem; flex: none; transition: transform .4s var(--ease); }
.next-case:hover .go { transform: rotate(-45deg); }
@media (max-width: 760px) { .case-body { grid-template-columns: 1fr; } .case-meta { grid-template-columns: 1fr 1fr; } }
.cta-band { margin-top: clamp(40px, 6vw, 72px); text-align: center; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10, 12, 24, .92); display: grid; place-items: center; padding: 56px 64px; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: pop .35s var(--ease); }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: .92rem; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
@media (max-width: 600px) { .lightbox { padding: 64px 10px; } .lb-prev, .lb-next { top: auto; bottom: 10px; translate: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost .big { font: 800 clamp(6rem, 22vw, 13rem)/.9 var(--font-display); letter-spacing: -.06em; background: linear-gradient(120deg, var(--mint), var(--sky) 55%, var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Product mockups (sample data; scale with container via cqw units)
   ========================================================================== */
.mock { container-type: size; font-family: var(--font-body); overflow: hidden; color: var(--ink); }
.mock * { box-sizing: border-box; }
.mwin { position: absolute; inset: 7% 6% 0; background: #fff; border-radius: 1.4cqw 1.4cqw 0 0; box-shadow: 0 2cqw 5cqw -1cqw rgba(15, 18, 34, .25); overflow: hidden; display: flex; flex-direction: column; }
.mbar { display: flex; align-items: center; gap: .8cqw; height: 5.5cqw; padding: 0 1.8cqw; border-bottom: 1px solid #eceae4; flex: none; background: #fbfaf7; }
.mbar i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #e3dfd5; }
.mbar b { margin-left: 1.4cqw; font-size: 1.5cqw; font-weight: 600; color: #7a7f93; }
.mbar .url { margin: 0 auto; padding: .5cqw 3cqw; background: #f0eee8; border-radius: 1cqw; font-size: 1.3cqw; color: #7a7f93; }
.mapp { display: flex; flex: 1; min-height: 0; }
.mside { width: 17cqw; background: #12162b; color: #aeb4cc; padding: 2cqw 1.6cqw; display: flex; flex-direction: column; gap: .9cqw; font-size: 1.35cqw; flex: none; }
.mside .brand { color: #fff; font-weight: 700; font-size: 1.7cqw; margin-bottom: 1.2cqw; display: flex; align-items: center; gap: .8cqw; }
.mside .brand::before { content: ""; width: 1.6cqw; height: 1.6cqw; border-radius: .4cqw; background: var(--accent, var(--mint)); transform: rotate(45deg); }
.mside span { padding: .7cqw 1cqw; border-radius: .7cqw; }
.mside span.on { background: rgba(255, 255, 255, .1); color: #fff; }
.mmain { flex: 1; padding: 2.2cqw; display: flex; flex-direction: column; gap: 1.6cqw; min-width: 0; background: #f7f6f2; }
.mh { display: flex; justify-content: space-between; align-items: center; }
.mh b { font-size: 2.1cqw; font-family: var(--font-display); }
.mh em { font-style: normal; font-size: 1.3cqw; padding: .6cqw 1.4cqw; border-radius: 99px; background: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2cqw; }
.kpi { background: #fff; border-radius: 1cqw; padding: 1.3cqw 1.5cqw; border: 1px solid #ebe8e0; }
.kpi small { display: block; font-size: 1.15cqw; color: #7a7f93; }
.kpi b { font-size: 2.3cqw; font-family: var(--font-display); letter-spacing: -.02em; }
.kpi b.up { color: var(--mint-ink); }
.mcard { background: #fff; border-radius: 1cqw; border: 1px solid #ebe8e0; padding: 1.5cqw; min-height: 0; }
.mcard h6 { margin: 0 0 1.2cqw; font-size: 1.35cqw; color: #464c63; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 1.1cqw; height: 15cqw; padding-top: 1cqw; }
.bars i { flex: 1; border-radius: .5cqw .5cqw 0 0; background: linear-gradient(var(--sky), #8aa0ff); transform-origin: bottom; animation: grow 1.2s var(--ease) both; }
.bars i:nth-child(odd) { background: linear-gradient(var(--mint), #7fe0bf); }
.bars i:nth-child(1) { animation-delay: .05s } .bars i:nth-child(2) { animation-delay: .1s } .bars i:nth-child(3) { animation-delay: .15s }
.bars i:nth-child(4) { animation-delay: .2s } .bars i:nth-child(5) { animation-delay: .25s } .bars i:nth-child(6) { animation-delay: .3s }
.bars i:nth-child(7) { animation-delay: .35s } .bars i:nth-child(8) { animation-delay: .4s } .bars i:nth-child(9) { animation-delay: .45s }
.bars i:nth-child(10) { animation-delay: .5s } .bars i:nth-child(11) { animation-delay: .55s } .bars i:nth-child(12) { animation-delay: .6s }
@keyframes grow { from { transform: scaleY(0); } }
.mrow2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.4cqw; flex: 1; min-height: 0; }
.recon { display: grid; gap: .9cqw; font-size: 1.25cqw; }
.recon div { display: flex; justify-content: space-between; align-items: center; padding: .9cqw 1.1cqw; border-radius: .8cqw; background: #f7f6f2; }
.recon div b { font-size: 1.25cqw; padding: .3cqw .9cqw; border-radius: 99px; }
.ok { background: var(--mint-tint); color: var(--mint-ink); }
.warn { background: var(--sun-tint); color: var(--sun-ink); }
.info { background: var(--sky-tint); color: var(--sky-ink); }
.mtable { width: 100%; border-collapse: collapse; font-size: 1.3cqw; }
.mtable th { text-align: left; color: #7a7f93; font-weight: 600; padding: .8cqw 1cqw; border-bottom: 1px solid #ebe8e0; font-size: 1.15cqw; }
.mtable td { padding: 1cqw; border-bottom: 1px solid #f0eee8; white-space: nowrap; }
.mtable tr { animation: rowin .6s var(--ease) both; }
.mtable tr:nth-child(2) { animation-delay: .1s } .mtable tr:nth-child(3) { animation-delay: .2s } .mtable tr:nth-child(4) { animation-delay: .3s } .mtable tr:nth-child(5) { animation-delay: .4s }
@keyframes rowin { from { opacity: 0; transform: translateX(-8px); } }
.tag { display: inline-block; padding: .3cqw .9cqw; border-radius: 99px; font-size: 1.1cqw; font-weight: 600; }
.route { font-weight: 600; }
.route small { color: #7a7f93; font-weight: 400; }

/* jms mock (Tabler-style top nav) */
.tnav { display: flex; align-items: center; gap: .4cqw; height: 5.6cqw; padding: 0 2cqw; border-bottom: 1px solid #e6e8ef; background: #fff; font-size: 1.3cqw; color: #626976; flex: none; }
.tnav .tbrand { font: 800 1.8cqw var(--font-display); color: #206bc4; margin-right: 1.6cqw; letter-spacing: -.02em; }
.tnav span { padding: .7cqw 1.1cqw; border-radius: .6cqw; }
.tnav span.on { color: #206bc4; background: #e8f0fb; font-weight: 600; }
.tmain { background: #f6f8fb; }
.tbtn { background: #206bc4 !important; }
.tlow { color: #d63939; }
.tconv { background: #e8f0fb; color: #206bc4; }

/* dispatch mock */
.mock-dispatch { background: linear-gradient(135deg, #fff1e6, #ffd9bd); }
.dsp { position: absolute; inset: 6%; display: grid; grid-template-columns: 34% 1fr; gap: 3%; }
.mail { background: #fff; border-radius: 1.6cqw; padding: 2cqw; box-shadow: 0 2cqw 4cqw -2cqw rgba(15, 18, 34, .3); font-size: 1.35cqw; display: flex; flex-direction: column; gap: 1.1cqw; align-self: center; }
.mail .from { display: flex; gap: 1cqw; align-items: center; }
.mail .av { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; background: var(--sun); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.4cqw; flex: none; }
.mail .from b { display: block; font-size: 1.4cqw; }
.mail .from small { color: #7a7f93; font-size: 1.1cqw; }
.mail .subj { font-weight: 700; font-size: 1.55cqw; }
.mail .att { border-radius: 1cqw; background: repeating-linear-gradient(0deg, #f3f1ea 0 1.6cqw, #fff 1.6cqw 3.2cqw); border: 1px solid #ebe8e0; height: 11cqw; position: relative; overflow: hidden; }
.mail .att::before { content: "trucks_1010.png"; position: absolute; left: 1cqw; bottom: .8cqw; font-size: 1.05cqw; background: #fff; padding: .2cqw .8cqw; border-radius: .5cqw; color: #464c63; border: 1px solid #ebe8e0; }
.mail .att::after { content: ""; position: absolute; left: 0; right: 0; height: 18%; background: linear-gradient(transparent, rgba(255, 122, 26, .45), transparent); animation: scan 2.4s ease-in-out infinite; }
@keyframes scan { 0% { top: -20%; } 100% { top: 100%; } }
.mail .ai { display: flex; align-items: center; gap: .8cqw; font-size: 1.2cqw; font-weight: 600; color: var(--sun-ink); background: var(--sun-tint); border-radius: .8cqw; padding: .8cqw 1cqw; }
.mail .ai i { width: 1cqw; height: 1cqw; border-radius: 50%; background: var(--sun); animation: blinkdot 1s ease-in-out infinite; }
@keyframes blinkdot { 50% { opacity: .3; } }
.mapcard { background: #0f1430; border-radius: 1.6cqw; position: relative; overflow: hidden; box-shadow: 0 2cqw 4cqw -2cqw rgba(15, 18, 34, .45); }
.mapcard svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapcard .legend { position: absolute; left: 1.6cqw; top: 1.4cqw; color: #fff; font-size: 1.4cqw; font-weight: 700; display: flex; gap: 1cqw; align-items: center; }
.mapcard .legend em { font-style: normal; background: var(--mint); color: #04231a; padding: .3cqw 1cqw; border-radius: 99px; font-size: 1.15cqw; }
.pin { transform-box: fill-box; transform-origin: center; animation: pinin .5s var(--ease) both; }
@keyframes pinin { from { transform: scale(0); opacity: 0; } }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

/* team board phone mock / voice mock */
.mock-voice { background: linear-gradient(135deg, #f4eeff, #ddd0ff); }
.call { position: absolute; inset: 7% 22%; background: #12162b; border-radius: 3cqw; padding: 3cqw 2.6cqw; display: flex; flex-direction: column; gap: 1.4cqw; box-shadow: 0 3cqw 6cqw -2cqw rgba(15, 18, 34, .5); }
.call-top { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 1.5cqw; }
.call-top b { font-size: 1.8cqw; }
.call-top .live { font-size: 1.15cqw; background: #e11d48; padding: .3cqw 1cqw; border-radius: 99px; font-weight: 700; }
.bub { max-width: 82%; padding: 1.2cqw 1.6cqw; border-radius: 1.6cqw; font-size: 1.4cqw; line-height: 1.4; animation: rowin .6s var(--ease) both; }
.bub.ai { background: #2a2f55; color: #e6e8ff; border-bottom-left-radius: .4cqw; }
.bub.hu { background: #6ee7b7; color: #04231a; margin-left: auto; border-bottom-right-radius: .4cqw; }
.bub:nth-of-type(2) { animation-delay: .4s } .bub:nth-of-type(3) { animation-delay: .9s } .bub:nth-of-type(4) { animation-delay: 1.4s }
.call .keys { margin-top: auto; display: flex; gap: .8cqw; align-items: center; color: #aeb4cc; font-size: 1.2cqw; }
.call .keys span { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: #2a2f55; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.4cqw; }

/* wh2o mock */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8cqw; flex: 1; min-height: 0; }
.cal-col { background: #fff; border: 1px solid #ebe8e0; border-radius: 1cqw; padding: 1cqw; display: flex; flex-direction: column; gap: .8cqw; min-height: 0; overflow: hidden; }
.cal-col h6 { margin: 0 0 .2cqw; font-size: 1.2cqw; color: #7a7f93; font-weight: 600; }
.job { border-radius: .7cqw; padding: .8cqw 1cqw; font-size: 1.1cqw; line-height: 1.35; border-left: .45cqw solid; animation: rowin .6s var(--ease) both; }
.job b { display: block; font-size: 1.15cqw; }
.job.j1 { background: var(--sky-tint); border-color: var(--sky); }
.job.j2 { background: var(--mint-tint); border-color: var(--mint); }
.job.j3 { background: var(--sun-tint); border-color: var(--sun); }
.job.j4 { background: var(--grape-tint); border-color: var(--grape); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hl::after { transform: none; }
}
