@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Outfit:wght@400;500;600&display=swap");

:root {
  --tan: #c4a484;
  --paper: #f3e6d4;
  --ink: #14110f;
  --ink-2: #2a2420;
  --muted: #6b5b4e;
  --blue: #1a4db8;
  --orange: #e25c12;
  --cream: #f7efe3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
}

.nav.nav-solid {
  mix-blend-mode: normal;
  background: rgba(243, 230, 212, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 17, 15, 0.08);
}

.logo {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.knot-track {
  height: 200vh;
}

.knot-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  z-index: 3;
  background: var(--tan);
}

.knot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.knot-img.is-active {
  opacity: 1;
}

.knot-img:first-of-type {
  object-position: center;
  transform: translateY(7%);
}

.knot-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(196, 164, 132, 0.72) 0%,
    rgba(196, 164, 132, 0.28) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 1;
}

.knot-hero {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding: 8.5rem 2rem 5rem;
}

.knot-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 1rem;
}

.hero-sub {
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32rem;
}

.hero-meta {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.knot-hero .btn {
  margin-top: 1.4rem;
}

.work-more {
  display: inline-block;
  margin-top: 1.8rem;
}

.knot-label,
.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  z-index: 2;
}

.knot-label {
  left: 2rem;
}

.scroll-hint {
  right: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-hint.is-gone {
  opacity: 0;
}

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-top: 1px solid rgba(247, 239, 227, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.95rem 1.6rem 0.95rem 0;
  white-space: nowrap;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.ticker-group span::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

.section {
  padding: 6.5rem 2rem;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.lede {
  margin-top: 1.2rem;
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--ink-2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.link-arrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.intro {
  background: var(--ink);
  color: var(--cream);
}

.intro .lede {
  color: #d9cbb8;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--paper);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(20, 17, 15, 0.08);
}

.card h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0.4rem 0 0.6rem;
}

.card p,
.card li {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.step-num {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.why {
  background: var(--cream);
}

.stats {
  background: var(--tan);
}

.stat b {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  max-width: 14rem;
}

.work {
  background: var(--cream);
}

.work-card {
  display: block;
  text-decoration: none;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(20, 17, 15, 0.12);
}

.work-card:last-child {
  border-bottom: 1px solid rgba(20, 17, 15, 0.12);
}

.work-card:hover h3 {
  color: var(--blue);
}

.work-meta {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.work-card h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.work-card p {
  margin-top: 0.4rem;
  color: var(--ink-2);
  max-width: 40rem;
}

.quotes {
  background: var(--ink);
  color: var(--cream);
}

.quote {
  border-top: 1px solid rgba(247, 239, 227, 0.16);
  padding-top: 1.4rem;
}

.quote p {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.12rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9cbb8;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.4rem;
}

.cta {
  background: var(--paper);
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  padding: 0.9rem 1.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.btn:hover {
  background: var(--blue);
}

.footer {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #d9cbb8;
}

.footer a {
  text-decoration: none;
}

.page-hero {
  padding: 8.5rem 2rem 3rem;
  background: var(--ink);
  color: var(--cream);
}

.page-hero .lede {
  color: #d9cbb8;
}

.page-body {
  padding: 4rem 2rem 6rem;
}

.prose {
  max-width: 42rem;
}

.prose .lede-in {
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.8rem;
}

.prose h2 {
  font-size: 1.8rem;
  margin: 2.4rem 0 0.8rem;
}

.outcome {
  margin: 1.6rem 0 2.2rem;
  padding: 1.35rem 1.4rem;
  background: #efe4d4;
  border-left: 3px solid var(--ink);
}

.outcome p:last-child {
  margin-bottom: 0;
}

.case-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 2.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose p,
.prose li {
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
  color: var(--ink-2);
}

.prose ul {
  padding-left: 1.1rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  margin: 1.2rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d9cbb8;
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  margin-top: 2rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form input,
.form textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(20, 17, 15, 0.2);
  background: #fff;
}

.form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

@media (max-width: 860px) {
  .grid-3,
  .grid-4,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .knot-hero {
    padding: 5.6rem 1.4rem 4rem;
  }

  .knot-hero h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .knot-sticky::after {
    background: linear-gradient(
      180deg,
      rgba(196, 164, 132, 0.78) 0%,
      rgba(196, 164, 132, 0.35) 55%,
      rgba(196, 164, 132, 0.12) 100%
    );
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 1rem 2rem 1.4rem;
    gap: 1rem;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav {
    mix-blend-mode: normal;
    background: rgba(196, 164, 132, 0.92);
  }

  .nav.nav-solid {
    background: rgba(243, 230, 212, 0.96);
  }

  .footer {
    flex-direction: column;
  }
}
