/* =========================================================
   Click Agency — Palette F: Sage
   Tokens come straight from the brand guide (section 7).
   ========================================================= */
:root {
  --sage: #9BB39A;
  --leaf: #DCE6D8;
  --sand: #E9DFCF;
  --linen: #F4F2EC;
  --forest: #1F2420;

  --white: #FFFFFF;
  --moss: #4E6B4D;
  --slate: #515A53;
  --sage-deep: #6E8C6C;
  --line: #E6E3DA;

  --sage-50: #F3F6F3;  --sage-100: #E6ECE6; --sage-200: #D2DDD2;
  --sage-300: #B9CAB8; --sage-400: #A7BCA6; --sage-500: #9BB39A;
  --sage-600: #80947F; --sage-700: #677767; --sage-800: #4E5A4E;
  --sage-900: #353E36;

  --error: #B3412E;

  --bg: var(--linen);
  --surface: var(--white);
  --text: var(--forest);
  --text-muted: var(--slate);
  --link: var(--moss);
  --border: var(--line);
  --focus: var(--moss);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(31, 36, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 36, 32, 0.08);
  --shadow-lg: 0 20px 48px rgba(31, 36, 32, 0.12);

  --font: 'Space Grotesk', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;
  --gutter: 24px;
}
@media (min-width: 900px) { :root { --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::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; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (max-width: 640px) { body { font-size: 16px; } }

img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--leaf); color: var(--forest); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--forest); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Anti-spam field: invisible to people, filled in by bots */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 300; background: var(--forest); color: var(--white); padding: 12px 18px; border-radius: var(--radius-pill); transform: translateY(-200%); text-decoration: none; font-weight: 700; }
.skip-link:focus { transform: none; color: var(--white); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
  color: var(--moss); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sage); flex: none; }
.display { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -.04em; }
.h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.03em; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--slate); max-width: 52ch; }

.hl {
  color: inherit; padding: 0 .16em; margin: 0 -.04em; border-radius: 10px;
  background-color: transparent;
  background-image: linear-gradient(var(--leaf), var(--leaf));
  background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.contact .hl, .page-cta .hl, .pj-cta .hl { background-image: linear-gradient(var(--white), var(--white)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--radius-pill); border: 0;
  font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary   { background: var(--forest); color: var(--white); }
.btn-primary:hover   { background: var(--sage-900); color: var(--white); }
.btn-primary:active  { background: #000; }
.btn-secondary { background: var(--leaf); color: var(--forest); }
.btn-secondary:hover { background: var(--sage-200); color: var(--forest); }
.btn-brand     { background: var(--sage); color: var(--forest); }
.btn-brand:hover     { background: var(--sage-400); color: var(--forest); }
.btn-outline   { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn-outline:hover   { background: var(--leaf); color: var(--forest); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-word { font-family: var(--font); font-weight: 700; font-size: 26px; letter-spacing: -.055em; color: var(--forest); line-height: 1; }
.logo-dot { color: var(--sage-deep); }
.logo-mark { overflow: visible; }
.logo-cursor, .logo-rays { transform-box: view-box; transform-origin: 44px 34px; transition: transform .25s var(--ease); }
.logo:hover .logo-cursor { animation: logo-tap .5s var(--ease); }
.logo:hover .logo-rays { animation: logo-rays .5s var(--ease); }
@keyframes logo-tap { 40% { transform: scale(.8); } }
@keyframes logo-rays { 40% { transform: scale(1.25); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), border-color .3s ease, background-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { position: relative; color: var(--slate); font-weight: 500; font-size: 15px; text-decoration: none; padding: 8px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sage); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: var(--sage-50); border: 1px solid var(--line); }
.lang button { min-width: 44px; height: 38px; border: 0; background: transparent; border-radius: var(--radius-pill); font: 700 13px/1 var(--font); letter-spacing: .06em; color: var(--slate); cursor: pointer; transition: background-color .25s, color .25s; }
.lang button:hover { color: var(--forest); }
.lang button[aria-pressed="true"] { background: var(--forest); color: var(--white); }
.lang-dark { background: rgba(255, 255, 255, .06); border-color: #333B35; }
.lang-dark button { color: #A9B3AB; }
.lang-dark button:hover { color: var(--white); }
.lang-dark button[aria-pressed="true"] { background: var(--leaf); color: var(--forest); }

.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--leaf); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: var(--linen);
  padding: 32px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a:not(.btn) { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--forest); text-decoration: none; padding: 6px 0; }
.mobile-menu .btn { align-self: stretch; }

@media (max-width: 899px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-block; }
}

/* ---------- Intro ---------- */
.intro { display: none; }
html.intro-on body { overflow: hidden; }
html.intro-on .intro {
  display: flex; position: fixed; inset: 0; z-index: 400;
  align-items: center; justify-content: center; overflow: hidden;
  background: var(--linen); cursor: pointer;
}
.intro-stage { display: flex; align-items: center; opacity: 0; }
.intro-markwrap { position: relative; flex: none; }
.intro-mark { width: clamp(88px, 11vw, 140px); height: auto; overflow: visible; }
.intro-ripple {
  position: absolute; left: 36.7%; top: 28.3%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--sage-600); transform: translate(-50%, -50%); opacity: 0; pointer-events: none;
}
.intro-word { display: flex; flex-direction: column; overflow: hidden; white-space: nowrap; padding-left: clamp(16px, 2vw, 26px); }
.intro-click { display: flex; font-size: clamp(64px, 9vw, 124px); font-weight: 700; letter-spacing: -.055em; line-height: .92; color: var(--forest); overflow: hidden; padding-bottom: .06em; }
.intro-click .ch { display: inline-block; }
.intro-click .dot { color: var(--sage-deep); }
.intro-agency { font-size: clamp(11px, 1.3vw, 16px); font-weight: 500; letter-spacing: .9em; color: var(--slate); margin-top: 6px; padding-left: .2em; }
.intro-skip { position: absolute; bottom: 32px; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -18vw; top: -10vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 230, 216, .95), rgba(220, 230, 216, 0));
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 40vw; height: 40vw; left: -14vw; bottom: -18vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233, 223, 207, .8), rgba(233, 223, 207, 0));
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero .display .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero .display .line > span { display: inline-block; }
.hero .lead { margin-top: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-visual { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center; }
.hero-visual::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 8%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(31, 36, 32, .16), rgba(31, 36, 32, 0));
}
.hero-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s ease; }
.hero-visual.is-3d canvas { opacity: 1; cursor: pointer; }
.hero-fallback { position: absolute; left: 25%; top: 22%; width: 50%; height: auto; transition: opacity .4s ease; animation: float 6s ease-in-out infinite; }
.hero-visual.is-3d .hero-fallback { opacity: 0; }
.hero-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; color: var(--slate); }
.hero-hint svg { color: var(--moss); }
.hero-visual:not(.is-3d) .hero-hint { visibility: hidden; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--slate); text-decoration: none; }
.scroll-cue i { width: 2px; height: 40px; border-radius: 2px; background: var(--sage-200); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40%; background: var(--forest); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

@media (max-width: 899px) {
  .hero { min-height: 0; padding: calc(var(--nav-h) + 32px) 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { max-width: 400px; order: 2; }
  .scroll-cue { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--white); border-block: 1px solid var(--line); padding: 34px 0; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-item { font-size: clamp(40px, 6vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1; white-space: nowrap; color: var(--forest); }
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1.5px var(--forest); }
.marquee-sep { width: clamp(36px, 4.4vw, 56px); height: clamp(36px, 4.4vw, 56px); flex: none; }
html:not(.has-gsap) .marquee-track { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 128px 0; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head .h2 { max-width: 18ch; }
@media (max-width: 899px) {
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}

/* ---------- Services (stacking cards) ---------- */
.services { background: var(--white); }
.stack { display: grid; gap: 28px; }
.svc-card {
  position: sticky; top: calc(var(--nav-h) + 28px + var(--i) * 18px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  min-height: 480px; padding: 56px; border-radius: var(--radius-lg);
  background: var(--card); border: 1px solid var(--line);
  transform-origin: 50% 0;
}
.svc-num { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--moss); margin-bottom: 16px; }
.svc-card h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 18px; }
.svc-card p { color: var(--slate); max-width: 48ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag { padding: 6px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; background: var(--leaf); color: var(--moss); }
.tags-light .tag { background: var(--white); }
.svc-art { position: relative; border-radius: 20px; }
.art { width: 100%; height: auto; overflow: visible; }

@media (max-width: 899px) {
  .svc-card { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; min-height: 0; top: calc(var(--nav-h) + 16px + var(--i) * 10px); }
  .svc-art { order: -1; width: 100%; max-width: 360px; }
}
/* Tablets: bigger artwork, two posts at a time in "you + click" */
@media (min-width: 600px) and (max-width: 899px) {
  .svc-art { max-width: 500px; margin: 0 auto; }
  .social .social-track { grid-auto-columns: calc(50% - 7px); }
}

/* Illustrations: CSS animations, only running while in view */
.art * { transform-box: fill-box; }
.svc-art .art * { animation-play-state: paused !important; }
.svc-art.is-in .art * { animation-play-state: running !important; }

/* Real work inside the service cards — a 4:3 stage, everything placed in % */
.work-art { position: relative; aspect-ratio: 4 / 3; }
.work-art img { display: block; width: 100%; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-6deg); } }

/* 01 Social: one 16s loop of 4 posts (4s each). Per post: it slides in, gets a double-tap,
   the like fills and the notifications arrive. The calendar and the report run on the full loop. */
.sw-phone { position: absolute; left: 30%; top: 0; width: 40%; height: 100%; z-index: 2; background: var(--white); border: 3px solid var(--forest); border-radius: 28px; overflow: hidden; box-shadow: 0 24px 50px rgba(31, 36, 32, .18); }
.sw-ig-head { display: flex; align-items: center; gap: 7px; height: 11%; padding: 0 8%; }
.sw-avatar { width: 22px !important; height: 22px; border-radius: 50%; object-fit: cover; padding: 1.5px; background: var(--white); box-shadow: 0 0 0 2px var(--sage); flex: none; }
.sw-handle { flex: 1; min-width: 0; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-more { font-size: 9px; letter-spacing: 1px; color: var(--slate); }
.sw-feed-window { position: absolute; left: 0; right: 0; top: 11%; bottom: 0; overflow: hidden; }
.sw-feed { animation: sw-feed 16s cubic-bezier(.65, 0, .25, 1) infinite; }
.sw-post { margin: 0; }
.sw-post img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.sw-post figcaption { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 7%; }
.sw-post figcaption svg { width: 16px; height: 16px; fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.sw-post .sw-save { margin-left: auto; }
.sw-like { transform-origin: center; animation: sw-like 4s var(--ease) infinite; }
.sw-doubletap { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 4 / 5; padding: 32%; fill: var(--white); filter: drop-shadow(0 8px 18px rgba(31, 36, 32, .4)); opacity: 0; animation: sw-heart 4s var(--ease) infinite; }

.sw-cal { position: absolute; left: 0; top: 7%; width: 26%; padding: 9px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-md); animation: floaty 7s ease-in-out infinite; }
.sw-cal-head { margin-bottom: 7px; font-size: 10px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.sw-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.sw-cal-grid i { aspect-ratio: 1; border-radius: 4px; background: var(--sage-100); animation: sw-day 16s var(--ease) infinite both; animation-delay: calc(var(--n) * .9s); }
.sw-cal-grid i:nth-child(7n + 3) { --on: var(--forest); }

.sw-reel { position: absolute; left: 11%; bottom: 12%; width: 12%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--forest); box-shadow: var(--shadow-md); animation: floaty 5s ease-in-out infinite -2s; }
.sw-reel svg { width: 44%; fill: var(--leaf); }
.sw-reel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--forest); animation: sw-ring 2s ease-out infinite; }

.sw-toasts { position: absolute; right: 0; top: 10%; width: 28%; display: grid; gap: 7px; list-style: none; margin: 0; padding: 0; z-index: 3; }
.sw-toast { display: flex; align-items: center; gap: 7px; padding: 5px 10px 5px 5px; border-radius: 99px; background: var(--white); box-shadow: var(--shadow-md); font-size: 11px; font-weight: 600; white-space: nowrap; opacity: 0; animation: sw-toast 4s var(--ease) infinite; }
.sw-toast:nth-child(2) { animation-delay: .35s; }
.sw-toast:nth-child(3) { animation-delay: .7s; }
.sw-ti { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--forest); }
.sw-ti svg { width: 11px; height: 11px; fill: var(--leaf); stroke: var(--leaf); stroke-width: 2; stroke-linecap: round; }
.sw-toast:nth-child(2) .sw-ti { background: var(--sage); }
.sw-toast:nth-child(2) .sw-ti svg { fill: none; stroke: var(--forest); }
.sw-toast:nth-child(3) .sw-ti svg { fill: none; stroke-width: 3; }

