/* How it works (#4869).
   Reuses .home-btn, .home-t-fig/.home-t-stage/.home-t-phone (marketing-storehouse.css) and
   .home-try-mount (try-lingual.css). Geometry is Figma 3356:2 / 3357:2, fitted to this page's main
   column: max-width 72rem with 1.5rem side padding = 1104 px of content at 1440. */

main.hiw { max-width: 72rem; padding-inline: 1.5rem; }

/* ---- hero (Figma 3505:28) ---- */
.hiw .hiw-hero { max-width: none; padding: 5.25rem 0 3.25rem; text-align: center; }
.hiw .hiw-hero h1 { max-width: none; margin: .85rem auto 0; font-size: clamp(2.25rem, 4.9vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: wrap; }
.hiw .hiw-hero h1 span { white-space: nowrap; }
.hiw .hiw-hero .lede { max-width: 46rem; margin: 1rem auto 0; font-size: 1.15rem; line-height: 1.5; }
.hiw .hiw-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: 2rem; }
.hiw .hiw-actions .home-btn { cursor: pointer; }

/* ---- shared section rhythm ---- */
.hiw .hiw-section { padding: 5rem 0 0; }
.hiw .hiw-stage { margin: 0 0 .8rem; color: var(--rubric); font: 700 .76rem/1.4 'Inter', sans-serif; letter-spacing: .14em; text-transform: uppercase; text-wrap: wrap; }
.hiw .hiw-stage span { color: var(--ink-muted); }
.hiw h2 { margin: 0; font-size: 2.55rem; line-height: 1.03; letter-spacing: -.025em; }

/* ---- For your guests: the three attendee steps (Figma 3452:43). Not a stage of the week. ---- */
.hiw .hiw-guests { padding-top: 1.4rem; }
.hiw .hiw-guests .hiw-stage { margin-bottom: 1.5rem; }
.hiw .hiw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.25rem; row-gap: 0; margin: 0; padding: 0; list-style: none; }
.hiw .hiw-steps > li { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 1.75rem; min-width: 0; }
.hiw .hiw-badge { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-bottom: .7rem; border-radius: 50%; background: var(--rubric); color: var(--paper); font: 700 1rem/1 'Inter', sans-serif; }
.hiw .hiw-steps h3 { margin: 0; color: var(--ink); font: 500 clamp(1.9rem, 2.55vw, 2.3rem)/1.05 'Cormorant Garamond', Georgia, serif; letter-spacing: -.02em; }
.hiw .hiw-steps p { margin: 0; color: var(--ink-muted); font-size: 1.02rem; line-height: 1.6; }
.hiw .hiw-steps figure { margin: 0; }
.hiw .hiw-steps img { display: block; width: 100%; height: auto; }

/* ---- For your Church: the week, one ordered list of four stages in time order ----
   1 Prepare and 2 Live worship span both columns; 3 Retain | 4 Everyday ministry share a row,
   each a subgrid (text | figure) so the two figures share a top edge. */
.hiw .hiw-week-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.25rem; row-gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; }
.hiw .hiw-wk { min-width: 0; }
.hiw .hiw-wk-wide { grid-column: 1 / -1; margin-bottom: 3.5rem; }
.hiw .hiw-wk-split { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 1.75rem; }
.hiw .hiw-stage .hiw-wk-n { margin-inline-end: .55em; color: var(--rubric); }
.hiw .hiw-wk .hiw-stage > span:not(.hiw-wk-n) { white-space: nowrap; }
.hiw .hiw-wk h3 { margin: 0; color: var(--ink); font: 500 2.05rem/1.05 'Cormorant Garamond', Georgia, serif; letter-spacing: -.02em; }
.hiw .hiw-wk-wide > p:not(.eyebrow) { max-width: 46rem; margin: .9rem 0 0; color: var(--ink-muted); font-size: 1.02rem; line-height: 1.6; }
.hiw .hiw-wk-text > p:not(.eyebrow) { margin: .9rem 0 0; color: var(--ink-muted); font-size: 1.02rem; line-height: 1.6; }
.hiw .hiw-wk-split figure { margin: 0; }
.hiw .hiw-wk-split figure > img { display: block; width: 100%; height: auto; }
.hiw .hiw-phone-fig .home-t-stage { height: auto; aspect-ratio: 831 / 768; }
.hiw .hiw-week .hiw-panel { display: grid; place-items: center; aspect-ratio: 831 / 768; border-radius: 22px; background: var(--highlight); }
.hiw .hiw-week .hiw-panel > img { width: min(94%, 20rem); border-radius: 7% / 7.6%; }
.hiw .hiw-ast { color: var(--rubric); }
.hiw .hiw-note { margin: 1.5rem 0 0; color: var(--ink-muted); font-size: .9rem; line-height: 1.5; }

