.form-editorial {
  box-sizing: border-box;
  width: var(--page-width);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) 0;
  color: #eee8df;
  border-top: 1px solid #e9d5bd30;
  scroll-margin-top: 2rem;
}
.form-section-heading {
  margin-bottom: 2rem;
}
.form-editorial h2 {
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0.8rem 0 1rem;
}
.form-editorial p {
  color: #bcb5aa;
  line-height: 1.85;
  max-width: 44rem;
}
.form-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.form-editorial-grid > img {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: cover;
  aspect-ratio: 4/5;
  border-radius: 18px;
}
.form-editorial .form-lead {
  font-size: 1.5rem;
  color: #e9d5bd;
  line-height: 1.5;
}
.form-principles {
  margin: 2rem 0 0;
}
.form-principles > div {
  padding: 1rem 0;
  border-top: 1px solid #e9d5bd26;
}
.form-principles dt {
  font-size: 0.75rem;
  color: #e9d5bd;
}
.form-principles dd {
  margin: 0.5rem 0 0;
  line-height: 1.75;
  color: #bcb5aa;
}
.material-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.material-options button {
  font: inherit;
  color: #e9d5bd;
  background: transparent;
  border: 1px solid #e9d5bd30;
  text-align: left;
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
}
.material-options button[aria-pressed="true"] {
  border-color: #e9d5bd;
  background: #e9d5bd0d;
}
.material-swatch {
  display: block;
  height: clamp(80px, 14vw, 170px);
  border-radius: 6px;
  margin-bottom: 1rem;
}
.oak {
  background: repeating-linear-gradient(92deg, #b28b5b, #ba9465 9px, #a88051 11px, #c5a279 21px);
}
.stone {
  background: linear-gradient(125deg, #c1bbb0, #8a897f 48%, #c8c4b8);
}
.linen {
  background: repeating-linear-gradient(0deg, #ddd5c5, #ddd5c5 2px, #cbc2b2 3px);
}
.material-copy {
  max-width: 50rem;
  padding: 1rem 0;
  min-height: 10rem;
}
.material-copy h3 {
  font-size: 1.5rem;
  font-weight: 400;
}
.form-process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 0;
  margin: 3rem 0 0;
}
.form-process li {
  border-top: 1px solid #e9d5bd55;
  padding-top: 1rem;
}
.form-process span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #e9d5bd;
}
.form-process h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 400;
}
.form-process p {
  font-size: 0.9rem;
}
.form-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
}
.form-contact form {
  padding: 1.5rem;
  border: 1px solid #e9d5bd30;
  border-radius: 16px;
}
.form-contact label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.form-contact input,
.form-contact select,
.form-contact textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  background: #1d1b18;
  color: #eee8df;
  border: 1px solid #e9d5bd40;
  border-radius: 6px;
  padding: 0.8rem;
  font: inherit;
  font-size: 1rem;
  margin-top: 0.5rem;
  color-scheme: dark;
}
.form-contact button {
  background: #e9d5bd;
  color: #171511;
  border: 0;
  border-radius: 6px;
  font: inherit;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  cursor: pointer;
}
.form-contact details {
  padding: 1rem 0;
  border-bottom: 1px solid #e9d5bd30;
}
.form-contact summary {
  cursor: pointer;
  min-height: 32px;
}
.form-contact #form-enquiry-status {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.portfolio-project-note {
  color: #bcb5aa;
  line-height: 1.8;
  font-size: 0.875rem;
}
.material-options button:focus-visible,
.form-contact :is(input, select, textarea, button, summary):focus-visible {
  outline: 2px solid #e9d5bd;
  outline-offset: 4px;
}
@media (max-width: 1000px) {
  .form-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .form-editorial-grid,
  .form-contact {
    grid-template-columns: 1fr;
  }
  .form-editorial-grid > img {
    max-height: 420px;
    aspect-ratio: 4/3;
  }
  .form-process {
    gap: 1.5rem;
  }
  .material-options {
    gap: 0.5rem;
  }
  .material-options button {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  .form-contact form {
    padding: 1rem;
  }
}
@media (max-width: 380px) {
  .form-process {
    grid-template-columns: 1fr;
  }
}
