/* ═══════════════════════════════════════════════════════════════
   EMERGE & EVOLVE — style.css
   Single-page site · Playfair Display + DM Sans
   ═══════════════════════════════════════════════════════════════ */


/* ── 1. Design tokens ─────────────────────────────────────────── */
:root {
  /* Colour */
  --teal:          #1a4a4a;
  --teal-deep:     #112f2f;
  --teal-pale:     #dce8e6;
  --saffron:       #E8871A;
  --saffron-dark:  #c4701a;
  --cream:         #FAF7F2;
  --white:         #FFFFFF;
  --ink:           #1A1D1F;
  --ink-mid:       #5C6673;
  --border:        #E4DED8;

  /* Typography */
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:     1280px;
  --nav-h:         72px;
  --section-v:     8rem;
}


/* ── 2. Reset & base ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
}

img, svg   { display: block; max-width: 100%; }
ul, ol     { list-style: none; }
a          { color: inherit; text-decoration: none; }
button     { cursor: pointer; border: none; background: none; font: inherit; }

/* Offset anchor targets so fixed nav doesn't obscure headings */
section[id] {
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
}


/* ── 3. Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 4rem;
}


/* ── 4. Shared typography ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
}

/* Section eyebrow label */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 2.5rem;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.45);
}
.section-eyebrow--light::before {
  background: var(--saffron);
}


/* ── 5. Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.1rem;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
}
.btn--primary:hover { background: var(--teal-deep); }


/* ── 6. Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav__logo {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-mid);
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
  border-bottom-color: var(--saffron);
}

/* Language toggle */
.lang-toggle,
.nav__mobile-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-mid);
  transition: color 0.2s;
  padding: 0.2rem 0;
}
.lang-btn.is-active          { color: var(--teal); }
.lang-btn:hover:not(.is-active) { color: var(--ink); }
.lang-sep {
  color: var(--border);
  font-size: 0.75rem;
  user-select: none;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.nav__mobile.is-open {
  display: flex;
}
.nav__mobile .container {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
  gap: 0;
}
.nav__mobile a {
  display: block;
  padding: 0.8rem 0;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.nav__mobile a:last-of-type {
  margin-bottom: 1.25rem;
}
.nav__mobile-lang {
  padding-top: 1rem;
}


/* ── 7. Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh + 4rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
  padding-top: var(--nav-h);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* Small saffron dot above heading */
.hero__mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  margin-bottom: 2.5rem;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4rem;
  gap: 0.1em;
}
.hero__heading em {
  font-style: italic;
  color: var(--teal);
}

.hero__divider {
  width: 72px;
  height: 2px;
  background: var(--saffron);
  margin-bottom: 2.5rem;
}

.hero__foot {
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink-mid);
  max-width: 460px;
  flex: 1;
}

/* Background circles */
.hero__circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero__circle--large {
  width: min(680px, 58vw);
  height: min(680px, 58vw);
  background: var(--teal);
  opacity: 0.05;
  right: -14%;
  bottom: -22%;
}
.hero__circle--small {
  width: min(380px, 32vw);
  height: min(380px, 32vw);
  border: 1.5px solid var(--saffron);
  background: transparent;
  opacity: 0.2;
  right: 6%;
  bottom: -4%;
}


/* ── 8. Services ──────────────────────────────────────────────── */
.services {
  background: var(--white);
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border);
}

.services__statement {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
  max-width: 680px;
  line-height: 1.25;
  margin-bottom: 5rem;
}

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

.service {
  border-top: 2px solid var(--saffron);
  padding-top: 1.75rem;
}

.service__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service__body {
  font-size: 0.92rem;
  line-height: 1.82;
  color: var(--ink-mid);
}


/* ── 9. About ─────────────────────────────────────────────────── */
.about {
  background: var(--cream);
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about__pull {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
  line-height: 1.3;
  padding-top: 0.25rem;
}

.about__bio {
  font-size: 1rem;
  line-height: 1.88;
  color: var(--ink);
}


/* ── 10. Blog ─────────────────────────────────────────────────── */
.blog {
  background: var(--teal);
  padding: var(--section-v) 0;
  color: #fff;
}

.blog__statement {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.blog__soon {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}


/* ── 11. Contact ──────────────────────────────────────────────── */
.contact {
  background: var(--white);
  padding: var(--section-v) 0;
  border-top: 1px solid var(--border);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}

.contact__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.contact__sub {
  font-size: 0.95rem;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 360px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

.form-field input,
.form-field textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus   { border-color: var(--teal); }
.form-field textarea          { resize: vertical; min-height: 130px; }


/* ── 12. Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 3.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
}

.footer__legal {
  text-align: right;
}
.footer__legal p {
  font-size: 0.78rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.35);
}


/* ── 13. Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .container {
    padding: 0 2.5rem;
  }
  .contact__inner {
    gap: 4rem;
  }
}

@media (max-width: 860px) {
  :root { --section-v: 5.5rem; }

  .container       { padding: 0 1.5rem; }
  .nav__links      { display: none; }
  .lang-toggle     { display: none; }
  .nav__burger     { display: flex; }

  /* Hero */
  .hero__foot {
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer__legal { text-align: left; }
}

@media (max-width: 480px) {
  :root { --section-v: 4rem; }

  .hero__heading { letter-spacing: -0.01em; }
  .about__pull   { font-size: 1.5rem; }
}
