/* ==========================================================================
   Sketchleaf Designs — stylesheet
   Token system: paper/ink/leaf/clay, Fraunces + Manrope + Space Mono
   ========================================================================== */

:root{
  /* --- Color tokens --- */
  --paper:      #F1EFDF;   /* warm sage-tinted paper */
  --paper-soft: #FBFAF0;
  --ink:        #1A241C;   /* deep green-black */
  --ink-soft:   #4B5750;
  --leaf:       #3F6B45;   /* primary green */
  --leaf-dark:  #263B29;   /* used as near-black section bg */
  --clay:       #C1703C;   /* warm accent, used sparingly */
  --line:       #D8D2B8;   /* hairline / sketch stroke */
  --card:       #FCFBF2;
  --shadow:     0 18px 40px -20px rgba(26,36,28,0.35);

  /* --- Type tokens --- */
  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "Space Mono", monospace;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;
}

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

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

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3{ font-family: var(--font-display); font-weight: 600; margin: 0 0 0.5em; color: var(--ink); }
p{ margin: 0 0 1em; }
button{ font-family: inherit; cursor: pointer; }

.wrap{ max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

:focus-visible{ outline: 2.5px solid var(--clay); outline-offset: 3px; }

/* ==========================================================================
   Eyebrow / section titles
   ========================================================================== */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 14px;
}
.eyebrow.light{ color: #B9CBAE; }
.eyebrow.center{ text-align: center; }

.section-title{
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  max-width: 720px;
}
.section-title.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-title.light{ color: var(--paper-soft); }
.section-sub{
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 1.02rem;
}
.section-sub.center{ margin-left: auto; margin-right: auto; text-align: center; }

section{ padding: 92px 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color .25s ease;
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background: var(--leaf);
  color: var(--paper-soft);
  box-shadow: 0 10px 24px -10px rgba(63,107,69,0.55);
}
.btn-primary:hover{ background: var(--leaf-dark); box-shadow: 0 14px 30px -12px rgba(63,107,69,0.6); transform: translateY(-2px); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--paper-soft); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  border-color: var(--leaf);
  color: var(--leaf);
}
.btn-outline:hover{ background: var(--leaf); color: var(--paper-soft); transform: translateY(-2px); }
.btn-sm{ padding: 10px 18px; font-size: 0.85rem; }
.btn-block{ width: 100%; }

