/* ==========================================================================
   Makanoo — shared stylesheet (brand v3.1)
   One file, imported by all four pages. No build step.
   ========================================================================== */

:root {
  --green-dark: #4a6b5e;   /* identity: wordmark, ALL headings, all type, rules */
  --green-sage: #5C8374;   /* interface: buttons, links/hover, icons, UI fills */
  --green-light:#7a9e8f;   /* decorative / hover only */
  --terracotta: #C9735A;   /* the single "look here" ember — one per page */
  --clay:       #DFC4B9;   /* soft washes / gentle section backgrounds */
  --cream:      #F9F7F3;   /* page background */
  --white:      #FFFFFF;
  --dark:       #333333;
  --muted:      #7A7A7A;

  --green-sage-dark: #4a6f60; /* button hover */
  --clay-soft: #ece0d9;       /* very soft clay wash */

  --maxw: 1120px;
  --maxw-narrow: 760px;
  --radius: 14px;
  --shadow-soft: 0 18px 50px -28px rgba(74, 107, 94, 0.35);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

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

a { color: var(--green-sage); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--green-dark); }

img { max-width: 100%; display: block; }

strong { font-weight: 600; color: var(--dark); }

.ember { color: var(--terracotta); }              /* the single per-page accent */
.muted { color: var(--muted); }
.serif { font-family: "Playfair Display", Georgia, serif; }

/* ----- layout helpers ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: var(--maxw-narrow); }

section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-sage);
  margin: 0 0 1.1em;
}

.lead { font-size: 1.18rem; line-height: 1.7; color: var(--dark); }

/* ----- buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--green-sage);
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--green-sage-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-light);
  padding: 14px 26px;
}
.btn-ghost:hover { background: var(--clay-soft); color: var(--green-dark); border-color: var(--green-sage); transform: none; }

/* ----- nav --------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(249, 247, 243, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(74, 107, 94, 0.10);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--green-dark);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--green-dark); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--green-dark);
}
.nav-links a:hover { color: var(--green-sage); }
.nav-links .btn { color: var(--white); font-size: 0.92rem; padding: 12px 22px; }
.nav-links .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px; height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px auto;
  background: var(--green-dark);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* spacer so fixed nav doesn't cover content */
.nav-spacer { height: 73px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid rgba(74, 107, 94, 0.12);
    padding: 14px 28px 26px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease), padding 0.3s var(--ease);
  }
  .nav-links a { padding: 12px 0; font-size: 1.05rem; width: 100%; }
  .nav-links .btn { margin-top: 10px; }
  .nav.open .nav-links {
    max-height: 380px;
    opacity: 1;
    pointer-events: auto;
  }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ----- hero -------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--clay) 0%, var(--cream) 100%);
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(249,247,243,0.94) 0%,
    rgba(249,247,243,0.80) 38%,
    rgba(249,247,243,0.32) 70%,
    rgba(74,107,94,0.10) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-content { max-width: 660px; }
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { color: var(--dark); max-width: 540px; margin-bottom: 2em; }
.hero .btn { font-size: 1.05rem; }

/* secondary, simpler page heroes */
.page-hero { padding: 64px 0 24px; }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 56ch; color: var(--muted); }

/* ----- clay band (value line / quotes) ----------------------------------- */
.band-clay { background: var(--clay); }
.band-soft { background: var(--clay-soft); }
.band-dark { background: var(--green-dark); }
.band-dark, .band-dark h2, .band-dark h3 { color: var(--cream); }
.band-dark p { color: rgba(249, 247, 243, 0.88); }

.value-line {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
  color: var(--green-dark);
  font-weight: 700;
  max-width: 26ch;
}
.value-line + p { margin-top: 1.4em; color: var(--green-dark); font-family: "Inter", sans-serif; font-size: 1.05rem; max-width: 52ch; }

/* ----- generic content blocks ------------------------------------------- */
.kicker { color: var(--muted); font-size: 1.1rem; max-width: 54ch; }

