/* ============================================================
   Raw Clicks — by Manolo Martinez
   Design system: Outfit + DM Sans, proposal palette.
   ============================================================ */

:root {
  --ink:      #0D0D0D;
  --bg:       #F8F8F6;
  --soft:     #ECECE8;
  --line:     #E2E2DE;
  --mute:     #8A8A8A;
  --mint:     #4DFFA0;
  --mintdark: #1F9E63;
  --minttint: #EAFBF1;
  --white:    #FFFFFF;

  /* logo gradient — used sparingly as a signature, not a stamp */
  --grad: linear-gradient(120deg, #1ED6A0 0%, #1C7FB8 52%, #A24BE0 100%);

  --maxw: 1140px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(13,13,13,.05), 0 6px 20px rgba(13,13,13,.04);
  --shadow-md: 0 10px 40px rgba(13,13,13,.08);
  --shadow-lg: 0 24px 70px rgba(13,13,13,.12);

  --ease: cubic-bezier(.22,.61,.36,1);

  /* fluid type scale */
  --fs-eyebrow: .8rem;
  --fs-body:    clamp(1rem, .96rem + .25vw, 1.125rem);
  --fs-lead:    clamp(1.15rem, 1.05rem + .55vw, 1.4rem);
  --fs-h3:      clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  --fs-h2:      clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --fs-h1:      clamp(2.5rem, 1.6rem + 4.4vw, 5rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { color: #2b2b2b; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--mint); color: var(--ink); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

.eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mintdark);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--mintdark);
  display: inline-block;
}
.center .eyebrow { justify-content: center; }

.lead { font-size: var(--fs-lead); color: #3a3a3a; line-height: 1.5; }
.mute { color: var(--mute); }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .9rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 1rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink); color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary .arr { transition: transform .25s var(--ease); }
.btn-primary:hover .arr { transform: translateX(4px); }
.btn-mint { background: var(--mint); color: var(--ink); box-shadow: 0 6px 24px rgba(77,255,160,.35); }
.btn-mint:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(77,255,160,.45); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { --pad-y: 1.05rem; --pad-x: 1.9rem; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(248,248,246,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  height: clamp(68px, 8vw, 86px);
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink);
}
.brand__by { font-size: .68rem; letter-spacing: .08em; color: var(--mute); margin-top: 3px; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav__links a {
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: .98rem;
  color: #333; position: relative; padding-block: .3rem;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--mintdark);
  transition: width .28s var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: .75rem; }
/* the in-list CTA button is only for the mobile menu; hide it on desktop */
@media (min-width: 861px) { .nav__links .btn { display: none; } }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav__toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span + span { margin-top: 6px; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links, .nav .nav__cta--desktop {
    position: fixed; inset: 0 0 auto 0; top: clamp(68px,8vw,86px);
    flex-direction: column; align-items: flex-start;
    background: var(--bg); padding: 1.5rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    gap: 1.25rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .3s var(--ease);
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav__links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { font-size: 1.25rem; }
  .nav__cta--desktop { display: none; }
  .nav__links .btn { width: 100%; justify-content: center; margin-top: .5rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; max-width: 760px; aspect-ratio: 1;
  right: -14vw; top: -16vw;
  background: radial-gradient(circle at center, rgba(77,255,160,.28), rgba(77,255,160,0) 62%);
  filter: blur(8px);
}
.hero__inner { position: relative; z-index: 1; max-width: 20ch; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .grad-word {
  background: linear-gradient(100deg, #1ED6A0, #1C7FB8, #A24BE0, #1C7FB8, #1ED6A0);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradientShift 7s linear infinite;
}
.hero__sub { font-size: var(--fs-lead); color: #3a3a3a; max-width: 54ch; margin-bottom: 2.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- trust strip (animated numbers) ---------- */
.trust { border-block: 1px solid var(--line); background: var(--white); position: relative; overflow: hidden; }
.trust::before {
  content: ""; position: absolute; left: 50%; top: -70%; transform: translateX(-50%);
  width: 60%; height: 220%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(77,255,160,.07), transparent 65%);
}
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 4.5vw, 3.2rem);
  text-align: center; position: relative;
}
.trust__item { position: relative; }
.trust__item + .trust__item::before {
  content: ""; position: absolute; top: 14%; bottom: 14%;
  left: calc(-.5 * clamp(1rem, 3vw, 2.5rem));
  width: 1px; background: var(--line);
}
.trust__item .n {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
  letter-spacing: -.02em; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.trust__item .l {
  font-family: 'Outfit', sans-serif; font-weight: 500;
  font-size: .88rem; color: var(--mute); margin-top: .55rem;
}
@media (max-width: 640px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .trust__item:nth-child(odd)::before { display: none; }
}

/* ---------- section heading block ---------- */
.head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.head.center { margin-inline: auto; }
.head h2 { margin-bottom: 1rem; }

/* ---------- prose blocks (the narrative / "the problem") ---------- */
.prose { max-width: 38ch; }
.prose p { font-size: var(--fs-lead); line-height: 1.5; margin-bottom: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose .punch { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--ink); }

.split {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }
.cards--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .cards, .cards--three { grid-template-columns: 1fr; } }
/* connective line between narrative beats */
.handoff { font-family:'Outfit',sans-serif; font-weight:600; font-size: var(--fs-h3); letter-spacing:-.02em; max-width: 30ch; margin: 0 0 clamp(1.4rem,3vw,2rem); }
.handoff .mintdark { color: var(--mintdark); }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card--feature { grid-column: 1 / -1; background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card--feature p { color: #c9c9c4; }
.card--feature .card__tag { color: var(--ink); background: var(--mint); }
.card--feature .card__deliv { border-top-color: rgba(255,255,255,.14); color: #9b9b96; }
@media (min-width: 721px) { .card--feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; } }
.card__tag {
  display: inline-block; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--minttint); color: var(--mintdark);
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .7rem; }
.card__who { font-size: .92rem; color: var(--mute); margin-top: .9rem; }
.card--feature .card__who { color: #9b9b96; }
.card__deliv {
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--mute);
}
.card__deliv b { color: inherit; font-weight: 600; }

/* ---------- case studies ---------- */
.case {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem,3vw,2.4rem);
  align-items: start; padding-block: clamp(1.8rem, 4vw, 2.8rem);
  border-top: 1px solid var(--line);
}
.case:last-child { border-bottom: 1px solid var(--line); }
.case__num { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--mint); -webkit-text-stroke: 1px var(--mintdark); font-size: clamp(1.6rem,1rem+2vw,2.4rem); line-height: 1; }
.case__kicker { font-family:'Outfit',sans-serif; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: .6rem; }
.case h3 { margin-bottom: .9rem; max-width: 22ch; }
.case__body { max-width: 62ch; }
.case__body p { margin-bottom: .9rem; }
.case__deliv { font-size: .88rem; color: var(--mute); margin-top: 1rem; }
.case__deliv b { color: var(--ink); font-weight: 600; }
.case__tags { display:flex; flex-wrap: wrap; gap:.5rem; margin-top: 1rem; }
.tag { font-size:.78rem; font-family:'Outfit',sans-serif; background: var(--soft); color:#444; padding:.3rem .7rem; border-radius: 999px; }
@media (max-width: 720px) { .case { grid-template-columns: 1fr; gap: .8rem; } .case__num { font-size: 1.6rem; } }

/* compact teaser cards on home */
.teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2vw,1.5rem); }
@media (max-width: 900px){ .teasers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .teasers { grid-template-columns: 1fr; } }
.teaser {
  background: var(--white); border:1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.3rem,2.5vw,1.8rem); display:flex; flex-direction: column; gap:.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.teaser__kicker { font-family:'Outfit',sans-serif; font-size:.74rem; letter-spacing:.1em; text-transform: uppercase; color: var(--mintdark); }
.teaser h3 { font-size: 1.15rem; }
.teaser p { font-size: .94rem; color:#444; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2vw,1.5rem); }
@media (max-width: 880px){ .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--white); border:1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(1.5rem,3vw,2rem); display:flex; flex-direction:column;
}
.quote__mark { font-family:'Outfit',sans-serif; font-weight:700; font-size:2.6rem; color: var(--mint); line-height:.6; height:1.1rem; }
.quote p { font-size:.98rem; line-height:1.6; color:#2b2b2b; flex:1; }
.quote__by { margin-top: 1.2rem; font-family:'Outfit',sans-serif; font-weight:600; font-size:.9rem; }
.quote__by span { display:block; color: var(--mute); font-weight:400; font-size:.84rem; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2.5vw,2rem); }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 3.2rem; }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  position:absolute; top:0; left:0;
  font-family:'Outfit',sans-serif; font-weight:700; font-size:1.05rem;
  color: var(--ink); background: var(--mint);
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
}
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { font-size:.94rem; color:#444; }

/* ---------- contact / cta ---------- */
.cta-band { background: var(--ink); color: var(--bg); border-radius: var(--r-lg); padding: clamp(2rem,5vw,4rem); position: relative; overflow:hidden; }
.cta-band__glow { position:absolute; right:-8%; bottom:-40%; width: 40%; aspect-ratio:1; background: radial-gradient(circle, rgba(77,255,160,.25), transparent 65%); pointer-events:none; }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); position: relative; z-index:1; align-items: start; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color:#c9c9c4; }
.cta-band a.inline { color: var(--mint); border-bottom: 1px solid rgba(77,255,160,.4); }

