/* Approach page. Shared tokens and components live in site.css. */

.ap-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Engagement process ---------- */
.ap-process-head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); }
.ap-process-head .muted { margin-top: 20px; max-width: 34ch; }
.ap-process-tile .tile { display: block; position: relative; width: 132px; height: 92px; overflow: hidden; margin-top: 36px; }
.ap-process-tile .bricks .course { gap: 2px; margin-bottom: 2px; }
.ap-process-tile .bricks .course:last-child { margin-bottom: 0; }
.ap-steps-wrap { grid-column: 6 / span 7; position: relative; }
.ap-line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.ap-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 1.5px; background: var(--maroon); transform-origin: top; }
@supports (animation-timeline: view()) {
  .ap-steps-wrap { view-timeline-name: --apsteps; }
  .ap-fill { animation: ap-fill linear both; animation-timeline: --apsteps; animation-range: cover 12% cover 72%; }
}
@keyframes ap-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.ap-steps { list-style: none; margin: 0; padding: 0; }
.ap-step { display: grid; grid-template-columns: clamp(64px, 6vw, 96px) 1fr; gap: clamp(12px, 1.6vw, 24px); padding: clamp(26px, 3vw, 40px) 0 clamp(26px, 3vw, 40px) clamp(24px, 2.6vw, 40px); border-top: 1px solid var(--hair); }
.ap-step:first-child { border-top: 0; padding-top: 0; }
.ap-step:last-child { padding-bottom: 0; }
.ap-num { font-size: clamp(36px, 3.4vw, 52px); color: var(--maroon); }
.ap-step .h3 { margin-bottom: 12px; }
.ap-step p { color: var(--ink-soft); margin: 0 0 14px; max-width: 54ch; }
.ap-step .ap-note { color: var(--ink); font-size: 16.5px; margin: 0; padding-left: 28px; position: relative; }
.ap-step .ap-note::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 16px; height: 9px; background: linear-gradient(90deg, var(--maroon) 0 60%, transparent 60% 66%, var(--rose) 66%); }

/* ---------- Full-bleed photo band with quote panel ---------- */
.ap-photo-band { position: relative; height: clamp(520px, 78vh, 760px); overflow: hidden; background: var(--stone); }
.ap-photo-band figure { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.ap-photo-band img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; object-position: 60% 72%; }
.ap-photo-wrap { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; }
.ap-quote { margin: 0; width: min(640px, 100%); background: var(--oxblood); color: #fff; padding: clamp(28px, 3.6vw, 56px); }
.ap-quote .display { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.05; margin: 0; }
.ap-quote .ap-quote-foot { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid rgba(186, 124, 133, 0.5); font-size: 16px; color: rgba(255, 255, 255, 0.82); max-width: 48ch; }

/* ---------- Comparison ---------- */
.ap-compare { border-bottom: 1px solid var(--hair); }
.ap-cmp-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); }
.ap-cmp-head { padding-bottom: 14px; font-size: 16px; font-weight: 500; }
.ap-cmp-head span:first-child { color: var(--ink-mute); }
.ap-cmp-head span:last-child { color: var(--maroon); padding-left: clamp(20px, 2.4vw, 36px); }
.ap-cmp-rows .ap-cmp-row { border-top: 1px solid var(--hair); }
.ap-cmp-rows .ap-cmp-row:first-child { border-top-color: var(--rule); }
.ap-them, .ap-us { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -0.015em; padding: clamp(18px, 2vw, 28px) 0; }
.ap-them { color: var(--ink-mute); }
.ap-us { color: var(--ink); border-left: 1.5px solid var(--maroon); padding-left: clamp(20px, 2.4vw, 36px); }
.ap-mlabel { display: none; }

/* ---------- Fit check ---------- */
.ap-fit-head { grid-column: 1 / span 4; }
.ap-fit-head .muted { margin-top: 20px; max-width: 32ch; }
.ap-fit-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--hair); }
.ap-fit-note p { color: var(--ink-soft); font-size: 17px; max-width: 36ch; }
.ap-fit-body { grid-column: 5 / span 8; }
.ap-fit { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.45; }
.ap-fit thead th { text-align: left; font-size: 15px; font-weight: 500; color: var(--ink-mute); padding: 0 16px 14px 0; border-bottom: 1px solid var(--rule); }
.ap-fit thead th:nth-child(2) { color: var(--maroon); }
.ap-fit tbody tr { border-top: 1px solid var(--hair); }
.ap-fit tbody tr:first-child { border-top: 0; }
.ap-fit tbody th, .ap-fit td { text-align: left; vertical-align: top; padding: 20px 16px 20px 0; }
.ap-fit tbody th { font-weight: 500; width: 26%; color: var(--ink); }
.ap-fit td:nth-of-type(1) { color: var(--ink); padding-left: 26px; position: relative; width: 37%; }
.ap-fit td:nth-of-type(1)::after { content: ""; position: absolute; left: 0; top: 28px; width: 12px; height: 8px; background: var(--maroon); }
.ap-fit td:nth-of-type(2) { color: var(--ink-mute); padding-left: 26px; position: relative; }
.ap-fit td:nth-of-type(2)::after { content: ""; position: absolute; left: 0; top: 28px; width: 12px; height: 8px; box-sizing: border-box; border: 1px solid var(--rose); }

