/* ==========================================================================
   Kishor Insights — deep teal, off-white, warm gold
   Growth-forward but restrained. No fintech gradients, no stat blocks,
   no urgency. One ascending line, used once, in the hero.
   ========================================================================== */

:root {
  /* Palette */
  --teal:       #0B3D3A;
  --teal-deep:  #072B29;
  --offwhite:   #F4F6F4;
  --gold:       #D9A441;

  /* Derived */
  --surface:    #FFFFFF;
  --soft:       #EBEFEC;
  --text:       #10312F;
  --muted:      #4A5C59;
  --line:       #D6DEDA;
  --on-teal:    #E8F0ED;
  --on-teal-dim:#B9CBC7;

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Rhythm */
  --shell:   74rem;
  --pad:     clamp(1.25rem, 5vw, 2.5rem);
  --band:    clamp(4rem, 9vw, 7.5rem);
  --radius:  6px;
}

/* --------------------------------------------------------------- Base -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 6vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }

img, svg { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 100;
  background: var(--teal);
  color: var(--offwhite);
  padding: 0.8rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------ Shared pieces -- */

.kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.kicker--gold { color: var(--gold); }

.button {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1;
  color: var(--offwhite);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 1rem 1.75rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.button:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--offwhite); }

.button--quiet {
  background: transparent;
  color: var(--teal);
  padding: 0.7rem 1.15rem;
  font-size: 0.9rem;
}
.button--quiet:hover { background: var(--teal); color: var(--offwhite); }

.button--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal-deep);
}
.button--gold:hover { background: #C08F32; border-color: #C08F32; color: var(--teal-deep); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
  transition: border-color 0.18s ease;
}
.link-arrow:hover { border-bottom-color: var(--gold); color: var(--teal); }
.link-arrow span { transition: transform 0.18s ease; }
.link-arrow:hover span { transform: translateX(3px); }

/* ------------------------------------------------------------- Topbar -- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 246, 244, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  padding-block: 1rem;
}

.wordmark {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--teal);
  text-decoration: none;
  margin-right: auto;
}
.wordmark em { font-style: italic; font-weight: 400; }

.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.menu a {
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  padding-block: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}
.menu a:hover { border-bottom-color: var(--gold); color: var(--text); }

/* --------------------------------------------------------------- Hero -- */

.hero { padding-block: clamp(3rem, 8vw, 6rem) var(--band); }

.hero__layout {
  display: grid;
  gap: clamp(2.75rem, 6vw, 4.5rem);
  align-items: center;
}

.hero__text h1 { margin-bottom: 0.45em; }

.standfirst {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 32em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
}

/* --------------------------------------------- Growth motif (once) --- */

.growth { margin: 0; }

.growth__svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.growth__guides line {
  stroke: var(--line);
  stroke-width: 1;
}

.growth__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.growth__point {
  fill: var(--gold);
  stroke: var(--offwhite);
  stroke-width: 3;
}

.growth__caption {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 26em;
}

/* -------------------------------------------------------------- Bands -- */

.band { padding-block: var(--band); }
.band--soft { background: var(--soft); }

.band__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.band__head h2 { margin-bottom: 0.5rem; }

.band__standfirst {
  color: var(--muted);
  font-size: 1.075rem;
  margin: 0;
}

/* ------------------------------------------------------------- Offers -- */

.offers {
  display: grid;
  /* 14rem, not 16rem: at the shell's max width 16rem leaves the fourth card
     ~4px short of fitting, dropping the grid to 3-up + an orphan. */
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  list-style: none;
  margin: 0; padding: 0;
}

.offer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.offer:hover {
  border-color: #BFCCC7;
  box-shadow: 0 10px 28px -22px rgba(11, 61, 58, 0.6);
}

.offer h3 {
  margin-bottom: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.offer p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ----------------------------------------------- Approach (teal band) -- */

.approach {
  background: var(--teal);
  color: var(--on-teal);
  padding-block: var(--band);
}

.approach h2 { color: var(--offwhite); }
/* :not() keeps this off the gold kicker, which would otherwise lose to a
   descendant selector of higher specificity. */
.approach p:not(.kicker) { color: var(--on-teal-dim); }

.approach__layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.approach__intro { max-width: 32rem; }

.principles {
  display: grid;
  gap: 0;
}

.principle {
  padding: clamp(1.5rem, 3vw, 1.9rem) 0;
  border-top: 1px solid rgba(232, 240, 237, 0.18);
}
.principle:first-child { padding-top: 0; border-top: none; }
.principle:last-child  { padding-bottom: 0; }

.principle h3 {
  color: var(--offwhite);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.principle p { font-size: 0.975rem; margin: 0; }

/* -------------------------------------------------------------- About -- */

.about {
  display: grid;
  gap: clamp(2.25rem, 4.5vw, 3.5rem);
  align-items: start;
}

.about__main p { color: var(--muted); max-width: 36em; }

.credentials {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.credentials__title {
  font-size: 0.78rem;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.credentials dl { margin: 0; }

.credential { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.credential:first-of-type { padding-top: 0; border-top: none; }
.credential:last-of-type { padding-bottom: 0; }

.credential dt {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.credential dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--teal);
  line-height: 1.35;
}

/* ------------------------------------------------------------ Contact -- */

.contact {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact__blurb { color: var(--muted); max-width: 30em; }

.reach {
  font-style: normal;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.reach__row {
  display: flex;
  gap: 1.25rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
}

.reach__key {
  flex: none;
  width: 4.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.3rem;
}

/* -------------------------------------------------------------- Form -- */

.enquiry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.input { margin-bottom: 1.2rem; }

.input-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0 1.1rem;
}

.input label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.input input,
.input select,
.input textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.975rem;
  color: var(--text);
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.input textarea { resize: vertical; min-height: 7.5rem; }

.input input:hover,
.input select:hover,
.input textarea:hover { border-color: #BFCCC7; }

.input input:focus,
.input select:focus,
.input textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
  background: var(--surface);
}

.input ::placeholder { color: #8B9B97; }

.enquiry .button { width: 100%; margin-top: 0.5rem; }

.enquiry__note {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ------------------------------------------------------------- Footer -- */

.foot {
  background: var(--teal-deep);
  color: var(--on-teal);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.foot__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(232, 240, 237, 0.16);
}

.foot__mark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--offwhite);
  margin: 0 0 0.4rem;
}
.foot__mark em { font-style: italic; font-weight: 400; }

.foot__line { font-size: 0.9rem; color: var(--on-teal-dim); max-width: 24em; }

.foot__reach {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.925rem;
  color: var(--on-teal-dim);
}

.foot a { color: var(--on-teal); }
.foot a:hover { color: var(--gold); }

.foot__nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.foot__nav a { font-size: 0.925rem; text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }

.foot__base { padding-top: 1.75rem; }

.foot__base p {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--on-teal-dim);
}
.foot__base p:last-child { margin-bottom: 0; }

.foot__disclaimer { max-width: 58em; }

/* --------------------------------------------------------- Responsive -- */

@media (min-width: 62rem) {
  .hero__layout      { grid-template-columns: 1.1fr 0.9fr; }
  .approach__layout  { grid-template-columns: 0.85fr 1.15fr; }
  .about             { grid-template-columns: 1.45fr 0.85fr; }
  .contact           { grid-template-columns: 0.9fr 1.1fr; }
  .foot__inner       { grid-template-columns: 1.7fr 1fr 1fr; }
}

@media (max-width: 30rem) {
  .hero__cta .button { width: 100%; text-align: center; }
  .reach__row { flex-direction: column; gap: 0.1rem; }
  .reach__key { width: auto; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