form .field { margin-bottom: 1.1rem; }
form label { display:block; font-family:'Outfit',sans-serif; font-size:.82rem; font-weight:500; letter-spacing:.04em; color:#bdbdb8; margin-bottom:.4rem; }
form input, form textarea {
  width:100%; font-family:'DM Sans',sans-serif; font-size:1rem; color: var(--white);
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.16);
  border-radius: var(--r-sm); padding: .85rem 1rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
form input::placeholder, form textarea::placeholder { color:#7d7d78; }
form input:focus, form textarea:focus { outline:none; border-color: var(--mint); background: rgba(255,255,255,.1); }
form textarea { resize: vertical; min-height: 120px; }
form .btn { width:100%; justify-content:center; margin-top:.4rem; }
.form-note { font-size:.82rem; color:#9b9b96; margin-top: .9rem; }
.form-status { font-size:.92rem; margin-top:1rem; display:none; }
.form-status.show { display:block; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #ff8f8f; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem,5vw,3.5rem); }
.footer__grid { display:flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer__links { display:flex; flex-wrap:wrap; gap: 1.4rem; }
.footer__links a { font-family:'Outfit',sans-serif; font-size:.95rem; color:#444; }
.footer__links a:hover { color: var(--ink); }
.footer__legal { font-size:.85rem; color: var(--mute); width:100%; padding-top: 1.5rem; margin-top:.5rem; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; justify-content: space-between; gap:.6rem; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- page hero (work / about) ---------- */
.page-hero { padding-top: clamp(2.5rem,6vw,4.5rem); padding-bottom: clamp(1.5rem,4vw,2.5rem); }
.page-hero h1 { font-size: clamp(2.2rem,1.5rem+3vw,4rem); margin-bottom: 1.2rem; max-width: 16ch; }
.page-hero .lead { max-width: 56ch; }

/* about portrait block */
.about-portrait {
  background: var(--ink); color: var(--bg); border-radius: var(--r-lg);
  padding: clamp(1.8rem,4vw,3rem); display:flex; flex-direction:column; gap:1rem;
}
.about-portrait .sig { font-family:'Outfit',sans-serif; font-weight:700; font-size:1.4rem; }
.about-portrait .role { color: var(--mint); font-size:.95rem; }
.about-portrait p { color:#c9c9c4; font-size:.96rem; }

/* ============================================================
   MOTION LAYER — entrances, scroll reveals, ambient movement
   ============================================================ */

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 200; transform-origin: left;
  transition: width .08s linear; box-shadow: 0 0 12px rgba(77,255,160,.5);
}

/* keyframes */
@keyframes gradientShift { to { background-position: 220% center; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes floatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px,28px); } }
@keyframes floatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(28px,-22px) scale(1.1); } }
@keyframes shine { 0% { transform: translateX(-160%) skewX(-12deg); } 60%,100% { transform: translateX(260%) skewX(-12deg); } }
@keyframes popIn { 0% { transform: scale(.3); opacity: 0; } 65% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
@keyframes floatSlow { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }

/* hero entrance (pure CSS so it always lands visible) */
.hero-rise { animation: riseIn .85s var(--ease) both; }
.hero-rise.d1 { animation-delay: .12s; }
.hero-rise.d2 { animation-delay: .26s; }
.hero-rise.d3 { animation-delay: .40s; }

/* ambient hero blobs */
.hero__glow { animation: floatA 16s ease-in-out infinite; will-change: transform; }
.hero__glow2 {
  position: absolute; z-index: 0; pointer-events: none;
  width: 32vw; max-width: 380px; aspect-ratio: 1;
  left: -8vw; bottom: -10vw;
  background: radial-gradient(circle at center, rgba(162,75,224,.16), rgba(162,75,224,0) 64%);
  filter: blur(10px); animation: floatB 20s ease-in-out infinite;
}

/* directional reveal modifiers (work with .reveal/.in) */
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(.93); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in { transform: none; }

/* deeper stagger for grids */
.reveal[data-d="5"] { transition-delay: .40s; }
.reveal[data-d="6"] { transition-delay: .48s; }

/* mint button shine */
.btn-mint { position: relative; overflow: hidden; }
.btn-mint::after {
  content: ""; position: absolute; top: 0; left: 0; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-160%) skewX(-12deg); pointer-events: none;
}
.btn-mint:hover::after { animation: shine .85s var(--ease); }

/* step number pop on reveal */
.step.in::before { animation: popIn .55s var(--ease) both; }

/* illustrations */
.illo { width: 100%; height: auto; display: block; }
.illo--float { animation: floatSlow 9s ease-in-out infinite; will-change: transform; }
.illo-wrap { position: relative; }
.illo-wrap::before {
  content: ""; position: absolute; inset: 8% 8% 8% 8%; z-index: -1;
  background: radial-gradient(circle at center, rgba(77,255,160,.20), transparent 68%);
  filter: blur(12px);
}
.illo--sm { max-width: 360px; margin-inline: auto; }
.illo--road { max-width: 300px; }

/* how-it-works layout with road illustration */
.steps-wrap { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 880px) { .steps-wrap { grid-template-columns: 1fr; } .steps-wrap .illo--road { display: none; } }


/* ---------- concrete service cards ---------- */
.card__hook {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 1.05rem; color: var(--ink); margin: .1rem 0 .8rem;
}
.card__for {
  font-size: .9rem; color: #444; margin-top: 1rem;
  padding-top: .9rem; border-top: 1px solid var(--line);
}
.card__for b { color: var(--ink); font-weight: 600; }
.card__deliv + .card__for, .card__for + .card__deliv { border-top: 1px dashed var(--line); }

/* ---------- services-by-name menu ---------- */
.svc-menu {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(1.5rem, 4vw, 3.5rem);
}
@media (max-width: 720px) { .svc-menu { grid-template-columns: 1fr; } }
.svc-menu li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: .65rem; row-gap: .3rem;
  align-items: baseline;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line);
}
.svc-menu li::before {
  content: "→"; color: var(--mintdark);
  font-family: 'Outfit', sans-serif; font-weight: 700;
  grid-column: 1; grid-row: 1;
}
.svc-menu b {
  font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--ink);
  font-size: 1.05rem; grid-column: 2; grid-row: 1;
}
.svc-menu span {
  color: #444; font-size: .95rem; line-height: 1.5;
  grid-column: 2 / 4; grid-row: 2;
}
.svc-menu em {
  font-style: normal; font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--mint); color: var(--ink);
  padding: .24rem .62rem; border-radius: 999px;
  grid-column: 3; grid-row: 1; align-self: center; justify-self: end;
  white-space: nowrap;
}
.svc-menu .is-start b { color: var(--mintdark); }

