/* ============================================
   Scaffold Operations Group — Site Stylesheet
   ============================================ */
:root{
  --grey:#EDEBE6; --yellow:#F5EEC9; --cream:#EFE4D0; --paleblue:#DCE5E2;
  --forest:#2E3D30; --offwhite:#F4F1E9; --ochre:#C9A227;
  --ink:#2B2A26; --inksoft:#5C584F; --line:rgba(43,42,38,0.12);
  --brown:#6B4226;
  --brown:#6B4226;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif; color:var(--ink); background:var(--offwhite);
  line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-family:'Fraunces', serif; font-weight:500; line-height:1.15; color:var(--ink); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1120px; margin:0 auto; padding:0 32px; }
section{ padding:96px 0; }
@media (max-width:780px){ section{ padding:64px 0; } .wrap{ padding:0 22px; } }

.eyebrow{
  font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--inksoft);
  margin-bottom:14px; display:flex; align-items:center; gap:10px;
}
.eyebrow::before{ content:''; width:24px; height:1px; background:var(--ochre); display:inline-block; }

.btn{
  display:inline-block; padding:14px 30px; border-radius:100px; font-size:14.5px; font-weight:600;
  transition:opacity .15s;
}
.btn:hover{ opacity:.85; }
.btn-primary{ background:var(--forest); color:var(--offwhite); }
.btn-ghost{ border:1.5px solid var(--forest); color:var(--forest); }
.btn-ochre{ background:var(--ochre); color:var(--forest); }

/* ===== Nav ===== */
.site-nav{
  position:sticky; top:0; z-index:50; background:rgba(244,241,233,0.92); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1120px; margin:0 auto; padding:18px 32px; display:flex; align-items:center; justify-content:space-between;
}
.nav-logo{ font-family:'Fraunces', serif; font-size:20px; font-weight:600; color:var(--forest); }
.nav-links{ display:flex; align-items:center; gap:34px; font-size:14px; font-weight:500; color:var(--inksoft); }
.nav-links a:hover{ color:var(--forest); }
.nav-links a.active{ color:var(--forest); font-weight:700; }
.nav-cta{ background:var(--forest); color:var(--offwhite); padding:10px 22px; border-radius:100px; font-size:13.5px; font-weight:600; }
.nav-toggle{ display:none; }
@media (max-width:780px){
  .nav-links{ display:none; }
  .nav-toggle{ display:block; font-size:22px; }
}

/* ===== Hero wash ===== */
.hero-wash{
  background:linear-gradient(120deg, var(--grey) 0%, var(--yellow) 45%, var(--cream) 100%);
  padding:110px 0 90px;
}
.hero-wash h1{ font-size:clamp(2.2rem, 5vw, 3.6rem); max-width:16ch; margin-bottom:22px; }
.hero-wash p.lead{ font-size:17px; color:var(--inksoft); max-width:52ch; margin-bottom:32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* generic page header for interior pages */
.page-header{
  background:linear-gradient(120deg, var(--grey) 0%, var(--yellow) 60%, var(--cream) 100%);
  padding:80px 0 60px;
}
.page-header h1{ font-size:clamp(2rem, 4vw, 2.8rem); max-width:20ch; }
.page-header p{ color:var(--inksoft); max-width:56ch; margin-top:16px; font-size:16px; }

/* ===== Cards ===== */
.card{ background:var(--offwhite); border:1px solid var(--line); border-radius:10px; padding:28px; }
.card-dark{ background:var(--forest); color:var(--offwhite); border-radius:10px; padding:28px; }
.card-dark .eyebrow{ color:var(--ochre); }
.card-dark .eyebrow::before{ background:var(--ochre); }

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media (max-width:900px){ .grid-3, .grid-4{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; } }

/* ===== Method steps ===== */
.method-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:900px){ .method-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .method-grid{ grid-template-columns:1fr; } }
.method-step{ background:var(--offwhite); border:1px solid var(--line); border-radius:10px; padding:22px; }
.method-step.final{ background:var(--forest); color:var(--offwhite); border:none; }
.method-step .num{ font-family:'Fraunces', serif; font-size:22px; color:var(--ochre); margin-bottom:10px; }
.method-step h4{ font-size:15px; }

/* ===== Pricing rows ===== */
.price-row{
  padding:26px 0; border-bottom:1px solid var(--line);
}
.price-row:last-child{ border-bottom:none; }
.price-row h3{ font-size:19px; margin-bottom:6px; }
.price-row p{ color:var(--inksoft); font-size:14.5px; max-width:52ch; }
.price-tag{ font-family:'Fraunces', serif; font-size:19px; color:var(--forest); white-space:nowrap; }
@media (max-width:640px){ .price-row .row-head{ flex-direction:column; align-items:flex-start; } }

