/* ==========================================================
   LemonAide — styles
   Brand colours live in :root below. Change them there and
   the whole site updates.
   ========================================================== */

:root {
  /* Brand */
  --lime: #D4F053;
  --turquoise: #5BF1E3;
  --teal: #12D4C2;
  --navy: #1A2F40;

  /* Surfaces & text */
  --bg: #0B1620;
  --bg-2: #0F1E2A;
  --surface: #132634;
  --surface-2: #1A2F40;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #EEF4F2;
  --muted: #A3B5C0;
  --error: #FF8A80;

  /* Type */
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* One size for every section and page title on both sites (consulting and Design Studio).
     Only the two big full-screen hero titles are larger. Change it here to resize them all. */
  --title-size: clamp(1.7rem, 3.2vw, 2.6rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 900ms;

  /* Layers */
  --z-bg: 0;
  --z-content: 10;
  --z-header: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--bg); }

:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--lime); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 16px; }

/* Elegant serif italic accent with brand gradient */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--lime) 10%, var(--turquoise) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em; /* keeps the italic tail from clipping */
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 .95rem/1 var(--font-sans);
  cursor: pointer; touch-action: manipulation;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur) , border-color var(--dur), box-shadow var(--dur), color var(--dur);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--lime); color: #0B1620;  }
.btn-primary:hover { box-shadow: 0 8px 32px -6px rgba(212, 240, 83, .55); background: #DDF56F; }
.btn-ghost { border-color: var(--turquoise); color: var(--turquoise); ;}
/* Nav "Get in Touch": on hover it takes the outlined look of "Explore services" */
.nav-cta:hover { border-color: var(--turquoise); color: var(--turquoise); background: transparent;box-shadow: 0 8px 32px -6px rgba(5, 157, 168, 0.55);}
.btn-ghost:hover { border-color: var(--lime); color: var(--lime);box-shadow: 0 8px 32px -6px rgba(212, 240, 83, .55); } /*Explore services*/
.btn-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur), border-color var(--dur), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 22, 32, .78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .brand-word { height: 24px; }

.nav-links {
  display: flex; gap: 4px; padding: 6px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(19, 38, 52, .45);
  
}
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  font-size: .925rem; color: var(--muted);
  transition: color var(--dur), background-color var(--dur) ;
  
}
.nav-links a:hover { color: var(--turquoise); text-shadow:var(--teal);}
.nav-links a.active { color: var(--bg); background: var(--turquoise); }
.nav-cta-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; --nav-pill-w: 152px; } /* wide enough for the German "Kontakt aufnehmen" */

.lang-switch { display: flex; height: 42px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
/* nav "Get in Touch" keeps a fixed width so it doesn't jump when the language changes */
.nav-cta { width: var(--nav-pill-w); min-height: 0; height: 42px; padding: 0 10px; font-size: .875rem; white-space: nowrap; }
.lang-switch button {
  min-width: 34px; min-height: 34px; padding: 0 6px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: 600 .78rem var(--font-sans); letter-spacing: .04em; cursor: pointer;
  transition: color var(--dur), background-color var(--dur);
}
.lang-switch button:hover { color: var(--teal); }
.lang-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--lime); }

.menu-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform var(--dur) var(--ease-out);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  /* svh = the screen height with mobile browser bars showing, so the markets strip is always in view */
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
}
.ribbon { position: absolute; inset: -10% -5%; z-index: -2; will-change: transform; }
.ribbon-drift { position: absolute; inset: 0; animation: drift 22s var(--ease-in-out) infinite alternate; }
.ribbon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ribbon-glow { filter: blur(48px); opacity: .5; }
.ribbon-glow path { fill: none; stroke-width: 110; stroke-linecap: round; }
.ribbon-lines .r {
  fill: none; stroke: url(#rg); stroke-width: 1.4; stroke-linecap: round; opacity: .85;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease-out) forwards;
}
.ribbon-lines .r:nth-child(2) { animation-delay: .1s; opacity: .55; }
.ribbon-lines .r:nth-child(3) { animation-delay: .2s; stroke-width: 2.2; opacity: 1; }
.ribbon-lines .r:nth-child(4) { animation-delay: .3s; opacity: .55; }
.ribbon-lines .r:nth-child(5) { animation-delay: .4s; opacity: .35; }
.ribbon-lines .spark {
  fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: .04 .96; stroke-dashoffset: 1; opacity: 0;
  filter: drop-shadow(0 0 6px var(--turquoise));
  animation: spark 7s linear 2.4s infinite;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spark {
  0% { stroke-dashoffset: 1; opacity: 0; }
  8% { opacity: 1; }
  70% { opacity: 1; }
  85%, 100% { stroke-dashoffset: -.1; opacity: 0; }
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-2%, 3%, 0) rotate(-3deg) scale(1.04); }
  100% { transform: translate3d(2%, -2%, 0) rotate(2deg) scale(1.02); }
}

.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 20% 70%, rgba(11, 22, 32, .7), transparent 70%),
    linear-gradient(to bottom, rgba(11, 22, 32, .2) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}