/* long two-sentence hero headline */
.hero__copy h1.h1--long { font-size: clamp(2.15rem, 1.3rem + 3.4vw, 3.85rem); }

/* credential quotes in the decade section */
.mini-quotes { display: grid; gap: .9rem; margin-top: 1.7rem; max-width: 46ch; }
.mini-quote {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--mint);
  border-radius: var(--r-md); padding: 1.05rem 1.25rem;
  font-size: .95rem; line-height: 1.55; color: #2b2b2b; margin: 0;
}
.mini-quote b {
  display: block; font-family: 'Outfit', sans-serif; font-size: .82rem;
  color: var(--mute); font-weight: 600; margin-top: .55rem;
}

/* ---------- featured testimonial ---------- */
.quote--feature {
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--mint);
  border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: clamp(1rem, 2.4vw, 1.6rem);
}
.quote--feature .q-text {
  font-family: 'Outfit', sans-serif; font-weight: 500;
  font-size: clamp(1.2rem, 1rem + .9vw, 1.65rem); line-height: 1.42;
  letter-spacing: -.01em; color: var(--ink); max-width: 46ch;
}
.quote--feature .quote__mark { font-size: 3rem; margin-bottom: .2rem; }
.quote--feature .quote__by { margin-top: 1.4rem; font-size: 1rem; }
.quote--feature .quote__by span { font-size: .9rem; }

