/* ==========================================================
   Aashish Rai — SEO & Content Specialist
   Dark editorial theme + motion layer
   Colours: :root below. Motion: respects prefers-reduced-motion.
   ========================================================== */

:root {
  --bg: #0a0c10;
  --bg-2: #0d1016;
  --surface: #121620;
  --surface-2: #1a1f2b;
  --border: #242b3a;
  --border-hi: #34405c;
  --text: #e8ebf0;
  --muted: #99a3b3;
  --muted-2: #6f7a8b;
  --accent: #6c8cff;
  --accent-2: #22d3ee;
  --accent-3: #34d399;
  --radius: 14px;
  --radius-lg: 20px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* animated ambient glow */
body::before {
  content: "";
  position: fixed;
  top: -25vh; left: 50%;
  width: 1000px; height: 700px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 50% 50% at 40% 40%, rgba(108,140,255,.20), transparent 70%),
    radial-gradient(ellipse 40% 40% at 65% 55%, rgba(34,211,238,.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translateX(-50%) translateY(0) scale(1); opacity: .9; }
  100% { transform: translateX(-46%) translateY(30px) scale(1.08); opacity: 1; }
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }
.narrow { max-width: 760px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,h2,h3,h4 { line-height: 1.22; letter-spacing: -.022em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.15rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.2rem); font-weight: 650; }
h3 { font-size: 1.16rem; font-weight: 620; }
h4 { font-size: 1rem; font-weight: 620; }
p  { margin: 0 0 1.1em; }
strong { color: var(--text); }

/* ---------------- header ---------------- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,12,16,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
header.site.scrolled { border-bottom-color: var(--border); background: rgba(10,12,16,.92); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; }

.brand { font-weight: 700; color: var(--text); font-size: 1.06rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }

nav.main { display: flex; gap: 2px; flex-wrap: wrap; }
nav.main a {
  position: relative; color: var(--muted); padding: 8px 13px; border-radius: 9px;
  font-size: .95rem; transition: color .2s var(--ease), background .2s var(--ease);
}
nav.main a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
nav.main a:hover { color: var(--text); text-decoration: none; }
nav.main a:hover::after { transform: scaleX(1); }
nav.main a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* reading progress bar (articles) */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 80; transition: width .1s linear;
}

/* ---------------- sections ---------------- */
section { padding: 78px 0; }
section.tight { padding: 46px 0; }
section.alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .75rem;
  color: var(--accent-2); font-weight: 650; margin-bottom: 15px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--accent-2); opacity: .6;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 64ch; }
.section-head { max-width: 66ch; margin-bottom: 38px; }

/* ---------------- hero ---------------- */
.hero { padding: 96px 0 62px; }
.hero h1 { max-width: 23ch; }
.hero .lead { margin-top: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
.hero-note { color: var(--muted-2); font-size: .9rem; margin-top: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 11px; font-weight: 600; font-size: .97rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #08101f; box-shadow: 0 8px 22px rgba(108,140,255,.26); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(108,140,255,.4); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-hi); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------------- grid + cards ---------------- */
.grid { display: grid; gap: 18px; }
.grid.two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 940px) { .grid.three { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .grid.two, .grid.three { grid-template-columns: 1fr; } }

.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(108,140,255,.10), transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.card-num {
  display: inline-block; color: var(--accent); font-weight: 700;
  font-size: .8rem; letter-spacing: .12em; margin-bottom: 10px;
}
.deliver { border-top: 1px solid var(--border); margin-top: 16px; padding-top: 14px; font-size: .93rem; }

/* ---------------- stats / counters ---------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.stat:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.stat b { display: block; font-size: 2rem; letter-spacing: -.035em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; display: block; margin-top: 6px; }
.stat em { font-style: normal; color: var(--accent); }

/* ---------------- process steps ---------------- */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 30px; }
.step {
  display: grid; grid-template-columns: 62px 1fr; gap: 22px;
  padding: 26px 0; border-top: 1px solid var(--border);
  transition: background .3s var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step:hover { background: rgba(255,255,255,.014); }
.step-n {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--accent);
  padding-top: 4px;
}
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--muted); }

