/* =========================================================
   ELE Consultancy — Executive HR & Leadership Consultant
   Palette: warm bone ground · ink text · muted brass accent
   Type: Fraunces (display serif) · Inter (body)
   ========================================================= */

:root {
  --bone:   #F4F0E8;   /* page ground */
  --paper:  #FBF8F2;   /* lifted surfaces */
  --ink:    #1A1C1F;   /* primary text */
  --muted:  #6B665C;   /* secondary text */
  --line:   #E0D9CB;   /* hairlines */
  --brass:  #8C6D3C;   /* single accent */
  --brass-2:#A98a52;
  --deep:   #15181C;   /* dark sections */
  --deep-2: #1E2228;
  --bone-soft: #EFE9DD;

  --maxw: 1140px;
  --pad: clamp(20px, 5vw, 48px);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow--light { color: var(--brass-2); }

.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 18px;
}

.section { padding: clamp(72px, 11vw, 140px) 0; }
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; max-width: 640px; margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }

.lede { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 26px;
  border-radius: 2px;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--primary { background: var(--ink); color: var(--bone); }
.btn--primary:hover { background: var(--brass); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 10px 0;
}
.nav.is-scrolled {
  background: rgba(244, 240, 232, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.brand__word {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--ink); position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--brass); transition: width .3s ease;
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 2px;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(140px, 22vh, 230px) 0 clamp(80px, 12vw, 130px);
  position: relative;
}
.hero::after {
  content: ""; position: absolute; left: var(--pad); bottom: 0;
  width: 64px; height: 1px; background: var(--brass);
}
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 26px 0 0;
}
.hero__title em { color: var(--brass); font-style: italic; }
.hero__lead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.4;
  max-width: 760px;
  margin-top: 34px;
  color: var(--ink);
}
.hero__body { max-width: 660px; margin-top: 26px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__tag {
  margin-top: 44px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Layout helpers ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line); }
.about__body p + p { margin-top: 20px; }
.about__body .lede { margin-bottom: 24px; }
.about__body p:not(.lede) { color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--paper); border-block: 1px solid var(--line); }
.services__list { list-style: none; counter-reset: none; }
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(34px, 5vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.service:first-child { border-top: 0; }
.service__lead { display: flex; gap: 22px; }
.service__no {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--brass);
  padding-top: 6px;
  font-weight: 500;
}
.service__lead h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.service__tag { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 38ch; }
.service__points { list-style: none; align-self: center; }
.service__points li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.service__points li:last-child { border-bottom: 0; }
.service__points li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px; border: 1px solid var(--brass); transform: rotate(45deg);
}

/* ---------- Approach ---------- */
.approach__intro { color: var(--muted); margin-top: 22px; max-width: 46ch; }
.checklist { list-style: none; }
.checklist li {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 400;
  line-height: 1.3;
  padding: 22px 0 22px 44px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--brass);
  background:
    linear-gradient(45deg, transparent 46%, var(--brass) 46%, var(--brass) 54%, transparent 54%) center/10px 10px no-repeat;
}

/* ---------- Clients ---------- */
.clients { background: var(--paper); border-block: 1px solid var(--line); }
.clients__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.clients__grid li {
  background: var(--paper);
  padding: 38px 30px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  min-height: 130px;
  display: flex;
  align-items: flex-end;
  transition: background .3s ease, color .3s ease;
}
.clients__grid li:hover { background: var(--bone-soft); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}
.quote__label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 22px;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  flex: 1;
}
.quote figcaption {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 3px;
}
.quote figcaption span { font-weight: 400; color: var(--muted); }

/* ---------- Engagement ---------- */
.engagement { background: var(--paper); border-block: 1px solid var(--line); }
.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.model { background: var(--paper); padding: clamp(32px, 4vw, 48px); transition: background .3s ease; }
.model:hover { background: var(--bone-soft); }
.model h3 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(21px, 2.4vw, 26px);
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.model p { color: var(--muted); font-size: 16px; }

/* ---------- Contact ---------- */
.contact { background: var(--deep); color: var(--bone); }
.contact__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3.6vw, 42px); line-height: 1.2; letter-spacing: -0.015em;
  max-width: 18ch; margin: 22px 0 0; color: #F3EFE7;
}
.contact__sub { margin-top: 30px; color: #B7B0A2; }
.contact__details {
  margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1);
}
.contact__item {
  background: var(--deep); padding: 30px 28px; display: flex; flex-direction: column; gap: 8px;
  transition: background .3s ease;
}
.contact__item:hover { background: var(--deep-2); }
.contact__k { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }
.contact__v { font-family: var(--serif); font-size: clamp(18px, 2vw, 22px); color: #F3EFE7; }
.contact__note { margin-top: 30px; font-size: 14px; color: #908A7D; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.footer { background: var(--deep-2); color: #B7B0A2; padding: 50px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; }
.footer__brand .brand__mark { color: #F3EFE7; }
.footer__brand .brand__word { color: #8C857A; }
.footer__brand p { font-size: 13px; margin-top: 6px; letter-spacing: 0.04em; }
.footer__privacy { max-width: 540px; flex: 1 1 340px; }
.footer__privacy summary {
  cursor: pointer; font-weight: 600; color: #F3EFE7; font-size: 14px;
  list-style: none; display: inline-flex; align-items: center; gap: 8px;
}
.footer__privacy summary::-webkit-details-marker { display: none; }
.footer__privacy summary::before { content: "+"; color: var(--brass-2); font-size: 18px; line-height: 1; }
.footer__privacy[open] summary::before { content: "–"; }
.footer__privacy p { margin-top: 14px; font-size: 13.5px; line-height: 1.7; }
.footer__copy { font-size: 13px; width: 100%; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 22px; }
  .service__points { align-self: stretch; }
  .quotes { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: none; }
  .models { grid-template-columns: 1fr; }
  .contact__details { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .clients__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