.sw-report { position: absolute; right: 2%; bottom: 6%; width: 25%; padding: 8px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-md); animation: floaty 6s ease-in-out infinite -3s; }
.sw-report svg { display: block; width: 100%; overflow: visible; }
.sw-line { fill: none; stroke: var(--moss); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; animation: sw-draw 16s var(--ease) infinite; }
.sw-area { fill: var(--leaf); opacity: 0; animation: sw-area 16s var(--ease) infinite; }

/* posts are equal height: one step = 12.5% of the doubled feed; the post holds, then slides up */
@keyframes sw-feed { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-12.5%); } 50%, 70% { transform: translateY(-25%); } 75%, 95% { transform: translateY(-37.5%); } 100% { transform: translateY(-50%); } }
@keyframes sw-heart { 0%, 22% { opacity: 0; transform: scale(.3) rotate(-12deg); } 30% { opacity: 1; transform: scale(1.2) rotate(6deg); } 36%, 52% { opacity: 1; transform: scale(1) rotate(0); } 62%, 100% { opacity: 0; transform: scale(.85) translateY(-14%); } }
@keyframes sw-like { 0%, 28% { fill: transparent; transform: scale(1); } 33% { fill: var(--forest); transform: scale(1.4); } 40%, 78% { fill: var(--forest); transform: scale(1); } 82%, 100% { fill: transparent; transform: scale(1); } }
@keyframes sw-toast { 0%, 34% { opacity: 0; transform: translateX(24px) scale(.9); } 42%, 72% { opacity: 1; transform: none; } 80%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes sw-day { 0%, 2% { background: var(--sage-100); transform: scale(1); } 5% { background: var(--on, var(--sage)); transform: scale(1.35); } 8%, 82% { background: var(--on, var(--sage)); transform: scale(1); } 88%, 100% { background: var(--sage-100); } }
@keyframes sw-ring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
@keyframes sw-draw { 0%, 8% { stroke-dashoffset: 160; opacity: 1; } 55%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes sw-area { 0%, 45% { opacity: 0; } 60%, 92% { opacity: .9; } 100% { opacity: 0; } }

/* 02 Websites: our sites take turns in the browser, scrolling top to bottom */
.sw-site { position: absolute; inset: 0; opacity: 0; animation: sw-site 20s var(--ease) infinite both; animation-delay: calc(var(--n) * 5s); }
.sw-browser { position: absolute; left: 0; top: 3%; width: 86%; height: 82%; background: var(--white); border: 3px solid var(--forest); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.sw-bar { display: flex; align-items: center; gap: 5px; height: 11%; padding: 0 12px; border-bottom: 3px solid var(--forest); }
.sw-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-300); }
.sw-bar span { margin-left: 10px; padding: 2px 12px; border-radius: 99px; background: var(--sage-50); border: 1px solid var(--line); font-size: 11px; font-weight: 500; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-screen { position: absolute; left: 0; right: 0; top: 11%; bottom: 0; overflow: hidden; }
.sw-screen img, .sw-mini img { animation: sw-scroll 20s cubic-bezier(.6, 0, .3, 1) infinite both; animation-delay: calc(var(--n) * 5s); }
.sw-mini { position: absolute; right: 2%; bottom: 0; width: 23%; aspect-ratio: 9 / 18.5; background: var(--white); border: 3px solid var(--forest); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.sw-cursor { position: absolute; left: 0; top: 0; width: 7%; animation: sw-cursor 5s var(--ease) infinite; z-index: 2; }
.sw-cursor svg { width: 100%; overflow: visible; fill: var(--forest); stroke: var(--white); stroke-width: 5; stroke-linejoin: round; }
@keyframes sw-site { 0% { opacity: 0; transform: translateY(14px) scale(.98); } 4%, 23% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes sw-scroll { 0%, 6% { transform: translateY(0); } 23%, 100% { transform: translateY(-38%); } }
@keyframes sw-cursor { 0% { transform: translate(560%, 900%); } 30% { transform: translate(250%, 560%); } 36% { transform: translate(250%, 560%) scale(.8); } 42%, 60% { transform: translate(250%, 560%) scale(1); } 85%, 100% { transform: translate(560%, 900%); } }

/* 03 Apps: Tap and Travel — tap the map, the next screen opens */
.sw-device { position: absolute; top: 9%; width: 29%; aspect-ratio: 420 / 911; background: var(--white); border: 4px solid var(--forest); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); animation: sw-float 6s ease-in-out infinite; }
.sw-d1 { left: 9%; --r: -9deg; animation-delay: -2s; }
.sw-d3 { right: 9%; --r: 9deg; animation-delay: -4s; }
.sw-d2 { left: 35.5%; top: 0; --r: 0deg; z-index: 2; }
.sw-device img { height: 100%; object-fit: cover; object-position: top; }
.sw-swap { position: absolute; inset: 0; opacity: 0; animation: sw-swap 6s var(--ease) infinite; }
.sw-tap { position: absolute; left: 55%; top: 44%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; background: rgba(78, 107, 77, .45); opacity: 0; animation: sw-tap 6s ease-out infinite; }
.sw-appbadge { position: absolute; left: 50%; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); white-space: nowrap; transform: translateX(-50%); animation: sw-badge 6s var(--ease) infinite; }
.sw-appbadge img { width: 38px; height: 38px; border-radius: 10px; }
.sw-appbadge b { display: block; font-size: 14px; }
.sw-appbadge small { display: block; font-size: 12px; color: var(--slate); }
@keyframes sw-float { 0%, 100% { transform: translateY(0) rotate(var(--r)); } 50% { transform: translateY(-10px) rotate(var(--r)); } }
@keyframes sw-tap { 0%, 30% { opacity: 0; transform: scale(.3); } 34% { opacity: 1; transform: scale(1); } 44%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes sw-swap { 0%, 38% { opacity: 0; transform: translateX(30%); } 46%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes sw-badge { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

/* 04 Design: posts we designed, shuffling round like a fanned deck */
.sw-card { position: absolute; left: 30.5%; top: 4%; width: 39%; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 3px solid var(--white); box-shadow: var(--shadow-md); background: var(--white); animation: sw-deck 15s cubic-bezier(.6, 0, .25, 1) infinite; animation-delay: calc(var(--n) * -3s); }
.sw-card img { height: 100%; object-fit: cover; }
@keyframes sw-deck {
  0%, 15% { transform: none; z-index: 5; }
  20%, 35% { transform: translate(62%, 8%) rotate(9deg) scale(.84); z-index: 4; }
  40%, 55% { transform: translate(104%, 18%) rotate(16deg) scale(.68); z-index: 3; }
  60%, 75% { transform: translate(-104%, 18%) rotate(-16deg) scale(.68); z-index: 1; }
  80%, 95% { transform: translate(-62%, 8%) rotate(-9deg) scale(.84); z-index: 2; }
  100% { transform: none; z-index: 5; }
}

@media (max-width: 899px) {
  .sw-post figcaption { height: 24px; gap: 6px; }
  .sw-post figcaption svg { width: 12px; height: 12px; }
  .sw-handle { font-size: 8px; }
  .sw-avatar { width: 16px !important; height: 16px; }
  .sw-phone { border-radius: 20px; }
  .sw-cal { padding: 6px; border-radius: 10px; }
  .sw-cal-head { font-size: 7px; margin-bottom: 4px; }
  .sw-cal-grid { gap: 2px; }
  .sw-toast { font-size: 8px; gap: 4px; padding: 3px 6px 3px 3px; }
  .sw-ti { width: 14px; height: 14px; }
  .sw-ti svg { width: 8px; height: 8px; }
  .sw-report { padding: 5px; border-radius: 10px; }
  .sw-bar span { font-size: 9px; }
  .sw-appbadge { padding: 6px 12px 6px 6px; gap: 8px; }
  .sw-appbadge img { width: 30px; height: 30px; }
  .sw-appbadge b { font-size: 12px; }
}

/* ---------- Statement ---------- */
.statement-wrap { padding-bottom: 64px; }
.statement-mark { margin-bottom: 32px; }
.statement { font-size: clamp(28px, 4.1vw, 56px); line-height: 1.14; letter-spacing: -.03em; font-weight: 700; max-width: 1080px; color: var(--forest); }
.statement .w { display: inline; }

/* Client logos in the marquee, sliding the opposite way to the services */
.marquee-logos { margin-top: 30px; }
.logo-group { list-style: none; margin: 0; gap: 72px; padding-right: 72px; }
.logo-group li { flex: none; display: flex; align-items: center; height: 56px; }
.logo-group img { height: 100%; width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1) brightness(.62) contrast(1.15); opacity: .7; transition: filter .35s ease, opacity .35s ease; }
.logo-group li:hover img { filter: none; opacity: 1; }
/* wide wordmarks would dominate at full height */
.logo-group img[src*="modelplast"], .logo-group img[src*="ushaf"] { height: 62%; }
.logo-group img[src*="hotel"] { height: 118%; filter: grayscale(1) brightness(.45) contrast(1.4); }
html:not(.has-gsap) .marquee-logos { animation: marquee-back 46s linear infinite; }
@keyframes marquee-back { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 899px) {
  .marquee-logos { margin-top: 20px; }
  .logo-group { gap: 44px; padding-right: 44px; }
  .logo-group li { height: 40px; }
}
/* ---------- Work ---------- */
.work { background: var(--linen); overflow: hidden; }
.work-pin { padding: 96px 0 72px; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.work-lead { color: var(--slate); max-width: 38ch; }
.work-track { display: flex; gap: 32px; width: max-content; padding: 0 var(--gutter); will-change: transform; }
.work-card { flex: none; width: min(58vw, 760px); display: flex; flex-direction: column; }
.browser { display: block; text-decoration: none; border-radius: 20px; background: var(--white); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-md); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.browser:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--sage-50); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage-200); }
.browser-url { margin-left: 10px; font-size: 12px; color: var(--slate); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 2px 14px; }
.browser-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage-100); }
.browser-view > img { width: 100%; height: auto; transform: translateY(0); transition: transform 1.2s var(--ease); }
.work-card:hover .browser-view img, .browser:focus-visible .browser-view > img { transform: translateY(var(--shift, 0px)); transition-duration: 6s; transition-timing-function: cubic-bezier(.45, 0, .25, 1); }
.browser-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 30% 20%, var(--sage-50), transparent 55%), radial-gradient(circle at 80% 90%, var(--sand), transparent 50%), var(--leaf);
}
.browser-ph svg { width: 64px; height: 64px; }
.browser-ph strong { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; color: var(--forest); line-height: 1.1; }
.browser-ph span { font-size: 14px; color: var(--slate); }
/* App projects: three phones rising out of the frame, in the app's own colours */
.app-stage {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 0 6%;
  background: radial-gradient(circle at 25% 15%, rgba(219, 238, 250, .55), transparent 55%), linear-gradient(160deg, #0F3557 0%, #1D5A8A 100%);
}
.app-phone {
  position: relative; flex: none; width: 27%; aspect-ratio: 420 / 911; margin-bottom: -26%;
  border: 5px solid #111; border-radius: 22px; overflow: hidden; background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .6s var(--ease);
}
.app-icon { position: absolute; top: 6%; left: 5%; width: clamp(44px, 11%, 72px); aspect-ratio: 1; border-radius: 22%; background: #fff; padding: 4px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); z-index: 2; }
.app-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.app-phone.p0 { transform: translateY(6%) rotate(-3deg); }
.app-phone.p1 { transform: translateY(-6%) scale(1.06); z-index: 1; }
.app-phone.p2 { transform: translateY(6%) rotate(3deg); }
.work-card:hover .app-phone.p0 { transform: translateY(0) rotate(-6deg); }
.work-card:hover .app-phone.p1 { transform: translateY(-12%) scale(1.08); }
.work-card:hover .app-phone.p2 { transform: translateY(0) rotate(6deg); }
.work-meta { display: flex; justify-content: space-between; gap: 24px; margin-top: 24px; }
.work-cat { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); margin-bottom: 6px; }
.work-meta h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.work-text { color: var(--slate); margin-top: 8px; max-width: 56ch; }
.work-num { font-size: 14px; font-weight: 700; color: var(--slate); letter-spacing: .1em; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--moss); text-decoration: none; }
.link-arrow:hover { color: var(--forest); text-decoration: underline; }

