/* ============================================================
   Data by Toufik — stylesheet
   Faithful mint/teal identity, rebuilt clean & editable.
   ============================================================ */

:root {
  /* Palette — mint/teal */
  --bg:          #f7f5f3;
  --bg-mint:     #d1ece8;
  --bg-mint-2:   #e7f5f2;
  --surface:     #ffffff;
  --ink:         #0c2723;   /* deep teal-black for text   */
  --ink-soft:    #2e4a45;
  --muted:       #5e756f;
  --teal:        #0f766e;
  --teal-deep:   #0b4f49;
  --teal-bright: #14a89a;
  --line:        #d3e6e1;
  --line-soft:   #e4f0ed;
  --mark:        #b9e7df;   /* highlight bg (==text==)    */

  /* Type */
  --font-head: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --maxw: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(12,39,35,.06), 0 4px 14px rgba(12,39,35,.05);
  --shadow-md: 0 8px 30px rgba(12,39,35,.09);
  --shadow-lg: 0 24px 60px rgba(12,39,35,.14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
/* Accessible keyboard focus */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible, .nav-links a:focus-visible, .to-top:focus-visible { outline-offset: 4px; }
#testimonials :focus-visible, .site-footer :focus-visible, .band :focus-visible { outline-color: var(--teal-bright); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

mark, .mark {
  background: linear-gradient(transparent 58%, var(--mark) 58%);
  color: inherit;
  padding: 0 .08em;
  border-radius: 2px;
}
/* Readable highlight for dense portfolio paragraphs */
.case-body .problem mark, .case-body .solution mark {
  background: none;
  color: var(--teal-deep);
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  box-shadow: inset 0 -0.14em 0 var(--mark);
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: clamp(44px, 5.5vw, 84px) 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin: 0 0 16px;
  display: block;
}

.section-head { max-width: 640px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15,118,110,.28); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(15,118,110,.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--teal-deep); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid transparent; will-change: transform;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(12,39,35,.06); }
.site-header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; letter-spacing: -.02em; white-space: nowrap; }
.brand .dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: .9rem; font-weight: 700;
  box-shadow: 0 4px 12px rgba(15,118,110,.3);
}
img.dot { object-fit: cover; background: none; box-shadow: 0 2px 8px rgba(12,39,35,.18); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { position: relative; font-size: .92rem; font-weight: 500; color: var(--ink-soft); padding: 7px 13px; border-radius: 9px; transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--teal); background: var(--bg-mint-2); }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: center; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.nav-links a.active:not(.nav-cta) { color: var(--teal-deep); }
.nav-links a.active:not(.nav-cta)::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 7px; color: #fff; background: var(--teal); padding: 7px 16px; font-size: .9rem; font-weight: 500; border-radius: 999px; box-shadow: 0 4px 14px rgba(15,118,110,.26); white-space: nowrap; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.nav-cta:hover { color: #fff; background: var(--teal-deep); transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }

/* Centered pill nav (desktop) */
@media (min-width: 721px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: start; }
  .nav-right { justify-self: end; }
  .nav-links { justify-self: center; display: inline-flex; align-items: center; gap: 1px; background: #f3f0ed; border: 1px solid rgba(41,35,32,.07); border-radius: 999px; padding: 4px; }
  .nav-links a:not(.nav-cta) { padding: 6px 13px; border-radius: 999px; font-size: .95rem; line-height: 1.2; font-weight: 500; color: #4b463f; background: transparent; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
  .nav-links a:not(.nav-cta):hover { color: #211d18; background: rgba(41,35,32,.05); }
  .nav-links a.active:not(.nav-cta) { color: #26221d; background: #fff; box-shadow: 0 1px 3px rgba(41,35,32,.16), 0 0 0 1px rgba(41,35,32,.04); }
  .nav-links a:not(.nav-cta)::after { display: none; }
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 5vw, 72px) 0; overflow: hidden; min-height: calc(100svh - 64px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; width: 100%; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -0.02em; }
.hero .lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--ink-soft); margin: 22px 0 4px; max-width: 50ch; line-height: 1.6; }
.hero .sub { color: var(--muted); font-size: 1.05rem; max-width: 42ch; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--teal-deep); padding: 7px 15px; border-radius: 999px;
  margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.hero-tag .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(20,168,154,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20,168,154,.5);} 70%{box-shadow:0 0 0 10px rgba(20,168,154,0);}100%{box-shadow:0 0 0 0 rgba(20,168,154,0);} }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-art { position: relative; max-width: 480px; justify-self: center; }
