/* ============================================================
   MORPHEUS CONSULTANT — quiet enterprise design system
   Warm off-white · ink navy · deep teal · sage · sparing gold
   Manrope (headings) + Inter (body)
   ============================================================ */

:root {
  --bg: #F8F7F3;          /* warm off-white */
  --ink: #111827;          /* primary text */
  --slate: #4B5563;        /* secondary text */
  --teal: #164E63;         /* primary brand */
  --teal-dark: #0F3A4A;
  --sage: #7CAEA3;         /* muted accent */
  --mist: #EEF3F2;         /* card background */
  --gold: #C89B5A;         /* premium highlight — sparing */
  --border: #E5E7EB;       /* thin borders */
  --white: #FFFFFF;

  --heading: "Manrope", "Arial", sans-serif;
  --body: "Inter", "Arial", system-ui, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4rem);
  --maxw: 72rem;
  --radius: 14px;
  --shadow-soft: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px -12px rgba(17, 24, 39, 0.08);
  --shadow-lift: 0 2px 4px rgba(17, 24, 39, 0.04), 0 16px 40px -16px rgba(17, 24, 39, 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--teal); color: var(--white); }

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

h1, h2, h3 { font-family: var(--heading); color: var(--ink); }
h1 { font-weight: 600; }
h2 { font-weight: 600; }
h3 { font-weight: 600; }

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--body);
  font-size: 0.96rem;   /* ~15.5px */
  font-weight: 500;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s,
    transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.btn--secondary {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn--secondary:hover { background: rgba(22, 78, 99, 0.06); }

.btn--light {
  background: var(--bg);
  color: var(--teal);
}
.btn--light:hover { background: var(--white); transform: translateY(-1px); }

/* ============ NAV ============ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(248, 247, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.03);
}

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.8rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.brand__mark { width: 38px; height: 38px; border-radius: 9px; }
.brand__word {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--ink);
}
.brand__word em {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 0.2rem;
}

.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--slate);
  transition: color 0.25s;
}
.nav__links a:not(.nav__cta):hover { color: var(--teal); }

.nav__cta {
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
  transition: background 0.25s;
}
.nav__cta:hover { background: var(--teal-dark); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

/* ============ HERO ============ */

.hero {
  padding: clamp(8rem, 16vh, 11rem) var(--pad) clamp(4rem, 8vh, 6rem);
  position: relative;
  overflow: hidden;
}
/* subtle grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 65% at 70% 20%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 20%, black, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.6rem;
}

.hero__copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem); /* up to 64px */
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 17ch;
}
.hero__copy h1 .accent { color: var(--teal); }

.hero__lede {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); /* 20–22px */
  line-height: 1.6;
  color: var(--slate);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.4rem, 5vh, 3.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.hero__stats dt {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--teal);
}
.hero__stats dd {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.2rem;
  max-width: 13rem;
}

/* --- hero visual: operating-model cards --- */

.hero__visual {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: end;
}

.vis-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 1.2rem 1.3rem;
  width: min(21rem, 100%);
}
.vis-card header {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.vis-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(124, 174, 163, 0.22);
}

.vis-card--pod { transform: rotate(-1deg); }
.vis-card--gov {
  transform: rotate(1.2deg) translateY(-0.2rem);
  width: min(17.5rem, 92%);
  margin-right: 2.2rem;
}

.vis-avatars { display: flex; margin-bottom: 0.8rem; }
.vis-avatars span {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--white);
  background: var(--c, var(--teal));
  border: 2px solid var(--white);
  margin-left: -7px;
}
.vis-avatars span:first-child { margin-left: 0; }
.vis-avatars__more { background: var(--mist) !important; color: var(--slate) !important; }

.vis-roles {
  list-style: none;
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 1rem;
}
.vis-roles li { padding: 0.1rem 0; }

.vis-progress__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--slate);
  margin-bottom: 0.35rem;
}
.vis-progress__bar {
  height: 6px;
  border-radius: 6px;
  background: var(--mist);
  overflow: hidden;
}
.vis-progress__bar i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--sage), var(--teal));
}

