:root {
  color-scheme: light;
  --ink: #172923;
  --ink-soft: #42534d;
  --paper: #f7f0e2;
  --paper-light: #fffbf3;
  --paper-deep: #eaddc7;
  --forest: #214f47;
  --forest-dark: #183c36;
  --rust: #a83d2c;
  --rust-dark: #842f22;
  --gold: #e9b948;
  --gold-light: #f7d985;
  --line: rgba(23, 41, 35, 0.2);
  --shadow: 0 24px 70px rgba(48, 38, 20, 0.12);
  --radius: 24px;
  --content: 1180px;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 8%, rgba(233, 185, 72, 0.2), transparent 22rem),
    linear-gradient(180deg, var(--paper-light), var(--paper));
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-180%);
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 900;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 23px;
}

.brand-name small {
  color: var(--rust);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
}

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

.primary-nav a:not(.button):hover {
  color: var(--rust);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--paper-light);
  background: var(--forest);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  background: var(--forest-dark);
  box-shadow: 1px 1px 0 var(--ink);
  transform: translate(2px, 2px);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  transform: none;
}

.button-gold {
  color: var(--ink);
  background: var(--gold);
}

.button-gold:hover {
  color: var(--ink);
  background: var(--gold-light);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 3px;
  border-radius: 10px;
  background: currentColor;
  content: "";
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(45px, 7vw, 100px);
  align-items: center;
  padding: clamp(55px, 8vw, 105px) 0 clamp(80px, 10vw, 135px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(54px, 7.2vw, 96px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 em {
  position: relative;
  color: var(--rust);
  font-weight: 600;
}

.hero h1 em::after {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: 0.02em;
  left: -2%;
  height: 0.17em;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  opacity: 0.72;
  transform: rotate(-2deg);
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-actions .button {
  min-height: 58px;
  padding-inline: 25px;
  font-size: 17px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.trust-line li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-line li::before {
  display: inline-grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  content: "✓";
  font-size: 11px;
}

.hero-art {
  position: relative;
  min-height: 510px;
}

.case-file {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 5px;
  width: min(100%, 420px);
  min-height: 465px;
  padding: 42px 38px 35px;
  border: 2px solid var(--ink);
  border-radius: 4px 18px 18px 18px;
  background:
    linear-gradient(90deg, transparent 0 29px, rgba(168, 61, 44, 0.2) 30px 31px, transparent 32px),
    repeating-linear-gradient(0deg, transparent 0 35px, rgba(33, 79, 71, 0.09) 36px 37px),
    #fffaf0;
  box-shadow: 14px 17px 0 var(--forest), var(--shadow);
  transform: rotate(2deg);
}

.case-file::before {
  position: absolute;
  top: -16px;
  left: 55px;
  width: 100px;
  height: 32px;
  background: rgba(233, 185, 72, 0.8);
  content: "";
  transform: rotate(-4deg);
}

.case-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 27px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-label span:last-child {
  color: var(--forest);
}

.case-file h2 {
  max-width: 280px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 37px;
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.case-sketch {
  position: relative;
  height: 105px;
  margin: 22px 0;
  overflow: hidden;
  border-bottom: 2px dashed var(--line);
}

.case-sketch svg {
  width: 100%;
  height: 100%;
  color: var(--forest);
  opacity: 0.72;
}

.suspect-label {
  margin: 0 0 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.suspect-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suspect-pill {
  padding: 6px 11px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
}

.file-note {
  position: relative;
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--rust);
  background: rgba(233, 185, 72, 0.18);
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.4;
}

.stamp {
  position: absolute;
  right: 20px;
  bottom: 23px;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 3px double var(--rust);
  border-radius: 50%;
  color: var(--rust);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-12deg);
}

.art-scribble {
  position: absolute;
  z-index: 0;
  bottom: 15px;
  left: -30px;
  width: 190px;
  height: 190px;
  border: 3px dashed var(--rust);
  border-radius: 45% 55% 60% 40%;
  opacity: 0.35;
  transform: rotate(-16deg);
}

.art-star {
  position: absolute;
  z-index: 3;
  top: -17px;
  right: -15px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 75px;
  line-height: 1;
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(8deg);
}

.section {
  padding: clamp(75px, 10vw, 135px) 0;
}

.section-tight {
  padding-top: 40px;
}

.section-dark {
  position: relative;
  color: #fffaf0;
  background: var(--forest);
}

.section-dark::before,
.section-dark::after {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(247, 217, 133, 0.27);
  border-radius: 50%;
  content: "";
}

.section-dark::before {
  top: 50px;
  left: 6%;
}

.section-dark::after {
  right: 5%;
  bottom: 55px;
  width: 110px;
  height: 110px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}

.section-head h2,
.partners-copy h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.5vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.section-head p {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.section-dark .section-head p,
.section-dark .muted {
  color: rgba(255, 250, 240, 0.76);
}

.section-dark .eyebrow {
  color: var(--gold-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.step h3 {
  margin: 45px 0 8px;
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: -0.025em;
}

.step p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  min-height: 190px;
  padding: 30px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 251, 243, 0.72);
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  background: #f2dfb5;
}

.feature-card:nth-child(4) {
  background: #e4e8da;
}

.feature-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 17px;
  background: var(--paper-light);
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.pull-quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 75px 0;
  border-top: 1px solid var(--line);
}

.quote-mark {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 160px;
  font-weight: 700;
  line-height: 0.55;
}

.pull-quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.3vw, 55px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.pull-quote blockquote em {
  color: var(--rust);
}

.quote-copy {
  max-width: 430px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: 17px;
}

.partners {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(45px, 7vw, 100px);
  align-items: start;
}

.partners-copy {
  position: sticky;
  top: 30px;
}

.partners-copy p {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.partners-list {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.partners-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 16px;
  font-weight: 700;
}

.partners-list li::before {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--rust);
  content: "";
}

.contact-card {
  padding: clamp(26px, 4vw, 48px);
  border: 2px solid var(--ink);
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.62)),
    repeating-linear-gradient(135deg, var(--paper) 0 12px, #f0e3cb 12px 24px);
  box-shadow: 9px 10px 0 rgba(33, 79, 71, 0.22);
}

.contact-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 34px;
  letter-spacing: -0.035em;
}

.contact-card > p {
  margin: 0 0 25px;
  color: var(--ink-soft);
  font-size: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1.5px solid rgba(23, 41, 35, 0.35);
  border-radius: 10px;
  background: rgba(255, 251, 243, 0.94);
  font-size: 16px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  outline: 3px solid rgba(233, 185, 72, 0.5);
  outline-offset: 1px;
}

.form-footer {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.form-note {
  max-width: 310px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.success {
  color: #123b2d;
  background: #d8edda;
}

.form-status.error {
  color: #721f15;
  background: #f5d7d0;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  font-weight: 700;
}

.fine-print {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: 12px;
}

.legal-page {
  max-width: 850px;
  padding: clamp(50px, 8vw, 100px) 0;
}

.legal-page h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 78px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.legal-page h2 {
  margin: 42px 0 10px;
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: -0.025em;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page .back-link {
  display: inline-block;
  margin-top: 35px;
  font-weight: 800;
}

.not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 50px 0;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(58px, 12vw, 120px);
  letter-spacing: -0.07em;
  line-height: 1;
}

.not-found p {
  max-width: 520px;
  margin: 18px auto 30px;
  color: var(--ink-soft);
}

.center {
  justify-content: center;
}

@media (max-width: 940px) {
  .primary-nav a:not(.button) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

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

  .hero-art {
    width: min(100%, 540px);
    min-height: 500px;
    margin-inline: auto;
  }

  .section-head,
  .partners {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 22px;
  }

  .partners-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header {
    padding-top: 14px;
  }

  .header-inner {
    gap: 12px;
  }

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

  .brand-name {
    font-size: 20px;
  }

  .primary-nav {
    margin-left: auto;
  }

  .primary-nav .button {
    min-height: 46px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .hero-lede {
    margin-block: 24px;
  }

  .hero-actions {
    align-items: stretch;
  }

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

  .hero-art {
    min-height: 450px;
  }

  .case-file {
    width: calc(100% - 14px);
    min-height: 430px;
    padding: 36px 27px 30px;
    box-shadow: 9px 11px 0 var(--forest), var(--shadow);
  }

  .case-file h2 {
    font-size: 32px;
  }

  .stamp {
    width: 72px;
    height: 72px;
    font-size: 9px;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: auto;
  }

  .step h3 {
    margin-top: 25px;
  }

  .feature-card {
    grid-template-columns: 48px 1fr;
    min-height: auto;
    padding: 23px;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 21px;
  }

  .pull-quote {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quote-mark {
    height: 37px;
    font-size: 120px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: stretch;
  }

  .form-footer .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header .header-inner {
    flex-wrap: wrap;
  }

  .site-header .primary-nav {
    width: 100%;
  }

  .site-header .primary-nav .button {
    width: 100%;
  }
}

@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;
  }
}
