/* ============================================================
   Weave Projects — Demo redesign 2026-07-05
   Editorial, owner-aligned, conversion-focused.
   Fonts: Fraunces (display) + Inter (body), loaded per page.
   ============================================================ */

:root {
  --ink: #191714;
  --ink-soft: #2f2b26;   /* deep warm charcoal — secondary text stays clearly readable */
  --paper: #faf7f2;
  --paper-deep: #f1ece3;
  --line: #e2dbcf;
  --accent: #b4552d;         /* terracotta — locked */
  --accent-dark: #93431f;
  --accent-soft: #f6e3d8;
  --white: #ffffff;
  --max: 1200px;
  --radius: 2px;
  --shadow: 0 18px 50px -18px rgba(25, 23, 20, .22);
  --display-font: "Cormorant", Georgia, serif;
  --display-weight: 500;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  /* Body copy: Public Sans Light — closest free match to Acumin Pro Light */
  font-family: "Public Sans", "Inter", system-ui, sans-serif;
  font-weight: 340;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.68;
  font-size: 17.5px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: var(--display-font);
  font-weight: var(--display-weight);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

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

a { color: inherit; }

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

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px; gap: 24px;
}
.nav .logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 15.5px; font-weight: 500;
  color: var(--ink-soft); letter-spacing: .01em;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-color: var(--accent); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  font-size: 16px; padding: 13px 26px; border-radius: var(--radius);
  transition: transform .15s, background .18s, color .18s, box-shadow .18s;
  cursor: pointer; border: none; letter-spacing: .01em;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); transform: translateY(-1px); }
.nav .btn { padding: 11px 20px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 52px 0 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); max-width: 19ch; }
.hero .lede {
  font-size: 20px; color: var(--ink-soft); max-width: 62ch; margin-top: 18px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start;
}
.hero-grid > div { padding-top: 8px; }
.hero-grid .lede { margin-top: 0; }
.hero-grid .hero-ctas { margin-top: 30px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
}
.hero-media { margin-top: 40px; position: relative; }
.hero-media img {
  width: 100%; height: min(80vh, 720px); object-fit: cover; border-radius: var(--radius);
}
.hero-caption {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; font-size: 13.5px; color: var(--ink-soft);
}
.hero-caption::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }

/* ---------- stats strip ---------- */
.stats {
  background: var(--ink); color: var(--paper);
  margin-top: 0;
}
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 44px 0; gap: 28px; text-align: center;
}
.stat b {
  display: block; font-family: var(--display-font); font-size: 2.5rem;
  font-weight: 560; color: var(--white); line-height: 1;
}
.stat span {
  display: block; margin-top: 9px; font-size: 13px; letter-spacing: .09em;
  text-transform: uppercase; color: #b8b0a4;
}

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
section.block.tight { padding: 72px 0; }
section.alt { background: var(--paper-deep); }
.section-head { max-width: 780px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 18.5px; }

/* ---------- audience router ---------- */
.router-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.router-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 34px 30px; border-radius: var(--radius);
  text-decoration: none; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.router-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.router-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.router-card h3 { font-size: 1.28rem; }