/* tagline pill is centred vertically between the nav bar and the headline */
.hero-top { flex: 1; display: flex; align-items: center; padding-top: clamp(12px, 3vh, 24px); padding-bottom: clamp(12px, 3vh, 24px); }
.hero-top .eyebrow { margin: 0; }
.hero-inner { padding-bottom: clamp(48px, 20vh, 240px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; margin-bottom: clamp(14px, 3vh, 28px);
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--turquoise);
  background: rgba(11, 22, 32, .4);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* scales with both width and height so the hero fits short laptop screens too */
.hero-title { font-size: clamp(2.2rem, min(8.2vw, 10vh), 6.6rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.04em; margin-bottom: clamp(18px, 4vh, 48px); }
/* soft dark shadow under the title words so they lift off the glowing ribbon behind them
   (a filter, not text-shadow, so it also works on the gradient "your business.") */
.hero-title .line { display: block; filter: drop-shadow(0 .03em .05em rgba(0, 0, 0, .6)); }
.hero-title .serif { font-size: 1.06em; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero entrance */
.hero-anim { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease-out) forwards; animation-delay: calc(var(--d) * 120ms + 200ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Markets marquee */
.markets { border-top: 1px solid var(--line); background: rgba(11, 22, 32, .55); }
.markets-inner { display: flex; align-items: center; gap: 24px; min-height: clamp(52px, 7.5vh, 72px); }
.markets-label { margin: 0; flex-shrink: 0; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.4; max-width: 15ch; }
.marquee {
  flex: 1; overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* market names: light text; on hover the lime→turquoise colour sweeps across the word from the left.
   Two backgrounds clipped to the letters: the colour layer (starts at 0% width) over a plain light layer. */
.marquee-track span {
  display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--font-serif); font-size: 1.4rem; white-space: nowrap; opacity: .82; cursor: default;
  color: transparent;
  background:
    linear-gradient(90deg, var(--lime), var(--turquoise)) no-repeat 0 0 / 0% 100%,
    linear-gradient(var(--text), var(--text));
  -webkit-background-clip: text; background-clip: text;
  transition: background-size .5s var(--ease-out), opacity .3s;
}
.marquee-track span:hover { background-size: 100% 100%, auto; opacity: 1; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { --section-pad: clamp(80px, 12vw, 160px); position: relative; padding: var(--section-pad) 0; }
/* nav links (About Us, Services, Testimonials): land with the content just under the nav bar
   instead of on the section's top padding */
.about, .clients, .services, .testimonials { scroll-margin-top: calc(24px - var(--section-pad)); }
/* Home page: one even gap between all sections (each section only has space above it) */
[data-page="home"] { --home-gap: clamp(56px, 7.5vw, 96px); }
[data-page="home"] main > .section { padding: var(--home-gap) 0 0; }
[data-page="home"] main > .section:last-child { padding-bottom: var(--home-gap); }
/* the slogan gets extra room above and below so it stands on its own */
[data-page="home"] .slogan-band { padding: calc(var(--home-gap) * 1.6) 0; }
[data-page="home"] .slogan-band + .section { padding-top: 0; }
/* nav links (#clients, #testimonials) still land just below the header */
[data-page="home"] .about, [data-page="home"] .clients, [data-page="home"] .testimonials { scroll-margin-top: calc(24px - var(--home-gap)); }
[data-page="home"] .slogan-band + .section { scroll-margin-top: 24px; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise);
}
.section-kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-title { font-size: var(--title-size); font-weight: 400; margin-bottom: 24px; }
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }

/* About */
/* phones: intro, stats, automation card; desktop (see Responsive): intro + card on the left, stats on the right */
.about-grid { display: grid; gap: 32px clamp(48px, 7vw, 96px); align-items: start; }
/* keep the title on one line: size it from the column's width so it never wraps or overflows */
.about-copy { container-type: inline-size; }
#about-title { white-space: nowrap; font-size: clamp(1rem, 9.2cqi, 3.6rem); }
/* the German and Bulgarian titles are longer, so they scale down a little more */
html[lang="de"] #about-title { font-size: clamp(1rem, 8.6cqi, 3.6rem); }
html[lang="bg"] #about-title { font-size: clamp(.8rem, 6.3cqi, 3.6rem); }
.about-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.s-icon svg, .contact-list svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Automation card: tangled manual path vs. straight automated pipeline */
/* no box: it sits straight on the page background. Phones: stacked; desktop: text | diagram | result in one row */
.auto-card { display: grid; gap: 22px; }
@media (min-width: 1024px) {
  .auto-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 4vw, 56px); }
  .auto-main { justify-self: center; width: min(100%, 940px); }
}
/* title centred above the two paths */
/* same style as "How we work together" on the About page (.journey-heading) */
.auto-title { margin: 0 0 24px; text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; color: var(--lime); }
.auto-viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.auto-tangle {
  fill: none; stroke: var(--muted); stroke-opacity: .5; stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 2 6; animation: auto-crawl 12s linear infinite;
}
@keyframes auto-crawl { to { stroke-dashoffset: -32; } }
.auto-line { fill: none; stroke: url(#autoGrad); stroke-width: 2; }
.auto-line--m { stroke: url(#autoGradM); }
/* wide diagram from 640px up; the taller one on phones */
.auto-viz--wide { display: none; }
@media (min-width: 640px) {
  .auto-viz--wide { display: block; }
  .auto-viz--tall { display: none; }
}
.auto-start { fill: var(--lime); }
.auto-arrow--muted { fill: var(--muted); opacity: .6; }
.auto-arrow { fill: var(--turquoise); }
.auto-node { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.5; }
/* the slow light crawling through the tangle */
.auto-dot--slow { fill: #fff; filter: drop-shadow(0 0 5px var(--lime)) drop-shadow(0 0 10px rgba(212, 240, 83, .6)); }
.auto-dot--fast { fill: #fff; filter: drop-shadow(0 0 6px var(--lime)); }
.auto-steps { position: relative; height: 1.4em; margin-top: 2px; font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.auto-steps span { position: absolute; left: var(--x); transform: translateX(-50%); white-space: nowrap; transition: color .35s; }
/* a step's name turns blue once the light has reached its dot */
.auto-steps span.is-lit { color: var(--turquoise); }
/* names over the tangled path: each sits just above its dot */
.auto-svg { position: relative; }
.auto-steps--top { position: absolute; inset: 0; height: auto; margin: 0; pointer-events: none; }
.auto-steps--top span { top: var(--y); transform: translate(-50%, -100%); line-height: 1.2; }
.auto-result { display: grid; justify-items: start; gap: 6px; }
.auto-was { position: relative; color: var(--muted); font-size: .85rem; letter-spacing: .04em; }
/* the strike-through draws across once the card is on screen */
.auto-was::after {
  content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1px; background: var(--muted);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out) .5s;
}
.auto-card.is-visible .auto-was::after, html:not(.js) .auto-was::after { transform: scaleX(1); }
.auto-time {
  font-family: var(--font-serif); font-size: clamp(2.4rem, 4.6vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, var(--lime), var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.auto-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise); }
@media (max-width: 480px) { .auto-steps { font-size: .62rem; letter-spacing: .02em; } }
/* Case study pocket under the diagram: only a small pill until it is clicked, then the story slides open */
.auto-case { grid-column: 1 / -1; display: grid; justify-items: center; }
.auto-case-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--turquoise); font: 600 .72rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase;
  transition: border-color var(--dur), color var(--dur);
}
.auto-case-toggle:hover, .auto-case-toggle[aria-expanded="true"] { border-color: var(--turquoise); }
.auto-case-toggle svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur); }
.auto-case-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* the row grows from 0 to its natural height, so the pocket slides open without a fixed height */
.auto-case-panel { display: grid; grid-template-rows: 0fr; width: min(100%, 940px); transition: grid-template-rows var(--dur) var(--ease-out); }
.auto-case-clip { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s var(--dur); }
.auto-case.is-open .auto-case-panel, html:not(.js) .auto-case-panel { grid-template-rows: 1fr; }
.auto-case.is-open .auto-case-clip, html:not(.js) .auto-case-clip { visibility: visible; transition-delay: 0s; }
html:not(.js) .auto-case-toggle { pointer-events: none; }
.auto-case-body { margin-top: 16px; padding: clamp(16px, 2.4vw, 24px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.auto-case-title { margin: 0 0 10px; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 400; line-height: 1.2; }
.auto-case-title { text-align: center; margin-bottom: 16px; }
/* the four key figures as big gradient numbers */
.auto-case-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.auto-case-facts li {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; text-align: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.auto-case-num {
  font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, var(--lime), var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* story: three steps joined by a line of light. Phones: icons down the left; wider: three columns side by side */
.auto-case-story { display: grid; gap: 20px; margin: 22px 0 0; padding: 0; list-style: none; }
.auto-case-story li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-content: start; color: var(--lime); }
.auto-case-story li:nth-child(2) { color: #A8F29B; }
.auto-case-story li:nth-child(3) { color: var(--turquoise); }
.auto-case-story li:not(:last-child)::before {
  content: ""; position: absolute; left: 20px; top: 40px; bottom: -20px; width: 1px;
  background: linear-gradient(currentColor, var(--turquoise)); opacity: .5;
}
.auto-case-icon {
  grid-row: 1 / span 2; position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid currentColor; border-radius: 50%; background: var(--bg); box-shadow: 0 0 16px -5px currentColor;
}
.auto-case-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.auto-case-story h5 { margin: 0 0 4px; align-self: end; font: 600 .72rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: inherit; }
.auto-case-story p { grid-column: 2; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
@media (min-width: 600px) { .auto-case-facts { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) {
  .auto-case-story { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  /* each step centred in its column; the line runs from one icon's edge to the next icon's edge */
  .auto-case-story li { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .auto-case-story li:not(:last-child)::before { left: calc(50% + 20px); right: calc(-50% - 4px); top: 20px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, currentColor, var(--turquoise)); }
  .auto-case-icon { margin-bottom: 12px; }
  .auto-case-story h5 { align-self: auto; }
}
@media (prefers-reduced-motion: reduce) { .auto-case-panel, .auto-case-clip, .auto-case-toggle svg { transition: none; } }

/* Stats panel: a beam of lime/turquoise light circles through the grid lines and outer edge */
.stats {
  position: relative; isolation: isolate; overflow: hidden;
  /* each panel is one linked pair ("12+ from 10+", "50+ across 5"), with no line inside it */
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; padding: 1px;
  background: var(--line); border-radius: var(--radius);
}
.stats-pairs { display: grid; gap: 16px; }
/* second panel: its beam runs half a lap behind the first one */
.stats-pairs > .stats:nth-child(2)::before { animation-delay: -3.5s; }
.stats::before {
  content: ""; position: absolute; inset: -100%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(212, 240, 83, .9) 76%, rgba(91, 241, 227, .9) 86%, transparent 96%);
  animation: stats-beam 7s linear infinite;
}
@keyframes stats-beam { to { transform: rotate(1turn); } }
.stat {
  position: relative; z-index: 1;
  background: var(--bg); padding: clamp(14px, 2vw, 22px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
}
/* round the outer corners so the beam traces the panel's rounded edge */
.stats .stat:first-child { border-radius: calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px); }
.stats .stat:last-child { border-radius: 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0; }
/* numbers: the lime/turquoise gradient slowly flows through the digits */
.stat-num {
  font-family: var(--font-serif); font-size: clamp(1.9rem, 3.1vw, 2.5rem); line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, var(--lime) 0%, var(--turquoise) 35%, var(--lime) 70%, var(--turquoise) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: stat-shimmer 6s ease-in-out infinite alternate;
}
.stat:nth-child(2) .stat-num { animation-delay: -1.5s; }
.stats:nth-child(2) .stat:nth-child(1) .stat-num { animation-delay: -3s; }
.stats:nth-child(2) .stat:nth-child(2) .stat-num { animation-delay: -4.5s; }
@keyframes stat-shimmer { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.stat-label { color: var(--muted); font-size: .9rem; }
/* "From" / "Across" pills on the line between two stats, so each pair reads as one */
.stat-link {
  position: absolute; left: 0; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  padding: 3px 10px; border: 1px solid transparent; border-radius: 999px;
  color: var(--turquoise); font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  /* same lime/turquoise light as the panel's outer edge, circling the pill's border */
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from var(--pill-a), rgba(91, 241, 227, .3) 0 55%, var(--lime) 72%, var(--turquoise) 86%, rgba(91, 241, 227, .3) 100%) border-box;
  box-shadow: 0 0 14px -3px rgba(212, 240, 83, .5), 0 0 22px -8px rgba(91, 241, 227, .7);
  animation: pill-beam 4s linear infinite;
}
.stats-pairs > .stats:nth-child(2) .stat-link { animation-delay: -2s; }
@property --pill-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes pill-beam { to { --pill-a: 360deg; } }
/* stats panel with the "Learn more" button under it */
/* stats panels: kept compact and centred in their column */
.about-side { display: grid; gap: 44px; align-self: start; justify-self: center; width: min(100%, 380px); }
/* "Learn more": centred under the stats, gently grows and glows to invite a click */
.about-more { justify-self: center; animation: cta-pulse 2.4s ease-in-out infinite; }
/* on hover it stops pulsing and stays big, with the normal lime glow */
.about-more:hover { animation: none; scale: 1.08; }
@keyframes cta-pulse {
  0%, 100% { scale: 1; box-shadow: 0 0 0 0 rgba(212, 240, 83, 0); }
  50% { scale: 1.08; box-shadow: 0 0 0 6px rgba(212, 240, 83, .12), 0 8px 28px -8px rgba(91, 241, 227, .5); }
}
.btn-arrow-right { transform: none; }
.btn:hover .btn-arrow-right { transform: translateX(4px); }

/* ---------- More About Us page (about.html) ---------- */
/* first section starts just below the fixed nav bar (no page header) */
.page-top { padding-top: calc(var(--header-h) + clamp(16px, 3vw, 32px)); }
/* About page: sections sit close together, with only a small gap between them */
[data-page="about"] main > .section { padding-bottom: clamp(40px, 5vw, 64px); }
[data-page="about"] main > .section + .section { padding-top: 0; }
/* the first visible section keeps room for the nav bar (a hidden version of it may come before it) */
[data-page="about"] main > .section.page-top { padding-top: calc(var(--header-h) + clamp(16px, 3vw, 32px)); }

/* Design Studio facts strip: three items (What we create | Languages | Based in) sharing the width evenly,
   unlike the consulting strip, which needs a wide column for its eleven market chips */
@media (min-width: 1024px) {
  .who-body .fact-card.fact-card--studio { grid-template-columns: 1.2fr 1fr 1fr; }
}
.fact-card--studio .market-chips { flex-wrap: wrap; }

/* About page: two versions. Lime shows data-only="consulting", pink (Design Studio) shows data-only="studio" */
html:not(.theme-design) [data-only="studio"], .theme-design [data-only="consulting"] { display: none; }

/* Our two departments: two cards; the one you are in comes first, glows and says "You are here" */
.dept-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dept {
  --dept: #D4F053; --dept-rgb: 212, 240, 83;
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.dept--ds { --dept: #FF337D; --dept-rgb: 255, 51, 125; }
.theme-design .dept--ds { order: -1; }
.dept:hover { transform: translateY(-4px); border-color: rgba(var(--dept-rgb), .5); }
/* the department you are in */
html:not(.theme-design) .dept--bc, .theme-design .dept--ds {
  border-color: rgba(var(--dept-rgb), .55); box-shadow: 0 24px 50px -30px rgba(var(--dept-rgb), .55);
}
.dept-here {
  display: none; align-self: flex-start; padding: 3px 11px; border-radius: 999px;
  background: var(--dept); color: #0B1620; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
html:not(.theme-design) .dept--bc .dept-here, .theme-design .dept--ds .dept-here { display: inline-block; }
.dept-name { margin: 0; font-size: clamp(1.3rem, 2vw, 1.55rem); font-weight: 500; color: var(--text); }
.dept-name::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--dept); box-shadow: 0 0 12px var(--dept); vertical-align: .12em; }
.dept-desc { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.dept-lead { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; font-size: .92rem; color: var(--text); }
.dept-lead img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid var(--dept); }
.dept-lead-label { color: var(--muted); }
.dept-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: 6px;
  color: var(--dept); font-weight: 600; font-size: .92rem;
}
.dept-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.dept-link:hover svg { transform: translateX(4px); }
/* Who we are: the story in two columns, then the facts as one full-width strip */
.who-body { display: grid; gap: clamp(32px, 4vw, 48px); }
.who-story { display: grid; gap: 0 clamp(32px, 4vw, 56px); }
.who-story > p:not(.section-kicker) { max-width: none; margin: 0 0 1em; }
@media (min-width: 768px) {
  .who-story { grid-template-columns: 1fr 1fr; }
  .who-story > p:not(.section-kicker) { margin: 0; }
}
.fact-card {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0; padding: 0 clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color var(--dur), box-shadow var(--dur);
}
/* tablet: 2 x 2 grid of facts; desktop: one row of four, markets gets the most room */
@media (min-width: 768px) {
  .who-body .fact-card { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
  .who-body .fact-card > div { padding: 20px clamp(20px, 2.4vw, 28px); align-content: start; }
  .who-body .fact-card > div:nth-child(odd) { border-right: 1px solid var(--line); }
  .who-body .fact-card > div:nth-child(3) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .who-body .fact-card { grid-template-columns: .65fr 2fr 1.15fr 1fr; }
  .who-body .fact-card > div { border-bottom: 0; }
  .who-body .fact-card > div:not(:last-child) { border-right: 1px solid var(--line); }
  .who-body .market-chips { gap: 4px; }
}
.fact-card:hover { border-color: rgba(212, 240, 83, .35); box-shadow: 0 24px 60px -30px rgba(212, 240, 83, .35); }
/* a soft band of light slowly sweeps down the card */
.fact-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(91, 241, 227, .07) 45%, rgba(212, 240, 83, .09) 55%, transparent);
  animation: fact-sweep 6s ease-in-out infinite;
}
@keyframes fact-sweep { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(240%); } }
/* facts slide in one after another */
.js .fact-card.reveal-stagger > div { transform: translateX(32px); }
.js .fact-card.reveal-stagger.is-visible > div { transform: none; }
.fact-card > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-card > div:last-child { border-bottom: 0; }
.fact-card dt {
  display: flex; align-items: center; gap: 0;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--turquoise);
  transition: color var(--dur), gap var(--dur) var(--ease-out);
}
/* a lime line grows in front of the label on hover */
.fact-card dt::before { content: ""; width: 0; height: 1px; background: var(--lime); transition: width var(--dur) var(--ease-out); }
.fact-card > div:hover dt { color: var(--lime); gap: 10px; }
.fact-card > div:hover dt::before { width: 22px; }
.fact-card dd { margin: 0; font-size: .95rem; transition: transform var(--dur) var(--ease-out); }
.fact-card > div:hover dd { transform: translateX(6px); }
/* "11+" counts up and shimmers like the home page stats */
.fact-card .fact-big {
  font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(110deg, var(--lime) 0%, var(--turquoise) 35%, var(--lime) 70%, var(--turquoise) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: stat-shimmer 6s ease-in-out infinite alternate;
}
/* markets: small chips that light up one by one */
.market-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.market-chips span {
  padding: 2px 9px; border-radius: 999px; font-size: .8rem;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  animation: chip-glow 11s ease-in-out infinite;
}
.market-chips span:nth-child(2) { animation-delay: 1s; }
.market-chips span:nth-child(3) { animation-delay: 2s; }
.market-chips span:nth-child(4) { animation-delay: 3s; }
.market-chips span:nth-child(5) { animation-delay: 4s; }
.market-chips span:nth-child(6) { animation-delay: 5s; }
.market-chips span:nth-child(7) { animation-delay: 6s; }
.market-chips span:nth-child(8) { animation-delay: 7s; }
.market-chips span:nth-child(9) { animation-delay: 8s; }
.market-chips span:nth-child(10) { animation-delay: 9s; }
.market-chips span:nth-child(11) { animation-delay: 10s; }
@keyframes chip-glow {
  0%, 20%, 100% { border-color: var(--line); color: var(--text); box-shadow: none; }
  8% { border-color: var(--lime); color: var(--lime); box-shadow: 0 0 16px -4px rgba(212, 240, 83, .6); }
}
/* What we do: four steps */
.what { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 40%, var(--bg)); }
.steps-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.section-more { margin-top: 40px; }
/* About page "What we do": text on the left, "Explore services" centred in the space on the right */
.what-layout { display: grid; justify-items: start; }
.what-layout .section-head { margin-bottom: 0; }
.what-more { position: relative; isolation: isolate; }
/* two rings ripple out from the button, one after the other */
.what-more::before, .what-more::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  border: 1px solid var(--turquoise); opacity: 0; pointer-events: none;
  animation: what-ripple 3s var(--ease-out) infinite;
}
.what-more::after { animation-delay: 1.5s; }
@keyframes what-ripple {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.35, 1.9); opacity: 0; }
}
/* the arrow keeps nudging to the right, pointing the way */
.what-more .btn-arrow-right { animation: what-nudge 1.6s var(--ease-in-out) infinite; }
@keyframes what-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
.what-more:hover { scale: 1.06; }
.js .what-more.reveal { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), scale var(--dur) var(--ease-out), border-color var(--dur), color var(--dur), box-shadow var(--dur); }
.what-more:hover::before, .what-more:hover::after { border-color: var(--lime); }
.what-more:hover .btn-arrow-right { animation: none; transform: translateX(6px); }
@media (min-width: 1024px) {
  .what-layout { grid-template-columns: minmax(0, 760px) 1fr; align-items: center; }
  .what-layout .what-more { margin-top: 0; justify-self: center; }
}
/* Why work with us: reasons with lime icons */
.why-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.why-grid li {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out);
}
.why-grid li:hover { border-color: rgba(212, 240, 83, .4); transform: translateY(-4px); }
.why-grid h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.why-promise { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.35; color: var(--text); text-align: center; margin: 0 auto clamp(40px, 6vw, 64px); }
/* "Freshly squeezed, never from concentrate." on one line wherever it fits (wider than the 760px heading area) */
/* intro under it runs about as wide as that one-line heading */
.why-head { max-width: none; }
.why-intro { max-width: 860px; }
@media (min-width: 640px) { .why-title, .who-title { white-space: nowrap; width: max-content; } }

/* How we work together: three numbered steps on a lime → turquoise line */
.journey-heading { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); text-align: center; margin: 0 0 28px; }
.journey {
  --node: 52px;
  position: relative; display: grid; gap: 28px; margin: 0 0 clamp(56px, 8vw, 96px); padding: 0; list-style: none;
}
.journey:last-child { margin-bottom: 0; }
/* the connecting line: one segment per step on phones, one line that draws in once revealed from 768px */
.journey-step { position: relative; padding-left: calc(var(--node) + 20px); }
.journey-step:not(:last-child)::before {
  content: ""; position: absolute; left: calc(var(--node) / 2 - 1px); top: calc(var(--node) / 2); bottom: -28px;
  width: 2px; background: linear-gradient(to bottom, var(--lime), var(--turquoise));
}
.journey-node {
  position: absolute; left: 0; top: 0; width: var(--node); height: var(--node); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.5rem; color: var(--lime);
  background: var(--bg); border: 1.5px solid var(--lime); box-shadow: 0 0 0 6px var(--bg), 0 0 24px -6px rgba(212, 240, 83, .7);
  transition: background var(--dur), color var(--dur);
}
.journey-step:hover .journey-node { background: var(--lime); color: var(--bg); }
.journey-tag { font-size: 1.25rem; font-weight: 600; margin: 10px 0 8px; }
.journey-step p { color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 38ch; }
.journey-step p.journey-tag { color: var(--text); }
.journey-questions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.journey-questions em {
  font-size: 1.05rem; color: var(--turquoise); padding: 4px 14px;
  border: 1px solid rgba(91, 241, 227, .3); border-radius: 999px; background: rgba(91, 241, 227, .06);
}
@media (min-width: 768px) {
  /* from 768px the steps sit side by side, each centred under its circle */
  .journey { grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
  .journey::before {
    content: ""; position: absolute; left: calc((100% - 64px) / 6); right: calc((100% - 64px) / 6); top: calc(var(--node) / 2 - 1px);
    height: 2px; background: linear-gradient(to right, var(--lime), var(--turquoise));
    transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out) .2s;
  }
  .journey.is-visible::before, html:not(.js) .journey::before { transform: none; }
  .journey-step { padding-left: 0; padding-top: calc(var(--node) + 8px); }
  .journey-step:not(:last-child)::before { display: none; }
  .journey-node { left: 50%; translate: -50% 0; }
  .journey-step p { margin-left: auto; margin-right: auto; }
  .journey-questions { justify-content: center; }
}

