/* ================================================================
   KINGSHUK SHABBIR ADVISORY — MASTER STYLESHEET
   Specialist Compliance Advisory · Dhaka, Bangladesh
   ================================================================ */

/* 1. DESIGN TOKENS
   ================================================================ */
:root {
  --bg:          #09090a;
  --surface:     #101012;
  --surface-2:   #17171a;
  --surface-3:   #1e1e22;
  --border-xs:   #18181c;
  --border-sm:   #222226;
  --border:      #2e2e34;
  --border-lg:   #40404a;
  --text:        #eeeae3;
  --text-2:      #9e9890;
  --text-3:      #5e5a54;
  --text-accent: #ccc6bc;
  --red:         #d95b5b;
  --f-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --t-hero:   clamp(3rem, 7.5vw, 5.75rem);
  --t-3xl:    clamp(2.25rem, 4.5vw, 3.5rem);
  --t-2xl:    clamp(1.75rem, 3vw, 2.5rem);
  --t-xl:     clamp(1.35rem, 2.4vw, 1.9rem);
  --t-lg:     clamp(1.1rem, 1.8vw, 1.35rem);
  --t-md:     clamp(1rem, 1.3vw, 1.1rem);
  --t-base:   1rem;
  --t-sm:     0.875rem;
  --t-xs:     0.75rem;
  --section:     clamp(5rem, 10vw, 8.5rem);
  --container:   min(93%, 1180px);
  --radius-sm:   3px;
  --radius:      6px;
  --radius-lg:   12px;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --d-fast:    180ms;
  --d:         340ms;
  --d-slow:    640ms;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.01em;
}
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--border-lg);
  flex-shrink: 0;
}

/* LAYOUT */
.container { width: var(--container); margin-inline: auto; }
section { padding-block: var(--section); }

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--d-slow) var(--ease-expo), transform var(--d-slow) var(--ease-expo);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 70ms; }
.reveal-d2 { transition-delay: 140ms; }
.reveal-d3 { transition-delay: 210ms; }
.reveal-d4 { transition-delay: 280ms; }

/* HEADER */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  transition: background var(--d) ease, border-color var(--d) ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9, 9, 10, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border-xs);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
}
.logo-mark {
  font-family: var(--f-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-word {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.site-nav a {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-2);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: color var(--d-fast) ease, background var(--d-fast) ease;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a.active { color: var(--text); }
.nav-cta {
  margin-left: 0.4rem !important;
  border-color: var(--border) !important;
}
.nav-cta:hover {
  border-color: var(--border-lg) !important;
  background: var(--surface-2) !important;
  color: var(--text) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--d) var(--ease-expo), opacity var(--d-fast) ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg);
  padding: 100px 6% 3rem;
  flex-direction: column;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  font-weight: 400;
  color: var(--text-3);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-xs);
  transition: color var(--d-fast) ease;
  line-height: 1.2;
}
.nav-overlay a:hover, .nav-overlay a.active { color: var(--text); }
.nav-overlay-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: var(--t-xs);
  color: var(--text-3);
  letter-spacing: 0.1em;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--d-fast) ease, border-color var(--d-fast) ease,
    color var(--d-fast) ease, transform var(--d-fast) ease;
  text-decoration: none;
}
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: var(--text-accent); border-color: var(--text-accent); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--border-lg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: transparent; padding-inline: 0; }
.btn-ghost:hover { color: var(--text); }
.btn .arrow { display: inline-block; transition: transform var(--d-fast) ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* HERO (HOME) */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 10rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 60% 10%, rgba(255,255,255,0.03) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 60%, rgba(255,255,255,0.015) 0%, transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-lg) 40%, var(--border-lg) 60%, transparent 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: clamp(3rem, 6vw, 5rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 2rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}
.hero-eyebrow::before { width: 28px; }
.hero-eyebrow::after  { width: 14px; }
.hero-title {
  font-size: var(--t-hero);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 2.25rem;
}
.hero-title em { font-style: italic; color: var(--text-2); }
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-right { padding-bottom: 0.5rem; }
.hero-sub-label {
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: var(--t-md);
  color: var(--text-2);
  line-height: 1.85;
}

