/* Torpio home page: one dark-and-paper rhythm, serif headlines, brass accents.
   Layout: full-bleed bands, a 1200px column, cards that carry real work. */
:root {
  --tp-ink: #151c2b;      /* dark bands */
  --tp-navy: #12305f;     /* brand navy, primary actions */
  --tp-paper: #f5f4f0;    /* light bands */
  --tp-card: #ffffff;
  --tp-surface: #e8e8e5;
  --tp-line: #d6d5cf;
  --tp-muted: #616670;
  --tp-brass: #b79a6b;
  --tp-brass-ink: #8a6f3f;
  --tp-on-dark: #f5f4f0;
  --tp-on-dark-muted: #a9adb6;
  --tp-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --tp-sans: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tp-ease: cubic-bezier(.22, 1, .36, 1);
}

/* the kit sizes every main > section to a screen; these bands size to their content */
main.tp > section { height: auto !important; min-height: 0 !important; padding: clamp(72px, 9vw, 128px) 0 !important; display: block !important; }
main.tp > section > .tp-wrap, main.tp > section > .wrap { height: auto !important; display: block; }
.tp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); box-sizing: border-box; }
@media (min-width: 1024px) { .tp-wrap { padding-left: 40px; padding-right: 40px; } }

/* type */
.tp-eyebrow { font: 600 12px/1.3 var(--tp-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tp-brass-ink); margin: 0 0 18px; }
.tp-eyebrow--light { color: var(--tp-brass); }
.tp-h2 { font: 400 clamp(34px, 4.6vw, 64px)/1.04 var(--tp-serif); letter-spacing: -.022em; margin: 0 0 24px; max-width: 18ch; text-wrap: balance; hyphens: manual; }
.tp-quiet { color: var(--tp-muted); }
.tp-lead { font: 400 clamp(17px, 1.4vw, 19px)/1.55 var(--tp-sans); color: var(--tp-muted); max-width: 40em; margin: 0 0 40px; }
.tp-lead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tp-lead--light { color: var(--tp-on-dark-muted); }
.tp-num { font: italic 400 20px/1 var(--tp-serif); color: var(--tp-brass-ink); font-variant-numeric: tabular-nums; }

