/* ============================================
   PC865 — Design tokens (grounded in the site's own photography)
   ============================================ */
:root{
  --bg: #F7F3E7;
  --bg-alt: #EFE6D2;
  --card: #FFFDF8;
  --ink: #1E271F;
  --ink-soft: #4C5849;
  --pine: #33513F;
  --pine-deep: #1B2A20;
  --wood: #8B6A48;
  --wood-light: #C9AD86;
  --sky: #5C86A6;
  --about-blue: #106DB5;
  --border: #E2D6BC;
  --focus: #5C86A6;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1140px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

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

.wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 28px;
}

.skip-link{
  position:absolute; left:-9999px; top:0;
  background:var(--pine); color:#fff; padding:12px 18px; z-index:300;
}
.skip-link:focus{ left:16px; top:16px; }

a{ color:inherit; }
:focus-visible{ outline:3px solid var(--focus); outline-offset:3px; }

.eyebrow{
  font-family:var(--font-body);
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--wood);
  margin:0 0 14px;
}
.eyebrow.center{ text-align:center; }
.eyebrow-light{ color:#E9DDC4; }

h1,h2,h3{
  font-family:var(--font-display);
  color:var(--pine-deep);
  margin:0 0 .5em;
  font-weight:600;
  line-height:1.15;
}
h2{ font-size:clamp(1.7rem, 3.2vw, 2.4rem); }
h2.center{ text-align:center; max-width:660px; margin:0 auto 56px; }
h3{ font-size:1.18rem; margin-bottom:.55em; }

p{ margin:0 0 1em; color:var(--ink-soft); }

/* ============================================
   Buttons
   ============================================ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:4px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.95rem;
  text-decoration:none;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-primary{
  background:var(--wood);
  color:#fff;
}
.btn-primary:hover{ background:#75563A; transform:translateY(-1px); }
.btn-ghost{
  background:transparent;
  color:var(--pine-deep);
  border-color:var(--border);
}
.btn-ghost:hover{ border-color:var(--pine); }
.btn-ghost-light{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.55);
}
.btn-ghost-light:hover{ border-color:#fff; background:rgba(255,255,255,.1); }
.btn-small{ padding:9px 18px; font-size:.85rem; }

/* ============================================
   Header — transparent over hero, solid once scrolled
   ============================================ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:transparent;
  transition:background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(247,243,231,.94);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; gap:24px;
  padding-top:16px; padding-bottom:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  margin-right:auto;
}
.brand-mark{
  border-radius:5px;
  width:auto;
  height:44px;
}
.brand-word{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.2rem;
  color:#fff;
  letter-spacing:.01em;
  transition:color .25s ease;
}
.site-header.scrolled .brand-word{ color:var(--pine-deep); }

.site-nav{ display:flex; gap:28px; }
.site-nav a{
  text-decoration:none;
  font-weight:500;
  font-size:.95rem;
  color:#F5F0E2;
  padding:4px 0;
  transition:color .25s ease;
}
.site-header.scrolled .site-nav a{ color:var(--ink-soft); }
.site-nav a:hover{ color:var(--wood-light); }
.site-header.scrolled .site-nav a:hover{ color:var(--pine-deep); }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px; height:38px;
  background:none; border:none; cursor:pointer;
  margin-left:4px;
}
.nav-toggle span{
  display:block; height:2px; width:100%;
  background:#fff; border-radius:2px;
  transition:background .25s ease;
}
.site-header.scrolled .nav-toggle span{ background:var(--pine-deep); }
.mobile-nav{
  display:none;
  flex-direction:column;
  border-top:1px solid var(--border);
  background:var(--bg);
}
.mobile-nav a{
  padding:16px 28px;
  text-decoration:none;
  color:var(--ink);
  font-weight:500;
  border-bottom:1px solid var(--border);
}
.mobile-nav.open{ display:flex; }

@media (max-width:760px){
  .site-nav{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ============================================
   Hero — real photography
   ============================================ */
.hero{
  position:relative;
  min-height:min(88vh, 760px);
  display:flex;
  align-items:center;
  overflow:hidden;
  background-color:var(--pine-deep);
}
.hero-bg{
  position:absolute;
  inset:-20px;
  width:calc(100% + 40px);
  height:calc(100% + 40px);
  max-width:none;
  object-fit:cover;
  object-position:center 62%;
  z-index:0;
}
.hero-scrim{
  position:absolute; inset:-20px;
  background:
    linear-gradient(180deg, rgba(20,28,20,.55) 0%, rgba(20,28,20,.35) 38%, rgba(20,28,20,.72) 100%);
}
.hero-inner{
  position:relative; z-index:2;
  max-width:700px;
  padding-top:70px;
  padding-bottom:50px;
}
.hero-card{
  background:rgba(20,28,20,.42);
  backdrop-filter:blur(3px);
  border-radius:12px;
  padding:28px 34px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  width:100%;
  max-width:480px;
}
.hero-logo{
  width:100%;
  height:auto;
  border-radius:8px;
  margin-bottom:18px;
}
.hero h1{
  font-size:clamp(1.9rem, 4.2vw, 2.8rem);
  color:#fff;
  margin-bottom:.45em;
  text-shadow:0 2px 14px rgba(0,0,0,.4);
}
.hero-sub{
  font-size:1.05rem;
  max-width:520px;
  color:#F1EDE0;
  margin-bottom:0;
  text-shadow:0 1px 10px rgba(0,0,0,.35);
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:20px; }

/* ============================================
   Services (icon strip, no card chrome — matches reference)
   ============================================ */
.services{ padding:100px 0 90px; background:var(--bg); }
.service-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:32px;
  text-align:center;
}
.service-col{
  background:var(--card);
  border-radius:14px;
  padding:44px 34px;
  box-shadow:0 18px 40px -22px rgba(27,42,32,.35), 0 4px 14px -8px rgba(27,42,32,.18);
  transition:transform .25s ease, box-shadow .25s ease;
}
.service-col:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px -20px rgba(27,42,32,.42), 0 6px 16px -6px rgba(27,42,32,.22);
}
.service-icon{
  width:52px; height:52px;
  margin:0 auto 20px;
  color:var(--wood);
}
.service-icon svg{ width:100%; height:100%; }
.service-icon path, .service-icon circle, .service-icon rect{
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-icon .check{ stroke:var(--pine); }
.service-col h3{ color:var(--pine-deep); }
.service-col p{ margin:0 auto; font-size:.97rem; max-width:280px; }

@media (max-width:900px){
  .service-grid{ grid-template-columns:1fr; gap:28px; }
}
@media (max-width:600px){
  .hero-card{ padding:28px 26px; }
}

/* ============================================
   About — organic blob photo + text panel
   ============================================ */
.about{ padding:100px 0; background:var(--about-blue); }
.about-grid{
  display:grid;
  grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr);
  gap:70px;
  align-items:center;
}
.about-copy h2{ font-size:clamp(1.5rem,3vw,2.1rem); color:#fff; }
.about-copy p{ color:#DCEBF7; }
.about-goal{
  color:#fff;
  font-weight:500;
  border-left:3px solid var(--wood-light);
  padding-left:18px;
  margin-top:1.4em;
}

.about-photo{ display:flex; justify-content:center; min-width:0; }
.blob-frame{
  position:relative;
  width:100%;
  max-width:420px;
  aspect-ratio:1/1;
  padding:16px;
  background:var(--wood-light);
  border-radius:63% 37% 54% 46% / 45% 53% 47% 55%;
}
.blob-frame img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:60% 40% 51% 49% / 42% 56% 44% 58%;
}

@media (max-width:820px){
  .about-grid{ grid-template-columns:1fr; }
  .about-photo{ order:-1; }
  .blob-frame{ max-width:300px; }
}

/* ============================================
   Rooted strip
   ============================================ */
.rooted{ padding:100px 0; background:var(--bg-alt); }
.rooted-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
}
.rooted-grid img{
  min-width:0;
  width:100%;
  height:280px;
  object-fit:cover;
  border-radius:16px;
  transition:transform .3s ease;
}
.rooted-grid img:hover{ transform:translateY(-4px); }

