/* ══════════════════════════════════════════════════════════════
   TERRAMODUS INDIA — Shared Stylesheet
   Existing-Building Documentation · Delhi NCR
   ══════════════════════════════════════════════════════════════ */

/* ══ TOKENS ══ */
:root {
  --ink: #0d0d0d;
  --paper: #f5f2ec;
  --paper-mid: #edeae2;
  --steel: #1a2733;
  --steel-light: #1f3040;
  --amber: #c8873a;
  --amber-light: #e8a855;
  --mist: #d4cfc6;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --mono: 'DM Mono', monospace;
  --sans: 'DM Sans', sans-serif;
}
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; overflow-x: hidden; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 2px; }

/* ══ NAVIGATION ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(245,242,236,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,135,58,.15);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 28px rgba(13,13,13,.08); }
.logo { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--steel); text-decoration: none; letter-spacing: -.4px; display: flex; flex-direction: column; line-height: 1.1; }
.logo-eyebrow { font-family: var(--mono); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); font-weight: 400; margin-bottom: .15rem; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); text-decoration: none; opacity: .65; transition: opacity .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--amber); }
.nav-cta { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; background: var(--steel); color: var(--paper); border: none; padding: .65rem 1.4rem; cursor: pointer; text-decoration: none; display: inline-block; transition: background .2s, transform .15s; }
.nav-cta:hover { background: var(--amber); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: .3rem; background: none; border: none; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--steel); display: block; transition: all .3s; }
.nav-mobile { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--paper); padding: 2rem; border-top: 1px solid var(--mist); z-index: 199; flex-direction: column; gap: 1.5rem; }
.nav-mobile a { font-family: var(--mono); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--steel); text-decoration: none; padding: .5rem 0; border-bottom: 1px solid var(--mist); }
.nav-mobile.open { display: flex; }

/* ══ SECTIONS ══ */
section { scroll-margin-top: 72px; }

/* ══ HERO ══ */
#home { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; padding-top: 72px; position: relative; overflow: hidden; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 5rem 4rem; position: relative; z-index: 2; }
.hero-eyebrow { font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.6rem; display: flex; align-items: center; gap: .8rem; }
.hero-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--amber); display: inline-block; flex-shrink: 0; }
h1 { font-family: var(--serif); font-size: clamp(2.4rem,3.6vw,3.8rem); font-weight: 900; line-height: 1.05; color: var(--steel); margin-bottom: 1.4rem; letter-spacing: -1px; }
h1 em { font-style: italic; color: var(--amber); }
.hero-sub { font-size: 1.05rem; line-height: 1.75; color: #4a4a4a; max-width: 480px; margin-bottom: .8rem; font-weight: 300; }
.hero-trust { font-family: var(--mono); font-size: .66rem; letter-spacing: .07em; color: #888; line-height: 1.5; max-width: 440px; margin-bottom: 2.4rem; padding: .85rem 1rem; border-left: 2px solid var(--amber); background: rgba(200,135,58,.05); }
.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: var(--steel); color: var(--paper); border: none; padding: .95rem 1.8rem; cursor: pointer; text-decoration: none; display: inline-block; transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--amber); transform: translateY(-2px); }
.btn-outline { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; background: transparent; color: var(--steel); border: 1.5px solid var(--steel); padding: .95rem 1.8rem; cursor: pointer; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-outline:hover { background: var(--steel); color: var(--paper); transform: translateY(-2px); }

/* Hero right */
.hero-right { position: relative; background: var(--steel); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,135,58,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(200,135,58,.06) 1px,transparent 1px); background-size: 44px 44px; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 35%,rgba(200,135,58,.22) 0%,transparent 60%); }
.hero-visual { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.scanner-rings { width: 140px; height: 140px; position: relative; display: flex; align-items: center; justify-content: center; }
.ring { position: absolute; border: 1px solid rgba(200,135,58,.3); border-radius: 50%; animation: pulse-ring 3.5s ease-in-out infinite; }
.ring-1 { width: 140px; height: 140px; animation-delay: 0s; }
.ring-2 { width: 105px; height: 105px; animation-delay: .5s; }
.ring-3 { width: 70px; height: 70px; animation-delay: 1s; }
.scanner-dot { width: 30px; height: 30px; background: var(--amber); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; }
@keyframes pulse-ring { 0%,100%{opacity:.35;transform:scale(1)} 50%{opacity:.85;transform:scale(1.04)} }
.hero-scan-label { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(200,135,58,.65); text-align: center; line-height: 1.8; }
.hero-badge { position: absolute; bottom: 2rem; left: 2rem; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); border: 1px solid rgba(200,135,58,.25); padding: .9rem 1.2rem; font-family: var(--mono); font-size: .62rem; color: rgba(255,255,255,.6); letter-spacing: .07em; line-height: 1.7; }
.hero-badge strong { display: block; color: var(--amber-light); margin-bottom: .2rem; font-size: .65rem; }
.hero-props { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0; }
.hero-prop { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); padding: .6rem .9rem; border-left: 2px solid rgba(200,135,58,.2); background: rgba(0,0,0,.2); }
.hero-prop.active { color: var(--amber-light); border-color: var(--amber); }