.vis-checks { list-style: none; display: grid; gap: 0.45rem; }
.vis-checks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: var(--slate);
}
.vis-checks svg {
  width: 15px; height: 15px;
  color: var(--white);
  background: var(--sage);
  border-radius: 50%;
  padding: 2.5px;
  flex-shrink: 0;
}

.vis-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate);
  margin-right: 4.5rem;
  transform: rotate(-0.6deg);
}
.vis-chip svg { width: 15px; height: 15px; color: var(--gold); }

/* ============ ENTRANCES ============ */

.rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* reveals are only hidden when JS is running (html.js set in main.js) */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

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

/* ============ SECTIONS ============ */

.section {
  padding: clamp(4.5rem, 10vh, 7rem) var(--pad);
  max-width: calc(var(--maxw) + 2 * var(--pad));
  margin-inline: auto;
}

.section--mist {
  max-width: none;
  background: var(--mist);
  border-block: 1px solid var(--border);
}
.section--mist > * {
  max-width: var(--maxw);
  margin-inline: auto;
}

.section__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}
.section__label::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.65rem;
}

.section__head { max-width: 44rem; margin-bottom: clamp(2.4rem, 6vh, 3.6rem); }
.section__head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem); /* 36–44px */
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section__sub {
  margin-top: 1.1rem;
  font-size: 1.14rem; /* ~20px subheading */
  color: var(--slate);
}

/* ============ PROBLEM ============ */

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.pcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.pcard__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--mist);
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.pcard__icon svg { width: 21px; height: 21px; color: var(--teal); }

.pcard h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.pcard p { font-size: 0.94rem; color: var(--slate); }

/* ============ BENTO (model) ============ */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.bcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out),
    border-color 0.35s;
}
.bcard:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
  border-color: var(--sage);
}

.bcard__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--mist);
  border: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.bcard__icon svg { width: 21px; height: 21px; color: var(--teal); }

.bcard h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.bcard p { font-size: 0.93rem; color: var(--slate); }

/* wide teal feature card: declared after the base rules so its
   colour overrides win at equal specificity */
.bcard--wide {
  grid-column: span 2;
  background: var(--teal);
  border-color: var(--teal);
  display: flex;
  flex-direction: column;
}
.bcard--wide:hover { border-color: var(--teal); }
.bcard--wide h3 { color: var(--white); font-size: 1.4rem; }
.bcard--wide p { color: rgba(255, 255, 255, 0.92); max-width: 40rem; }
.bcard--wide .bcard__icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.bcard--wide .bcard__icon svg { color: var(--white); }

.bcard__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.4rem;
}
.bcard__chips li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

/* ============ COMPARISON TABLE ============ */

.compare {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.compare table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare th, .compare td {
  text-align: left;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare thead th {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate);
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  background: var(--mist);
}

.compare tbody th {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: nowrap;
}

.compare td { color: var(--slate); }

.compare .compare__us {
  background: rgba(124, 174, 163, 0.1);
  border-left: 1px solid var(--border);
  color: var(--ink);
  font-weight: 500;
}
.compare thead .compare__us { background: rgba(22, 78, 99, 0.06); }

.compare__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--teal);
  font-size: 0.85rem;
}
.compare__badge svg { width: 14px; height: 14px; color: var(--gold); }

/* ============ CAPABILITIES ============ */

.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.cap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.cap:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.cap svg { width: 22px; height: 22px; color: var(--sage); margin-bottom: 1rem; }
.cap h3 { font-size: 0.99rem; margin-bottom: 0.4rem; }
.cap p { font-size: 0.86rem; color: var(--slate); }

/* ============ STEPS (operating model) ============ */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
}
/* connector line between steps */
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.55rem;
  right: -1.2rem;
  width: 1.3rem;
  height: 1px;
  background: var(--sage);
}

