/* Small interaction cues; all content is visible without scripts or motion. */
.button,
.site-header .mobile-estimate,
.menu-toggle,
.project-photo-button {
  transition: background-color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}
.style .style-art {
  transition: box-shadow 180ms ease;
}
.button:not(:disabled):focus-visible,
.site-header .mobile-estimate:focus-visible,
.menu-toggle:focus-visible,
.project-photo-button:focus-visible {
  box-shadow: 0 3px 10px #27272718;
}
.style:focus-within .style-art {
  box-shadow: 0 4px 18px #27272712;
}
@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover,
  .site-header .mobile-estimate:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px #27272720;
  }
  .menu-toggle:hover {
    background-color: #eeece4;
    border-color: #896b48;
  }
  .style:hover .style-art,
  .project-photo-button:hover {
    box-shadow: 0 4px 18px #27272718;
  }
}

/* The header estimate action is available even when the mobile menu is closed. */
.site-header .mobile-estimate {
  display: none;
}
@media (max-width: 900px) {
  .site-header .nav {
    gap: 8px;
  }
  .site-header .brand {
    flex: 0 0 auto;
    margin-right: auto;
  }
  .site-header .mobile-estimate {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }
  .site-header .menu-toggle {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .site-header nav {
    flex-basis: 100%;
  }
}

/* Keep the estimate page focused on the form, with one introduction. */
.estimate-layout {
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(36px, 5vw, 72px);
}
.estimate-intro .breadcrumbs {
  margin: 0 0 22px;
}
.estimate-intro h1 {
  font-size: clamp(42px, 4.8vw, 72px);
  line-height: 1.08;
  letter-spacing: -2px;
  max-width: 520px;
}
.estimate-intro .estimate-summary {
  margin: 20px 0 12px;
  font-size: 16px;
}
.estimate-intro .estimate-call {
  margin: 10px 0;
  font-size: 14px;
}
.estimate-call a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
}
.estimate-intro .draft {
  margin-top: 16px;
}

/* Show an explicitly shared plan for review before it fills any fields. */
#planner-handoff[hidden] {
  display: none !important;
}
.planner-handoff {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding: 22px;
  border: 1px solid #b8aa96;
  background: #eeece4;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.planner-handoff h2,
.planner-handoff h3 {
  margin: 0 0 12px;
  max-width: none;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.4px;
}
.planner-handoff p {
  max-width: none;
  font-size: 14px;
}
#planner-handoff-preview {
  white-space: pre-line;
  color: var(--ink);
  margin: 14px 0;
}
.handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.handoff-actions .small-link {
  margin: 0;
  min-height: 44px;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 600px) {
  .estimate-layout {
    padding-top: 32px;
  }
  .estimate-intro h1 {
    font-size: clamp(38px, 10vw, 52px);
    letter-spacing: -1.5px;
  }
  .estimate-intro .breadcrumbs {
    margin-bottom: 18px;
  }
  .estimate-layout form {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .site-header .mobile-estimate,
  .menu-toggle,
  .project-photo-button,
  .style .style-art {
    transition: none;
    transform: none;
  }
  .button:not(:disabled):hover,
  .site-header .mobile-estimate:hover {
    transform: none;
  }
}
