/* Thank-you page redesign 2026-10-27 (Robert, approved by Daniel). URL stays /thank-you/. Design lane.
   Everything is scoped to main.ty-page: the launch generator reuses this page's shell for the legal pages and the 404,
   so nothing here may touch the header, footer or another page's main.
   Tokens are the site's (contact.css :root): ink #203846, steel #4C7288, navy #2F4453, orange #ED873C, mineral #F5F7F7, line #DCE6ED.
   Orange is accent only (rules, the seal arc, hover edges); it never carries text.
   Measured contrast (WCAG relative luminance, computed 2026-10-27):
     ink #203846 on band #e8eff3 10.5:1, on white 12.2:1, on mineral #f5f7f7 11.4:1
     lede #33444F on band 8.7:1; eyebrow #3E6175 on band 5.7:1 (site steel #4C7288 on the band is 4.44:1, short of 4.5, so the band uses the darker steel)
     steel kicker/label #4C7288 on mineral 4.8:1, on white 5.2:1; body #44555F on white 7.8:1, on mineral 7.2:1
     ink number on silver aluminium 7.6:1 (darkest stop #c9cdcd) to 9.9:1
     white on navy #2F4453 10.1:1; digits #D3DEE4 on navy 7.4:1; card text #E3EAEE on navy 8.3:1; white focus ring on navy 10.1:1
     orange underline under the white number on navy 3.9:1 (decoration; the white text carries the meaning)
     seal: white tick on steel disc 5.2:1 (non-text 3:1 met)
   Motion: the seal draws once (1.1 s) and the arch wave drifts across the band once (4.4 s); both settle, and both are off under
   prefers-reduced-motion and html.reduce-motion. The page reads fully without any of it. */

