:root {
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --ivory: #f4efe5;
  --ivory-deep: #e9e0d1;
  --paper: #fbf8f2;
  --ink: #2d241e;
  --brown: #4a372b;
  --terracotta: #a64b32;
  --terracotta-dark: #843821;
  --moss: #5e6b45;
  --moss-dark: #3f4b30;
  --oat: #d8ccb8;
  --line: rgba(74, 55, 43, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(74, 55, 43, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(74, 55, 43, 0.08) 1px, transparent 1px);
  background-size: 5px 5px;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

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

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

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px clamp(24px, 4.3vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 229, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-serif), Georgia, serif;
  line-height: 1.05;
}

.brand span {
  font-size: 24px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.brand small {
  margin-top: 7px;
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.09em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.desktop-nav a {
  position: relative;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  cursor: pointer;
  list-style: none;
  padding: 9px 14px;
  border: 1px solid var(--brown);
  font-weight: 700;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: 52px;
  right: 0;
  display: flex;
  width: 230px;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(45, 36, 30, 0.16);
}

.mobile-nav nav a {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.hero {
  display: grid;
  min-height: calc(100svh - 88px - 64px);
  grid-template-columns: minmax(440px, 45%) 1fr;
  background: var(--ivory);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 110px) clamp(30px, 5.2vw, 84px);
}

.field-note {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 14px;
  border: 1px solid rgba(166, 75, 50, 0.7);
  border-radius: 999px;
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.field-note span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--terracotta);
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-serif), Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 700px;
  font-size: clamp(52px, 5.25vw, 86px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(42px, 4.2vw, 68px);
  line-height: 1.02;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(45, 36, 30, 0.82);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  background: var(--terracotta);
  color: white;
}

.button-primary:hover,
.button-form:hover {
  background: var(--terracotta-dark);
}

.button-secondary {
  border-color: var(--terracotta);
  color: var(--terracotta-dark);
}

.button-secondary:hover {
  background: rgba(166, 75, 50, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  background: var(--brown);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(45, 36, 30, 0.05), transparent 30%);
  box-shadow: inset 0 0 90px rgba(45, 36, 30, 0.22);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 78%;
  animation: settle 1.2s ease both;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 28px;
  display: flex;
  max-width: 250px;
  flex-direction: column;
  align-items: flex-end;
  padding: 12px 16px;
  border-right: 2px solid var(--oat);
  background: rgba(45, 36, 30, 0.74);
  color: white;
  text-align: right;
}

.hero-visual figcaption span {
  color: var(--oat);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  margin-top: 3px;
  font-family: var(--font-serif), Georgia, serif;
  font-size: 17px;
}

.trust-strip {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 46px);
  padding: 16px 24px;
  background: var(--moss);
  color: white;
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(15px, 1.3vw, 19px);
}

.trust-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--oat);
}

.section {
  padding: clamp(78px, 9vw, 140px) clamp(24px, 6.5vw, 104px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--terracotta-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-kicker.light {
  color: var(--oat);
}

.project-section {
  background: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: start;
}

.project-copy {
  padding-top: 10px;
}

.project-copy > p {
  margin: 0 0 22px;
  color: rgba(45, 36, 30, 0.76);
  font-size: 18px;
}

.project-copy .lead-paragraph {
  color: var(--ink);
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.4;
}

.researcher-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.initials {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--moss);
  color: white;
  font-family: var(--font-serif), Georgia, serif;
}

.researcher-card p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.researcher-card span {
  color: rgba(45, 36, 30, 0.65);
  font-size: 14px;
}

.pieces-section {
  background: var(--ivory);
}

.pieces-intro {
  display: grid;
  grid-template-columns: minmax(420px, 1.15fr) minmax(300px, 0.7fr);
  gap: clamp(40px, 9vw, 140px);
  align-items: end;
}

.pieces-intro > p {
  margin: 0 0 8px;
  color: rgba(45, 36, 30, 0.74);
  font-size: 18px;
}

.piece-list {
  display: grid;
  margin: 64px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  list-style: none;
}

.piece-list li {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 18px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif), Georgia, serif;
  font-size: 21px;
}

.piece-list li:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.piece-list span {
  color: var(--terracotta);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.witness-note {
  max-width: 860px;
  margin: 42px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--terracotta);
  font-size: 18px;
}

.process-section {
  background: var(--moss-dark);
  color: white;
}

.process-heading {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(300px, 0.6fr);
  gap: clamp(40px, 9vw, 150px);
  align-items: end;
}

.process-heading p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.steps-grid {
  display: grid;
  margin: 72px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.steps-grid li {
  min-height: 280px;
  padding: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.steps-grid li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.step-number {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--oat);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.steps-grid h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif), Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.steps-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.process-assurance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 38px;
  padding: 28px 32px;
  background: var(--ivory);
  color: var(--ink);
}

.process-assurance p {
  max-width: 820px;
  margin: 0;
}

.process-assurance strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif), Georgia, serif;
  font-size: 21px;
}

.process-assurance a {
  flex: 0 0 auto;
  color: var(--terracotta-dark);
  font-weight: 700;
}

