/* ===========================================================
   Daanial Khan, daanialkhan.com
   Look: white and warm beige, ink black, rust accent.
   Fonts: Space Grotesk (headings), Inter (body)
   =========================================================== */
:root{
  --ink:#111111;
  --bg:#FFFFFF;
  --bg-soft:#F4F1EC;
  --accent:#C0512B;
  --accent-dark:#9E3F1F;
  --muted:#6B6B6B;
  --line:rgba(17,17,17,0.12);
  --head:'Inter Tight', -apple-system, 'SF Pro Display', 'Segoe UI', Arial, sans-serif;
  --body:'Inter', -apple-system, 'SF Pro Text', 'Segoe UI', Arial, sans-serif;
  --wrap:1120px;
  --radius:14px;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{ background:var(--bg); color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.7; overflow-x:hidden; }
img{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2,h3,h4{ font-family:var(--head); font-weight:700; line-height:1.15; letter-spacing:-0.02em; }
h2{ font-size:clamp(28px,3.6vw,42px); margin-bottom:18px; }
h3{ font-size:20px; margin-bottom:8px; }
p{ margin-bottom:16px; }
p:last-child{ margin-bottom:0; }
html.loading, html.nav-lock{ overflow:hidden; }
.skip-link{ position:absolute; left:-999px; top:8px; background:var(--ink); color:#fff; padding:8px 14px; z-index:2000; border-radius:8px; }
.skip-link:focus{ left:12px; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 6%; }
@media(min-width:1200px){ .wrap{ padding:0 40px; } }
section{ padding:96px 0; position:relative; }
.section-alt{ background:var(--bg-soft); }
.lead{ font-size:18px; color:#333; max-width:62ch; }
.muted{ color:var(--muted); }

/* Eyebrow with solid square marker */
.eyebrow{ color:var(--accent); font-size:13px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.eyebrow::before{ content:''; width:7px; height:7px; background:var(--accent); flex-shrink:0; }

/* Buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 26px; border-radius:999px; font-family:var(--body); font-size:15px; font-weight:600; text-decoration:none; border:1px solid transparent; cursor:pointer; transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--accent); color:#fff; }
.btn-primary:hover{ background:var(--accent-dark); }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-ghost{ border-color:var(--line); color:var(--ink); background:transparent; }
.btn-ghost:hover{ border-color:var(--ink); }
.btn-light{ background:#fff; color:var(--ink); }
.btn-outline-light{ border-color:rgba(255,255,255,0.35); color:#fff; }
.btn-outline-light:hover{ border-color:#fff; }
.text-link{ color:var(--accent); font-weight:600; text-decoration:none; }
.text-link:hover{ text-decoration:underline; }

/* ---------- Header ---------- */
#siteHeader{
  position:sticky; top:0; z-index:100;
  display:flex; align-items:center; gap:24px;
  padding:16px 6%; padding-top:calc(16px + env(safe-area-inset-top,0px));
  background:rgba(255,255,255,0.78);
  backdrop-filter:blur(16px) saturate(160%); -webkit-backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid transparent; transition:border-color .3s ease, background .3s ease;
}
#siteHeader.scrolled{ border-bottom-color:var(--line); background:rgba(255,255,255,0.9); }
.logo{ font-family:var(--head); font-weight:700; font-size:20px; letter-spacing:-0.01em; text-decoration:none; margin-right:auto; white-space:nowrap; }
.logo.shimmer{
  background:linear-gradient(100deg, var(--ink) 0%, var(--ink) 25%, var(--accent) 45%, var(--accent) 55%, var(--ink) 75%, var(--ink) 100%);
  background-size:250% auto; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent;
  animation:shimmer 7s linear infinite;
}
@keyframes shimmer{ 0%{background-position:200% center;} 100%{background-position:-200% center;} }
.desk-nav{ display:none; gap:6px; }
.desk-nav a{ font-size:15px; font-weight:500; text-decoration:none; padding:8px 14px; border-radius:999px; transition:background .2s ease, color .2s ease; }
.desk-nav a:hover{ background:var(--bg-soft); }
.desk-nav a.is-active{ background:var(--ink); color:#fff; }
.header-cta{ display:none; background:var(--accent); color:#fff; text-decoration:none; font-weight:600; font-size:14px; padding:10px 18px; border-radius:999px; }
.header-cta:hover{ background:var(--accent-dark); }
.menu-btn{ display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:44px; height:44px; border:1px solid var(--line); border-radius:50%; background:#fff; cursor:pointer; }
.menu-btn span{ display:block; width:18px; height:2px; background:var(--ink); transition:transform .3s ease, opacity .3s ease; }
.menu-btn.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2){ opacity:0; }
.menu-btn.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
@media(min-width:900px){ .desk-nav{ display:flex; } .header-cta{ display:inline-block; } .menu-btn{ display:none; } }

#mobileNav{
  position:fixed; inset:0; z-index:90; background:var(--bg);
  display:flex; flex-direction:column; justify-content:space-between;
  padding:calc(100px + env(safe-area-inset-top,0px)) 7% calc(32px + env(safe-area-inset-bottom,0px));
  opacity:0; visibility:hidden; transform:translateY(-12px);
  transition:opacity .35s ease, transform .35s ease, visibility .35s ease;
}
#mobileNav.open{ opacity:1; visibility:visible; transform:translateY(0); }
#mobileNav nav{ display:flex; flex-direction:column; }
#mobileNav nav a{
  font-family:var(--head); font-weight:700; font-size:clamp(30px,9vw,42px); letter-spacing:-0.02em;
  text-decoration:none; padding:8px 0; border-bottom:1px solid var(--line);
  display:flex; align-items:baseline; gap:14px;
  opacity:0; transform:translateY(12px); transition:opacity .4s ease, transform .4s ease, color .2s ease;
  transition-delay:calc(var(--i) * 45ms);
}
#mobileNav.open nav a{ opacity:1; transform:none; }
#mobileNav nav a.is-active{ color:var(--accent); }
.mnum{ font-family:var(--body); font-size:12px; font-weight:600; color:var(--muted); }
.mobile-actions{ display:flex; flex-direction:column; gap:10px; margin-top:24px; }
@media(min-width:900px){ #mobileNav{ display:none; } }

/* ---------- Loader ---------- */
#loader{ position:fixed; inset:0; z-index:999; background:var(--bg); display:flex; align-items:center; justify-content:center; transition:opacity .6s ease, visibility .6s ease; }
#loader.hide{ opacity:0; visibility:hidden; }
.loader-inner{ display:flex; flex-direction:column; align-items:center; gap:22px; }
.loader-mark{ font-family:var(--head); font-weight:700; font-size:64px; letter-spacing:-0.03em; opacity:0; animation:markIn .6s ease forwards .1s; }
.loader-mark.out{ animation:markOut .6s ease forwards; }
@keyframes markIn{ from{opacity:0; transform:translateY(10px) scale(.94);} to{opacity:1; transform:none;} }
@keyframes markOut{ to{opacity:0; transform:scale(1.5); filter:blur(6px);} }
.loader-track{ width:180px; height:2px; background:var(--line); overflow:hidden; border-radius:2px; }
.loader-bar{ width:0; height:100%; background:var(--accent); transition:width 1.9s cubic-bezier(.65,0,.35,1); }

/* ---------- Reveal ---------- */
.js .reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.js .reveal.visible{ opacity:1; transform:none; }

/* ---------- Hero ---------- */
.hero{ padding:56px 0 90px; }
.hero-grid{ display:grid; grid-template-columns:1fr; gap:44px; align-items:center; }
@media(min-width:900px){ .hero-grid{ grid-template-columns:1.15fr .85fr; gap:56px; } .hero{ padding:80px 0 110px; } }
.hero-tag{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; padding:7px 14px; border-radius:999px; background:var(--bg-soft); margin-bottom:22px; }
.hero-tag .live{ width:8px; height:8px; border-radius:50%; background:#25D366; box-shadow:0 0 0 0 rgba(37,211,102,.6); animation:pulse 2s infinite; }
@keyframes pulse{ 0%{box-shadow:0 0 0 0 rgba(37,211,102,.55);} 70%{box-shadow:0 0 0 9px rgba(37,211,102,0);} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0);} }
.hero h1{ font-size:clamp(38px,6vw,68px); line-height:1.04; letter-spacing:-0.035em; margin-bottom:22px; }
.hero h1 .accent{ color:var(--accent); }
.hero .lead{ margin-bottom:30px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:30px; }
.hero-proof{ display:flex; flex-wrap:wrap; gap:10px 22px; font-size:14px; color:var(--muted); }
.hero-proof span{ display:flex; align-items:center; gap:8px; }
.hero-proof span::before{ content:''; width:6px; height:6px; background:var(--accent); }
.hero-photo-wrap{ position:relative; justify-self:center; width:100%; max-width:400px; }
.hero-photo{ border-radius:20px; overflow:hidden; aspect-ratio:900/1081; background:#EDEDED; box-shadow:0 40px 70px -30px rgba(17,17,17,.35); transform:scale(1.06); opacity:0; transition:transform 1.1s cubic-bezier(.16,1,.3,1), opacity 1s ease; }
body.ready .hero-photo{ transform:scale(1); opacity:1; }
.hero-photo img{ width:100%; height:100%; object-fit:cover; filter:grayscale(100%); }
.hero-badge{ position:absolute; left:-14px; bottom:28px; background:rgba(255,255,255,.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1px solid rgba(255,255,255,.7); box-shadow:0 14px 30px -12px rgba(17,17,17,.25); border-radius:14px; padding:12px 16px; font-size:13px; line-height:1.4; }
.hero-badge strong{ display:block; font-family:var(--head); font-size:15px; }
.hero-shape{ position:absolute; border:1px solid var(--line); border-radius:50%; pointer-events:none; }

/* ---------- Background shapes (subtle drift) ---------- */
.bg-shapes{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.bg-shapes span{ position:absolute; border:1px solid var(--line); border-radius:50%; animation:drift 20s ease-in-out infinite; }
.bg-shapes .sq{ border-radius:0; }
.bg-shapes .ln{ width:2px; border:none; background:var(--line); border-radius:0; }
.bg-shapes .ac{ border-color:var(--accent); opacity:.25; }
@keyframes drift{ 0%,100%{transform:translate(0,0);} 50%{transform:translate(-14px,16px);} }
.wrap{ position:relative; z-index:1; }

/* ---------- Service cards ---------- */
.card-grid{ display:grid; grid-template-columns:1fr; gap:18px; margin-top:36px; }
@media(min-width:760px){ .card-grid{ grid-template-columns:repeat(3,1fr); } }
.svc-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px; display:flex; flex-direction:column; gap:12px; text-decoration:none; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.svc-card:hover{ transform:translateY(-4px); box-shadow:0 22px 40px -24px rgba(17,17,17,.3); border-color:transparent; }
.svc-num{ font-family:var(--head); font-weight:700; color:var(--accent); font-size:14px; }
.svc-card h3{ font-size:22px; margin:0; }
.svc-card p{ color:#444; font-size:15px; margin:0; }
.svc-card .text-link{ margin-top:auto; padding-top:8px; }

/* ---------- Why list ---------- */
.why-grid{ display:grid; grid-template-columns:1fr; gap:0; margin-top:30px; border-top:1px solid var(--line); }
@media(min-width:760px){ .why-grid{ grid-template-columns:1fr 1fr; } .why-item:nth-child(odd){ border-right:1px solid var(--line); padding-right:28px; } .why-item:nth-child(even){ padding-left:28px; } }
.why-item{ padding:26px 0; border-bottom:1px solid var(--line); }
.why-item h3{ display:flex; gap:12px; align-items:baseline; }
.why-item h3 span{ color:var(--accent); font-size:14px; }
.why-item p{ color:#444; font-size:15px; }

/* ---------- Logo strip (home) ---------- */
.logo-strip{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:30px; }
@media(min-width:640px){ .logo-strip{ grid-template-columns:repeat(5,1fr); } }
.logo-chip{ background:#fff; border:1px solid var(--line); border-radius:12px; height:96px; display:flex; align-items:center; justify-content:center; padding:14px; cursor:pointer; font:inherit; transition:background .25s ease, transform .25s ease; }
.logo-chip img{ max-height:52px; max-width:85%; object-fit:contain; filter:grayscale(100%); opacity:.75; transition:filter .3s ease, opacity .3s ease; }
.logo-chip.in-view img, .logo-chip:hover img{ filter:none; opacity:1; }
.logo-chip:hover{ transform:translateY(-3px); }

/* ---------- Clients mosaic (portfolio) ---------- */
.clients-mosaic{ display:grid; grid-template-columns:1fr; gap:16px; margin-top:30px; }
@media(min-width:640px){ .clients-mosaic{ grid-template-columns:repeat(4,1fr); grid-auto-rows:170px; } .client-card-lg{ grid-column:span 2; grid-row:span 2; } .client-card-wide{ grid-column:span 2; } }
.client-card{ font:inherit; width:100%; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); color:var(--ink); padding:24px 16px; transition:background .25s ease, transform .25s ease; }
.client-card:hover{ transform:translateY(-3px); }
.client-card img{ height:48px; max-width:80%; object-fit:contain; filter:grayscale(100%); transition:filter .3s ease; }
.client-card-lg img{ height:72px; }
.client-card.in-view img, .client-card:hover img{ filter:none; }
.client-card.in-view, .client-card:hover{ background:var(--bg-soft); }
.client-card-name{ font-family:var(--head); font-weight:700; font-size:16px; }
.client-card-desc{ font-size:13px; color:var(--muted); line-height:1.45; }
.client-card-more{ font-size:12px; font-weight:600; color:var(--accent); }

/* ---------- Case drawer ---------- */
#caseOverlay{ position:fixed; inset:0; background:rgba(17,17,17,.5); z-index:1200; opacity:0; visibility:hidden; transition:opacity .35s ease, visibility .35s ease; }
#caseOverlay.open{ opacity:1; visibility:visible; }
#caseDrawer{ position:fixed; top:0; right:0; height:100%; width:min(480px,100%); background:#fff; z-index:1201; transform:translateX(100%); transition:transform .4s cubic-bezier(.22,1,.36,1); overflow-y:auto; padding:64px 36px calc(48px + env(safe-area-inset-bottom,0px)); }
#caseDrawer.open{ transform:none; }
#caseClose{ position:absolute; top:18px; right:20px; width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:#fff; font-size:24px; line-height:1; cursor:pointer; color:var(--muted); }
#caseClose:hover{ color:var(--ink); border-color:var(--ink); }
.case-logo{ height:48px; max-width:170px; object-fit:contain; margin-bottom:20px; }
#caseContent h2{ font-size:28px; margin-bottom:6px; }
.case-tagline{ color:var(--muted); font-size:14px; margin-bottom:24px; }
.case-label{ font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.1em; color:var(--accent); margin:22px 0 6px; }
#caseContent p{ font-size:15px; }
.case-visit{ margin-top:28px; }

/* ---------- Flip cards ---------- */
.flip-grid{ display:grid; grid-template-columns:1fr; gap:18px; margin-top:30px; }
@media(min-width:640px){ .flip-grid{ grid-template-columns:1fr 1fr; } }
.flip-card{ height:280px; perspective:1200px; cursor:pointer; }
.flip-inner{ position:relative; width:100%; height:100%; transition:transform .6s cubic-bezier(.4,.2,.2,1); transform-style:preserve-3d; }
.flip-card.is-flipped .flip-inner{ transform:rotateY(180deg); }
@media(hover:hover){ .flip-card:hover .flip-inner{ transform:rotateY(180deg); } }
.flip-face{ position:absolute; inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden; border:1px solid var(--line); border-radius:var(--radius); padding:26px; display:flex; flex-direction:column; justify-content:center; background:#fff; }
.flip-front .svc-num{ margin-bottom:8px; }
.flip-front h3{ font-size:26px; }
.flip-front small{ color:var(--muted); margin-top:6px; }
.flip-back{ transform:rotateY(180deg); background:var(--ink); color:#fff; justify-content:flex-start; overflow-y:auto; }
.flip-label{ font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.1em; color:#E9A27F; margin-bottom:4px; }
.flip-back p{ font-size:14px; line-height:1.55; opacity:.92; margin-bottom:14px; }

/* ---------- Timeline (experience, education) ---------- */
.timeline{ border-left:2px solid var(--line); margin-top:28px; padding-left:28px; display:flex; flex-direction:column; gap:30px; }
.t-item{ position:relative; }
.t-dot{ position:absolute; left:-35px; top:7px; width:12px; height:12px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--bg); }
.section-alt .t-dot{ box-shadow:0 0 0 4px var(--bg-soft); }
.t-meta{ font-size:13px; color:var(--accent); font-weight:600; margin-bottom:2px; }
.t-item h3{ font-size:19px; margin-bottom:2px; }
.t-org{ font-size:14px; color:var(--muted); margin-bottom:8px; }
.t-item p{ color:#444; font-size:15px; }

/* ---------- Two column layout ---------- */
.split{ display:grid; grid-template-columns:1fr; gap:36px; align-items:start; }
@media(min-width:900px){ .split{ grid-template-columns:.9fr 1.1fr; gap:64px; } }
.sticky-col{ position:static; }
@media(min-width:900px){ .sticky-col{ position:sticky; top:110px; } }
.about-photo{ border-radius:20px; overflow:hidden; box-shadow:0 30px 60px -30px rgba(17,17,17,.35); max-width:380px; }
.about-photo img{ filter:grayscale(100%); }

/* ---------- Service detail ---------- */
.svc-block{ display:grid; grid-template-columns:1fr; gap:24px; padding:44px 0; border-top:1px solid var(--line); }
.svc-block:first-of-type{ border-top:none; padding-top:10px; }
@media(min-width:900px){ .svc-block{ grid-template-columns:.8fr 1.2fr; gap:56px; } }
.svc-block h2{ font-size:clamp(26px,3vw,34px); margin-bottom:10px; }
.check-list{ list-style:none; display:flex; flex-direction:column; gap:10px; margin:12px 0 18px; }
.check-list li{ position:relative; padding-left:30px; font-size:15px; }
.check-list li::before{ content:''; position:absolute; left:0; top:5px; width:18px; height:18px; border-radius:50%; background:var(--accent); -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E"); }
.check-list li::after{ content:''; position:absolute; left:6px; top:9px; width:6px; height:3px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg); }
.fit-note{ font-size:14px; color:var(--muted); background:var(--bg-soft); padding:12px 16px; border-radius:10px; }
.steps{ display:grid; grid-template-columns:1fr; gap:16px; margin-top:30px; counter-reset:step; }
@media(min-width:760px){ .steps{ grid-template-columns:repeat(4,1fr); } }
.step{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; }
.step::before{ counter-increment:step; content:'0' counter(step); font-family:var(--head); font-weight:700; color:var(--accent); display:block; margin-bottom:10px; }
.step h3{ font-size:18px; }
.step p{ font-size:14px; color:#444; }
.tag-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.tag{ font-size:13px; padding:6px 12px; border-radius:999px; border:1px solid var(--line); background:#fff; }

/* ---------- FAQ ---------- */
.faq-list{ margin-top:26px; border-top:1px solid var(--line); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{ width:100%; text-align:left; background:none; border:none; padding:22px 0; font-family:var(--head); font-size:18px; font-weight:600; color:var(--ink); cursor:pointer; display:flex; justify-content:space-between; gap:20px; align-items:center; }
.faq-plus{ flex-shrink:0; width:30px; height:30px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:18px; transition:transform .3s ease, background .3s ease, color .3s ease; }
.faq-item.open .faq-plus{ transform:rotate(45deg); background:var(--accent); color:#fff; border-color:var(--accent); }
.faq-a{ display:grid; grid-template-rows:0fr; transition:grid-template-rows .35s ease; }
.faq-a > div{ overflow:hidden; }
.faq-item.open .faq-a{ grid-template-rows:1fr; }
.faq-a p{ padding-bottom:22px; color:#444; max-width:70ch; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr; gap:16px; margin-top:34px; }
@media(min-width:760px){ .contact-grid{ grid-template-columns:repeat(3,1fr); } }
.contact-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 24px; text-decoration:none; display:flex; flex-direction:column; gap:6px; transition:transform .25s ease, box-shadow .25s ease; }
.contact-card:hover{ transform:translateY(-4px); box-shadow:0 22px 40px -24px rgba(17,17,17,.3); }
.contact-card .c-label{ font-size:12px; text-transform:uppercase; letter-spacing:.1em; font-weight:600; color:var(--accent); }
.contact-card strong{ font-family:var(--head); font-size:20px; word-break:break-word; }
.contact-card span{ font-size:14px; color:var(--muted); }
.contact-card.primary{ background:var(--ink); color:#fff; border-color:var(--ink); }
.contact-card.primary span{ color:#cfcfcf; }
.info-row{ display:grid; grid-template-columns:1fr; gap:24px; margin-top:44px; padding-top:32px; border-top:1px solid var(--line); }
@media(min-width:760px){ .info-row{ grid-template-columns:repeat(3,1fr); } }
.info-row h3{ font-size:16px; }
.info-row p{ font-size:15px; color:#444; }

/* ---------- Page intro ---------- */
.page-intro{ padding:64px 0 40px; }
.page-intro h1{ font-size:clamp(36px,5.4vw,60px); letter-spacing:-0.035em; margin-bottom:18px; max-width:18ch; }
.breadcrumb{ font-size:13px; color:var(--muted); margin-bottom:20px; }
.breadcrumb a{ text-decoration:none; }
.breadcrumb a:hover{ color:var(--accent); }

/* ---------- Blog ---------- */
.post-grid{ display:grid; grid-template-columns:1fr; gap:20px; margin-top:10px; }
@media(min-width:760px){ .post-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1050px){ .post-grid{ grid-template-columns:repeat(3,1fr); } }
.post-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; text-decoration:none; display:flex; flex-direction:column; gap:10px; transition:transform .25s ease, box-shadow .25s ease; }
.post-card:hover{ transform:translateY(-4px); box-shadow:0 22px 40px -24px rgba(17,17,17,.3); }
.post-meta{ font-size:13px; color:var(--muted); }
.post-card h2{ font-size:22px; margin:0; }
.post-card p{ font-size:15px; color:#444; margin:0; }
.post-card .text-link{ margin-top:auto; }
.empty-state{ background:#fff; border:1px dashed var(--line); border-radius:var(--radius); padding:40px 28px; text-align:center; color:var(--muted); }
.article{ max-width:740px; margin:0 auto; }
.article-head{ padding:56px 0 24px; }
.article-head h1{ font-size:clamp(32px,4.6vw,50px); letter-spacing:-0.03em; margin-bottom:16px; }
.article-body{ font-size:18px; line-height:1.8; color:#222; }
.article-body h2{ font-size:28px; margin:40px 0 12px; }
.article-body h3{ font-size:22px; margin:34px 0 10px; }
.article-body p{ margin-bottom:20px; }
.article-body ul, .article-body ol{ margin:0 0 20px 22px; }
.article-body li{ margin-bottom:6px; }
.article-body a{ color:var(--accent); }
.article-body blockquote{ border-left:3px solid var(--accent); padding:4px 0 4px 18px; color:#444; margin:0 0 20px; font-style:italic; }
.article-body img{ border-radius:12px; margin:10px 0 20px; }
.article-body table{ width:100%; border-collapse:collapse; margin-bottom:20px; font-size:15px; }
.article-body th, .article-body td{ border:1px solid var(--line); padding:8px 10px; text-align:left; }
.author-box{ display:flex; gap:16px; align-items:center; margin:44px 0 0; padding:22px; background:var(--bg-soft); border-radius:var(--radius); }
.author-box img{ width:64px; height:64px; border-radius:50%; object-fit:cover; filter:grayscale(100%); flex-shrink:0; }
.author-box p{ font-size:14px; color:#444; margin:0; }
.author-box strong{ font-family:var(--head); display:block; font-size:16px; color:var(--ink); }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--ink); color:#fff; overflow:hidden; padding:100px 0; }
.cta-band h2{ color:#fff; max-width:780px; }
.cta-eyebrow{ color:#E9A27F; }
.cta-eyebrow::before{ background:#E9A27F; }
.cta-sub{ max-width:560px; color:#cfcfcf; font-size:16px; margin-bottom:30px; }
.cta-actions{ display:flex; flex-wrap:wrap; gap:12px; }
.cta-bg{ position:absolute; inset:0; z-index:0; }
.cta-shape{ position:absolute; right:-8%; top:-25%; width:480px; height:480px; border-radius:50%; border:1px solid rgba(255,255,255,.08); }
.cta-shape::before{ content:''; position:absolute; inset:60px; border-radius:50%; border:1px solid rgba(233,162,127,.18); }

/* ---------- Footer ---------- */
.site-footer{ max-width:var(--wrap); margin:0 auto; padding:64px 6% calc(120px + env(safe-area-inset-bottom,0px)); display:flex; flex-direction:column; gap:40px; }
@media(min-width:1200px){ .site-footer{ padding-left:40px; padding-right:40px; } }
.footer-top{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:44px; }
.footer-brand{ flex:1 1 260px; max-width:360px; }
.footer-logo{ font-family:var(--head); font-weight:700; font-size:28px; display:block; }
.footer-name{ font-size:12px; font-weight:600; letter-spacing:.14em; color:var(--accent); display:block; margin-top:2px; }
.footer-tagline{ font-size:15px; color:#444; margin:14px 0 8px; }
.footer-meta{ font-size:13px; color:var(--muted); }
.footer-cols{ display:flex; flex-wrap:wrap; gap:48px; padding-left:44px; border-left:1px solid var(--line); }
@media(max-width:760px){ .footer-cols{ border-left:none; padding-left:0; gap:36px; } }
.footer-head{ font-size:12px; text-transform:uppercase; letter-spacing:.1em; font-weight:600; color:var(--accent); margin-bottom:12px; }
.footer-cols a{ display:block; font-size:15px; text-decoration:none; margin-bottom:10px; }
.footer-cols a:hover{ color:var(--accent); }
.footer-bottom{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding-top:22px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }

/* ---------- Glass WhatsApp button ---------- */
.wa-float{
  position:fixed; right:18px; bottom:calc(18px + env(safe-area-inset-bottom,0px)); z-index:150;
  display:flex; align-items:center; gap:12px; padding:8px 18px 8px 8px; border-radius:999px; text-decoration:none; color:var(--ink);
  background:linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.22));
  backdrop-filter:blur(22px) saturate(190%); -webkit-backdrop-filter:blur(22px) saturate(190%);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 18px 40px -14px rgba(17,17,17,.35), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(17,17,17,.06);
  overflow:hidden; isolation:isolate;
  opacity:0; transform:translateY(24px) scale(.96);
  transition:opacity .5s ease, transform .5s cubic-bezier(.22,1,.36,1), padding .35s ease, gap .35s ease;
}
.wa-float.show{ opacity:1; transform:none; }
.wa-float::before{ /* moving light sheen */
  content:''; position:absolute; inset:-40% -60%; z-index:-1;
  background:linear-gradient(115deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%);
  transform:translateX(-60%); animation:sheen 6s ease-in-out infinite 3s;
}
@keyframes sheen{ 0%,70%{transform:translateX(-60%);} 100%{transform:translateX(60%);} }
.wa-float:hover{ transform:translateY(-3px); box-shadow:0 24px 50px -16px rgba(17,17,17,.4), inset 0 1px 0 rgba(255,255,255,.95); }
.wa-icon{ position:relative; width:46px; height:46px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; color:#fff;
  background:radial-gradient(circle at 30% 25%, #5BE584 0%, #25D366 45%, #128C4B 100%);
  box-shadow:inset 0 2px 4px rgba(255,255,255,.45), 0 6px 14px -4px rgba(18,140,75,.6); }
.wa-icon svg{ width:24px; height:24px; }
.wa-dot{ position:absolute; top:1px; right:1px; width:11px; height:11px; border-radius:50%; background:#fff; border:2px solid #25D366; animation:pulse 2.4s infinite; }
.wa-text{ display:flex; flex-direction:column; line-height:1.2; white-space:nowrap; max-width:200px; transition:max-width .35s ease, opacity .25s ease; }
.wa-text strong{ font-family:var(--head); font-size:15px; }
.wa-text small{ font-size:12px; color:#555; }
.wa-float.compact{ padding:8px; gap:0; }
.wa-float.compact .wa-text{ max-width:0; opacity:0; }
@media(max-width:600px){ .wa-float{ right:14px; } .wa-text strong{ font-size:14px; } }
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){ .wa-float{ background:rgba(255,255,255,.95); } }

/* ---------- Admin ---------- */
.admin-body{ background:var(--bg-soft); min-height:100vh; }
.admin-wrap{ max-width:980px; margin:0 auto; padding:40px 5%; }
.admin-top{ display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:28px; }
.admin-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; }
.admin-table{ width:100%; border-collapse:collapse; font-size:15px; }
.admin-table th, .admin-table td{ padding:12px 10px; border-bottom:1px solid var(--line); text-align:left; vertical-align:middle; }
.admin-table th{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.admin-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.badge{ font-size:12px; font-weight:600; padding:4px 10px; border-radius:999px; }
.badge-pub{ background:#E3F6EA; color:#11683A; }
.badge-draft{ background:#F1EFEA; color:#6B6B6B; }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.form-row small{ display:block; color:var(--muted); font-size:12px; margin-top:4px; }
.form-row input[type=text], .form-row input[type=password], .form-row input[type=date], .form-row textarea, .form-row select{
  width:100%; font:inherit; font-size:15px; padding:11px 13px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--ink); }
.form-row textarea{ min-height:90px; resize:vertical; }
.form-row textarea.body-field{ min-height:420px; font-family:ui-monospace, Menlo, Consolas, monospace; font-size:14px; line-height:1.6; }
.form-grid{ display:grid; grid-template-columns:1fr; gap:0 18px; }
@media(min-width:760px){ .form-grid{ grid-template-columns:1fr 1fr; } }
.notice{ padding:12px 16px; border-radius:10px; margin-bottom:18px; font-size:14px; }
.notice-ok{ background:#E3F6EA; color:#11683A; }
.notice-err{ background:#FBE9E4; color:#9E3F1F; }
.toolbar{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.toolbar button{ font:inherit; font-size:13px; padding:6px 10px; border:1px solid var(--line); background:#fff; border-radius:8px; cursor:pointer; }
.toolbar button:hover{ border-color:var(--ink); }
.counter{ font-size:12px; color:var(--muted); }
.counter.over{ color:var(--accent); font-weight:600; }
.btn-sm{ padding:8px 14px; font-size:13px; }
.btn-danger{ background:#fff; color:#9E3F1F; border-color:#E8C4B8; }

/* ---------- Reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
  .hero-photo{ opacity:1; transform:none; }
  .wa-float{ opacity:1; transform:none; }
}

/* Hide the floating button while the mobile menu or a case study is open */
html.nav-lock .wa-float{ opacity:0 !important; pointer-events:none; }
/* Full-width buttons on small phones */
@media(max-width:520px){
  .hero-actions .btn, .cta-actions .btn, .mobile-actions .btn{ width:100%; }
}

/* ===========================================================
   v9: iPhone-style glass layer
   =========================================================== */
:root{
  --glass-bg:rgba(255,255,255,.52);
  --glass-border:rgba(255,255,255,.78);
  --glass-shadow:0 12px 32px -14px rgba(60,40,20,.18), inset 0 1px 0 rgba(255,255,255,.9);
  --glass-blur:blur(22px) saturate(180%);
}
body{ background:#F7F3EE; }
h1,h2,h3,h4{ letter-spacing:-0.03em; }

/* Soft moving colour behind everything, so the glass has something to blur */
.ambient{ position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.orb{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.55; will-change:transform; }
.o1{ width:46vw; height:46vw; max-width:620px; max-height:620px; left:-10vw; top:-8vw; background:radial-gradient(circle, #F2C9B0 0%, rgba(242,201,176,0) 70%); animation:float1 26s ease-in-out infinite; }
.o2{ width:40vw; height:40vw; max-width:560px; max-height:560px; right:-12vw; top:30vh; background:radial-gradient(circle, #E9D9C4 0%, rgba(233,217,196,0) 70%); animation:float2 30s ease-in-out infinite; }
.o3{ width:36vw; height:36vw; max-width:500px; max-height:500px; left:20vw; bottom:-14vw; background:radial-gradient(circle, rgba(192,81,43,.28) 0%, rgba(192,81,43,0) 70%); animation:float3 34s ease-in-out infinite; }
@keyframes float1{ 0%,100%{transform:translate(0,0);} 50%{transform:translate(8vw,10vh);} }
@keyframes float2{ 0%,100%{transform:translate(0,0);} 50%{transform:translate(-10vw,-8vh);} }
@keyframes float3{ 0%,100%{transform:translate(0,0);} 50%{transform:translate(12vw,-6vh);} }
@media(max-width:700px){ .orb{ filter:blur(50px); opacity:.6; } .o1{ width:90vw; height:90vw; } .o2{ width:80vw; height:80vw; } .o3{ width:80vw; height:80vw; } }

/* Glass surfaces */
.glass, .svc-card, .step, .contact-card:not(.primary), .post-card, .fit-note, .tag, .empty-state, .author-box, .glass-panel{
  background:var(--glass-bg);
  backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--glass-border);
  box-shadow:var(--glass-shadow);
}
.glass-panel{ border-radius:20px; padding:4px 28px; }
.glass-panel .faq-item:last-child{ border-bottom:none; }
.faq-list.glass-panel{ border-top:1px solid var(--glass-border); }
.section-alt{ background:rgba(255,255,255,.28); border-top:1px solid rgba(255,255,255,.6); border-bottom:1px solid rgba(255,255,255,.6); }
#siteHeader{ background:rgba(247,243,238,.6); backdrop-filter:blur(24px) saturate(180%); -webkit-backdrop-filter:blur(24px) saturate(180%); }
#siteHeader.scrolled{ background:rgba(247,243,238,.72); border-bottom-color:rgba(255,255,255,.7); box-shadow:0 8px 24px -18px rgba(60,40,20,.35); }
.desk-nav a:hover{ background:rgba(255,255,255,.6); }
.menu-btn{ background:rgba(255,255,255,.55); border-color:rgba(255,255,255,.8); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
#mobileNav{ background:rgba(247,243,238,.82); backdrop-filter:blur(30px) saturate(180%); -webkit-backdrop-filter:blur(30px) saturate(180%); }
.btn-glass{ background:rgba(255,255,255,.55); border:1px solid rgba(255,255,255,.85); color:var(--ink); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 6px 18px -10px rgba(60,40,20,.3); }
.btn-glass:hover{ background:rgba(255,255,255,.8); }
.btn-ghost{ background:rgba(255,255,255,.4); border-color:rgba(255,255,255,.85); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
.site-footer{ background:rgba(255,255,255,.4); backdrop-filter:var(--glass-blur); -webkit-backdrop-filter:var(--glass-blur); border:1px solid var(--glass-border); border-radius:24px 24px 0 0; margin-top:0; }

/* ---------- Loader: DK opens into Daanial Khan ---------- */
.loader-name{ font-family:var(--head); font-weight:800; font-size:clamp(40px,10vw,76px); letter-spacing:-0.04em; line-height:1; white-space:nowrap; display:flex; align-items:baseline; opacity:0; animation:markIn .8s ease forwards .1s; }
.ln-x{ display:inline-block; overflow:hidden; max-width:0; opacity:0; color:var(--ink); transition:max-width 2.1s cubic-bezier(.65,0,.35,1), opacity 1.6s ease .3s; vertical-align:bottom; }
.ln-k{ display:inline-block; color:var(--accent); transition:color 1.2s ease; }
.loader-name.expand .ln-x{ max-width:6.5ch; opacity:1; }
.loader-name.expand .ln-k{ color:var(--ink); }
.loader-name.out{ animation:nameOut .7s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes nameOut{ to{ opacity:0; transform:scale(1.12); filter:blur(8px); } }
#loader{ background:#F7F3EE; transition:opacity .7s ease, visibility .7s ease; }
.loader-bar{ transition:width 3.7s cubic-bezier(.65,0,.35,1); }

/* ---------- Hero ---------- */
.hero{ padding:70px 0 100px; }
.hero h1{ margin-bottom:24px; }
.hero-badge{ background:rgba(255,255,255,.62); border-radius:16px; padding:14px 18px; left:-18px; bottom:30px; }
.hero-badge strong{ font-size:16px; margin-bottom:2px; }

/* ---------- Flip cards (glass front, dark back) ---------- */
.flip-grid-3{ grid-template-columns:1fr; }
@media(min-width:760px){ .flip-grid-3{ grid-template-columns:repeat(3,1fr); } }
.flip-card{ height:300px; }
.flip-face{ border-radius:20px; }
.flip-face.glass{ backdrop-filter:none; -webkit-backdrop-filter:none; background:linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,255,255,.55)); }
.flip-front{ justify-content:flex-end; padding:28px; }
.flip-front .svc-num{ position:absolute; top:24px; left:28px; font-size:15px; }
.flip-front h3{ font-size:30px; margin-bottom:6px; }
.flip-front small{ font-size:15px; }
.flip-hint{ position:absolute; top:24px; right:24px; font-size:12px; color:var(--muted); font-weight:600; }
.flip-back{ background:linear-gradient(150deg, #1d1a17 0%, #111 60%); border-color:rgba(255,255,255,.08); padding:28px; }
.flip-back p{ font-size:15px; }
.flip-link{ margin-top:auto; color:#E9A27F; font-weight:600; text-decoration:none; }
.flip-link:hover{ text-decoration:underline; }
.flip-card:focus-visible{ outline:none; }
.flip-card:focus-visible .flip-face{ outline:2px solid var(--accent); outline-offset:3px; }
@media(hover:hover){ .flip-card:hover .flip-inner{ transform:rotateY(180deg); } }

/* ---------- Journey (home) ---------- */
.journey{ --p:0; position:relative; display:grid; grid-template-columns:1fr; gap:34px; margin-top:44px; padding-left:66px; }
.journey-line{ position:absolute; left:27px; top:28px; bottom:28px; width:2px; background:rgba(17,17,17,.1); border-radius:2px; overflow:hidden; }
.journey-fill{ position:absolute; inset:0; background:linear-gradient(var(--accent), #E9A27F); transform-origin:top; transform:scaleY(var(--p)); }
.j-step{ position:relative; }
.j-icon{ position:absolute; left:-66px; top:0; width:56px; height:56px; border-radius:18px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.6); border:1px solid rgba(255,255,255,.85); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  box-shadow:0 10px 24px -14px rgba(60,40,20,.35); color:var(--muted); transition:background .5s ease, color .5s ease, transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease; }
.j-icon svg{ width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.j-step.active .j-icon{ background:var(--accent); color:#fff; border-color:var(--accent); transform:scale(1.06); box-shadow:0 14px 30px -12px rgba(192,81,43,.6); }
.j-num{ font-family:var(--head); font-weight:700; font-size:13px; color:var(--accent); }
.j-step h3{ font-size:22px; margin:2px 0 4px; }
.j-step p{ font-size:15px; color:#555; margin:0; }
@media(min-width:900px){
  .journey{ grid-template-columns:repeat(5,1fr); gap:24px; padding-left:0; padding-top:96px; }
  .journey-line{ left:28px; right:calc((100% - 96px) / 5 - 28px); top:27px; bottom:auto; width:auto; height:2px; }
  .journey-fill{ transform-origin:left; transform:scaleX(var(--p)); }
  .j-icon{ left:0; top:-96px; }
}
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:44px; }
.chip{ font-size:14px; font-weight:600; padding:10px 16px; border-radius:999px; }

/* ---------- Clients mosaic (home and portfolio) ---------- */
.clients-mosaic{ grid-template-columns:repeat(2,1fr); gap:14px; }
@media(min-width:760px){ .clients-mosaic{ grid-template-columns:repeat(4,1fr); grid-auto-rows:210px; gap:18px; } .client-card-lg{ grid-column:span 2; grid-row:span 2; } }
@media(max-width:759px){ .client-card-lg{ grid-column:span 2; } }
.client-card{ border-radius:20px; padding:22px 16px; gap:8px; transition:transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, background .35s ease; }
.client-card:hover{ transform:translateY(-5px); box-shadow:0 22px 44px -20px rgba(60,40,20,.35), inset 0 1px 0 rgba(255,255,255,.95); background:rgba(255,255,255,.72); }
.client-card img{ height:56px; max-width:80%; filter:grayscale(100%) contrast(1.05); opacity:.8; transition:filter .45s ease, opacity .45s ease, transform .45s ease; }
.client-card-lg img{ height:90px; }
.client-card.in-view img{ filter:none; opacity:1; }
@media(hover:hover){ .client-card:hover img{ filter:none; opacity:1; transform:scale(1.05); } }
.client-card-name{ font-size:16px; }
.client-card-lg .client-card-name{ font-size:20px; }
.client-card-more{ opacity:.85; }
.client-card.in-view, .client-card:hover{ background:rgba(255,255,255,.72); }

/* ---------- About ---------- */
.about-intro{ padding-bottom:70px; }
.about-hero{ display:grid; grid-template-columns:1fr; gap:44px; align-items:center; }
@media(min-width:900px){ .about-hero{ grid-template-columns:1.15fr .85fr; gap:60px; } }
.about-hero h1{ max-width:16ch; }
.about-photo-wrap{ justify-self:center; width:100%; max-width:400px; }
.about-photo{ border-radius:24px; overflow:hidden; aspect-ratio:4/5; max-width:none; box-shadow:0 40px 70px -30px rgba(60,40,20,.45); border:1px solid rgba(255,255,255,.8); }
.about-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 20%; filter:grayscale(100%); }

.story{ --p:0; position:relative; margin-top:40px; padding-left:44px; display:flex; flex-direction:column; gap:42px; max-width:720px; }
.story-line{ position:absolute; left:9px; top:8px; bottom:8px; width:2px; background:rgba(17,17,17,.1); overflow:hidden; border-radius:2px; }
.story-fill{ position:absolute; inset:0; background:linear-gradient(var(--accent), #E9A27F); transform-origin:top; transform:scaleY(var(--p)); }
.s-step{ position:relative; }
.s-dot{ position:absolute; left:-44px; top:6px; width:20px; height:20px; border-radius:50%; background:rgba(255,255,255,.8); border:2px solid rgba(17,17,17,.15); transition:background .5s ease, border-color .5s ease, transform .5s ease; }
.s-step.active .s-dot{ background:var(--accent); border-color:#fff; transform:scale(1.15); box-shadow:0 0 0 6px rgba(192,81,43,.15); }
.s-year{ font-family:var(--head); font-weight:800; font-size:clamp(34px,5vw,52px); line-height:1; letter-spacing:-0.04em; color:rgba(17,17,17,.14); transition:color .5s ease; display:block; margin-bottom:6px; }
.s-step.active .s-year{ color:var(--accent); }
.s-step h3{ font-size:24px; margin-bottom:4px; }
.s-step p{ color:#555; font-size:16px; margin:0; max-width:52ch; }

.cred-grid{ display:grid; grid-template-columns:1fr; gap:14px; margin-top:30px; }
@media(min-width:700px){ .cred-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1000px){ .cred-grid{ grid-template-columns:repeat(3,1fr); } }
.cred{ display:flex; gap:14px; align-items:center; padding:20px; border-radius:18px; }
.cred-icon{ width:46px; height:46px; flex-shrink:0; border-radius:14px; background:rgba(192,81,43,.12); color:var(--accent); display:flex; align-items:center; justify-content:center; }
.cred-icon svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.cred strong{ display:block; font-family:var(--head); font-size:16px; line-height:1.3; }
.cred span{ font-size:13px; color:var(--muted); }

/* Smaller polish */
.svc-card, .step, .post-card, .contact-card{ border-radius:20px; }
.contact-card.primary{ background:linear-gradient(150deg,#1d1a17,#111); }
.cta-band{ border-radius:28px 28px 0 0; margin-top:40px; }
@media(prefers-reduced-motion:reduce){ .orb{ animation:none !important; } .loader-name .ln-x{ max-width:6.5ch; opacity:1; } }
@media(max-width:759px){
  .flip-card{ height:230px; }
  .flip-front h3{ font-size:26px; }
  .hero{ padding:40px 0 70px; }
  .hero-grid{ gap:34px; }
  .hero-photo-wrap{ max-width:340px; }
  .hero-badge{ left:12px; bottom:14px; }
}

/* v10: cleaner journey icons */
.j-icon{ width:60px; height:60px; border-radius:50%; background:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.95);
  box-shadow:0 8px 20px -12px rgba(60,40,20,.28), inset 0 1px 0 #fff; color:#9A928A; }
.j-icon svg{ width:24px; height:24px; stroke-width:1.6; }
.j-step.active .j-icon{ background:#fff; color:var(--accent); border-color:#fff; transform:none;
  box-shadow:0 0 0 6px rgba(192,81,43,.12), 0 12px 26px -14px rgba(192,81,43,.55); }
.journey-line{ height:auto; }
@media(min-width:900px){ .journey{ padding-top:100px; } .j-icon{ top:-100px; } .journey-line{ top:29px; height:1.5px; left:30px; right:calc((100% - 96px) / 5 - 30px); } }
@media(max-width:899px){ .journey{ padding-left:76px; } .j-icon{ left:-76px; } .journey-line{ left:29px; width:1.5px; } }

/* v10: Google certification cards */
.cert-grid{ display:grid; grid-template-columns:1fr; gap:16px; margin-top:30px; }
@media(min-width:800px){ .cert-grid{ grid-template-columns:1fr 1fr; } }
.cert-card{ display:flex; gap:22px; align-items:center; padding:24px; border-radius:22px; transition:transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.cert-card:hover{ transform:translateY(-4px); box-shadow:0 24px 46px -22px rgba(60,40,20,.35), inset 0 1px 0 #fff; }
.cert-badge{ width:112px; height:112px; flex-shrink:0; border-radius:50%; background:#fff; box-shadow:0 10px 24px -14px rgba(0,0,0,.35); }
.cert-issuer{ font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); margin-bottom:4px; }
.cert-card h3{ font-size:20px; line-height:1.25; margin-bottom:8px; }
.cert-meta{ font-size:13px; color:var(--muted); margin:0 0 2px; }
.cert-verify{ display:inline-block; margin-top:10px; font-size:14px; font-weight:600; color:var(--accent); text-decoration:none; }
.cert-verify:hover{ text-decoration:underline; }
@media(max-width:480px){ .cert-card{ flex-direction:column; align-items:flex-start; gap:14px; } .cert-badge{ width:92px; height:92px; } }
#credentials .cred-grid{ margin-top:16px; }