/* Design Studio "How we work": logo-ownership note under the steps */
.how-own {
  display: flex; align-items: flex-start; gap: 12px; max-width: none; margin: clamp(36px, 5vw, 52px) 0 0; padding: 16px 20px;
  border-radius: var(--radius-sm); border: 1px solid rgba(255, 51, 125, .35); background: rgba(255, 51, 125, .07);
  color: var(--text); font-size: .95rem; line-height: 1.55;
}
/* the first sentence ("Your logo is unique…") sits on its own line, in pink */
.how-own-lead { display: block; margin-bottom: 2px; font-weight: 600; color: var(--pink); }
/* Design Studio: smaller section titles ("What we design.", "From idea to finished design.",
   "Our latest work.", the call-to-action box); the big hero title stays as it is */
[data-page="design"] main > .section .section-title { margin-bottom: 18px; }
/* Design Studio: less empty space between sections; one gap between two sections, not two paddings added up */
main:has(> .design-services) > .section { padding-top: 0; padding-bottom: clamp(56px, 6vw, 80px); }
main:has(> .design-services) > .design-services { padding-top: clamp(48px, 5vw, 64px); }
[data-page="design"] main > .section .section-kicker { margin-bottom: 14px; }
/* phones: a little smaller and tighter so the first sentence still fits on one line */
@media (max-width: 600px) {
  .how-own { padding: 14px 14px; gap: 10px; }
  .how-own-lead { font-size: clamp(.78rem, 3.55vw, .95rem); letter-spacing: -0.01em; }
}
.how-own svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--pink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
/* four-step version (Design Studio "How we work"): four columns from 1024px, two rows of two in between */
.how-we-work .journey { margin-bottom: 0; }
@media (min-width: 768px) and (max-width: 1023px) {
  .journey--4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .journey--4::before { display: none; }
}
@media (min-width: 1024px) {
  .journey--4 { grid-template-columns: repeat(4, 1fr); }
  .journey--4::before { left: calc((100% - 96px) / 8); right: calc((100% - 96px) / 8); }
}

/* Design Studio "How we work": small, clear steps drawn by a pen.
   When the steps scroll into view a little pen travels around each circle and draws its ring
   (one after another, 0.9 s apart) while a dashed pen line draws across from step to step.
   Hovering a step draws its ring again. */
.journey--4 { --node: 54px; --draw: 1.1s; }
.journey--4 .journey-step:nth-child(1) { --d: .2s; }
.journey--4 .journey-step:nth-child(2) { --d: 1.1s; }
.journey--4 .journey-step:nth-child(3) { --d: 2s; }
.journey--4 .journey-step:nth-child(4) { --d: 2.9s; }
.theme-design .journey--4 .journey-node,
.journey--4 .journey-node {
  border: 0; background: var(--bg); box-shadow: 0 0 0 6px var(--bg); color: var(--text);
  font-size: 1.35rem; transition: color var(--dur);
}
.jn-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jn-ring path {
  fill: none; stroke: var(--pink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(255, 51, 125, .55));
}
.jn-num { position: relative; line-height: 1; }
/* the pen: its wrapper turns once around the circle while the pen itself stays upright */
.jn-orbit { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.jn-pen { position: absolute; left: 50%; top: 4%; width: 22px; height: 22px; margin: -19.2px 0 0 -2.9px; transform-origin: 2.9px 19.2px; }
.jn-pen svg { width: 100%; height: 100%; fill: none; stroke: var(--turquoise); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(91, 241, 227, .7)); }
.js .journey--4 .jn-ring path { stroke-dashoffset: 1; }
.journey--4.is-visible .jn-ring path { animation: jn-draw var(--draw) var(--ease-out) var(--d) both; }
.journey--4.is-visible .jn-orbit { animation: jn-orbit var(--draw) var(--ease-out) var(--d) both; }
.journey--4.is-visible .jn-pen { animation: jn-upright var(--draw) var(--ease-out) var(--d) both; }
/* hover: the same drawing again (new names restart the animations) */
.journey--4.is-visible .journey-step:hover .jn-ring path { animation: jn-draw2 var(--draw) var(--ease-out) both; }
.journey--4.is-visible .journey-step:hover .jn-orbit { animation: jn-orbit2 var(--draw) var(--ease-out) both; }
.journey--4.is-visible .journey-step:hover .jn-pen { animation: jn-upright2 var(--draw) var(--ease-out) both; }
@keyframes jn-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes jn-draw2 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes jn-orbit { 0% { opacity: 0; transform: rotate(0); } 8%, 85% { opacity: 1; } 100% { opacity: 0; transform: rotate(1.05turn); } }
@keyframes jn-orbit2 { 0% { opacity: 0; transform: rotate(0); } 8%, 85% { opacity: 1; } 100% { opacity: 0; transform: rotate(1.05turn); } }
@keyframes jn-upright { from { transform: rotate(0); } to { transform: rotate(-1.05turn); } }
@keyframes jn-upright2 { from { transform: rotate(0); } to { transform: rotate(-1.05turn); } }
.journey--4 .journey-step:hover .journey-node { background: var(--bg); color: var(--pink); }
/* clearer, smaller text */
.journey--4 .journey-tag { font-size: 1.05rem; margin: 8px 0 4px; transition: color var(--dur); }
.journey--4 .journey-step:hover .journey-tag { color: var(--pink); }
.journey--4 .journey-step p:not(.journey-tag) { font-size: .88rem; line-height: 1.5; max-width: 28ch; }
/* phones: the line between the steps is a dashed pen line too */
.journey--4 .journey-step:not(:last-child)::before {
  width: 0; background: none; border-left: 2px dashed rgba(255, 51, 125, .6);
}
/* wide screens: one dashed pen line across all four steps, drawn left to right along with the rings */
@media (min-width: 1024px) {
  .journey--4::before {
    height: 0; background: none; border-top: 2px dashed rgba(255, 51, 125, .6);
    transition: transform 3.4s linear .3s;
  }
  .journey--4 .journey-node { z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js .journey--4 .jn-ring path { stroke-dashoffset: 0; }
  .journey--4.is-visible .jn-ring path, .journey--4.is-visible .journey-step:hover .jn-ring path { animation: none; }
  .jn-orbit { display: none; }
}

/* small pink lemon line drawings scattered around the "How we work" section */
/* the same drawings sit in every Design Studio section; each section gets its own arrangement below */
section:has(> .how-lemons) { position: relative; overflow: hidden; }
section:has(> .how-lemons) > .container { position: relative; z-index: 1; }
.how-lemons { position: absolute; inset: 0; pointer-events: none; }
/* hero: above the flowing ribbon, below the title and buttons */
.how-lemons--hero { z-index: -1; }
.how-lemons--hero .hl-1 { top: 18%; left: auto; right: 8%; }
.how-lemons--hero .hl-2 { top: 30%; right: auto; left: 52%; }
.how-lemons--hero .hl-3 { bottom: 30%; left: auto; right: 22%; }
.how-lemons--hero .hl-4 { bottom: 38%; right: auto; left: 3%; }
.how-lemons--hero .hl-5 { bottom: 20%; left: 62%; }
.how-lemons--hero .hl-6 { top: 22%; right: auto; left: 30%; }
/* Services: in the side margins, next to the cards */
.how-lemons--b .hl-1 { top: 4%; }
.how-lemons--b .hl-2 { top: 3%; }
.how-lemons--b .hl-3 { bottom: auto; top: 48%; left: 1.5%; }
.how-lemons--b .hl-4 { bottom: auto; top: 62%; right: 1.5%; }
.how-lemons--b .hl-5 { bottom: 1%; left: 3%; }
.how-lemons--b .hl-6 { top: auto; bottom: 2%; right: 4%; }
/* Projects and the call to action: mirrored, so they don't repeat How we work */
.how-lemons--c, .how-lemons--d { transform: scaleX(-1); }
.how-lemons--c .hl-1 { top: 8%; }
.how-lemons--c .hl-5 { left: 2%; bottom: 40%; }
.how-lemons--d .hl-1 { top: 6%; left: 2%; }
.how-lemons--d .hl-2 { top: 50%; right: 3%; }
.how-lemons--d .hl-4 { bottom: 8%; right: 10%; }
.how-lemons--d .hl-6 { top: 12%; right: 20%; }
.hl { position: absolute; display: block; color: var(--pink); opacity: .42; animation: hl-float 9s ease-in-out infinite alternate; }
.hl svg { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.hl-1 { width: 64px; left: 4%; top: 14%; rotate: -18deg; }
.hl-2 { width: 42px; right: 6%; top: 10%; animation-duration: 11s; animation-delay: -3s; }
.hl-3 { width: 30px; left: 10%; bottom: 14%; animation-duration: 8s; animation-delay: -5s; }
.hl-4 { width: 54px; right: 4%; bottom: 18%; rotate: 24deg; animation-delay: -2s; }
.hl-5 { width: 34px; left: 44%; bottom: 5%; rotate: 160deg; opacity: .3; animation-duration: 12s; }
.hl-6 { width: 24px; right: 30%; top: 6%; opacity: .32; animation-duration: 10s; animation-delay: -6s; }
.hl-2 svg, .hl-3 svg, .hl-6 svg { animation: hl-spin 40s linear infinite; }
@keyframes hl-float { from { transform: translateY(-6px); } to { transform: translateY(8px); } }
@keyframes hl-spin { to { transform: rotate(1turn); } }
@media (max-width: 767px) {
  .hl-1 { width: 44px; left: -6px; top: 8%; }
  .hl-2 { width: 30px; top: 5%; }
  .hl-4 { width: 38px; right: -6px; bottom: 6%; }
  .hl-3, .hl-5, .hl-6 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hl, .hl svg { animation: none; } }

/* Slogan band: big friendly line with two lemon slices that circle the cursor (js/main.js) */
.slogan-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(64px, 9vw, 120px) 0;
  /* no band edges: same background as the rest of the page, only a soft glow behind the words */
}
.slogan-band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 100%); height: 70%; /* fits inside the band, so no hard edges */
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(ellipse closest-side, rgba(212, 240, 83, .08), transparent);
}
.slogan {
  position: relative; z-index: 1;
  margin: 0 auto; max-width: 1100px; text-align: center;
  font-size: clamp(1rem, 5vw, 3.6rem); font-weight: 400; line-height: 1.06; /* 5vw keeps the first line on one line on phones, in DE and BG too */ letter-spacing: -0.035em; text-wrap: balance;
}
.slogan .serif { white-space: nowrap; }
/* "When business gives you lemons," always on one line, the answer on the line below */
.slogan > span { display: block; white-space: nowrap; }
/* in "lemons" the "o" is drawn as a slowly turning lime lemon slice, like the ones circling the cursor (letter kept for screen readers) */
.lemon-o { position: relative; display: inline-block; color: transparent; }
.lemon-o::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .56em; height: .56em; margin: -.28em 0 0 -.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='29' fill='%23D4F053' fill-opacity='.12' stroke='%23D4F053' stroke-width='5'/%3E%3Ccircle cx='32' cy='32' r='21' fill='none' stroke='%23D4F053' stroke-width='2.5' opacity='.8'/%3E%3Cpath d='M32 32V12M32 32l14-14M32 32h20M32 32l14 14M32 32v20M32 32 18 46M32 32H12M32 32 18 18' stroke='%23D4F053' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(212, 240, 83, .45));
  animation: lemon-spin 14s linear infinite;
}
@keyframes lemon-spin { to { transform: rotate(1turn); } }
/* hero title: the last "E" of "SqueezE" is drawn as a lemon half, rind on the left and the cut face
   on the right, with the middle segment line as the E's bar (letter kept for screen readers) */