/* ══ TRUST BAR ══ */
.trust-bar { background: var(--steel); padding: 1.6rem 4rem; display: flex; gap: 0; align-items: stretch; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .8rem; padding: 0 2.5rem; border-right: 1px solid rgba(255,255,255,.08); flex: 1; min-width: 180px; }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1rem; opacity: .7; }
.trust-text { font-family: var(--mono); font-size: .65rem; letter-spacing: .06em; color: rgba(245,242,236,.55); line-height: 1.5; }
.trust-text strong { display: block; color: var(--amber-light); margin-bottom: .15rem; font-size: .68rem; letter-spacing: .08em; }

/* ══ SECTION UTILITIES ══ */
.section-label { font-family: var(--mono); font-size: .65rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem; }
.section-label::before { content: ''; width: 2rem; height: 1px; background: var(--amber); display: inline-block; flex-shrink: 0; }
h2 { font-family: var(--serif); font-size: clamp(1.9rem,3vw,2.8rem); font-weight: 700; color: var(--steel); line-height: 1.12; letter-spacing: -.5px; margin-bottom: 1.2rem; }
h2 em { font-style: italic; color: var(--amber); }
.section-intro { font-size: .98rem; color: #555; font-weight: 300; max-width: 600px; line-height: 1.75; }

/* ══ WORKFLOW ══ */
#workflow { padding: 7rem 4rem; }
.workflow-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.workflow-left p { color: #555; font-size: .98rem; line-height: 1.75; margin-bottom: 2rem; font-weight: 300; }
.workflow-table { border: 1px solid var(--mist); background: var(--white); }
.workflow-row { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.2rem; border-bottom: 1px solid var(--mist); font-size: .85rem; }
.workflow-row:last-child { border-bottom: none; }
.workflow-row-label { font-family: var(--mono); font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; color: #999; }
.workflow-row-val { font-family: var(--mono); font-size: .68rem; color: var(--steel); letter-spacing: .04em; text-align: right; }
.workflow-steps { display: flex; flex-direction: column; gap: 1px; background: var(--mist); }
.workflow-step { background: var(--paper); padding: 1.8rem 2rem; position: relative; transition: background .25s; }
.workflow-step:hover { background: var(--paper-mid); }
.step-num { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: .6rem; }
.step-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--steel); margin-bottom: .4rem; }
.step-desc { font-size: .85rem; color: #666; line-height: 1.6; font-weight: 300; }
.step-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--amber); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.workflow-step:hover .step-bar { transform: scaleY(1); }

/* ══ SERVICES ══ */
#services { background: var(--steel); padding: 7rem 4rem; }
.services-header { max-width: 1200px; margin: 0 auto 3.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.services-header h2 { color: var(--paper); margin-bottom: 0; }
.services-header .section-label { color: rgba(200,135,58,.8); }
.services-header .section-label::before { background: rgba(200,135,58,.8); }
.services-tagline { font-family: var(--mono); font-size: .7rem; color: rgba(245,242,236,.4); max-width: 300px; text-align: right; line-height: 1.6; letter-spacing: .04em; }
.services-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5px; background: rgba(200,135,58,.12); }
.service-card { background: var(--steel-light); padding: 2.8rem 2.4rem; position: relative; overflow: hidden; transition: background .3s; }
.service-card:hover { background: #223344; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-card-num { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; color: var(--amber); opacity: .65; margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--paper); margin-bottom: .5rem; }
.service-for { font-family: var(--mono); font-size: .62rem; letter-spacing: .07em; color: rgba(200,135,58,.8); margin-bottom: .8rem; font-style: italic; }
.service-desc { font-size: .88rem; color: rgba(245,242,236,.55); line-height: 1.65; margin-bottom: 1.6rem; font-weight: 300; }
.deliverables-label { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,242,236,.35); margin-bottom: .6rem; }
.deliverables-list { list-style: none; display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.6rem; }
.deliverables-list li { font-family: var(--mono); font-size: .65rem; color: rgba(245,242,236,.5); letter-spacing: .04em; padding-left: .8rem; position: relative; }
.deliverables-list li::before { content: '\2014'; position: absolute; left: 0; color: var(--amber); opacity: .5; }
.service-cta { font-family: var(--mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; transition: gap .2s; cursor: pointer; background: none; border: none; }
.service-cta:hover { gap: .9rem; }
.service-cta::after { content: '\2192'; }
.scope-note { max-width: 1200px; margin: 2rem auto 0; font-family: var(--mono); font-size: .65rem; color: rgba(245,242,236,.3); letter-spacing: .08em; line-height: 1.6; padding: 1rem 1.2rem; border: 1px solid rgba(200,135,58,.12); }
.scope-note strong { color: rgba(200,135,58,.6); }

/* ══ SECTORS ══ */
#sectors { padding: 7rem 4rem; background: var(--paper-mid); }
.sectors-inner { max-width: 1200px; margin: 0 auto; }
.sectors-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-top: 3.5rem; }
.sector-card { background: var(--paper); border: 1px solid var(--mist); padding: 2.2rem; position: relative; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.sector-card:hover { box-shadow: 0 8px 32px rgba(13,13,13,.08); transform: translateY(-3px); }
.sector-card::after { content: '\2192'; position: absolute; bottom: 1.4rem; right: 1.6rem; font-size: 1rem; color: var(--amber); opacity: 0; transition: opacity .25s, transform .25s; transform: translateX(-4px); }
.sector-card:hover::after { opacity: 1; transform: translateX(0); }
.sector-tag { font-family: var(--mono); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); margin-bottom: .6rem; }
.sector-card h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--steel); font-weight: 700; margin-bottom: .5rem; }
.sector-when { font-family: var(--mono); font-size: .65rem; letter-spacing: .04em; color: #888; margin-bottom: .6rem; font-style: italic; }
.sector-desc { font-size: .88rem; color: #666; line-height: 1.6; font-weight: 300; margin-bottom: 1.2rem; }
.sector-link { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); text-decoration: none; border-bottom: 1px solid var(--mist); padding-bottom: .1rem; transition: color .2s, border-color .2s; display: inline-block; }
.sector-link:hover { color: var(--amber); border-color: var(--amber); }

/* ══ HOW IT WORKS ══ */
#how { padding: 7rem 4rem; }
.how-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 6rem; align-items: start; }
.how-left p { font-size: .95rem; color: #666; line-height: 1.75; font-weight: 300; }
.how-steps { display: flex; flex-direction: column; gap: 1px; background: var(--mist); }
.how-step { background: var(--paper); padding: 2rem 2.2rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; transition: background .25s; }
.how-step:hover { background: var(--paper-mid); }
.how-step-num { font-family: var(--mono); font-size: .65rem; letter-spacing: .12em; color: var(--amber); padding-top: .1rem; white-space: nowrap; }
.how-step-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--steel); margin-bottom: .3rem; }
.how-step-desc { font-size: .85rem; color: #666; line-height: 1.6; font-weight: 300; }

/* ══ WHY TMI ══ */
#why { background: var(--steel); padding: 7rem 4rem; }
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-inner .section-label { color: rgba(200,135,58,.8); }
.why-inner .section-label::before { background: rgba(200,135,58,.8); }
.why-inner h2 { color: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: rgba(200,135,58,.12); margin-top: 3.5rem; }
.why-card { background: var(--steel-light); padding: 2.5rem; transition: background .25s; }
.why-card:hover { background: #223344; }
.why-icon { width: 40px; height: 40px; border: 1px solid rgba(200,135,58,.3); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; font-size: .9rem; }
.why-card h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--paper); margin-bottom: .6rem; }
.why-card p { font-size: .85rem; color: rgba(245,242,236,.5); line-height: 1.65; font-weight: 300; }

