/* Focused composition refinements requested in the September 2026 review. */

/* Homepage: let the photographic introduction stand on its own. */
html.home-sections {
  color-scheme: dark;
  scroll-snap-type: none;
}

#contact-form {
  scroll-margin-top: 110px;
}

.contact-honey {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.home .nav-wrap::after {
  display: none;
}

.home .has-home-film .quiet-hero-grid {
  margin: clamp(92px, 13vh, 136px) 0 36px;
}

/* Contact: a focused editorial sequence leading directly to the inquiry. */
.contact-page .contact-hero {
  padding: clamp(46px, 6vw, 78px) 0 0;
}

.contact-hero-grid {
  padding-bottom: clamp(48px, 6vw, 76px);
}

.contact-title-lockup .eyebrow {
  display: block;
  color: var(--blue);
  margin-bottom: 25px;
}

.contact-page .contact-hero h1 {
  font-size: clamp(58px, 7.1vw, 106px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 0;
}

.contact-page .contact-hero h1 > span {
  display: block;
}

.contact-page .contact-hero .lead {
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.62;
  margin: 0;
  max-width: 44ch;
}

.contact-workflow {
  padding-top: clamp(58px, 7vw, 92px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.contact-organized {
  display: block;
}

.contact-scope {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}

.contact-scope .eyebrow {
  color: var(--blue);
}

.contact-scope h2 {
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.035em;
  margin: 15px 0 29px;
  text-wrap: balance;
}

.collaboration-summary {
  list-style: none;
  margin: 0;
  padding: 0;
}

.collaboration-summary li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  padding: 14px 0;
}

.collaboration-summary li:first-child {
  border-top: 1px solid var(--line);
}

.scope-number {
  color: var(--blue);
  font: 11px/1.6 var(--mono);
  padding-top: 1px;
}

.contact-page .connect-form {
  border-top: 1px solid var(--ink);
  margin-top: 0;
  padding-top: 22px;
}

.contact-page .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 32px;
}

.contact-page .form-field {
  gap: 8px;
}

.contact-page .form-field label {
  color: var(--ink);
  font-size: 14px;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  min-height: 50px;
  padding: 10px 0;
}

.contact-page select {
  background-color: var(--paper);
  color: var(--ink);
}

.contact-page textarea {
  min-height: 150px;
}

.contact-page input:hover,
.contact-page select:hover,
.contact-page textarea:hover {
  border-color: var(--muted);
}

.contact-page input:focus-visible,
.contact-page select:focus-visible,
.contact-page textarea:focus-visible {
  background: color-mix(in srgb, var(--paper) 92%, var(--blue) 8%);
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.contact-page [aria-invalid="true"] {
  border-color: #a23434;
}

.required-note {
  color: var(--muted);
  font-size: 12px;
  margin: 14px 0 0;
}

.field-error {
  color: #8f2e2e;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 27px;
  flex-wrap: wrap;
}

.contact-form-actions .button {
  min-height: 44px;
}

.contact-form-actions a,
.contact-form-actions button {
  touch-action: manipulation;
}

.contact-page .form-status:not(:empty) {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

@media (max-width: 780px) {
  .home .has-home-film .quiet-hero-grid {
    margin-top: clamp(58px, 9vh, 84px);
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(51px, 16vw, 78px);
  }

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

  .contact-page input,
  .contact-page select,
  .contact-page textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page input {
    transition: none;
  }
}