.lemon-e { position: relative; display: inline-block; color: transparent; margin: 0 .03em 0 -.03em; } /* a touch of room for the tilt */
.lemon-e::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .7em; margin-top: -.36em; /* capital-letter height, sitting on the baseline */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 0 36 64'%3E%3Cpath d='M36 3A29 29 0 0 0 36 61Z' fill='%23D4F053' fill-opacity='.12'/%3E%3Cpath d='M36 3A29 29 0 0 0 36 61' fill='none' stroke='%23D4F053' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M36 11A21 21 0 0 0 36 53' fill='none' stroke='%23D4F053' stroke-width='2.5' opacity='.8'/%3E%3Cpath d='M36 4V60' stroke='%23D4F053' stroke-width='2.5' stroke-linecap='round' opacity='.8'/%3E%3Cpath d='M36 32 22 18M36 32 22 46' stroke='%23D4F053' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M36 32H16' stroke='%23D4F053' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  /* a slight tilt keeps it playful while it still reads as an E; a dark drop shadow plus a lime glow lift it off the white text */
  transform: rotate(12deg);
  filter: drop-shadow(.03em .05em .04em rgba(0, 0, 0, .75)) drop-shadow(0 0 .14em rgba(212, 240, 83, .6));
}
/* lemon slices: positioned by JS (transform), drawn in the logo's lime line style */
.lemon-slice {
  position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none;
  width: var(--size); height: var(--size); will-change: transform;
}
.lemon-slice--a { --size: clamp(64px, 8vw, 104px); }
.lemon-slice--b { --size: clamp(48px, 6vw, 76px); }
.lemon-slice svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 14px rgba(212, 240, 83, .35)); }
.lemon-slice .rind { fill: rgba(212, 240, 83, .1); stroke: var(--lime); stroke-width: 2.4; }
.lemon-slice .pith { fill: rgba(212, 240, 83, .06); stroke: var(--lime); stroke-width: 1.4; opacity: .8; }
.lemon-slice .segments { fill: none; stroke: var(--lime); stroke-width: 1.6; stroke-linecap: round; opacity: .85; }
/* before JS places them (and without JS): resting spots */
.lemon-slice--a { transform: translate(8vw, 30%); }
.lemon-slice--b { transform: translate(84vw, 140%); }

/* Services */
.services { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 40%, var(--bg)); }
.services-page { padding-top: 0; }
/* Services page: "Get in Touch" centred under the cards */
.services-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
/* Services page: same gap between the title and the cards as Testimonials on the home page
   (the title's 24px margin + the .section-head gap) */
[data-page="services"] .page-hero { padding-bottom: clamp(40px, 6vw, 72px); }
.service-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.service-card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden;
  padding: 22px 22px 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur);
}
/* cursor-following glow (set by JS on fine pointers) */
.service-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(91, 241, 227, .14), transparent 60%);
  transition: opacity var(--dur);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(91, 241, 227, .35); }
.service-card:hover::before { opacity: 1; }
.s-num { position: absolute; top: 20px; right: 22px; font-family: var(--font-serif); font-size: 1rem; color: var(--muted); opacity: .7; }
.s-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 12px;
  color: var(--turquoise); background: rgba(91, 241, 227, .08); border: 1px solid rgba(91, 241, 227, .2);
  transition: color var(--dur), background-color var(--dur), border-color var(--dur);
}
.service-card:hover .s-icon { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); margin: 0; font-size: .92rem; line-height: 1.55; }

/* Team */
.team-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.member {
  text-align: center; padding: 36px 24px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur);
}
.member:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.avatar {
  position: relative; width: 168px; height: 168px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; object-fit: cover;
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px transparent;
}
div.avatar::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 140deg, var(--lime), var(--turquoise), var(--teal), var(--lime));
}
div.avatar { isolation: isolate; }
div.avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--surface-2); z-index: -1; }
img.avatar { border: 3px solid var(--turquoise); }
/* photo inside the gradient ring; object-position keeps the face centred */
.avatar-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.avatar span { font-family: var(--font-serif); font-size: 1.8rem; color: var(--lime); }
.avatar-pet svg { width: 64px; height: 64px; fill: none; stroke: var(--turquoise); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.member h2, .member h3 { font-size: 1.25rem; margin-bottom: 4px; }
/* job title under the name: kept small so a double role ("Operations Manager & Graphic Designer") fits on one line */
.member .role { color: var(--lime); font-size: .8rem; font-weight: 500; letter-spacing: .01em; margin-bottom: 14px; }
.member-email {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin: -6px 0 12px;
  color: var(--text); font-size: .9rem; opacity: .85; overflow-wrap: anywhere; transition: color var(--dur), opacity var(--dur);
}
.member-email svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--turquoise); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.member-email:hover { color: var(--lime); opacity: 1; }
.member p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* Testimonials */
/* Scrolling strips (testimonials, client logos), like the markets strip.
   JS copies the items for a seamless loop and sets the speed from data-loop. */
.loop-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.loop-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 56s linear infinite; }
.loop-marquee .loop-track > * { margin: 0 16px 0 0; } /* margin, not gap, so -50% loops exactly */
.loop-marquee:hover .loop-track,
.loop-marquee:focus-within .loop-track,
.loop-marquee.paused .loop-track { animation-play-state: paused; }
.testi-track > .testi { flex: 0 0 min(300px, 76vw); }
.testi-toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--muted);
  font: 500 .85rem var(--font-sans); cursor: pointer; transition: color var(--dur), border-color var(--dur);
}
.testi-toggle:hover { color: var(--text); border-color: var(--turquoise); }
.testi-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.testi-toggle .icon-play { display: none; }
.testi-toggle.is-paused .icon-play { display: block; }
.testi-toggle.is-paused .icon-pause { display: none; }
/* Testimonial card: turquoise outline with the same circling light beam as the stats panel.
   The card's own background is the 1px outline; ::after is the card face, ::before the beam. */
.testi {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0; padding: 25px 23px; border-radius: var(--radius);
  background: var(--line-strong); /* plain outline; turns turquoise with the beam on hover */
  display: flex; flex-direction: column;
  transition: background-color var(--dur);
}
.testi::before {
  content: ""; position: absolute; inset: -100%; z-index: -2; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(212, 240, 83, 1) 76%, rgba(255, 255, 255, .9) 86%, transparent 96%);
  animation: stats-beam 7s linear infinite paused;
  opacity: 0; transition: opacity var(--dur);
}
.testi:hover { background: var(--turquoise); }
.testi:hover::before { opacity: 1; animation-play-state: running; }
.testi::after {
  content: ""; position: absolute; inset: 1px; z-index: -1; pointer-events: none;
  border-radius: calc(var(--radius) - 1px);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
}
/* spread the beams so neighbouring cards aren't in sync */
.testi:nth-child(3n+2)::before { animation-delay: -2.3s; }
.testi:nth-child(3n)::before { animation-delay: -4.6s; }
.quote-mark { width: 26px; height: 20px; fill: var(--lime); opacity: .9; margin-bottom: 16px; }
.testi blockquote { margin: 0 0 18px; flex: 1; }
.testi blockquote p { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.4; margin: 0; }
.testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.testi figcaption > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.testi figcaption span { color: var(--lime); font-size: .85rem; }
/* small company logo left of the name (logos in Media/clients/) */
.testi-logo { flex-shrink: 0; width: 36px; height: 36px; object-fit: contain; opacity: .9; }
.testi-logo--wide { width: 48px; }

/* Contact */
.contact { overflow: hidden; }
.contact-glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 241, 227, .12), rgba(212, 240, 83, .05) 40%, transparent 70%);
  pointer-events: none;
}
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
.contact-copy > p:not(.section-kicker) { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.contact-list svg { color: var(--turquoise); flex-shrink: 0; }
.contact-list a { color: var(--text); border-bottom: 1px solid var(--line-strong); transition: border-color var(--dur), color var(--dur); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--lime); border-color: var(--lime); }

.contact-form {
  padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--radius) + 6px);
  background: rgba(19, 38, 52, .7); border: 1px solid var(--line);
  display: grid; gap: 20px;
}
.field-row { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .9rem; font-weight: 500; }
.req { color: var(--lime); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text);
  font: 400 1rem var(--font-sans);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3B5C0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(91, 241, 227, .2);
}
.field-error { display: none; color: var(--error); font-size: .85rem; margin: 0; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--error); }
.field.invalid .field-error { display: block; }
.field-captcha { min-height: 66px; } /* reserve the hCaptcha box's height so the button doesn't jump */
/* shrink the standard hCaptcha box to 85% (302px → ~257px wide); the box itself has a fixed size */
.field-captcha .h-captcha { width: 257px; height: 65px; }
.field-captcha .h-captcha > div, .field-captcha .h-captcha iframe { transform: scale(.85); transform-origin: 0 0; }
.field-captcha.invalid .h-captcha iframe { outline: 2px solid var(--error); outline-offset: 2px; border-radius: 4px; }
.field-captcha.invalid .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn-submit { justify-self: start; position: relative; }
.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(11, 22, 32, .3); border-top-color: #0B1620;
  animation: spin .8s linear infinite;
}
.btn-submit.loading { pointer-events: none; opacity: .8; }
.btn-submit.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { margin: 0; color: var(--muted); font-size: .85rem; }
.form-note a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px; }
.form-note a:hover { color: var(--lime); }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }
/* no message yet: take no space, so the button sits as far from the box's bottom edge
   as from the "I am human" check above it (the form's 20px gap) */
.form-status:empty { position: absolute; }
.contact-form { padding-bottom: 20px; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: var(--error); }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Sub-page hero (Our Team, Get in Touch) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  /* content starts just below the fixed nav bar */
  padding: calc(var(--header-h) + clamp(16px, 3vw, 32px)) 0 clamp(48px, 7vw, 88px);
}
.page-hero .ribbon { opacity: .55; }
.page-hero .section-sub { margin: 0; }
.team-page { padding-top: 0; }
.not-found { min-height: 72vh; display: flex; align-items: center; }
.not-found .hero-ctas { margin-top: 36px; }
.contact-page { padding-bottom: clamp(80px, 12vw, 140px); }
.contact-page .contact-form { background: rgba(19, 38, 52, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* a slightly more compact form on the contact page (both the lime and the pink version) */
.contact-page .contact-form { gap: 14px; padding: clamp(20px, 2.6vw, 32px); }
.contact-page .field-row { gap: 14px; }
.contact-page .field { gap: 6px; }
.contact-page .field input, .contact-page .field select { min-height: 44px; padding: 10px 14px; }
.contact-page .field textarea { min-height: 72px; padding: 10px 14px; }
.contact-page .form-note { margin: 0; }
/* wide screens: the whole contact section fills exactly one screen, content centred vertically,
   so the title, details, form and Send button are all visible without scrolling */
@media (min-width: 1024px) and (min-height: 560px) {
  .contact-page {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: calc(var(--header-h) + 12px); padding-bottom: 28px;
  }
  .contact-page .contact-grid { align-items: center; }
}
/* short laptop windows: squeeze the form a little more so the Send button still fits */
@media (min-width: 1024px) and (max-height: 700px) {
  .contact-page .contact-form { gap: 10px; padding: 18px 22px; }
  .contact-page .field-row { gap: 10px; }
  .contact-page .field textarea { min-height: 56px; }
  .contact-page { padding-top: calc(var(--header-h) + 6px); padding-bottom: 12px; }
}

/* Our Clients page */
.clients-page { padding-top: 0; }
.clients-block + .clients-block { margin-top: clamp(56px, 8vw, 96px); }
.clients-heading { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 400; margin-bottom: 12px; }
.clients-sub { color: var(--muted); margin-bottom: 24px; }
/* Client logos: a still grid of tiles that each float gently at their own rhythm.
   The float is on the <li>, so the hover lift on the tile itself doesn't fight it. */
.logo-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 24px 0 0; padding: 8px 0 0; list-style: none; }
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(5, 1fr); } }
.logo-grid > li { animation: tile-float 5s ease-in-out infinite; }
.logo-grid > li:nth-child(2) { animation-delay: -1s; }
.logo-grid > li:nth-child(3) { animation-delay: -2s; }
.logo-grid > li:nth-child(4) { animation-delay: -3s; }
.logo-grid > li:nth-child(5) { animation-delay: -4s; }
@keyframes tile-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.logo-tile {
  position: relative; overflow: hidden;
  display: grid; place-items: center; height: 100%; min-height: clamp(104px, 12vw, 140px); padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
/* logos keep their own colours (brand rules); only the brightness changes on hover */
.logo-tile img { width: auto; height: auto; max-height: 56px; max-width: 78%; opacity: .85; transition: opacity var(--dur), transform var(--dur) var(--ease-out); }
/* hover: the tile lifts with a lime glow */
.logo-tile:hover {
  border-color: var(--lime); transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 40px -18px rgba(212, 240, 83, .45);
}
.logo-tile:hover img { opacity: 1; }
/* tiles are links to the clients' sites: same lift for keyboard focus as for hover */
a.logo-tile { color: inherit; text-decoration: none; cursor: pointer; }
a.logo-tile:focus-visible { border-color: var(--lime); transform: translateY(-6px) scale(1.03); box-shadow: 0 18px 40px -18px rgba(212, 240, 83, .45); }
/* text only for screen readers */
.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; }
.region-list { display: flex; flex-wrap: wrap; gap: 10px; }
.region-list li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); font-size: .95rem;
}
.region-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.case-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.case-card { padding: 24px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.case-tag { margin: 0 0 10px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--turquoise); }
.case-card h3, .case-card h4 { font-size: 1.2rem; margin-bottom: 16px; }
.case-card dl { margin: 0; display: grid; gap: 4px; }
.case-card dt { margin-top: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case-card dt:first-child { margin-top: 0; }
.case-card dd { margin: 0; color: #C9D6DD; font-size: .95rem; }
.case-card .case-result { color: var(--lime); font-weight: 500; }

/* Legal pages (Terms, Privacy, Cookies) */
.legal-hero { padding-bottom: clamp(32px, 5vw, 56px); }
.legal-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 600px; left: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 240, 83, .1), rgba(91, 241, 227, .06) 40%, transparent 70%);
}
.legal-updated { margin: 0; color: var(--muted); font-size: .95rem; }
.legal { padding-top: 0; }
.legal-layout { display: grid; gap: 40px; }
/* Legal pages hold an English, German and Bulgarian version; only the one for the chosen language shows.
   Without JavaScript the page stays lang="en", so the English version shows. */