.steps__num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
  background: var(--mist);
  border: 1px solid var(--sage);
  margin-bottom: 1.1rem;
}

.steps h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.steps p { font-size: 0.85rem; color: var(--slate); }

/* ============ TRUST ============ */

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.tcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.tcard:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.tcard svg { width: 22px; height: 22px; color: var(--teal); margin-bottom: 1.1rem; }
.tcard h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.tcard p { font-size: 0.9rem; color: var(--slate); }

/* ============ PUNE ============ */

.pune {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.pune__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3.2;
  background: var(--mist);
}
.pune__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.pune__media figcaption {
  position: absolute;
  left: 1rem; bottom: 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(248, 247, 243, 0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.pune__copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.pune__copy > p { color: var(--slate); margin-bottom: 1.5rem; }

.pune__list { list-style: none; display: grid; gap: 0.7rem; }
.pune__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.pune__list svg {
  width: 16px; height: 16px;
  color: var(--white);
  background: var(--sage);
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
}

/* ============ CTA BAND ============ */

.cta {
  padding: 0 var(--pad);
  max-width: calc(var(--maxw) + 2 * var(--pad));
  margin-inline: auto;
}
.cta__inner {
  background: var(--teal);
  border-radius: 20px;
  padding: clamp(3rem, 7vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* faint grid texture inside band */
.cta__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.cta__inner h2 {
  position: relative;
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.cta__inner p {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin: 0 auto 2rem;
}
.cta__inner .btn { position: relative; }

/* ============ CONTACT ============ */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact__info ul { list-style: none; display: grid; gap: 1.5rem; }
.contact__info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__info svg {
  width: 20px; height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.contact__info strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.2rem;
}
.contact__info span { font-size: 0.96rem; color: var(--slate); line-height: 1.55; }
.contact__info span a { color: var(--teal); text-decoration: none; font-weight: 500; }
.contact__info span a:hover { text-decoration: underline; }

.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 1.2rem;
}

.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field textarea {
  font-family: var(--body);
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #9CA3AF; }
.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 78, 99, 0.12);
  background: var(--white);
}

.contact__form .btn { justify-self: start; }
.contact__note { font-size: 0.88rem; color: var(--teal); min-height: 1.2em; }

/* ============ FOOTER ============ */

.footer {
  background: var(--ink);
  color: rgba(248, 247, 243, 0.75);
  padding: 3.2rem var(--pad) 2.6rem;
  margin-top: clamp(3rem, 7vh, 5rem);
}
.footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__brand p { font-size: 0.88rem; margin-top: 0.9rem; max-width: 16rem; }
.brand--footer .brand__word { color: var(--bg); }
.brand--footer .brand__word em { color: var(--sage); }

.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 0.5rem; }
.footer__links a {
  font-size: 0.87rem;
  color: rgba(248, 247, 243, 0.75);
  text-decoration: none;
  transition: color 0.25s;
}
.footer__links a:hover { color: var(--white); }

.footer__meta {
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: right;
}
.footer__meta a { color: var(--sage); text-decoration: none; }
.footer__meta a:hover { text-decoration: underline; }

/* ============ RESPONSIVE ============ */

@media (max-width: 1060px) {
  .caps { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 34rem; }
  .steps li:not(:last-child)::after {
    top: auto; bottom: -1.2rem;
    left: 2.4rem; right: auto;
    width: 1px; height: 1.3rem;
  }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { justify-items: start; max-width: 26rem; }
  .vis-chip { margin-right: 0; }
  .vis-card--gov { margin-right: 0; }
  .problem__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bcard--wide { grid-column: span 2; }
  .trust { grid-template-columns: 1fr 1fr; }
  .pune { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(20rem, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px rgba(17, 24, 39, 0.12);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav__burger { display: flex; position: relative; z-index: 110; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .bento { grid-template-columns: 1fr; }
  .bcard--wide { grid-column: auto; }
  .caps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.3rem; }
  .hero__stats > div { flex: 1 1 40%; }
}
