:root{
  --bark:#161C17;
  --bark-2:#1D241E;
  --parchment:#F2EEE3;
  --heartwood:#C08A3E;
  --heartwood-hi:#CE9A4F;
  --moss:#6B7F5E;
  --ink:#1F241F;
  --line-on-dark: rgba(242,238,227,0.14);
  --line-on-light: rgba(31,36,31,0.14);
  --max: 1180px;
  --r: 3px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scrollbar-color: #3a4a3a var(--bark); scrollbar-width: thin; }
body{
  margin:0;
  background: var(--bark);
  color: var(--parchment);
  font-family: 'Work Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--heartwood);
}
/* Paper grain: static, fixed, barely there. Takes the digital flatness off the dark fields. */
body::before{
  content:"";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
::selection{ background: var(--heartwood); color: var(--bark); }
h1,h2,h3{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p{ text-wrap: pretty; }
a{ color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
/* Kept for pages that still use it (contact, blog); plain, no rule, no caps. */
.eyebrow{
  font-size: 14px;
  color: var(--heartwood);
  margin: 0 0 14px;
}
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline: 2px solid var(--heartwood);
  outline-offset: 3px;
  border-radius: var(--r);
}

/* NAV */
nav{
  position: sticky; top:0; z-index: 20;
  background: rgba(22,28,23,0.92);
  border-bottom: 1px solid var(--line-on-dark);
}
nav .wrap{
  display:flex; align-items:center; justify-content: space-between;
  padding-top:16px; padding-bottom:16px;
  gap: 24px;
}
.wordmark{
  font-family:'Fraunces', serif;
  font-size: 21px;
  font-weight: 500;
  text-decoration:none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.wordmark span{ color: var(--heartwood); }
.nav-links{
  display:flex; gap: 28px;
  font-size: 15px;
  margin: 0 auto;
}
.nav-links a{
  text-decoration:none;
  color: rgba(242,238,227,0.66);
  padding: 4px 0;
  background: linear-gradient(var(--heartwood), var(--heartwood)) 0 100% / 0 1px no-repeat;
  transition: color .2s ease, background-size .35s var(--ease);
}
.nav-links a[aria-current="page"]{ color: var(--parchment); background-size: 100% 1px; }
@media (hover:hover) and (pointer:fine){
  .nav-links a:hover{ color: var(--parchment); background-size: 100% 1px; }
}
.nav-cta{
  font-size: 14.5px;
  font-weight: 500;
  text-decoration:none;
  border: 1px solid rgba(242,238,227,0.28);
  padding: 9px 18px;
  border-radius: var(--r);
  transition: border-color .2s ease, background-color .2s ease, transform .16s var(--ease);
  flex-shrink: 0;
}
.nav-cta:active{ transform: scale(0.97); }
@media (hover:hover) and (pointer:fine){
  .nav-cta:hover{ border-color: var(--heartwood); background-color: rgba(192,138,62,0.1); }
}
.nav-portal-link{
  font-size: 14px;
  text-decoration:none;
  color: rgba(242,238,227,0.5);
  transition: color .2s ease;
  flex-shrink: 0;
}
@media (hover:hover) and (pointer:fine){
  .nav-portal-link:hover{ color: var(--parchment); }
}

.nav-toggle{ display: none; }

/* BUTTONS */
.btn-primary{
  display:inline-flex;
  align-items:center;
  background: var(--heartwood);
  color: var(--bark);
  text-decoration:none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--r);
  transition: background-color .2s ease, transform .16s var(--ease);
}
.btn-primary:active{ transform: scale(0.97); }
@media (hover:hover) and (pointer:fine){
  .btn-primary:hover{ background: var(--heartwood-hi); }
}
.btn-secondary{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(242,238,227,0.8);
  border-bottom: 1px solid rgba(242,238,227,0.3);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
@media (hover:hover) and (pointer:fine){
  .btn-secondary:hover{ color: var(--heartwood); border-color: var(--heartwood); }
}

/* HERO (home only) */
.hero{
  padding: 104px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items:center;
}
.hero h1{
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero h1 em{
  font-style: italic;
  font-weight: 500;
  color: var(--heartwood);
  padding-right: .04em;
}
.hero p.lede{
  max-width: 44ch;
  margin: 28px 0 38px;
  color: rgba(242,238,227,0.8);
  font-size: 19px;
}
.hero .art-col{ justify-self: end; width: 100%; max-width: 440px; margin-right: -24px; }

.root-art{ width:100%; height:auto; display:block; overflow: visible; }
.root-art path{
  fill:none;
  stroke: var(--moss);
  stroke-width: 1.4;
  stroke-linecap: round;
}
.root-art .accent{ stroke: var(--heartwood); }
/* The knot draws first, then the roots follow it down. Only when JS is present. */
.js .root-art path{ stroke-dasharray: 1; stroke-dashoffset: 1.02; }
.js .root-art.in-view path{
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.9s var(--ease) calc(var(--i, 0) * 150ms + 350ms);
}

/* REVEALS: one gentle rise, staggered by --d. Content is visible without JS. */
.js .reveal{ opacity: 0; transform: translateY(14px); }
.js .reveal.in{
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}

/* PAGE HEADER (subpages) */
.page-header{
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--line-on-dark);
}
.page-header h1{
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.1;
  max-width: 20ch;
}
.page-header p.lede{
  max-width: 54ch;
  margin: 22px 0 0;
  color: rgba(242,238,227,0.78);
  font-size: 18px;
}

/* SECTION shared */
section{ padding: 92px 0; }

/* SERVICES: a ruled list, not a card grid */
.services .wrap{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px 72px;
  align-items: start;
}
.services h2{
  font-size: clamp(28px, 3.3vw, 40px);
  line-height: 1.18;
  max-width: 17ch;
  position: sticky; top: 112px;
}
.service-list{ border-top: 1px solid var(--line-on-dark); }
.service-row{
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line-on-dark);
}
.service-row h3{
  font-size: 23px;
  margin-bottom: 10px;
}
.service-row p{
  color: rgba(242,238,227,0.74);
  font-size: 16.5px;
  margin: 0 0 12px;
  max-width: 54ch;
}
.service-row p:last-child{ margin-bottom: 0; }
.service-row p.lead{ color: var(--parchment); }
.services .service-teaser-link{ margin-top: 32px; grid-column: 2; justify-self: start; }
.services.full .wrap{ grid-template-columns: minmax(0, 760px); }
.services.full .service-row{ padding: 38px 0 40px; }
.services.full .service-row h3{ font-size: 26px; }

/* WHO THIS IS FOR: light band */
.fit{
  background: var(--parchment);
  color: var(--ink);
}
.fit .wrap{
  display:grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 64px;
  align-items:start;
}
.fit blockquote{
  margin:0;
  font-family:'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  text-wrap: balance;
}
.fit .fit-copy{ padding-top: 10px; }
.fit .fit-copy p{ margin: 0 0 20px; color: rgba(31,36,31,0.82); font-size: 17px; max-width: 52ch; }
.fit .fit-copy ul{ margin:0; padding:0; list-style: none; color: rgba(31,36,31,0.82); font-size: 16.5px; border-top: 1px solid var(--line-on-light); }
.fit .fit-copy li{ padding: 14px 0; border-bottom: 1px solid var(--line-on-light); }

/* ABOUT */
.about .wrap{
  display:grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
  align-items:start;
}
.about-photo{
  aspect-ratio: 4/5;
  background: var(--bark-2);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 28px;
}
.about-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.about .copy{ padding-top: 8px; }
.about p{ color: rgba(242,238,227,0.82); margin: 0 0 20px; max-width: 54ch; font-size: 18px; }

/* MINI CTA (end of pages): text left, action right */
.mini-cta{
  background: var(--bark-2);
  padding: 72px 0;
}
.mini-cta .wrap{
  display:flex; align-items:center; justify-content: space-between;
  gap: 24px 48px; flex-wrap: wrap;
}
.mini-cta p{
  font-family:'Fraunces', serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  margin: 0;
  max-width: 22ch;
}

/* CONTACT */
.contact{
  background: var(--bark-2);
  text-align:center;
  padding: 100px 0;
}
.contact h1, .contact h2{
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 22px;
}
.contact p.lede{
  color: rgba(242,238,227,0.72);
  max-width: 48ch;
  margin: 0 auto 36px;
  font-size: 17px;
}
.contact .email{
  display:block;
  margin-top: 22px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 14px;
  color: rgba(242,238,227,0.6);
  text-decoration:none;
}
.contact .email:hover{ color: var(--heartwood); }

.contact-form{
  max-width: 460px;
  margin: 36px auto 0;
  text-align: left;
}
.contact-form label{
  display:block;
  font-size: 14px;
  color: rgba(242,238,227,0.66);
  margin-bottom: 6px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea{
  width: 100%;
  background: var(--bark);
  border: 1px solid var(--line-on-dark);
  color: var(--parchment);
  padding: 12px 14px;
  border-radius: var(--r);
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  margin-bottom: 20px;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline: 2px solid var(--heartwood);
  outline-offset: 1px;
}
.contact-form textarea{ resize: vertical; min-height: 90px; }
.contact-form .hp-field{ position:absolute; left:-9999px; top:-9999px; }
.form-success{
  background: rgba(107,127,94,0.15);
  border: 1px solid var(--moss);
  color: #C9D6C2;
  padding: 16px 20px;
  border-radius: var(--r);
  font-size: 15px;
  max-width: 460px;
  margin: 30px auto 0;
  text-align: left;
}
.form-error{
  background: rgba(200,90,60,0.12);
  border: 1px solid rgba(200,90,60,0.4);
  color: #E8B4A3;
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: 14.5px;
  max-width: 460px;
  margin: 0 auto 20px;
  text-align: left;
}

footer{
  padding: 30px 0;
  border-top: 1px solid var(--line-on-dark);
}
footer .wrap{
  display:flex; justify-content: space-between; align-items:center;
  font-size: 14px;
  color: rgba(242,238,227,0.5);
  font-variant-numeric: tabular-nums;
}

/* BLOG LISTING */
.blog-list{
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-on-dark);
}
.blog-card{
  padding: 32px 0;
  display: block;
  text-decoration: none;
  color: var(--parchment);
  border-bottom: 1px solid var(--line-on-dark);
  transition: padding-left .3s var(--ease);
}
@media (hover:hover) and (pointer:fine){
  .blog-card:hover{ padding-left: 14px; }
  .blog-card:hover h2{ color: var(--heartwood); }
}
.blog-card h2{ transition: color .2s ease; }
.blog-card .blog-date{
  font-size: 14px;
  color: var(--heartwood);
  margin-bottom: 8px;
  display: block;
}
.blog-card h2{
  font-size: 25px;
  margin-bottom: 10px;
}
.blog-card p{
  color: rgba(242,238,227,0.72);
  margin: 0;
  font-size: 16px;
  max-width: 62ch;
}
.blog-empty{
  padding: 60px 32px;
  text-align: center;
  color: rgba(242,238,227,0.5);
}

/* BLOG ARTICLE */
.article{
  max-width: 700px;
  margin: 0 auto;
  padding: 70px 32px 90px;
}
.article .blog-date{
  font-size: 14px;
  color: var(--heartwood);
  display: block;
  margin-bottom: 16px;
}
.article h1{
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.article .byline{
  color: rgba(242,238,227,0.6);
  font-size: 14.5px;
  margin-bottom: 44px;
}
.article-body{
  font-size: 18px;
  line-height: 1.75;
  color: rgba(242,238,227,0.88);
}
.article-body p{ margin: 0 0 26px; }
.article-body h2{
  font-size: 26px;
  margin: 48px 0 18px;
  color: var(--parchment);
}
.article-body strong{ color: var(--parchment); }
.article-body ul{ margin: 0 0 26px; padding-left: 22px; }
.article-body li{ margin-bottom: 10px; }
.article-body blockquote{
  margin: 40px 0;
  padding: 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--parchment);
}
.article-share{
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.article-share span{
  font-size: 14px;
  color: rgba(242,238,227,0.55);
}
.share-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r);
  color: var(--parchment);
  text-decoration: none;
  font-size: 14px;
  transition: border-color .15s ease, color .15s ease, transform .16s var(--ease);
  background: none;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
}
.share-btn:active{ transform: scale(0.97); }
@media (hover:hover) and (pointer:fine){
  .share-btn:hover{ border-color: var(--heartwood); color: var(--heartwood); }
}

/* FAQ */
.faq h2{ font-size: clamp(28px, 3.3vw, 38px); margin-bottom: 36px; max-width: 18ch; }
.faq-list{ max-width: 760px; border-top: 1px solid var(--line-on-dark); }
.faq-item{
  border-bottom: 1px solid var(--line-on-dark);
}
.faq-item summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  line-height: 1.3;
  color: var(--parchment);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: '+';
  font-family: 'Work Sans', sans-serif;
  font-size: 26px;
  line-height: 1;
  color: var(--heartwood);
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
@media (hover:hover) and (pointer:fine){
  .faq-item summary:hover{ color: var(--heartwood); }
}
.faq-item p{
  margin: 0 0 24px;
  color: rgba(242,238,227,0.78);
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 62ch;
}
.faq-item[open] p{ animation: faq-in .35s var(--ease); }
@keyframes faq-in{ from{ opacity: 0; transform: translateY(-6px); } to{ opacity: 1; transform: none; } }

@media (max-width: 860px){
  .article{ padding: 50px 24px 70px; }
  .article-body{ font-size: 16.5px; }
  .blog-card{ padding: 26px 0; }
}

@media (max-width: 860px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero{ padding: 64px 0 56px; }
  .hero .art-col{ justify-self: start; max-width: 300px; margin-right: 0; }
  .services .wrap{ grid-template-columns: 1fr; }
  .services h2{ position: static; max-width: 22ch; }
  .services .service-teaser-link{ grid-column: 1; }
  .fit .wrap{ grid-template-columns: 1fr; gap: 32px; }
  .about .wrap{ grid-template-columns: 1fr; gap: 36px; }
  .about-photo{ max-width: 260px; margin-top: 0; }
  section{ padding: 64px 0; }
  .page-header{ padding: 64px 0 44px; }
  .mini-cta{ padding: 56px 0; }
  .wrap{ padding: 0 24px; }

  .nav-toggle{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--r);
    cursor: pointer;
  }
  .nav-toggle span{
    display: block;
    width: 18px;
    height: 2px;
    background: var(--parchment);
    transition: transform .25s var(--ease), opacity .2s 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); }

  .nav-links{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bark);
    border-bottom: 1px solid var(--line-on-dark);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open{ display: flex; }
  .nav-links a{
    padding: 16px 24px;
    border-bottom: 1px solid var(--line-on-dark);
    background-image: none;
  }
  .nav-links a:last-child{ border-bottom: none; }

  nav{ position: sticky; }
  nav .wrap{ position: relative; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .js .reveal{ opacity: 1; transform: none; }
  .js .root-art path{ stroke-dashoffset: 0; transition: none; }
  .faq-item[open] p{ animation: none; }
  *{ transition-duration: .01ms !important; }
}