/* PAGE HERO */
.page-hero {
  padding-top: clamp(7.5rem, 14vw, 10.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border-xs);
}
.page-hero h1 { font-size: var(--t-3xl); margin-bottom: 1.1rem; }
.page-hero p {
  font-size: var(--t-md);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.8;
}

/* SECTION HEADER */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header h2 { font-size: var(--t-2xl); margin-bottom: 0.75rem; }
.section-header p { font-size: var(--t-md); color: var(--text-2); max-width: 60ch; line-height: 1.75; }

/* INTRO SECTION (Home) */
.intro-section { border-top: 1px solid var(--border-xs); }
.intro-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.intro-body .kicker { margin-bottom: 1.75rem; }
.intro-body h2 { font-size: var(--t-2xl); margin-bottom: 1.75rem; }
.intro-body p { font-size: var(--t-md); color: var(--text-2); line-height: 1.85; margin-bottom: 1.25rem; }
.intro-body strong { color: var(--text); }
.intro-aside {
  border-left: 1px solid var(--border-xs);
  padding-left: clamp(2rem, 4vw, 3.5rem);
  padding-top: 0.5rem;
}
.firm-stat {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-xs);
}
.firm-stat:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.firm-stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.firm-stat-label { font-size: var(--t-xs); color: var(--text-3); letter-spacing: 0.1em; line-height: 1.6; }

/* PRINCIPLES */
.principles-section { border-top: 1px solid var(--border-xs); padding-block: 0; }
.principles-header { padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--border-xs); }
.principles-header .kicker { margin-bottom: 0.75rem; }
.principles-header h2 { font-size: var(--t-xl); color: var(--text-2); font-style: italic; font-weight: 400; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle-item {
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--border-xs);
}
.principle-item:last-child { border-right: none; }
.principle-num {
  display: block;
  font-family: var(--f-display);
  font-size: var(--t-xs);
  color: var(--text-3);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}
.principle-item h3 { font-size: var(--t-lg); margin-bottom: 0.9rem; }
.principle-item p { font-size: var(--t-sm); color: var(--text-2); line-height: 1.8; }

/* QUOTE */
.quote-section {
  background: var(--surface);
  border-top: 1px solid var(--border-xs);
  border-bottom: 1px solid var(--border-xs);
}
.quote-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.quote-opening {
  font-family: var(--f-display);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--border-lg);
  display: block;
  margin-bottom: 1.5rem;
}
blockquote {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.quote-citation {
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.quote-citation::before, .quote-citation::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--border-lg);
}

/* HOME CTA */
.home-cta-section { border-top: 1px solid var(--border-xs); }
.home-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}
.home-cta-inner h2 { font-size: var(--t-2xl); margin-bottom: 1rem; }
.home-cta-inner p { font-size: var(--t-md); color: var(--text-2); max-width: 55ch; line-height: 1.75; }

/* ABOUT STORY */
.about-story { border-top: 1px solid var(--border-xs); }
.about-story-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.about-body .kicker { margin-bottom: 1.25rem; }
.about-body h2 { font-size: var(--t-2xl); margin-bottom: 1.5rem; }
.about-body p { font-size: var(--t-md); color: var(--text-2); line-height: 1.85; margin-bottom: 1.25rem; }
.about-body strong { color: var(--text); }
.about-aside {
  border-left: 1px solid var(--border-xs);
  padding-left: clamp(2rem, 4vw, 3.5rem);
}
.about-aside-label {
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.25rem;
  display: block;
}
.about-aside-text {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-style: italic;
  color: var(--text-2);
  line-height: 1.65;
}

/* PROCESS */
.process-section {
  background: var(--surface);
  border-top: 1px solid var(--border-xs);
  border-bottom: 1px solid var(--border-xs);
}
.process-list { max-width: 820px; }
.process-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.75rem;
  padding-block: 2.25rem;
  border-top: 1px solid var(--border-xs);
  align-items: start;
}
.process-item:last-child { border-bottom: 1px solid var(--border-xs); }
.process-step {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-style: italic;
  color: var(--text-3);
  padding-top: 0.2rem;
  letter-spacing: 0.06em;
}
.process-body h3 {
  font-family: var(--f-body);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0;
}
.process-body p { font-size: var(--t-sm); color: var(--text-2); line-height: 1.75; }

