/* ============================================================
   Jamnagar.Online — Design System
   Brand: Deep Indigo + Brass Gold (nod to the Brass City)
   ============================================================ */

:root {
  --indigo-900: #14143a;
  --indigo-800: #1a1a3d;
  --indigo-700: #232456;
  --indigo-600: #2e2f6e;
  --brass-500: #c9962f;
  --brass-400: #e0b352;
  --brass-300: #f0d089;
  --ink: #1f2233;
  --slate: #5a5f73;
  --slate-light: #8a8fa3;
  --line: #e7e5df;
  --cream: #faf9f6;
  --white: #ffffff;
  --green: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(20,20,58,0.06);
  --shadow-md: 0 12px 34px rgba(20,20,58,0.10);
  --shadow-lg: 0 24px 60px rgba(20,20,58,0.16);
  --maxw: 1180px;
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--indigo-800); letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-500); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--slate); font-size: 1.08rem; }
.text-brass { color: var(--brass-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 100px; cursor: pointer;
  border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--brass-500); color: var(--indigo-900); box-shadow: 0 8px 22px rgba(201,150,47,0.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,150,47,0.42); background: var(--brass-400); }
.btn-dark { background: var(--indigo-800); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--indigo-700); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.10); }
.btn-outline { border-color: var(--indigo-800); color: var(--indigo-800); }
.btn-outline:hover { background: var(--indigo-800); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--indigo-800); }
.logo .dot { color: var(--brass-500); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-900));
  display: grid; place-items: center; color: var(--brass-400); font-weight: 800; font-size: 1rem;
  box-shadow: inset 0 0 0 1.5px rgba(224,179,82,0.4);
}
.logo-mark-img { width: 40px; height: 40px; object-fit: contain; display: block; }
.site-footer .logo-mark-img { filter: drop-shadow(0 0 0.5px rgba(224,179,82,0.6)); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 500; color: var(--slate); font-size: 0.98rem; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--indigo-800); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--indigo-800); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #2e2f6e 0%, transparent 60%), linear-gradient(160deg, var(--indigo-900), var(--indigo-800) 60%, #101030);
  padding: 96px 0 104px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(224,179,82,0.14) 1px, transparent 0);
  background-size: 42px 42px;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero h1 .hl { color: var(--brass-400); }
.hero p.lead { font-size: 1.16rem; color: #cfd0e8; max-width: 560px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 500;
  padding: 7px 14px; border-radius: 100px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14); color: #e7e8f7;
}
.chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--brass-400); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.hero-card p { color: #b9bbd8; font-size: 0.9rem; margin-bottom: 20px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 16px; }
.stat b { font-family: var(--font-head); font-size: 1.5rem; color: var(--brass-400); display: block; }
.stat span { font-size: 0.8rem; color: #b9bbd8; }

/* trust bar */
.trustbar { background: var(--indigo-900); border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 34px; }
.trustbar span { color: #9a9cc0; font-size: 0.86rem; font-weight: 500; letter-spacing: .02em; }
.trustbar .sep { color: var(--brass-500); }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #e0dccf; }
.card .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fbf3df, #f3e2b6); color: var(--brass-500); margin-bottom: 18px; font-size: 1.5rem;
}
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.97rem; }
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.card ul li { position: relative; padding-left: 24px; font-size: 0.92rem; color: var(--slate); }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brass-500); font-weight: 700; }