/* ===== Testimonial cards ===== */
.t-track{
  display:flex; gap:20px; overflow-x:auto; padding-bottom:16px;
  scrollbar-width:thin; scrollbar-color:var(--brown) transparent;
}
.t-track::-webkit-scrollbar{ height:6px; }
.t-track::-webkit-scrollbar-track{ background:transparent; }
.t-track::-webkit-scrollbar-thumb{ background:var(--brown); border-radius:100px; }
.t-track::-webkit-scrollbar-thumb:hover{ background:var(--ink); }
.t-card{ flex:0 0 min(380px, 85vw); background:var(--offwhite); border:1px solid var(--line); border-radius:10px; padding:28px; }
.t-card .mark{ font-family:'Fraunces', serif; font-size:34px; color:var(--ochre); line-height:.6; margin-bottom:10px; display:block;}
.t-card p.quote{ font-family:'Fraunces', serif; font-size:16px; line-height:1.5; }
.t-card .who{ margin-top:16px; font-size:13px; color:var(--inksoft); }

/* ===== Footer ===== */
.site-footer{ background:var(--forest); color:var(--offwhite); padding:64px 0 30px; }
.footer-top{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px; margin-bottom:40px; }
.footer-col h4{ color:var(--offwhite); font-size:13px; letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px; font-family:'Inter'; font-weight:700; }
.footer-col a{ display:block; color:rgba(244,241,233,0.75); font-size:14px; margin-bottom:8px; }
.footer-col a:hover{ color:var(--ochre); }
.footer-logo{ font-family:'Fraunces', serif; font-size:22px; color:var(--offwhite); margin-bottom:10px; }
.footer-tag{ color:var(--paleblue); font-size:13.5px; max-width:32ch; }
.footer-bottom{ border-top:1px solid rgba(244,241,233,0.15); padding-top:22px; display:flex; justify-content:space-between; font-size:12px; color:rgba(244,241,233,0.55); flex-wrap:wrap; gap:10px; }

/* ===== Form ===== */
.form-group{ margin-bottom:18px; }
.form-group label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--ink); }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:8px; font-family:'Inter'; font-size:14.5px;
  background:#fff;
}
.form-group textarea{ min-height:120px; resize:vertical; }

.feature-row-l{ opacity:0; transform:translateX(-24px); transition:opacity .8s ease, transform .8s ease; }
.feature-row-l.active{ opacity:1; transform:translateX(0); }
.feature-row-r{ opacity:0; transform:translateX(24px); transition:opacity .8s ease, transform .8s ease; }
.feature-row-r.active{ opacity:1; transform:translateX(0); }

/* ===== Motion: scroll reveal (softer, less "slide-in") ===== */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .9s ease, transform .9s ease; }
.reveal.active{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(12px); transition:opacity .7s ease, transform .7s ease; }
.reveal-stagger.active > *{ opacity:1; transform:translateY(0); }
.reveal-stagger.active > *:nth-child(1){ transition-delay:.04s; }
.reveal-stagger.active > *:nth-child(2){ transition-delay:.1s; }
.reveal-stagger.active > *:nth-child(3){ transition-delay:.16s; }
.reveal-stagger.active > *:nth-child(4){ transition-delay:.22s; }
.reveal-stagger.active > *:nth-child(5){ transition-delay:.28s; }
.reveal-stagger.active > *:nth-child(6){ transition-delay:.34s; }
.reveal-stagger.active > *:nth-child(7){ transition-delay:.4s; }

/* Slide-in-from-side variant, cards line up into place from the left */
.reveal-slide > *{ opacity:0; transform:translateX(-26px); transition:opacity .6s ease, transform .6s ease; }
.reveal-slide.active > *{ opacity:1; transform:translateX(0); }
.reveal-slide.active > *:nth-child(1){ transition-delay:.05s; }
.reveal-slide.active > *:nth-child(2){ transition-delay:.16s; }
.reveal-slide.active > *:nth-child(3){ transition-delay:.27s; }
.reveal-slide.active > *:nth-child(4){ transition-delay:.38s; }

/* ===== Section seams — gradient blends instead of hard color cuts ===== */
.seam-top{ position:relative; }
.seam-top::before{
  content:''; position:absolute; top:-70px; left:0; width:100%; height:70px;
  background:linear-gradient(to bottom, transparent, var(--seam-to, var(--forest)));
  pointer-events:none;
}
.seam-bottom{ position:relative; }
.seam-bottom::after{
  content:''; position:absolute; bottom:-70px; left:0; width:100%; height:70px;
  background:linear-gradient(to bottom, var(--seam-from, var(--forest)), transparent);
  pointer-events:none;
}

/* ===== Connected timeline (replaces boxy 4-col grids for sequential content) ===== */
.timeline{ position:relative; max-width:760px; }
.timeline::before{
  content:''; position:absolute; left:19px; top:8px; bottom:8px; width:2px;
  background:linear-gradient(to bottom, var(--ochre), rgba(201,162,39,0.15));
}
.timeline-item{ position:relative; padding-left:60px; margin-bottom:44px; }
.timeline-item:last-child{ margin-bottom:0; }
.timeline-item .t-num{
  position:absolute; left:0; top:0; width:40px; height:40px; border-radius:50%;
  background:var(--forest); color:var(--ochre); display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces', serif; font-size:15px; font-weight:600; z-index:1;
}
.timeline-item.final .t-num{ background:var(--ochre); color:var(--forest); }
.timeline-item h4{ font-size:17px; margin-bottom:6px; }
.timeline-item p{ color:var(--inksoft); font-size:14.5px; max-width:56ch; }