@media (max-width:820px){
  .rooted-grid{ grid-template-columns:1fr; }
  .rooted-grid img{ height:220px; }
}

/* ============================================
   Contact
   ============================================ */
.contact{ padding:100px 0 120px; background:var(--bg); }
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:64px;
  align-items:start;
}
.contact-intro h2{ font-size:clamp(1.6rem,3vw,2.2rem); }
.contact-direct{
  display:flex; flex-direction:column; gap:8px;
  margin-top:1.6em;
}
.contact-direct span{
  font-weight:600;
  color:var(--pine-deep);
  font-size:1.05rem;
  user-select:text;
}
.contact-noscript{
  margin-top:1.6em;
  font-size:.95rem;
}

.contact-form{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:10px;
  padding:36px;
  display:flex;
  flex-direction:column;
}
.contact-form label{
  font-weight:600;
  font-size:.85rem;
  margin:16px 0 6px;
  color:var(--pine-deep);
}
.contact-form label:first-of-type{ margin-top:0; }
.contact-form input,
.contact-form textarea{
  font-family:var(--font-body);
  font-size:1rem;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:6px;
  background:#fff;
  color:var(--ink);
  resize:vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--sky);
}
.contact-form button{ margin-top:22px; align-self:flex-start; }
.form-status{ margin:14px 0 0; font-size:.9rem; color:var(--pine-deep); min-height:1.2em; }
.hp-field{ position:absolute; left:-9999px; }

@media (max-width:820px){
  .contact-grid{ grid-template-columns:1fr; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer{
  position:relative;
  background-color:var(--pine-deep);
  background-size:cover;
  background-position:center;
  color:#EDE9DD;
  padding:56px 0 44px;
}
.footer-scrim{
  position:absolute; inset:0;
  background:rgba(15,22,16,.72);
}
.footer-inner{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:18px;
  text-align:center;
}
.footer-mark{
  width:180px;
  height:auto;
  border-radius:10px;
}
.footer-inner p{ margin:0; color:#E4E7DC; font-size:.9rem; }

/* ============================================
   Scroll reveal
   ============================================ */
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.in{
  opacity:1;
  transform:translateY(0);
}