/* two services */
.services { display: grid; gap: 56px; }
@media (min-width: 880px) { .services { grid-template-columns: 1fr 1fr; gap: 48px; } }
.service {
  background: var(--white);
  border: 1px solid rgba(74, 107, 94, 0.10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
/* media is pinned to a fixed 16:10 box so BOTH images are identical in size and
   line up; the text body absorbs any height difference between the two cards */
.service .media { position: relative; aspect-ratio: 16 / 10; flex: 0 0 auto; overflow: hidden; background: linear-gradient(135deg, var(--clay), var(--cream)); }
.service .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.services { align-items: stretch; }
.service .body { padding: 32px 32px 36px; flex: 1 1 auto; }
.service h3 { margin-bottom: 0.5em; }
.service .price-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

/* steps (how it works) */
.steps { display: grid; gap: 12px; max-width: 760px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid rgba(74, 107, 94, 0.12);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  padding-top: 2px;
}
.step h3 { margin-bottom: 0.35em; font-size: 1.3rem; }
.step p { color: var(--dark); }
.step .note { font-size: 0.95rem; color: var(--muted); margin-top: 0.6em; }

/* multi-column text blocks (home pain points, for-venues network points) */
.cols-2 { display: grid; gap: 36px; }
@media (min-width: 820px) { .cols-2 { grid-template-columns: 1fr 1fr; gap: 56px; } }
.cols-3 { display: grid; gap: 36px; }
@media (min-width: 820px) { .cols-3 { grid-template-columns: repeat(3, 1fr); gap: 44px; } }
.pain .lede { display: flex; align-items: center; gap: 9px; }
.pain-icon { color: var(--green-sage); display: inline-flex; flex: 0 0 auto; }
.pain-icon svg { width: 22px; height: 22px; display: block; }
.pain h3, .point h3 { color: var(--green-dark); margin-bottom: 0.45em; font-size: 1.25rem; }
/* "messy quotes → one clear view" figure */
.compare-figure { margin: 52px auto 0; max-width: 720px; }
.compare-figure svg { width: 100%; height: auto; display: block; }

/* merged "how we help" — one column per pillar: problem → answer → a small diagram */
.pillar { display: flex; flex-direction: column; }
.pillar .lede { display: flex; align-items: center; gap: 9px; font-family: "Playfair Display", serif; font-size: 1.05rem; color: var(--green-sage); letter-spacing: 0.02em; margin: 0 0 10px; }
.pillar h3 { color: var(--green-dark); margin-bottom: 0.5em; font-size: 1.35rem; }
.pillar p { color: var(--dark); margin: 0; }
.pillar .pillar-note { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
/* figures bottom-align so both diagrams sit on the same line across columns */
.pillar-figure { margin: auto 0 0; padding-top: 30px; }
.pillar-figure svg { width: 100%; height: auto; display: block; }
.pain p, .point p { color: var(--dark); margin: 0; }
.pain .lede, .point .lede {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--green-sage);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

/* feature pair (for-venues offerings) */
.pair { display: grid; gap: 28px; align-items: stretch; }
@media (min-width: 880px) { .pair { grid-template-columns: 1fr 1fr; } }
/* two example demos side by side (for-venues) */
.offer-examples { align-items: stretch; }
.offer-examples .demo-card { max-width: none; }
.feature {
  background: var(--white);
  border: 1px solid rgba(74, 107, 94, 0.10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.feature .feature-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid rgba(74,107,94,0.10); background: linear-gradient(135deg, var(--clay), var(--cream)); }
.feature .feature-thumb img { transition: transform 0.4s var(--ease); }
.feature .feature-thumb:hover img { transform: scale(1.03); }
.feature .feature-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.feature .feature-body { padding: 32px 34px 34px; display: flex; flex-direction: column; flex: 1; }
.feature .num {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--green-light);
  margin-bottom: 12px;
}
.feature h3 { font-size: 1.3rem; }
.feature .demo-link { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; align-self: flex-start; }

/* demo / example card */
.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(74, 107, 94, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  max-width: 560px;
}
.demo-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -30px rgba(74,107,94,0.45); }
.demo-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--clay) 0%, var(--cream) 60%, var(--clay-soft) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(74,107,94,0.10);
}
/* real screenshot of the demo, framed from the top */
.demo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.demo-card .body { padding: 22px 26px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.demo-card .body p { margin: 0; color: var(--dark); }
.demo-card .body .go { color: var(--green-sage); font-weight: 600; white-space: nowrap; }
.demo-card:hover .body .go { color: var(--green-dark); }

/* ----- FAQ --------------------------------------------------------------- */
.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid rgba(74, 107, 94, 0.14);
  padding: 8px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  color: var(--green-dark);
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  color: var(--green-light);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--dark); margin: 0; }