/* buttons */
.tp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-btns--center { justify-content: center; }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 2px; font: 500 15px/1 var(--tp-sans); text-decoration: none; border: 1px solid transparent; transition: background .25s var(--tp-ease), color .25s, border-color .25s, transform .25s var(--tp-ease); cursor: pointer; }
.tp-btn:hover { transform: translateY(-1px); }
.tp-btn:focus-visible, .tp-round:focus-visible, .tp-plus:focus-visible, .tp-flow__step:focus-visible { outline: 2px solid var(--tp-brass); outline-offset: 3px; }
.tp-arrow { width: 16px; height: 16px; flex: none; transition: transform .25s var(--tp-ease); }
.tp-btn:hover .tp-arrow { transform: translateX(3px); }
.tp-btn--brass { background: var(--tp-brass); color: var(--tp-ink); }
.tp-btn--brass:hover { background: #c7ab7c; }
.tp-btn--ghost { color: var(--tp-on-dark); border-color: rgba(245, 244, 240, .4); }
.tp-btn--ghost:hover { border-color: var(--tp-on-dark); }
.tp-btn--ink { background: var(--tp-navy); color: #fff; }
.tp-btn--ink:hover { background: #0d2449; }
.tp-btn--line { color: var(--tp-navy); border-color: var(--tp-line); background: transparent; }
.tp-btn--line:hover { border-color: var(--tp-navy); }

/* ---------- hero ---------- */
main.tp > .tp-hero { background: var(--tp-ink); color: var(--tp-on-dark); padding: clamp(56px, 8vw, 104px) 0 0 !important; overflow: hidden; }
.tp-hero__text { text-align: center; }
.tp-hero h1 { font: 400 clamp(46px, 8.4vw, 124px)/.98 var(--tp-serif); letter-spacing: -.03em; margin: 0 auto 28px; max-width: 12ch; text-wrap: balance; hyphens: manual; }
.tp-hero h1 em { display: block; font-style: italic; color: var(--tp-brass); }
.tp-hero__lead { font: 400 clamp(16px, 1.4vw, 19px)/1.6 var(--tp-sans); color: var(--tp-on-dark-muted); max-width: 40em; margin: 0 auto 32px; }
.tp-hero .tp-btns { justify-content: center; }
.tp-rail { margin-top: clamp(48px, 6vw, 80px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tp-rail__track { display: flex; gap: 16px; width: max-content; list-style: none; margin: 0; padding: 0 0 8px; animation: tp-rail 60s linear infinite; }
.tp-rail:hover .tp-rail__track, .tp-rail:focus-within .tp-rail__track { animation-play-state: paused; }
@keyframes tp-rail { to { transform: translateX(-50%); } }
.tp-rail__card { flex: none; width: 240px; }
.tp-rail__card figure { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; background: #222937; }
.tp-rail__card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--tp-ease); }
.tp-rail__card:hover img { transform: scale(1.04); }
.tp-rail__card figcaption { position: absolute; inset: auto 0 0; padding: 48px 16px 16px; background: linear-gradient(transparent, rgba(10, 14, 22, .86)); display: grid; gap: 4px; }
.tp-rail__card figcaption b { font: 400 20px/1.15 var(--tp-serif); color: #fff; }
.tp-rail__card figcaption span:last-child { font-size: 13px; color: #c9ccd2; }
.tp-chip { justify-self: start; font: 600 10.5px/1 var(--tp-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tp-ink); background: var(--tp-brass); padding: 5px 8px; border-radius: 2px; margin-bottom: 6px; }
.tp-ticker { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(245, 244, 240, .12); padding: 18px 0; overflow: hidden; }
.tp-ticker__track { display: flex; gap: 48px; width: max-content; animation: tp-rail 50s linear infinite; }
.tp-ticker span { font: 600 12px/1 var(--tp-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tp-on-dark-muted); white-space: nowrap; }
.tp-ticker span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tp-brass); margin-right: 48px; transform: translateY(-2px); }
@media (max-width: 639px) { .tp-rail__card { width: 62vw; } }

/* ---------- one renovation, start to finish ---------- */
main.tp > .tp-flow { background: var(--tp-paper); }
.tp-flow__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "steps stage" "ctrl ctrl"; gap: 24px 48px; background: var(--tp-ink); color: var(--tp-on-dark); border-radius: 8px; padding: clamp(24px, 4vw, 48px); margin-top: 40px; }
.tp-flow__steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: center; }
.tp-flow__step { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; text-align: left; background: none; border: 0; border-radius: 4px; color: var(--tp-on-dark-muted); padding: 14px 16px; cursor: pointer; font: inherit; transition: background .3s, color .3s; }
.tp-flow__step b { display: block; font: 400 21px/1.2 var(--tp-serif); color: inherit; }
.tp-flow__step small { display: block; font-size: 14px; line-height: 1.45; margin-top: 4px; opacity: .85; }
.tp-flow__step .tp-num { color: var(--tp-on-dark-muted); padding-top: 3px; }
.tp-flow__step[aria-pressed="true"] { background: rgba(245, 244, 240, .07); color: var(--tp-on-dark); }
.tp-flow__step[aria-pressed="true"] .tp-num { color: var(--tp-brass); }
.tp-flow__stage { grid-area: stage; position: relative; display: grid; min-height: 420px; }
.tp-doc { grid-area: 1 / 1; align-self: center; background: var(--tp-card); color: var(--tp-ink); border-radius: 6px; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .5s var(--tp-ease), transform .5s var(--tp-ease); pointer-events: none; }
.tp-doc.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tp-doc__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--tp-line); }
.tp-doc__head span { font: 400 22px/1.2 var(--tp-serif); }
.tp-doc__head b { font: 600 11px/1 var(--tp-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tp-brass-ink); white-space: nowrap; }
.tp-doc__foot { margin: 16px 0 0; font-size: 13px; color: var(--tp-muted); }
.tp-doc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tp-doc__check li { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; padding: 8px 0; border-bottom: 1px solid #efeee9; }
.tp-doc__check i { font: 600 11px/1 var(--tp-sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; }
.tp-doc__check .ok i { background: #e3ece4; color: #2f5d39; }
.tp-doc__check .no i { background: #f3e1dc; color: #8c3b26; }
.tp-doc__check .q i { background: #f1ead9; color: #7a5d22; }
.tp-doc__check--done li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 4px; background: var(--tp-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; order: -1; }
.tp-doc__check--done li { justify-content: flex-start; }
.tp-doc__est li { display: grid; grid-template-columns: minmax(0, 1fr) 40%; align-items: center; gap: 16px; font-size: 15px; padding: 6px 0; }
.tp-doc__est i, .tp-doc__gantt i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--tp-navy) var(--w), var(--tp-surface) var(--w)); }
.tp-doc__gantt li { display: grid; grid-template-columns: 130px minmax(0, 1fr); align-items: center; gap: 14px; font-size: 14px; padding: 6px 0; }
.tp-doc__gantt i { background: var(--tp-surface); position: relative; }
.tp-doc__gantt i::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); border-radius: 5px; background: var(--tp-navy); }
.tp-doc__gantt li:nth-child(4) i::after { background: var(--tp-brass); }
.tp-doc__opts li { border: 1px solid var(--tp-line); border-radius: 6px; padding: 14px 16px; display: grid; gap: 4px; }
.tp-doc__opts li b { font: 400 19px/1.2 var(--tp-serif); }
.tp-doc__opts li span { font-size: 14px; color: var(--tp-muted); }
.tp-doc__opts li.on { border: 2px solid var(--tp-brass); background: #faf6ee; }
.tp-flow__ctrl { grid-area: ctrl; display: flex; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid rgba(245, 244, 240, .12); }
.tp-round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245, 244, 240, .3); background: none; color: var(--tp-on-dark); display: grid; place-items: center; cursor: pointer; }
.tp-round svg { width: 16px; height: 16px; }
.tp-round:hover { border-color: var(--tp-on-dark); }
.tp-flow__count { font: 600 12px/1 var(--tp-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tp-on-dark-muted); margin-left: 8px; }
.tp-flow__count b { color: var(--tp-on-dark); }
.tp-flow__bar { flex: 1; height: 2px; background: rgba(245, 244, 240, .15); position: relative; overflow: hidden; }
.tp-flow__bar i { position: absolute; inset: 0; background: var(--tp-brass); transform-origin: left; transform: scaleX(var(--tp-p, .2)); transition: transform .4s var(--tp-ease); }
@media (max-width: 1023px) {
  .tp-flow__panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "steps" "ctrl"; }
  .tp-flow__stage { min-height: 400px; }
}
@media (max-width: 639px) {
  .tp-flow__steps { display: none; }
  .tp-flow__stage { min-height: 430px; }
  .tp-doc { padding: 18px; }
  .tp-doc__gantt li { grid-template-columns: 96px minmax(0, 1fr); font-size: 13px; }
}