html[lang="en"] [data-lang-only]:not([data-lang-only="en"]),
html[lang="de"] [data-lang-only]:not([data-lang-only="de"]),
html[lang="bg"] [data-lang-only]:not([data-lang-only="bg"]) { display: none !important; }
.legal-toc { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.legal-toc ol { margin: 0; padding-left: 1.4em; color: var(--muted); font-size: .92rem; }
.legal-toc li { padding: 4px 0; line-height: 1.45; }
.legal-toc a { color: var(--text); opacity: .8; transition: color var(--dur), opacity var(--dur); }
.legal-toc a:hover { color: var(--lime); opacity: 1; }
.legal-note {
  margin-bottom: 40px; padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 240, 83, .4); background: rgba(212, 240, 83, .07); color: var(--text); font-size: .95rem;
}
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 48px 0 16px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-note + h2 { margin-top: 0; }
.prose p, .prose li { color: #C9D6DD; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--lime); }
.prose strong { color: var(--text); font-weight: 600; }
@media (min-width: 1024px) {
  .legal-layout { grid-template-columns: 260px 1fr; gap: 64px; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Call-to-action band leading to the contact page */
.cta-band { padding-top: 0; }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  max-width: 760px; margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 40px);
  border-radius: calc(var(--radius) + 10px); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
}
.cta-box::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(91, 241, 227, .16), rgba(212, 240, 83, .06) 45%, transparent 70%);
}
/* hover: the box grows and tilts towards the cursor (tilt set by js/main.js), with a glow under the pointer */
.cta-box::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 240, 83, .14), transparent 60%);
  transition: opacity var(--dur);
}
.cta-box:hover { border-color: rgba(91, 241, 227, .4); box-shadow: 0 30px 80px -30px rgba(91, 241, 227, .35); }
.cta-box:hover::after { opacity: 1; }
.js .cta-box.reveal.is-visible {
  transition: opacity var(--dur-slow) var(--ease-out), transform .35s var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
@media (hover: hover) { .cta-box:hover { transform: scale(1.03); } } /* fallback before JS takes over */
.cta-box .section-title { margin-left: auto; margin-right: auto; max-width: 18ch; margin-bottom: 16px; }
.cta-box p { color: var(--muted); font-size: 1rem; max-width: 46ch; margin: 0 auto 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(20px, 2.5vw, 28px); }
.footer-grid { display: grid; gap: 20px 24px; grid-template-columns: repeat(2, 1fr); }
.footer-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-tag { margin: 0; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise); }
.footer-email {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: -6px;
  color: var(--text); opacity: .85; overflow-wrap: anywhere;
  transition: color var(--dur), opacity var(--dur);
}
.footer-email svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: var(--turquoise); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-email:hover { color: var(--lime); opacity: 1; }
.footer-heading { margin-bottom: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise); }
.footer-col ul { display: grid; gap: 0; }
.footer-col ul a { display: inline-block; padding: 2px 0; color: var(--text); opacity: .85; transition: color var(--dur), opacity var(--dur); }
.footer-col ul a:hover { color: var(--lime); opacity: 1; }
/* "Cookie settings" in the footer is a button (it opens the banner) styled like the footer links */
.footer-link-btn {
  padding: 2px 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--text); opacity: .85; transition: color var(--dur), opacity var(--dur);
}
.footer-link-btn:hover { color: var(--lime); opacity: 1; }
/* Cookie Policy: "Cookie settings" button under the title (opens the cookie banner) */
.cookie-settings-btn { margin-top: 24px; background: none; font: inherit; font-size: .95rem; }
.cookie-settings-btn .btn-arrow { width: 18px; height: 18px; }
.btn.cookie-settings-btn:hover .btn-arrow { transform: rotate(60deg); }
/* a button inside text that looks like a link (Cookie Policy: "open cookie settings") */
.link-btn {
  padding: 0; border: 0; background: none; cursor: pointer; font: inherit;
  color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--lime); }