/* LEADERSHIP */
.leadership-section { border-top: 1px solid var(--border-xs); }
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.leadership-col h2 { font-size: var(--t-2xl); margin-bottom: 1.5rem; }
.leadership-col p { font-size: var(--t-md); color: var(--text-2); line-height: 1.85; margin-bottom: 1.25rem; }
.leadership-col strong { color: var(--text); }

/* ETHOS */
.ethos-section {
  background: var(--surface);
  border-top: 1px solid var(--border-xs);
  border-bottom: 1px solid var(--border-xs);
}
.ethos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.ethos-col h2 { font-size: var(--t-2xl); margin-bottom: 1.25rem; }
.ethos-col p { font-size: var(--t-md); color: var(--text-2); line-height: 1.85; margin-bottom: 1.25rem; }
.ethos-graphic {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ethos-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ethos-ring:nth-child(2) { width: 160px; height: 160px; border-color: var(--border-sm); }
.ethos-ring:nth-child(3) { width: 80px; height: 80px; border-color: var(--border-lg); background: var(--surface-3); }
.ethos-word {
  font-family: var(--f-display);
  font-size: var(--t-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  z-index: 1;
}

/* SERVICES */
.services-list { border-top: 1px solid var(--border-xs); }
.service-entry {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 2.5rem 3.5rem;
  padding-block: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border-xs);
  align-items: start;
}
.service-index {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-style: italic;
  color: var(--text-3);
  letter-spacing: 0.06em;
  padding-top: 0.3rem;
}
.service-tag {
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  display: block;
}
.service-content h2 { font-size: var(--t-2xl); margin-bottom: 1.25rem; line-height: 1.15; }
.service-content > p { font-size: var(--t-md); color: var(--text-2); line-height: 1.8; max-width: 70ch; margin-bottom: 2rem; }
.service-lower {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem 3rem;
  align-items: start;
}
.service-deliverables li {
  font-size: var(--t-sm);
  color: var(--text-2);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-xs);
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  line-height: 1.6;
}
.service-deliverables li::before {
  content: '—';
  color: var(--text-3);
  flex-shrink: 0;
  font-size: var(--t-xs);
}
.service-deliverables li:last-child { border-bottom: none; }
.service-outcome {
  padding: 1.5rem;
  border: 1px solid var(--border-xs);
  border-radius: var(--radius);
  background: var(--surface);
  align-self: start;
}
.service-outcome-label {
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  display: block;
  margin-bottom: 0.6rem;
}
.service-outcome p { font-size: var(--t-sm); color: var(--text-2); line-height: 1.7; }

/* ENGAGEMENT MODELS */
.engagement-section {
  background: var(--surface);
  border-top: 1px solid var(--border-xs);
  border-bottom: 1px solid var(--border-xs);
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.engagement-card {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-xs);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color var(--d-fast) ease;
}
.engagement-card:hover { border-color: var(--border); }
.engagement-card h3 {
  font-family: var(--f-body);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  letter-spacing: 0;
  line-height: 1.3;
}
.engagement-card p { font-size: var(--t-sm); color: var(--text-2); line-height: 1.7; }

/* SHARED CTA */
.cta-section { border-top: 1px solid var(--border-xs); }
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}
.cta-inner h2 { font-size: var(--t-2xl); margin-bottom: 0.75rem; }
.cta-inner p { font-size: var(--t-md); color: var(--text-2); max-width: 55ch; line-height: 1.75; }
.cta-btn-group { display: flex; flex-direction: column; align-items: flex-end; gap: 0.85rem; }

