/* =========================================================
   Walsh Exteriors — shared design system
   Black & white brand. Photography carries the color.
   Reuse this file for every service page (windows, siding, roofing).
   ========================================================= */

:root {
  --ink: #0b0b0b;
  --ink-2: #1a1a1a;
  --ink-3: #2a2a2a;
  --paper: #ffffff;
  --paper-2: #f5f5f3;
  --paper-3: #ebebe8;
  --mute: #5f5f5c;        /* body text on white — 6.4:1 */
  --mute-dark: #a8a8a3;   /* body text on black — 8.4:1 */
  --line: #dcdcd8;
  --line-dark: #333;
  --ok: #1f7a3a;
  --err: #b3261e;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wide: 112%;           /* font-stretch for display type; echoes the logo */

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, .display { font-stretch: var(--wide); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--mute); max-width: 60ch; }
.dark .lede, .on-dark .lede { color: var(--mute-dark); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); background: var(--ink-3); border-color: var(--ink-3); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--paper-3); border-color: var(--paper-3); }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand img { height: 40px; width: auto; }
.header-cta { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.15; }
.header-phone small { font-size: .72rem; color: var(--mute); font-weight: 600; letter-spacing: .04em; }
.header-phone strong { font-size: 1.2rem; font-stretch: var(--wide); font-weight: 800; }
.header-cta .btn { min-height: 46px; padding: 0 20px; font-size: .95rem; }
@media (max-width: 760px) {
  .site-header .wrap { height: 62px; }
  .brand img { height: 32px; }
  .header-cta .btn { display: none; }
  .header-phone small { display: none; }
  .header-phone strong { font-size: 1.05rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 58%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11,11,11,.7) 18%, rgba(11,11,11,.05) 55%, rgba(11,11,11,.1) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .city { white-space: nowrap; }
.hero .lede { color: #d6d6d1; margin-bottom: 28px; }
.hero__points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.hero__points svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.hero__call { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; color: var(--mute-dark); font-size: .95rem; }
.hero__call a { color: var(--paper); font-weight: 800; font-stretch: var(--wide); font-size: 1.25rem; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.35); }
.hero__call a:hover { border-color: var(--paper); }
@media (max-width: 960px) {
  .hero__media { position: relative; width: 100%; height: 200px; }
  .hero__call { display: none; }
  .hero__points { margin-bottom: 8px; }
  .hero__media::after { background: linear-gradient(180deg, rgba(11,11,11,.1) 40%, var(--ink) 100%); }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 8px; }
}