/* ---- stage 1 content: setup cards (Figma 3452:112). No numerals: the stage carries the only numbering. ---- */
.hiw .hiw-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hiw .hiw-cards > li { padding: 1.5rem; border: 1px solid var(--rule); border-radius: 16px; background: #fffdf8; }
.hiw .hiw-icon { display: block; width: 3rem; height: 3rem; color: var(--rubric); }
.hiw .hiw-cards h4 { margin: 1rem 0 0; color: var(--ink); font: 600 1.08rem/1.35 'Inter', sans-serif; }
.hiw .hiw-cards p { margin: .4rem 0 0; color: var(--ink-muted); font-size: .98rem; line-height: 1.55; }

/* ---- FAQ accordion (#4868 component) ---- */
.hiw .hiw-faq .eyebrow { margin-bottom: .8rem; }
.hiw .hiw-faq-list { display: block; max-width: 52rem; margin-top: 1.6rem; border-top: 1px solid var(--rule); }
.hiw .hiw-faq-list details { border: 0; border-radius: 0; background: transparent; padding: 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 6rem; }
.hiw .hiw-faq-list summary { background: transparent; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.05rem 0; cursor: pointer; list-style: none; color: var(--ink); font: 500 1.5rem/1.25 'Cormorant Garamond', Georgia, serif; }
.hiw .hiw-faq-list summary::-webkit-details-marker { display: none; }
.hiw .hiw-faq-list summary::after { content: '+'; content: '+' / ''; flex: none; color: var(--rubric); font: 400 1.6rem/1 'Inter', sans-serif; }
.hiw .hiw-faq-list details[open] summary::after { content: '\2212'; content: '\2212' / ''; }
.hiw .hiw-faq-list summary:focus-visible { outline: 3px solid var(--rubric); outline-offset: 3px; border-radius: 2px; }
.hiw .hiw-faq-list details p { max-width: 44rem; margin: 0 0 1.35rem; color: var(--ink-muted); font-size: 1.05rem; line-height: 1.65; }
.hiw .hiw-faq-list details p a { color: var(--rubric); }

/* ---- closing (Figma 3452:310) ---- */
.hiw .hiw-closing { margin-top: 5rem; padding: 3.6rem 2rem; border-radius: 28px; background: var(--highlight); text-align: center; }
.hiw .hiw-closing h2 { max-width: none; margin: 0 auto; font-size: 3rem; }
.hiw .hiw-closing h2 span { display: block; }
.hiw .hiw-closing > p { max-width: 42rem; margin: .9rem auto 0; color: var(--ink-muted); font-size: 1.1rem; line-height: 1.65; }
.hiw .hiw-closing > .hiw-talk { margin-top: 1.1rem; font-size: 1rem; line-height: 1.65; }
.hiw .hiw-talk a { color: var(--ink); font-weight: 600; text-underline-offset: .2em; }

/* ---- tablet: 720–999px (3 Retain | 4 Everyday ministry stay two columns) ---- */
@media (max-width: 999px) {
  .hiw .hiw-steps { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; }
  .hiw .hiw-steps > li { grid-row: auto; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 17rem); column-gap: 2rem; align-items: start; }
  .hiw .hiw-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ---- phone: < 720px (Figma 3357:2) ---- */
@media (max-width: 719px) {
  .hiw .hiw-hero { padding: 4rem 0 3rem; }
  .hiw .hiw-hero h1 { margin-top: .75rem; font-size: clamp(1.9rem, 10.4vw, 2.6rem); line-height: 1.04; }
  .hiw .hiw-hero h1 span { display: block; }
  .hiw .hiw-hero .lede { font-size: 1.04rem; }
  .hiw .hiw-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; margin-top: 2.75rem; }
  .hiw .hiw-actions .home-btn { width: 100%; }
  .hiw .hiw-section { padding-top: 3.5rem; }
  .hiw h2 { font-size: 2.05rem; }
  .hiw .hiw-steps { row-gap: 3.3rem; }
  .hiw .hiw-steps > li { display: block; }
  .hiw .hiw-steps h3 { font-size: 2.3rem; }
  .hiw .hiw-steps figure { margin-top: 1.1rem; }
  .hiw .hiw-week-list { grid-template-columns: minmax(0, 1fr); }
  .hiw .hiw-wk-wide { margin-bottom: 3rem; }
  .hiw .hiw-wk-split { display: block; }
  .hiw .hiw-wk-split + .hiw-wk-split { margin-top: 3rem; }
  .hiw .hiw-wk h3 { font-size: 1.9rem; }
  .hiw .hiw-wk-split figure { margin-top: 1.5rem; }
  .hiw .hiw-faq-list summary { font-size: 1.3rem; }
  .hiw .hiw-closing { margin-top: 3.5rem; padding: 2.6rem 1.25rem; }
  .hiw .hiw-closing h2 { font-size: 2.2rem; }
  .hiw .hiw-closing h2 span { display: inline; }
}
@media (max-width: 360px) {
  .hiw .hiw-hero h1 span { white-space: normal; }
}