.section-cream { background: var(--cream); }
.section-indigo { background: linear-gradient(160deg, var(--indigo-800), var(--indigo-900)); color: #fff; }
.section-indigo h2, .section-indigo h3 { color: #fff; }
.section-indigo .section-head p { color: #c2c4e0; }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.ind .em { font-size: 1.6rem; line-height: 1; }
.ind h4 { font-size: 1.02rem; margin-bottom: 3px; color: var(--indigo-800); }
.ind p { font-size: 0.86rem; color: var(--slate); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n {
  width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-800); color: var(--brass-400);
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; margin-bottom: 16px; font-size: 1.1rem;
}
.step h4 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--slate); }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price.featured { border: 2px solid var(--brass-500); box-shadow: var(--shadow-md); position: relative; }
.price.featured::before {
  content: "Most popular"; position: absolute; top: -13px; left: 28px; background: var(--brass-500);
  color: var(--indigo-900); font-family: var(--font-head); font-weight: 600; font-size: 0.72rem;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
}
.price h3 { font-size: 1.15rem; margin-bottom: 6px; }
.price .amt { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--indigo-800); margin: 8px 0 2px; }
.price .amt small { font-size: 0.9rem; color: var(--slate-light); font-weight: 500; }
.price .desc { font-size: 0.9rem; color: var(--slate); margin-bottom: 18px; }
.price ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.price ul li { position: relative; padding-left: 24px; font-size: 0.92rem; color: var(--slate); }
.price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brass-500); font-weight: 700; }
.price .btn { margin-top: auto; justify-content: center; }
.price-note { text-align: center; color: var(--slate); font-size: 0.9rem; margin-top: 22px; }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .s b { font-family: var(--font-head); font-size: 2.4rem; color: var(--brass-400); display: block; line-height: 1; }
.stats-band .s span { color: #c2c4e0; font-size: 0.92rem; }

/* testimonials */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--brass-500); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-size: 1rem; color: var(--ink); margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo-700), var(--indigo-900)); color: var(--brass-400); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote .who b { font-size: 0.95rem; color: var(--indigo-800); display: block; }
.quote .who span { font-size: 0.82rem; color: var(--slate-light); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--indigo-800);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .pm { color: var(--brass-500); font-size: 1.4rem; transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--slate); font-size: 0.97rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brass-500), var(--brass-400)); color: var(--indigo-900); border-radius: 22px; padding: 52px 48px; text-align: center; }
.cta-band h2 { color: var(--indigo-900); font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: #4a3c10; font-size: 1.05rem; margin-bottom: 26px; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .btn-dark { box-shadow: 0 10px 26px rgba(20,20,58,0.24); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 0.88rem; margin-bottom: 7px; color: var(--indigo-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.97rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass-500); box-shadow: 0 0 0 3px rgba(201,150,47,0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.contact-info { display: grid; gap: 18px; }
.ci { display: flex; gap: 14px; align-items: flex-start; }
.ci .ico { width: 46px; height: 46px; border-radius: 12px; background: #fbf3df; color: var(--brass-500); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.ci b { display: block; color: var(--indigo-800); font-family: var(--font-head); font-size: 0.98rem; }
.ci a, .ci span { color: var(--slate); font-size: 0.95rem; }
.form-note { font-size: 0.82rem; color: var(--slate-light); margin-top: 6px; }

/* ---------- Portfolio ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pf {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.pf:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pf .thumb { height: 168px; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; position: relative; }
.pf .thumb span { position: relative; z-index: 2; padding: 0 18px; text-align: center; }
.pf .body { padding: 22px 22px 26px; }
.pf .tag { font-size: 0.74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brass-500); }
.pf h3 { font-size: 1.12rem; margin: 6px 0 8px; }
.pf p { font-size: 0.9rem; color: var(--slate); margin-bottom: 12px; }
.pf .metrics { display: flex; gap: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.pf .metrics div b { font-family: var(--font-head); color: var(--indigo-800); font-size: 1.05rem; display: block; }
.pf .metrics div span { font-size: 0.76rem; color: var(--slate-light); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card .ph { height: 150px; background: linear-gradient(135deg, var(--indigo-700), var(--indigo-900)); position: relative; display: grid; place-items: center; color: var(--brass-400); font-size: 2rem; }
.post-card .pb { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: 0.74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brass-500); margin-bottom: 8px; }
.post-card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.post-card p { font-size: 0.92rem; color: var(--slate); margin-bottom: 16px; flex: 1; }
.post-card .rm { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--indigo-700); }

/* article */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--slate-light); font-size: 0.88rem; margin-bottom: 10px; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 18px; }
.article h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.article h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.article p { color: #33374a; font-size: 1.05rem; margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 18px 22px; color: #33374a; }
.article li { margin-bottom: 8px; }
.article .lead { font-size: 1.2rem; color: var(--slate); }
.article .callout { background: var(--cream); border-left: 4px solid var(--brass-500); border-radius: 8px; padding: 18px 22px; margin: 24px 0; }
.article .callout p { margin: 0; font-size: 1rem; }
.breadcrumb { font-size: 0.85rem; color: var(--slate-light); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--brass-500); }

