/* Phone-width fixes for the Claude Design website pages (their inline styles are desktop sizes), plus the
   consultation form in the dark studio band. Nothing here changes the desktop look. */
html { -webkit-text-size-adjust: 100%; }
body { background: #16201B; }
a:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #E8D19A; outline-offset: 2px; }
.lead-form { display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.lead-form label { font-size: 15px; font-weight: 600; color: #E9E1D2; margin-top: 6px; letter-spacing: .02em; }
.lead-form input, .lead-form select, .lead-form textarea { font: 400 17px/1.4 Inter, system-ui, sans-serif; color: #1F1C19;
  background: #F6F1E8; border: 1px solid #C9A46A; border-radius: 1px; padding: 13px 14px; width: 100%; box-sizing: border-box; }
.lead-form .btn { margin-top: 14px; align-self: flex-start; }
.f-msg { min-height: 1.5em; font-weight: 600; color: #E8D19A; margin: 0; }
.f-msg.err { color: #F0A898; }
@media (prefers-reduced-motion: reduce) { svg animate, svg animateTransform { display: none; } }
.order-form { display: flex; flex-direction: column; gap: 8px; }
.order-form label { font-size: 16px; font-weight: 600; color: #23362E; margin-top: 4px; }
.order-form input, .order-form textarea { font: 400 17px/1.4 Inter, system-ui, sans-serif; color: #1F1C19; background: #FFFFFF;
  border: 1px solid #B9AE9C; border-radius: 4px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.order-form .btn { margin-top: 10px; }
#order-done { display: flex; flex-direction: column; gap: 10px; background: #E3E8DC; border-radius: 4px; padding: 16px; }
#order-done[hidden], .order-form[hidden] { display: none; }
.f-msg.dark { color: #23362E; }
.f-msg.dark.err { color: #8C2F25; }
button.btn:disabled { opacity: .5; cursor: not-allowed; }
/* the design's a:hover colour beat .btn-main on tapped phone links (dark text on the dark button) */
a.btn-main, a.btn-main:hover, a.btn-main:visited, a.btn-main:active { color: #FBF8F2; }
a.btn-alt:hover, a.btn-alt:visited { color: #23362E; }
article[data-cat][hidden] { display: none !important; }
@media print {
  header, footer, nav, .btn, [role="group"] { display: none !important; }
  body, body > div { background: #fff !important; min-height: 0 !important; }
  article, .card { break-inside: avoid; }
}

@media (max-width: 640px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)) !important;
          padding-right: max(20px, env(safe-area-inset-right, 0px)) !important; }
  h1 { font-size: 50px !important; line-height: 1.02 !important; }
  h2 { font-size: 38px !important; line-height: 1.08 !important; }
  [style*="minmax(360px"], [style*="minmax(380px"], [style*="minmax(340px"], [style*="minmax(320px"],
  [style*="minmax(300px"], [style*="minmax(280px"], [style*="minmax(260px"], [style*="minmax(250px"] {
    grid-template-columns: minmax(0, 1fr) !important; }
  [style*="padding-top: 80px; padding-bottom: 100px"] { padding-top: 44px !important; padding-bottom: 56px !important; gap: 36px !important; }
  [style*="padding-top: 110px; padding-bottom: 110px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
  [style*="padding: 110px 0"] { padding: 56px 0 !important; }
  [style*="padding: 120px 32px"] { padding: 64px 20px !important; }
  [style*="padding: 88px 64px"] { padding: 48px 20px 56px !important; }
  [style*="padding: 64px 56px"] { padding: 40px 22px !important; }
  [style*="min-height: 560px"] { min-height: 300px !important; }
  [style*="border-left: 1px solid #3A4A41"] { border-left: 0 !important; padding-left: 0 !important; }
  [style*="font-size: 27px"] { font-size: 22px !important; }
  [style*="font-size: 30px; color: #5E4418"] { font-size: 26px !important; }
  [style*="min-height: 5500px"], [style*="min-height: 1900px"] { min-height: 0 !important; }
  .nav { gap: 2px 18px !important; }
  .btn { padding: 0 22px !important; }
}
