:root {
  color-scheme: light;
  --paper: #f5efe4;
  --paper-deep: #e8dac6;
  --ink: #181612;
  --ink-soft: #3f3a31;
  --clay: #a83f2f;
  --clay-dark: #70291f;
  --moss: #57683e;
  --blue: #244a63;
  --brass: #b88b39;
  --white: #fffaf1;
  --line: rgba(24, 22, 18, 0.18);
  --max: 1180px;
  --pad: clamp(20px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(36, 74, 99, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 74, 99, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  transform: translateY(-160%);
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 10px var(--pad);
  border-bottom: 1px solid rgba(255, 250, 241, 0.24);
  background: rgba(24, 22, 18, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.brand-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  object-fit: contain;
  padding: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: #f0bd68;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(310px, 38svh, 450px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(24, 22, 18, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 22, 18, 0.055) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(255, 250, 241, 0.72) 0%,
      rgba(255, 250, 241, 0.5) 58%,
      rgba(232, 218, 198, 0.12) 100%
    );
}

.hero-content,
.manifesto-grid,
.manifesto-strips,
.section-intro,
.principle-list,
.work,
.people-grid,
.faq-list,
.site-footer {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 22vw, 290px);
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  padding: clamp(30px, 5vh, 52px) var(--pad);
}

.hero-copy {
  justify-self: end;
  width: min(100%, 820px);
}

.hero-mark {
  justify-self: end;
  width: clamp(190px, 22vw, 290px);
  height: auto;
  object-fit: contain;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.manifesto h2,
.section-intro h2,
.work h2,
.who h2,
.faq h2,
.site-footer h2 {
  max-width: 920px;
  margin: 0;
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.05rem, 5.7vw, 5.2rem);
}

.hero-tagline {
  display: grid;
  grid-template-columns: max-content minmax(96px, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  max-width: 680px;
  margin-top: clamp(16px, 2.5vw, 24px);
}

.hero-tagline p {
  margin: 0;
  color: var(--clay-dark);
  font-size: clamp(1.08rem, 1.65vw, 1.45rem);
  font-weight: 900;
  line-height: 1.05;
}

.hero-tagline span {
  height: 5px;
  background: var(--brass);
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--ink);
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 7px 7px 0 var(--clay);
}

.button-secondary {
  background: rgba(255, 250, 241, 0.48);
}

.button:hover,
.contact-link:hover {
  transform: translate(-1px, -1px);
}

.manifesto,
.faq {
  padding: clamp(52px, 7vw, 96px) var(--pad);
  background:
    radial-gradient(circle at 13% 18%, rgba(168, 63, 47, 0.08), transparent 0 17%, transparent 30%),
    linear-gradient(90deg, rgba(24, 22, 18, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 22, 18, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.faq {
  border-top: 2px solid var(--ink);
  background:
    radial-gradient(circle at 88% 13%, rgba(36, 74, 99, 0.11), transparent 0 16%, transparent 30%),
    linear-gradient(90deg, rgba(24, 22, 18, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24, 22, 18, 0.045) 1px, transparent 1px),
    var(--paper-deep);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto 26px;
}

.section-label span:first-child {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 7vw, 96px);
}

.manifesto h2,
.section-intro h2,
.work h2,
.who h2,
.faq h2,
.site-footer h2 {
  margin-top: 10px;
  font-size: clamp(3rem, 8vw, 7.4rem);
}

.manifesto-copy {
  display: grid;
  gap: 18px;
  align-self: end;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 620;
}

.manifesto-copy p {
  margin: 0;
}

.manifesto-strips {
  display: grid;
  margin-top: clamp(34px, 7vw, 86px);
  border-top: 2px solid var(--ink);
}

.manifesto-strips p {
  display: flex;
  align-items: center;
  min-height: clamp(70px, 10vw, 112px);
  margin: 0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif;
  font-size: clamp(2rem, 6vw, 5.2rem);
  font-weight: 790;
  line-height: 1;
}

.human-bullets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, var(--max));
  margin: clamp(28px, 5vw, 58px) auto 0;
  padding: 0;
  list-style: none;
}

.human-bullets li {
  border: 2px solid var(--ink);
  background: rgba(255, 250, 241, 0.76);
  padding: 18px;
  color: var(--ink-soft);
  font-weight: 850;
  box-shadow: 5px 5px 0 rgba(184, 139, 57, 0.36);
}

.human-bullets li::before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: 18px;
  background: var(--clay);
}