/* ---------------- philosophy block ---------------- */
.philosophy {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(108,140,255,.07), rgba(34,211,238,.04));
  padding: 44px 38px;
}
.q-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 2px; }
.q-list li {
  padding: 15px 0; border-top: 1px solid var(--border);
  font-size: 1.06rem; color: var(--text);
  display: flex; gap: 14px; align-items: baseline;
}
.q-list li::before { content: "→"; color: var(--accent); flex: none; }

/* ---------------- blog list ---------------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-bottom: 1px solid var(--border); padding: 26px 0; transition: padding-left .3s var(--ease); }
.post-list li:first-child { border-top: 1px solid var(--border); }
.post-list li:hover { padding-left: 8px; }
.post-list h3 { margin-bottom: .35em; }
.post-list h3 a { color: var(--text); }
.post-list h3 a:hover { color: var(--accent); text-decoration: none; }
.post-meta { color: var(--muted-2); font-size: .87rem; margin-bottom: 8px; }
.tag {
  display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-2); border: 1px solid var(--border); border-radius: 99px;
  padding: 3px 11px; margin-right: 8px;
}

/* ---------------- article ---------------- */
article.post { max-width: 72ch; }
article.post h2 { margin-top: 1.9em; }
article.post h3 { margin-top: 1.5em; }
article.post ul, article.post ol { color: var(--muted); padding-left: 1.2em; }
article.post li { margin-bottom: .5em; }
article.post img { max-width: 100%; border-radius: var(--radius); }
article.post blockquote {
  margin: 1.7em 0; padding: 6px 0 6px 22px;
  border-left: 3px solid var(--accent); color: var(--text); font-size: 1.1rem;
}
article.post code {
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 2px 7px; border-radius: 6px; font-size: .9em;
}

/* ---------------- FAQ (details/summary) ---------------- */
.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq details[open] { border-color: var(--border-hi); }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq details[open] .answer { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------------- timeline ---------------- */
.timeline { position: relative; margin-top: 30px; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--border) 70%);
}
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 9px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.tl-item:hover::before { transform: scale(1.35); background: var(--accent); }
.tl-when { font-size: .84rem; letter-spacing: .06em; color: var(--accent-2); text-transform: uppercase; }
.tl-item h3 { margin: 4px 0 .3em; }
.tl-item p { color: var(--muted); margin-bottom: .5em; }
.tl-item ul { color: var(--muted); margin: 0; padding-left: 1.1em; font-size: .96rem; }

/* ---------------- contact ---------------- */
.contact-links { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact-links a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px; color: var(--text);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.contact-links a:hover { border-color: var(--accent); transform: translateX(4px); text-decoration: none; }
.contact-links .what { color: var(--muted); font-size: .9rem; }

form.enquiry { display: grid; gap: 16px; margin-top: 28px; }
form.enquiry .row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
form.enquiry label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 7px; letter-spacing: .01em; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 11px;
  padding: 12px 14px; font: inherit; font-size: .97rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(108,140,255,.15);
}
form.enquiry textarea { min-height: 130px; resize: vertical; }
form.enquiry .hint { color: var(--muted-2); font-size: .85rem; }

/* ---------------- CTA band ---------------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(108,140,255,.15), rgba(34,211,238,.08));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 48px 34px; text-align: center;
}
.cta::after {
  content: ""; position: absolute; inset: -40% -10%;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,140,255,.16), transparent 60%);
  animation: pulse 9s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes pulse { from { opacity: .5; } to { opacity: 1; } }
.cta h2 { margin-bottom: .35em; }
.cta p { color: var(--muted); max-width: 54ch; margin-inline: auto; }
.cta .btn { position: relative; z-index: 1; }

/* small trust strip */
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted-2); font-size: .9rem; margin-top: 22px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: "✓"; color: var(--accent-3); }

/* ---------------- footer ---------------- */
footer.site { border-top: 1px solid var(--border); padding: 40px 0 34px; color: var(--muted); font-size: .93rem; margin-top: 40px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; margin-bottom: 30px; }
footer.site strong { display: block; color: var(--text); margin-bottom: 10px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer.site .base { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted-2); }

hr.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ==========================================================
   MOTION — scroll reveal + hero entrance + counters
   ========================================================== */
/* if JS never runs, nothing stays hidden */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.left  { transform: translateX(-24px); }
.reveal.left.in { transform: none; }
.reveal.scale { transform: scale(.97) translateY(16px); }
.reveal.scale.in { transform: none; }