/* ----- founder / about --------------------------------------------------- */
.about-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 880px) { .about-grid { grid-template-columns: 320px 1fr; gap: 56px; } }
.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--clay), var(--cream));
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-prose p { font-size: 1.1rem; }
.about-secondary {
  position: relative;
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, var(--clay), var(--cream));
  box-shadow: var(--shadow-soft);
}
.about-secondary img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }

/* full-bleed soul image band */
.image-band {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--clay), var(--cream));
  overflow: hidden;
}
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(74,107,94,0.55) 0%, rgba(74,107,94,0.05) 55%);
}
.image-band .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 56px; }
.image-band .caption {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--cream);
  max-width: 22ch;
  line-height: 1.35;
}

/* ----- contact form ------------------------------------------------------ */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-aside p { color: var(--muted); }
.contact-aside .mail {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--green-dark);
  display: inline-block;
  margin-top: 6px;
}

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-sage);
}
.field input, .field textarea {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid rgba(74, 107, 94, 0.18);
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #aba9a3; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-sage);
  box-shadow: 0 0 0 3px rgba(92, 131, 116, 0.14);
}
.form .btn { justify-self: start; margin-top: 6px; }
.form-error { display: none; margin: 4px 0 0; font-size: 0.95rem; color: #DC3545; }
.form-error a { color: inherit; text-decoration: underline; }
/* honeypot — visually hidden, off-screen */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success {
  display: none;
  background: var(--clay-soft);
  border: 1px solid rgba(74,107,94,0.16);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 0.3em; }
.form-success p { margin: 0; color: var(--dark); }

/* ----- footer ------------------------------------------------------------ */
.footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 64px 0 48px;
}
.footer a { color: rgba(249, 247, 243, 0.82); }
.footer a:hover { color: var(--white); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand .brand { color: var(--cream); font-size: 1.5rem; }
.footer-desc { font-family: "Playfair Display", serif; font-size: 1.05rem; color: rgba(249,247,243,0.9); margin-top: 8px; }
.footer-mail { display: inline-block; margin-top: 14px; font-size: 1.05rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 0.97rem; }
.footer-links a { font-weight: 500; }
.footer-rule { border: none; border-top: 1px solid rgba(249,247,243,0.18); margin: 40px 0 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 0.86rem; color: rgba(249,247,243,0.62); }
.footer-bottom .venue-line a { color: rgba(249,247,243,0.78); border-bottom: 1px solid rgba(249,247,243,0.28); }
.footer-bottom .venue-line a:hover { color: var(--white); }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { display: inline-flex; color: rgba(249, 247, 243, 0.78); }
.footer-social a:hover { color: var(--white); }

/* ----- fade-in on scroll (the only animation) ---------------------------- */
/* Hiding is gated behind .js (set by an inline <head> script). If JS is off,
   blocked, or main.js never runs, .js / .in is never applied and content
   stays fully visible — the fade is a pure enhancement, never load-bearing. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ----- small utilities --------------------------------------------------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 44px; }
.divider { width: 56px; height: 3px; background: var(--green-light); border-radius: 3px; margin: 0 0 28px; border: none; }
.center .divider { margin-left: auto; margin-right: auto; }