.hero-art .blob {
  position: absolute; inset: -4% -2%;
  background: radial-gradient(circle at 58% 42%, var(--bg-mint) 0%, var(--bg-mint-2) 52%, transparent 70%);
  border-radius: 50%; z-index: 0;
}
.hero-art img { position: relative; z-index: 1; width: 100%; height: auto; }

/* ---------- Hero automation demo ---------- */
.auto-demo {
  position: relative; z-index: 1; width: 100%;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.ad-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--bg-mint-2); }
.ad-dots { display: flex; gap: 5px; }
.ad-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.ad-file { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.ad-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); }
.ad-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 0 rgba(20,168,154,.5); animation: pulse 2.2s infinite; }
.ad-steps { padding: 16px 16px 4px; display: flex; flex-direction: column; gap: 9px; }
.ad-step {
  display: flex; align-items: center; gap: 12px; padding: 9px 11px;
  border-radius: 12px; border: 1px solid transparent; background: transparent;
  opacity: .38; filter: grayscale(.5); transform: translateX(-5px);
  transition: opacity .45s ease, filter .45s ease, background .45s ease, border-color .45s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.ad-step.on { opacity: 1; filter: none; transform: none; background: var(--bg-mint-2); border-color: var(--line-soft); }
.ad-ic { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--surface); color: var(--teal); border: 1px solid var(--line-soft); transition: background .45s ease, color .45s ease, border-color .45s ease; }
.ad-step.on .ad-ic { background: var(--teal); color: #fff; border-color: var(--teal); }
.ad-ic svg { width: 18px; height: 18px; }
.ad-tx { font-size: .92rem; font-weight: 500; color: var(--ink); }
.ad-tx em { font-style: normal; color: var(--muted); font-weight: 400; }
.ad-tick { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: var(--teal-bright); opacity: 0; transform: scale(.4); transition: opacity .3s ease, transform .35s cubic-bezier(.16,1,.3,1); }
.ad-step.on .ad-tick { opacity: 1; transform: none; }
.ad-tick svg { width: 12px; height: 12px; }
.ad-out { margin: 4px 14px 0; padding: 14px 2px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.auto-demo.out-on .ad-out { opacity: 1; transform: none; }
.ad-kpi { display: flex; flex-direction: column; }
.ad-num { font-family: var(--font-head); font-weight: 600; font-size: 1.7rem; color: var(--teal-deep); line-height: 1; }
.ad-num b { font-weight: 600; }
.ad-lbl { font-size: .7rem; color: var(--muted); margin-top: 5px; }
.ad-spark { margin-left: auto; width: 122px; height: 42px; color: var(--teal-bright); }
.ad-spark polyline { stroke-dasharray: 280; stroke-dashoffset: 280; }
.auto-demo.out-on .ad-spark polyline { animation: adDraw 1.1s ease .1s forwards; }
@keyframes adDraw { to { stroke-dashoffset: 0; } }
.ad-foot { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px 14px; }
.ad-done { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 500; color: var(--teal-deep); opacity: 0; transition: opacity .5s ease .25s; }
.auto-demo.out-on .ad-done { opacity: 1; }
.ad-done svg { width: 14px; height: 14px; color: var(--teal-bright); }
.ad-runtime { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .ad-step { opacity: 1; filter: none; transform: none; }
  .ad-out, .ad-done { opacity: 1; transform: none; }
  .ad-spark polyline { stroke-dashoffset: 0; animation: none; }
}

/* ---------- Loading splash ---------- */
#splash { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: var(--ink); transition: opacity .55s ease, visibility .55s ease; }
#splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.splash-mark { width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 10px 34px rgba(0,0,0,.45); animation: splashPop .6s cubic-bezier(.16,1,.3,1) both; }
.splash-word { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; color: #fff; opacity: 0; animation: splashFade .5s ease .15s both; }
.splash-bar { width: 134px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 38%; border-radius: 3px; background: var(--teal-bright); animation: splashLoad 1.15s ease-in-out infinite; }
@keyframes splashPop { from { opacity: 0; transform: translateY(9px) scale(.88); } to { opacity: 1; transform: none; } }
@keyframes splashFade { to { opacity: 1; } }
@keyframes splashLoad { 0% { transform: translateX(-130%); } 100% { transform: translateX(360%); } }
@media (prefers-reduced-motion: reduce) {
  .splash-mark, .splash-word, .splash-bar i { animation: none; }
  .splash-word { opacity: 1; }
}

.socials { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.socials a {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 500; color: var(--muted);
  padding: 0; border: 0; background: none; transition: color .16s ease;
}
.socials a:hover { color: var(--teal); }
.socials svg { width: 15px; height: 15px; opacity: .85; }


/* ---------- Tools marquee band ---------- */
.band { background: var(--ink); color: #eaf6f3; padding: 30px 0; overflow: hidden; }
.band .wrap { padding-bottom: 0; }
.band-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #7fb8ae; display: block; margin-bottom: 18px; }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; padding-right: 48px; white-space: nowrap; font-family: var(--font-head); font-weight: 500; font-size: 1.12rem; color: #eaf6f3; opacity: .92; }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Services ---------- */
#services { background: var(--surface); border-top: 1px solid rgba(255,255,255,.06); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line); }
.service-card .svc-top { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.service-card .svc-ico {
  width: 50px; height: 50px; border-radius: 13px; flex: none;
  background: var(--bg-mint-2); color: var(--teal);
  display: grid; place-items: center;
}
.service-card .svc-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.3rem; margin: 0; letter-spacing: -.01em; }
.service-card p { color: var(--muted); font-size: 1rem; margin: 0 0 20px; text-align: left; }
.service-card .chips { margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500;
  background: var(--bg-mint-2); color: var(--teal-deep);
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-soft);
}

/* ---- Service card animated diagram band ---- */
.svc-anim {
  position: relative; margin-top: auto; height: 96px;
  border-radius: var(--radius-sm);
  background: linear-gradient(170deg, var(--bg-mint-2), #fbfdfc 85%);
  border: 1px solid var(--line-soft); overflow: hidden;
  --a-green: var(--teal); --a-green-bright: var(--teal-bright); --a-line: #d3e6e1; --a-fill: #dceae6; --a-node-stroke: #bcdcd4;
}
@media (prefers-reduced-motion: reduce) { .svc-anim *, .svc-anim { animation: none !important; } }

/* Viz: rising bars + drawing trend line + badge */
.svc-viz .sv-bars { position: absolute; inset: 0; padding: 18px 22px; display: flex; align-items: flex-end; gap: 8px; }
.svc-viz .sv-bar { flex: 1; background: var(--a-fill); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: svBar 6s ease-in-out infinite; }
.svc-viz .sv-bar.hot { background: var(--a-green); }
.svc-viz .sv-bar:nth-child(1){ height: 40%; animation-delay: 0s; }
.svc-viz .sv-bar:nth-child(2){ height: 62%; animation-delay: .3s; }
.svc-viz .sv-bar:nth-child(3){ height: 32%; animation-delay: .6s; }
.svc-viz .sv-bar:nth-child(4){ height: 84%; animation-delay: .9s; }
.svc-viz .sv-bar:nth-child(5){ height: 52%; animation-delay: 1.2s; }
.svc-viz .sv-bar:nth-child(6){ height: 70%; animation-delay: 1.5s; }
@keyframes svBar { 0%,100%{ transform: scaleY(.5); } 50%{ transform: scaleY(1); } }
.svc-viz .sv-trend { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-viz .sv-trend path { fill: none; stroke: var(--a-green-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: svDraw 6s ease-in-out infinite; }
@keyframes svDraw { 0%{ stroke-dashoffset: 260; } 45%,100%{ stroke-dashoffset: 0; } }
.svc-viz .sv-badge { position: absolute; top: 12px; right: 16px; font-family: var(--font-mono); font-size: .7rem; font-weight: 500; color: #4d6b58; background: #fff; border: 1px solid var(--a-line); border-radius: 6px; padding: 2px 7px; opacity: 0; animation: svBadge 6s ease-in-out infinite; }
@keyframes svBadge { 0%,35%{ opacity: 0; transform: translateY(4px); } 50%,88%{ opacity: 1; transform: none; } 100%{ opacity: 0; } }

/* Pipeline: source files stream data packets into a warehouse DB */
.svc-pipe svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-pipe .sp-lane { stroke: var(--a-line); stroke-width: 2; fill: none; stroke-dasharray: 3 6; }
.svc-pipe .sp-src rect { fill: #fff; stroke: var(--a-node-stroke); stroke-width: 1.5; }
.svc-pipe .sp-src path { stroke: var(--a-green); stroke-width: 1.5; fill: none; stroke-linecap: round; }
.svc-pipe .sp-pkt { fill: var(--a-green); }
.svc-pipe .sp-db-body { fill: var(--a-green); }
.svc-pipe .sp-db-top { fill: var(--a-green-bright); }
.svc-pipe .sp-db-ring { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.5; }
.svc-pipe .sp-arrive { fill: none; stroke: var(--a-green-bright); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: spArrive 3s ease-out infinite; }
@keyframes spArrive { 0%,55%{ transform: scale(.5); opacity: 0; } 70%{ opacity: .5; } 100%{ transform: scale(1.15); opacity: 0; } }

/* Workflow: 4 steps light in sequence, connectors fill */
.svc-flow { display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 22px; }
.svc-flow .sf-step { width: 42px; height: 42px; border-radius: 11px; background: #fff; border: 1.5px solid var(--a-node-stroke); display: grid; place-items: center; color: var(--ink-soft); flex: none; animation: sfStep 8s ease-in-out infinite; }
.svc-flow .sf-step svg { width: 21px; height: 21px; }
.svc-flow .sf-conn { flex: 1; height: 2px; background: var(--a-line); position: relative; overflow: hidden; }
.svc-flow .sf-conn::after { content: ""; position: absolute; inset: 0; background: var(--a-green); transform: translateX(-101%); animation: sfConn 8s ease-in-out infinite; }
.svc-flow .sf-step:nth-child(1){ animation-delay: 0s; }
.svc-flow .sf-conn:nth-child(2)::after{ animation-delay: 1s; }
.svc-flow .sf-step:nth-child(3){ animation-delay: 2s; }
.svc-flow .sf-conn:nth-child(4)::after{ animation-delay: 3s; }
.svc-flow .sf-step:nth-child(5){ animation-delay: 4s; }
.svc-flow .sf-conn:nth-child(6)::after{ animation-delay: 5s; }
.svc-flow .sf-step:nth-child(7){ animation-delay: 6s; }
@keyframes sfStep { 0%,100%{ border-color: var(--a-node-stroke); color: var(--ink-soft); background: #fff; } 8%,18%{ border-color: var(--a-green); color: var(--a-green); background: #eef2ec; } }
@keyframes sfConn { 0%,6%{ transform: translateX(-101%); } 16%,100%{ transform: translateX(0); } }

/* AI: messy text -> AI sparkle -> structured, classified output */
.svc-ai { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 16px; }
.svc-ai .sa-doc { width: 76px; height: 60px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; display: flex; flex-direction: column; gap: 6px; justify-content: center; flex: none; box-shadow: 0 2px 6px rgba(12,39,35,.05); }
.svc-ai .sa-mess { height: 5px; border-radius: 3px; background: #d7e6e1; animation: saMess 5s ease-in-out infinite; }
.svc-ai .sa-mess:nth-child(1){ width: 92%; } .svc-ai .sa-mess:nth-child(2){ width: 64%; } .svc-ai .sa-mess:nth-child(3){ width: 84%; } .svc-ai .sa-mess:nth-child(4){ width: 54%; }
@keyframes saMess { 0%,22%{ opacity: 1; } 44%,100%{ opacity: .28; } }
.svc-ai .sa-row { display: flex; align-items: center; gap: 6px; opacity: 0; animation: saRow1 5s ease-in-out infinite; }
.svc-ai .sa-row::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--bg-mint); border: 1.5px solid var(--teal); flex: none; }
.svc-ai .sa-row span { height: 5px; border-radius: 3px; background: var(--teal); opacity: .55; }
.svc-ai .sa-row:nth-child(1) span { width: 30px; } .svc-ai .sa-row:nth-child(2) span { width: 38px; } .svc-ai .sa-row:nth-child(3) span { width: 26px; }
.svc-ai .sa-row:nth-child(2){ animation-name: saRow2; } .svc-ai .sa-row:nth-child(3){ animation-name: saRow3; }
@keyframes saRow1 { 0%,46%{ opacity: 0; transform: translateX(-5px); } 56%,92%{ opacity: 1; transform: none; } 100%{ opacity: 0; } }
@keyframes saRow2 { 0%,53%{ opacity: 0; transform: translateX(-5px); } 63%,92%{ opacity: 1; transform: none; } 100%{ opacity: 0; } }
@keyframes saRow3 { 0%,60%{ opacity: 0; transform: translateX(-5px); } 70%,92%{ opacity: 1; transform: none; } 100%{ opacity: 0; } }
.svc-ai .sa-spark { position: relative; flex: none; color: var(--teal); display: grid; place-items: center; }
.svc-ai .sa-spark .core { width: 40px; height: 40px; }
.svc-ai .sa-spark .nd { transform-box: fill-box; transform-origin: center; animation: saNode 4s ease-in-out infinite; }
.svc-ai .sa-spark .nd.n0 { animation-duration: 4s; }
.svc-ai .sa-spark .nd.n1 { animation-delay: .3s; } .svc-ai .sa-spark .nd.n2 { animation-delay: .6s; } .svc-ai .sa-spark .nd.n3 { animation-delay: .9s; } .svc-ai .sa-spark .nd.n4 { animation-delay: 1.2s; }
@keyframes saNode { 0%,100%{ transform: scale(.85); opacity: .65; } 45%{ transform: scale(1.12); opacity: 1; } }

/* ---------- Portfolio ---------- */
#portfolio { background: var(--bg); border-top: 1px solid var(--line); }
#portfolio .section-head p { color: var(--ink-soft); }
.cases { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.case {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.case-media { background: var(--bg-mint-2); display: grid; place-items: center; min-height: 280px; overflow: hidden; padding: 24px; }
.case-media img, .case-media video { width: 100%; height: 100%; max-height: 480px; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 22px rgba(12,39,35,.14); cursor: zoom-in; transition: transform .2s ease; }
.case-media img:hover, .case-media video:hover { transform: scale(1.01); }

/* Lightbox (click-to-zoom portfolio media) */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,22,19,.86); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw; cursor: zoom-out; opacity: 0; transition: opacity .22s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img, .lightbox video {
  max-width: 94vw; max-height: 92vh; width: auto; height: auto;
  border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.55);
  cursor: default;
}
.lightbox .lb-close {
  position: fixed; top: 18px; right: 22px; width: 44px; height: 44px;
  border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center;
  transition: background .15s ease;
}
.lightbox .lb-close:hover { background: rgba(255,255,255,.28); }
.lightbox .lb-hint { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); text-align: center; color: #fff; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; background: rgba(0,0,0,.45); padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(4px); }
.lightbox .lb-arrow {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center;
  z-index: 2; transition: background .15s ease;
}
.lightbox .lb-arrow:hover { background: rgba(255,255,255,.3); }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }
.lightbox .lb-counter { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; background: rgba(0,0,0,.45); padding: 6px 15px; border-radius: 999px; }

/* Card mini-carousel */
.case-media.carousel { position: relative; }
.cm-slide { width: 100%; height: 100%; display: grid; place-items: center; }
.cm-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--teal-deep);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); z-index: 3;
  transition: background .15s ease, transform .15s ease;
}
.cm-nav:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.cm-prev { left: 12px; }
.cm-next { right: 12px; }
.cm-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 7px; justify-content: center; z-index: 3; }
.cm-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(12,39,35,.28); transition: background .15s ease, transform .15s ease; }
.cm-dot.active { background: var(--teal); transform: scale(1.25); }
.case-body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.case-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 16px; }
.case-body .problem { color: var(--muted); font-size: 1rem; margin-bottom: 14px; text-align: left; }
.case-body .solution { color: var(--ink-soft); font-size: 1rem; margin-bottom: 18px; text-align: left; }
.case-result {
  background: var(--bg-mint-2);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 22px;
}
.case-result strong {
  display: block;
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-deep); font-weight: 500; margin-bottom: 6px;
}
.case-result p { margin: 0; font-size: 1.04rem; line-height: 1.5; color: var(--ink); }
.case .chips { margin-top: 0; }
.case:nth-child(even) .case-media { order: 2; }

/* alt layouts for text-only cases (no media) */
.case.text-only { grid-template-columns: 1fr; }
.case.text-only .case-media { display: none; }

/* ---------- Portfolio: tab rail + featured pane ---------- */
.portfolio-layout { display: block; }
#portfolio .wrap { max-width: 1320px; }
.rail {
  display: flex; flex-flow: row nowrap; gap: 0;
  margin-bottom: 15px; border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}
.rail.dragging { cursor: grabbing; }
.rail::-webkit-scrollbar { display: none; }
.rail button {
  display: flex; align-items: center; gap: 9px; flex: none;
  background: none; border: 0; border-bottom: 2px solid transparent;
  margin-bottom: -1px; white-space: nowrap;
  padding: 11px 18px 13px; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.rail button .ix { font-family: var(--font-mono); font-size: .72rem; color: var(--line); }
.rail button:hover { color: var(--ink-soft); }
.rail button.on { color: var(--ink); border-bottom-color: var(--teal); }
.rail button.on .ix { color: var(--teal); }

#portfolio .cases { display: block; gap: 0; }
#portfolio .cases .case { display: none; }
#portfolio .cases .case.active { display: grid; grid-template-columns: 1fr 1fr; animation: caseFade .45s cubic-bezier(.16,1,.3,1); }
#portfolio .cases .case:nth-child(even) .case-media { order: 0; }
#portfolio .cases .case .case-media { min-height: 0; padding: 18px; }
#portfolio .cases .case .case-media img, #portfolio .cases .case .case-media video { max-height: 460px; }
#portfolio .cases .case .case-body { padding: clamp(13px, 1.5vw, 20px) clamp(26px, 3vw, 40px); }
#portfolio .cases .case .case-body .problem { margin-bottom: 12px; }
#portfolio .cases .case .case-body .solution { margin-bottom: 16px; }
#portfolio .cases .case .case-result { margin-bottom: 18px; }
@keyframes caseFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #portfolio .cases .case.active { animation: none; } }

/* ---------- Store ---------- */
#store { background: var(--surface); border-top: 1px solid var(--line); }
.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media { background: var(--bg-mint-2); aspect-ratio: 16/10; overflow: hidden; padding: 16px; }
.product-media img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; box-shadow: 0 8px 22px rgba(12,39,35,.14); }
.product-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.product-body p { color: var(--muted); font-size: .98rem; margin-bottom: 18px; text-align: left; }
.product-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Testimonials ---------- */
#testimonials { background: var(--ink); color: #e6f3f0; }
#testimonials .eyebrow { color: var(--teal-bright); }
#testimonials .section-head h2 { color: #fff; }
#testimonials .section-head p { color: #a7c6c0; }
/* Testimonials coverflow (3-up) */
.coverflow { --cf-gap: 26px; }
.cf-stage {
  position: relative; min-height: clamp(300px, 30vw, 340px);
  perspective: 1600px; padding: 12px 0 4px; touch-action: pan-y;
  cursor: grab; user-select: none;
}
.cf-stage.dragging { cursor: grabbing; }
.quote {
  position: absolute; top: 50%; left: 50%; width: min(440px, 80%);
  display: flex; flex-direction: column;
  background: #102d28; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 30px;
  transition: transform .6s cubic-bezier(.22,1,.36,1), opacity .55s ease, filter .55s ease, box-shadow .45s ease;
  transform-style: preserve-3d; will-change: transform; backface-visibility: hidden;
  transform: translate(-50%, -50%) scale(.82); opacity: 0; pointer-events: none; z-index: 0;
}
.quote.cf-center { transform: translate(-50%, -50%) scale(1.05); opacity: 1; z-index: 3; pointer-events: auto; box-shadow: 0 26px 60px rgba(0,0,0,.45); border-color: rgba(94,234,212,.35); background: #18423b; }
.quote.cf-left  { transform: translate(calc(-50% - 80%), -50%) scale(.86) rotateY(10deg);  opacity: .55; filter: saturate(.85); z-index: 1; cursor: pointer; pointer-events: auto; }
.quote.cf-right { transform: translate(calc(-50% + 80%), -50%) scale(.86) rotateY(-10deg); opacity: .55; filter: saturate(.85); z-index: 1; cursor: pointer; pointer-events: auto; }
.quote.cf-left:hover, .quote.cf-right:hover { opacity: .78; }
.quote .stars { color: #ffd166; letter-spacing: 2px; margin-bottom: 14px; font-size: .9rem; }
.quote blockquote { margin: 0 0 22px; font-size: 1.05rem; line-height: 1.6; color: #eef7f5; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--font-head); flex: none; }
.quote .who .name { font-weight: 600; font-size: .95rem; color: #fff; }
.quote .who .role { font-size: .82rem; color: #9fc1bb; }
.cf-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.cf-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.25); cursor: pointer; transition: background .2s, transform .2s, width .2s; }
.cf-dots button.on { background: var(--teal-bright); width: 22px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .quote { transition: opacity .3s ease; } }

/* ---------- About ---------- */
#about { background: var(--bg); border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-art { position: relative; }
.about-art .blob { position: absolute; inset: -8%; background: radial-gradient(circle at 50% 45%, var(--bg-mint) 0%, var(--bg-mint-2) 58%, transparent 74%); border-radius: 50%; z-index: 0; }
.about-art img { position: relative; z-index: 1; width: 100%; }
.about-body p { color: var(--ink-soft); font-size: 1.06rem; }
.about-body .closer { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--ink); margin-top: 8px; }
.about-meta { display: flex; flex-wrap: wrap; gap: 24px; margin: 26px 0 30px; }
.about-meta .item .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.about-meta .item .v { font-weight: 600; color: var(--ink); }

/* ---------- Contact ---------- */
#contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-aside h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.contact-aside p { color: var(--ink-soft); font-size: 1.1rem; max-width: 40ch; }
.contact-direct { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.contact-direct a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--teal-deep); }
.contact-direct a svg { width: 18px; height: 18px; color: var(--teal); }

.form-card { background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,118,110,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.consent input { margin-top: 3px; accent-color: var(--teal); }
.form-card .btn-primary { width: 100%; justify-content: center; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-mint); color: var(--teal); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9d6d0; padding: 40px 0 20px; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-cta h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); color: #fff; letter-spacing: -.02em; }
.footer-cta p { color: #9fc1bb; margin: 10px 0 0; font-size: 1rem; max-width: 48ch; }
.footer-cta .btn { flex: none; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; align-items: start; gap: clamp(32px, 5vw, 64px); padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand .dot { background: var(--teal-bright); }
.footer-col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #7fb8ae; margin-bottom: 12px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .92rem; color: #b9d6d0; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-about { font-size: .92rem; color: #98bcb5; max-width: 34ch; }

/* Explore AI Summary */
.ai-summary { margin-top: 26px; }
.ai-summary-label { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #7fb8ae; margin-bottom: 12px; }
.ai-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-link {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  color: #cfe7e2; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.ai-link svg, .ai-link img { width: 20px; height: 20px; }
.ai-link:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); transform: translateY(-2px); }
.footer-bottom { padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 14px; font-size: .8rem; color: #6fa99f; }
.footer-cta { display: inline-flex; align-items: center; gap: 7px; color: #eaf6f3; font-weight: 600; transition: color .15s ease, gap .15s ease; }
.footer-cta::after { content: "→"; transition: transform .15s ease; }
.footer-cta:hover { color: #fff; }
.footer-cta:hover::after { transform: translateX(3px); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: #b9d6d0; }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(15,118,110,.34);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .18s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top:hover { background: var(--teal-deep); transform: translateY(-2px); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 720px) { .to-top { right: 16px; bottom: 16px; } }

/* ---------- Reveal on scroll (blur-to-sharp) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; filter: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-art { max-width: 420px; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case-media, .case:nth-child(even) .case-media { order: 0; min-height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--surface); padding: 16px; gap: 4px; box-shadow: var(--shadow-lg); transform: translateY(-130%); transition: transform .32s cubic-bezier(.16,1,.3,1); border-bottom: 1px solid var(--line); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 16px; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .quote.cf-left, .quote.cf-right { opacity: 0; pointer-events: none; }
  .quote { width: 88%; }
  .quote.cf-center { transform: translate(-50%, -50%) scale(1); }
  .cf-stage { perspective: none; min-height: 360px; }
  .store-grid { grid-template-columns: 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
