/* =========================================================
   Nejadhari Private Limited — design tokens
   Concept : premium editorial — generous whitespace, a refined
             display serif set large, roman-numeral itemization
             in place of card grids, brand colour used sparingly
             (rules, small-caps labels, one CTA) rather than filled
             throughout.
   Color   : warm stone paper + graphite ink; navy #012e5f and
             green #4d8027 as restrained accents.
   Type    : Cormorant (display, incl. italic) + Jost (body / labels)
   ========================================================= */

:root {
  --paper: #ffffff;
  --paper-deep: #f3f2ec;
  --surface: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #66625a;
  --ink-faint: #98938a;
  --hairline: #ddd7c9;
  --hairline-strong: #c9c1af;

  --navy: #012e5f;
  --navy-deep: #011d3d;
  --green: #4d8027;
  --green-deep: #3a6019;

  --font-display: "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12100c;
    --paper-deep: #191712;
    --surface: #1c1a15;
    --ink: #ece8de;
    --ink-soft: #b3ad9f;
    --ink-faint: #837c6d;
    --hairline: #322e24;
    --hairline-strong: #453f30;

    --navy: #8fb3de;
    --navy-deep: #aecaf0;
    --green: #9dc470;
    --green-deep: #bcdd94;
  }
}

:root[data-theme="dark"] {
  --paper: #12100c;
  --paper-deep: #191712;
  --surface: #1c1a15;
  --ink: #ece8de;
  --ink-soft: #b3ad9f;
  --ink-faint: #837c6d;
  --hairline: #322e24;
  --hairline-strong: #453f30;

  --navy: #8fb3de;
  --navy-deep: #aecaf0;
  --green: #9dc470;
  --green-deep: #bcdd94;
}

/* ---------- reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 1px solid var(--navy);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; color: var(--ink-soft); font-weight: 300; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 860px) {
  .wrap { padding: 0 48px; }
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 20px;
}
.eyebrow--light { color: #b9cde3; }

.section__title {
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  max-width: 34rem;
  font-weight: 500;
}

.section__text {
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.75;
}
.section__text + .section__text { margin-top: 22px; }

.section__head { margin-bottom: 64px; }

.has-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--navy);
  float: left;
  line-height: 0.8;
  padding: 6px 10px 0 0;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--ink);
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  max-width: 46rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  padding: 16px 34px;
  border: 1px solid var(--navy);
}
.btn--primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--text {
  color: var(--ink);
  padding: 16px 6px;
  border-bottom: 1px solid var(--hairline-strong);
}
.btn--text:hover { color: var(--navy); border-color: var(--navy); }

/* ---------- topline ---------- */
.topline {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.topline__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 42px;
  color: var(--ink-faint);
}
.topline a:hover { color: var(--navy); }
.topline__sep { color: var(--hairline-strong); }
@media (max-width: 620px) {
  .topline span:last-child { display: none; }
  .topline__sep:last-of-type { display: none; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.35s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 28px -20px rgba(1, 46, 95, 0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}
.brand__mark { width: 137px; height: 66px; }
@media (max-width: 640px) {
  .header__inner { height: 88px; }
  .brand__mark { width: 112px; height: 54px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--navy); }
.nav a:not(.nav__cta) {
  position: relative;
}
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  color: var(--navy) !important;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 32px 22px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--hairline); }
  .nav a:last-of-type { border-bottom: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 640px) {
  .nav { top: 88px; }
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 128px 0 116px;
  text-align: center;
}
.hero__motif {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 92vw);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.hero__motif svg { width: 100%; height: auto; display: block; }
.motif-hex polygon {
  fill: none;
  stroke: var(--hairline-strong);
  stroke-width: 1;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
}
.hero .eyebrow { display: flex; justify-content: center; }
.hero__title {
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.75rem);
  margin-bottom: 30px;
  font-weight: 500;
}
.hero__lead {
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 38rem;
  margin: 0 auto 42px;
}
.hero__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero__tags {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 640px) {
  .hero { padding: 96px 0 88px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__motif { width: 340px; opacity: 0.4; }
}

/* ---------- sections ---------- */
.section { padding: 108px 0; }
.section--tint { background: var(--paper-deep); }

/* about */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
}

.globe-illustration {
  width: 200px;
  height: auto;
  margin-top: 56px;
}
.globe-illustration .globe-line { fill: none; stroke: var(--hairline-strong); stroke-width: 1; }
.globe-illustration .globe-route { fill: none; stroke-width: 1.2; stroke-dasharray: 2 4; }
.globe-route--green { stroke: var(--green); }
.globe-route--navy { stroke: var(--navy); }
.globe-node--green { fill: var(--green); }
.globe-node--navy { fill: var(--navy); }
@media (max-width: 860px) {
  .globe-illustration { display: none; }
}

