/* ============ Tokens ============ */
:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --brown: #3E2B23;
  --nude: #E3C9B0;
  --brown-soft: #6b5142;
  --line: rgba(10,10,10,0.12);
  --line-light: rgba(255,255,255,0.18);

  --font: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif;

  --container: 1180px;
  --gutter: clamp(24px, 5vw, 64px);

  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ol, ul { list-style: none; margin: 0; padding: 0; }

/* ============ Type ============ */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--brown);
  margin: 0 0 16px;
}
.eyebrow-nude { color: var(--nude); }

.display {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 20px;
}

.h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.2px;
}
.h2-light { color: var(--white); }

.subhead {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin: 0 0 20px;
}

.body-lg {
  font-size: 17px;
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 32px;
  color: #333;
}

.section-intro {
  font-size: 17px;
  color: #444;
  margin: 0 0 40px;
}

/* ============ Layout helpers ============ */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px var(--gutter);
}

.section-dark {
  max-width: none;
  background: var(--brown);
  color: var(--nude);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section-dark > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.section-dark p { color: #d8c3ae; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px var(--gutter);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark { width: 26px; height: 26px; color: var(--black); fill: currentColor; }
.brand-word {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}
.nav-links a:hover { color: var(--brown); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.08s var(--ease), box-shadow 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--nude);
}

.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #292929; }

.btn-secondary { background: transparent; color: var(--black); border: 1.5px solid var(--black); padding: 10.5px 26.5px; }
.btn-secondary:hover { background: rgba(10,10,10,0.05); }

.btn-tertiary { background: var(--nude); color: var(--brown); }
.btn-tertiary:hover { background: #d8b998; }

.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid var(--white); padding: 10.5px 26.5px; }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); }

.nav-cta { padding: 10px 22px; font-size: 14px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row-center { justify-content: center; }

/* ============ Hero ============ */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px var(--gutter) 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.weave-hero { width: min(100%, 420px); height: auto; color: var(--black); fill: currentColor; }

/* ============ Weave mark clusters ============ */
.cluster { transform-origin: 60px 60px; }

.brand-mark .cluster { transform: none !important; }

.weave-hero .cluster-1 { animation: weave-in-1 1.1s var(--ease) both; }
.weave-hero .cluster-2 { animation: weave-in-2 1.1s var(--ease) both; animation-delay: 0.08s; }
.weave-hero .cluster-3 { animation: weave-in-3 1.1s var(--ease) both; animation-delay: 0.16s; }
.weave-hero .cluster-4 { animation: weave-in-4 1.1s var(--ease) both; animation-delay: 0.24s; }

@keyframes weave-in-1 {
  from { transform: translate(-40px, -20px) rotate(-25deg); opacity: 0; }
  to   { transform: translate(0,0) rotate(0deg); opacity: 1; }
}
@keyframes weave-in-2 {
  from { transform: rotate(90deg) translate(40px, -20px) rotate(-25deg); opacity: 0; }
  to   { transform: rotate(90deg) translate(0,0) rotate(0deg); opacity: 1; }
}
@keyframes weave-in-3 {
  from { transform: rotate(180deg) translate(40px, 20px) rotate(-25deg); opacity: 0; }
  to   { transform: rotate(180deg) translate(0,0) rotate(0deg); opacity: 1; }
}
@keyframes weave-in-4 {
  from { transform: rotate(270deg) translate(-40px, 20px) rotate(-25deg); opacity: 0; }
  to   { transform: rotate(270deg) translate(0,0) rotate(0deg); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .weave-hero .cluster { animation: none !important; opacity: 1; }
}

/* ============ Capability cards ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background: var(--white);
  padding: 32px 24px;
}

.card-icon { width: 32px; height: 32px; color: var(--black); fill: currentColor; margin-bottom: 20px; }

.card h3 { font-size: 17px; margin: 0 0 10px; font-weight: 700; }
.card p { font-size: 14.5px; line-height: 1.55; color: #444; margin: 0; }

/* ============ Approach stages ============ */
.stages { border-top: 1px solid var(--line); }

.stage {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.stage-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--brown);
}
.stage-num svg { width: 24px; height: 24px; color: var(--brown); fill: currentColor; }

.stage-copy h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stage-copy p { font-size: 15.5px; line-height: 1.6; color: #444; margin: 0; max-width: 56ch; }

/* ============ Value grid (why) ============ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  padding-bottom: 56px;
}
.value h3 { color: var(--white); font-size: 17px; margin: 0 0 10px; font-weight: 700; }
.value p { font-size: 14.5px; line-height: 1.6; margin: 0; }

.section-dark:first-of-type { padding-top: 96px; }

/* ============ CTA / footer band ============ */
.cta {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 88px;
  border-top: 1px solid var(--line-light);
}
.cta-heading { margin-bottom: 36px; }

/* ============ Footer ============ */
.footer {
  background: var(--brown);
  color: var(--nude);
  padding: 32px var(--gutter) 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-light);
}
.footer .brand-mark { color: var(--nude); }
.footer .brand-word { color: var(--white); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; margin-right: auto; min-width: 0; }
.footer-links a { font-size: 13.5px; color: #d8c3ae; }
.footer-links a:hover { color: var(--white); }

.footer-copyright { font-size: 12.5px; color: #a8927e; margin: 0; width: 100%; }

@media (min-width: 720px) {
  .footer-copyright { width: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .weave-hero { width: min(60%, 260px); margin: 0 auto; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 56px 1fr; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer { flex-direction: column; align-items: flex-start; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: none; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
