/* =========================================================
   BRANKET SOLUTIONS — DESIGN SYSTEM v2 (light / brand theme)
   ========================================================= */

:root{
  /* Brand colors sampled from the logo */
  --cream:      #FFF9F2;
  --cream-2:    #FCEFE0;
  --mint:       #EAF6EE;
  --ink:        #211D18;
  --ink-soft:   #5B564C;
  --ink-faint:  #8B867B;
  --line:       rgba(33,29,24,0.10);
  --line-strong:rgba(33,29,24,0.18);
  --white:      #FFFFFF;

  --orange:     #F0721E;
  --orange-2:   #F7A72B;
  --green:      #3FA65A;
  --green-2:    #7AC97F;

  --grad-brand: linear-gradient(120deg, var(--orange-2), var(--orange) 45%, #C98A3B 60%, var(--green));
  --grad-warm:  linear-gradient(135deg, var(--orange-2), var(--orange));
  --grad-cool:  linear-gradient(135deg, var(--green-2), var(--green));

  --f-display: 'Sora', sans-serif;
  --f-body:    'Inter', sans-serif;
  --f-mono:    'IBM Plex Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 30px;
  --container: 1180px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--f-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--f-display); font-weight:700; margin:0; letter-spacing:-0.01em; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}
:focus-visible{ outline:2px solid var(--orange); outline-offset:3px; border-radius:4px; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 28px; position:relative; z-index:2; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-delay-1{ transition-delay:.08s; }
.reveal-delay-2{ transition-delay:.16s; }
.reveal-delay-3{ transition-delay:.24s; }

/* ---------- Background patterns ---------- */
.dot-grid{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:radial-gradient(var(--line-strong) 1.4px, transparent 1.4px);
  background-size:26px 26px;
  mask-image:radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 90%);
}
.blob{
  position:absolute; border-radius:50%; filter:blur(60px); opacity:.55; z-index:0; pointer-events:none;
  animation:float 9s ease-in-out infinite;
}
.blob-orange{ background:var(--grad-warm); }
.blob-green{ background:var(--grad-cool); }
@keyframes float{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(24px,-20px) scale(1.06); }
  66%{ transform:translate(-18px,16px) scale(0.97); }
}
@keyframes floatSlow{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-14px) rotate(3deg); }
}

.eyebrow{
  font-family:var(--f-mono); font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--orange); display:flex; align-items:center; gap:10px; margin-bottom:18px;
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--grad-warm); border-radius:2px; display:inline-block; }
.eyebrow.on-dark{ color:var(--orange-2); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:15px 28px; border-radius:999px;
  font-family:var(--f-body); font-weight:700; font-size:14.5px; border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s ease, background .3s ease, border-color .3s ease;
  white-space:nowrap; position:relative;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--grad-warm); color:#fff; box-shadow:0 10px 24px -8px rgba(240,114,30,0.55); }
.btn-primary:hover{ box-shadow:0 14px 30px -6px rgba(240,114,30,0.65); }
.btn-ghost{ border-color:var(--line-strong); color:var(--ink); background:rgba(255,255,255,0.5); }
.btn-ghost:hover{ border-color:var(--ink); background:#fff; }
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; }
.btn-sm{ padding:11px 20px; font-size:13px; }