/* hero entrance (runs on load, no JS needed) */
.enter > * { animation: heroIn .8s var(--ease) both; }
.enter > *:nth-child(1) { animation-delay: .05s; }
.enter > *:nth-child(2) { animation-delay: .16s; }
.enter > *:nth-child(3) { animation-delay: .27s; }
.enter > *:nth-child(4) { animation-delay: .38s; }
.enter > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------- responsive ---------------- */
@media (max-width: 860px) {
  footer.site .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  section { padding: 58px 0; }
  .hero { padding: 56px 0 44px; }
  header.site .wrap {
    flex-direction: column; align-items: flex-start; gap: 6px;
    min-height: 0; padding-top: 12px; padding-bottom: 10px;
  }
  nav.main {
    flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 2px; padding-bottom: 2px;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  nav.main::-webkit-scrollbar { display: none; }
  nav.main a { padding: 6px 11px; font-size: .92rem; white-space: nowrap; }
  nav.main a::after { display: none; }
  .card { padding: 22px; }
  .cta { padding: 34px 22px; }
  .philosophy { padding: 30px 22px; }
  .stat b { font-size: 1.7rem; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  form.enquiry .row { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .enter > * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   GRAPHICS LAYER — portrait, flow diagram, micro-charts, icons
   ========================================================== */

/* portrait */
.media{
  position:relative; border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; background:var(--surface); line-height:0;
}
.media img{width:100%; height:auto; display:block}
.media::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, transparent 42%, rgba(10,12,16,.55) 68%, rgba(10,12,16,.94));
}
.media figcaption{
  position:absolute; left:0; right:0; bottom:0; z-index:1;
  padding:18px 18px 16px; line-height:1.35; font-size:.8rem; color:var(--muted);
}
.media figcaption b{display:block; color:var(--text); font-size:.98rem}
.about-split{display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,320px); gap:44px; align-items:start}

/* byline with avatar */
.byline{display:flex; align-items:center; gap:14px; margin:0}
.byline img{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--border);
  flex:none; object-fit:cover;
}
.byline .who{font-size:.93rem; line-height:1.45}
.byline .who b{display:block; color:var(--text)}
.byline .who span{color:var(--muted)}

/* flow diagram strip */
.flow{
  border:1px solid var(--border); border-radius:var(--radius-lg);
  background:linear-gradient(150deg, rgba(108,140,255,.06), rgba(34,211,238,.03));
  padding:30px 26px;
}
.flow svg{width:100%; height:auto; display:block; overflow:visible}
.flow .f-label{fill:var(--muted); font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-family:var(--font)}
.flow .f-node{fill:var(--surface); stroke:var(--border-hi)}
.flow .f-line{stroke:var(--border-hi); stroke-width:1.5; fill:none}
.flow .f-dash{
  stroke:var(--accent); stroke-width:1.5; fill:none;
  stroke-dasharray:6 10; animation:dashmove 3.2s linear infinite;
}
@keyframes dashmove{to{stroke-dashoffset:-64}}
.flow .f-dot{fill:var(--accent)}
.flow .f-cap{fill:var(--accent-2); font-size:11px; letter-spacing:.1em; text-transform:uppercase; font-family:var(--font)}

