/* ============================================================
   TOP 15 (night branch 2026-10-15, FEATURES-BUILD-SPECS + REVIEW, 1XEV's own site)
   Loaded after styles.css on every public page. Small on purpose: phone pill, call bar,
   text-me line, form states, facts strip, steps, FAQ (native details), service area,
   hero still + pause. Phone is Victor's own line, (360) 345-3753, on 1xevmedia.com only.
   ============================================================ */

/* ---------- header phone pill (spec 1). Phones: logo + pill + menu. Desktop: only where
   the seven-link row has room (>=1240px); 901-1239px the row is already full (see the
   1100px / 1000px notes in styles.css), the footer + contact block carry the number there. */
.nav-phone { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px;
  border: 1px solid rgba(201,168,106,.5); border-radius: 999px; color: var(--ink); font-size: 14px;
  font-weight: 600; letter-spacing: .01em; white-space: nowrap; flex: none; transition: border-color .25s, color .25s; }
.nav-phone svg { width: 15px; height: 15px; flex: none; stroke: var(--accent, #d9d3c6); }
.nav-phone:hover { border-color: var(--accent, #d9d3c6); color: var(--accent, #d9d3c6); }
.nav-phone:focus-visible, .sticky-cta .btn:focus-visible, .t15-faq summary:focus-visible,
.textme a:focus-visible, .t15-line a:focus-visible { outline: 3px solid var(--accent, #d9d3c6); outline-offset: 2px; }
@media (min-width: 901px) and (max-width: 1239px) { .nav-phone { display: none; } }
@media (min-width: 1240px) { .nav-phone { margin-left: 22px; } }
@media (max-width: 900px) {
  .nav { padding-top: 10px; padding-bottom: 10px; }  /* header 64 px on phones (spec 1), was 89 */
  .nav-phone { margin-left: auto; margin-right: 4px; }
}
@media (max-width: 420px) {
  .nav { padding-left: 16px; padding-right: 16px; }
  .brand { letter-spacing: .2em; font-size: 16px; }
  .nav-phone { padding: 0 11px; font-size: 13.5px; gap: 5px; }
}
@media (max-width: 350px) { .brand > span:last-child { display: none; } }

/* ---------- bottom bar (spec 1): Book / Call / Text on every public page under 900px.
   Reuses .sticky-cta (styles.css) so the index wait-until-hero-scrolls rule still applies. */
.sticky-cta { gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.sticky-cta .btn { flex: 1 1 0; min-height: 48px; padding: 12px 6px; font-size: 13px; letter-spacing: .1em; justify-content: center; }
.sticky-cta .btn--solid { flex-grow: 1.6; }
@media (max-width: 900px) { body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); } }

/* ---------- text-me line (R1) under every public form and in the closing blocks ---------- */
.textme { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-dim); }
.textme a { color: var(--accent, #d9d3c6); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- form states (spec 4): message under the field, never colour alone ---------- */
.field .ferr { display: none; margin-top: 6px; font-size: 14px; color: #f0b3a6; }
.field.bad .ferr { display: block; }
.field.bad input, .field.bad textarea { border-color: #e0806c !important; }
.field .opt { color: var(--ink-faint); font-weight: 400; text-transform: none; letter-spacing: 0; }
form .btn[aria-disabled="true"] { opacity: .78; }
.form-status { min-height: 0; margin-top: 10px; font-size: 15px; color: var(--ink-dim); }

/* ---------- facts strip (spec 11) ---------- */
.t15-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.t15-facts dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; }
.t15-facts dl > div { padding: 22px 18px; border-left: 1px solid var(--line); }
.t15-facts dl > div:first-child { border-left: 0; }
.t15-facts dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent, #d9d3c6); font-weight: 700; }
.t15-facts dd { margin: 6px 0 0; font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.t15-facts dd small { display: block; font-size: 14px; font-weight: 400; color: var(--ink-dim); margin-top: 2px; }
@media (max-width: 760px) {
  .t15-facts dl { grid-template-columns: 1fr 1fr; }
  .t15-facts dl > div { padding: 18px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .t15-facts dl > div:nth-child(-n+2) { border-top: 0; }
  .t15-facts dl > div:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- quiet CTA line that closes a middle section (spec 3) ---------- */
.t15-line { margin: 30px 0 0; font-size: 16px; color: var(--ink-dim); }
.t15-line a { color: var(--accent, #d9d3c6); font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- numbered how-it-works (spec 12) ---------- */
.t15-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: t15; }
.t15-steps li { counter-increment: t15; position: relative; padding: 26px 22px 22px; border: 1px solid rgba(255,255,255,.10); border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.t15-steps li::before { content: counter(t15); display: block; font-size: 30px; font-weight: 800; line-height: 1; color: var(--accent, #d9d3c6); margin-bottom: 12px; }
.t15-steps h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.t15-steps p { color: var(--ink-dim); font-size: 15px; line-height: 1.6; margin: 0; }
.t15-steps .when { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink); border: 1px solid rgba(201,168,106,.45); border-radius: 999px; padding: 4px 11px; }
@media (max-width: 760px) { .t15-steps { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- FAQ on native details (spec 13), works with JS off ---------- */
.t15-faq { margin-top: 26px; border-top: 1px solid var(--line); }
.t15-faq details { border-bottom: 1px solid var(--line); }
.t15-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 56px; padding: 14px 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.t15-faq summary::-webkit-details-marker { display: none; }
.t15-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(201,168,106,.5); border-radius: 50%; color: var(--accent, #d9d3c6); font-size: 18px; line-height: 1; transition: transform .25s var(--ease); }
.t15-faq details[open] summary::after { transform: rotate(45deg); }
.t15-faq details p { color: var(--ink-dim); font-size: 15.5px; line-height: 1.7; padding: 0 44px 20px 0; margin: 0; }
.t15-faq details p a { color: var(--accent, #d9d3c6); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .t15-faq { columns: 2; column-gap: 48px; border-top: 0; } .t15-faq details { break-inside: avoid; } }

/* ---------- service area (spec 9: plain text towns, no map, no thin town pages) ---------- */
.t15-towns { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; }
.t15-towns li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--ink); }
.t15-towns li.more { border-style: dashed; color: var(--ink-dim); }

/* ---------- closing band on pages with no form of their own (spec 3) ---------- */
.t15-band { border-top: 1px solid var(--line); padding: 64px 0; text-align: center; }
.t15-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; margin: 0 auto; max-width: 22ch; }
.t15-band p { color: var(--ink-dim); font-size: 16px; margin: 12px auto 22px; max-width: 46ch; }
.t15-band .btn { min-height: 48px; justify-content: center; }
.t15-band .textme { margin-top: 16px; }

/* ---------- hero still + pause (spec 2, spec 14) ---------- */
.hero-media .hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); z-index: 0; }
.hero-pause { position: absolute; right: 16px; bottom: 18px; z-index: 3; min-width: 44px; min-height: 44px; display: none; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(10,10,10,.55); color: var(--ink); font-size: 13px; cursor: pointer; }
.hero-pause.on { display: inline-flex; }
.hero-pause:focus-visible { outline: 3px solid var(--accent, #d9d3c6); outline-offset: 2px; }
@media (max-width: 900px) { .hero-pause { bottom: 84px; } }

/* ---------- reduced motion (R8): nothing drifts, nothing slides ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .sticky-cta, .t15-faq summary::after { transition: none; }
}

/* the photographer box carries [hidden] until "Drone at your session" is picked; .field display won over it */
.field[hidden] { display: none !important; }