/* ---------- Navbar ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  padding:22px 0; transition:background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav.is-scrolled{
  background:rgba(255,249,242,0.85); backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line); padding:14px 0;
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--f-display); font-weight:700; font-size:19px; }
.brand img{ height:34px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:14.5px; font-weight:600; color:var(--ink-soft); transition:color .25s ease; position:relative; }
.nav-links a:hover, .nav-links a.active{ color:var(--ink); }
.nav-links a.active::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--grad-warm); border-radius:2px; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-toggle{ display:none; background:none; border:none; color:var(--ink); padding:6px; }
.nav-toggle svg{ width:24px; height:24px; }

.mobile-menu{
  position:fixed; inset:0; z-index:190; background:var(--cream);
  display:flex; flex-direction:column; padding:110px 28px 40px;
  transform:translateY(-100%); transition:transform .4s var(--ease);
}
.mobile-menu.open{ transform:translateY(0); }
.mobile-menu a{ font-family:var(--f-display); font-size:28px; padding:16px 0; border-bottom:1px solid var(--line); }
.mobile-menu .btn{ margin-top:24px; align-self:flex-start; }

@media (max-width:860px){
  .nav-links{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; padding:190px 0 100px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:50px; align-items:center; }
.hero h1{ font-size:clamp(38px, 5.2vw, 66px); line-height:1.06; }
.hero h1 .hl{
  background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; color:transparent;
  background-size:200% auto; animation:sheen 4s linear infinite;
}
@keyframes sheen{ to{ background-position:200% center; } }
.hero-sub{ margin-top:24px; font-size:18px; color:var(--ink-soft); max-width:520px; line-height:1.65; }
.hero-ctas{ display:flex; gap:14px; margin-top:36px; flex-wrap:wrap; }
.hero-trust{ margin-top:50px; display:flex; align-items:center; gap:14px; font-family:var(--f-mono); font-size:12.5px; letter-spacing:0.08em; color:var(--ink-faint); text-transform:uppercase; }
.hero-trust .dot{ width:5px; height:5px; border-radius:50%; background:var(--orange); }

.hero-visual{ position:relative; height:440px; }
.hero-card{
  position:absolute; background:#fff; border-radius:var(--radius-md); border:1px solid var(--line);
  box-shadow:0 30px 60px -20px rgba(33,29,24,0.18); padding:20px; animation:floatSlow 5s ease-in-out infinite;
}
.hero-card.c1{ top:0; left:6%; width:230px; animation-delay:0s; }
.hero-card.c2{ top:150px; right:0; width:210px; animation-delay:1.2s; }
.hero-card.c3{ bottom:0; left:16%; width:200px; animation-delay:2.4s; }
.hero-card h5{ font-size:13px; font-family:var(--f-display); }
.hero-card .bar{ height:7px; border-radius:4px; background:var(--line); margin-top:10px; overflow:hidden; }
.hero-card .bar span{ display:block; height:100%; border-radius:4px; }
.hero-card .bar.w1 span{ width:82%; background:var(--grad-warm); }
.hero-card .bar.w2 span{ width:64%; background:var(--grad-cool); }
.hero-card .metric{ font-family:var(--f-mono); font-size:22px; margin-top:12px; color:var(--ink); }
.hero-card .metric-label{ font-size:11.5px; color:var(--ink-faint); margin-top:2px; }
.hero-ring{
  position:absolute; border-radius:50%; border:1.5px dashed var(--line-strong);
  top:50%; left:50%; transform:translate(-50%,-50%);
}
.hero-ring.r1{ width:340px; height:340px; }
.hero-ring.r2{ width:250px; height:250px; animation:spin 26s linear infinite; }
@keyframes spin{ to{ transform:translate(-50%,-50%) rotate(360deg); } }

@media (max-width:940px){
  .hero{ padding:150px 0 70px; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ height:320px; margin-top:20px; }
  .chip-float{ display:none; }
}

/* ---------- Marquee ---------- */
.marquee-outer{ overflow:hidden; padding:26px 0; background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line); position:relative; }
.marquee-track{ display:flex; gap:64px; width:max-content; animation:scroll 22s linear infinite; }
.marquee-track span{ font-family:var(--f-display); font-size:19px; font-weight:600; color:var(--ink-faint); white-space:nowrap; transition:color .3s ease; }
.marquee-track span:hover{ color:var(--orange); }
@keyframes scroll{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ---------- Sections ---------- */
section{ padding:110px 0; position:relative; }
.section-alt{ background:var(--white); }
.section-mint{ background:var(--mint); }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); line-height:1.15; }
.section-head p{ margin-top:16px; color:var(--ink-soft); font-size:17px; line-height:1.6; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Service rows (replaces generic 6-card grid) ---------- */
.service-row{
  display:grid; grid-template-columns:260px 1fr; gap:44px; align-items:center;
  padding:38px 0; border-top:1px solid var(--line);
}
.service-row:last-child{ border-bottom:1px solid var(--line); }
.service-icon{
  width:100%; aspect-ratio:1.15/1; border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.service-icon svg{ width:56%; height:56%; position:relative; z-index:2; transition:transform .5s var(--ease); }
.service-icon.i1{ background:linear-gradient(150deg, #FCEFE0, #FADBB0); }
.service-icon.i2{ background:linear-gradient(150deg, #EAF6EE, #C8ECD2); }
.service-icon.i3{ background:linear-gradient(150deg, #FCEFE0, #F6C79A); }
.service-icon.i4{ background:linear-gradient(150deg, #EAF6EE, #B7E4C2); }
.service-icon.i5{ background:linear-gradient(150deg, #FCEFE0, #FADBB0); }
.service-row:hover .service-icon svg{ transform:scale(1.08) rotate(-3deg); }
.service-copy .idx{ font-family:var(--f-mono); font-size:12.5px; color:var(--orange); letter-spacing:0.08em; }
.service-copy h3{ font-size:24px; margin-top:8px; }
.service-copy p{ margin-top:10px; color:var(--ink-soft); font-size:15.5px; line-height:1.65; max-width:640px; }
.service-copy .tags{ margin-top:16px; display:flex; flex-wrap:wrap; gap:8px; }
.service-copy .tag{ font-family:var(--f-mono); font-size:11.5px; color:var(--ink-soft); border:1px solid var(--line-strong); border-radius:6px; padding:4px 9px; background:#fff; }
@media (max-width:760px){
  .service-row{ grid-template-columns:1fr; }
  .service-icon{ max-width:180px; }
}

/* ---------- Generic cards ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media (max-width:900px){ .grid-3{ grid-template-columns:1fr 1fr; } .grid-2{grid-template-columns:1fr;} }
@media (max-width:640px){ .grid-3{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:34px 30px; transition:border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.card:hover{ border-color:var(--line-strong); transform:translateY(-5px); box-shadow:0 24px 46px -22px rgba(33,29,24,0.22); }
.card .idx{ font-family:var(--f-mono); font-size:12.5px; color:var(--orange); letter-spacing:0.08em; }
.card h3{ font-size:21px; margin-top:16px; }
.card p{ margin-top:12px; color:var(--ink-soft); font-size:15px; line-height:1.65; }
.card .tags{ margin-top:20px; display:flex; flex-wrap:wrap; gap:8px; }
.card .tag{ font-family:var(--f-mono); font-size:11.5px; color:var(--ink-soft); border:1px solid var(--line-strong); border-radius:6px; padding:4px 9px; }
.card-link{ margin-top:22px; display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:var(--ink); }
.card-link svg{ width:14px; height:14px; transition:transform .3s ease; }
.card:hover .card-link svg{ transform:translateX(4px); }

/* ---------- Process ---------- */
.process-list{ display:flex; flex-direction:column; }
.process-item{ display:grid; grid-template-columns:90px 1fr; gap:32px; padding:34px 0; border-top:1px solid var(--line); }
.process-item:last-child{ border-bottom:1px solid var(--line); }
.process-item .num{ font-family:var(--f-mono); font-size:14px; color:var(--orange); }
.process-item h3{ font-size:22px; }
.process-item p{ margin-top:10px; color:var(--ink-soft); max-width:560px; }
@media (max-width:640px){ .process-item{ grid-template-columns:1fr; gap:10px; } }

/* ---------- Portfolio ---------- */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:44px; }
.filter-btn{
  font-family:var(--f-mono); font-size:12.5px; letter-spacing:0.04em; padding:9px 16px; border-radius:999px;
  border:1px solid var(--line-strong); color:var(--ink-soft); background:#fff; transition:all .25s ease;
}
.filter-btn.active, .filter-btn:hover{ background:var(--grad-warm); color:#fff; border-color:transparent; }
.project-card{ display:none; }
.project-card.show{ display:block; animation:fadeUp .5s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }

/* ---------- Notice ---------- */
.notice{ border:1px dashed var(--line-strong); border-radius:var(--radius-md); padding:26px 28px; color:var(--ink-soft); font-size:14.5px; line-height:1.65; background:#fff; }
.notice strong{ color:var(--ink); }

/* ---------- Form ---------- */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:13px; font-weight:700; color:var(--ink-soft); }
.field input, .field select, .field textarea{
  background:var(--cream); border:1px solid var(--line-strong); border-radius:var(--radius-sm);
  padding:13px 15px; color:var(--ink); font-family:var(--f-body); font-size:14.5px; transition:border-color .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--orange); outline:none; }
.field textarea{ resize:vertical; min-height:110px; }
.form-status{ margin-top:18px; font-size:14px; }
.form-status.ok{ color:var(--green); }
.form-status.err{ color:var(--orange); }

/* ---------- Contact cards ---------- */
.contact-method{ display:flex; align-items:flex-start; gap:16px; padding:24px 0; border-top:1px solid var(--line); }
.contact-method:last-child{ padding-bottom:0; }
.contact-method .icon{ width:40px; height:40px; border-radius:10px; background:var(--cream-2); color:var(--orange); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-method .icon svg{ width:19px; height:19px; }
.contact-method h4{ font-size:15px; }
.contact-method a, .contact-method p{ color:var(--ink-soft); font-size:14.5px; margin-top:4px; }
.contact-method a:hover{ color:var(--ink); }

/* ---------- Final CTA ---------- */
.final-cta{
  border-radius:var(--radius-lg); background:var(--ink); color:#fff; padding:70px 60px; text-align:center;
  position:relative; overflow:hidden;
}
.final-cta::before{
  content:""; position:absolute; inset:-40% -20% auto auto; width:420px; height:420px; border-radius:50%;
  background:var(--grad-warm); filter:blur(80px); opacity:.35;
}
.final-cta::after{
  content:""; position:absolute; inset:auto auto -40% -20%; width:380px; height:380px; border-radius:50%;
  background:var(--grad-cool); filter:blur(80px); opacity:.35;
}
.final-cta h2{ font-size:clamp(28px,4vw,44px); max-width:640px; margin:0 auto; position:relative; z-index:2; }
.final-cta p{ margin-top:18px; color:rgba(255,255,255,0.72); max-width:500px; margin-left:auto; margin-right:auto; position:relative; z-index:2; }
.final-cta .hero-ctas{ justify-content:center; margin-top:34px; position:relative; z-index:2; }
@media (max-width:640px){ .final-cta{ padding:50px 24px; } }

/* ---------- Footer ---------- */
footer{ padding:80px 0 40px; background:var(--white); border-top:1px solid var(--line); }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; }
.footer-brand p{ margin-top:16px; color:var(--ink-soft); font-size:14.5px; max-width:280px; line-height:1.6; }
.footer-col h5{ font-family:var(--f-mono); font-size:12px; letter-spacing:0.1em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:18px; }
.footer-col li{ margin-bottom:12px; }
.footer-col a{ color:var(--ink-soft); font-size:14.5px; transition:color .25s ease; }
.footer-col a:hover{ color:var(--orange); }
.footer-bottom{
  margin-top:70px; padding-top:26px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size:13px; color:var(--ink-faint);
}
.footer-social{ display:flex; gap:16px; }
.footer-social a{ color:var(--ink-faint); }
.footer-social a:hover{ color:var(--orange); }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed; bottom:26px; right:26px; z-index:150; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 28px rgba(37,211,102,0.45); transition:transform .3s ease;
  animation:pulse 2.6s ease-in-out infinite;
}
.wa-float:hover{ transform:scale(1.08); animation:none; }
.wa-float svg{ width:27px; height:27px; fill:#fff; }
@keyframes pulse{ 0%,100%{ box-shadow:0 10px 28px rgba(37,211,102,0.45); } 50%{ box-shadow:0 10px 28px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ padding:170px 0 70px; position:relative; overflow:hidden; }
.page-hero h1{ font-size:clamp(34px,4.6vw,54px); max-width:760px; }
.page-hero p{ margin-top:20px; color:var(--ink-soft); font-size:17px; max-width:600px; }

/* ---------- Utility ---------- */
.mt-0{ margin-top:0; }
.center-text{ text-align:center; }
.small-note{ font-size:13px; color:var(--ink-faint); margin-top:14px; }

/* =========================================================
   DARK MODE
   ========================================================= */
html[data-theme="dark"]{
  --cream:      #14110D;
  --cream-2:    #1E1A14;
  --mint:       #10160F;
  --ink:        #F3EFE7;
  --ink-soft:   #C9C2B4;
  --ink-faint:  #8D8778;
  --line:       rgba(243,239,231,0.10);
  --line-strong:rgba(243,239,231,0.18);
  --white:      #1B1712;
}
html[data-theme="dark"] .card,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .filter-btn,
html[data-theme="dark"] .notice{ background:#1E1A14; }
html[data-theme="dark"] .service-copy .tag{ background:#1E1A14; }
html[data-theme="dark"] .btn-primary{ box-shadow:0 10px 24px -8px rgba(240,114,30,0.35); }
html[data-theme="dark"] .final-cta{ background:#0C0A08; }
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-brand img{ filter:brightness(1.05); }
html, body{ transition:background-color .45s ease, color .45s ease; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader{
  position:fixed; inset:0; z-index:999; background:var(--cream);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap:18px;
  transition:opacity .5s ease, visibility .5s ease;
}
.preloader.hide{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader img{ width:56px; height:56px; animation:loaderSpin 1.1s ease-in-out infinite; }
.preloader .loader-bar{ width:120px; height:3px; border-radius:3px; background:var(--line-strong); overflow:hidden; }
.preloader .loader-bar span{ display:block; height:100%; width:40%; background:var(--grad-warm); border-radius:3px; animation:loaderSlide 1s ease-in-out infinite; }
@keyframes loaderSpin{ 0%,100%{ transform:scale(1) rotate(0deg); } 50%{ transform:scale(0.9) rotate(8deg); } }
@keyframes loaderSlide{ 0%{ transform:translateX(-120%); } 100%{ transform:translateX(320%); } }

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:300;
  background:var(--grad-brand); transition:width .1s linear;
}

/* =========================================================
   FLOATING PARTICLES (ambient motion across sections)
   ========================================================= */
.particle-field{ position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0; }
.particle{
  position:absolute; border-radius:50%; opacity:.5;
  animation:particleDrift linear infinite;
}
@keyframes particleDrift{
  0%{ transform:translateY(0) translateX(0); }
  50%{ transform:translateY(-30px) translateX(14px); }
  100%{ transform:translateY(0) translateX(0); }
}

/* =========================================================
   TAGLINE STRIP
   ========================================================= */
.tagline-strip{
  font-family:var(--f-mono); font-size:12.5px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--ink-faint); text-align:center; padding:14px 0; border-bottom:1px solid var(--line);
}
.tagline-strip .hl{ color:var(--orange); }

/* =========================================================
   WORK / PROJECT COVER ART (custom SVG, no stock imagery)
   ========================================================= */
.cover-art{
  width:100%; aspect-ratio:16/10; border-radius:var(--radius-md); overflow:hidden; position:relative;
  margin-bottom:20px; display:flex; align-items:center; justify-content:center;
}
.cover-art svg{ width:60%; height:60%; position:relative; z-index:2; transition:transform .5s var(--ease); }
.project-card:hover .cover-art svg{ transform:scale(1.06) rotate(-2deg); }
.cover-1{ background:linear-gradient(150deg,#FCEFE0,#F6C79A); }
.cover-2{ background:linear-gradient(150deg,#EAF6EE,#B7E4C2); }
.cover-3{ background:linear-gradient(150deg,#FCEFE0,#FADBB0); }
.cover-4{ background:linear-gradient(150deg,#EAF6EE,#C8ECD2); }
.cover-5{ background:linear-gradient(150deg,#FCEFE0,#F0C9A0); }
.cover-6{ background:linear-gradient(150deg,#EAF6EE,#AEE0BC); }
.cover-7{ background:linear-gradient(150deg,#FCEFE0,#F6C79A); }
.cover-8{ background:linear-gradient(150deg,#EAF6EE,#C8ECD2); }

/* Industries (capability) cards — distinct from named client work */
.industry-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md);
  padding:26px 22px; text-align:center; transition:transform .3s ease, box-shadow .3s ease;
}
.industry-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -22px rgba(33,29,24,0.2); }
.industry-card .ic{ width:46px; height:46px; margin:0 auto 14px; }
.industry-card h4{ font-size:15px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
@media (max-width:900px){ .grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .grid-4{ grid-template-columns:1fr 1fr; gap:14px; } }

/* =========================================================
   BLOG
   ========================================================= */
.blog-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; display:flex; flex-direction:column;
}
.blog-card:hover{ transform:translateY(-5px); box-shadow:0 24px 46px -22px rgba(33,29,24,0.2); border-color:var(--line-strong); }
.blog-cover{ aspect-ratio:16/9; display:flex; align-items:center; justify-content:center; position:relative; }
.blog-cover svg{ width:44%; height:44%; }
.blog-body{ padding:24px 22px 28px; display:flex; flex-direction:column; gap:10px; flex:1; }
.blog-meta{ font-family:var(--f-mono); font-size:11.5px; color:var(--ink-faint); display:flex; gap:10px; align-items:center; text-transform:uppercase; letter-spacing:.05em; }
.blog-body h3{ font-size:19px; line-height:1.3; }
.blog-body p{ color:var(--ink-soft); font-size:14.5px; line-height:1.6; }
.blog-readmore{ margin-top:auto; font-size:13.5px; font-weight:700; color:var(--ink); display:inline-flex; align-items:center; gap:6px; }
.blog-readmore svg{ width:13px; height:13px; transition:transform .3s ease; }
.blog-card:hover .blog-readmore svg{ transform:translateX(4px); }

.article-body{ max-width:720px; margin:0 auto; }
.article-body h2{ font-size:26px; margin-top:42px; margin-bottom:14px; }
.article-body h3{ font-size:20px; margin-top:30px; margin-bottom:10px; }
.article-body p{ color:var(--ink-soft); font-size:16.5px; line-height:1.8; margin-bottom:18px; }
.article-body ul{ margin-bottom:18px; padding-left:22px; }
.article-body li{ color:var(--ink-soft); font-size:16.5px; line-height:1.8; list-style:disc; margin-bottom:8px; }
.article-hero-meta{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:22px; font-family:var(--f-mono); font-size:12.5px; color:var(--ink-faint); text-transform:uppercase; letter-spacing:.05em; }
.article-hero-meta .sep{ width:4px; height:4px; border-radius:50%; background:var(--ink-faint); }
.share-row{ display:flex; gap:12px; margin-top:36px; padding-top:26px; border-top:1px solid var(--line); }
.share-row a{
  font-family:var(--f-mono); font-size:12.5px; padding:9px 16px; border-radius:999px; border:1px solid var(--line-strong);
  color:var(--ink-soft); transition:all .25s ease;
}
.share-row a:hover{ background:var(--ink); color:var(--cream); border-color:var(--ink); }

/* Mobile fine-tuning */
@media (max-width:480px){
  .hero-sub, .page-hero p{ font-size:15.5px; }
  .btn{ padding:13px 22px; font-size:13.5px; }
  section{ padding:76px 0; }
  .final-cta{ padding:44px 22px; }
  .service-row{ padding:28px 0; }
  .hero-card{ padding:14px; }
  .hero-card.c1{ width:170px; left:0; }
  .hero-card.c2{ width:150px; }
  .hero-card.c3{ width:150px; left:8%; }
  .gauge{ width:52px; height:52px; }
}

/* =========================================================
   NAV THEME BUTTON (relocated from floating bottom position)
   ========================================================= */
.theme-btn{
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  background:var(--white); border:1px solid var(--line-strong); color:var(--ink);
  transition:transform .3s ease, background .3s ease;
}
.theme-btn:hover{ transform:translateY(-2px) rotate(-8deg); }
.theme-btn svg{ width:18px; height:18px; }
.theme-btn .icon-moon{ display:block; }
.theme-btn .icon-sun{ display:none; }
html[data-theme="dark"] .theme-btn .icon-moon{ display:none; }
html[data-theme="dark"] .theme-btn .icon-sun{ display:block; }
html[data-theme="dark"] .theme-btn{ background:#1E1A14; }

/* =========================================================
   SCROLL-TO-TOP (fixed, stacks above WhatsApp float)
   ========================================================= */
.scroll-top{
  position:fixed; bottom:96px; right:26px; z-index:150; width:48px; height:48px; border-radius:50%;
  background:var(--white); border:1px solid var(--line-strong); color:var(--ink);
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 24px -8px rgba(33,29,24,0.25);
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.scroll-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.scroll-top:hover{ transform:translateY(-3px); }
.scroll-top svg{ width:19px; height:19px; }
html[data-theme="dark"] .scroll-top{ background:#1E1A14; }
@media (max-width:640px){
  .scroll-top{ bottom:82px; right:20px; width:44px; height:44px; }
}

/* =========================================================
   DARK MODE — fix hardcoded light gradients on icon tiles
   ========================================================= */
html[data-theme="dark"] .service-icon.i1,
html[data-theme="dark"] .service-icon.i3,
html[data-theme="dark"] .service-icon.i5,
html[data-theme="dark"] .cover-1,
html[data-theme="dark"] .cover-3,
html[data-theme="dark"] .cover-5,
html[data-theme="dark"] .cover-7{ background:linear-gradient(150deg, #2A2115, #3A2A18); }
html[data-theme="dark"] .service-icon.i2,
html[data-theme="dark"] .service-icon.i4,
html[data-theme="dark"] .cover-2,
html[data-theme="dark"] .cover-4,
html[data-theme="dark"] .cover-6,
html[data-theme="dark"] .cover-8{ background:linear-gradient(150deg, #16211A, #1C2E20); }
html[data-theme="dark"] .industry-card{ background:#1E1A14; }
html[data-theme="dark"] .industry-card .ic{ opacity:.95; }
html[data-theme="dark"] .blog-cover.cover-1, html[data-theme="dark"] .blog-cover.cover-3,
html[data-theme="dark"] .blog-cover.cover-5, html[data-theme="dark"] .blog-cover.cover-7{ background:linear-gradient(150deg, #2A2115, #3A2A18); }
html[data-theme="dark"] .blog-cover.cover-2, html[data-theme="dark"] .blog-cover.cover-4,
html[data-theme="dark"] .blog-cover.cover-6, html[data-theme="dark"] .blog-cover.cover-8{ background:linear-gradient(150deg, #16211A, #1C2E20); }
html[data-theme="dark"] .btn-ghost{ background:rgba(255,255,255,0.04); }
html[data-theme="dark"] .contact-method .icon{ background:#241C12; }
html[data-theme="dark"] .marquee-outer{ background:var(--white); }
html[data-theme="dark"] .hero-ring{ border-color:var(--line-strong); }
html[data-theme="dark"] .dot-grid{ opacity:.6; }
html[data-theme="dark"] .concept-badge{ background:#241C12; color:var(--orange-2); }

/* =========================================================
   EXTRA MOTION VARIANTS (used alongside .reveal)
   ========================================================= */
.reveal-scale{ transform:translateY(18px) scale(0.92); }
.reveal-scale.in{ transform:none; }
.reveal-left{ transform:translateX(-34px); }
.reveal-left.in{ transform:none; }
.reveal-right{ transform:translateX(34px); }
.reveal-right.in{ transform:none; }
.reveal-rotate{ transform:translateY(18px) rotate(-4deg); }
.reveal-rotate.in{ transform:none; }

@keyframes bounceY{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-16px); }
}
@keyframes twist{
  0%,100%{ transform:rotate(-4deg); }
  50%{ transform:rotate(4deg); }
}
@keyframes jump{
  0%,20%,50%,80%,100%{ transform:translateY(0); }
  40%{ transform:translateY(-10px); }
  60%{ transform:translateY(-5px); }
}
@keyframes wiggle{
  0%,100%{ transform:rotate(0deg) scale(1); }
  25%{ transform:rotate(-3deg) scale(1.02); }
  75%{ transform:rotate(3deg) scale(1.02); }
}
.anim-bounce{ animation:bounceY 3.4s ease-in-out infinite; }
.anim-twist{ animation:twist 5s ease-in-out infinite; }
.anim-jump{ animation:jump 4.5s ease-in-out infinite; }
.anim-wiggle{ animation:wiggle 4s ease-in-out infinite; }
.anim-delay-1{ animation-delay:.6s; }
.anim-delay-2{ animation-delay:1.2s; }
.anim-delay-3{ animation-delay:1.8s; }

/* floating badge chips drifting near hero */
.chip-float{
  position:absolute; display:flex; align-items:center; gap:6px; background:#fff; border:1px solid var(--line);
  border-radius:999px; padding:8px 14px; font-family:var(--f-mono); font-size:11.5px; color:var(--ink-soft);
  box-shadow:0 14px 30px -14px rgba(33,29,24,0.25); z-index:2;
}
html[data-theme="dark"] .chip-float{ background:#1E1A14; }
.chip-float .dot{ width:6px; height:6px; border-radius:50%; }

/* =========================================================
   HERO MOCKUP WIDGETS v2 (replaces plain metric cards)
   ========================================================= */
.gauge{ position:relative; width:64px; height:64px; margin:12px auto 0; }
.gauge svg{ width:100%; height:100%; transform:rotate(-90deg); }
.gauge circle{ fill:none; stroke-width:6; }
.gauge .track{ stroke:var(--line); }
.gauge .fill{ stroke:url(#gaugeGradient); stroke-linecap:round; stroke-dasharray:169.6; stroke-dashoffset:34; }
.gauge-label{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-family:var(--f-mono); font-size:10px; font-weight:700; color:var(--ink); }
.checklist{ margin-top:12px; display:flex; flex-direction:column; gap:8px; }
.checklist .row{ display:flex; align-items:center; gap:8px; font-size:11.5px; color:var(--ink-soft); }
.checklist .tick{ width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.checklist .tick.done{ background:var(--green); color:#fff; }
.checklist .tick.pending{ border:1.5px dashed var(--line-strong); }
.checklist .tick svg{ width:10px; height:10px; }
.swatch-row{ display:flex; gap:8px; margin-top:14px; }
.swatch{ width:28px; height:28px; border-radius:8px; }

/* =========================================================
   PROCESS TIMELINE v2 ("How We Work")
   ========================================================= */
.timeline{ position:relative; padding-left:0; }
.timeline::before{
  content:""; position:absolute; left:27px; top:8px; bottom:8px; width:2px;
  background:linear-gradient(var(--orange), var(--green)); opacity:.35;
}
@media (max-width:640px){ .timeline::before{ left:21px; } }
.timeline-item{ position:relative; display:grid; grid-template-columns:56px 1fr; gap:26px; padding:26px 0; }
@media (max-width:640px){ .timeline-item{ grid-template-columns:44px 1fr; gap:18px; } }
.timeline-node{
  width:56px; height:56px; border-radius:50%; background:#fff; border:2px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center; position:relative; z-index:2;
  transition:border-color .3s ease, transform .3s ease;
}
@media (max-width:640px){ .timeline-node{ width:44px; height:44px; } }
.timeline-item:hover .timeline-node{ border-color:var(--orange); transform:scale(1.06); }
.timeline-node svg{ width:24px; height:24px; }
@media (max-width:640px){ .timeline-node svg{ width:19px; height:19px; } }
html[data-theme="dark"] .timeline-node{ background:#1E1A14; }
.timeline-copy .num{ font-family:var(--f-mono); font-size:12px; color:var(--orange); letter-spacing:.08em; }
.timeline-copy h3{ font-size:21px; margin-top:6px; }
.timeline-copy p{ margin-top:8px; color:var(--ink-soft); max-width:520px; line-height:1.65; }

/* =========================================================
   MISSION / VISION v2
   ========================================================= */
.mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
@media (max-width:800px){ .mv-grid{ grid-template-columns:1fr; } }
.mv-card{
  border-radius:var(--radius-lg); padding:44px 38px; position:relative; overflow:hidden;
}
.mv-card.mv-mission{ background:linear-gradient(155deg, #FCEFE0, #FFF9F2); border:1px solid var(--line); }
.mv-card.mv-vision{ background:linear-gradient(155deg, #EAF6EE, #FFF9F2); border:1px solid var(--line); }
html[data-theme="dark"] .mv-card.mv-mission{ background:linear-gradient(155deg, #241C12, #14110D); }
html[data-theme="dark"] .mv-card.mv-vision{ background:linear-gradient(155deg, #14211A, #14110D); }
.mv-card .mv-icon{
  width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background:#fff; margin-bottom:22px; box-shadow:0 12px 26px -14px rgba(33,29,24,0.3);
}
html[data-theme="dark"] .mv-card .mv-icon{ background:#1E1A14; }
.mv-card .mv-icon svg{ width:26px; height:26px; }
.mv-card h3{ font-size:24px; }
.mv-card p{ margin-top:14px; color:var(--ink-soft); line-height:1.75; font-size:15.5px; }
.mv-card p + p{ margin-top:10px; }

/* =========================================================
   WORK PAGE — "View more" reveal
   ========================================================= */
.project-extra{ display:none; }
.grid-3.show-extras .project-extra.show{ display:block; }
.view-more-wrap{ display:flex; justify-content:center; margin-top:8px; }
.concept-badge{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--f-mono); font-size:10.5px;
  letter-spacing:.06em; text-transform:uppercase; background:var(--cream-2); color:var(--orange);
  border-radius:999px; padding:4px 10px; margin-bottom:10px;
}