main.ty-page{--ty-band:#e8eff3;--ty-steel-dk:#3E6175;--ty-body:#44555F;--muted:#506875;--rule:#DCE6ED;--chamfer:14px;
  --alu-silver:linear-gradient(180deg,#e6e8e8 0%,#d4d7d7 38%,#c9cdcd 100%);
  padding:0 0 64px;color:var(--ink);overflow-x:clip}
/* 2026-11-11 audit: the site column (column.css --dio-col), so content and footer share one left edge; was 1080px with 16px gutters */
main.ty-page .ty-wrap{width:var(--dio-col,min(100% - 32px,1080px));margin-inline:auto}
main.ty-page h1,main.ty-page h2,main.ty-page h3{color:var(--ink)}
/* contact.css still styles the old .ty-steps/.ty-wait/.ty-list classes; undo its width and spacing here */
main.ty-page :is(.ty-steps,.ty-wait){max-width:none;margin-top:0}
main.ty-page .ty-steps{margin-top:0}

/* the site label: small capitals, steel, letterspaced, short steel rule under it */
main.ty-page .ty-label{position:relative;margin:0 0 26px;padding-bottom:10px;font-size:13px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:var(--steel)}
main.ty-page .ty-label::after{content:'';position:absolute;left:0;bottom:0;width:42px;height:2px;background:var(--steel);opacity:.65}

/* 1. confirmation band: the light arch field, quiet at the reading edge, a little stronger to the right */
.ty-hero{position:relative;isolation:isolate;background:var(--ty-band);border-bottom:1px solid var(--rule);overflow:hidden}
.ty-field{position:absolute;inset:0;z-index:-1;pointer-events:none;
  -webkit-mask-image:url(assets/arch-tile.svg),linear-gradient(90deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.08) 35%,rgba(0,0,0,.5) 70%,#000);
  mask-image:url(assets/arch-tile.svg),linear-gradient(90deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.08) 35%,rgba(0,0,0,.5) 70%,#000);
  -webkit-mask-size:179.4px 179.4px,100% 100%;mask-size:179.4px 179.4px,100% 100%;-webkit-mask-repeat:repeat,no-repeat;mask-repeat:repeat,no-repeat;
  -webkit-mask-composite:source-in;mask-composite:intersect}
.ty-field>i{position:absolute;inset:0;background:linear-gradient(115deg,rgba(76,114,136,.22) 0%,rgba(76,114,136,.22) 30%,rgba(76,114,136,.36) 40%,rgba(237,135,60,.55) 47%,rgba(76,114,136,.32) 54%,rgba(76,114,136,.22) 64%,rgba(76,114,136,.22) 100%);background-size:300% 100%;background-position:0 0;animation:ty-wave 4.4s cubic-bezier(.45,.05,.35,1) .3s 1 both}
@keyframes ty-wave{from{background-position:100% 0}to{background-position:0 0}}
.ty-hero-in{display:grid;grid-template-columns:auto minmax(0,1fr);gap:26px;align-items:start;padding:56px 0 52px}
.ty-hero .eyebrow{margin:6px 0 10px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ty-steel-dk)}
.ty-hero h1{margin:0 0 16px;font-size:clamp(32px,2.4vw + 20px,50px);line-height:1.1;letter-spacing:-.02em;font-weight:650;max-width:16em;text-wrap:balance}   /* 2026-11-11 audit: balanced, so "touch." is not left alone on phones */
.ty-hero h1:focus{outline:none}
.ty-lede{margin:0;max-width:36em;font-size:20px;line-height:1.55;color:#33444F}
.ty-lede strong{color:var(--ink);font-weight:650}
.ty-seal{display:block;width:64px;height:64px;overflow:visible}
.ty-seal-disc{fill:var(--steel)}
.ty-seal-arc{fill:none;stroke:var(--orange);stroke-width:3;stroke-linecap:round;stroke-dasharray:62 100;transform:rotate(-90deg);transform-origin:32px 32px;animation:ty-arc 1.1s cubic-bezier(.3,.1,.2,1) .15s 1 both}
.ty-seal-tick{fill:none;stroke:#fff;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:0;animation:ty-tick .55s ease-out .45s 1 both}
@keyframes ty-arc{from{stroke-dasharray:0 100}to{stroke-dasharray:62 100}}
@keyframes ty-tick{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}

/* 2. what happens next: three steps on one line, joined by a hairline; numbers on silver aluminium discs */
.ty-next{margin-top:56px}
.ty-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;position:relative}
.ty-steps::before{content:'';position:absolute;top:22px;left:22px;right:calc((100% - 56px) / 3);height:2px;background:var(--rule)}
.ty-steps li{position:relative;min-width:0}
.ty-num{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--alu-silver);color:var(--ink);font-weight:700;font-size:19px;line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(20,40,52,.28),0 0 0 6px #fff,0 4px 10px -4px rgba(16,32,42,.35);text-shadow:0 1px 0 rgba(255,255,255,.55)}
.ty-steps h3{margin:18px 0 8px;font-size:21px;line-height:1.25;font-weight:650;letter-spacing:-.01em}
.ty-steps p{margin:0;color:var(--ty-body);font-size:17px;line-height:1.6;max-width:30em}
.ty-more{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:6px;font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:var(--steel);text-underline-offset:4px}
.ty-more span{display:inline-block;transition:transform .2s ease}
@media (hover:hover){.ty-more:hover span{transform:translateX(3px)}}
.ty-tip{margin:34px 0 0;padding:14px 18px;background:var(--mineral);border-left:4px solid var(--orange);color:var(--ty-body);font-size:16px;line-height:1.55}   /* 2026-11-11 audit: full column width, its right edge now matches the three steps above (was capped at 760px) */
.ty-tip b{color:var(--ink);font-weight:650}

/* 3. want to talk sooner (navy card) beside one verbatim review */
.ty-sooner-row{margin-top:64px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px;align-items:center}
.ty-sooner{position:relative;padding:30px 32px 26px;background:var(--navy);color:#fff;
  clip-path:polygon(var(--chamfer) 0,100% 0,100% calc(100% - var(--chamfer)),calc(100% - var(--chamfer)) 100%,0 100%,0 var(--chamfer))}
.ty-sooner::after{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:var(--orange)}
.ty-sooner-icon{display:block;fill:#fff;margin:0 0 12px;opacity:.95}
main.ty-page .ty-sooner h2{margin:0 0 8px;color:#fff;font-size:24px;line-height:1.25;font-weight:650}
.ty-sooner p{margin:0 0 14px;color:#E3EAEE;font-size:17px;line-height:1.55}
main.ty-page a.ty-tel{display:inline-flex!important;flex-direction:column;align-items:flex-start;gap:2px;min-height:48px;padding:4px 0;color:#fff;text-decoration:none}
main.ty-page a.ty-tel .tel-words{font-size:26px;line-height:1.2;font-weight:700;letter-spacing:.01em;color:#fff;text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--orange);text-underline-offset:6px}
main.ty-page a.ty-tel .tel-digits{font-size:17px;color:#D3DEE4;text-decoration:none}
main.ty-page a.ty-tel:focus-visible{outline:3px solid #fff;outline-offset:4px}
@media (hover:hover){main.ty-page a.ty-tel:hover .tel-words{text-decoration-thickness:3px}}
main.ty-page .ty-quote .rv-quote{margin:0}
main.ty-page .ty-quote .dio-q:empty{display:none}
/* 2026-11-11 audit: when the link under the quote needs two lines they are even ("first" sat alone on phones) */
main.ty-page .ty-quote .rv-quote figcaption a{text-wrap:balance}

/* 4. while you wait: three link cards; one real photo, the other two carry the light arch field */
.ty-while{margin-top:68px}
.ty-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
main.ty-page a.ty-card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--mineral);color:var(--ink);text-decoration:none;font-weight:inherit;border-top:2px solid var(--steel);
  clip-path:polygon(0 0,100% 0,100% calc(100% - var(--chamfer)),calc(100% - var(--chamfer)) 100%,0 100%);transition:border-color .2s ease}
.ty-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
/* the arch panel: band colour (::before) with the arch lines masked over it (::after), same 16:9 box as the photo */
.ty-card:not(.ty-card--feature)::before{content:'';display:block;aspect-ratio:16/9;background:var(--ty-band)}
.ty-card:not(.ty-card--feature)::after{content:'';position:absolute;left:0;right:0;top:0;aspect-ratio:16/9;pointer-events:none;
  background:linear-gradient(115deg,rgba(76,114,136,.14),rgba(76,114,136,.34) 70%,rgba(237,135,60,.45));
  -webkit-mask:url(assets/arch-tile.svg) 0 0/120px 120px repeat;mask:url(assets/arch-tile.svg) 0 0/120px 120px repeat}
.ty-card-body{display:flex;flex-direction:column;gap:6px;padding:18px 20px 22px}
.ty-card-kicker{font-size:12px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase;font-weight:650;color:var(--steel)}
.ty-card-title{font-size:19px;line-height:1.35;font-weight:600;color:var(--ink);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px;transition:text-decoration-color .2s ease}
.ty-card-title span{display:inline-block;transition:transform .2s ease}
main.ty-page a.ty-card:focus-visible{outline:3px solid var(--ink);outline-offset:3px;clip-path:none}
@media (hover:hover){main.ty-page a.ty-card:hover{border-top-color:var(--orange)}main.ty-page a.ty-card:hover .ty-card-title{text-decoration-color:var(--steel)}main.ty-page a.ty-card:hover .ty-card-title span{transform:translateX(3px)}}
main.ty-page .dio-review-disclosure{margin-top:48px}

/* phone and small tablet */
@media (max-width:859px){
  .ty-sooner-row{grid-template-columns:1fr;gap:36px}
  /* 2026-11-11 audit: the three cards stay three equal columns here (was one full-width photo card over two small ones) */
  .ty-cards{gap:16px}
  .ty-card-body{padding:16px 16px 20px}
  .ty-card-title{font-size:17px}
}
@media (max-width:719px){
  .ty-hero-in{grid-template-columns:1fr;gap:16px;padding:36px 0 34px}
  .ty-seal{width:52px;height:52px}
  .ty-hero .eyebrow{margin-top:0}
  .ty-lede{font-size:18px}
  .ty-next{margin-top:40px}
  .ty-steps{grid-template-columns:1fr;gap:22px}
  .ty-steps::before{top:23px;bottom:23px;left:22px;right:auto;width:2px;height:auto}
  .ty-steps li{display:grid;grid-template-columns:46px minmax(0,1fr);column-gap:16px}
  .ty-steps li>:not(.ty-num){grid-column:2}
  .ty-steps li>.ty-num{grid-row:1 / span 3}
  .ty-steps h3{margin:9px 0 6px;font-size:20px}
  .ty-sooner-row{margin-top:48px}
  .ty-sooner{padding:26px 20px 22px}
  main.ty-page a.ty-tel .tel-words{font-size:24px}
  .ty-while{margin-top:52px}
  .ty-cards{grid-template-columns:1fr;gap:16px}
  .ty-card-body{padding:18px 20px 22px}
  .ty-card-title{font-size:19px}
  .ty-card:not(.ty-card--feature)::before,.ty-card:not(.ty-card--feature)::after{display:none}
  .ty-card--feature img{aspect-ratio:16/9}
}

/* motion off: reduced motion, the site's own switch, and the still class */
@media (prefers-reduced-motion:reduce){.ty-field>i,.ty-seal-arc,.ty-seal-tick{animation:none!important}.ty-more span,.ty-card-title span,main.ty-page a.ty-card{transition:none!important}}
html.reduce-motion .ty-field>i,html.reduce-motion .ty-seal-arc,html.reduce-motion .ty-seal-tick{animation:none!important}