.archive-section {
  background: var(--paper);
}

.archive-card {
  display: grid;
  min-height: 500px;
  grid-template-columns: 0.52fr 1fr;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(216, 204, 184, 0.55), rgba(244, 239, 229, 0.95)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 9px,
      rgba(74, 55, 43, 0.07) 10px
    );
}

.archive-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  border-right: 1px solid var(--line);
}

.archive-label span {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid var(--terracotta);
  color: var(--terracotta-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-label small {
  color: rgba(45, 36, 30, 0.6);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 6vw, 88px);
}

.archive-content > p {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(45, 36, 30, 0.72);
  font-size: 18px;
}

.archive-status {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.archive-status > span {
  color: var(--terracotta);
  font-family: var(--font-serif), Georgia, serif;
  font-size: 34px;
}

.archive-status p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.archive-status small {
  color: rgba(45, 36, 30, 0.62);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(500px, 1fr);
  gap: clamp(50px, 9vw, 150px);
  background: var(--ivory);
}

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

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

.faq-list summary {
  position: relative;
  padding: 25px 54px 25px 0;
  cursor: pointer;
  font-family: var(--font-serif), Georgia, serif;
  font-size: 21px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 24px;
  right: 6px;
  content: "+";
  color: var(--terracotta);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 25px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 740px;
  margin: -4px 0 26px;
  color: rgba(45, 36, 30, 0.7);
}

.contact-section {
  display: grid;
  padding: clamp(78px, 9vw, 140px) clamp(24px, 6.5vw, 104px);
  grid-template-columns: minmax(320px, 0.7fr) minmax(500px, 1fr);
  gap: clamp(52px, 9vw, 150px);
  background: var(--brown);
  color: white;
}

.contact-intro {
  align-self: start;
}

.contact-intro h2 {
  font-size: clamp(42px, 3.8vw, 64px);
}

.contact-intro > p {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-intro > a {
  display: inline-block;
  margin-top: 32px;
  border-bottom: 1px solid var(--oat);
  color: var(--oat);
  font-weight: 700;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--ivory);
  color: var(--ink);
}

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(74, 55, 43, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 400;
}

.contact-form input {
  min-height: 46px;
}

.contact-form textarea {
  padding: 10px 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--terracotta);
  outline: none;
  box-shadow: 0 2px 0 var(--terracotta);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(45, 36, 30, 0.48);
}

.contact-form .consent-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(45, 36, 30, 0.72);
  font-weight: 400;
}

.consent-field input {
  width: 17px;
  min-height: 17px;
  margin-top: 2px;
  accent-color: var(--terracotta);
}

.button-form {
  width: fit-content;
  margin-top: 2px;
  border: 0;
  background: var(--terracotta);
  color: white;
}

.form-privacy,
.form-status {
  margin: -8px 0 0;
  color: rgba(45, 36, 30, 0.62);
  font-size: 12px;
}

.form-status {
  min-height: 19px;
  color: var(--moss-dark);
}

footer {
  display: flex;
  min-height: 170px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 34px clamp(24px, 6.5vw, 104px);
  background: #251d18;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  color: white;
}

footer p {
  margin: 0;
  font-size: 13px;
  text-align: center;
}

footer > a:last-child {
  color: var(--oat);
  font-size: 14px;
  font-weight: 700;
}

@keyframes settle {
  from {
    opacity: 0.7;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 640px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .project-grid,
  .pieces-intro,
  .process-heading,
  .faq-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid li:nth-child(3) {
    border-left: 0;
  }

  .piece-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .piece-list li:not(:nth-child(3n + 1)) {
    border-left: 0;
    padding-left: 12px;
  }

  .piece-list li:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 26px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 76px;
    padding: 12px 18px;
  }

  .brand span {
    font-size: 18px;
  }

  .brand small {
    margin-top: 4px;
    font-size: 11px;
  }

  .hero-copy {
    min-height: 610px;
    padding: 58px 24px;
  }

  .field-note {
    max-width: 360px;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(47px, 14.3vw, 64px);
  }

  h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 460px;
  }

  .hero-visual figcaption {
    right: 18px;
    bottom: 18px;
  }

  .trust-strip {
    flex-direction: column;
    gap: 8px;
    padding: 18px 24px;
  }

  .trust-strip i {
    display: none;
  }

  .section,
  .contact-section {
    padding: 72px 22px;
  }

  .project-grid,
  .pieces-intro,
  .process-heading,
  .faq-section,
  .contact-section {
    gap: 38px;
  }

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

  .piece-list li,
  .piece-list li:nth-child(even),
  .piece-list li:not(:nth-child(3n + 1)) {
    border-left: 0;
    padding-left: 10px;
  }

  .steps-grid li + li,
  .steps-grid li:nth-child(3) {
    border-left: 0;
  }

  .steps-grid li {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 32px;
  }

  .process-assurance {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .archive-card {
    grid-template-columns: 1fr;
  }

  .archive-label {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .archive-content {
    padding: 34px 24px 44px;
  }

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

  .contact-form {
    padding: 28px 22px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 22px;
  }

  footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