/* Cookie banner: a small card that slides up in the bottom-right corner */
.cookie-banner {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  max-width: 440px; padding: 22px 22px 20px;
  border-radius: calc(var(--radius) + 2px); border: 1px solid var(--line-strong);
  background: rgba(15, 30, 42, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(212, 240, 83, .06);
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.cookie-banner.is-open { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-title { margin: 0 0 6px; font-weight: 600; color: var(--lime); }
.cookie-text { margin: 0 0 18px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.cookie-text a { color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px; }
.cookie-text a:hover { color: var(--lime); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { min-width: 112px; }
/* Decline: dark like the page background */
.cookie-actions .btn-ghost { background: var(--bg); border-color: var(--line-strong); color: var(--text); }
.cookie-actions .btn-ghost:hover { background: var(--bg); border-color: var(--turquoise); color: var(--turquoise); box-shadow: none; }
@media (min-width: 768px) { .cookie-banner { left: auto; right: 24px; bottom: 24px; } }
.social-link {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text);
  transition: color var(--dur), background-color var(--dur), border-color var(--dur), transform var(--dur-fast) var(--ease-out);
}
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.social-link:hover { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.social-link:active { transform: scale(.94); }
/* bottom bar: tagline on the left, copyright on the right (stacked on phones) */
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  margin-top: clamp(16px, 2vw, 24px); padding-top: 12px; padding-bottom: 14px; border-top: 1px solid var(--line);
}
.footer-copy { margin: 0; color: var(--muted); font-size: .9rem; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); }
  .footer-brand { grid-column: auto; }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal, .js .reveal-stagger > * {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .reveal.is-visible, .js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
/* once revealed, hover transforms use the normal fast timing */
.js .reveal-stagger.is-done > * { transition: transform var(--dur) var(--ease-out), border-color var(--dur); transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1.15fr 1fr; }
  .about-copy { grid-column: 1; grid-row: 1; }
  .about-grid { row-gap: 8px; }
  .about-grid > .auto-card { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  /* stats in the section's top-right corner: level with the "At a glance" label, flush with the right edge */
  .about-side { grid-column: 2; grid-row: 1; justify-self: end; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
}

/* below 1200px the five nav links no longer fit, so the menu button takes over */
@media (max-width: 1199px) {
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; z-index: var(--z-header);
    flex-direction: column; gap: 4px; padding: 16px var(--gutter) 28px;
    border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    background: rgba(11, 22, 32, .97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 4px; font-size: 1.2rem; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav-links a.active { background: none; color: var(--turquoise); }
  .nav-cta-mobile { display: block; margin-top: 16px; }
  .nav-cta-mobile a.btn { width: 100%; padding: 14px; border: 0; color: #0B1620; font-size: 1rem; border-radius: 999px; }
  .site-header.menu-open { background: rgba(11, 22, 32, .97); }
}

@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .brand .brand-word { display: none; }
  .footer-brand .brand .brand-word { display: block; } /* plenty of room in the footer */
  .markets-inner { flex-direction: column; align-items: flex-start; gap: 4px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .markets-label { max-width: none; font-size: .72rem; }
  .marquee { width: 100%; }
  .marquee-track span { font-size: 1.08rem; gap: 28px; padding-right: 28px; }
  /* buttons side by side to save height; they wrap if the text is long */
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1 1 auto; min-height: 48px; padding: 12px 16px; font-size: .95rem; }
  /* lighter effects on small devices */
  .ribbon-glow { filter: blur(32px); }
  .ribbon-lines .spark { display: none; }
}

/* Short phones: tighten the hero so the markets strip stays on the first screen */
@media (max-width: 600px) and (max-height: 720px) {
  .hero-ctas { flex-wrap: nowrap; }
  .hero-ctas .btn { flex: 1 1 0; min-width: 0; min-height: 46px; padding: 10px 12px; font-size: .88rem; line-height: 1.2; text-align: center; }
  .hero-ctas .btn-arrow { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ribbon-lines .r { stroke-dashoffset: 0; }
  .ribbon-lines .spark { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track span:nth-child(n+8) { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  /* no auto-scroll: cards become a swipeable row */
  .loop-track { animation: none; }
  .stats::before, .testi::before { display: none; }
  .auto-dot, .auto-tangle { animation: none; }
  .auto-dot { display: none; }
  .logo-grid > li { animation: none; }
  .stat-num, .fact-card .fact-big, .market-chips span { animation: none; }
  .fact-card::before { display: none; }
  .about-more, .lemon-o::after { animation: none; }
  .what-more::before, .what-more::after { display: none; }
  .what-more .btn-arrow-right { animation: none; }
  .cookie-banner { transition: none; }
  .js .fact-card.reveal-stagger > div { transform: none; }
  .loop-marquee { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .loop-track > * { scroll-snap-align: start; }
  .testi-toggle { display: none; }
  .js .reveal, .js .reveal-stagger > *, .hero-anim { opacity: 1; transform: none; }
}

/* ==========================================================
   Design page theme (design.html, <body class="theme-design">)
   The creative studio's own colours: hot pink on deep purple, with the
   same turquoise. Swapping the brand tokens recolours most of the page;
   the rules below cover the glows that use fixed colours.
   ========================================================== */
:root { --pink: #FF337D; }
.theme-design {
  --lime: #FF337D;          /* the accent colour becomes pink */
  --bg: #230F43;
  --bg-2: #2A1350;
  --surface: #2F1656;
  --surface-2: #3B1E69;
  --navy: #3B1E69;
  --muted: #C2B2DA;
  --line: rgba(255, 255, 255, .1);
}
.theme-design .site-header.scrolled { background: rgba(35, 15, 67, .78); }
.theme-design .hero-vignette {
  background:
    radial-gradient(ellipse 70% 60% at 20% 70%, rgba(35, 15, 67, .7), transparent 70%),
    linear-gradient(to bottom, rgba(35, 15, 67, .2) 0%, transparent 30%, transparent 60%, var(--bg) 100%);
}
.theme-design .btn-primary { color: var(--bg); }
.theme-design .btn-primary:hover { background: #FF5C97; box-shadow: 0 8px 32px -6px rgba(255, 51, 125, .6); }
.theme-design .btn-ghost:hover { box-shadow: 0 8px 32px -6px rgba(255, 51, 125, .55); }
.theme-design .service-card::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 51, 125, .16), transparent 60%); }
.theme-design .service-card:hover { border-color: rgba(255, 51, 125, .45); }
.theme-design .cta-box::before { background: radial-gradient(ellipse at center, rgba(91, 241, 227, .14), rgba(255, 51, 125, .1) 45%, transparent 70%); }
.theme-design .cta-box::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 51, 125, .16), transparent 60%); }
.theme-design .cta-box:hover { border-color: rgba(255, 51, 125, .45); box-shadow: 0 30px 80px -30px rgba(255, 51, 125, .4); }
.theme-design .cookie-banner { background: rgba(42, 19, 80, .95); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 51, 125, .08); }
/* About and Contact in pink mode (opened from the Design Studio): the lime glows become pink */
.theme-design .page-hero .ribbon { opacity: .7; }
.theme-design .fact-card:hover { border-color: rgba(255, 51, 125, .4); box-shadow: 0 24px 60px -30px rgba(255, 51, 125, .4); }
.theme-design .fact-card::before { background: linear-gradient(to bottom, transparent, rgba(91, 241, 227, .07) 45%, rgba(255, 51, 125, .1) 55%, transparent); }
.theme-design .market-chips span { animation-name: chip-glow-pink; }
@keyframes chip-glow-pink {
  0%, 20%, 100% { border-color: var(--line); color: var(--text); box-shadow: none; }
  8% { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 16px -4px rgba(255, 51, 125, .6); }
}
.theme-design .why-grid li:hover { border-color: rgba(255, 51, 125, .45); }
.theme-design .journey-node { box-shadow: 0 0 0 6px var(--bg), 0 0 24px -6px rgba(255, 51, 125, .7); }
.theme-design .contact-glow { background: radial-gradient(circle, rgba(91, 241, 227, .12), rgba(255, 51, 125, .08) 40%, transparent 70%); }
.theme-design .contact-form { background: rgba(47, 22, 86, .7); }
.theme-design .contact-page .contact-form { background: rgba(47, 22, 86, .82); }
.theme-design .spinner { border-color: rgba(35, 15, 67, .3); border-top-color: #230F43; }
/* Legal pages in pink mode */
.theme-design .legal-hero::before { background: radial-gradient(circle, rgba(255, 51, 125, .12), rgba(91, 241, 227, .06) 40%, transparent 70%); }
.theme-design .legal-note { border-color: rgba(255, 51, 125, .4); background: rgba(255, 51, 125, .07); }

/* ---------- Design Studio "Coming soon!" ----------
   While design.html has <body data-studio="soon"> only the coming-soon screen shows; everything else
   on the page stays in the file but hidden. Remove the attribute to go live. */
body[data-studio="soon"] main > section:not(.studio-soon) { display: none; }
body:not([data-studio="soon"]) .studio-soon { display: none; }
body[data-studio="soon"] .nav-links > li:not(.nav-studio-mobile) { display: none; }
@media (min-width: 1200px) { body[data-studio="soon"] .nav-links { display: none; } }
.studio-soon .ribbon-lines .r { stroke: url(#rgS); }
.soon-text { max-width: 46ch; margin: 0 0 clamp(20px, 4vh, 36px); color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.55; }
.btn.soon-back { height: auto; min-height: 54px; padding: 14px 28px; font-size: 1rem; }

/* Design Studio hero: same layout as the home page hero, including the scrolling strip at the bottom */
/* the Bulgarian title is much longer, so it is set a little smaller to stay on two lines on desktop */
html[lang="bg"] .design-hero .hero-title { font-size: clamp(2rem, min(6vw, 7.4vh), 5rem); }
.theme-design .eyebrow { background: rgba(35, 15, 67, .45); }
.theme-design .markets { background: rgba(35, 15, 67, .55); }
/* Design Studio services: big glassy cards with
   - a pink/turquoise light that keeps circling the border,
   - a soft colour blob drifting inside,
   - a large outlined number, a morphing blob behind the icon,
   - a 3D lean toward the cursor (angles set by js/main.js) and pills that ripple on hover. */
@property --svc-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.design-services .service-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px);
  border: 1px solid transparent; border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(160deg, rgba(50, 23, 92, .94), rgba(35, 15, 67, .97)) padding-box,
    conic-gradient(from var(--svc-a), rgba(255, 255, 255, .08) 0 58%, var(--pink) 74%, var(--turquoise) 87%, rgba(255, 255, 255, .08) 100%) border-box;
  animation: svc-border 9s linear infinite;
}
.design-grid > .service-card:nth-child(2) { animation-delay: -3s; }
.design-grid > .service-card:nth-child(3) { animation-delay: -6s; }
@keyframes svc-border { to { --svc-a: 360deg; } }
/* once the cards have slid in: lift and lean in 3D */
.design-services .design-grid.is-done > .service-card {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .45s var(--ease-out), box-shadow var(--dur);
}
.design-services .design-grid.is-done > .service-card:hover { --lift: -8px; box-shadow: 0 40px 70px -36px rgba(255, 51, 125, .6); }
/* cursor spotlight in pink */
.design-services .service-card::before { z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 51, 125, .16), transparent 60%); }
/* the drifting colour blob */
.design-services .service-card::after {
  content: ""; position: absolute; z-index: -2; width: 70%; aspect-ratio: 1; right: -25%; top: -30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 51, 125, .35), rgba(91, 241, 227, .12) 45%, transparent 70%);
  filter: blur(28px); opacity: .55; transition: opacity var(--dur);
  animation: svc-blob 14s ease-in-out infinite alternate;
}
.design-grid > .service-card:nth-child(2)::after { animation-delay: -5s; }
.design-grid > .service-card:nth-child(3)::after { animation-delay: -9s; }
.design-services .service-card:hover::after { opacity: 1; }
@keyframes svc-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60%, 55%) scale(1.25); }
  100% { transform: translate(-110%, 10%) scale(.9); }
}
/* big outlined number in the corner */
.design-services .s-num {
  top: 6px; right: 18px; font-size: clamp(4.2rem, 6vw, 5.6rem); line-height: 1; opacity: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
  transition: transform .6s var(--ease-out), -webkit-text-stroke-color var(--dur);
}
.design-services .service-card:hover .s-num { transform: translate(-6px, 6px); -webkit-text-stroke-color: rgba(255, 51, 125, .7); }
/* icon on a morphing pink blob */
.design-services .s-icon {
  position: relative; isolation: isolate; width: 62px; height: 62px; margin-bottom: 26px; border-radius: 18px;
  color: #fff; background: transparent; border: 0;
  transition: transform .5s var(--ease-out);
}
.design-services .s-icon::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--pink), #7B2FF7 60%, var(--turquoise));
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  box-shadow: 0 10px 30px -8px rgba(255, 51, 125, .6);
  animation: svc-morph 8s ease-in-out infinite;
}
@keyframes svc-morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg); }
  33% { border-radius: 63% 37% 41% 59% / 55% 62% 38% 45%; transform: rotate(60deg); }
  66% { border-radius: 38% 62% 55% 45% / 62% 38% 62% 38%; transform: rotate(-40deg); }
}
.design-services .service-card:hover .s-icon { transform: rotate(-8deg) scale(1.08); color: #fff; background: transparent; }
.design-services .s-icon svg { width: 28px; height: 28px; }
.design-services .service-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.6rem); margin-bottom: 12px; }
.design-services .service-card p { font-size: 1rem; line-height: 1.6; }
/* the option pills ripple up one after another on hover */
.design-services .s-options li { transition: transform .35s var(--ease-out), background-color var(--dur), border-color var(--dur), color var(--dur); }
.design-services .service-card:hover .s-options li { transform: translateY(-3px); }
.design-services .service-card:hover .s-options li:nth-child(2) { transition-delay: .06s; }
.design-services .service-card:hover .s-options li:nth-child(3) { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) {
  .design-services .service-card, .design-services .service-card::after, .design-services .s-icon::before { animation: none; }
}
/* what each service includes: pink pills along the bottom of the card */
.service-card .s-options { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 24px 0 0; }
.s-options li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 51, 125, .35); background: rgba(255, 51, 125, .1);
  font-size: .86rem; font-weight: 500; line-height: 1.2; color: var(--text);
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.s-options li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 8px var(--pink); flex-shrink: 0; }
.service-card:hover .s-options li { border-color: rgba(255, 51, 125, .6); }
.s-options li:hover { background: var(--pink); border-color: var(--pink); color: #230F43; }
.s-options li:hover::before { background: #230F43; box-shadow: none; }
/* longer service text (Logo Design): tagline, two paragraphs, "What we offer" list and delivery time */
.design-services .service-card p + p { margin-top: 10px; }
.design-services .service-card .s-tagline {
  margin: -4px 0 14px; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; line-height: 1.3;
  background: linear-gradient(100deg, var(--pink), var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s-offer { margin-top: 20px; }
.design-services .service-card .s-offer-title { margin: 0 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--turquoise); }
.s-offer ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.s-offer li { position: relative; padding-left: 24px; font-size: .94rem; line-height: 1.45; color: var(--text); }
.s-offer li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--pink); text-shadow: 0 0 10px rgba(255, 51, 125, .6); }
.design-services .service-card .s-time {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 18px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(91, 241, 227, .35); background: rgba(91, 241, 227, .07); color: var(--text); font-size: .88rem; font-weight: 500;
}
.s-time svg { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: var(--turquoise); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* what every website includes: two lines with turquoise icons */
.s-benefits { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.s-benefits li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.45; color: var(--text); }
.s-benefits svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px;
  fill: none; stroke: var(--turquoise); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
/* "Made with": the tools behind each service, as small icon + name chips under the options */
.s-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.s-tools-label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.s-tools ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.s-tools li {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: .8rem; color: var(--text);
}
.s-tools svg { width: 18px; height: 18px; flex-shrink: 0; }
.s-tools .tool-figma { width: 12px; }
/* a tool chip can be a link (SuperHosting.bg): the whole chip is clickable */
.s-tools li:has(> a) { padding: 0; }
.s-tools li > a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 7px; border-radius: inherit; color: inherit; transition: color var(--dur), background-color var(--dur); }
.s-tools li > a:hover { color: var(--pink); background: rgba(255, 51, 125, .1); }
.s-tools .tool-claude { fill: none; stroke: #D97757; stroke-width: 2.6; stroke-linecap: round; }
.s-tools .tool-host { fill: none; stroke: var(--turquoise); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* three design services: one row of three on wide screens */
/* one wide card per row; inside, the content sits in columns (intro | details | package) so
   everything about a service can be seen at once */
.design-grid { gap: 22px; grid-template-columns: 1fr; }
.s-detail { display: flex; flex-direction: column; }
.design-services .s-package { margin-top: 24px; }
@media (min-width: 900px) {
  .design-services .service-card {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 56px); align-items: start;
  }
  .design-services .service-card:has(.s-package) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(250px, .8fr); }
  .design-services .s-package { margin-top: 0; }
  .s-detail > :first-child { margin-top: 0; padding-top: 0; }
  .s-detail { padding-top: 6px; }
  /* the big number moves to the bottom-left corner, out of the way of the columns */
  .design-services .s-num { top: auto; right: auto; bottom: 8px; left: 22px; }
  .design-services .s-main { padding-bottom: 64px; }
}

/* the package box: name, big price, what's included, order button */
.s-package {
  position: relative; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius); border: 1px solid rgba(255, 51, 125, .45);
  background: linear-gradient(165deg, rgba(255, 51, 125, .16), rgba(35, 15, 67, .9) 55%);
  box-shadow: 0 24px 50px -30px rgba(255, 51, 125, .7);
}
.design-services .service-card .pkg-name { margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--turquoise); }
.design-services .service-card .pkg-price { margin: 6px 0 16px; display: flex; align-items: baseline; gap: 6px; color: var(--text); }
.pkg-amount {
  font-family: var(--font-serif); font-size: clamp(3rem, 5vw, 3.8rem); line-height: 1;
  background: linear-gradient(110deg, var(--pink), var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pkg-cur { font-size: 1.5rem; font-weight: 500; color: var(--pink); }
.pkg-list { display: grid; gap: 9px; margin: 0 0 22px; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.pkg-list li { position: relative; padding-left: 26px; font-size: .94rem; line-height: 1.4; color: var(--text); }
.pkg-list li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.9' fill='none' stroke='%23230F43' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.pkg-cta { margin-top: auto; width: 100%; }
/* price box with several rows (websites): name on the left, price on the right */
.pkg-rows { display: grid; gap: 0; margin: 14px 0 22px; padding: 0; list-style: none; }
.pkg-rows li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.pkg-rows li:last-child { border-bottom: 1px solid var(--line); }
.pkg-row-name { font-size: .95rem; color: var(--text); }
.pkg-row-price { display: flex; align-items: baseline; gap: 6px; color: var(--pink); font-size: 1.2rem; font-weight: 500; }
.pkg-row-price small { font-size: .8rem; color: var(--muted); font-weight: 400; }
.pkg-row-price b {
  font-family: var(--font-serif); font-weight: 400; font-size: 2.2rem; line-height: 1;
  background: linear-gradient(110deg, var(--pink), var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Logo options: two price cards side by side (stacked on phones).
   The featured card ("New Logo Design") has a slowly circling pink → turquoise → lime border,
   a soft glow and a "Most popular" badge; both cards lift smoothly on hover. */
.s-package.s-package--duo { padding: 0; border: 0; background: none; box-shadow: none; }
.pkg-duo { display: grid; gap: 16px; margin-top: 14px; }
@media (min-width: 640px) { .pkg-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg-card {
  position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px;
  border-radius: 16px; border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(59, 30, 105, .85), rgba(35, 15, 67, .95));
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color var(--dur);
}
.pkg-card:hover { transform: translateY(-6px); border-color: rgba(91, 241, 227, .45); box-shadow: 0 30px 60px -34px rgba(91, 241, 227, .55); }
.pkg-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(165deg, rgba(76, 28, 110, .96), rgba(35, 15, 67, .98)) padding-box,
    conic-gradient(from 200deg, var(--pink), var(--turquoise), #D4F053, var(--pink)) border-box;
  box-shadow: 0 26px 60px -32px rgba(255, 51, 125, .75);
}
.pkg-card--featured:hover { box-shadow: 0 36px 70px -30px rgba(255, 51, 125, .85); }
.pkg-card-badge {
  position: absolute; top: -13px; left: 20px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(110deg, var(--pink), #FF6FA5); color: #230F43;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 18px -6px rgba(255, 51, 125, .8);
}
.design-services .service-card .pkg-card-name { margin: 0; font-size: 1rem; font-weight: 600; color: var(--text); }
.design-services .service-card .pkg-card-price { display: flex; align-items: baseline; gap: 5px; margin: 4px 0 10px; color: var(--pink); }
.pkg-card-price b {
  font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 3vw, 2.6rem); line-height: 1;
  background: linear-gradient(110deg, var(--pink), var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pkg-card-price span { font-size: 1.15rem; font-weight: 500; }
.pkg-card .pkg-list { gap: 4px; margin-bottom: 14px; padding-top: 10px; }
/* small print inside a package card, e.g. "Printing is not included in the price." */
.design-services .service-card .pkg-card-note { margin: -6px 0 12px; font-size: .74rem; font-style: italic; color: var(--muted); }
.pkg-card .pkg-list li { font-size: .84rem; line-height: 1.35; padding-left: 23px; }
.pkg-card .pkg-list li::before { width: 15px; height: 15px; background-size: 15px; }
.pkg-card-cta { margin-top: auto; width: 100%; min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.pkg-card .btn-ghost { border-color: var(--line-strong); color: var(--text); }
.pkg-card .btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.pkg-card-badge { top: -11px; padding: 3px 10px; font-size: .62rem; }
/* wide screens: the intro on the left, the two package cards side by side on the right */
@media (min-width: 900px) {
  .design-services .service-card:has(.pkg-duo) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); align-items: center; }
  .design-services .service-card:has(.pkg-duo) .s-package { margin-top: 0; }
  .design-services .service-card:has(.pkg-duo) .pkg-duo { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .pkg-card--featured { animation: none; } }

/* Website packages: three price cards (stacked on phones, side by side from 860px).
   The intro sits on top across the full width; the cards fill a row underneath. */
@media (min-width: 860px) { .pkg-duo.pkg-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.design-services .service-card .pkg-card-desc { margin: 0 0 2px; font-size: .84rem; line-height: 1.45; color: var(--muted); }
/* a highlighted extra (CMS add-on, online shops quoted separately) */
.design-services .service-card .pkg-card-extra {
  margin: -4px 0 12px; padding: 8px 11px; border-radius: 10px;
  border: 1px solid rgba(255, 51, 125, .45); background: rgba(255, 51, 125, .1);
  font-size: .78rem; font-weight: 500; line-height: 1.4; color: var(--text);
}
/* delivery time chip: pushed to the bottom so chips, notes and buttons line up across the three cards */
.design-services .service-card .pkg-card .pkg-card-time { align-self: flex-start; margin: auto 0 10px !important; }
.pkg-trio .pkg-card-cta { margin-top: 0; }
/* one hosting note under all three website cards */
.design-services .service-card .s-package .pkg-trio-note { margin: 16px 0 0; text-align: center; font-style: italic; }
.design-services .service-card:has(.pkg-trio) { padding-bottom: 22px; }
.design-services .service-card .pkg-trio .pkg-card-note { margin: 0 0 12px; line-height: 1.4; }
/* "What's included" dropdown in every package card: the list (and its small print) opens on click,
   so the cards show only name, price and button at first */
.pkg-duo { align-items: start; }
.pkg-more { margin: 0 0 12px; border-top: 1px solid var(--line); }
.pkg-more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px 2px;
  cursor: pointer; list-style: none; font-size: .82rem; font-weight: 600; color: var(--pink);
}
.pkg-more summary::-webkit-details-marker { display: none; }
.pkg-more summary:hover { color: #FF6FA5; }
.pkg-more summary:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 2px; border-radius: 6px; }
.pkg-more summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.pkg-more[open] summary svg { transform: rotate(180deg); }
.pkg-more[open] > :not(summary) { animation: addon-in .35s var(--ease-out); }
.pkg-card .pkg-more .pkg-list { border-top: 0; padding-top: 8px; margin-bottom: 10px; }
.design-services .service-card .pkg-more .pkg-card-note { margin: 0 0 4px; }
.design-services .service-card .pkg-more .pkg-card-extra { margin: 0 0 4px; }
/* website cards: no stretching, so the delivery chip sits right under the dropdown */
.design-services .service-card .pkg-trio .pkg-card .pkg-card-time { margin: 0 0 12px !important; }
@media (prefers-reduced-motion: reduce) { .pkg-more[open] > :not(summary) { animation: none; } .pkg-more summary svg { transition: none; } }
/* footer under the package cards: note on the left, the add-on option (maintenance / printing) in the bottom-right corner */
.pkg-foot { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 10px 20px; margin-top: 14px; }
.design-services .service-card .s-package .pkg-foot .pkg-trio-note { margin: 10px auto 0 0; text-align: left; }
.pkg-addon--corner { width: min(100%, 340px); margin: 0; }
/* "Add printing" choice inside each business card package: a round radio-style tick */
.pkg-option {
  position: relative; display: flex; align-items: center; gap: 9px; margin: 0 0 12px; padding: 8px 11px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(91, 241, 227, .35); background: rgba(91, 241, 227, .05);
  font-size: .82rem; font-weight: 600; color: var(--text); transition: border-color var(--dur), background var(--dur);
}
.pkg-option:hover { border-color: rgba(91, 241, 227, .7); }
.pkg-option input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pkg-option-dot {
  position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--turquoise); transition: background var(--dur);
}
.pkg-option-dot::after {
  content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--turquoise);
  transform: scale(0); transition: transform .25s var(--ease-out);
}
.pkg-option input:checked + .pkg-option-dot::after { transform: scale(1); }
.pkg-option:has(input:checked) { border-color: var(--turquoise); background: rgba(91, 241, 227, .12); }
.pkg-option input:focus-visible + .pkg-option-dot { outline: 2px solid var(--pink); outline-offset: 2px; }
/* maintenance details: a small dropdown attached under the "Add monthly maintenance" option */
.pkg-option:has(+ .pkg-option-info) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pkg-option-info {
  margin: 0 0 12px; border: 1px solid rgba(91, 241, 227, .35); border-top: 0; border-radius: 0 0 10px 10px;
  background: rgba(91, 241, 227, .03);
}
.pkg-option-info summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 11px 7px;
  cursor: pointer; list-style: none; font-size: .74rem; font-weight: 500; color: var(--turquoise);
}
.pkg-option-info summary::-webkit-details-marker { display: none; }
.pkg-option-info summary:hover { color: var(--text); }
.pkg-option-info summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }
.pkg-option-info summary svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.pkg-option-info[open] summary svg { transform: rotate(180deg); }
.pkg-option-info .pkg-addon-body { padding: 2px 11px 11px; }
.pkg-option-note { margin-left: auto; font-size: .74rem; font-weight: 500; color: var(--turquoise); white-space: nowrap; }
/* "Launch prices": one calm note under the Services title (replaces the corner ribbons) */
.launch-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 760px; margin: 4px 0 0;
  font-size: .95rem; line-height: 1.5; color: var(--muted);
}
.launch-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 51, 125, .55); background: rgba(255, 51, 125, .12);
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); white-space: nowrap;
}
.launch-badge svg { width: 13px; height: 13px; fill: currentColor; }
/* footnotes: a pink star by the website prices, explained under the cards; the VAT line under all services */
.fn-mark { color: var(--pink); font-weight: 600; }
.pkg-card-price .fn-mark { font-size: .9rem; margin-left: 1px; vertical-align: super; line-height: 0; }
.design-services .service-card .s-package .pkg-footnote { font-size: .76rem; font-style: normal; color: var(--muted); }
.design-services .services-footnote {
  margin: 18px 0 0; padding-top: 10px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted); text-align: right;
}
.pkg-addon-link { display: inline-block; margin-top: 2px; font-size: .78rem; font-weight: 600; color: var(--turquoise); text-decoration: underline; text-underline-offset: 3px; }
.pkg-addon-link:hover { color: var(--pink); }
/* "Monthly maintenance" option inside every website card: folded, opens on click */
.pkg-addon {
  margin: 0 0 14px; border-radius: 12px; border: 1px dashed rgba(91, 241, 227, .45);
  background: rgba(91, 241, 227, .05); transition: border-color var(--dur), background var(--dur);
}
.pkg-addon:hover, .pkg-addon[open] { border-color: rgba(91, 241, 227, .8); background: rgba(91, 241, 227, .09); }
.pkg-addon summary {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; list-style: none;
  font-size: .82rem; font-weight: 600; color: var(--text);
}
.pkg-addon summary::-webkit-details-marker { display: none; }
.pkg-addon summary:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 2px; border-radius: 12px; }
.pkg-addon-plus { position: relative; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--turquoise); transition: transform .35s var(--ease-out); }
.pkg-addon-plus::before, .pkg-addon-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 2px; margin: -1px 0 0 -4px; border-radius: 1px; background: #230F43; }
.pkg-addon-plus::after { transform: rotate(90deg); }
.pkg-addon[open] .pkg-addon-plus { transform: rotate(45deg); }
.pkg-addon-from { margin-left: auto; font-size: .74rem; font-weight: 500; color: var(--turquoise); white-space: nowrap; }
.pkg-addon-body { padding: 0 12px 12px; animation: addon-in .35s var(--ease-out); }
@keyframes addon-in { from { opacity: 0; transform: translateY(-4px); } }
.design-services .service-card .pkg-addon-body p { margin: 0 0 8px; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.pkg-addon-list { display: grid; gap: 3px; margin: 0 0 10px; padding: 0; list-style: none; }
.pkg-addon-list li { position: relative; padding-left: 14px; font-size: .78rem; line-height: 1.35; color: var(--text); }
.pkg-addon-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--turquoise); }
.design-services .service-card .pkg-addon-body .pkg-addon-price { margin: 0 0 4px; color: var(--text); }
.pkg-addon-price b { font-weight: 600; color: var(--turquoise); }
.design-services .service-card .pkg-addon-body .pkg-addon-note { margin: 8px 0 0; font-size: .72rem; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .pkg-addon-body { animation: none; } .pkg-addon-plus { transition: none; } }
/* service titles: in the top-left corner, bigger, with the icon beside them on the same line */
.design-services .service-card .s-main {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; align-self: start;
}
.design-services .service-card .s-main > * { grid-column: 1 / -1; }
.design-services .service-card .s-main > .s-icon { grid-column: 1; margin: 0; }
.design-services .service-card .s-main > h3 {
  grid-column: 2; margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em;
}
.design-services .service-card .s-main > h3 + * { margin-top: 14px; }
/* the pink italic line under each title, bigger */
.design-services .service-card .s-main > .s-tagline { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3; margin-bottom: 12px; }
@media (max-width: 899px) {
  /* no room for the big outlined number next to the title on phones */
  .design-services .service-card .s-num { display: none; }
}
/* the service sections and their package cards stay still on hover: no lift, lean, slide or rotate.
   Colour changes (glow, borders, outlined number) still react to the cursor. */