/* core focus — intro row with chemistry motif */
.focus-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.chain-illustration {
  width: 180px;
  height: auto;
  flex: none;
  margin-bottom: 8px;
}
.chain-illustration .chain-hex { fill: none; stroke: var(--hairline-strong); stroke-width: 1; }
.chain-dot--navy { fill: var(--navy); }
.chain-dot--green { fill: var(--green); }
@media (max-width: 780px) {
  .focus-intro { flex-direction: column; align-items: flex-start; gap: 24px; }
  .chain-illustration { width: 140px; }
}

/* core focus / why partner — roman numeral list */
.numeral-list {
  border-top: 1px solid var(--hairline);
}
.numeral-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  padding: 44px 0;
  border-bottom: 1px solid var(--hairline);
}
.numeral-item__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--hairline-strong);
  line-height: 1;
}
.numeral-item__body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 500;
}
.numeral-item__body p {
  font-size: 1rem;
  max-width: 52ch;
}
@media (max-width: 640px) {
  .numeral-item { grid-template-columns: 1fr; gap: 12px; }
}

/* core focus items carry a supporting photograph, shown in full below the text */
#focus .numeral-item {
  grid-template-columns: 96px 1fr;
  row-gap: 28px;
}
.numeral-item__img-wrap {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--hairline-strong);
}
.numeral-item__img {
  width: 100%;
  height: auto;
  display: block;
}
.js-ready .numeral-item__img {
  transform: scale(1.08);
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1);
}
.numeral-item.is-visible .numeral-item__img {
  transform: scale(1);
}
@media (max-width: 640px) {
  #focus .numeral-item { grid-template-columns: 1fr; }
}

/* segments — quiet list, two columns */
.segment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  align-items: stretch;
  border-top: 1px solid var(--hairline);
}
.segment-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
}
.segment-item__icon {
  width: 30px;
  height: 30px;
  color: var(--navy);
  margin-bottom: 18px;
}
.segment-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.segment-item p { font-size: 0.98rem; max-width: 40ch; }
@media (max-width: 700px) {
  .segment-list { grid-template-columns: 1fr; }
  .segment-item { padding: 30px 0; }
}
@media (min-width: 1100px) {
  .segment-list { grid-template-columns: repeat(4, 1fr); }
}

/* commitment band */
.band {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  padding: 108px 0;
  text-align: center;
}
.band-globe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, 90vw);
  height: auto;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1;
  opacity: 0.12;
  pointer-events: none;
}
.band__inner { position: relative; z-index: 1; max-width: 44rem; margin: 0 auto; }
.band__statement {
  font-family: var(--font-display);
  font-style: italic;
  color: #f4f1e8;
  font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2rem);
  line-height: 1.5;
}

/* faq */
.faq-list {
  border-top: 1px solid var(--hairline);
  max-width: 52rem;
}
.faq-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
}
.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.faq-item p { font-size: 1rem; max-width: 60ch; }

/* contact */
.contact__wrap .section__head { text-align: center; margin-left: auto; margin-right: auto; }
.contact__wrap .section__title { margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.contact-list { margin: 0; border-top: 1px solid var(--hairline); }
.contact-list__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}
.contact-list__row dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 3px;
}
.contact-list__row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}
.contact-list__row a:hover { color: var(--navy); }
.contact-map {
  border: 1px solid var(--hairline-strong);
  overflow: hidden;
  min-height: 320px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  padding: 72px 0 40px;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer__mark { width: 121px; height: 58px; }
.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer__nav a {
  position: relative;
}
.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.footer__nav a:hover { color: var(--navy); }
.footer__nav a:hover::after { transform: scaleX(1); }
.footer__tagline {
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--ink-faint);
}
.footer__copyright {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 8px;
}

/* ---------- floating buttons ---------- */
.float-btn {
  position: fixed;
  right: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 26px -12px rgba(1, 46, 95, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(1, 46, 95, 0.5); }
.float-btn svg { width: 24px; height: 24px; }

.float-btn--whatsapp {
  bottom: 24px;
  width: 54px;
  height: 54px;
  background: var(--green);
  color: #ffffff;
}
.float-btn--whatsapp:hover { background: var(--green-deep); }

.float-btn--top {
  bottom: 90px;
  width: 46px;
  height: 46px;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  color: var(--navy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 8px 20px -12px rgba(1, 46, 95, 0.3);
}
.float-btn--top svg { width: 18px; height: 18px; }
.float-btn--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-btn--top:hover { color: var(--navy-deep); border-color: var(--navy); }

@media (max-width: 640px) {
  .float-btn { right: 16px; }
  .float-btn--whatsapp { bottom: 16px; width: 50px; height: 50px; }
  .float-btn--top { bottom: 76px; width: 42px; height: 42px; }
  .float-btn--top svg { width: 16px; height: 16px; }
}

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1);
}
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
