:root {
  --ink: #12261B;
  --forest: #0F3B27;
  --green: #1F6B43;
  --lime: #C8F08F;
  --muted: #3A4C41;
  --mint: #CFE3D5;
  --stone: #F3F3F0;
  --line: #DAD9D2;
  --butter: #FBE48A;
  --gutter: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
input, textarea, button { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; }

/* Buttons & tags */
.btn {
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: background-color .18s ease, color .18s ease;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--green); color: #fff; }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: #fff; color: var(--forest); }
.btn-white { background: #fff; color: var(--forest); padding: 12px 20px; }
.btn-white:hover { background: var(--forest); color: #fff; }
.btn:focus-visible, .faq-q:focus-visible, .chip:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.tag-sm { font-size: 12px; padding: 4px 10px; margin-bottom: 0; align-self: flex-start; }
.tag-lime { background: var(--lime); color: var(--forest); }
.tag-dark { background: var(--forest); color: #fff; }
.tag-white { background: #fff; color: var(--forest); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.nav-links a { text-decoration: none; }
.logo { text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--green); }
.nav-cta-wrap { display: flex; justify-content: flex-end; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #FFFFFF; }
.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) var(--gutter) clamp(24px, 4vw, 40px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content .tag { margin-bottom: 24px; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  max-width: 13ch;
  color: var(--ink);
}
.hero p { font-size: 18px; margin: 0 0 30px; max-width: 48ch; color: var(--muted); }

/* Hand-drawn hero doodles: float around the copy on wide screens, sit in a row below it on narrow ones */
.hero-content { position: relative; z-index: 1; }
.hero-doodles {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px var(--gutter) clamp(24px, 4vw, 40px);
  pointer-events: none;
}
.doodle { width: 76px; height: auto; display: block; }
.doodle-compass { transform: rotate(-8deg); }
.doodle-bubble { transform: rotate(6deg); }
.doodle-doc { transform: rotate(5deg); }
.doodle-sign { transform: rotate(-3deg); }

@media (min-width: 1024px) {
  .hero-doodles {
    position: absolute;
    inset: 0;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    display: block;
  }
  .doodle { position: absolute; width: clamp(120px, 12vw, 165px); }
  .doodle-compass { top: 56px; left: 3%; }
  .doodle-bubble { top: 72px; right: 3%; }
  .doodle-doc { bottom: 24px; left: 9%; }
  .doodle-sign { bottom: 8px; right: 8%; }
}

@keyframes needle { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(14deg); } }
.compass-needle { transform-box: view-box; transform-origin: 80px 86px; animation: needle 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .compass-needle { animation: none; }
}

/* Intro */
.intro {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro h2 {
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  max-width: 20ch;
}
.intro p { font-size: 17px; margin: 0; max-width: 56ch; color: var(--muted); }

/* Services */
.services {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 10vw, 120px);
  scroll-margin-top: 80px;
}
.services-title { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin: 0 0 20px; }
.grid { display: grid; gap: 16px; }
.grid-lg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-bottom: 16px; }
.grid-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card { border-radius: 20px; display: flex; flex-direction: column; }
.card p { margin: 0; }
.card-lg { padding: clamp(28px, 4vw, 44px); gap: 14px; min-height: 260px; }
.card-lg h3 {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14ch;
}
.card-lg p { max-width: 40ch; }
.card-dark { background: var(--forest); color: #fff; }
.card-dark p { color: var(--mint); }
.card-stone { background: var(--stone); }
.card-stone p { color: var(--muted); }
.card-art-lg { width: clamp(150px, 40%, 220px); height: auto; margin-top: auto; align-self: flex-end; }

.card-sm { padding: 28px; gap: 10px; min-height: 200px; }
.card-sm h3 { font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; margin: auto 0 0; }
.card-art-sm { width: min(100%, 190px); height: auto; align-self: center; margin: 6px 0; }

/* About */
.about {
  background: var(--butter);
  border-radius: 0 0 50% 50% / 0 0 64px 64px;
  scroll-margin-top: 80px;
}
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about h2 {
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: #3D3A0A;
}
.about p { font-size: 17px; margin: 0; max-width: 60ch; color: #3D3A0A; }

/* FAQ */
.faq {
  margin-top: clamp(64px, 8vw, 96px);
  background: var(--stone);
  border-radius: 48px 48px 0 0;
  scroll-margin-top: 80px;
}
.faq-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 72px);
  align-items: flex-start;
}
.faq-card {
  flex: 1 1 300px;
  background: var(--lime);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.faq-card h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -0.03em; margin: 0; }
.faq-card p { margin: 0; color: #24412F; }
.faq-list { flex: 2 1 460px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: color .15s ease;
}
.faq-q:hover { color: var(--green); }
.faq-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}
.faq-text { flex: 1; }
.faq-sign { flex: none; font-size: 22px; font-weight: 400; color: var(--green); }
.faq-a { margin: 0; padding: 0 0 22px 46px; font-size: 16px; max-width: 62ch; color: var(--muted); }

/* Contact */
.contact { background: var(--forest); color: #fff; scroll-margin-top: 80px; }
.contact-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 72px);
  align-items: flex-start;
}
.contact-info { flex: 1 1 320px; min-width: 0; }
.contact h2 {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  max-width: 12ch;
}
.contact-lead { font-size: 17px; margin: 0 0 36px; max-width: 42ch; color: var(--mint); }
.contact-details { display: flex; flex-direction: column; gap: 18px; }
.contact-details > div { display: flex; flex-direction: column; }
.detail-label { font-size: 13px; font-weight: 600; color: var(--lime); }
.contact-details a { color: #fff; }

.contact-form {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 100%;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: background-color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--forest); }
.chip[aria-pressed="true"] { border-color: var(--forest); background: var(--lime); }
.contact-form .btn { align-self: flex-start; padding: 14px 26px; }
.form-sent { margin: 0; font-size: 14px; color: var(--green); }

/* Footer */
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 14px;
  color: var(--muted);
}
.footer-logo { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; color: var(--green); margin-right: auto; }

/* Small screens: keep nav usable */
@media (max-width: 560px) {
  .nav-inner { grid-template-columns: auto 1fr; }
  .nav-links { display: none; }
  .logo { justify-self: start; }
}