/* ══ PORTFOLIO / CASE STUDIES ══ */
#portfolio { padding: 7rem 4rem; }
.portfolio-inner { max-width: 1200px; margin: 0 auto; }
.portfolio-note { font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; color: #999; margin-top: .5rem; margin-bottom: 3rem; max-width: 520px; line-height: 1.5; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.portfolio-card { border: 1px solid var(--mist); background: var(--white); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(13,13,13,.1); }
.portfolio-img { aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.portfolio-img svg { opacity: .25; }
.portfolio-type { position: absolute; bottom: .6rem; left: .6rem; font-family: var(--mono); font-size: .56rem; color: var(--amber-light); letter-spacing: .12em; text-transform: uppercase; background: rgba(0,0,0,.55); padding: .2rem .45rem; }
.portfolio-info { padding: 1.4rem; }
.portfolio-info h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--steel); margin-bottom: .4rem; font-weight: 700; }
.portfolio-challenge { font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; color: #888; margin-bottom: .5rem; line-height: 1.5; font-style: italic; }
.portfolio-result { font-size: .82rem; color: #555; line-height: 1.55; font-weight: 300; margin-bottom: .9rem; }
.portfolio-tags { display: flex; gap: .35rem; flex-wrap: wrap; }
.tag { font-family: var(--mono); font-size: .56rem; letter-spacing: .06em; background: var(--paper-mid); color: var(--steel); padding: .18rem .45rem; text-transform: uppercase; }
.portfolio-cta-row { max-width: 1200px; margin: 2.5rem auto 0; text-align: center; }

/* ══ ABOUT ══ */
#about { padding: 7rem 4rem; background: var(--paper-mid); }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-body p { font-size: .98rem; line-height: 1.8; color: #555; font-weight: 300; margin-bottom: 1.2rem; }
.stat-bar { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--mist); margin-bottom: 2rem; }
.stat-item { background: var(--paper); padding: 1.2rem 1rem; text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: var(--steel); line-height: 1; margin-bottom: .3rem; }
.stat-num span { color: var(--amber); }
.stat-label { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: #888; line-height: 1.4; }
.about-details { display: flex; flex-direction: column; gap: 1px; background: var(--mist); }
.about-detail { background: var(--paper); padding: 1.2rem 1.4rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.about-detail-icon { font-size: .9rem; padding-top: .1rem; }
.about-detail-body strong { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: .2rem; }
.about-detail-body span { font-size: .85rem; color: #555; font-weight: 300; line-height: 1.5; }
.founder-card { background: var(--steel); padding: 2.5rem; margin-bottom: 1.5rem; }
.founder-avatar { width: 64px; height: 64px; background: rgba(200,135,58,.2); border: 1px solid rgba(200,135,58,.4); border-radius: .25rem; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--amber); margin-bottom: 1.2rem; }
.founder-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--paper); margin-bottom: .3rem; }
.founder-title { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 1rem; opacity: .75; }
.founder-bio { font-size: .85rem; color: rgba(245,242,236,.55); line-height: 1.65; font-weight: 300; }
.tools-card { border: 1px solid var(--mist); background: var(--paper); }
.tools-label { font-family: var(--mono); font-size: .6rem; letter-spacing: .15em; text-transform: uppercase; color: var(--amber); padding: .8rem 1.2rem; border-bottom: 1px solid var(--mist); opacity: .75; }
.tool-row { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: .75rem 1.2rem; border-bottom: 1px solid var(--mist); gap: .5rem; }
.tool-row:last-child { border-bottom: none; }
.tool-name { font-family: var(--mono); font-size: .65rem; letter-spacing: .05em; color: var(--steel); font-weight: 500; }
.tool-spec { font-family: var(--mono); font-size: .6rem; color: #aaa; letter-spacing: .04em; }
.tool-use { font-family: var(--mono); font-size: .6rem; color: #777; letter-spacing: .04em; font-style: italic; }

/* ══ BLOG ══ */
#blog { padding: 7rem 4rem; }
.blog-inner { max-width: 1200px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.blog-card { border: 1px solid var(--mist); background: var(--white); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(13,13,13,.08); }
.blog-img { aspect-ratio: 16/9; background: linear-gradient(145deg, var(--steel), #223548); display: flex; align-items: center; justify-content: center; }
.blog-img-label { font-family: var(--mono); font-size: .56rem; color: rgba(200,135,58,.6); letter-spacing: .15em; text-transform: uppercase; }
.blog-info { padding: 1.2rem; }
.blog-tag { font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: .5rem; display: block; }
.blog-info h3 { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--steel); margin-bottom: .5rem; line-height: 1.3; }
.blog-excerpt { font-size: .82rem; color: #666; line-height: 1.55; font-weight: 300; margin-bottom: .8rem; }
.blog-meta { font-family: var(--mono); font-size: .58rem; color: #bbb; letter-spacing: .05em; }
.blog-cta-row { margin-top: 2.5rem; text-align: center; }

/* ══ CONTACT ══ */
#contact { padding: 7rem 4rem; }
.contact-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-left > p { font-size: .95rem; color: #666; line-height: 1.75; margin-bottom: 2.5rem; font-weight: 300; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--mist); }
.contact-detail:last-of-type { border-bottom: none; }
.contact-icon { width: 34px; height: 34px; min-width: 34px; background: var(--steel); display: flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0; }
.contact-detail-body strong { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: .2rem; }
.contact-detail-body span { font-size: .88rem; color: #444; font-weight: 300; line-height: 1.5; }
.contact-detail-body a { color: #444; text-decoration: none; transition: color .2s; }
.contact-detail-body a:hover { color: var(--amber); }
.response-pledge { background: var(--steel); padding: 1.2rem 1.5rem; margin-top: 2rem; font-family: var(--mono); font-size: .65rem; color: rgba(245,242,236,.6); letter-spacing: .05em; line-height: 1.6; }
.response-pledge strong { color: var(--amber-light); display: block; margin-bottom: .2rem; }
.pilot-note { margin-top: .5rem; color: rgba(245,242,236,.4); font-size: .6rem; }
.map-wrap { height: 200px; background: linear-gradient(135deg,var(--paper-mid),var(--mist)); border: 1px solid var(--mist); margin-top: 1.5rem; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.contact-form-wrap h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--steel); margin-bottom: .5rem; font-weight: 700; }
.form-tagline { font-family: var(--mono); font-size: .63rem; color: #999; letter-spacing: .06em; margin-bottom: 2rem; line-height: 1.5; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); display: block; margin-bottom: .35rem; opacity: .65; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--mist); background: var(--paper);
  font-family: var(--sans); font-size: .9rem; color: var(--ink); font-weight: 300;
  outline: none; transition: border-color .2s; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--amber); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c8873a'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { width: 100%; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; background: var(--steel); color: var(--paper); border: none; padding: 1rem; cursor: pointer; transition: background .2s; }
.form-submit:hover { background: var(--amber); }
.form-note { font-family: var(--mono); font-size: .58rem; color: #bbb; margin-top: .8rem; letter-spacing: .04em; line-height: 1.5; }

/* ══ FOOTER ══ */
footer { background: var(--ink); padding: 2.8rem 4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { font-family: var(--serif); font-size: 1.15rem; color: var(--paper); font-weight: 700; text-decoration: none; }
.footer-logo span { color: var(--amber); }
.footer-eyebrow { font-family: var(--mono); font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(200,135,58,.5); display: block; margin-bottom: .2rem; }
.footer-links { display: flex; gap: 1.8rem; list-style: none; }
.footer-links a { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--amber); }
.footer-copy { font-family: var(--mono); font-size: .6rem; color: rgba(255,255,255,.25); letter-spacing: .06em; line-height: 1.7; text-align: right; }
.linkedin-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 2px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.3); text-decoration: none; transition: all .3s; border-radius: 6px; font-size: .85rem; }
.linkedin-icon-btn:hover { background: #0077B5; color: #fff; border-color: #0077B5; }

/* ══ REVEAL ANIMATION ══ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══ PAGE HEADER (for inner pages) ══ */
.page-header { padding: 10rem 4rem 5rem; background: var(--steel); position: relative; overflow: hidden; }
.page-header .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(200,135,58,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(200,135,58,.06) 1px,transparent 1px); background-size: 44px 44px; }
.page-header .hero-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 35%,rgba(200,135,58,.15) 0%,transparent 60%); }
.page-header-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; }
.page-header .section-label { color: rgba(200,135,58,.8); }
.page-header .section-label::before { background: rgba(200,135,58,.8); }
.page-header h1 { color: var(--paper); font-size: clamp(2rem,3vw,3rem); margin-bottom: 1rem; }
.page-header h1 em { color: var(--amber); }
.page-header p { color: rgba(245,242,236,.6); font-size: 1.05rem; line-height: 1.75; max-width: 600px; font-weight: 300; }
.breadcrumb { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(245,242,236,.35); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(245,242,236,.35); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--amber); opacity: .5; margin: 0 .4rem; }

/* ══ SERVICES PAGE - EXPANDED CARDS ══ */
.service-detail { padding: 5rem 4rem; }
.service-detail:nth-child(even) { background: var(--paper-mid); }
.service-detail-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }
.service-detail-body h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); }
.service-detail-body p { font-size: .95rem; color: #555; line-height: 1.8; font-weight: 300; margin-bottom: 1rem; }
.service-detail-sidebar { background: var(--white); border: 1px solid var(--mist); padding: 2rem; }
.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-title { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: .8rem; display: block; }
.sidebar-list { list-style: none; }
.sidebar-list li { font-size: .85rem; color: #555; line-height: 1.6; font-weight: 300; padding: .35rem 0; padding-left: 1rem; position: relative; border-bottom: 1px solid var(--paper-mid); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li::before { content: '\2014'; position: absolute; left: 0; color: var(--amber); font-size: .7rem; }

/* ══ INSIGHTS PAGE ══ */
.insights-grid { max-width: 1200px; margin: 0 auto; padding: 5rem 4rem; }
.insights-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.insight-featured-card { border: 1px solid var(--mist); background: var(--white); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; transition: box-shadow .3s; }
.insight-featured-card:hover { box-shadow: 0 8px 32px rgba(13,13,13,.08); }
.insight-featured-img { background: linear-gradient(145deg, var(--steel), #223548); display: flex; align-items: center; justify-content: center; min-height: 240px; }
.insight-featured-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.insights-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* ══ RESPONSIVE ══ */
@media(max-width:1024px) {
  nav { padding: 1rem 2rem; }
  #home { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 2rem 3rem; }
  .hero-right { height: 320px; }
  .hero-props { display: none; }
  .trust-bar { padding: 1.2rem 2rem; }
  .trust-item { min-width: 150px; padding: 0 1.5rem; }
  #workflow, #how { padding: 5rem 2rem; }
  .workflow-inner, .how-inner { grid-template-columns: 1fr; gap: 3rem; }
  #services, #sectors, #why, #portfolio, #blog { padding: 5rem 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .sectors-grid, .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  #about, #contact { padding: 5rem 2rem; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 2rem; flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .page-header { padding: 8rem 2rem 4rem; }
  .service-detail { padding: 4rem 2rem; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-inner.reverse { direction: ltr; }
  .insights-grid { padding: 4rem 2rem; }
  .insights-featured { grid-template-columns: 1fr; }
  .insight-featured-card { grid-template-columns: 1fr; }
  .insights-list { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  nav { padding: .9rem 1.2rem; }
  .hero-left { padding: 3rem 1.2rem 2rem; }
  .trust-bar { flex-direction: column; padding: 1rem 1.2rem; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding: 1rem 0; }
  .trust-item:last-child { border-bottom: none; }
  #workflow,#services,#sectors,#how,#why,#portfolio,#blog,#about,#contact { padding: 4rem 1.2rem; }
  .portfolio-grid, .blog-grid, .insights-list { grid-template-columns: 1fr; }
  footer { padding: 1.5rem 1.2rem; }
  .stat-bar { grid-template-columns: 1fr; }
  .page-header { padding: 7rem 1.2rem 3rem; }
  .service-detail { padding: 3rem 1.2rem; }
  .insights-grid { padding: 3rem 1.2rem; }
}