.principles {
  padding: clamp(52px, 7vw, 96px) var(--pad);
  background: var(--ink);
  color: var(--white);
}

.principles .section-label,
.principles .eyebrow {
  color: #f0bd68;
}

.section-intro {
  display: grid;
  gap: 10px;
}

.section-intro .section-label {
  margin: 0;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 6vw, 70px);
}

.principle-card {
  min-height: 320px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  background:
    linear-gradient(135deg, rgba(168, 63, 47, 0.32), transparent 44%),
    rgba(255, 250, 241, 0.06);
  padding: clamp(22px, 3vw, 34px);
}

.principle-number {
  display: block;
  color: #f0bd68;
  font-weight: 900;
}

.principle-card h3 {
  margin: clamp(62px, 10vw, 104px) 0 14px;
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1;
}

.principle-card p {
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
  font-weight: 620;
}

.work {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.5fr);
  gap: clamp(24px, 6vw, 84px);
  padding: clamp(52px, 7vw, 96px) var(--pad);
}

.work-panel p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.26rem);
  font-weight: 620;
}

.work .section-label {
  margin: 0;
}

.work-note {
  display: grid;
  align-self: end;
  gap: 10px;
}

.work-note span {
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 16px;
  color: var(--blue);
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  box-shadow: 5px 5px 0 var(--paper-deep);
}

.who {
  padding: clamp(52px, 7vw, 96px) var(--pad);
  border-top: 2px solid var(--ink);
  background: var(--white);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 6vw, 70px);
}

.person-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--paper-deep);
}

.person-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.person-card div {
  padding: clamp(18px, 3vw, 28px);
}

.person-role {
  margin: 0 0 10px;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.person-card h3 {
  margin: 0 0 14px;
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

.person-card p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 620;
}

.faq-list {
  display: grid;
  margin-top: clamp(28px, 5vw, 58px);
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 2px solid var(--ink);
}

.faq-list summary {
  cursor: pointer;
  list-style-position: outside;
  padding: 24px 0;
  color: var(--ink);
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
}

.faq-list summary::marker {
  color: var(--clay);
}

.faq-list p {
  max-width: 820px;
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 620;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  align-items: start;
  gap: clamp(28px, 7vw, 84px);
  padding: clamp(42px, 6vw, 68px) var(--pad);
  border-top: 2px solid var(--ink);
}

.site-footer h2 {
  max-width: 680px;
}

.footer-copy {
  display: grid;
  gap: 22px;
}

.contact-link {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  background: var(--moss);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--brass);
}

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.human-test {
  display: grid;
  gap: 14px;
  margin: 4px 0 0;
  border: 2px solid var(--ink);
  background:
    linear-gradient(90deg, rgba(168, 63, 47, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(168, 63, 47, 0.07) 1px, transparent 1px),
    rgba(255, 250, 241, 0.74);
  background-size: 18px 18px;
  padding: 22px;
}

.human-test legend {
  margin-left: -8px;
  padding: 0 8px;
  color: var(--clay-dark);
  font-weight: 950;
  text-transform: uppercase;
}

.human-test p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 13px 14px;
}

.contact-form textarea {
  min-height: 142px;
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
}

.humanity-result {
  min-height: 1.5em;
  margin: 0;
  color: var(--clay-dark);
  font-family:
    ui-serif,
    Georgia,
    Cambria,
    "Times New Roman",
    Times,
    serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 850;
  line-height: 1;
}

.contact-form[data-humanity="failed"] .human-test {
  box-shadow: 6px 6px 0 rgba(168, 63, 47, 0.34);
}

@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 250, 241, 0.82) 0%,
        rgba(245, 239, 228, 0.74) 100%
      );
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .hero-mark {
    justify-self: start;
    order: -1;
    width: clamp(120px, 34vw, 178px);
  }

  .hero h1 {
    max-width: 760px;
  }

  .hero-tagline {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-tagline span {
    width: min(300px, 100%);
  }

  .manifesto-grid,
  .principle-list,
  .work,
  .human-bullets,
  .people-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .principle-card {
    min-height: 250px;
  }

  .contact-link,
  .contact-form .button {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: relative;
    min-height: 0;
  }

  .brand {
    align-items: flex-start;
    font-size: 0.82rem;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    gap: 8px 12px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14.5vw, 4.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 300px;
  }

  .button,
  .contact-form .button {
    width: 100%;
  }

  .manifesto-strips p {
    min-height: 82px;
  }

  .work-note span {
    box-shadow: 3px 3px 0 var(--paper-deep);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
