/* PhotoStory additions: how it works, order form with upload, FAQ, order page, legal. Tokens from site.css. */
.how { padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 70px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.how h2, .faq h2 { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.08; letter-spacing: -.05em; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 38px); }
.steps li { counter-increment: s; color: var(--muted); font-size: 15px; line-height: 1.55; padding-top: 14px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); display: block; font: normal 34px/1 var(--serif); color: var(--rust); margin-bottom: 10px; letter-spacing: -.04em; }
.steps b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }

.order { padding: clamp(52px, 7vw, 100px) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 9%; align-items: start; }
.order h2 { font-size: clamp(38px, 4.1vw, 60px); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 18px; }
.order h2 em { display: block; font-style: normal; color: var(--green); }
.order-copy > p { color: var(--muted); font-size: clamp(16px, 1.24vw, 19px); line-height: 1.6; max-width: 440px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.facts li { position: relative; padding-left: 22px; font-size: 15px; }
.facts li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); }
#order-form textarea { min-height: 84px; background: #fffdf6; border: 1px solid #aba99a; border-radius: 3px; color: var(--ink); padding: 10px 12px; margin-bottom: 16px; font: inherit; font-size: 16px; resize: vertical; width: 100%; }
#order-form input:focus, #order-form select:focus, #order-form textarea:focus { border-color: var(--green); outline: 2px solid #34463833; outline-offset: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two > div { display: grid; }
.drop { position: relative; border: 1.5px dashed #a7a08f; border-radius: 6px; background: #fffdf6; padding: 22px 16px; text-align: center; margin-bottom: 6px; transition: border-color .15s, background-color .15s; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; margin: 0; }
.drop p { margin: 0; font-size: 15px; }
.drop b { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.drop .hint { color: var(--muted); font-size: 13px; margin-top: 4px; }
.drop.over, .drop:hover { border-color: var(--green); background: #f5f3e8; }
.drop.has { border-style: solid; border-color: var(--green); }
.picked { min-height: 22px; font-size: 14px; color: var(--green); font-weight: 600; margin: 0 0 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.progress { margin: 4px 0 16px; }
.progress .bar { height: 6px; background: #e7e2d4; border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s ease-out; }
.progress p { font-size: 14px; color: var(--muted); margin-top: 8px; }
#order-form .button[disabled] { opacity: .6; cursor: progress; }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
.error.ok { color: var(--green); }

.faq { padding: 0 0 clamp(52px, 7vw, 90px); }
.faq h2, .faq details { max-width: 820px; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; margin: 0; max-width: none; font-size: 16px; color: var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; width: auto; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rust); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 8px; line-height: 1.6; }

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; }
.footer-links a:hover { text-decoration: underline; }
.operator { font-size: 13px; color: var(--muted); margin-top: 12px; }

.order-status { padding: clamp(40px, 6vw, 80px) 0; max-width: 820px; }
.order-status h1 { font-size: clamp(40px, 5vw, 64px); }
.order-status .lead { max-width: 640px; margin: 18px 0 26px; }
.order-video { width: 100%; background: #21231e; border-radius: 3px; aspect-ratio: 16/9; margin-bottom: 22px; }
.pay-box { display: flex; gap: 24px; align-items: center; justify-content: space-between; border: 1px solid var(--line); background: #fffdf6; border-radius: 6px; padding: 18px 20px; }
.pay-box p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.legal { max-width: 760px; padding: 36px 0 60px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); }
.legal h2 { font-size: 24px; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--muted); line-height: 1.6; }
.legal .meta { margin: 8px 0 20px; font-size: 14px; }
.legal a, .legal .back a { text-decoration: underline; text-underline-offset: 3px; }
.legal .back { margin-top: 32px; }

@media (max-width: 840px) {
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .order { grid-template-columns: 1fr; gap: 28px; }
  .order h2 em { display: inline; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .pay-box { flex-direction: column; align-items: stretch; }
  .footer-line { flex-direction: column; align-items: start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .progress i { transition: none; } }