/* ===== Numbered flow list (replaces cramped 4-col grids) ===== */
.flow-list{ display:flex; flex-direction:column; gap:0; max-width:640px; }
.flow-item{
  display:flex; align-items:baseline; gap:24px; padding:20px 0;
  border-bottom:1px solid rgba(244,241,233,0.14);
}
.flow-item:last-child{ border-bottom:none; }
.flow-item .f-num{ font-family:'Fraunces', serif; font-size:22px; color:var(--ochre); flex-shrink:0; width:36px; }
.flow-item .f-text{ font-size:16px; }
.flow-item.light{ border-bottom-color:var(--line); }

/* ===== Motion: hover lift ===== */
.card, .method-step, .t-card{ transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover, .method-step:hover, .t-card:hover{
  transform:translateY(-4px); box-shadow:0 12px 28px rgba(43,42,38,0.08); border-color:transparent;
}
.card-dark{ transition:transform .25s ease, box-shadow .25s ease; }
.card-dark:hover{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,0.18); }

.btn{ transition:transform .2s ease, opacity .2s ease, box-shadow .2s ease; }
.btn:hover{ transform:translateY(-2px); box-shadow:0 8px 18px rgba(43,42,38,0.15); }

/* ===== Accordion (expandable price/service rows) ===== */
.price-row{ cursor:pointer; }
.price-row .row-head{ display:flex; justify-content:space-between; align-items:center; gap:20px; }
.price-row .row-arrow{ font-size:13px; color:var(--ochre); transition:transform .3s ease; flex-shrink:0; }
.price-row.open .row-arrow{ transform:rotate(180deg); }
.price-row .row-detail{
  max-height:0; overflow:hidden; opacity:0;
  transition:max-height .4s ease, opacity .3s ease, margin-top .3s ease;
}
.price-row.open .row-detail{ max-height:260px; opacity:1; margin-top:14px; }

/* ===== Sticky nav shrink ===== */
.site-nav.scrolled .nav-inner{ padding:12px 32px; }
.site-nav{ transition:box-shadow .3s ease; }
.site-nav.scrolled{ box-shadow:0 2px 14px rgba(43,42,38,0.06); }

/* ===== Animated wash hero (scroll-driven, homepage only) ===== */
body.wash-active{ transition:background-color .4s ease; }

/* ===== Nav underline animation ===== */
.nav-links a{ position:relative; padding-bottom:4px; }
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--ochre);
  transition:width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

/* ===== Alternating feature rows (inspired by enterprise SaaS landing pages) ===== */
.feature-row{
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
  padding:70px 0; border-bottom:1px solid var(--line);
}
.feature-row:last-child{ border-bottom:none; }
.feature-row.reverse{ direction:rtl; }
.feature-row.reverse > *{ direction:ltr; }
.feature-visual{
  background:var(--offwhite); border:1px solid var(--line); border-radius:14px;
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative;
}
.feature-visual .fv-num{
  font-family:'Fraunces', serif; font-size:120px; color:var(--brown); opacity:0.55; font-weight:600; line-height:1;
}
.feature-visual .fv-accent{
  position:absolute; bottom:0; left:0; width:100%; height:6px; background:var(--ochre);
}
.feature-text .eyebrow{ margin-bottom:16px; }
.feature-text h3{ font-size:26px; margin-bottom:14px; max-width:14ch; }
.feature-text p{ color:var(--inksoft); font-size:15.5px; max-width:48ch; line-height:1.7; }
@media (max-width:820px){
  .feature-row, .feature-row.reverse{ grid-template-columns:1fr; direction:ltr; gap:26px; padding:44px 0; }
}

/* ===== Stat-driven testimonial cards ===== */
.stat-t-card{
  background:var(--offwhite); border:1px solid var(--line); border-radius:12px; padding:28px;
  display:flex; flex-direction:column; gap:18px; flex:1 1 0; min-width:0;
}
@media (max-width:900px){
  .stat-t-card{ flex:0 0 min(360px, 85vw); }
}
.stat-t-stats{ display:flex; gap:28px; }
.stat-t-stats .stat{ }
.stat-t-stats .stat .num{ font-family:'Fraunces', serif; font-size:26px; color:var(--forest); }
.stat-t-stats .stat .lbl{ font-size:11px; color:var(--inksoft); max-width:14ch; margin-top:2px; }
.stat-t-card p.quote{ font-family:'Fraunces', serif; font-size:16px; line-height:1.5; }
.stat-t-card .who{ font-size:12.5px; color:var(--inksoft); border-top:1px solid var(--line); padding-top:14px; }

/* ===== Awaiting-clients placeholder note ===== */
.placeholder-note{
  text-align:center; font-size:12.5px; color:var(--inksoft); font-style:italic;
  border:1px dashed var(--ochre); border-radius:8px; padding:14px; max-width:520px; margin:0 auto;
}