/* CONTACT */
.contact-section { border-top: 1px solid var(--border-xs); }
.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact-aside h2 { font-size: var(--t-xl); margin-bottom: 1.25rem; }
.contact-aside p { font-size: var(--t-md); color: var(--text-2); line-height: 1.8; margin-bottom: 1rem; }
.contact-info-list { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-xs); display: flex; flex-direction: column; gap: 0.9rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.9rem; }
.info-label { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); min-width: 3.5rem; padding-top: 0.15rem; flex-shrink: 0; }
.info-value { font-size: var(--t-sm); color: var(--text-2); line-height: 1.55; }
.info-value a:hover { color: var(--text); }
.response-note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-xs); font-size: var(--t-xs); color: var(--text-3); letter-spacing: 0.04em; line-height: 1.7; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.required { color: var(--red); margin-left: 0.15rem; }
input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-sm);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--d-fast) ease, background var(--d-fast) ease;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--border-lg); background: var(--surface-2); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
textarea { min-height: 130px; resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235e5a54' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}
select option { background: var(--surface-2); color: var(--text); }

/* INSIGHTS */
.insights-section { border-top: 1px solid var(--border-xs); }
.insight-list { display: flex; flex-direction: column; }
.insight-entry {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 2.5rem;
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--border-xs);
  align-items: center;
  transition: background var(--d-fast) ease;
  cursor: pointer;
}
.insight-entry:first-child { border-top: 1px solid var(--border-xs); }
.insight-entry:hover { background: var(--surface); }
.insight-entry:hover .insight-read { color: var(--text); }
.insight-entry:hover .insight-arrow { transform: translateX(4px); }
.insight-num { font-family: var(--f-display); font-size: var(--t-sm); font-style: italic; color: var(--text-3); letter-spacing: 0.06em; align-self: start; padding-top: 0.2rem; }
.insight-body { padding-right: 1rem; }
.insight-tag { font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.65rem; display: block; }
.insight-entry h3 { font-size: var(--t-lg); margin-bottom: 0.75rem; line-height: 1.25; }
.insight-entry p { font-size: var(--t-sm); color: var(--text-2); line-height: 1.75; max-width: 65ch; }
.insight-read { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; display: flex; align-items: center; gap: 0.5rem; align-self: start; padding-top: 0.2rem; transition: color var(--d-fast) ease; }
.insight-arrow { display: inline-block; transition: transform var(--d-fast) ease; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border-xs); padding-block: clamp(2.5rem, 5vw, 4rem); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand p { font-size: var(--t-xs); color: var(--text-3); line-height: 1.7; max-width: 42ch; }
.footer-right { text-align: right; }
.footer-contact { font-size: var(--t-xs); color: var(--text-3); line-height: 2.1; }
.footer-contact a { transition: color var(--d-fast) ease; }
.footer-contact a:hover { color: var(--text-2); }
.footer-legal { margin-top: 0.75rem; font-size: var(--t-xs); color: var(--text-3); opacity: 0.65; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner, .intro-grid, .about-story-grid, .leadership-grid, .ethos-grid,
  .contact-layout, .home-cta-inner, .cta-inner, .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-right { border-top: 1px solid var(--border-xs); padding-top: 2.5rem; }
  .intro-aside, .about-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--border-xs); padding-top: 2.5rem; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principle-item:nth-child(2) { border-right: none; }
  .principle-item:nth-child(3) { border-top: 1px solid var(--border-xs); border-right: none; }
  .service-lower { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr 1fr; }
  .cta-btn-group { align-items: flex-start; }
  .footer-right { text-align: left; }
}
@media (max-width: 700px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-block: 8rem 5rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-item { border-right: none; border-top: 1px solid var(--border-xs); }
  .service-entry { grid-template-columns: 1fr; gap: 1rem; }
  .service-index { display: none; }
  .engagement-grid { grid-template-columns: 1fr; }
  .insight-entry { grid-template-columns: 1fr; gap: 0.75rem; }
  .insight-num, .insight-read { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ================================================================
   LIGHT THEME
   ================================================================ */
[data-theme="light"] {
  --bg:          #f8f7f4;
  --surface:     #f0ede8;
  --surface-2:   #e8e4de;
  --surface-3:   #ddd8d0;
  --border-xs:   #e4e0da;
  --border-sm:   #d8d3cc;
  --border:      #c4beb6;
  --border-lg:   #a8a29a;
  --text:        #1a1814;
  --text-2:      #5e5850;
  --text-3:      #9e9890;
  --text-accent: #3a3630;
  --red:         #c04040;
}

/* Hardcoded rgba overrides for light theme */
[data-theme="light"] .site-header.scrolled {
  background: rgba(248, 247, 244, 0.96);
}

[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 55% 45% at 60% 10%, rgba(0,0,0,0.025) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 60%, rgba(0,0,0,0.012) 0%, transparent 55%);
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: color var(--d-fast) ease, border-color var(--d-fast) ease, background var(--d-fast) ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-lg);
  background: var(--surface-2);
}

/* Dark mode (default): show sun icon — click to switch to light */
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none; }

/* Light mode: show moon icon — click to switch to dark */
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