.work-next { justify-content: center; align-items: flex-start; padding: 48px; border-radius: var(--radius-lg); background: var(--leaf); width: min(40vw, 520px); }
.work-next svg { width: 64px; height: 64px; margin-bottom: 28px; }
.work-next h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 16px; }
.work-next p { color: var(--slate); margin-bottom: 28px; max-width: 34ch; }

.work-progress { height: 3px; border-radius: 3px; background: var(--line); margin-top: 48px; overflow: hidden; }
.work-progress i { display: block; height: 100%; background: var(--forest); transform-origin: left; transform: scaleX(0); }

@media (min-width: 900px) {
  .has-gsap .work-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 16px) 0 24px; }
  .has-gsap .work-head { margin-bottom: 28px; }
  .has-gsap .work-card:not(.work-next) .browser-view { aspect-ratio: auto; height: min(38vh, 420px); }
  .has-gsap .work-card { width: auto; }
  .has-gsap .work-card:not(.work-next) { width: min(calc(38vh * 1.7), 714px); }
  .has-gsap .work-meta { margin-top: 18px; }
  .has-gsap .work-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .has-gsap .link-arrow { margin-top: 10px; }
  .has-gsap .work-progress { margin-top: 28px; }
  .has-gsap .work-next { width: min(40vw, 480px); align-self: stretch; }
}
@media (max-width: 899px) {
  .work-pin { padding: 72px 0; }
  .work-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .work-track { flex-direction: column; width: auto; gap: 56px; }
  .work-card, .work-next { width: 100%; }
  .work-next { padding: 32px 24px; }
  .work-progress { display: none; }
}
html:not(.has-gsap) .work-track { flex-direction: column; width: auto; gap: 56px; max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; }
html:not(.has-gsap) .work-card { width: 100%; max-width: 900px; }
html:not(.has-gsap) .work-progress { display: none; }