.router-card p { font-size: 16px; color: var(--ink-soft); flex: 1; }
.router-card .go { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.router-card:hover .go { color: var(--accent); }

/* ---------- model split ---------- */
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.model-col {
  border-radius: var(--radius); padding: 40px 36px; border: 1px solid var(--line);
}
.model-col.usual { background: var(--white); }
.model-col.weave { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.model-col h3 { font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; font-family: "Inter", sans-serif; font-weight: 700; margin-bottom: 22px; }
.model-col.usual h3 { color: var(--ink-soft); }
.model-col.weave h3 { color: var(--accent-soft); }
.model-col ul { list-style: none; display: grid; gap: 14px; font-size: 16.5px; }
.model-col li { padding-left: 26px; position: relative; }
.model-col.usual li::before { content: "×"; position: absolute; left: 0; color: #a3491f; font-weight: 700; }
.model-col.weave li::before { content: "✓"; position: absolute; left: 0; color: #e8a075; font-weight: 700; }
.model-note { margin-top: 26px; font-size: 16px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- portfolio cards ---------- */
.lifecycle-tabs { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.lifecycle-tabs a {
  text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 9px 18px; border-radius: 99px; border: 1.5px solid var(--line);
  color: var(--ink-soft); transition: all .15s;
}
.lifecycle-tabs a:hover, .lifecycle-tabs a.on { border-color: var(--ink); color: var(--ink); background: var(--white); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card .thumb { position: relative; }
.project-card .thumb img { height: 220px; width: 100%; object-fit: cover; transition: transform .35s; }
.project-card:hover .thumb img { transform: scale(1.035); }
.status {
  position: absolute; top: 14px; left: 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 99px; color: var(--white); background: rgba(25,23,20,.85);
}
.status.dev { background: #8a6d1f; }
.status.mgmt { background: #22633a; }
.status.done { background: #4c4741; }
.project-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-card h3 { font-size: 1.18rem; }
.project-card .meta { font-size: 13.5px; color: var(--ink-soft); }
.project-card .desc { font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.project-card .go { font-size: 15px; font-weight: 600; margin-top: 6px; }
.project-card:hover .go { color: var(--accent); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: var(--white); border-top: 3px solid var(--accent);
  border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 1px 0 var(--line);
}
.pillar .num { font-family: var(--display-font); font-size: 1rem; color: var(--accent); font-weight: 700; }
.pillar h3 { font-size: 1.25rem; margin: 10px 0 12px; }
.pillar p { font-size: 16px; color: var(--ink-soft); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 34px; position: relative;
}
.quote::before {
  content: "“"; font-family: var(--display-font); font-size: 4.6rem; line-height: 0;
  color: var(--accent); position: absolute; top: 44px; left: 30px; opacity: .25;
}
.quote p { font-size: 17.5px; font-style: italic; position: relative; }
.quote footer { margin-top: 22px; font-size: 15px; }
.quote footer b { display: block; font-size: 16px; }
.quote footer span { color: var(--ink-soft); }

/* ---------- phases ---------- */
.phases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.phase { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; }
.phase .label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.phase h3 { font-size: 1.4rem; margin: 12px 0 12px; }
.phase p { color: var(--ink-soft); font-size: 16.5px; }
.phase .price-tag {
  display: inline-block; margin-top: 20px; font-size: 13.5px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-dark); padding: 8px 16px; border-radius: 99px;
}

/* ---------- partners ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.partner-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.partner-card .cat {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); padding-bottom: 12px; border-bottom: 2px solid var(--paper-deep);
}
.partner-card ul { list-style: none; display: grid; gap: 9px; }
.partner-card a {
  text-decoration: none; font-size: 16px; font-weight: 500; color: var(--ink);
  transition: color .15s;
}
.partner-card a:hover { color: var(--accent); }
@media (max-width: 980px) { .partners { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .partners { grid-template-columns: 1fr; } }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.founder img { border-radius: var(--radius); width: 100%; height: 520px; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { font-size: 13px; font-weight: 600; background: var(--white); border: 1px solid var(--line); padding: 8px 15px; border-radius: 99px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 17.5px; padding: 22px 34px 22px 0;
  list-style: none; position: relative;
}
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 20px;
  font-family: var(--display-font); font-size: 1.5rem; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); font-size: 16.5px; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-inner { padding: 88px 0; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--white); }
.cta-inner .sub { margin-top: 16px; color: #b8b0a4; font-size: 17.5px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-actions .btn { width: 100%; text-align: center; }
.cta-actions .micro { font-size: 13.5px; color: #b8b0a4; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 38px; }
.form-card label { display: block; font-size: 13.5px; font-weight: 600; margin: 20px 0 7px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
  transition: border-color .15s;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--accent); }
.form-card .btn { margin-top: 28px; width: 100%; }
.form-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.info-stack { display: grid; gap: 18px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px; }
.info-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.info-card a { text-decoration: none; font-weight: 600; }
.info-card a:hover { color: var(--accent); }
.info-card p { font-size: 15px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b8b0a4; padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 44px; }
.site-footer img { height: 28px; margin-bottom: 20px; }
.site-footer h4 { color: var(--white); font-family: "Inter", sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #b8b0a4; text-decoration: none; font-size: 15.5px; transition: color .15s; }
.site-footer a:hover { color: var(--white); }
.footer-blurb { font-size: 15.5px; max-width: 34ch; }
.footer-legal { border-top: 1px solid #35312b; margin-top: 52px; padding-top: 26px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- reveal animation (content only hides when JS is confirmed running) ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js-anim .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .router-grid, .pillars, .projects-grid { grid-template-columns: 1fr 1fr; }
  .founder, .cta-inner, .contact-grid, .model-grid, .quotes, .phases { grid-template-columns: 1fr; }
  .founder img { height: 420px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--paper); flex-direction: column; padding: 22px 28px 30px;
    border-bottom: 1px solid var(--line); gap: 18px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .router-grid, .pillars, .projects-grid { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
  .hero { padding: 40px 0 0; }
  .hero-media img { height: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer a, .site-footer li, .footer-legal span { overflow-wrap: anywhere; }
  .footer-legal { flex-direction: column; gap: 6px; }
}
