:root {
  /* Squareblack-style palette: white/light base, true-black accent
     sections, our navy as the button color, gold as a sparing accent. */
  --bg: #0d0d0f;
  --bg-2: #151517;
  --surface: #1a1a1d;
  --surface-2: #212124;
  --line: rgba(255, 255, 255, 0.09);

  --navy: #0e2a47;
  --navy-dark: #0a1f36;
  --gold: #e0a836;
  --gold-dark: #c8901f;
  --gold-light: #f4c96b;

  --text: #eaf0f8;
  --muted: #9099a3;

  /* Light-section tokens (the page default) */
  --paper: #ffffff;
  --paper-soft: #f5f6f7;
  --ink: #121316;
  --muted-ink: #5c6470;
  --border: #e7e8ea;

  --radius: 22px;
  --radius-sm: 12px;
  --max-width: 1300px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---- Scroll effects ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  z-index: 100;
  transition: width 0.1s linear;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.section { padding: 104px 0; }
.section-soft { background: var(--paper-soft); }
.section-light { background: var(--paper); color: var(--ink); }
.section-dark { background: var(--bg); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--muted); }
.section-dark .sec-sub { color: var(--muted); }

h1, h2, h3 { margin: 0 0 18px; }
h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.03; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }

p { color: var(--muted-ink); margin: 0 0 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { display: flex; width: 100%; justify-content: center; }
/* Navy is the primary button color everywhere on light backgrounds. */
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
/* Gold is reserved as the accent button for dark-background sections. */
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-light { background: #fff; color: var(--navy-dark); }
.btn-light:hover { opacity: 0.9; }

/* Sticky pill nav */
.nav-wrap { position: sticky; top: calc(16px + var(--maint-banner-h, 0px)); z-index: 60; padding: 0 24px; margin-bottom: -70px; }
.nav {
  max-width: var(--max-width);
  margin: 16px auto 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px 4px 22px;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, margin 0.25s ease;
}
.nav-wrap.scrolled .nav {
  padding: 2px 10px 2px 20px;
  background: rgba(255, 255, 255, 0.97);
}
.nav-wrap.scrolled .logo img { height: 37px; }
.logo img { transition: height 0.25s ease; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 14.5px; }
.nav-links a:hover { color: var(--gold-dark); }
.nav-cta { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 24px; cursor: pointer; padding: 4px 8px; }

/* Hero — squareblack-style two-column: flat static image left, copy right.
   No rotation/tilt on the image, no auto-advancing carousel. */
.hero { padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.hero-copy { max-width: 620px; }

.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper-soft);
}
.hero-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-frame-img.active { opacity: 1; }
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--border); transition: background 0.2s ease, width 0.2s ease;
}
.hero-dot.active { background: var(--gold-dark); width: 22px; border-radius: 999px; }

/* Fallback collage (no images uploaded yet) — flat, no rotation */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 90px;
  gap: 12px;
}
.mock {
  position: relative;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-dark); opacity: 0.8; }
.mock-label { font-size: 12px; font-weight: 600; color: var(--muted-ink); }
.mock-1 { grid-row: span 2; }
.mock-2 { grid-row: span 1; }
.mock-3 { grid-row: span 2; }
.mock-4 { grid-row: span 2; }
.mock-5 { grid-row: span 1; }
.mock-6 { grid-row: span 1; }

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title { margin-bottom: 20px; }
.hero-sub { font-size: 18px; max-width: 520px; margin-bottom: 28px; }
.hero-points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 10px 20px; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; font-weight: 400; font-size: 14.5px; color: var(--muted-ink); white-space: nowrap; }

/* Tick marker (gold accent) — gold-dark by default for contrast on light
   backgrounds; brighter gold on dark sections. */
.tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; border-radius: 50%;
  background: rgba(224, 168, 54, 0.16); color: var(--gold-dark); flex-shrink: 0;
}
.tick svg { width: 13px; height: 13px; }
.section-dark .tick { background: rgba(224, 168, 54, 0.18); color: var(--gold); }

/* Section head */
.sec-head { max-width: 780px; margin: 0 auto 52px; text-align: center; }
.sec-head-left { text-align: left; margin-left: 0; max-width: 640px; }
/* Two-tone heading: bold headline + a large, light-weight gray continuation line,
   sized close to the headline itself rather than a small caption. */