.work-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; }
.work-links .link-arrow { margin-top: 0; }

/* ---------- Inner pages (services, work, about, contact) ---------- */
.nav-links a.is-active { color: var(--forest); }
.nav-links a.is-active::after { transform: scaleX(1); }
.pg-hero { background: var(--linen); padding: calc(var(--nav-h) + 72px) 0 72px; }
.pg-title { font-size: clamp(44px, 6vw, 84px); line-height: 1.14; letter-spacing: -.04em; max-width: 16ch; text-wrap: balance; }
.pg-lead { margin-top: 24px; }
.section-more { margin-top: 36px; }
.page-contact .contact { padding-top: calc(var(--nav-h) + 72px); }

.page-cta { background: var(--leaf); text-align: center; }
.page-cta .contact-title { max-width: 16ch; margin: 0 auto 18px; }
.page-cta .lead { margin: 0 auto; }
.page-cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.page-cta .btn-secondary { background: var(--white); }

/* 404 */
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: -40px; padding-bottom: 120px; }

/* Services page */
.sv-list { background: var(--white); }
.sv-list .container { display: grid; gap: 28px; }
.sv-item { display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; scroll-margin-top: calc(var(--nav-h) + 24px); }
.sv-head { background: var(--card); padding: 48px; }
.sv-name { font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.03em; margin-bottom: 16px; }
.sv-text { color: var(--slate); max-width: 44ch; }
.sv-body { padding: 48px; display: grid; gap: 12px; align-content: start; }
.sv-body .pj-label { margin: 10px 0 2px; }
.sv-body .pj-label:first-child { margin-top: 0; }
.sv-included { display: grid; gap: 10px; }
.sv-included li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--forest); }
.sv-included .pj-check { width: 24px; height: 24px; padding: 4px; }
.sv-for { color: var(--slate); }
.sv-examples { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sv-examples .link-arrow { margin-top: 0; }

.faq { background: var(--linen); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; color: var(--forest); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; width: 22px; height: 22px; color: var(--moss); transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--slate); max-width: 62ch; }

/* Work page */
.wk-list { background: var(--white); }
.wk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip-btn { min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); color: var(--forest); font: 500 15px/1 var(--font); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip-btn:hover { border-color: var(--sage); background: var(--sage-50); }
.chip-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.wk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
.wk-card { width: auto; display: flex; flex-direction: column; }
.wk-card[hidden] { display: none; }
.wk-card .browser-view { aspect-ratio: 16 / 10; }
.wk-card .work-cat { margin-top: 22px; }
.wk-card h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.wk-card .work-text { margin-top: 8px; }
.wk-card .link-arrow { margin-top: 14px; }