/* ---------- problem ---------- */
main.tp > .tp-problem { background: var(--tp-paper); padding-top: 0 !important; }
.tp-problem__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; border-top: 1px solid var(--tp-line); padding-top: clamp(56px, 7vw, 96px); }
.tp-problem .tp-h2 { max-width: 20ch; margin: 0; }
.tp-problem p { font-size: 18px; line-height: 1.6; color: var(--tp-muted); margin: 0 0 28px; }
@media (max-width: 1023px) { .tp-problem__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- three ways ---------- */
main.tp > .tp-ways { background: var(--tp-card); }
.tp-ways__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tp-way { border: 1px solid var(--tp-line); border-radius: 8px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; background: var(--tp-paper); }
.tp-way h3 { font: 400 32px/1.1 var(--tp-serif); margin: 0; letter-spacing: -.015em; }
.tp-way__tag { font: 600 11px/1 var(--tp-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tp-brass-ink); margin: 0; }
.tp-way__price { font: 600 22px/1.2 var(--tp-sans); margin: 0; color: var(--tp-navy); }
.tp-way__price small { display: block; font: 400 14px/1.4 var(--tp-sans); color: var(--tp-muted); margin-top: 4px; }
.tp-way > p:not([class]) { margin: 0; line-height: 1.55; color: var(--tp-muted); }
.tp-way ul { list-style: none; margin: 4px 0 8px; padding: 16px 0 0; border-top: 1px solid var(--tp-line); display: grid; gap: 10px; flex: 1; align-content: start; }
.tp-way li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.tp-way li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--tp-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2L11.5 5.7' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.tp-way .tp-btn { align-self: flex-start; }
.tp-way--dark { background: var(--tp-ink); color: var(--tp-on-dark); border-color: var(--tp-ink); }
.tp-way--dark .tp-way__price { color: var(--tp-brass); }
.tp-way--dark .tp-way__price small, .tp-way--dark > p:not([class]) { color: var(--tp-on-dark-muted); }
.tp-way--dark ul { border-color: rgba(245, 244, 240, .15); }
.tp-way--dark li::before { background-color: var(--tp-brass); }
.tp-compare { margin-top: 32px; overflow-x: auto; border: 1px solid var(--tp-line); border-radius: 8px; }
.tp-compare table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.tp-compare th, .tp-compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--tp-line); vertical-align: top; line-height: 1.45; }
.tp-compare thead th { font: 400 20px/1.2 var(--tp-serif); background: var(--tp-paper); }
.tp-compare tbody th { font-weight: 600; width: 22%; color: var(--tp-ink); }
.tp-compare td { color: var(--tp-muted); }
.tp-compare tr:last-child > * { border-bottom: 0; }
.tp-compare td:last-child, .tp-compare thead th:last-child { background: #faf6ee; }
.tp-note { margin: 20px 0 0; font-size: 15px; color: var(--tp-muted); }
.tp-note a { color: var(--tp-navy); text-underline-offset: 3px; }
@media (max-width: 1023px) { .tp-ways__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- services ---------- */
main.tp > .tp-services { background: var(--tp-ink); color: var(--tp-on-dark); }
.tp-head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.tp-head-row .tp-h2 { margin: 0; }
.tp-head-row > p { max-width: 26em; color: var(--tp-on-dark-muted); margin: 0; line-height: 1.55; }
.tp-svc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tp-svc { position: relative; border-radius: 8px; overflow: hidden; background: #222937; aspect-ratio: 3 / 4.4; isolation: isolate; }
.tp-svc figure { position: absolute; inset: 0; margin: 0; z-index: -1; }
.tp-svc img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--tp-ease); }
.tp-svc:hover img { transform: scale(1.05); }
.tp-svc__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: linear-gradient(180deg, rgba(10, 14, 22, .55), transparent 35%, transparent 45%, rgba(10, 14, 22, .9)); }
.tp-svc h3 { position: absolute; top: 20px; left: 20px; right: 64px; margin: 0; font: 400 26px/1.1 var(--tp-serif); color: #fff; }
.tp-plus { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 14, 22, .35); cursor: pointer; display: grid; place-items: center; }
.tp-plus span, .tp-plus span::after { display: block; width: 14px; height: 1.6px; background: #fff; transition: transform .3s var(--tp-ease); }
.tp-plus span { position: relative; }
.tp-plus span::after { content: ""; position: absolute; inset: 0; transform: rotate(90deg); }
.tp-plus[aria-expanded="true"] span::after { transform: rotate(0); }
.tp-svc__more { color: #e6e7ea; display: grid; gap: 12px; }
.tp-svc__more p { margin: 0; font-size: 15px; line-height: 1.5; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--tp-ease), opacity .4s; }
.tp-svc.is-open .tp-svc__more p { max-height: 220px; opacity: 1; }
.tp-svc__more a { display: inline-flex; align-items: center; gap: 8px; color: var(--tp-brass); font-weight: 600; font-size: 14px; text-decoration: none; }
.tp-svc__more a:hover .tp-arrow { transform: translateX(3px); }
.tp-ix-off .tp-svc__more p { max-height: none; opacity: 1; }
@media (max-width: 1023px) { .tp-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tp-head-row { flex-direction: column; align-items: start; } }
@media (max-width: 639px) { .tp-svc__grid { grid-template-columns: minmax(0, 1fr); } .tp-svc { aspect-ratio: 4 / 4.2; } }

/* ---------- the 7 lines ---------- */
main.tp > .tp-lines { background: #0f1520; color: var(--tp-on-dark); }
.tp-lines__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(245, 244, 240, .1); border: 1px solid rgba(245, 244, 240, .1); border-radius: 8px; overflow: hidden; }
.tp-line { background: #0f1520; padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 12px; min-height: 220px; transition: background .3s; }
.tp-line:hover { background: #161e2d; }
.tp-line .tp-num { color: var(--tp-brass); font-size: 24px; }
.tp-line h3 { margin: auto 0 0; font: 400 24px/1.15 var(--tp-serif); }
.tp-line p { margin: 0; color: var(--tp-on-dark-muted); font-size: 15px; line-height: 1.5; }
.tp-line--cta { background: var(--tp-navy); justify-content: flex-end; }
.tp-line--cta:hover { background: #163a72; }
.tp-line--cta h3 { margin-top: 0; }
.tp-line--cta p { color: #c9d3e6; }
.tp-line--cta .tp-btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 1023px) { .tp-lines__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .tp-lines__grid { grid-template-columns: minmax(0, 1fr); } .tp-line { min-height: 0; } .tp-line h3 { margin-top: 8px; } }

/* ---------- quote check (kept, in the new rhythm) ---------- */
main.tp > .tp-qc { background: var(--tp-paper); }

/* ---------- why ---------- */
main.tp > .tp-why { background: var(--tp-card); }
.tp-why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tp-why__side { position: sticky; top: calc(var(--nav, 72px) + 32px); }
.tp-why__side .tp-btn { margin-bottom: 32px; }
.tp-why__pic { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 4.4; position: relative; }
.tp-why__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-why__pic figcaption { position: absolute; left: 12px; bottom: 12px; font: 600 11px/1 var(--tp-sans); letter-spacing: .12em; text-transform: uppercase; background: var(--tp-paper); color: var(--tp-ink); padding: 7px 10px; border-radius: 2px; }
.tp-why__list { list-style: none; margin: 0; padding: 0; }
.tp-why__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 36px 0; border-top: 1px solid var(--tp-line); }
.tp-why__list li:last-child { border-bottom: 1px solid var(--tp-line); }
.tp-why__list .tp-num { font-size: 24px; padding-top: 4px; }
.tp-why__list h3 { margin: 0 0 10px; font: 400 clamp(24px, 2.4vw, 30px)/1.15 var(--tp-serif); }
.tp-why__list p { margin: 0; color: var(--tp-muted); line-height: 1.6; font-size: 16px; max-width: 34em; }
@media (max-width: 1023px) { .tp-why__grid { grid-template-columns: minmax(0, 1fr); } .tp-why__side { position: static; } .tp-why__pic { aspect-ratio: 4 / 3; } }

/* ---------- faq ---------- */
main.tp > .tp-faq { background: var(--tp-paper); }
.tp-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tp-faq .tp-lead { margin-bottom: 0; }
.tp-acc details { background: var(--tp-card); border: 1px solid var(--tp-line); border-radius: 6px; margin-bottom: 8px; }
.tp-acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 400 19px/1.35 var(--tp-serif); }
.tp-acc summary::-webkit-details-marker { display: none; }
.tp-acc summary::after { content: "+"; font: 300 24px/1 var(--tp-sans); color: var(--tp-brass-ink); transition: transform .3s var(--tp-ease); }
.tp-acc details[open] summary::after { transform: rotate(45deg); }
.tp-acc details p { margin: 0; padding: 0 20px 20px; color: var(--tp-muted); line-height: 1.6; }
@media (max-width: 1023px) { .tp-faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- closing band ---------- */
main.tp > .tp-close { background: var(--tp-ink) radial-gradient(ellipse at 50% 120%, rgba(183, 154, 107, .22), transparent 60%); color: var(--tp-on-dark); text-align: center; }
.tp-close h2 { font: 400 clamp(44px, 7.4vw, 104px)/1 var(--tp-serif); letter-spacing: -.03em; margin: 0 auto 36px; max-width: 12ch; text-wrap: balance; hyphens: manual; }
.tp-close h2 em { font-style: italic; color: var(--tp-brass); }

/* ---------- estimate form band ---------- */
main.tp > .tp-estimate { background: var(--tp-paper); }
.tp-est__grid { max-width: 820px !important; }

/* ---------- footer wordmark ---------- */
.tp-mark { overflow: hidden; border-top: 1px solid rgba(245, 244, 240, .1); padding: 12px 0 0; margin-top: 24px; }
.tp-mark__track { display: flex; gap: .4em; width: max-content; font: italic 400 clamp(72px, 15vw, 220px)/1 var(--tp-serif); letter-spacing: -.035em; animation: tp-rail 70s linear infinite; }
.tp-mark span { color: var(--tp-on-dark); white-space: nowrap; }
.tp-mark span:nth-child(even) { color: var(--tp-brass); }

/* reveals: a section's parts rise in once, from a visible resting state */
.tp-ix [data-tp-rise] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--tp-ease), transform .8s var(--tp-ease); transition-delay: var(--tp-d, 0ms); }
.tp-ix [data-tp-rise].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .tp-rail__track, .tp-ticker__track, .tp-mark__track { animation: none; }
  .tp-rail { overflow-x: auto; }
  .tp-doc { transition: none; }
}

/* the footer grows to hold the wordmark; on the home page the closing band above already carries the call to action */
footer.closing:has(.tp-mark) { height: auto !important; min-height: 0 !important; padding-bottom: 0 !important; }
main.tp ~ footer .closing__cta { display: none; }
main.tp ~ footer { padding-top: 64px !important; }
.tp-why__pic { aspect-ratio: 4 / 3.4; }