.hiw .hiw-attendee-figure { position: relative; overflow: hidden; aspect-ratio: 373.33 / 528; border-radius: 22px; background: var(--highlight); }
.hiw .hiw-phone { position: absolute; top: 6.818%; left: 14.857%; width: 70.284%; padding: 2.357%; border-radius: 15.854% / 7.602%; background: var(--ink); box-shadow: 0 2.4rem 1.75rem rgb(26 22 18 / .55); }
.hiw .hiw-screen { position: relative; overflow: hidden; aspect-ratio: 1170 / 2532; border-radius: 13.725% / 6.343%; background: var(--paper); }
.hiw .hiw-screen > img { display: block; width: 100%; height: auto; }
.hiw .hiw-scan-screen { background: radial-gradient(ellipse at 50% 32%, #2b231c 0, #120f0c 75%); }
.hiw .hiw-scan-screen > img { position: absolute; top: 19.632%; left: -87.12%; width: 154.412%; max-width: none; border-radius: 4px; box-shadow: 0 0 0 4px #050505; }
.hiw .hiw-scan-focus { position: absolute; top: 45.123%; left: 33.917%; width: 32.026%; height: 14.8%; color: #ffd60a; }
.hiw .hiw-scan-focus > i { position: absolute; width: 22.45%; height: 22.45%; border-color: currentColor; border-style: solid; border-width: 0; }
.hiw .hiw-scan-focus > i:nth-child(1) { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.hiw .hiw-scan-focus > i:nth-child(2) { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.hiw .hiw-scan-focus > i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.hiw .hiw-scan-focus > i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }
.hiw .hiw-scan-link { position: absolute; top: 62.089%; left: 25.486%; padding: 2.745% 5.229%; border-radius: 999px; background: #ffd60a; color: var(--ink); font: 600 clamp(.5rem, 1vw, .78rem)/1 Inter, sans-serif; white-space: nowrap; }
.hiw .hiw-scan-mode { position: absolute; top: 74.75%; left: 0; width: 100%; color: #ffd60a; text-align: center; font: 600 .66rem/1 Inter, sans-serif; letter-spacing: .0924rem; }
.hiw .hiw-scan-shutter { position: absolute; top: 79.463%; left: 38.23%; width: 23.53%; aspect-ratio: 1; border: 4px solid #f4ede0; border-radius: 50%; }
.hiw .hiw-scan-shutter::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: #f4ede0; }
