:root {
  --paper: #f8efe1;
  --paper-deep: #efe0ca;
  --ink: #271f18;
  --muted: #6c5c4b;
  --clay: #9d3d2e;
  --saffron: #c87923;
  --leaf: #496246;
  --indigo: #253f58;
  --rose: #b56d67;
  --line: rgba(39, 31, 24, 0.18);
  --shadow: 0 28px 80px rgba(43, 31, 20, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(39, 31, 24, 0.025) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(39, 31, 24, 0.018) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: url("assets/paper-grain.svg");
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 20;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  border: 1px solid var(--ink);
  background: var(--paper);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--paper);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(248, 239, 225, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 32px rgba(39, 31, 24, 0.08);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  left: 50%;
  width: 1.25rem;
  transform: translateX(-50%);
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0 0 0 1rem;
}

.brand-mark::before {
  top: 0.42rem;
  height: 1.15rem;
}

.brand-mark::after {
  top: 0.82rem;
  height: 0.8rem;
  transform: translateX(-18%) rotate(-42deg);
}

.brand-name,
.brand-subname {
  display: block;
  line-height: 1.02;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.brand-subname {
  color: currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.35rem);
  align-items: center;
}

.site-nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 6.8rem clamp(1rem, 5vw, 4rem) 2.5rem;
  background: #2d241d;
  color: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(45, 36, 29, 0.96), rgba(45, 36, 29, 0.72) 42%, rgba(45, 36, 29, 0.26)),
    radial-gradient(circle at 72% 34%, rgba(200, 121, 35, 0.3), transparent 24rem),
    linear-gradient(140deg, rgba(73, 98, 70, 0.5), transparent 48%),
    #2d241d;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.thread-field {
  position: absolute;
  right: -6vw;
  top: 8vh;
  width: min(72vw, 880px);
  height: min(78vh, 720px);
  transform: rotate(-4deg);
}

.thread,
.root,
.knot {
  position: absolute;
  display: block;
}

.thread {
  width: 72%;
  height: 58%;
  border: 2px solid transparent;
  border-top-color: rgba(248, 239, 225, 0.72);
  border-left-color: rgba(248, 239, 225, 0.2);
  border-radius: 54% 46% 45% 55%;
}

.t1 {
  left: 10%;
  top: 3%;
  transform: rotate(21deg);
}

.t2 {
  left: 3%;
  top: 18%;
  border-top-color: rgba(200, 121, 35, 0.82);
  transform: rotate(-18deg);
}

.t3 {
  left: 22%;
  top: 22%;
  border-top-color: rgba(181, 109, 103, 0.78);
  transform: rotate(38deg);
}

.t4 {
  left: 18%;
  top: 38%;
  border-top-color: rgba(73, 98, 70, 0.85);
  transform: rotate(4deg);
}

.t5 {
  left: 35%;
  top: 8%;
  border-top-color: rgba(248, 239, 225, 0.42);
  transform: rotate(64deg);
}

.root {
  bottom: 4%;
  left: 43%;
  width: 2px;
  height: 46%;
  background: linear-gradient(rgba(248, 239, 225, 0.72), rgba(248, 239, 225, 0));
  transform-origin: top;
}

.r1 {
  transform: rotate(8deg);
}

.r2 {
  transform: rotate(-18deg);
}

.r3 {
  height: 35%;
  transform: rotate(28deg);
}

.r4 {
  height: 31%;
  transform: rotate(-38deg);
}

.knot {
  width: clamp(7rem, 13vw, 11rem);
  aspect-ratio: 1;
  border: 1px solid rgba(248, 239, 225, 0.28);
  border-radius: 48% 52% 45% 55%;
  background:
    radial-gradient(circle at 47% 52%, rgba(248, 239, 225, 0.82) 0 0.25rem, transparent 0.32rem),
    repeating-conic-gradient(from 16deg, rgba(248, 239, 225, 0.17) 0 7deg, transparent 7deg 16deg);
}

.k1 {
  right: 18%;
  top: 15%;
}

.k2 {
  right: 42%;
  top: 40%;
  width: clamp(5rem, 10vw, 8rem);
  border-color: rgba(200, 121, 35, 0.4);
}