/* ---------- Lead form card ---------- */
.lead-card { background: var(--paper); color: var(--ink); border-radius: 6px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 32px); position: relative; }
.lead-card__head { margin-bottom: 18px; }
.lead-card__head h2 { font-size: 1.5rem; margin-bottom: 6px; }
.lead-card__head p { color: var(--mute); font-size: .95rem; margin: 0; }
.form-assure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .82rem; color: var(--mute); font-weight: 600; }
.form-assure svg { width: 16px; height: 16px; }
.lead-card--ghl { padding-bottom: 18px; }
.lead-card--ghl iframe { display: block; min-height: 608px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; align-items: center; gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item strong { display: block; font-stretch: var(--wide); font-weight: 800; font-size: 1.35rem; line-height: 1; }
.trust__item small { display: block; font-size: .8rem; color: var(--mute); font-weight: 600; margin-top: 4px; }
.trust__logo { height: 30px; width: auto; filter: grayscale(1) contrast(1.2); opacity: .9; }
.trust__logo--pella { height: 52px; }
.trust__logo--bbb { height: 40px; filter: grayscale(1); }
@media (max-width: 900px) {
  .trust .wrap { grid-template-columns: repeat(2, 1fr); justify-items: start; gap: 22px; }
  .trust__item strong { font-size: 1.1rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 16px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Owner ---------- */
.owner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.owner__media { position: relative; }
.owner__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.owner__badge { position: absolute; right: -18px; bottom: 28px; background: var(--ink); color: var(--paper); padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.owner__badge strong { display: block; font-stretch: var(--wide); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.owner__badge span { font-size: .82rem; color: var(--mute-dark); font-weight: 600; }
.owner__body h2 { margin-bottom: 22px; }
.owner__body p { color: #3a3a38; font-size: 1.06rem; }
.owner__sig { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.owner__sig strong { display: block; font-stretch: var(--wide); font-size: 1.1rem; }
.owner__sig span { color: var(--mute); font-size: .92rem; }
.owner__sig .btn { margin-left: auto; }
@media (max-width: 860px) {
  .owner { grid-template-columns: 1fr; }
  .owner__badge { right: 14px; }
  .owner__sig { flex-wrap: wrap; }
  .owner__sig .btn { margin-left: 0; width: 100%; }
}

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.reason { background: var(--paper); padding: 32px 26px 34px; }
.reason__num { font-stretch: var(--wide); font-weight: 800; font-size: .85rem; color: var(--mute); letter-spacing: .1em; }
.reason svg { width: 38px; height: 38px; margin: 18px 0 22px; }
.reason h3 { margin-bottom: 10px; }
.reason p { color: var(--mute); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .reasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Window styles ---------- */
.styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.style-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.style-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.style-card svg { width: 64px; height: 64px; margin-bottom: 18px; }
.style-card h3 { margin-bottom: 8px; }
.style-card p { font-size: .93rem; color: var(--mute); flex: 1; margin-bottom: 18px; }
.style-card a { align-self: flex-start; padding: 4px 0; font-weight: 700; font-size: .9rem; text-decoration: none; border-bottom: 2px solid var(--ink); }
.style-card a:hover { opacity: .7; }
@media (max-width: 960px) { .styles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .styles { gap: 10px; } .style-card { padding: 20px 16px 18px; } .style-card p { display: none; } .style-card svg { width: 48px; height: 48px; } }

.brands-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.brand-card { display: flex; gap: 22px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.brand-card img { flex: none; width: 150px; height: 46px; object-fit: contain; object-position: left center; }
.brand-card img.is-square { width: 70px; height: 70px; }
.brand-card p { margin: 0; font-size: .95rem; color: var(--mute); }
.brand-card strong { color: var(--ink); }
@media (max-width: 760px) { .brands-row { grid-template-columns: 1fr; } .brand-card { flex-direction: column; align-items: flex-start; } }

.styles--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .styles--3 { grid-template-columns: 1fr 1fr; } }
.brand-card__name { flex: none; min-width: 150px; font-stretch: var(--wide); font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.brand-card__name small { display: block; margin-top: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* ---------- Signs it's time (siding) ---------- */
.signs { align-items: start; }
.signs h2 { margin-bottom: 16px; }
.signs__list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.signs__list li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.signs__list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--ink); }
.signs__media img { width: 100%; aspect-ratio: 6/5; object-fit: cover; border-radius: var(--radius); }

/* ---------- Before/after pair ---------- */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.pair .shot img { aspect-ratio: 350/126; }
.pair figcaption { padding-top: 18px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.faq details p a { color: var(--ink); font-weight: 600; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.process li { position: relative; padding: 0 22px 0 0; counter-increment: step; }
.process li::before { content: counter(step, decimal-leading-zero); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid var(--paper); border-radius: 50%; font-stretch: var(--wide); font-weight: 800; margin-bottom: 22px; background: var(--ink); position: relative; z-index: 1; }
.process li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: var(--line-dark); }
.process li:last-child::after { display: none; }
.process h3 { margin-bottom: 8px; font-size: 1.1rem; }
.process p { color: var(--mute-dark); font-size: .95rem; margin: 0; }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; gap: 28px; }
  .process li { padding: 0 0 0 76px; min-height: 52px; }
  .process li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .process li::after { top: 52px; bottom: -28px; left: 25px; right: auto; width: 2px; height: auto; }
}
.process-cta { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Work / gallery ---------- */
.work { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.ba { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); aspect-ratio: 4/3; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--paper); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: var(--shadow); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 14px; padding: 5px 10px; background: rgba(11,11,11,.78); color: var(--paper); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; pointer-events: none; }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: var(--paper); font-size: .85rem; font-weight: 600; }
.work__strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.work__strip .shot img { aspect-ratio: 3/4; }
.caption-note { font-size: .85rem; color: var(--mute); margin-top: 10px; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } .work__strip { grid-template-columns: 1fr 1fr; } }

/* ---------- Reviews ---------- */
.reviews-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.rating { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.rating__score { font-stretch: var(--wide); font-weight: 800; font-size: 2rem; line-height: 1; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; }
.rating small { display: block; color: var(--mute); font-size: .82rem; font-weight: 600; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { margin: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.review__project { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px; }
.review blockquote { margin: 16px 0 22px; font-size: 1.02rem; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.review figcaption strong { display: block; font-size: .95rem; }
.review figcaption span { font-size: .82rem; color: var(--mute); }
.review.is-placeholder { border-style: dashed; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Area ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.area__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.area__list li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.area__list li::before { content: ""; width: 6px; height: 6px; background: var(--paper); border-radius: 50%; }
.area__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.area__address { margin-top: 22px; font-size: .95rem; color: var(--mute-dark); }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-weight: 700; font-size: 1.1rem; font-stretch: 106%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border: 1.5px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; background: var(--ink); color: var(--paper); }
.faq details p { color: var(--mute); padding: 0 56px 18px 0; margin: 0; }
.faq details p:last-child { padding-bottom: 26px; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.final__bg { position: absolute; inset: 0; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(11,11,11,.5)); }
.final .wrap { position: relative; padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.final h2 { max-width: 15ch; margin-bottom: 18px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.final .lede { margin-bottom: 32px; }
.final__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 48px 0 110px; font-size: .92rem; color: var(--mute); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer strong { color: var(--ink); display: block; margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
@media (min-width: 761px) { .site-footer { padding-bottom: 48px; } }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 50px; padding: 0 12px; }
@media (max-width: 760px) { .mobile-bar { display: grid; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Thank-you page ---------- */
.ty { min-height: calc(100vh - 72px); display: flex; align-items: center; background: var(--ink); color: var(--paper); }
.ty .wrap { max-width: 820px; padding-top: 72px; padding-bottom: 72px; }
.ty__check { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 28px; }
.ty__check svg { width: 30px; height: 30px; }
.ty h1 { margin-bottom: 20px; }
.ty__next { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.ty__next li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.ty__next b { font-stretch: var(--wide); min-width: 28px; }
.ty__next span { color: var(--mute-dark); }
