/* ============================================
   Masters Technology Group — Bento site
   ============================================ */

:root {
  --ink:      #0e1525;   /* deep ink, slightly cool */
  --ink-2:    #1a2237;
  --navy:     #1b2a4e;   /* mid-deep navy companion */
  --accent:   #1d4ed8;   /* MTG primary blue (matches mark) */
  --accent-2: #2f6df6;   /* brighter accent for hover */
  --sky:      #dbe7ff;   /* pale sky panel */
  --sky-2:    #eaf1ff;
  --paper:    #f6f8fc;   /* page background */
  --card:     #ffffff;
  --line:     #e3e8f1;
  --muted:    #5a6680;
  --muted-2:  #8590a8;

  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(14, 21, 37, 0.04), 0 1px 1px rgba(14, 21, 37, 0.02);
  --shadow-md: 0 4px 14px rgba(14, 21, 37, 0.06), 0 1px 2px rgba(14, 21, 37, 0.03);
  --shadow-lg: 0 12px 40px rgba(14, 21, 37, 0.08);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   Type
   ============================================ */
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 500; }
h1 { font-size: clamp(48px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.03em; }
h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
h3 { font-size: 24px; line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }
p  { margin: 0; }

.serif      { font-family: var(--font-display); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono       { font-family: var(--font-mono); }

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.kicker .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  vertical-align: 2px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.muted { color: var(--muted); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px 64px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo img { height: 64px; width: auto; display: block; }

.pill-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
}
.pill-nav a {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.pill-nav a:hover { background: var(--sky-2); }
.pill-nav a.active { background: var(--ink); color: var(--paper); }
.pill-nav a.active:hover { background: var(--ink-2); }
.pill-nav a.cta {
  background: var(--accent);
  color: var(--paper);
}
.pill-nav a.cta:hover { background: var(--accent-2); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn .arr { font-family: var(--font-mono); transition: transform 0.2s; }
.btn:hover .arr { transform: translate(2px, -1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-dark { background: var(--paper); color: var(--ink); }
.btn-on-dark:hover { background: var(--sky); }

/* ============================================
   Bento card primitives
   ============================================ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card.lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.card-ink   { background: var(--ink);   color: var(--paper); border-color: transparent; }
.card-navy  { background: var(--navy);  color: var(--paper); border-color: transparent; }
.card-sky   { background: var(--sky);   color: var(--ink);   border-color: transparent; }
.card-accent{ background: var(--accent);color: var(--paper); border-color: transparent; }
.card-paper { background: var(--paper); color: var(--ink); }

.card-ink.lift:hover, .card-navy.lift:hover, .card-accent.lift:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 28px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 14px;
}
.hero-main {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 56px 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
}
.hero-main h1 em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
  margin-top: 28px;
}
.hero-cta-row { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }

.hero-aside {
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.hero-aside .glyph {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 160px;
  height: 160px;
  opacity: 0.12;
}
.hero-aside .big-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  line-height: 1.04;
  font-weight: 400;
  position: relative;
  z-index: 1;
}
.hero-aside .big-quote em { color: var(--accent-2); font-style: italic; }
.hero-aside .aside-body {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  position: relative;
  z-index: 1;
}
.hero-aside .aside-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.cred-chip {
  font-size: 11px;
  padding: 4px 9px;
  background: rgba(255,255,255,0.1);
  color: var(--paper);
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Hero aside — testimonial mode */
.aside-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.dot-blink {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(47, 109, 246, 0.7);
  animation: dotPulse 2.4s infinite;
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,109,246,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(47,109,246,0);   }
  100% { box-shadow: 0 0 0 0 rgba(47,109,246,0);     }
}
.quote-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  z-index: 1;
}
.quote-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.quote-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.quote-slide blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
  color: var(--paper);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.quote-slide blockquote em {
  color: var(--accent-2);
  font-style: italic;
}
.quote-slide .qmark {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0;
  vertical-align: -14px;
  margin-right: 4px;
  color: var(--accent-2);
  opacity: 0.85;
}
.quote-slide figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.quote-slide .cite-role { color: var(--paper); font-weight: 600; }
.quote-slide .cite-sep  { color: rgba(255,255,255,0.35); }
.quote-slide .cite-sector { color: rgba(255,255,255,0.65); }
.quote-dots {
  display: flex;
  gap: 8px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.quote-dots .dot {
  width: 22px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.quote-dots .dot.is-active { background: var(--accent-2); width: 32px; }
.quote-dots .dot:hover { background: rgba(255,255,255,0.4); }
.quote-dots .dot.is-active:hover { background: var(--accent-2); }

/* Pills strip under hero */
.cap-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.cap-pill {
  border-radius: var(--r-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.cap-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cap-pill .num { font-size: 12px; opacity: 0.6; font-family: var(--font-mono); }

/* ============================================
   Section header
   ============================================ */
.section {
  padding: 56px 0 28px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  padding: 0 12px 28px;
  flex-wrap: wrap;
}
.section-head .lhs { max-width: 720px; }
.section-head h2 .em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.section-head .meta {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ============================================
   Strands (services bento)
   ============================================ */
.strands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.strand {
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 480px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.strand:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.strand-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.strand-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
}
.strand-num.on-dark { color: var(--accent-2); }
.strand-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}
.strand h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.strand-body { font-size: 15px; line-height: 1.55; opacity: 0.82; }
.strand ul { list-style: none; padding: 0; margin: auto 0 0; }
.strand ul li {
  padding: 11px 0;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid currentColor;
  border-color: rgba(14, 21, 37, 0.08);
  opacity: 0.92;
  transition: padding 0.15s;
}
.strand.card-ink ul li, .strand.card-navy ul li {
  border-color: rgba(255,255,255,0.12);
}
.strand ul li .arr { font-family: var(--font-mono); opacity: 0.5; transition: transform 0.2s, opacity 0.2s; }
.strand ul li:hover { padding-left: 4px; }
.strand ul li:hover .arr { transform: translateX(3px); opacity: 1; }

/* ============================================
   About bento
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 14px;
}
.about-portrait {
  background: var(--ink);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.95) contrast(1.02);
}
.about-portrait .nameplate {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(14, 21, 37, 0.78);
  backdrop-filter: blur(10px);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
}
.about-portrait .nameplate .name { font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }
.about-portrait .nameplate .role { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 2px; font-family: var(--font-mono); }

.about-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about-body h2 .em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.about-body p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.about-body p strong { color: var(--ink); font-weight: 500; }

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cred {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  background: var(--sky-2);
  color: var(--ink);
  border-radius: var(--r-pill);
}

/* ============================================
   CTA bar
   ============================================ */
.cta-bar {
  margin-top: 14px;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-bar .glyph {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 240px;
  height: 240px;
  opacity: 0.15;
  pointer-events: none;
}
.cta-bar h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.cta-bar p { font-size: 15px; opacity: 0.92; margin-top: 8px; max-width: 560px; }

/* ============================================
   Footer
   ============================================ */
footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 64px 36px;
  max-width: 1320px;
  margin: 0 auto;
}
.footer-inner h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.footer-inner ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-inner a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color 0.15s; }
.footer-inner a:hover { color: var(--accent-2); }
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 56px; width: auto; }
.footer-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 18px;
  max-width: 360px;
  line-height: 1.55;
}
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 64px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  max-width: 1320px;
  margin: 0 auto;
}

/* ============================================
   Sub-page heroes (smaller than home)
   ============================================ */
.page-hero {
  padding: 36px 0 24px;
}
.page-hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 56px 56px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: end;
  min-height: 320px;
}
.page-hero-card h1 { font-size: clamp(44px, 5.5vw, 72px); }
.page-hero-card h1 em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.page-hero-card .lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  align-self: end;
}

/* ============================================
   Services-page detail blocks
   ============================================ */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
  margin-bottom: 14px;
}
.svc-detail .lhs {
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.svc-detail .lhs .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 96px;
  line-height: 1;
  font-weight: 400;
  opacity: 0.2;
}
.svc-detail .lhs .label {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}
.svc-detail .lhs h3 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 380px;
}
.svc-detail .rhs {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-detail .rhs p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.svc-detail .rhs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.svc-detail .rhs ul li {
  padding: 12px 0;
  font-size: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-detail .rhs ul li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ============================================
   Approach / methodology bento (small)
   ============================================ */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step {
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
}
.step h4 { font-size: 17px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ============================================
   Contact page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-card {
  border-radius: var(--r-lg);
  padding: 44px;
}
.contact-card h2 .em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.contact-card p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 16px; max-width: 460px; }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.15s, background 0.15s;
}
.channel:hover { border-color: var(--accent); background: var(--sky-2); }
.channel .label { font-size: 11px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.channel .value { font-size: 16px; font-weight: 500; margin-top: 4px; letter-spacing: -0.005em; }
.channel .arr { font-family: var(--font-mono); color: var(--accent); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input, .field textarea, .field select {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  background: var(--card);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ============================================
   Stat / number cards
   ============================================ */
.stat {
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 130px;
  justify-content: space-between;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
}
.stat .stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1080px) {
  .nav-inner { padding: 18px 24px; }
  .nav-logo img { height: 52px; }
  .pill-nav { font-size: 13px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-aside { min-height: 220px; }
  .cap-strip { grid-template-columns: repeat(2, 1fr); }
  .strands { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { min-height: 420px; }
  .approach { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-detail { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 48px 24px 24px; gap: 32px; }
  .footer-bar { padding: 18px 24px; flex-direction: column; gap: 8px; }
  .page-hero-card { grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; }
  .hero-main { padding: 36px 32px; }
}
@media (max-width: 640px) {
  .pill-nav a:nth-child(-n+3) { display: none; }
  .cta-bar { grid-template-columns: 1fr; padding: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