.btn::after{
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  width: 10px; height: 10px; opacity: 0;
  transform: scale(1); top: 50%; left: 50%; margin: -5px 0 0 -5px;
  pointer-events: none;
}
.btn.rippling::after{ animation: ripple 0.6s ease-out; }
@keyframes ripple{
  0%{ opacity: 0.5; transform: scale(0); }
  100%{ opacity: 0; transform: scale(22); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(241,239,223,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled{
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(26,36,28,0.4);
}
.header-row{
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand{ display: flex; align-items: center; gap: 10px; }
.brand-mark{ flex-shrink: 0; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand-word em{ font-style: italic; color: var(--leaf); font-weight: 500; }

.main-nav{ display: flex; gap: 30px; }
.main-nav a{
  font-size: 0.93rem; font-weight: 600; color: var(--ink-soft);
  position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.main-nav a::after{
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--clay); transition: width 0.25s ease;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a:hover::after{ width: 100%; }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.nav-toggle{
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ position: relative; padding: 76px 0 60px; overflow: hidden; }
.hero-grain{
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-grid{
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 40px; align-items: center;
}
.eyebrow{ display: inline-block; }
.hero-title{
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 620px;
}
.sketch-highlight{ position: relative; color: var(--leaf); font-style: italic; white-space: nowrap; }
.sketch-underline{ position: absolute; left: 0; bottom: -6px; width: 100%; height: 16px; }
.sketch-underline path{
  fill: none; stroke: var(--clay); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: draw 1.1s 0.6s ease forwards;
}
@keyframes draw{ to{ stroke-dashoffset: 0; } }

.hero-sub{ font-size: 1.08rem; color: var(--ink-soft); max-width: 500px; }
.hero-ctas{ display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 34px; }

.trust-strip{ display: flex; gap: 30px; flex-wrap: wrap; }
.trust-strip li{ display: flex; flex-direction: column; }
.trust-strip strong{ font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); }
.trust-strip span{ font-size: 0.8rem; color: var(--ink-soft); }

/* Hero photo board */
.hero-board{ position: relative; height: 460px; }
.board-photo{
  position: absolute; margin: 0; border-radius: 4px;
  background: #fff; padding: 10px 10px 34px;
  box-shadow: var(--shadow);
}
.board-photo img{ width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.photo-1{ width: 250px; height: 320px; top: 0; right: 40px; transform: rotate(4deg); z-index: 3; }
.photo-2{ width: 190px; height: 150px; bottom: 60px; left: 0; transform: rotate(-6deg); z-index: 2; }
.photo-3{ width: 170px; height: 220px; bottom: 0; right: 130px; transform: rotate(9deg); z-index: 1; }
.tape{
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 70px; height: 22px; background: rgba(193,112,60,0.35);
  border: 1px solid rgba(193,112,60,0.5);
}
.board-pin{
  position: absolute; top: 40px; left: 60px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--clay); box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
.board-note{
  position: absolute; bottom: 30px; left: 50px;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-soft);
  transform: rotate(-3deg); line-height: 1.4;
}

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats-bar{ background: var(--leaf-dark); padding: 46px 0; }
.stats-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat{ text-align: center; color: var(--paper-soft); }
.stat-num{
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  color: #EAD9AE; font-weight: 600;
}
.stat-plus{ font-family: var(--font-display); font-size: 1.4rem; color: #EAD9AE; }
.stat p{ margin: 6px 0 0; font-size: 0.85rem; color: #C9D4C1; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid{
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center;
}
.about-image{ position: relative; }
.about-image img{ border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-badge{
  position: absolute; bottom: -18px; left: -18px;
  background: var(--card); border: 1px solid var(--line);
  padding: 10px 18px; border-radius: 100px; font-family: var(--font-mono);
  font-size: 0.75rem; box-shadow: var(--shadow);
}
.about-copy h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 480px; }
.about-copy p{ color: var(--ink-soft); max-width: 520px; }
.about-list{ margin-top: 18px; }
.about-list li{
  position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink);
  font-weight: 600; font-size: 0.95rem;
}
.about-list li::before{
  content: "🌿"; position: absolute; left: 0; top: 0; font-size: 0.85rem;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services{ background: var(--paper-soft); }
.service-grid{
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px 26px; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color .3s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--leaf); }
.service-tag{
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--clay);
}
.service-card h3{ font-size: 1.15rem; margin-top: 10px; }
.service-card p{ color: var(--ink-soft); font-size: 0.93rem; margin-bottom: 0; }

/* ==========================================================================
   Work / Portfolio
   ========================================================================== */
.work-grid{
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px;
}
.work-card{
  margin: 0; border-radius: var(--radius-md); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}
.work-card.tilt-l{ transform: rotate(-1.4deg); }
.work-card.tilt-r{ transform: rotate(1.4deg); }
.work-card:hover{ transform: rotate(0deg) translateY(-6px); }
.work-card img{ height: 230px; object-fit: cover; width: 100%; }
.work-card figcaption{ padding: 16px 18px; font-weight: 700; font-size: 0.95rem; }
.work-card figcaption span{
  display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--leaf); margin-bottom: 4px;
}
.work-cta{ text-align: center; margin-top: 44px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process{ background: var(--leaf-dark); color: var(--paper-soft); }
.process-line{
  margin-top: 54px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.process-line::before{
  content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 1px;
  background: repeating-linear-gradient(to right, #5C7159 0, #5C7159 8px, transparent 8px, transparent 16px);
}
.process-step{ position: relative; padding-top: 10px; }
.step-no{
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); color: var(--leaf-dark);
  font-family: var(--font-mono); font-weight: 700; font-size: 0.95rem;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.process-step h3{ color: var(--paper-soft); font-size: 1.1rem; }
.process-step p{ color: #C9D4C1; font-size: 0.9rem; }

/* ==========================================================================
   Why choose us
   ========================================================================== */
.why-grid{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.why-copy h2{ font-size: clamp(1.6rem, 3vw, 2.1rem); max-width: 420px; }
.why-copy p{ color: var(--ink-soft); max-width: 440px; }
.why-list{ display: grid; gap: 22px; }
.why-list li{ display: flex; gap: 16px; align-items: flex-start; }
.why-icon{ color: var(--clay); font-size: 0.9rem; margin-top: 6px; }
.why-list h3{ font-size: 1.02rem; margin-bottom: 4px; }
.why-list p{ color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials{ background: var(--paper-soft); }
.testi-grid{
  margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.testi-card{
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 30px 26px;
  position: relative;
}
.testi-card p{ font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: var(--ink); }
.testi-card footer{ font-size: 0.85rem; }
.testi-card footer strong{ display: block; color: var(--leaf); }
.testi-card footer span{ color: var(--ink-soft); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid{
  margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}
.price-card{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 34px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s ease, box-shadow .3s ease;
}
.price-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured{ border-color: var(--leaf); background: var(--paper-soft); }
.price-badge{
  position: absolute; top: -13px; left: 28px; background: var(--clay); color: #fff;
  font-family: var(--font-mono); font-size: 0.7rem; padding: 6px 12px; border-radius: 100px;
}
.price-desc{ color: var(--ink-soft); font-size: 0.9rem; }
.price-card ul{ margin: 18px 0 28px; display: grid; gap: 10px; flex-grow: 1; }
.price-card li{ font-size: 0.92rem; padding-left: 20px; position: relative; }
.price-card li::before{ content: "—"; position: absolute; left: 0; color: var(--leaf); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid{ display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.faq-intro h2{ font-size: clamp(1.5rem, 3vw, 2rem); max-width: 380px; }
.faq-intro p{ color: var(--ink-soft); max-width: 380px; }
.faq-list{ display: grid; gap: 12px; }
.faq-item{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 4px 22px;
}
.faq-item summary{
  cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 0.98rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{ content: "+"; font-size: 1.3rem; color: var(--leaf); transition: transform 0.25s ease; }
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ color: var(--ink-soft); padding-bottom: 18px; margin: 0; font-size: 0.92rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact{ background: var(--leaf-dark); color: var(--paper-soft); }
.contact .eyebrow{ color: #B9CBAE; }
.contact h2{ color: var(--paper-soft); }
.contact .section-sub{ color: #C9D4C1; }
.contact-grid{ display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; }

.quote-form{ margin-top: 26px; display: grid; gap: 18px; }
.field{ display: grid; gap: 6px; }
.field label{ font-size: 0.82rem; font-family: var(--font-mono); color: #B9CBAE; }
.field input, .field select, .field textarea{
  background: #2F4433; border: 1px solid #4A5F45; color: var(--paper-soft);
  padding: 13px 14px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--clay); }
.form-note{ font-size: 0.85rem; color: #EAD9AE; min-height: 1.2em; margin: 0; }

.contact-info{ display: grid; gap: 20px; align-content: start; }
.info-card{
  background: #24361F1A; background: rgba(255,255,255,0.05);
  border: 1px solid #45573E; border-radius: var(--radius-md); padding: 24px;
}
.info-card h3{ color: var(--paper-soft); font-size: 1.05rem; }
.info-card p{ color: #C9D4C1; font-size: 0.92rem; }
.link-arrow{ color: #EAD9AE; font-weight: 700; font-size: 0.9rem; display: block; }
.email-link{ margin-top: 8px; }
.map-embed{ border-radius: var(--radius-md); overflow: hidden; border: 1px solid #45573E; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: #131E15; color: #C9D4C1; padding: 60px 0 0; }
.footer-grid{
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px;
  padding-bottom: 40px; border-bottom: 1px solid #2A3C26;
}
.footer-brand .brand-word{ color: var(--paper-soft); }
.footer-brand .brand-word em{ color: #EAD9AE; }
.footer-brand p{ margin-top: 12px; font-size: 0.88rem; max-width: 260px; }
.footer-nav, .footer-social{ display: grid; gap: 10px; align-content: start; font-size: 0.9rem; }
.footer-nav a:hover, .footer-social a:hover{ color: var(--paper-soft); }
.footer-bottom{ padding: 22px 24px; font-size: 0.8rem; color: #7E9077; text-align: center; }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-whatsapp{
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(63,107,69,0.6);
  animation: float 3s ease-in-out infinite;
}
.floating-whatsapp:hover{ background: var(--leaf-dark); }
@keyframes float{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal{ opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-board{ height: 380px; order: -1; }
  .about-grid, .why-grid, .faq-grid, .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
  .service-grid, .work-grid, .testi-grid, .pricing-grid{ grid-template-columns: repeat(2, 1fr); }
  .process-line{ grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-line::before{ display: none; }
  .footer-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  section{ padding: 64px 0; }
  .main-nav{
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--paper); flex-direction: column; gap: 0;
    padding: 10px 24px 30px;
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.35s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .main-nav.open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a{ padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-toggle{ display: flex; }
  .header-actions .btn-sm{ display: none; }

  .stats-grid{ grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .service-grid, .work-grid, .testi-grid, .pricing-grid{ grid-template-columns: 1fr; }
  .process-line{ grid-template-columns: 1fr; }
  .hero-board{ height: 320px; }
  .photo-1{ width: 190px; height: 240px; right: 10px; }
  .photo-2{ width: 150px; height: 120px; }
  .photo-3{ width: 130px; height: 170px; right: 90px; }
}