.k3 {
  right: 9%;
  top: 55%;
  width: clamp(4rem, 8vw, 6rem);
  border-color: rgba(73, 98, 70, 0.6);
}

.k4 {
  right: 56%;
  top: 12%;
  width: clamp(3rem, 7vw, 5rem);
  border-color: rgba(181, 109, 103, 0.5);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(830px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 16ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 7.4vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-text {
  width: min(650px, 100%);
  margin: 2rem 0 0;
  color: rgba(248, 239, 225, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.05rem;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--clay);
  background: var(--clay);
  color: #fff8ec;
}

.button.quiet {
  color: currentColor;
}

.hero-note {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: 2rem;
  z-index: 1;
  width: min(460px, 100%);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(248, 239, 225, 0.28);
  color: rgba(248, 239, 225, 0.78);
}

.hero-note p {
  margin: 0;
}

section:not(.hero) {
  padding: clamp(4.8rem, 9vw, 8rem) clamp(1rem, 5vw, 4rem);
}

.story-grid,
.mission-inner,
.work-section,
.connect-section,
.site-footer {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(2rem, 7vw, 6rem);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 5.4vw, 5.25rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.story-body {
  position: relative;
  padding-left: clamp(1rem, 3vw, 3rem);
  border-left: 1px solid var(--line);
  color: #392d22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  line-height: 1.64;
}

.story-body p {
  margin: 0;
}

.story-body p + p {
  margin-top: 1.35rem;
}

.mission-band {
  background: var(--leaf);
  color: #fff8ec;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.mission-inner .section-kicker {
  color: #f3c37d;
}

.mission-inner p {
  margin: 0;
  color: rgba(255, 248, 236, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.values-section {
  display: grid;
  width: min(var(--max), calc(100% - 2rem));
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(2rem, 6vw, 5rem);
  margin-inline: auto;
}

.values-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.values-list article {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.values-list span {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
}

.values-list p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.work-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-top: 0;
}

.work-copy p,
.connect-copy p {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.pathways {
  display: grid;
  gap: 1rem;
}

.pathways article {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(255, 248, 236, 0.48);
  box-shadow: var(--shadow);
}

.pathways article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.35rem;
  height: 100%;
  content: "";
  background: var(--saffron);
}

.pathways article:nth-child(2)::before {
  background: var(--rose);
}

.pathways article:nth-child(3)::before {
  background: var(--indigo);
}

.pathways h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
}

.pathways p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.vision-section {
  padding-top: 0;
}

.vision-panel {
  position: relative;
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--indigo);
  color: var(--paper);
}

.vision-panel::after {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: min(52vw, 28rem);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(248, 239, 225, 0.2);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 28deg, rgba(248, 239, 225, 0.13) 0 6deg, transparent 6deg 18deg),
    radial-gradient(circle, transparent 0 36%, rgba(248, 239, 225, 0.08) 37% 38%, transparent 39%);
}

.vision-panel .section-kicker {
  color: #f3c37d;
}

.vision-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 15ch;
}

.connect-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding-top: 0;
}

.connect-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: #fff8ec;
  box-shadow: var(--shadow);
}

.connect-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.connect-form input,
.connect-form select,
.connect-form textarea {
  width: 100%;
  border: 1px solid rgba(39, 31, 24, 0.24);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  text-transform: none;
}

.connect-form textarea {
  resize: vertical;
}

.connect-form input:focus,
.connect-form select:focus,
.connect-form textarea:focus {
  outline: 2px solid var(--saffron);
  outline-offset: 2px;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 4rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: currentColor;
  }

  .nav-toggle span:not(.sr-only) {
    width: 1rem;
    height: 1.5px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    background: rgba(248, 239, 225, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .hero {
    min-height: 84vh;
  }

  .thread-field {
    right: -42vw;
    width: 122vw;
    opacity: 0.72;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 2rem;
  }

  .story-grid,
  .mission-inner,
  .values-section,
  .work-section,
  .connect-section {
    grid-template-columns: 1fr;
  }

  .values-section {
    width: min(var(--max), 100%);
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.96rem;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.15rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .values-list article {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