/* About page */
.ab-numbers { background: var(--white); padding: 24px 0 8px; }
.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-stats li { display: grid; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--linen); }
.ab-stats strong { font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--forest); font-variant-numeric: tabular-nums; }
.ab-stats span { color: var(--slate); font-weight: 500; }
.ab-values { background: var(--white); }
.ab-value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-value { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 14px; align-content: start; }
.ab-value h3 { font-size: 22px; line-height: 1.2; }
.ab-value p { color: var(--slate); }

@media (max-width: 1099px) {
  .ab-value-grid, .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .pg-hero { padding: calc(var(--nav-h) + 40px) 0 48px; }
  .page-contact .contact { padding-top: calc(var(--nav-h) + 40px); }
  .sv-item { grid-template-columns: 1fr; }
  .sv-head, .sv-body { padding: 28px 24px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .wk-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ab-value-grid, .ab-stats { grid-template-columns: 1fr; }
}

/* ---------- Project pages ---------- */
.pj-hero { background: var(--linen); padding: calc(var(--nav-h) + 48px) 0 56px; }
.pj-back { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 28px; color: var(--slate); font-weight: 500; text-decoration: none; }
.pj-back:hover { color: var(--forest); }
.pj-title { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -.04em; margin-bottom: 20px; text-wrap: balance; }
.pj-lead { max-width: 60ch; }
.pj-meta { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 32px; align-items: start; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.pj-meta-item { min-width: 0; }
.pj-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); margin-bottom: 10px; }
.pj-value { font-weight: 500; color: var(--forest); }
.pj-tags { margin-top: 0; }
.pj-actions { align-self: center; justify-self: end; }
.pj-note { display: inline-block; padding: 10px 18px; border: 1.5px dashed var(--sage-600); border-radius: var(--radius-pill); color: var(--slate); font-size: 14px; font-weight: 500; }

.pj-show { background: linear-gradient(var(--linen) 0 45%, var(--white) 45%); padding-bottom: 24px; }
.pj-show-grid { position: relative; }
.pj-browser { margin-right: clamp(70px, 15%, 210px); box-shadow: var(--shadow-lg); }
.pj-browser:hover { transform: none; }
.pj-screen { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--sage-300) transparent; }
.pj-screen img { display: block; width: 100%; height: auto; }
.pj-screen-desktop { height: min(68vh, 640px); background: var(--sage-50); }
.pj-phone {
  position: absolute; right: 0; bottom: -36px; width: clamp(170px, 22%, 270px); aspect-ratio: 9 / 19.5;
  padding: 7px; border-radius: 38px; background: #111; box-shadow: 0 30px 60px rgba(31, 36, 32, .3);
}
.pj-screen-phone { height: 100%; border-radius: 31px; background: #fff; scrollbar-width: none; }
.pj-screen-phone::-webkit-scrollbar { display: none; }
.pj-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 64px; font-size: 14px; color: var(--slate); }
.pj-hint svg { color: var(--moss); }