/* micro-charts inside problem cards */
.spark{display:block; width:100%; height:52px; margin:0 0 16px; overflow:visible}
.spark polyline, .spark rect, .spark line{vector-effect:non-scaling-stroke}
.spark .grid-l{stroke:var(--border); stroke-width:1}
.spark .ln{fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
.spark .ln-flat{stroke:var(--muted-2)}
.spark .ln-down{stroke:#e8845f}
.spark .ln-a{stroke:var(--accent)}
.spark .ln-b{stroke:var(--accent-2); stroke-dasharray:4 4}
.spark .bar-imp{fill:var(--surface-2); stroke:var(--border-hi)}
.spark .bar-clk{fill:var(--accent); opacity:.85}
.spark .area{fill:url(#sparkfill); opacity:.5}

/* service icons */
.svc-ico{
  width:34px; height:34px; margin-bottom:14px; display:block;
  stroke:var(--accent); fill:none; stroke-width:1.5;
  stroke-linecap:round; stroke-linejoin:round;
}
.svc-ico circle, .svc-ico rect, .svc-ico path, .svc-ico line{vector-effect:non-scaling-stroke}

@media (max-width:860px){
  .about-split{grid-template-columns:1fr; gap:26px}
  .about-split .media{max-width:320px}
}
@media (prefers-reduced-motion:reduce){
  .flow .f-dash{animation:none}
}

/* ==========================================================
   v3 — accessibility, testimonials, WhatsApp, form states
   ========================================================== */

/* skip link */
.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--accent); color:#08101f; font-weight:600;
  padding:12px 18px; border-radius:0 0 10px 0;
}
.skip:focus{left:0; text-decoration:none}

/* visible focus everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--accent-2); outline-offset:3px; border-radius:4px;
}

/* ---------------- testimonials ---------------- */
.quotes{display:grid; gap:18px}
.quotes.two{grid-template-columns:repeat(2,minmax(0,1fr))}
blockquote.quote{
  margin:0; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:26px 26px 22px; position:relative;
  transition:border-color .3s var(--ease), transform .3s var(--ease);
}
blockquote.quote:hover{border-color:var(--border-hi); transform:translateY(-3px)}
blockquote.quote::before{
  content:"“"; position:absolute; top:6px; right:20px;
  font-size:64px; line-height:1; color:var(--accent); opacity:.16;
}
blockquote.quote p{color:var(--text); font-size:1.02rem; margin:0 0 1em; position:relative}
blockquote.quote p:last-of-type{margin-bottom:20px}
.quote cite{
  display:flex; align-items:center; gap:13px; font-style:normal;
  border-top:1px solid var(--border); padding-top:16px;
}
.initials{
  width:42px; height:42px; border-radius:50%; flex:none;
  display:grid; place-items:center; font-size:.86rem; font-weight:700; letter-spacing:.02em;
  background:linear-gradient(140deg, rgba(108,140,255,.28), rgba(34,211,238,.18));
  border:1px solid var(--border-hi); color:var(--text);
}
.quote .n{font-size:.95rem; line-height:1.4}
.quote .n b{display:block; color:var(--text)}
.quote .n span{color:var(--muted); font-size:.87rem}
.quote .rel{
  display:block; margin-top:3px; font-size:.72rem; text-transform:uppercase;
  letter-spacing:.09em; color:var(--accent-2);
}

/* ---------------- WhatsApp floating button ---------------- */
.wa{
  position:fixed; right:18px; bottom:18px; z-index:70;
  display:inline-flex; align-items:center; gap:10px;
  background:#1f9d5b; color:#fff; font-weight:600; font-size:.94rem;
  padding:13px 18px 13px 15px; border-radius:999px;
  box-shadow:0 10px 28px rgba(0,0,0,.45);
  transition:transform .2s var(--ease), box-shadow .25s var(--ease);
}
.wa:hover{transform:translateY(-2px); text-decoration:none; box-shadow:0 16px 36px rgba(0,0,0,.55)}
.wa svg{width:21px; height:21px; fill:currentColor; flex:none}
@media (max-width:640px){
  .wa{padding:13px; right:14px; bottom:14px}
  .wa .lbl{display:none}
}

/* ---------------- form states ---------------- */
.form-msg{
  border-radius:11px; padding:16px 18px; font-size:.96rem; margin:0;
  border:1px solid var(--border); background:var(--surface);
}
.form-msg.ok{border-color:var(--accent-3); color:var(--text)}
.form-msg.err{border-color:#e8845f; color:var(--text)}
.form-msg[hidden]{display:none}
form.enquiry.sending button[type=submit]{opacity:.6; pointer-events:none}

/* résumé row */
.dl{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:22px}
.dl .meta{color:var(--muted-2); font-size:.86rem}

@media (max-width:720px){ .quotes.two{grid-template-columns:1fr} }

/* ==========================================================
   v3.1 — portrait in homepage hero, avatar on contact
   ========================================================== */

.hero-split{align-items:center; gap:52px}
.hero-split h1{max-width:20ch}
.hero-split .media{box-shadow:0 30px 70px -30px rgba(0,0,0,.75)}
.hero-split .media::before{
  content:""; position:absolute; inset:-1px; z-index:2; pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(108,140,255,.28);
}

@media (max-width:940px){
  .hero-split{grid-template-columns:1fr; gap:30px}
  .hero-split .media{max-width:300px; margin:0 auto}
}

/* larger avatar block (contact) */
.byline-lg{
  margin-top:28px; padding-top:22px; border-top:1px solid var(--border);
  gap:16px; max-width:520px;
}
.byline-lg img{width:64px; height:64px}
.byline-lg .who b{font-size:.98rem}
.byline picture{flex:none; line-height:0}

/* ==========================================================
   v4 — cutout hero, animated pipeline, testimonial slider,
        vibrant buttons, photo grids
   ========================================================== */

/* ---------- cutout hero portrait (no frame, page shows through) ---------- */
.cutout{
  position:relative; align-self:end; justify-self:center;
  display:flex; align-items:flex-end; justify-content:center;
  width:100%;
}
.cutout picture{ position:relative; z-index:2; display:block; line-height:0; }
.cutout img{
  display:block; width:auto; height:auto;
  max-height:clamp(360px, 46vw, 500px); max-width:100%;
  filter:drop-shadow(0 26px 44px rgba(0,0,0,.55));
}

.cutout-glow{
  position:absolute; z-index:0; left:50%; bottom:6%;
  width:min(420px, 100%); aspect-ratio:1; transform:translateX(-50%);
  background:radial-gradient(circle at 50% 50%,
    rgba(108,140,255,.30) 0%, rgba(108,140,255,.10) 44%, transparent 68%);
  filter:blur(4px);
  animation:cutGlow 9s var(--ease) infinite;
}
.cutout-ring{
  position:absolute; z-index:1; left:50%; bottom:-6px;
  width:min(320px, 84%); height:70px; transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse at 50% 50%, rgba(34,211,238,.22), transparent 70%);
}
/* opacity only: a scale here would widen the page by a few pixels on mobile */
@keyframes cutGlow{
  0%,100%{ opacity:.62; }
  50%    { opacity:1; }
}
.hero-split.has-cutout{
  align-items:end; gap:24px;
  grid-template-columns:minmax(0,1fr) minmax(260px,360px);
}

@media (max-width:940px){
  .hero-split.has-cutout{ grid-template-columns:1fr; gap:22px; }
  .cutout img{ max-height:300px; }
}
@media (prefers-reduced-motion:reduce){ .cutout-glow{ animation:none; } }

/* ---------- the five-stage pipeline ---------- */
.flow{ position:relative; }
.flow-rail{ width:100%; height:26px; display:block; margin-bottom:6px; }

.pipe{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.pipe-step{
  border:1px solid var(--border); border-radius:var(--radius);
  background:var(--surface); padding:16px 16px 18px;
  transition:border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.pipe-step:hover{ border-color:var(--border-hi); transform:translateY(-4px); background:var(--surface-2); }
.pipe-n{
  font-size:.72rem; letter-spacing:.16em; color:var(--accent-2);
  font-weight:700; margin-top:12px;
}
.pipe-step h3{ font-size:1rem; margin:4px 0 6px; }
.pipe-step p{ color:var(--muted); font-size:.86rem; line-height:1.5; margin:0; }

.pipe-art{
  border-radius:10px; overflow:hidden;
  background:linear-gradient(155deg, rgba(108,140,255,.10), rgba(34,211,238,.04));
  border:1px solid var(--border);
}
.pipe-art svg{ width:100%; height:auto; display:block; }

/* shared stroke/fill language */
.pipe-art svg [fill="none"], .pipe-art svg path, .pipe-art svg line, .pipe-art svg circle{ vector-effect:non-scaling-stroke; }

/* 01 demand bars */
.pd-bars rect{ fill:rgba(108,140,255,.34); transform-origin:50% 100%; }
.pd-bars rect:nth-child(5){ fill:var(--accent); }
.in .pd-bars rect{ animation:pdRise .9s var(--ease) both; }
.in .pd-bars rect:nth-child(2){ animation-delay:.08s }
.in .pd-bars rect:nth-child(3){ animation-delay:.16s }
.in .pd-bars rect:nth-child(4){ animation-delay:.24s }
.in .pd-bars rect:nth-child(5){ animation-delay:.32s }
.in .pd-bars rect:nth-child(6){ animation-delay:.40s }
@keyframes pdRise{ from{ transform:scaleY(.05) } to{ transform:scaleY(1) } }
.pd-lens circle, .pd-lens line{ fill:none; stroke:var(--accent-2); stroke-width:2.4; stroke-linecap:round; }
.in .pd-lens{ animation:pdSweep 5s var(--ease) 1s infinite; }
@keyframes pdSweep{
  0%,100%{ transform:translate(0,0) }
  35%    { transform:translate(-44px,10px) }
  70%    { transform:translate(-18px,4px) }
}

/* 02 intent branches */
.pi-seed{ fill:var(--accent-2); }
.pi-branch path{ fill:none; stroke:rgba(108,140,255,.55); stroke-width:2; }
.in .pi-branch path{ stroke-dasharray:90; stroke-dashoffset:90; animation:draw 1s var(--ease) both; }
.in .pi-branch path:nth-child(2){ animation-delay:.12s }
.in .pi-branch path:nth-child(3){ animation-delay:.24s }
@keyframes draw{ to{ stroke-dashoffset:0 } }
.pi-tip rect{ fill:rgba(108,140,255,.20); stroke:rgba(108,140,255,.55); stroke-width:1.4; }
.in .pi-tip rect{ opacity:0; animation:fadeIn .5s var(--ease) .8s both; }
.in .pi-tip rect:nth-child(2){ animation-delay:.95s; fill:rgba(34,211,238,.26); stroke:var(--accent-2); }
.in .pi-tip rect:nth-child(3){ animation-delay:1.1s }
@keyframes fadeIn{ to{ opacity:1 } }

/* 03 the decision fork */
.pk-stem, .pk-yes, .pk-no{ fill:none; stroke-width:2; }
.pk-stem{ stroke:rgba(108,140,255,.6); }
.pk-yes { stroke:var(--accent-3, #34d399); }
.pk-no  { stroke:rgba(148,163,184,.4); stroke-dasharray:4 4; }
.pk-gate{ fill:var(--accent); }
.in .pk-gate{ animation:pulseDot 2.4s var(--ease) infinite; }
@keyframes pulseDot{ 0%,100%{ r:5.5; opacity:1 } 50%{ r:7.5; opacity:.6 } }
.pk-good circle{ fill:rgba(52,211,153,.16); stroke:var(--accent-3,#34d399); stroke-width:1.6; }
.pk-good path{ fill:none; stroke:var(--accent-3,#34d399); stroke-width:2; stroke-linecap:round; }
.pk-bad circle{ fill:rgba(148,163,184,.10); stroke:rgba(148,163,184,.45); stroke-width:1.4; }
.pk-bad path{ fill:none; stroke:rgba(148,163,184,.55); stroke-width:1.8; stroke-linecap:round; }
.in .pk-good{ opacity:0; animation:fadeIn .5s var(--ease) .7s both; }

/* 04 optimization checklist */
.po-page{ fill:rgba(255,255,255,.02); stroke:rgba(148,163,184,.28); stroke-width:1.4; }
.po-line rect{ fill:rgba(148,163,184,.28); }
.po-line rect:first-child{ fill:rgba(108,140,255,.5); }
.in .po-line rect{ transform-origin:0 50%; animation:poFill .7s var(--ease) both; }
.in .po-line rect:nth-child(2){ animation-delay:.15s }
.in .po-line rect:nth-child(3){ animation-delay:.30s }
.in .po-line rect:nth-child(4){ animation-delay:.45s }
@keyframes poFill{ from{ transform:scaleX(0) } to{ transform:scaleX(1) } }
.po-tick path{ fill:none; stroke:var(--accent-3,#34d399); stroke-width:2; stroke-linecap:round; }
.in .po-tick path{ stroke-dasharray:16; stroke-dashoffset:16; animation:draw .4s var(--ease) .8s both; }
.in .po-tick path:nth-child(2){ animation-delay:1s }

/* 05 organic growth */
.pg-axis{ stroke:rgba(148,163,184,.25); stroke-width:1.2; }
.pg-fill{ fill:url(#pgGrad); fill:rgba(108,140,255,.16); }
.pg-line{ fill:none; stroke:var(--accent); stroke-width:2.6; stroke-linecap:round; }
.pg-head{ fill:var(--accent-2); }
.in .pg-line{ stroke-dasharray:160; stroke-dashoffset:160; animation:draw 1.3s var(--ease) both; }
.in .pg-fill{ opacity:0; animation:fadeIn .8s var(--ease) .7s both; }
.in .pg-head{ opacity:0; animation:fadeIn .4s var(--ease) 1.2s both, pulseDot 2.4s var(--ease) 1.6s infinite; }

@media (max-width:1040px){ .pipe{ grid-template-columns:repeat(3,minmax(0,1fr)); } .flow-rail{ display:none } }
@media (max-width:720px){ .pipe{ grid-template-columns:1fr; } }

/* ---------- testimonial slider ---------- */
.slider{ position:relative; overflow:hidden; }
.slider-track{ display:flex; transition:transform .6s var(--ease); will-change:transform; }
.slider .slide{
  flex:0 0 100%; min-width:100%; margin:0;
  transition:opacity .5s var(--ease);
}
html.js .slider .slide[aria-hidden="true"]{ opacity:.25; }
.slider-dots{ display:flex; justify-content:center; gap:9px; margin-top:22px; }
.slider-dots button{
  width:9px; height:9px; border-radius:50%; padding:0;
  border:1px solid var(--border-hi); background:transparent; cursor:pointer;
  transition:background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.slider-dots button:hover{ border-color:var(--accent); }
.slider-dots button[aria-current="true"]{ background:var(--accent); border-color:var(--accent); transform:scale(1.35); }
/* with JS off, stack them instead of hiding four of five */
html:not(.js) .slider-track{ display:grid; gap:18px; }
html:not(.js) .slider .slide{ min-width:0; }
html:not(.js) .slider-dots{ display:none; }

/* ---------- vibrant button hovers ---------- */
.btn{ position:relative; overflow:hidden; isolation:isolate; }
.btn::after{
  content:""; position:absolute; inset:0; z-index:-1; opacity:0;
  transition:opacity .3s var(--ease);
}
.btn-primary{ background-image:linear-gradient(120deg, var(--accent), #8b7cff); }
.btn-primary::after{ background-image:linear-gradient(120deg, var(--accent-2), var(--accent)); }
.btn-primary:hover{ color:#05121a; box-shadow:0 16px 38px rgba(34,211,238,.38); }
.btn-primary:hover::after{ opacity:1; }
.btn-ghost::after{ background-image:linear-gradient(120deg, rgba(108,140,255,.22), rgba(34,211,238,.16)); }
.btn-ghost:hover{ color:#fff; border-color:var(--accent); box-shadow:0 12px 30px rgba(108,140,255,.24); }
.btn-ghost:hover::after{ opacity:1; }
.btn:active{ transform:translateY(0) scale(.985); }

/* ---------- photo grid + wide figures ---------- */
.shots{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:30px 0 0; }
.shots figure, .figure-wide{
  margin:0; border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; background:var(--surface); line-height:0;
  transition:border-color .3s var(--ease), transform .4s var(--ease);
}
.shots figure:hover, .figure-wide:hover{ border-color:var(--border-hi); transform:translateY(-3px); }
.shots img, .figure-wide img{ width:100%; height:auto; display:block; transition:transform .6s var(--ease); }
.shots figure:hover img, .figure-wide:hover img{ transform:scale(1.035); }
.shots figcaption, .figure-wide figcaption{
  line-height:1.45; font-size:.83rem; color:var(--muted); padding:12px 14px 13px;
}
.figure-wide{ margin:30px 0 0; }
@media (max-width:720px){ .shots{ grid-template-columns:1fr; } }

/* interests grid */
.interests{ display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,320px); gap:40px; align-items:start; }
.trek-list{ list-style:none; padding:0; margin:18px 0 0; display:flex; flex-wrap:wrap; gap:9px; }
.trek-list li{
  font-size:.86rem; color:var(--text); padding:7px 13px; border-radius:999px;
  border:1px solid var(--border); background:var(--surface);
  transition:border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.trek-list li:hover{ border-color:var(--accent); background:var(--surface-2); transform:translateY(-2px); }
@media (max-width:860px){ .interests{ grid-template-columns:1fr; gap:26px } }

/* slider slides: attribution pinned to the bottom so cards line up */
.slider .slide{ display:flex; flex-direction:column; }
.slider .slide cite{ margin-top:auto; }
.slider .slide p:last-of-type{ margin-bottom:22px; }
