/* ============ Nadovis Consult: clean editorial light theme ============ */
:root {
  --paper: #faf9f5;    /* warm ivory */
  --paper-2: #f0efe9;  /* warm tan */
  --card: #ffffff;
  --ink: #131f4a;      /* logo navy */
  --teal: #14b8a6;      /* logo teal — dots and fills only */
  --teal-text: #0f766e; /* teal as text on the ivory ground, 5.2:1 */
  --blue: #2563eb;     /* logo blue */
  --text: #232d4d;
  --text-dim: #5a6379;
  --line: #e4e2d8;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(20, 184, 166, 0.2); }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
/* pretty re-breaks the last lines so no width strands a single word; copy fixes
   handle the designed widths, this handles every width in between */
p, li, blockquote { text-wrap: pretty; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.18; }
h3 { font-size: 1.3rem; }
p { color: var(--text-dim); }

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-sub { margin-top: 18px; font-size: 1.05rem; }

section { padding: 104px 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 550;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--ink); color: #ffffff; }
.btn-primary:hover { background: #1d2c66; }
.btn-ghost { color: var(--ink); border-color: #c9cede; background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark span { font-weight: 400; color: var(--text-dim); }
.wordmark-lg { font-size: 1.7rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.35s var(--ease-out);
  padding-bottom: 3px;
}
.nav-links a:hover { background-size: 100% 1px; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; }
.nav-mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  padding: 210px 0 120px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.eyebrow .sep { color: var(--teal-text); }
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  line-height: 1.08;
  font-weight: 500;
  margin-bottom: 30px;
  max-width: 900px;
}
.hero-sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text); max-width: 660px; margin-bottom: 16px; }
.hero-sub2 { max-width: 620px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- point of view ---------- */
.pov { background: var(--paper-2); }
.pov-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}
.pov-left h2 { margin-bottom: 24px; }
.pov-left p { margin-bottom: 16px; }
.pov-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.pov-card-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.pov-card-row:first-child { padding-top: 0; }
.pov-card-row:last-of-type { border-bottom: 0; padding-bottom: 6px; }
.pov-card-row p { color: var(--text-dim); }
.pov-card-row strong { color: var(--ink); font-weight: 600; }
.tick { font-size: 0.78rem; font-weight: 600; color: var(--teal-text); }
.pov-card-note {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ---------- services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.svc-card {
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s ease;
}
.svc-wide { grid-column: span 3; }
.svc-full { grid-column: 1 / -1; }
.svc-full p { max-width: 800px; }
.svc-card:hover {
  transform: translateY(-3px);
  border-color: #d5d2c6;
  box-shadow: 0 10px 28px rgba(19, 31, 74, 0.06);
}
.svc-num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--teal-text);
  margin-bottom: 14px;
}
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { font-size: 0.95rem; }
.svc-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.svc-tags li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- promise ---------- */
.promise { background: var(--paper-2); text-align: center; }
.promise .kicker { text-align: center; }
.promise blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto 26px;
}
.promise-sub { max-width: 620px; margin: 0 auto; }

/* ---------- industries ---------- */
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ind-col {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--card);
}
.ind-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.ind-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.ind-dot.teal { background: var(--teal); }
.ind-dot.blue { background: var(--blue); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  font-size: 0.88rem;
  color: var(--text);
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- approach ---------- */
.approach { background: var(--paper-2); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--card);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.steps li:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(19, 31, 74, 0.06); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.94rem; }
.approach-note {
  margin-top: 46px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
}

/* ---------- responsible (navy band) ---------- */
.responsible { background: var(--ink); }
.responsible .kicker { color: #7fe0d3; }
.resp-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.resp-left h2 { color: #ffffff; margin-bottom: 22px; }
.resp-left p { color: #b9c1dc; margin-bottom: 16px; }
.resp-aim { color: #ffffff; font-size: 1.1rem; }
.resp-aim strong { color: #ffffff; }
.resp-list { list-style: none; display: grid; gap: 12px; }
.resp-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 15px 20px;
  font-size: 0.96rem;
  color: #ffffff;
}
.resp-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ---------- success ---------- */
.success-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.success-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--card);
}
.success-note { margin-top: 40px; text-align: center; font-size: 1.05rem; }
.success-note em { color: var(--ink); font-style: italic; font-weight: 500; }

/* ---------- insights ---------- */
.insights { background: var(--paper-2); }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* no hover lift: these are titles of thinking, not links. A lift promises a
   click that goes nowhere; restore it the day the articles exist. */
.ins-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: var(--card);
}
.ins-card h3 { font-size: 1.18rem; line-height: 1.4; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 70px; align-items: start; }
.contact-left h2 { margin-bottom: 22px; }
.contact-left p { margin-bottom: 14px; }
.contact-start {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 10px;
  color: var(--ink);
}
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: var(--paper-2);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 550;
  color: var(--text);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--card);
  border: 1px solid #d8d5ca;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}
.contact-form textarea { resize: vertical; }
.form-sent-msg { display: none; text-align: center; color: var(--teal-text); font-weight: 600; }
.contact-form.sent .form-sent-msg { display: block; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 30px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 60px; padding-bottom: 46px; }
.footer-tag {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--teal-text); }
.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-base p { font-size: 0.82rem; }

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.4s; }

/* slower, statelier stagger for the hero intro */
.hero .reveal { transition-duration: 1.1s; }
.hero .d1 { transition-delay: 0.12s; }
.hero .d2 { transition-delay: 0.24s; }
.hero .d3 { transition-delay: 0.36s; }
.hero .d4 { transition-delay: 0.5s; }

/* static capture / print mode */
html.static .hero { padding-top: 160px; }

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

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-wide { grid-column: span 1; }
  .svc-full { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ins-grid { grid-template-columns: repeat(2, 1fr); }
  .success-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 78px 0; }
  .hero { padding: 150px 0 80px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .wordmark { font-size: 1.3rem; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav.open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 28px 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-mobile { display: flex; }
  .nav-mobile a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile a.btn { border: none; margin-top: 16px; color: #ffffff; }
  .pov-grid, .resp-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 44px; }
  .ind-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps, .ins-grid, .success-grid, .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