.pj-app-stage { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 44px 24px 0; background: radial-gradient(circle at 20% 10%, rgba(219, 238, 250, .45), transparent 55%), linear-gradient(160deg, #0F3557 0%, #1D5A8A 100%); }
.pj-app-icon { display: block; width: 76px; height: 76px; margin: 0 auto 36px; padding: 4px; border-radius: 22%; background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.pj-app-phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(12px, 2.4vw, 32px); }
.pj-app-phone { flex: none; width: clamp(130px, 19%, 230px); aspect-ratio: 420 / 911; margin-bottom: -14%; overflow: hidden; border: 6px solid #111; border-radius: 30px; background: #fff; box-shadow: 0 20px 44px rgba(0, 0, 0, .35); }
.pj-app-phone:nth-child(even) { transform: translateY(-28px); }
.pj-app-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pj-private { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 340px; padding: 32px; text-align: center; border-radius: var(--radius-lg); background: radial-gradient(circle at 30% 20%, var(--sage-50), transparent 55%), var(--leaf); }
.pj-private svg { width: 72px; height: 72px; }
.pj-private-logo { width: 140px; height: 140px; filter: drop-shadow(0 12px 24px rgba(31, 36, 32, .2)); }
.browser-ph .ph-logo { width: 96px; height: 96px; filter: drop-shadow(0 8px 18px rgba(31, 36, 32, .2)); }
/* the round emblem reads better a little taller than wordmarks */
.logo-group img[src*="zenel-hajdini"] { height: 115%; filter: grayscale(1) brightness(.9) contrast(1.2); }
.pj-private strong { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; color: var(--forest); }
.pj-private span { color: var(--slate); }

.pj-story { background: var(--white); }
.pj-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.pj-text { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--forest); max-width: 46ch; }

.pj-features { background: var(--white); padding-top: 0; }
.pj-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
.pj-feature-list li { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--linen); font-weight: 500; color: var(--forest); }
.pj-check { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--sage); color: var(--forest); }
.pj-extras { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.pj-extras .link-arrow { margin-top: 0; }

.pj-next { background: var(--forest); padding: 80px 0; }
.pj-next-link { display: grid; gap: 12px; text-decoration: none; }
.pj-next .eyebrow { color: var(--sage); margin-bottom: 0; }
.pj-next-title { font-size: clamp(40px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--white); }
.pj-next-title span { display: inline-block; transition: transform .4s var(--ease); }
.pj-next-link:hover .pj-next-title span { transform: translateX(14px); }
.pj-next-cat { color: #A9B3AB; }
.pj-next-link:focus-visible { outline-color: var(--sage); }
.pj-cta { background: var(--leaf); text-align: center; }
.pj-cta .contact-title { max-width: 18ch; margin: 0 auto 32px; }

@media (max-width: 899px) {
  .pj-hero { padding: calc(var(--nav-h) + 28px) 0 40px; }
  .pj-meta { grid-template-columns: 1fr; gap: 22px; }
  .pj-actions { justify-self: start; }
  .pj-browser { margin-right: 0; }
  .pj-screen-desktop { height: 46vh; }
  .pj-phone { position: relative; right: auto; bottom: auto; width: 62%; margin: -70px auto 0; }
  .pj-hint { margin-top: 28px; }
  .pj-app-phone { width: 42%; }
  .pj-app-phone:nth-child(n+3) { display: none; }
  .pj-story-grid { grid-template-columns: 1fr; gap: 36px; }
  .pj-feature-list { grid-template-columns: 1fr; }
  .pj-next { padding: 56px 0; }
}

/* ---------- Process ---------- */
.process { background: var(--white); }
.steps-wrap { position: relative; --p: 0; }
.steps-line { position: absolute; top: 27px; left: 28px; right: calc((100% - 96px) / 4 - 28px); height: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--sage-600); transform-origin: left; transform: scaleX(var(--p)); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sage); color: var(--forest); font-weight: 700; font-size: 20px; margin-bottom: 28px; box-shadow: 0 0 0 8px var(--white); }
.step h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.step p { color: var(--slate); }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; gap: 40px; padding-left: 80px; }
  .steps-line { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .steps-line i { transform-origin: top; transform: scaleY(var(--p)); }
  .step { position: relative; }
  .step-num { position: absolute; left: -80px; top: -6px; margin: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--leaf); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-title { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.24; letter-spacing: -.04em; margin-bottom: 24px; }
.contact .lead { color: var(--slate); }
.contact-direct { margin-top: 48px; }
.contact-direct-label { font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); margin-bottom: 12px; }
.contact-direct ul { display: grid; gap: 6px; }
.contact-direct a { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; color: var(--forest); text-decoration: none; background: linear-gradient(var(--forest), var(--forest)) no-repeat 0 100% / 0 2px; transition: background-size .4s var(--ease); }
.contact-direct a:hover { background-size: 100% 2px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.field { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 500; color: var(--forest); padding: 0; margin-bottom: 8px; }
.field label { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  font: 400 16px/1.4 var(--font); color: var(--forest); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 136px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px var(--leaf); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--white); font-size: 15px; font-weight: 500; color: var(--forest); transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--sage); background: var(--sage-50); }
.chip input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--slate); text-align: center; }
.form-status { margin-top: 10px; font-size: 14px; text-align: center; color: var(--moss); font-weight: 500; }
.form-status.is-error { color: var(--error); }
.form-status:empty { display: none; }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-card { padding: 24px; }
}

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: #A9B3AB; padding: 96px 0 32px; overflow: hidden; }
.footer a { color: #A9B3AB; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer :focus-visible { outline-color: var(--sage); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { margin-bottom: 20px; }
.footer-brand p { max-width: 30ch; }
.footer h4 { color: var(--white); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer-word { font-size: clamp(96px, 24vw, 340px); font-weight: 700; letter-spacing: -.07em; line-height: .8; color: var(--white); margin: 72px 0 32px -.04em; white-space: nowrap; }
.footer-word span { color: var(--sage); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #333B35; font-size: 14px; }
/* keep "Back to top" clear of the floating WhatsApp button */
@media (max-width: 1099px) { .footer-bottom { padding-right: 76px; } }
@media (max-width: 899px) {
  .footer { padding-top: 72px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Brand lab ---------- */
/* Mira Coffee is a client-style concept brand, so it gets its own warm palette */
:root { --mira-brown: #5B4332; --mira-caramel: #C99B6D; --mira-cream: #F3E9DA; --mira-ink: #2B1F17; }

.lab { background: var(--white); border-top: 1px solid var(--line); }
.lab-pin { padding: 96px 0; }
.lab-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.lab-copy .h2 { max-width: 15ch; margin-bottom: 32px; }
.lab-steps { display: grid; gap: 4px; counter-reset: none; }
.lab-step { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.lab-step:last-child { border-bottom: 1px solid var(--line); }
.lab-n { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--moss); padding-top: 4px; }
.lab-step h3 { font-size: 20px; line-height: 1.3; }
.lab-step p { color: var(--slate); font-size: 16px; margin-top: 6px; max-width: 42ch; }
.lab-note { margin-top: 20px; font-size: 14px; color: var(--slate); }

/* While the scroll animation runs, only the current step is open */
.lab.is-live .lab-step { transition: opacity .35s ease; }
.lab.is-live .lab-step:not(.is-active) { opacity: .45; }
.lab.is-live .lab-step p { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s ease, margin .45s var(--ease); }
.lab.is-live .lab-step.is-active p { max-height: 6em; margin-top: 6px; opacity: 1; }
.lab.is-live .lab-step.is-active .lab-n { color: var(--forest); }

.lab-stage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: center; border-radius: var(--radius-lg); background: var(--sage-50); overflow: hidden; }
.lab-stage > * { position: absolute; }
.lab-paper {
  inset: 0; opacity: 0; visibility: hidden;
  background-color: #FBF8F2;
  background-image: linear-gradient(rgba(91, 67, 50, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 67, 50, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.lab-logo { left: 50%; top: 46%; width: 44%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; visibility: hidden; }
.lab-logo-svg { width: 100%; height: auto; overflow: visible; }
.lab-c { fill: var(--mira-brown); fill-opacity: 1; stroke: var(--mira-ink); stroke-width: 1.6; stroke-opacity: 0; stroke-dasharray: 1; }
.lab-m, .lab-steam { fill: none; stroke: var(--mira-cream); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.lab-m { stroke-width: 9; }
.lab-steam { stroke-width: 6; }
.lab-word, .lab-card-word, .lb-brand { font-weight: 700; letter-spacing: -.05em; color: var(--mira-brown); line-height: 1; }
.lab-word { font-size: clamp(30px, 4vw, 48px); }
.lab-word span, .lab-card-word span, .lb-brand > span { color: var(--mira-caramel); }

.lab-card {
  left: 50%; top: 44%; width: 66%; aspect-ratio: 1.75; transform: translate(-50%, -50%) rotate(-5deg);
  background: var(--mira-cream); border-radius: 14px; padding: 7% 8%; box-shadow: 0 24px 48px rgba(43, 31, 23, .18);
  display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden;
}
.lab-card-top { display: flex; align-items: center; gap: 10px; }
.lab-card-top .mira-mark { width: 22%; height: auto; }
.lab-card-word { font-size: clamp(22px, 3vw, 34px); }
.lab-card-bottom { display: flex; justify-content: space-between; font-size: clamp(11px, 1.2vw, 14px); color: var(--mira-brown); font-weight: 500; }
.lab-swatches { left: 50%; bottom: 12%; transform: translateX(-50%); display: flex; gap: 12px; opacity: 0; visibility: hidden; }
.lab-swatch { display: block; width: clamp(28px, 4vw, 44px); aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 31, 23, .12); }

.lab-browser { left: 4%; top: 14%; width: 92%; border-radius: 14px; overflow: hidden; background: #FFFDF9; box-shadow: 0 20px 48px rgba(31, 36, 32, .14); border: 1px solid var(--line); transform: translate(-6%, -4%) scale(.8); transform-origin: 0 0; }
.lb-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: var(--sage-50); border-bottom: 1px solid var(--line); }
.lb-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-200); }
.lb-bar span { margin-left: 8px; font-size: 10px; color: var(--slate); }
.lb-body { padding: 4% 5% 5%; display: grid; gap: 14px; }
.lb-nav { display: flex; justify-content: space-between; align-items: center; }
.lb-brand { display: flex; align-items: center; gap: 6px; font-size: clamp(13px, 1.6vw, 18px); }
.lb-brand .mira-mark { width: 22px; height: 22px; }
.lb-links { display: flex; gap: 8px; }
.lb-links i { display: block; width: 34px; height: 6px; border-radius: 3px; background: rgba(91, 67, 50, .25); }
.lb-grow { transform-origin: left center; }
.lb-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 6%; align-items: center; }
.lb-h { font-size: clamp(16px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; color: var(--mira-ink); margin-bottom: 10px; }
.lb-line { display: block; height: 6px; border-radius: 3px; background: rgba(91, 67, 50, .2); margin-bottom: 6px; width: 92%; }
.lb-line.short { width: 64%; }
.lb-btn { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--mira-brown); color: var(--mira-cream); font-size: clamp(9px, 1vw, 12px); font-weight: 700; }
.lb-img { aspect-ratio: 1; border-radius: 12px; background: var(--mira-caramel); display: grid; place-items: center; }
.lb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lb-row i { display: block; height: 34px; border-radius: 8px; background: var(--mira-cream); }

/* A coffee cup seen from above, drawn with CSS */
.cup { display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--mira-cream); box-shadow: 0 8px 18px rgba(43, 31, 23, .2); }
.cup > span { width: 72%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #E9D3B6 0 18%, var(--mira-brown) 19% 100%); }
.cup.sm { width: 56%; }
.cup.big { width: 46%; }

.lab-phone {
  right: 4%; top: 17%; width: 34%; aspect-ratio: 9 / 16; border-radius: 26px; background: #fff; border: 2px solid var(--forest);
  padding: 9% 6% 6%; box-shadow: 0 24px 48px rgba(31, 36, 32, .18);
}
.lp-notch { position: absolute; top: 3%; left: 50%; width: 30%; height: 2.4%; border-radius: 99px; background: var(--forest); transform: translateX(-50%); }
.lp-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10%; }
.lp-avatar { width: 26%; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 2px var(--mira-caramel); display: block; }
.lp-avatar svg { width: 100%; height: 100%; }
.lp-handle { font-size: clamp(9px, 1vw, 12px); font-weight: 700; color: var(--forest); }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.lab-tile { display: grid; place-items: center; aspect-ratio: 1; border-radius: 3px; overflow: hidden; }
.lab-tile .mira-mark { width: 62%; height: auto; }
.t-brown { background: var(--mira-brown); }
.t-cream { background: var(--mira-cream); }
.t-caramel { background: var(--mira-caramel); }
.t-logo { background: var(--mira-cream); }
.t-text b { font-size: clamp(6px, .75vw, 9px); line-height: 1.1; color: var(--mira-brown); text-align: center; padding: 4px; font-weight: 700; }
.lp-foot { display: grid; gap: 6px; margin-top: 10%; }
.lp-icons { display: flex; gap: 8px; margin-bottom: 2px; }
.lp-icons svg { width: 16px; height: 16px; }
.lp-foot i { display: block; height: 5px; border-radius: 3px; background: rgba(31, 36, 32, .14); }
.lp-foot i.short { width: 60%; }
.t-dots { background-image: radial-gradient(var(--mira-caramel) 18%, transparent 20%); background-size: 25% 25%; }

@media (min-width: 900px) {
  .lab.is-live .lab-pin { height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 16px) 0 24px; }
}
@media (max-width: 899px) {
  .lab-pin { padding: 72px 0; }
  .lab-grid { grid-template-columns: 1fr; gap: 28px; }
  .lab-copy .h2 { margin-bottom: 20px; }
  .lab-stage { max-width: 420px; }
  .lab.is-live .lab-pin { height: 100vh; height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 12px) 0 16px; }
  .lab.is-live .lab-grid { gap: 16px; }
  .lab.is-live .lab-step:not(.is-active) { display: none; }
  .lab.is-live .lab-step.is-active { border-bottom: 1px solid var(--line); }
  .lab.is-live .lab-note { display: none; }
  .lab.is-live .lab-stage { max-width: min(420px, 46svh); }
}

/* ---------- Before / after ---------- */
.ba { background: var(--linen); padding-top: 64px; }
.ba-frame { border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ba-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; --pos: 50%; touch-action: pan-y; user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(31, 36, 32, .15); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--forest); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba-tag-before { left: 16px; background: var(--white); color: var(--forest); box-shadow: var(--shadow-sm); }
.ba-tag-after { right: 16px; background: var(--forest); color: var(--white); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 60px; height: 100vh; border: 0; }
.ba-range:focus-visible { opacity: 0; }
.ba-view:focus-within .ba-knob { outline: 3px solid var(--sage); outline-offset: 3px; }
.ba-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.ba-points li { display: flex; gap: 12px; align-items: baseline; color: var(--forest); font-weight: 500; }
.ba-dot { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--sage); transform: translateY(-1px); }
@media (max-width: 899px) {
  .ba-view { aspect-ratio: 4 / 3; }
  .ba-points { grid-template-columns: 1fr; gap: 12px; }
  .ba-knob { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
}

/* ---------- you + click (social carousel) ---------- */
.social { background: var(--white); }
.social-panel { background: var(--linen); border-radius: var(--radius-lg); padding: 56px 0 40px; }
.social-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 40px; margin-bottom: 36px; }
.social-title { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; letter-spacing: -.04em; color: var(--forest); }
.pill-outline { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--forest); color: var(--forest); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background-color .2s; }
.pill-outline:hover { background: var(--leaf); color: var(--forest); }
.social-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 30%, 440px); gap: 22px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 40px; padding: 0 40px 4px;
  scrollbar-width: none; cursor: grab;
}
.social-track::-webkit-scrollbar { display: none; }
.social-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.social-track.is-dragging * { pointer-events: none; }
.social-track:focus-visible { outline-offset: -3px; }
.post { margin: 0; scroll-snap-align: start; }
.post-link { position: relative; display: block; border-radius: 10px; overflow: hidden; text-decoration: none; }
.post-link:focus-visible { outline-offset: 3px; }
.post-badge {
  position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(31, 36, 32, .78); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
/* Hovering a post tells what it was for */
.post-goal {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .94); color: var(--forest); font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.post-link:hover .post-goal, .post-link:focus-visible .post-goal { opacity: 1; transform: none; }
.post-link img { transition: transform .5s var(--ease); }
.post-link:hover img { transform: scale(1.04); }
/* Instagram's portrait 4:5 format, so real client posts show uncropped */
.post img, .post-art { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; -webkit-user-drag: none; }
.post figcaption { margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--slate); }
.post-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 9%; }
.post-big { font-size: clamp(22px, 2.3vw, 32px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.post-tip { background: var(--sage); color: var(--forest); justify-content: space-between; }
.post-tip .post-mark { width: 52px; height: 52px; filter: drop-shadow(0 0 0 transparent); }
.post-list { display: grid; gap: 6px; font-weight: 500; font-size: 15px; counter-reset: tip; }
.post-list li { counter-increment: tip; display: flex; gap: 10px; align-items: center; }
.post-list li::before { content: counter(tip); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--forest); color: var(--white); font-size: 12px; font-weight: 700; }
.post-quote { background: var(--forest); color: var(--white); justify-content: space-between; }
.post-quote .post-big { color: var(--white); }
.post-quote .hl { background-image: linear-gradient(var(--sage), var(--sage)); color: var(--forest); }
.post-handle { font-size: 22px; font-weight: 700; letter-spacing: -.055em; }
.post-handle span { color: var(--sage); }
/* Website / app cards: real screenshots in a 4:5 post */
.post-site { justify-content: flex-end; gap: 4px; }
.post-site img { aspect-ratio: auto; border-radius: 0; }
.ps-name { position: relative; display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.ps-domain { position: relative; font-size: 14px; font-weight: 500; opacity: .8; }
.post .ps-icon { width: 34px; height: 34px; border-radius: 9px; aspect-ratio: 1; }
.ps-phone { position: absolute; top: 7%; left: 50%; width: 40%; aspect-ratio: 9 / 18; transform: translateX(-50%) rotate(-4deg); border: 5px solid #111; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 24px 40px rgba(0, 0, 0, .35); }
.ps-phone img, .ps-browser img, .ps-phones img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ps-browser { position: absolute; top: 8%; left: 8%; right: 8%; height: 56%; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fff; border: 3px solid var(--forest); box-shadow: 0 24px 40px rgba(31, 36, 32, .2); }
.ps-bar { display: flex; gap: 5px; flex: none; padding: 8px 10px; border-bottom: 3px solid var(--forest); }
.ps-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-300); }
.ps-browser img { flex: 1; min-height: 0; }
.ps-phones { position: absolute; top: 7%; left: 0; right: 0; height: 62%; }
.ps-phones img { position: absolute; top: 0; width: 36%; height: 100%; border: 4px solid #111; border-radius: 18px; background: #fff; box-shadow: 0 20px 36px rgba(0, 0, 0, .35); }
.ps-phones img:first-child { left: 14%; transform: rotate(-7deg); }
.ps-phones img:last-child { right: 14%; transform: rotate(6deg) translateY(6%); }
.post-hotel { background: linear-gradient(170deg, #2A251D 0%, #15120E 100%); color: #F3E9D6; }
.post-hotel .ps-domain { color: #D4B26A; opacity: 1; }
.post-modelplast { background: var(--leaf); color: var(--forest); }
.post-app { background: linear-gradient(165deg, #0F4C81 0%, #0A2E50 100%); color: #fff; }
.post-zenel { background: linear-gradient(170deg, #121A2E 0%, #2D3B54 100%); color: #fff; justify-content: space-between; }
.post-zenel .post-big { color: #fff; font-size: clamp(20px, 2vw, 28px); }
.zh-card { background: #fff; color: #0F172A; border-radius: 12px; padding: 16px 18px; display: grid; gap: 6px; box-shadow: 0 16px 32px rgba(0, 0, 0, .3); }
.zh-title { font-size: 17px; font-weight: 700; line-height: 1.2; }
.zh-sub { font-size: 13px; color: #475569; }
.zh-stats { display: flex; gap: 10px; margin-top: 6px; }
.zh-stats span { flex: 1; font-size: 12px; color: #475569; background: #EEF2FF; border-radius: 8px; padding: 8px 10px; }
.zh-stats b { display: block; font-size: 20px; color: #2563EB; line-height: 1.1; }
.zh-bars { display: grid; gap: 6px; margin-top: 6px; }
.zh-bars i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: #CBD5E1; }
.zh-bars i:first-child { background: #2563EB; }

.social-foot { display: flex; align-items: center; gap: 32px; padding: 0 40px; margin-top: 32px; }
.social-bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.social-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 30%; background: var(--forest); transition: transform .15s linear; }
.social-arrows { display: flex; gap: 10px; }
.arrow-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, opacity .2s; }
.arrow-btn:hover { background: var(--leaf); }
.arrow-btn:disabled { opacity: .3; cursor: default; background: transparent; }
@media (max-width: 899px) {
  .social-panel { padding: 36px 0 28px; border-radius: 20px; }
  .social-head, .social-foot { padding: 0 20px; }
  .social-track { padding: 0 20px 4px; scroll-padding: 0 20px; grid-auto-columns: 78%; gap: 14px; }
  .social-foot { gap: 16px; }
  .post-goal { opacity: 1; transform: none; top: 10px; bottom: auto; right: auto; max-width: calc(100% - 80px); font-size: 11px; padding: 5px 9px; border-radius: 99px; }
}

/* ---------- Free 15-minute call (dark section) ---------- */
.book { background: var(--forest); color: #A9B3AB; }
.book .h2 { color: var(--white); max-width: 16ch; margin-bottom: 20px; }
.book .lead { color: #A9B3AB; }
.eyebrow-dark { color: var(--sage); }
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.book-grid > *, .book-step { min-width: 0; }
.book-points { display: grid; gap: 12px; margin-top: 32px; }
.book-points li { display: flex; gap: 12px; align-items: center; color: var(--white); font-weight: 500; }
.book-points li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F2420' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.book-card { background: var(--white); color: var(--forest); border-radius: var(--radius-lg); padding: 36px; display: grid; gap: 26px; }
.book-label { font-size: 15px; font-weight: 700; color: var(--forest); margin-bottom: 12px; }
.book-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.book-tz { font-size: 13px; color: var(--slate); }
.book-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day-btn {
  flex: none; display: grid; justify-items: center; gap: 2px; min-width: 64px; padding: 10px 8px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); color: var(--forest); cursor: pointer; font-family: var(--font); transition: background-color .2s, border-color .2s, color .2s;
}
.day-btn small { font-size: 12px; font-weight: 500; color: var(--slate); text-transform: capitalize; }
.day-btn strong { font-size: 20px; line-height: 1.1; }
.day-btn:hover { border-color: var(--sage); background: var(--sage-50); }
.day-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.day-btn[aria-pressed="true"] small { color: #C9D2CB; }
.book-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot-btn { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--forest); font: 500 15px/1 var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.slot-btn:hover { border-color: var(--sage); background: var(--sage-50); }
.slot-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.book-empty { grid-column: 1 / -1; color: var(--slate); font-size: 15px; }
.book-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-fields .field { margin: 0; }
.book-card .form-note { margin-top: -12px; }
.book-card .form-status { margin-top: -14px; }
@media (max-width: 899px) {
  .book-grid { grid-template-columns: 1fr; gap: 40px; }
  .book-card { padding: 22px; }
  .book-fields { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp button (always visible) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: inline-flex; align-items: center; gap: 0; height: 58px; padding: 0 16px; border-radius: var(--radius-pill);
  background: var(--forest); color: var(--white); text-decoration: none; border: 2px solid var(--leaf); box-shadow: 0 10px 30px rgba(31, 36, 32, .28);
  transition: gap .35s var(--ease), padding .35s var(--ease), background-color .2s, transform .35s var(--ease), opacity .35s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(155, 179, 154, .55); animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
.wa-float svg { flex: none; color: var(--leaf); }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .4s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { gap: 10px; padding: 0 22px 0 18px; background: var(--sage-900); color: var(--white); }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 240px; }
.wa-float:focus-visible { outline-color: var(--sage); }
html.intro-on .wa-float, html.menu-open .wa-float { opacity: 0; pointer-events: none; transform: translateY(20px); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(155, 179, 154, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(155, 179, 154, 0); } }

/* ---------- Custom cursor ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 500; pointer-events: none; display: none; }
.has-cursor .cursor, .has-cursor .cursor-ring { display: block; }
.has-cursor:not(.cursor-visible) .cursor, .has-cursor:not(.cursor-visible) .cursor-ring { opacity: 0; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input:not([type="checkbox"]), .has-cursor textarea { cursor: text !important; }
.cursor svg { margin: -2.4px 0 0 -2.4px; transform-origin: 2.4px 2.4px; transition: transform .15s var(--ease); overflow: visible; }
.cursor.is-down svg { transform: scale(.8); }
.cursor-ring {
  display: none; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1.5px solid var(--sage-600); place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.has-cursor .cursor-ring { display: grid; }
.cursor-ring.is-link { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(155, 179, 154, .28); border-color: transparent; }
.cursor-ring.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--forest); border-color: transparent; }
.cursor-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--white); opacity: 0; transition: opacity .2s; }
.cursor-ring.is-view .cursor-label { opacity: 1; }
.cursor-ring.is-hidden { opacity: 0; }

.burst { position: fixed; z-index: 499; pointer-events: none; width: 0; height: 0; }
.burst svg { position: absolute; left: -40px; top: -40px; width: 80px; height: 80px; overflow: visible; }
.burst .r { stroke: var(--sage-600); stroke-width: 3; stroke-linecap: round; fill: none; stroke-dasharray: 10; stroke-dashoffset: 10; animation: ray .55s var(--ease) forwards; }
.burst .ring { fill: none; stroke: var(--sage); stroke-width: 2; transform-origin: 40px 40px; animation: ring .6s var(--ease) forwards; }
@keyframes ray { 50% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -10; opacity: 0; } }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- Reduced motion ---------- */
/* Big and scroll-driven motion stops; the small decorative loops (the two marquee rows and the
   service-card scenes) keep playing, the marquee at its calm CSS pace without scroll boosts. */
@media (prefers-reduced-motion: reduce) {
  *:not(.marquee-track, .work-art, .work-art *), *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