/* page hero (inner) */
.page-hero { background: linear-gradient(160deg, var(--indigo-900), var(--indigo-800)); color: #fff; padding: 64px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; opacity:.4; background-image: radial-gradient(circle at 1px 1px, rgba(224,179,82,0.14) 1px, transparent 0); background-size: 40px 40px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; max-width: 760px; }
.page-hero p { color: #cfd0e8; font-size: 1.1rem; max-width: 620px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-900); color: #b9bbd8; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer p.ft-about { font-size: 0.92rem; color: #9a9cc0; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #9a9cc0; font-size: 0.92rem; transition: color .15s; }
.footer-col a:hover { color: var(--brass-400); }
.footer-contact div { margin-bottom: 12px; font-size: 0.92rem; color: #9a9cc0; }
.footer-contact b { color: #fff; display: block; font-family: var(--font-head); font-size: 0.85rem; margin-bottom: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: #7f82a8; }
.footer-bottom a:hover { color: var(--brass-400); }

/* whatsapp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.4); color: #fff; font-size: 1.6rem; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4, .ind-grid, .steps, .price-grid, .pf-grid, .blog-grid, .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .form-wrap { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .grid-3, .grid-4, .grid-2, .ind-grid, .steps, .price-grid, .pf-grid, .blog-grid, .stats-band, .client-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero-actions .btn, .price .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Logo sizing + Clients + refined responsive (overrides)
   ============================================================ */
.logo { font-size: 1.42rem; gap: 11px; }
.logo-text { white-space: nowrap; }
.logo-mark-img { width: 54px; height: 54px; }
.nav { height: 84px; }
.site-header .container.nav { min-height: 84px; }

/* Clients / selected work */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.client-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.client-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #e0dccf; }
.client-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f4f3ef; border-bottom: 1px solid var(--line); }
.client-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7d5cd; display: block; }
.client-bar i:nth-child(1){ background:#e0736a;} .client-bar i:nth-child(2){ background:#e6b95c;} .client-bar i:nth-child(3){ background:#7fbf7f;}
.client-bar span { margin-left: 8px; font-size: 0.72rem; color: var(--slate-light); font-family: var(--font-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-shot { position: relative; width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--indigo-700), var(--indigo-900)); overflow: hidden; }
.client-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.client-info { padding: 16px 18px 18px; }
.client-info .tag { font-size: 0.7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--brass-500); }
.client-info h3 { font-size: 1.05rem; margin: 5px 0 5px; }
.client-info p { font-size: 0.86rem; color: var(--slate); margin: 0 0 8px; }
.client-info .visit { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; color: var(--indigo-700); }
.client-info .visit::after { content: " ↗"; }

/* Tablet */
@media (max-width: 1024px) and (min-width: 721px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .logo-mark-img { width: 48px; height: 48px; }
  .logo { font-size: 1.28rem; }
  .nav, .site-header .container.nav { height: 76px; min-height: 76px; }
}
/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .logo-mark-img { width: 44px; height: 44px; }
  .logo { font-size: 1.18rem; gap: 9px; }
  .nav, .site-header .container.nav { height: 68px; min-height: 68px; }
  .nav-links.open { top: 68px; }
  .hero { padding: 68px 0 76px; }
  .cta-band { padding: 34px 20px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

/* ============================================================
   MOTION & FX LAYER — premium agency interactions
   ============================================================ */

/* ---- Preloader ---- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(1000px 700px at 50% 40%, #232456, #101030 70%);
  transition: opacity .6s ease, visibility .6s ease;
  animation: plAutoHide 0s linear 3.2s forwards; /* failsafe if JS doesn't run */
}
@keyframes plAutoHide { to { opacity: 0; visibility: hidden; } }
#preloader .pl-mark { width: 84px; height: 84px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.4)); animation: plPulse 1.4s ease-in-out infinite; }
#preloader .pl-bar { position: absolute; bottom: 26%; width: 160px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
#preloader .pl-bar::after { content:""; position:absolute; inset:0; width:40%; background: linear-gradient(90deg, transparent, var(--brass-400), transparent); animation: plSlide 1.1s ease-in-out infinite; }
@keyframes plPulse { 0%,100%{ transform: scale(1); opacity:.85 } 50%{ transform: scale(1.08); opacity:1 } }
@keyframes plSlide { 0%{ transform: translateX(-120%) } 100%{ transform: translateX(320%) } }
body.loaded #preloader { opacity: 0; visibility: hidden; }

/* ---- Scroll progress ---- */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: linear-gradient(90deg, var(--brass-500), var(--brass-300)); box-shadow: 0 0 12px rgba(224,179,82,.6); transition: width .1s linear; }

/* ---- Custom cursor (fine pointers only) ---- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); opacity: 0; }
.cursor-dot { width: 7px; height: 7px; background: var(--brass-400); }
.cursor-ring { width: 34px; height: 34px; border: 1.5px solid rgba(201,150,47,.55); transition: width .2s, height .2s, background .2s, border-color .2s; }
.cursor-ring.hovering { width: 56px; height: 56px; background: rgba(201,150,47,.10); border-color: rgba(201,150,47,.8); }
@media (hover: hover) and (pointer: fine) {
  body.cursor-on { cursor: none; }
  body.cursor-on a, body.cursor-on button, body.cursor-on .tilt { cursor: none; }
  body.cursor-on input, body.cursor-on textarea, body.cursor-on select { cursor: auto; }
  .cursor-dot, .cursor-ring { opacity: 1; }
}

/* ---- Grain overlay ---- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Header shrink on scroll ---- */
.site-header { transition: height .3s ease, background .3s ease, box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 26px rgba(20,20,58,.09); background: rgba(255,255,255,.94); }
.site-header.scrolled .nav, .site-header.scrolled .container.nav { height: 66px; min-height: 66px; }
.site-header.scrolled .logo-mark-img { width: 44px; height: 44px; }

/* ---- Hero upgrades ---- */
.hero { min-height: 92vh; display: flex; align-items: center; }
.hero-canvas { position: absolute; inset: 0; z-index: 1; opacity: .9; }
.hero .container { position: relative; z-index: 3; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 1; pointer-events: none; will-change: transform; }
.blob.b1 { width: 460px; height: 460px; background: radial-gradient(circle, #3a3c8f, transparent 70%); top: -120px; right: -80px; animation: blobFloat 16s ease-in-out infinite; }
.blob.b2 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(201,150,47,.5), transparent 70%); bottom: -120px; left: -60px; animation: blobFloat 20s ease-in-out infinite reverse; }
@keyframes blobFloat { 0%,100%{ transform: translate(0,0) scale(1) } 50%{ transform: translate(30px,-30px) scale(1.1) } }

.grad-text { background: linear-gradient(100deg, var(--brass-300), var(--brass-500) 40%, #fff 55%, var(--brass-400)); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradShift 6s linear infinite; }
@keyframes gradShift { to { background-position: 220% center; } }

/* rotating word */
.rotator { display: inline-block; position: relative; }
.rotator .rot-word { display: inline-block; }
.rotator .cursor-bar { display:inline-block; width:3px; height:1em; background: var(--brass-400); margin-left:2px; vertical-align:-2px; animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* hero mockup (browser window) */
.hero-visual { position: relative; perspective: 1200px; }
.mockup { position: relative; border-radius: 16px; overflow: hidden; background: #0f1030; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 90px rgba(0,0,0,.45); transform-style: preserve-3d; transition: transform .2s ease; will-change: transform; }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #1a1b3d; border-bottom: 1px solid rgba(255,255,255,.08); }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar i:nth-child(1){ background:#ff5f57 } .mockup-bar i:nth-child(2){ background:#febc2e } .mockup-bar i:nth-child(3){ background:#28c840 }
.mockup-bar span { margin-left: 10px; font-size: .72rem; color: #9a9cc0; }
.mockup-shots { position: relative; aspect-ratio: 16/10.5; }
.mockup-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .8s ease; }
.mockup-shots img.active { opacity: 1; }
.float-tag { position: absolute; z-index: 4; background: rgba(255,255,255,.96); color: var(--indigo-800); font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  padding: 9px 13px; border-radius: 12px; box-shadow: 0 14px 30px rgba(20,20,58,.22); display: flex; align-items: center; gap: 8px; }
.float-tag .fdot { width: 8px; height: 8px; border-radius: 50%; }
.float-tag.t1 { top: 16%; left: -34px; animation: floatY 5s ease-in-out infinite; }
.float-tag.t2 { bottom: 14%; right: -26px; animation: floatY 6s ease-in-out infinite 1s; }
@keyframes floatY { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }

/* ---- Marquee ---- */
.marquee { overflow: hidden; background: var(--indigo-900); padding: 20px 0; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 44px; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #6a6d9c; white-space: nowrap; letter-spacing: -.01em; }
.marquee-item b { color: var(--brass-400); }
.marquee-item .star { color: var(--brass-500); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Card spotlight + tilt ---- */
.card, .ind, .quote, .price, .step, .client-card { position: relative; }
.card.spot::before, .price.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(201,150,47,.14), transparent 60%);
}
.card.spot:hover::before, .price.spot:hover::before { opacity: 1; }
.tilt { transform-style: preserve-3d; will-change: transform; transition: transform .18s ease; }

/* ---- Magnetic buttons ---- */
.btn.magnetic { will-change: transform; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
/* shine sweep on primary */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content:""; position:absolute; top:0; left:-120%; width:60%; height:100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transition: left .5s ease; }
.btn-primary:hover::after { left: 130%; }

/* ---- Kinetic statement ---- */
.kinetic { background: var(--indigo-900); color: #fff; text-align: center; overflow: hidden; }
.kinetic h2 { font-size: clamp(2rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.03em; }
.kinetic .outline { color: transparent; -webkit-text-stroke: 1.4px rgba(224,179,82,.55); }
.kinetic p { color: #b9bbd8; max-width: 560px; margin: 22px auto 0; font-size: 1.08rem; }

/* ---- Reveal variants ---- */
.reveal.fade-up { transform: translateY(34px); }
.reveal.fade-left { transform: translateX(-40px); opacity: 0; }
.reveal.fade-right { transform: translateX(40px); opacity: 0; }
.reveal.zoom-in { transform: scale(.92); opacity: 0; }
.reveal.in { opacity: 1 !important; transform: none !important; }

/* section heading underline sweep */
.section-head h2 { position: relative; display: inline-block; }
.section-head.center h2::after { content:""; display:block; width:0; height:3px; margin:14px auto 0; border-radius:3px;
  background: linear-gradient(90deg, var(--brass-500), var(--brass-300)); transition: width .8s ease .2s; }
.section-head.center.in h2::after { width: 68px; }

/* icon pop on card hover */
.card:hover .ico { transform: translateY(-4px) rotate(-4deg) scale(1.06); transition: transform .3s cubic-bezier(.2,.9,.3,1.3); }

/* nav link underline */
.nav-links a { position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0; background: var(--brass-500); transition: width .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  .hero-canvas, .blob, .marquee-track, #preloader .pl-mark, #preloader .pl-bar::after,
  .grad-text, .float-tag, .cursor-bar { animation: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.cursor-on { cursor: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* hero metrics + rotator */
.hero-metrics { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-metrics > div { display: flex; flex-direction: column; }
.hero-metrics b { font-family: var(--font-head); font-size: 2rem; color: var(--brass-400); line-height: 1; }
.hero-metrics span { font-size: .82rem; color: #b9bbd8; margin-top: 5px; max-width: 130px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
.hero h1 .cursor-bar { height: .82em; }
.rot-word { display: inline-block; min-width: 4.2ch; transition: opacity .26s ease, transform .26s ease; }
@media (max-width: 480px){ .hero-metrics { gap: 20px; } .hero-metrics b { font-size: 1.55rem; } .float-tag { display: none; } }

/* ============================================================
   READABILITY FIXES + CINEMATIC HERO (v2)
   ============================================================ */

/* Dark-section step text now readable */
.section-indigo .step h4 { color: #ffffff; }
.section-indigo .step p { color: #c2c4e0; }
.section-indigo .step .n { background: rgba(255,255,255,.08); color: var(--brass-400); box-shadow: inset 0 0 0 1px rgba(224,179,82,.35); }

/* Kinetic statement: readable brass gradient instead of faint outline */
.kinetic .outline {
  -webkit-text-stroke: 0; color: transparent;
  background: linear-gradient(100deg, var(--brass-300), var(--brass-500) 55%, #ffffff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kinetic h2 { text-shadow: 0 2px 30px rgba(0,0,0,.25); }

/* ---- Intro overlay (logo first) ---- */
#preloader .intro-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
#preloader .pl-mark { width: clamp(120px, 22vw, 200px); height: auto; animation: introMark 1.2s cubic-bezier(.2,.8,.2,1) both; }
#preloader .pl-word { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 4vw, 2.2rem); color: #fff; letter-spacing: -.01em; opacity: 0; animation: introWord .7s ease .5s both; }
#preloader .pl-word span { color: var(--brass-400); }
#preloader .pl-bar { bottom: 20%; }
@keyframes introMark { 0% { opacity: 0; transform: scale(.6) translateY(10px); } 60% { opacity: 1; } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes introWord { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- Centered hero v2 ---- */
.hero-inner { max-width: 940px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-inner .chip { margin-bottom: 6px; }
.hero-icon { width: clamp(72px, 9vw, 104px); height: auto; margin-bottom: 22px; filter: drop-shadow(0 14px 34px rgba(0,0,0,.4)); animation: heroIconFloat 6s ease-in-out infinite; }
@keyframes heroIconFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-inner h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); margin: 6px 0 18px; }
.hero-inner .lead { margin-left: auto; margin-right: auto; }
.hero-inner .hero-actions { justify-content: center; }
.hero-inner .hero-metrics { justify-content: center; }

/* choreographed reveal — only when JS is active, so it's safe if JS fails */
html.js .hero-anim { opacity: 0; transform: translateY(26px); }
body.revealed .hero-anim { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }

/* scroll cue */
.scroll-cue { display: inline-block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; margin-top: 40px; position: relative; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--brass-400); animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.scroll-cue:hover { border-color: var(--brass-400); }

@media (prefers-reduced-motion: reduce) and (min-width: 100000px) {
  #preloader .pl-mark, #preloader .pl-word, .hero-icon, .scroll-cue span { animation: none !important; }
  html.js .hero-anim { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   FURNISHED SECTIONS (v3) — impressive components
   ============================================================ */

/* refined trust strip */
.trust-strip { background: var(--indigo-900); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); padding: 26px 0; }
.trust-strip .container { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.trust-strip .tt { color: #8e90bd; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-family: var(--font-head); font-weight: 600; }
.trust-strip .tr { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.trust-strip .tr span { color: #d3d4ee; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; display: inline-flex; align-items: center; gap: 12px; }
.trust-strip .tr span::before { content: "◆"; color: var(--brass-500); font-size: .7rem; }

/* deliverables / check grid */
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.check-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; gap: 13px; align-items: flex-start; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.check-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.check-item .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brass-400), var(--brass-500)); color: #fff; display: grid; place-items: center; font-size: .9rem; font-weight: 800; }
.check-item p { font-size: .92rem; color: var(--ink); font-weight: 500; line-height: 1.4; }
.section-indigo .check-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section-indigo .check-item p { color: #e7e8f7; }

/* timeline (vertical connected process) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, transparent, rgba(224,179,82,.5), transparent); }
.tl-step { position: relative; text-align: center; }
.tl-step .tl-dot { width: 48px; height: 48px; margin: 0 auto 18px; border-radius: 50%; background: var(--indigo-800); border: 2px solid var(--brass-500); color: var(--brass-400); font-family: var(--font-head); font-weight: 700; display: grid; place-items: center; position: relative; z-index: 2; box-shadow: 0 0 0 6px rgba(20,20,58,1); }
.section-indigo .tl-step .tl-dot { box-shadow: 0 0 0 6px var(--indigo-900); }
.tl-step h4 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.tl-step p { color: #c2c4e0; font-size: .92rem; }

/* big impact numbers */
.impact-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.impact-band .im b { font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--brass-400); display: block; line-height: 1; letter-spacing: -.02em; }
.impact-band .im span { color: #c2c4e0; font-size: .92rem; display: block; margin-top: 8px; }

/* editorial split (about) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split-media { border-radius: 20px; overflow: hidden; position: relative; background: linear-gradient(160deg, var(--indigo-800), var(--indigo-900)); min-height: 360px; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.split-media img { width: 58%; opacity: .96; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }
.split-media .sm-tag { position: absolute; bottom: 18px; left: 18px; right: 18px; color: #cfd0e8; font-size: .84rem; text-align: center; }

/* pull quote */
.pullquote { max-width: 860px; margin: 0 auto; text-align: center; }
.pullquote p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.35; color: var(--indigo-800); letter-spacing: -.02em; }
.pullquote .pq-mark { font-size: 3rem; color: var(--brass-400); line-height: 0; }
.section-indigo .pullquote p { color: #fff; }

/* number-led feature rows (services) */
.feature-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 26px 0; border-top: 1px solid var(--line); }
.feature-row .fr-n { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--brass-500); }
.feature-row h3 { font-size: 1.3rem; margin-bottom: 6px; }
.feature-row p { color: var(--slate); }

@media (max-width: 960px){
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .timeline::before { display: none; }
  .impact-band { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px){
  .check-grid, .impact-band { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 44px 1fr; gap: 14px; }
}

/* ============================================================
   v4 — mobile fixes, uniform industries, site-wide hero motion
   ============================================================ */

/* Hero headline: stacked so the rotating word never changes line count */
.hero-inner h1 { line-height: 1.12; }
.hero-inner h1 .rot-line { display: block; }
.rot-word { min-width: 5ch; text-align: left; }
@media (max-width: 600px){
  .hero-inner h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .rot-word { min-width: 4.5ch; }
}

/* Industries: even 4-up grid, uniform cards */
.ind-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind { min-height: 138px; align-items: flex-start; }
.ind h4 { font-size: 1rem; }
.ind p { font-size: .85rem; }
@media (max-width: 980px){ .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .ind-grid { grid-template-columns: 1fr; } .ind { min-height: 0; } }

/* Client/work cards: kill mobile overflow */
.client-card { max-width: 100%; }
.client-bar { min-width: 0; }
.client-bar span { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
.client-shot img { max-width: 100%; }
@media (max-width: 720px){
  .client-grid { grid-template-columns: 1fr; gap: 20px; }
  .client-shot { aspect-ratio: 16 / 11; }
}

/* Animated background on every inner-page hero */
.page-hero { position: relative; overflow: hidden; }
.page-hero .hero-canvas { position: absolute; inset: 0; z-index: 1; opacity: .7; }
.page-hero .blob { z-index: 1; }
.page-hero .container { position: relative; z-index: 3; }

/* page-hero content entrance */
.page-hero .reveal.in { transition: opacity .7s ease, transform .7s ease; }

/* ============================================================
   INTERACTIVE SECTORS SHOWCASE (v5)
   ============================================================ */
.sectors { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: stretch; }
.sector-tabs { display: flex; flex-direction: column; gap: 9px; }
.sector-tab {
  display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line); background: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--indigo-800);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.sector-tab svg { width: 24px; height: 24px; flex-shrink: 0; stroke: var(--slate); fill: none; stroke-width: 1.7; transition: stroke .2s ease, transform .3s ease; }
.sector-tab:hover { transform: translateX(4px); border-color: #e0dccf; box-shadow: var(--shadow-sm); }
.sector-tab:hover svg { stroke: var(--brass-500); }
.sector-tab.active {
  background: linear-gradient(135deg, var(--indigo-800), var(--indigo-900)); color: #fff; border-color: transparent;
  box-shadow: 0 12px 26px rgba(20,20,58,.22);
}
.sector-tab.active svg { stroke: var(--brass-400); transform: scale(1.12) rotate(-4deg); }
.sector-tab .st-ar { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: .2s; color: var(--brass-400); }
.sector-tab.active .st-ar { opacity: 1; transform: none; }

.sector-stage { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 34px; overflow: hidden; box-shadow: var(--shadow-sm); }
.sector-stage::before { content: ""; position: absolute; top: -40%; right: -20%; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(201,150,47,.12), transparent 70%); pointer-events: none; }
.sector-panel { display: none; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; position: relative; z-index: 2; }
.sector-panel.active { display: grid; animation: sectorIn .55s cubic-bezier(.2,.8,.2,1); }
@keyframes sectorIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.sector-orb { position: relative; width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, var(--indigo-700), var(--indigo-900) 72%); box-shadow: 0 24px 50px rgba(20,20,58,.3); }
.sector-orb::before { content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brass-500), transparent 35%, var(--brass-400) 62%, transparent 85%, var(--brass-500));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
  animation: spin 7s linear infinite; }
.sector-orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 40px rgba(0,0,0,.35); }
.sector-orb svg { width: 88px; height: 88px; stroke: var(--brass-400); fill: none; stroke-width: 1.5; position: relative; z-index: 2; animation: orbFloat 5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbFloat { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(3deg); } }

.sector-content .eyebrow { margin-bottom: 8px; }
.sector-content h3 { font-size: 1.5rem; margin-bottom: 10px; letter-spacing: -.02em; }
.sector-content p { color: var(--slate); font-size: 1rem; margin-bottom: 16px; }
.sector-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sector-chips span { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 7px 13px; font-size: .82rem; font-weight: 500; color: var(--indigo-800); }
.sector-kw { font-size: .86rem; color: var(--slate); display: inline-flex; align-items: center; gap: 8px; background: rgba(201,150,47,.1); border: 1px solid rgba(201,150,47,.25); padding: 8px 14px; border-radius: 10px; }
.sector-kw b { color: var(--brass-500); font-family: var(--font-head); }
.sector-kw .kwi { color: var(--brass-500); }

@media (max-width: 900px){
  .sectors { grid-template-columns: 1fr; gap: 18px; }
  .sector-tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sector-tabs::-webkit-scrollbar { display: none; }
  .sector-tab { flex: 0 0 auto; white-space: nowrap; padding: 11px 15px; font-size: .9rem; }
  .sector-tab .st-ar { display: none; }
  .sector-panel.active { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 22px; }
  .sector-orb { width: 150px; height: 150px; }
  .sector-orb svg { width: 66px; height: 66px; }
  .sector-chips { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 100000px){
  .sector-orb::before, .sector-orb svg { animation: none !important; }
  .sector-panel.active { animation: none !important; }
}

/* ============================================================
   v6 — extra motion (stagger, chips, hovers)
   ============================================================ */
/* staggered chip entrance when a sector panel activates */
.sector-panel.active .sector-chips span { opacity: 0; animation: chipIn .5s ease forwards; }
.sector-panel.active .sector-chips span:nth-child(1){ animation-delay:.10s }
.sector-panel.active .sector-chips span:nth-child(2){ animation-delay:.18s }
.sector-panel.active .sector-chips span:nth-child(3){ animation-delay:.26s }
.sector-panel.active .sector-chips span:nth-child(4){ animation-delay:.34s }
@keyframes chipIn { from { opacity:0; transform: translateY(10px); } to { opacity:1; transform:none; } }
.sector-chips span { transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.sector-chips span:hover { transform: translateY(-2px); border-color: var(--brass-500); color: var(--brass-500); }

/* check items: animated tick + lift already; add icon pop */
.check-item:hover .ck { transform: scale(1.12) rotate(-6deg); transition: transform .3s cubic-bezier(.2,.9,.3,1.3); }

/* impact numbers gently scale on hover */
.impact-band .im { transition: transform .25s ease; }
.impact-band .im:hover { transform: translateY(-4px); }

/* quote / testimonial lift */
.quote { transition: transform .2s ease, box-shadow .2s ease; }
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* generic reveal stagger helper (set by JS via --d) */
.reveal[style*="--d"] { transition-delay: var(--d); }

@media (prefers-reduced-motion: reduce) and (min-width: 100000px){
  .sector-panel.active .sector-chips span { animation: none !important; opacity: 1 !important; }
}

/* ============================================================
   v7 — TYPOGRAPHY OVERHAUL
   Fraunces (expressive display serif) + Space Grotesk (UI) + Inter (body)
   ============================================================ */
:root{
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
/* default headings: crisp modern grotesk */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; }

/* the big emotional headlines: expressive Fraunces serif */
.hero-inner h1, .page-hero h1, .section-head h2, .kinetic h2,
.sector-content h3, .pullquote p, .article h1, .cta-band h2, .quote p {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.07;
}
.hero-inner h1 { font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 1.02; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.kinetic h2 { font-size: clamp(2.3rem, 7.2vw, 5.4rem); }
.sector-content h3 { font-size: 1.85rem; }
.cta-band h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }

/* rotating hero word + gradient text: elegant italic */
.hero-inner h1 .rot-word, .grad-text { font-family: var(--font-display); font-style: italic; font-weight: 500; }

/* quotes look editorial, not bold-sans */
.quote p { font-weight: 500; font-size: 1.12rem; line-height: 1.4; letter-spacing: -0.01em; }

/* eyebrows, buttons, nav, chips, tabs: spaced techy grotesk */
.eyebrow { font-family: var(--font-head); letter-spacing: 0.24em; font-weight: 600; }
.btn, .nav-links a, .logo, .pl-word, .chip, .marquee-item, .sector-tab, .price .amt, .stats-band .s b, .impact-band .im b, .hero-metrics b, .stat b { font-family: var(--font-head); }

/* body copy stays Inter for readability */
body, p, li, .lead, .section-head p, .card p, .article p, .field input, .field textarea, .field select { font-family: var(--font-body); }

/* heading colour: dark on light sections, WHITE on dark sections */
.section-indigo h1, .section-indigo h2, .section-indigo h3, .section-indigo h4,
.section-indigo .section-head h2, .kinetic h2, .hero-inner h1, .page-hero h1, .pullquote p { color: #ffffff; }

/* ============================================================
   v12 — Mouse aura (trailing brass glow)
   ============================================================ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 300px; height: 300px; border-radius: 50%;
  pointer-events: none; z-index: 9997; transform: translate(-50%, -50%); opacity: 0; will-change: left, top;
  background: radial-gradient(circle, rgba(224,179,82,0.20), rgba(224,179,82,0.07) 42%, transparent 70%);
  mix-blend-mode: screen; transition: opacity .3s ease, width .25s ease, height .25s ease;
}
.cursor-glow.hovering { width: 380px; height: 380px; }
@media (hover: hover) and (pointer: fine){
  .cursor-glow { opacity: 1; animation: glowBreath 3.6s ease-in-out infinite; }
}
@keyframes glowBreath { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }

/* ============================================================
   v13 — keep native cursor, drop dot, shrink aura
   ============================================================ */
/* bring back the real OS mouse pointer */
body.cursor-on { cursor: auto !important; }
body.cursor-on a, body.cursor-on button, body.cursor-on .tilt,
body.cursor-on .sector-tab, body.cursor-on .faq-q, body.cursor-on .btn { cursor: pointer !important; }
/* hide the custom dot (native arrow replaces it) */
.cursor-dot { display: none !important; }
/* smaller aura ring */
.cursor-ring { width: 22px !important; height: 22px !important; border-width: 1.5px; }
.cursor-ring.hovering { width: 38px !important; height: 38px !important; }
/* smaller trailing glow */
.cursor-glow { width: 170px !important; height: 170px !important; }
.cursor-glow.hovering { width: 220px !important; height: 220px !important; }

/* ============================================================
   v14 — bug fixes + heavy animation layer
   ============================================================ */
/* FIX: rotating hero word — comma hugs the word (remove reserved gap) */
.rot-word { min-width: 0 !important; }
.hero-inner h1 .rot-line { white-space: nowrap; }

/* FIX: smaller mouse aura */
.cursor-ring { width: 16px !important; height: 16px !important; }
.cursor-ring.hovering { width: 30px !important; height: 30px !important; }
.cursor-glow { width: 130px !important; height: 130px !important; }
.cursor-glow.hovering { width: 180px !important; height: 180px !important; }

/* hero animated gradient sheen (behind canvas) */
.hero::before { content:""; position:absolute; inset:-20% -20% auto -20%; height:150%; z-index:0; pointer-events:none;
  background: radial-gradient(620px 320px at 32% 22%, rgba(201,150,47,0.12), transparent 62%);
  animation: heroSheen 12s ease-in-out infinite alternate; }
@keyframes heroSheen { 0%{ transform: translateX(-6%);} 100%{ transform: translateX(9%);} }

/* card shine sweep on hover */
.card { position: relative; overflow: hidden; }
.card::after { content:""; position:absolute; top:0; left:-130%; width:65%; height:100%; transform: skewX(-20deg); pointer-events:none; z-index:1;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent); transition: left .6s ease; }
.card:hover::after { left: 150%; }
.card > * { position: relative; z-index: 2; }

/* service icons idle float */
.card .ico { animation: icoFloat 4s ease-in-out infinite; }
@keyframes icoFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-5px);} }

/* work/client thumbnails zoom on hover */
.client-shot img { transition: transform .5s ease; }
.client-card:hover .client-shot img { transform: scale(1.06); }

/* kinetic outline: shimmering brass + float */
.kinetic .outline { background-size: 220% auto; animation: kineticShimmer 5s linear infinite; }
@keyframes kineticShimmer { to { background-position: 220% center; } }

/* eyebrow shimmer */
.eyebrow { background: linear-gradient(90deg, var(--brass-500), var(--brass-300) 45%, var(--brass-500));
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: ebShimmer 5s linear infinite; }
@keyframes ebShimmer { to { background-position: 220% center; } }

/* impact numbers + check ticks subtle idle pulse */
.impact-band .im b { animation: numGlow 4s ease-in-out infinite; }
@keyframes numGlow { 0%,100%{ text-shadow: 0 0 0 rgba(224,179,82,0);} 50%{ text-shadow: 0 0 22px rgba(224,179,82,.35);} }

/* scroll-cue bob already animates; add a soft ring pulse under logo intro */

/* v15 — tighten hero headline line spacing (block rot-line, no <br> doubling) */
.hero-inner h1 { line-height: 1.04; }
.hero-inner h1 .rot-line { display: block; line-height: 1.04; margin: 0; }

/* ============================================================
   v16 — EXTRA-HEAVY motion layer
   ============================================================ */
/* word-by-word heading reveal */
.wsplit { display:inline-block; opacity:0; transform: translateY(42px) rotate(6deg);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); will-change: transform, opacity; }
.words-in .wsplit { opacity:1; transform:none; }

/* particle fields injected into dark sections */
.sect-canvas { position:absolute; inset:0; z-index:0; opacity:.55; pointer-events:none; }
.section-indigo, .kinetic { position: relative; }

/* mouse comet trail */
.trail-dot { position:fixed; top:0; left:0; width:8px; height:8px; border-radius:50%; background: var(--brass-400);
  pointer-events:none; z-index:9996; transform: translate(-50%,-50%); box-shadow:0 0 10px rgba(224,179,82,.6); mix-blend-mode: screen; }

/* click ripple */
.click-ripple { position:fixed; width:12px; height:12px; border-radius:50%; border:2px solid var(--brass-400);
  transform: translate(-50%,-50%); pointer-events:none; z-index:9996; animation: ripple .7s ease-out forwards; }
@keyframes ripple { to { width:130px; height:130px; opacity:0; border-width:1px; } }

/* pulsing primary CTA to draw the eye */
.cta-band .btn-dark, .hero-actions .btn-primary { animation: ctaPulse 2.8s ease-in-out infinite; }
@keyframes ctaPulse { 0%,100%{ box-shadow: 0 8px 22px rgba(201,150,47,.32);} 50%{ box-shadow: 0 10px 34px rgba(224,179,82,.6);} }

/* floating drift for hero chip + emblem sparkle */
.hero-inner .chip { animation: chipFloat 5s ease-in-out infinite; }
@keyframes chipFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-6px);} }

/* section reveal: add a gentle blur-in on top of existing reveal */
.reveal { filter: blur(6px); }
.reveal.in { filter: blur(0); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
@media (prefers-reduced-motion: reduce) and (min-width: 100000px){ .reveal { filter:none; } }