.design-services .design-grid.is-done > .service-card,
.design-services .design-grid.is-done > .service-card:hover { transform: none; --lift: 0px; }
.design-services .service-card:hover .s-num,
.design-services .service-card:hover .s-icon,
.design-services .service-card:hover .s-options li,
.pkg-card:hover, .pkg-tier:hover { transform: none; }
@media (min-width: 900px) {
  /* one column: intro (text | tools) on top, the three cards underneath; the number goes back to the top-right */
  .design-services .service-card:has(.pkg-trio) { grid-template-columns: minmax(0, 1fr); }
  /* full width, so the intro sentence fits on one line */
  .design-services .service-card:has(.pkg-trio) .s-main { padding-bottom: 0; }
  .design-services .service-card:has(.pkg-trio) .s-num { top: 14px; right: 24px; bottom: auto; left: auto; }
  .design-services .service-card:has(.pkg-trio) .s-package { margin-top: 24px; }
  .design-services .service-card:has(.pkg-trio) .pkg-trio { margin-top: 14px; }
}

/* website packages: three small sections, each with name + price, one line and delivery time */
.pkg-tiers { display: grid; gap: 10px; margin: 12px 0 16px; }
.pkg-tier {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(35, 15, 67, .55); transition: border-color var(--dur), transform var(--dur) var(--ease-out);
}
.pkg-tier:hover { border-color: rgba(255, 51, 125, .5); transform: translateX(3px); }
.pkg-tier-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pkg-tier .pkg-row-name { font-weight: 600; font-size: .92rem; }
.pkg-tier .pkg-row-price { font-size: 1rem; }
.pkg-tier .pkg-row-price b { font-size: 1.6rem; }
.design-services .service-card .pkg-tier-desc { margin: 4px 0 6px; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.design-services .service-card .pkg-tier-time {
  display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 2px 9px; border-radius: 999px;
  border: 1px solid rgba(91, 241, 227, .35); background: rgba(91, 241, 227, .07);
  font-size: .76rem; font-weight: 500; color: var(--text);
}
.pkg-tier-time svg { width: 13px; height: 13px; fill: none; stroke: var(--turquoise); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pkg-tiers + .pkg-note { margin-top: 0; }
/* wide screens: the Website card puts its three packages side by side in a full-width row at the bottom,
   with the hosting note and the button next to each other underneath */
@media (min-width: 900px) {
  .design-services .service-card:has(.pkg-tiers) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .design-services .service-card:has(.pkg-tiers) .s-package {
    grid-column: 1 / -1; margin-top: 26px;
    display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 24px;
  }
  .s-package .pkg-tiers { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .design-services .service-card:has(.pkg-tiers) .pkg-name { grid-column: 1 / -1; }
  .design-services .service-card:has(.pkg-tiers) .pkg-note { margin: 0; }
  .design-services .service-card:has(.pkg-tiers) .pkg-cta { width: auto; margin: 0; padding-inline: 28px; }
  .pkg-tier { display: flex; flex-direction: column; }
  .pkg-tier-time { align-self: flex-start; margin-top: auto !important; }
}
/* small print under the prices (e.g. hosting and domain billed separately) */
.pkg-rows + .pkg-note { margin-top: -10px; }
.design-services .service-card .pkg-note { margin-bottom: 20px; font-size: .82rem; line-height: 1.45; color: var(--muted); }
/* when the main column has a list too (Websites), keep a little space above it */
.s-main .s-offer { margin-top: 22px; }

/* ---------- Compact, easier-to-read service cards ----------
   Tighter spacing and slightly smaller type everywhere; on phones the detail lists fold away
   behind a "What's included" button, so each card shows its intro and price first. */
.design-services .service-card { padding: clamp(22px, 2.6vw, 32px); }
.design-services .s-icon { width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; }
.design-services .s-icon svg { width: 24px; height: 24px; }
.design-services .service-card h3 { font-size: clamp(1.25rem, 1.6vw, 1.4rem); margin-bottom: 8px; }
.design-services .service-card .s-tagline { font-size: 1.1rem; margin: 0 0 10px; }
.design-services .service-card p { font-size: .95rem; line-height: 1.55; }
.design-services .service-card p + p { margin-top: 8px; }
.design-services .s-num { font-size: clamp(3.2rem, 4.5vw, 4.2rem); }
.s-offer { margin-top: 16px; }
.s-offer ul { gap: 5px; }
.s-offer li { font-size: .9rem; padding-left: 22px; }
.design-services .s-options { padding-top: 16px; }
.s-options li { padding: 5px 12px; font-size: .82rem; }
.s-benefits { gap: 6px; margin-top: 12px; }
.s-benefits li { font-size: .88rem; }
.s-tools { margin-top: 14px; padding-top: 12px; }
.s-tools li { font-size: .76rem; padding: 4px 9px 4px 6px; }
.s-tools svg { width: 16px; height: 16px; }
.s-package { padding: clamp(18px, 2vw, 24px); }
.design-services .service-card .pkg-price { margin: 4px 0 12px; }
.pkg-amount { font-size: clamp(2.6rem, 4vw, 3.2rem); }
.pkg-list { gap: 6px; margin-bottom: 18px; padding-top: 12px; }
.pkg-list li { font-size: .9rem; }
.pkg-rows { margin: 8px 0 18px; }
.pkg-rows li { padding: 10px 0; }
.pkg-row-price b { font-size: 1.9rem; }
@media (min-width: 900px) {
  .design-services .s-main { padding-bottom: 48px; }
  .design-services .service-card { column-gap: clamp(24px, 3vw, 40px); }
}
/* long "What we offer" lists (Websites) run in two columns on wide screens */
@media (min-width: 1100px) {
  .s-detail .s-offer ul:has(> li:nth-child(7)) { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
}

/* the phone-only "What's included" button */
.s-more {
  display: none; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 51, 125, .45);
  background: rgba(255, 51, 125, .08); color: var(--text); font: 600 .88rem var(--font-sans); cursor: pointer;
}
.s-more svg { width: 12px; height: 12px; fill: none; stroke: var(--pink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur); }
.s-more .s-more-close, .s-more[aria-expanded="true"] .s-more-open { display: none; }
.s-more[aria-expanded="true"] .s-more-close { display: inline; }
.s-more[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 899px) {
  .js .s-more { display: inline-flex; }
  .js .design-services .service-card:not(.is-open) .s-detail { display: none; }
  .design-services .s-detail { margin-top: 6px; }
}

/* Bundle (Logo + Business Card): smaller than the service cards, but it stands out with a
   bright pink → turquoise → lime border, a soft glow and a "Best value" badge (all still, no animation) */
.bundle {
  position: relative; isolation: isolate;
  display: grid; gap: 18px; align-items: center; justify-items: start;
  width: min(100%, 940px); justify-self: center; margin: 14px 0;
  padding: clamp(24px, 3vw, 32px) clamp(22px, 3.4vw, 40px);
  border: 2px solid transparent; border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(120deg, #2E1557, #230F43) padding-box,
    conic-gradient(from 200deg, var(--pink), var(--turquoise), #D4F053, var(--pink)) border-box;
  box-shadow: 0 30px 64px -32px rgba(255, 51, 125, .8);
}
.bundle-badge {
  position: absolute; top: -14px; left: clamp(20px, 3vw, 36px); padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(110deg, var(--pink), #FF6FA5); color: #230F43;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 6px 20px -6px rgba(255, 51, 125, .8);
}
.bundle-title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.02em; }
.bundle-plus {
  display: inline-block; margin: 0 .15em; font-family: var(--font-serif); font-style: italic; font-weight: 400;
  background: linear-gradient(110deg, var(--pink), var(--turquoise)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bundle-sub { margin: 6px 0 0; color: var(--muted); font-size: .98rem; }
.bundle-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.bundle-price .pkg-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.bundle-old { order: -1; color: var(--muted); font-size: 1.05rem; text-decoration-color: var(--pink); text-decoration-thickness: 2px; }
.bundle-save {
  padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600;
  color: var(--turquoise); border: 1px solid rgba(91, 241, 227, .4); background: rgba(91, 241, 227, .08);
}
.bundle-cta { white-space: nowrap; }
@media (min-width: 900px) {
  .bundle { grid-template-columns: minmax(0, 1fr) auto auto; gap: clamp(20px, 3vw, 40px); }
}
@media (prefers-reduced-motion: reduce) { .bundle { animation: none; } }
@media (min-width: 1200px) { .theme-design .nav-links { background: rgba(47, 22, 86, .45); } }
@media (max-width: 1199px) {
  .theme-design .nav-links, .theme-design .site-header.menu-open { background: rgba(35, 15, 67, .97); }
  .theme-design .nav-cta-mobile a.btn { color: var(--bg); }
}

/* Switch buttons in the nav bar, next to "Get in Touch":
   "Design Studio" (pink) on the consulting pages, "Consulting" (lime) in the Design Studio */
.nav-studio, .nav-consulting {
  min-height: 0; height: 42px; padding: 0 16px; font-size: .875rem; white-space: nowrap; background: transparent;
}
.nav-studio { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 18px -8px rgba(255, 51, 125, .8); }
.nav-studio:hover { background: var(--pink); color: #230F43; box-shadow: 0 8px 32px -6px rgba(255, 51, 125, .6); }
.nav-consulting { border-color: #D4F053; color: #D4F053; box-shadow: 0 0 18px -8px rgba(212, 240, 83, .8); }
.nav-consulting:hover { background: #D4F053; color: #0B1620; box-shadow: 0 8px 32px -6px rgba(212, 240, 83, .55); }
@media (max-width: 1199px) {
  .nav-actions .nav-studio, .nav-actions .nav-consulting { display: none; }   /* they move into the menu */
  .nav-cta-mobile.nav-studio-mobile + .nav-cta-mobile { margin-top: 10px; }
  .nav-cta-mobile a.nav-studio, .theme-design .nav-cta-mobile a.nav-studio { color: var(--pink); border: 1px solid var(--pink); }
  .nav-cta-mobile a.nav-consulting, .theme-design .nav-cta-mobile a.nav-consulting { color: #D4F053; border: 1px solid #D4F053; }
}

/* footer switch links take the colour of the side they lead to:
   "Design Studio" turns pink on hover, "Consulting" (in the pink footer) turns lime */
.footer-col ul a[data-i18n="footer.design"]:hover { color: var(--pink); }
.footer-col ul a.to-consulting:hover { color: #D4F053; }

/* Design Studio: Projects */
.projects { padding-top: 0; }
.project-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card[hidden] { display: none; }

/* gallery filters: All / Logos / Business cards / Websites */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.gallery-filters button {
  min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); font: 500 .9rem var(--font-sans); cursor: pointer;
  transition: color var(--dur), background-color var(--dur), border-color var(--dur);
}
.gallery-filters button:hover { color: var(--text); border-color: var(--pink); }
.gallery-filters button[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #230F43; }

/* a tile is a button that opens the lightbox */
.project-open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; border-radius: var(--radius); }

/* two-sided business cards: a real 3D card that floats, leans toward the cursor and flips over.
   Layers: .card-float (bobs up and down) > .card-tilt (leans; angles set by JS) > .card-flip (turns
   over when the frame gets .is-flipped) > the two sides. A soft light sweeps across now and then. */
.project-frame.project-frame--pair {
  perspective: 1100px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 51, 125, .28), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(91, 241, 227, .2), transparent 55%),
    var(--surface);
}
.card-float { position: absolute; inset: 0; display: grid; place-items: center; animation: card-float 6s ease-in-out infinite; }
/* soft shadow on the "floor" that shrinks as the card rises */
.card-float::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 11%; height: 14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); filter: blur(3px);
  animation: card-shadow 6s ease-in-out infinite;
}
@keyframes card-float { 50% { transform: translateY(-10px); } }
@keyframes card-shadow { 50% { transform: scaleX(.82); opacity: .6; } }
.card-tilt {
  position: relative; display: block; width: 72%; aspect-ratio: 1016 / 638;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 12deg)) rotateY(var(--ry, -18deg)) rotateZ(-2deg);
  transition: transform .5s var(--ease-out);
}
.card-flip {
  position: absolute; inset: 0; display: block; transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(.65, -0.25, .3, 1.3); /* a little overshoot, like flicking a real card */
}
.project-frame--pair.is-flipped .card-flip { transform: rotateY(180deg); }
.card-flip img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 7px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
}
.card-flip .card-back { transform: rotateY(180deg); }
/* the light sweep across the card */
.card-tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: 7px; pointer-events: none; transform: translateZ(2px);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 48%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: soft-light;
  animation: card-shine 7s ease-in-out infinite;
}
@keyframes card-shine { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -60% 0; } }
.project-card:nth-child(4) .card-float, .project-card:nth-child(4) .card-float::after { animation-delay: -2s; }
.project-card:nth-child(5) .card-float, .project-card:nth-child(5) .card-float::after { animation-delay: -4s; }
.project-card:nth-child(4) .card-tilt::after { animation-delay: -2.3s; }
.project-card:nth-child(5) .card-tilt::after { animation-delay: -4.6s; }
/* "Front" / "Back" pill in the corner follows the card */
.card-side {
  position: absolute; z-index: 2; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(35, 15, 67, .7); border: 1px solid var(--line-strong);
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.card-side .side-back, .is-flipped .card-side .side-front { display: none; }
.is-flipped .card-side .side-back { display: inline; color: var(--pink); }
@media (prefers-reduced-motion: reduce) {
  .card-float, .card-float::after, .card-tilt::after { animation: none; }
  .card-tilt, .card-flip { transition: none; }
}

/* websites: the screenshot sits in a little browser window with three dots in its top bar */
.project-frame.project-frame--web { place-items: end center; padding: 14% 7% 0; background: linear-gradient(160deg, rgba(255, 51, 125, .2), rgba(91, 241, 227, .12)), var(--surface); }
.project-frame--web .browser {
  position: relative; display: block; width: 100%; padding-top: 22px; border-radius: 10px 10px 0 0;
  background: #2F1656; border: 1px solid var(--line-strong); border-bottom: 0;
  box-shadow: 0 -10px 40px -14px rgba(0, 0, 0, .7); transition: transform var(--dur-slow) var(--ease-out);
}
.project-frame.project-frame--web img { position: static; display: block; width: 100%; height: auto; padding: 0; object-fit: initial; transform: none; }
.project-frame--web .browser::before {
  content: ""; position: absolute; left: 12px; top: 8px; width: 26px; height: 6px;
  background:
    radial-gradient(circle, #FF5F57 2.6px, transparent 3px) 0 0 / 6px 6px no-repeat,
    radial-gradient(circle, #FEBC2E 2.6px, transparent 3px) 10px 0 / 6px 6px no-repeat,
    radial-gradient(circle, #28C840 2.6px, transparent 3px) 20px 0 / 6px 6px no-repeat;
}
.project-card:hover .project-frame--web .browser { transform: translateY(-6px); }
.project-card:hover .project-frame.project-frame--web img { transform: none; }
.project-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .92rem; color: var(--text);
  border-bottom: 1px solid var(--line-strong); transition: color var(--dur), border-color var(--dur);
}
.project-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.project-link:hover { color: var(--pink); border-color: var(--pink); }

/* lightbox: the project shown large; business cards show both sides */
.lightbox {
  width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0;
  border: 1px solid var(--line-strong); border-radius: calc(var(--radius) + 6px);
  background: #2A1350; color: var(--text); overflow: auto;
}
.lightbox-inner { padding: clamp(20px, 3vw, 36px); }
.lightbox::backdrop { background: rgba(20, 8, 40, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox-imgs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: center; }
.lightbox-imgs img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 8px; }
.lightbox-imgs img.on-light { background: #fff; padding: 4%; }
.lightbox-imgs img.on-navy { background: #1A2F40; padding: 4%; }
.lightbox-title { margin: 16px 0 0; text-align: center; color: var(--muted); }
.lightbox-close {
  position: sticky; top: 0; float: right; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -8px 8px 8px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: #2A1350; color: var(--text); cursor: pointer;
  transition: border-color var(--dur), color var(--dur);
}
.lightbox-close:hover { border-color: var(--pink); color: var(--pink); }
.lightbox-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .project-frame > img { transition: none; } }
.project-card { margin: 0; }
.project-frame {
  position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 4 / 3;
  border-radius: var(--radius); border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 51, 125, .28), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(91, 241, 227, .18), transparent 50%),
    var(--surface);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
/* logos sit whole inside the tile, on a background that matches their own */
.project-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 7%; object-fit: contain; transition: transform var(--dur-slow) var(--ease-out); }
.project-card:hover .project-frame > img { transform: scale(1.05); }
.project-frame--navy { background: #1A2F40; }
.project-frame--light { background: #FFFFFF; }
.project-name { margin: 14px 0 0; font-size: 1.15rem; font-weight: 500; }
.project-name + .project-type { margin-top: 4px; }
.project-card:hover .project-frame { transform: translateY(-4px); border-color: rgba(255, 51, 125, .45); box-shadow: 0 24px 50px -24px rgba(255, 51, 125, .5); }
.project-soon {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(35, 15, 67, .6);
  font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.project-type { margin: 12px 0 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--turquoise); }

/* ---------- Design Studio services: all sections a bit smaller (kept last so it wins over the older sizes) ---------- */
.design-services .service-card { padding: clamp(18px, 2vw, 26px); }
@media (min-width: 900px) { .design-services .service-card { column-gap: clamp(20px, 2.4vw, 32px); } }
.design-services .s-icon { width: 42px; height: 42px; border-radius: 12px; }
.design-services .s-icon svg { width: 20px; height: 20px; }
.design-services .service-card .s-main > h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
.design-services .service-card .s-main > .s-tagline { font-size: clamp(1.1rem, 1.45vw, 1.28rem); margin-bottom: 8px; }
.design-services .service-card .s-main > h3 + * { margin-top: 10px; }
.design-services .service-card p { font-size: .9rem; line-height: 1.5; }
.design-services .s-tools { margin-top: 10px; padding-top: 10px; }
.design-services .pkg-card { padding: 16px 15px 14px; }
.design-services .pkg-card-price b { font-size: clamp(1.9rem, 2.5vw, 2.2rem); }
.design-services .service-card .pkg-card-price { margin: 2px 0 6px; }
.design-services .pkg-duo { gap: 12px; }
.design-services .pkg-card-cta { min-height: 36px; padding: 6px 14px; font-size: .84rem; }
@media (min-width: 900px) { .design-services .s-main { padding-bottom: 44px; } }