.sec-sub { font-size: clamp(20px, 3vw, 34px); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
.section-light .sec-sub { color: var(--muted-ink); }

/* Testimonials (light) */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 0 24px; margin: 0; overflow: hidden;
  box-shadow: 0 1px 2px rgba(14, 42, 71, 0.03);
}
.testi-media { position: relative; height: 168px; display: flex; align-items: center; justify-content: center; }
.testi-initial { font-size: 44px; font-weight: 800; color: rgba(255,255,255,0.5); }
.testi-play { position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; }
.testi-play svg { width: 34px; height: 34px; }
.testi-card blockquote { margin: 22px 26px 16px; font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.5; }
.testi-card figcaption { padding: 0 26px; display: flex; flex-direction: column; line-height: 1.4; }
.testi-card figcaption strong { font-size: 14.5px; color: var(--ink); }
.testi-card figcaption small { color: #5c6b83; font-size: 13px; }

/* Bento (why) */
.bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-auto-rows: auto; gap: 20px; }
.bento-card { position: relative; border-radius: var(--radius); background: var(--surface); padding: 32px 30px; transition: transform 0.28s cubic-bezier(0.2,0.7,0.2,1); }
.bento-card:hover { transform: translateY(-4px); }

.service-card, .leader-card { position: relative; transition: transform 0.28s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.28s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(18,19,22,0.14); }
.leader-card:hover { transform: translateY(-6px); }
.client-cell { transition: transform 0.22s ease; }
.client-cell:hover { transform: translateY(-3px); }

.bento-accent { background: var(--gold); color: var(--navy-dark); }
.bento-accent h3 { color: var(--navy-dark); }
.bento-accent p { color: rgba(14, 31, 54, 0.85); margin: 0; }

.compare-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-list li { display: grid; grid-template-columns: 90px 1fr 1fr; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cmp-label { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; }
.cmp-them { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.3); }
.cmp-us { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }

.bento-stats .statbar { display: flex; flex-direction: column; gap: 20px; margin-bottom: 18px; }
.statbar-row { display: grid; grid-template-columns: minmax(64px, auto) 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.statbar-num { grid-row: span 2; font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; color: var(--muted); }
.statbar-num.gold {
  background: linear-gradient(120deg, #f4c96b, #e0a836);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.statbar-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.statbar-fill { display: block; height: 100%; background: rgba(255,255,255,0.25); border-radius: 999px; transition: width 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.statbar-fill.gold { background: linear-gradient(90deg, var(--gold-dark), var(--gold-light, #f4c96b)); }
.statbar-cap { font-size: 13px; color: var(--muted); margin-top: 6px; }
.statbar-note { margin: 0; font-size: 14px; }

.bento-industries .industry-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.industry-tag { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--surface-2); color: #cdd8e8; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--paper); border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 1px 3px rgba(18,19,22,0.06), 0 10px 30px rgba(18,19,22,0.05); }
.service-card h3 { color: var(--ink); }
.service-card p { font-size: 14.5px; }
.service-card ul { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); }
.service-card li { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; font-size: 14px; color: var(--ink); }

/* Showcase (light) */
/* Asymmetric bento grid — a featured tile spans 2 of 3 columns with a much
   taller image; regular tiles stay compact. align-items:start keeps shorter
   cards from being stretched to match the featured tile's height. */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.work-card { border-radius: var(--radius); overflow: hidden; background: var(--paper); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work-card:hover { transform: translateY(-8px) scale(1.025); z-index: 2; }
.work-card--featured { grid-column: span 2; }
.work-card--featured .work-thumb { height: 460px; }
.work-thumb { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.work-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-thumb.has-image { cursor: zoom-in; }
.work-thumb.has-image:hover img { transform: scale(1.06); }
.work-highlight {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
}
.work-highlight svg { width: 15px; height: 15px; }
.work-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(10, 21, 36, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.work-zoom svg { width: 38px; height: 38px; }
.work-thumb.has-image:hover .work-zoom { opacity: 1; }
.work-screen { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 0.02em; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,0.3); padding: 0 20px; }
.work-body { padding: 24px 0; }
.work-body h3 { margin-bottom: 8px; color: var(--ink); }
.work-actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.work-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; font-size: 14px; }
.work-link svg { width: 16px; height: 16px; }
.work-tag { display: inline-block; font-size: 13px; color: var(--muted-ink); background: var(--paper-soft); padding: 5px 12px; border-radius: 999px; }
.work-cats { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.work-cat { font-size: 12px; font-weight: 600; color: var(--navy); background: rgba(224, 168, 54, 0.16); border: 1px solid rgba(224, 168, 54, 0.4); padding: 4px 11px; border-radius: 999px; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--gold-dark), var(--gold-light), var(--gold));
  background-size: 220% 100%;
  animation: ctaShift 9s ease infinite;
  color: var(--navy-dark);
  text-align: center;
  padding: 92px 0;
}
@keyframes ctaShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: var(--navy-dark); max-width: 820px; margin: 0 auto 28px; }
.cta-band .btn-gold { background: var(--navy); color: #fff; }
.cta-band .btn-gold:hover { background: var(--navy-dark); }
.cta-mail { color: rgba(14, 31, 54, 0.8); font-size: 15px; margin-top: 20px; }
.cta-mail a { color: var(--navy-dark); font-weight: 700; }

/* Contact CTA (squareblack-style, centered, no form) */
.contact-cta { background: var(--navy-dark); text-align: center; }
.contact-cta h2 { color: #fff; max-width: 780px; margin: 0 auto 18px; font-size: clamp(34px, 5vw, 60px); }
.contact-cta-sub { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 34px; }
.contact-cta-btn { margin: 0 auto; }
.contact-cta-note { display: flex; align-items: center; justify-content: center; gap: 9px; color: #dbe3ef; font-size: 15px; margin-top: 22px; }
.cta-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.contact-cta-mail { color: var(--muted); font-size: 15px; margin-top: 14px; }
.contact-cta-mail a { color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(224,168,54,0.5); }

/* Leaders */
.leaders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.leader-card { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 30px 28px; }
.leader-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; flex-shrink: 0; }
.leader-card h3 { color: #fff; }
.leader-role { display: block; color: var(--gold); font-weight: 600; font-size: 13.5px; margin: 2px 0 12px; }
.leader-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Clients */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.client-cell { display: flex; align-items: center; justify-content: center; padding: 22px 16px; min-height: 78px; border-radius: var(--radius-sm); background: #fff; font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.client-cell img { max-height: 40px; max-width: 82%; width: auto; object-fit: contain; opacity: 0.85; transition: opacity 0.22s ease; }
.client-cell:hover img { opacity: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-list li { margin-bottom: 18px; font-size: 16px; color: #dbe3ef; }
.contact-list strong { display: block; color: var(--gold); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #dbe3ef; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 18px; font-family: inherit; font-size: 14px; background: var(--bg); color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.form-notice { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; }
.form-notice.success { background: rgba(46, 157, 85, 0.16); color: #6fe39b; }
.form-notice.error { background: rgba(211, 86, 47, 0.16); color: #ff9d7a; }

/* Footer */
.site-footer { background: #071019; color: #9fb0c8; padding: 64px 0 34px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand { max-width: 420px; }
.footer-logo { height: 38px; width: auto; margin-bottom: 18px; }
.footer-mail { color: var(--gold); font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: #cdd8e8; font-size: 15px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: #6d7f97; }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 20, 0.86);
  backdrop-filter: blur(4px);
  animation: lbFade 0.25s ease;
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: lbPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lightbox-img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #0a1524;
  display: block;
}
.lightbox-caption { padding: 20px 24px; }
.lightbox-caption h4 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: #fff; }
.lightbox-caption p { margin: 0; font-size: 14.5px; color: var(--muted); }
.lightbox-caption:empty { display: none; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: var(--gold); color: var(--navy-dark); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbPop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---- Maintenance mode ---- */
.maint-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.maint-overlay.open { display: flex; }
.maint-backdrop { position: absolute; inset: 0; background: rgba(6, 12, 20, 0.72); backdrop-filter: blur(3px); animation: lbFade 0.25s ease; }
.maint-modal {
  position: relative;
  z-index: 1;
  max-width: 440px;
  width: 100%;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  text-align: center;
  animation: lbPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.maint-modal h3 { margin-bottom: 12px; font-size: 24px; }
.maint-modal p { color: var(--muted-ink); margin-bottom: 22px; }
.maint-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--paper-soft);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.maint-close:hover { background: var(--border); }

.maint-banner {
  display: none;
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--gold);
  color: var(--navy-dark);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}
.maint-banner.show { display: block; }

/* ---- Admin (light UI, unchanged) ---- */
.admin-body { font-family: var(--font); background: var(--paper-soft); color: var(--ink); margin: 0; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-topbar { display: none; }
.admin-sidebar { width: 230px; background: var(--navy); color: #fff; padding: 28px 20px; flex-shrink: 0; }
.admin-sidebar .logo { margin-bottom: 32px; display: block; }
.admin-sidebar nav a { display: block; padding: 10px 12px; border-radius: 8px; color: #cdd7e8; font-size: 14.5px; margin-bottom: 4px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,0.08); color: #fff; }
.admin-logout { margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 14px !important; }
.admin-main { flex: 1; padding: 40px; max-width: 900px; }
.admin-main h2 { font-size: 28px; color: var(--ink); }
.admin-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 28px; margin-bottom: 24px; }
.admin-card h3 { color: var(--ink); font-size: 17px; margin-bottom: 18px; }
.admin-hint { color: var(--muted); font-size: 14px; margin: -4px 0 20px; }
.admin-field-note { color: var(--muted); font-size: 12px; margin: -12px 0 16px; font-weight: 400; }
.admin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.admin-form label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 18px; font-family: inherit; font-size: 14px; background: #fff; color: var(--ink);
}
.admin-form textarea { resize: vertical; }
.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); font-size: 14px; }
.admin-actions a { margin-right: 12px; font-weight: 600; font-size: 13px; }
.admin-actions .delete { color: #b3261e; }
.admin-logo-preview { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; margin-bottom: 12px; background: var(--navy); border-radius: 8px; }
.admin-logo-preview img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.slide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.slide-thumb { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: var(--paper-soft); }
.slide-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(10,21,36,0.72); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; text-decoration: none; }
.slide-del:hover { background: #b3261e; }
.slide-order { position: absolute; bottom: 6px; left: 6px; background: rgba(10,21,36,0.72); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.cat-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 18px; }
.cat-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; cursor: pointer; }
.cat-check input { width: auto; margin: 0; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.dash-tile {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.dash-tile:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(14,42,71,0.1); }
.dash-tile h3 { color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.dash-tile p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* Sortable sections */
.sortable { list-style: none; margin: 0 0 22px; padding: 0; }
.sort-item {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 10px;
}
.sort-item.dragging { opacity: 0.6; border-color: var(--gold); box-shadow: 0 12px 26px rgba(14,42,71,0.14); }
.drag-handle {
  cursor: grab; color: #9aa6b8; font-size: 18px; letter-spacing: -3px; line-height: 1;
  padding: 4px 6px; user-select: none; touch-action: none; flex-shrink: 0;
}
.drag-handle:active { cursor: grabbing; }
.sort-label { flex: 1; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.sort-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.move-btn {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--paper-soft); color: var(--navy); font-size: 15px; cursor: pointer; line-height: 1;
}
.move-btn:hover { border-color: var(--gold); }
/* toggle switch */
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch-track {
  width: 40px; height: 22px; border-radius: 999px; background: #cbd3df; position: relative;
  transition: background 0.2s ease; flex-shrink: 0;
}
.switch-track::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: #fff; transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.switch input:checked + .switch-track { background: var(--gold); }
.switch input:checked + .switch-track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--navy); outline-offset: 2px; }
.switch-text { font-size: 13px; color: var(--muted); min-width: 46px; }

@media (max-width: 560px) {
  .sort-label { font-size: 13.5px; }
  .switch-text { display: none; }
  .sort-controls { gap: 6px; }
}
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); }
.login-card { background: #fff; padding: 40px; border-radius: var(--radius); width: 100%; max-width: 380px; }
.login-card h2 { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .testi-grid, .services-grid, .work-grid, .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }

  /* Hero collapses to text-only, centered — no image on smaller screens */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  .hero-copy { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .hero { padding: 128px 0 60px; }
  .hero-points { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 18px;
    flex-direction: column; align-items: flex-start; padding: 18px 22px; display: none; gap: 15px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav { padding: 10px 12px 10px 18px; }

  .testi-grid, .services-grid, .work-grid, .clients-grid,
  .leaders-grid, .contact-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--featured { grid-column: span 1; }
  .work-card--featured .work-thumb { height: 260px; }
  .leader-card { flex-direction: column; gap: 16px; }
  .footer-inner { flex-direction: column; gap: 26px; }
  .compare-list li { grid-template-columns: 1fr; gap: 4px; }
  .cmp-them { text-align: left; }
  .sec-head { margin-bottom: 36px; }
}

/* ---------- Admin responsive ---------- */
@media (max-width: 860px) {
  .admin-shell { flex-direction: column; }
  .admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--navy);
    padding: 12px 18px;
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .admin-topbar .logo img { height: 26px; width: auto; }
  .admin-nav-toggle { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; padding: 4px 8px; }
  .admin-sidebar { width: 100%; padding: 0 14px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
  .admin-sidebar.open { max-height: 560px; padding: 14px; }
  .admin-sidebar-logo { display: none; }
  .admin-main { padding: 24px 18px; max-width: 100%; }
  .admin-main h2 { font-size: 24px; }
  .admin-card { padding: 22px 18px; }
  .admin-row, .admin-row-4 { grid-template-columns: 1fr; gap: 0; }
}