/* ============================================================
   HERO REWORK — split layout + animated diagnosis visual
   ============================================================ */
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  position: relative; z-index: 1;
}
.hero__copy { max-width: 34rem; }
.hero__copy h1 { margin-bottom: 1.4rem; }
.hero__copy .hero__sub { max-width: 42ch; }
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: clamp(2.5rem,7vw,3.5rem); }
  .hero__copy { max-width: 38rem; }
  .hero__viz { margin-inline: auto; }
}

.hero__viz { position: relative; z-index: 1; width: 100%; max-width: 430px; margin-inline: auto; }

/* the diagnosis card */
.diag-card {
  position: relative; z-index: 2;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.3rem, 2.4vw, 1.8rem);
  box-shadow: var(--shadow-lg);
  animation: floatSlow 9s ease-in-out infinite; will-change: transform;
}
.diag-card__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; }
.diag-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(77,255,160,.22); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(77,255,160,.22);} 50% { box-shadow: 0 0 0 7px rgba(77,255,160,.08);} }
.diag-card__title { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.02rem; }
.diag-card__chip { margin-left: auto; font-family: 'Outfit', sans-serif; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mintdark); background: var(--minttint); padding: .25rem .55rem; border-radius: 999px; }

.diag-score { margin-bottom: 1.25rem; }
.diag-score__num { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 2.5rem; letter-spacing: -.03em; line-height: 1; }
.diag-score__num span { font-size: 1rem; color: var(--mute); font-weight: 500; }
.diag-score__label { font-size: .82rem; color: var(--mute); margin: .35rem 0 .8rem; }
.diag-bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.diag-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #FFB020, #FF7A59); width: var(--w,38%); animation: barGrow 1.5s var(--ease) .5s both; }
@keyframes barGrow { from { width: 0; } }