/* ---------- What to send us ---------- */
.ap-send-head { grid-column: 1 / span 5; }
.ap-send-head .muted { margin-top: 20px; }
.ap-inline { color: var(--maroon); text-underline-offset: 3px; }
.ap-send-body { grid-column: 7 / span 6; }
.ap-send { list-style: none; margin: 0 0 20px; padding: 0; border-bottom: 1px solid var(--hair); }
.ap-send li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--hair); font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -0.01em; }
.ap-send li:first-child { border-top-color: var(--rule); }
.ap-send-n { font-family: var(--f-serif); font-size: 22px; color: var(--maroon); line-height: 1; }
.ap-facts { color: var(--ink-soft); border-top-color: var(--hair); margin-top: 28px; }

/* ---------- FAQ ---------- */
.ap-faq-head { grid-column: 1 / span 4; }
.ap-faq { grid-column: 5 / span 8; border-bottom: 1px solid rgba(125, 9, 46, 0.22); }
.ap-faq details { border-top: 1px solid rgba(125, 9, 46, 0.22); }
.ap-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding: clamp(18px, 1.8vw, 24px) 0; cursor: pointer; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; letter-spacing: -0.015em; transition: color 0.25s var(--ease-soft); }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary:focus-visible { outline: 2px solid var(--maroon); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .ap-faq summary:hover { color: var(--maroon); } }
.ap-pm { flex: none; width: 18px; height: 18px; position: relative; }
.ap-pm::before, .ap-pm::after { content: ""; position: absolute; background: var(--maroon); transition: transform 0.35s var(--ease-out); }
.ap-pm::before { left: 0; right: 0; top: 8.25px; height: 1.5px; }
.ap-pm::after { top: 0; bottom: 0; left: 8.25px; width: 1.5px; }
.ap-faq details[open] .ap-pm::after { transform: scaleY(0); }
.ap-faq details p { margin: 0; padding: 0 44px 26px 0; color: var(--ink-soft); max-width: 62ch; }
.ap-faq details p a { color: var(--maroon); text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ap-process-head, .ap-steps-wrap, .ap-fit-head, .ap-fit-body, .ap-send-head, .ap-send-body, .ap-faq-head, .ap-faq { grid-column: 1 / -1; }
  .ap-process-head { position: static; margin-bottom: 44px; }
  .ap-fit-head, .ap-send-head { margin-bottom: 40px; }
  .ap-faq-head { margin-bottom: 8px; }
}
@media (max-width: 760px) {
  .ap-process-tile { display: none; }
  .ap-step { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; }
  .ap-num { font-size: 32px; }
  .ap-photo-band { height: auto; min-height: 560px; display: flex; align-items: flex-end; }
  .ap-photo-wrap { height: auto; width: 100%; padding: 220px 0 0; }
  .ap-cmp-head { display: none; }
  .ap-cmp-row { grid-template-columns: 1fr; }
  .ap-cmp-rows .ap-cmp-row { padding: 18px 0; }
  .ap-them, .ap-us { padding: 0; }
  .ap-them { font-size: 17px; margin-bottom: 12px; }
  .ap-us { padding-left: 16px; }
  .ap-mlabel { display: block; font-size: 14px; letter-spacing: 0; line-height: 1.4; margin-bottom: 4px; color: var(--ink-mute); }
  .ap-us .ap-mlabel { color: var(--maroon); }
  .ap-fit thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ap-fit, .ap-fit tbody, .ap-fit tr, .ap-fit th, .ap-fit td { display: block; width: auto !important; }
  .ap-fit tbody tr { padding: 18px 0; }
  .ap-fit tbody tr:first-child { border-top: 1px solid var(--rule); }
  .ap-fit tbody th { padding: 0 0 10px; font-size: 18px; }
  .ap-fit td { padding: 6px 0 6px 26px; }
  .ap-fit td::before { content: attr(data-l); display: block; font-size: 14px; color: var(--ink-mute); }
  .ap-fit td:nth-of-type(1)::after, .ap-fit td:nth-of-type(2)::after { top: 36px; }
  .ap-faq details p { padding-right: 0; }
}