.diag-list { list-style: none; display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.3rem; }
.diag-list li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.d-ic { width: 18px; height: 18px; border-radius: 50%; flex: none; position: relative; background: #FFF1DC; }
.d-ic::after { content: "!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: .72rem; color: #E8890C; }
.d-tx { color: #333; }
.d-tag { margin-left: auto; font-family: 'Outfit', sans-serif; font-size: .72rem; font-weight: 600; color: #C05621; background: #FFF1DC; padding: .2rem .55rem; border-radius: 999px; }

.diag-foot { display: flex; align-items: center; gap: .5rem; padding: .9rem 1.05rem; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .95rem; }
.diag-foot__arrow { margin-left: auto; color: var(--mint); transition: transform .3s var(--ease); }
.diag-card:hover .diag-foot__arrow { transform: translateX(4px); }

/* floating result chips */
.float-chip {
  position: absolute; z-index: 3;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem .9rem; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .82rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .4rem; white-space: nowrap;
}
.float-chip small { color: var(--mute); font-weight: 500; }
.chip-rank { top: -18px; right: -14px; animation: floatB 7s ease-in-out infinite; }
.chip-rank .chip-ic { color: var(--mintdark); font-weight: 700; }
.chip-star { bottom: -16px; left: -16px; animation: floatA 8.5s ease-in-out infinite; }
.chip-star .chip-ic { color: #F5B301; }
@media (max-width: 420px) { .chip-rank { right: -2px; } .chip-star { left: -2px; } }

/* ============================================================
   SCREENSHOT SECTIONS (Kinso-style) — show the real deliverable
   ============================================================ */
.feature-shot { align-items: center; }
.browser {
  border-radius: 14px; border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser--float { animation: floatSlow 10s ease-in-out infinite; will-change: transform; }
.browser__bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .9rem; border-bottom: 1px solid var(--line); background: var(--bg);
}
.browser__dots { display: flex; gap: .42rem; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #D7D7D1; display: block; }
.browser__url {
  font-family: 'DM Sans', sans-serif; font-size: .78rem; color: var(--mute);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .28rem .85rem; flex: 1; max-width: 300px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser__body { position: relative; max-height: 460px; overflow: hidden; }
.browser__body img { width: 100%; display: block; }
.browser__body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(transparent, var(--white)); pointer-events: none;
}

/* auto-scrolling report inside the browser frame */
.browser__body.is-scroll img { animation: docScroll 26s cubic-bezier(.45,0,.2,1) infinite alternate; }
@keyframes docScroll {
  0%, 7%   { transform: translateY(0); }
  93%, 100%{ transform: translateY(calc(-100% + 458px)); }
}
.browser__body.is-scroll::after { height: 72px; }

/* ============================================================
   SERVICE CARDS v2 — icon-led, less text, not blog-like
   ============================================================ */
.card.svc { display: flex; flex-direction: column; padding: clamp(1.6rem, 2.6vw, 2.1rem); }
.svc__icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--minttint); color: var(--mintdark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.svc__icon svg { width: 27px; height: 27px; }
.card.svc:hover .svc__icon { background: var(--mint); color: var(--ink); transform: translateY(-3px) rotate(-5deg); }
.svc h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.4rem); margin-bottom: .8rem; }
.svc__symptom {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1.02rem; color: var(--ink);
  padding-left: .85rem; border-left: 3px solid var(--mint); margin-bottom: 1rem;
}
.svc__desc { font-size: .96rem; color: #444; line-height: 1.6; margin-bottom: 1.4rem; }
.svc__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; }
.svc__chips span {
  font-family: 'Outfit', sans-serif; font-size: .74rem; font-weight: 500;
  background: var(--soft); color: #4a4a4a; padding: .34rem .72rem; border-radius: 999px;
  transition: background .25s var(--ease);
}
.card.svc:hover .svc__chips span { background: var(--minttint); color: var(--mintdark); }

/* ============================================================
   TESTIMONIALS v2 — avatars (real people) + centered flow
   ============================================================ */
.quotes { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2vw, 1.5rem); justify-content: center; }
.quotes .quote { flex: 1 1 300px; max-width: 360px; }

.quote__by { display: flex; align-items: center; gap: .75rem; margin-top: 1.3rem; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .92rem; }
.quote__who { display: flex; flex-direction: column; line-height: 1.25; }
.quote__who span { color: var(--mute); font-weight: 400; font-size: .84rem; }

.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: #fff;
  letter-spacing: .01em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote--feature .quote__by { margin-top: 1.6rem; font-size: 1rem; }
.quote--feature .avatar { width: 54px; height: 54px; font-size: 1.15rem; }

/* fix: avatar + name styling must beat the legacy .quote__by span rule */
.quote__by .avatar { color: #fff; font-weight: 700; font-size: 1rem; line-height: 1; }
.quote--feature .quote__by .avatar { font-size: 1.15rem; }
.quote__by .quote__who { color: var(--ink); font-weight: 600; font-size: .92rem; }
.quote__by .quote__who span { display: block; color: var(--mute); font-weight: 400; font-size: .84rem; }

/* ============================================================
   TESTIMONIAL CAROUSEL — show 3, slide for more
   ============================================================ */
.tcarousel { --tgap: clamp(1rem, 2vw, 1.5rem); position: relative; }
.tcarousel__viewport { overflow: hidden; }
.tcarousel__track { display: flex; gap: var(--tgap); transition: transform .55s var(--ease); will-change: transform; }
.tcarousel .quote { flex: 0 0 calc((100% - 2 * var(--tgap)) / 3); max-width: none; }
@media (max-width: 900px) { .tcarousel .quote { flex-basis: calc((100% - var(--tgap)) / 2); } }
@media (max-width: 600px) { .tcarousel .quote { flex-basis: 100%; } }

.tcarousel__nav { display: flex; gap: .85rem; justify-content: center; align-items: center; margin-top: 1.9rem; }
.tnav-btn {
  width: 50px; height: 50px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease), background .25s var(--ease);
}
.tnav-btn svg { width: 20px; height: 20px; }
.tnav-btn:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.tnav-btn:disabled { opacity: .3; cursor: default; }
.tcarousel__dots { display: flex; gap: .42rem; align-items: center; padding: 0 .3rem; }
.tcarousel__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); display: block; transition: width .3s var(--ease), background .3s var(--ease); }
.tcarousel__dots i.on { background: var(--mintdark); width: 22px; border-radius: 999px; }

/* 4-step process: 2 columns beside the road illustration */
.steps--two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .steps--two { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG (WordPress) — list + single article
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.4vw, 1.8rem); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__thumb { aspect-ratio: 16/10; background: var(--soft); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: clamp(1.2rem, 2.4vw, 1.6rem); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card__meta { font-family: 'Outfit', sans-serif; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mintdark); }
.post-card h3 { font-size: 1.22rem; line-height: 1.15; }
.post-card p { font-size: .94rem; color: #444; }
.post-card__more { margin-top: auto; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .9rem; color: var(--ink); display: inline-flex; gap: .4rem; }
.post-card:hover .post-card__more { color: var(--mintdark); }

.pagination { display: flex; gap: .6rem; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); flex-wrap: wrap; }
.pagination a, .pagination span {
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .95rem;
  padding: .6rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink);
}
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }

/* single article */
.article { max-width: 720px; margin-inline: auto; }
.article__hero { max-width: 760px; margin-inline: auto; text-align: center; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.article__meta { font-family: 'Outfit', sans-serif; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; }
.article__hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.article__cover { max-width: 980px; margin: 0 auto clamp(2rem,4vw,3rem); border-radius: var(--r-lg); overflow: hidden; }
.article__cover img { width: 100%; display: block; }
.article-content { font-size: 1.12rem; line-height: 1.7; color: #232323; }
.article-content > * + * { margin-top: 1.3rem; }
.article-content h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.article-content h3 { font-size: 1.32rem; margin-top: 2rem; }
.article-content a { color: var(--mintdark); text-decoration: underline; text-underline-offset: 3px; }
.article-content ul, .article-content ol { padding-left: 1.3rem; }
.article-content li + li { margin-top: .5rem; }
.article-content img { width: 100%; height: auto; border-radius: var(--r-md); }
.article-content blockquote {
  border-left: 3px solid var(--mint); padding: .3rem 0 .3rem 1.2rem; margin-left: 0;
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.3rem; color: var(--ink);
}
.article-content code { background: var(--soft); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.article-content pre { background: var(--ink); color: #eee; padding: 1.2rem; border-radius: var(--r-md); overflow-x: auto; }
.article-author { display: flex; align-items: center; gap: .9rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.article-author .avatar { width: 52px; height: 52px; }
.article-author b { font-family: 'Outfit', sans-serif; }
.article-author span { display: block; color: var(--mute); font-size: .9rem; }

.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.post-tags a { font-family: 'Outfit', sans-serif; font-size: .78rem; background: var(--soft); color: #444; padding: .3rem .75rem; border-radius: 999px; }
