/* Thornley Park Dental · implant-retained dentures.
   Visual system taken from the real reception: slate wall, raised white lettering,
   a cyan light line under the desk. The light line recurs wherever something "seats".
   Type uses system stacks only; width-based sizes, never height-based. */

:root{
  --ink:#10202a;
  --ink-soft:#34464f;
  --ink-muted:#51626b;
  --paper:#ffffff;
  --ice:#eef5f7;
  --rule:#d5e0e4;
  --action:#0b6f80;
  --action-hover:#085a68;
  --led:#37d6e0;
  --wall:#20282d;
  --wall-2:#2d363b;
  --navy:#0f2838;
  --gut:clamp(14px,4.4vw,24px);
  --sans:"Avenir Next","Segoe UI Variable Display","Segoe UI",Aptos,"Helvetica Neue",Roboto,Arial,sans-serif;

  /* Canonical lead form and dock tokens. */
  --mf-clinic-action:#0b6f80;
  --mf-clinic-surface:#ffffff;
  --mf-clinic-text:#10202a;
  --mf-clinic-visual:#0f2838;
  --mf-clinic-visual-text:#ffffff;
  --mf-form-image-position:50% 18%;
  --mf-header-offset:0px;
}

html{scroll-padding-top:12px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans)}
.site-header img,.lp-main img,.site-footer img{display:block;max-width:100%;height:auto}
.tp-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Header: not sticky, so it costs nothing after the first screen. */
.site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px var(--gut) 4px;background:var(--paper)}
.brand{display:flex;align-items:center;gap:10px;min-width:0}
.brand-logo{width:44px;height:44px;flex:none}
.eyebrow{margin:0;font-size:12px;line-height:1.35;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--ink)}
.eyebrow span{display:block}
.eyebrow .eyebrow-dot{display:none}
.eyebrow span:last-child{color:var(--action);font-weight:700}
.site-nav{display:none}

/* Shared content rules. Scoped so nothing leaks into canonical components. */
.lp-main h1,.lp-main h2,.lp-main h3{margin:0;color:inherit;font-weight:650;letter-spacing:-.022em}
.lp-main p{margin:0}
.lp-main a:focus-visible,.site-nav a:focus-visible,.lp-main summary:focus-visible,.review-rail:focus-visible{outline:3px solid var(--action);outline-offset:3px}
.wrap{width:100%;max-width:1200px;margin-inline:auto;padding-inline:var(--gut);box-sizing:border-box}
.section{padding-block:56px}
.section-head{margin-bottom:24px}
.section h2{font-size:clamp(28px,7.4vw,32px);line-height:1.12;text-wrap:balance}
.kicker{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--action);margin-bottom:10px!important}
.lede{font-size:17px;line-height:1.5;color:var(--ink-soft);margin-top:12px!important;max-width:44em}
.small-note{font-size:13px;line-height:1.45;color:var(--ink-muted)}

.cta{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 12px;box-sizing:border-box;border-radius:999px;background:var(--action);color:#fff;font-size:16px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;transition:background-color .16s ease}
.cta:hover{background:var(--action-hover)}
.cta-light{background:var(--led);color:#06252c}
.cta-light:hover{background:#7ae8ee}
.lp-main .fee .cta:focus-visible{outline-color:#fff}

/* ---------- Hero ---------- */
.hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "stage" "led" "notes";background:var(--paper)}
.hero::after{content:"";grid-area:led;height:3px;background:var(--led);box-shadow:0 0 16px 2px rgba(55,214,224,.55)}
.hero-copy{grid-area:copy;padding:4px var(--gut) 12px}
.hero h1{font-size:clamp(32px,9.7vw,40px);line-height:1.06}
.hero h1 .l{display:inline-block}
.hero-support{margin-top:8px!important;font-size:clamp(15px,4.2vw,17px);line-height:1.34;color:var(--ink-soft);max-width:36em}
.hero-action{margin-top:12px}

.hero-stage{grid-area:stage;padding:10px var(--gut) 14px;background:radial-gradient(130% 85% at 50% 100%,#33505b 0,rgba(51,80,91,0) 62%),linear-gradient(180deg,var(--wall),var(--wall-2));color:#fff}
.pose{position:relative;min-width:0;margin:0;padding:0;border:0}
.pose-input{position:absolute;top:14px;left:14px;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}
.pose-tabs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.pose-tab{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 8px;box-sizing:border-box;border:1px solid rgba(255,255,255,.38);border-radius:12px;font-size:14px;font-weight:600;line-height:1.15;text-align:center;color:#eef6f8;cursor:pointer;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;-webkit-tap-highlight-color:transparent}
.pose-tab:hover{border-color:var(--led)}
#pose-in:checked~.pose-tabs [for=pose-in],#pose-out:checked~.pose-tabs [for=pose-out]{background:#eafcfe;border-color:#eafcfe;color:#08252d;box-shadow:0 0 14px rgba(55,214,224,.5)}
#pose-in:focus-visible~.pose-tabs [for=pose-in],#pose-out:focus-visible~.pose-tabs [for=pose-out]{outline:3px solid var(--led);outline-offset:2px}

.art{margin:6px 0 0}
.art-note{font-size:12px;line-height:16px;color:#c5d2d7}
.art-svg{display:block;width:100%;height:auto;overflow:hidden}
.tp-js .art-svg{cursor:pointer}

/* The same denture changes pose; one transform, nothing else moves. */
.denture{transition:transform .7s cubic-bezier(.22,.8,.24,1)}
#pose-out:checked~.art .denture{transform:translateY(-58px)}
.guides{opacity:0;transition:opacity .2s ease}
.guides path{fill:none;stroke:var(--led);stroke-width:1.1;stroke-dasharray:2.5 2.5}
#pose-out:checked~.art .guides{opacity:1;transition:opacity .35s ease .28s}
.seat-glow{fill:none;stroke:var(--led);stroke-width:1.5;transition:opacity .25s ease .3s}
.seat-glow-wide{stroke-width:5;opacity:.24}
.clip-marks{transition:opacity .25s ease .3s}
.mark{fill:var(--led);stroke:#0a2c34;stroke-width:1}
.pulse{fill:none;stroke:var(--led);stroke-width:1.2;opacity:0;transform-box:fill-box;transform-origin:center}
#pose-in:checked~.art .pulse{animation:tp-clip .9s ease-out .45s 1}
#pose-out:checked~.art .seat-glow,#pose-out:checked~.art .clip-marks{opacity:0;transition:opacity .16s ease}
@keyframes tp-clip{0%{opacity:.95;transform:scale(1)}100%{opacity:0;transform:scale(2.6)}}
.tag{font-family:var(--sans);font-size:14px;font-weight:600;fill:#eef6f8;paint-order:stroke;stroke:#253036;stroke-width:2.5px;stroke-linejoin:round}
.tag-tick{fill:none;stroke:#eef6f8;stroke-width:.9;opacity:.75}

.pose-notes{display:grid;margin-top:8px}
.pose-note{grid-area:1/1;visibility:hidden}
#pose-in:checked~.pose-notes .note-in,#pose-out:checked~.pose-notes .note-out{visibility:visible}
.hero .pose-note h2{font-size:17px;line-height:1.25;letter-spacing:-.01em;color:#fff}
.hero .pose-note p{margin-top:4px;font-size:15px;line-height:1.4;color:#dce6ea}

.hero-notes{grid-area:notes;padding:16px var(--gut) 20px;background:var(--paper)}
.fee-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.fee-figure{font-size:24px;font-weight:700;letter-spacing:-.02em;color:var(--ink);white-space:nowrap}
.fee-scope{flex:1 1 15em;font-size:14px;line-height:1.4;color:var(--ink-soft)}
.scope-line{margin-top:10px!important;font-size:13px;line-height:1.45;color:var(--ink-muted)}
.plate{display:flex;align-items:center;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--rule)}
.plate p{font-size:14px;line-height:1.4;color:var(--ink-soft)}
.plate strong{color:var(--ink)}
.plate-img{flex:none;width:64px;border-radius:10px}

/* Crops are authored in source pixels: x300-950, y110-950. They exclude the
   neighbouring businesses' signs and phone number visible in the full photograph. */
.facade-crop{position:relative;display:block;aspect-ratio:650/840;overflow:hidden;background:var(--wall)}
.lp-main .facade-crop img{position:absolute;left:-46.15%;top:-13.1%;width:153.85%;max-width:none;height:auto}

/* ---------- How it works ---------- */
.how{background:var(--ice)}
.pose-pair{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.pair-card{margin:0;padding:12px 12px 14px;border-radius:18px;background:linear-gradient(180deg,var(--wall),var(--wall-2));color:#dce6ea}
.pair-card svg{display:block;width:100%;height:auto}
.pair-card figcaption{margin-top:8px;font-size:15px;line-height:1.4}
.pair-card strong{display:block;color:#fff;font-size:17px;font-weight:650}
.facts{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin:24px 0 0}
.facts div{padding-top:12px;border-top:2px solid var(--action)}
.facts dt{font-size:15px;font-weight:700}
.facts dd{margin:4px 0 0;font-size:16px;line-height:1.45;color:var(--ink-soft)}
.how .small-note{margin-top:18px}

/* ---------- Assessment ---------- */
.assessment-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.reception-crop{margin:0}
.reception-crop img{width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;object-position:50% 100%;border-radius:18px}
.reception-crop figcaption{margin-top:8px;font-size:13px;color:var(--ink-muted)}
.steps{margin:0;padding:0;list-style:none;counter-reset:step}
.steps li{position:relative;padding:16px 0 16px 44px;border-top:1px solid var(--rule);counter-increment:step}
.steps li::before{content:counter(step);position:absolute;left:0;top:16px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;font-size:14px;font-weight:700}
.steps h3{font-size:19px;line-height:1.25}
.steps p{margin-top:4px;font-size:16px;line-height:1.5;color:var(--ink-soft)}

/* ---------- Fee ---------- */
.fee{position:relative;background:var(--navy);color:#fff;border-top:3px solid var(--led);box-shadow:inset 0 14px 22px -14px rgba(55,214,224,.45)}
.fee-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px}
.fee .kicker{color:var(--led)}
.fee h2{font-size:inherit;line-height:1}
.fee-big{display:block;font-size:clamp(56px,17vw,72px);line-height:1;font-weight:650;letter-spacing:-.035em}
.fee-tail{display:block;margin-top:8px;font-size:clamp(20px,5.4vw,24px);line-height:1.2;font-weight:600;letter-spacing:-.012em;color:#eaf3f6}
.fee .lede{color:#d3e0e6}
.fee-action{margin-top:22px}
.fee-open{padding:20px;border:1px solid rgba(255,255,255,.24);border-radius:18px}
.fee-open h3{font-size:19px}
.fee-open ul{margin:12px 0;padding:0;list-style:none}
.fee-open li{padding:9px 0;border-top:1px solid rgba(255,255,255,.16);font-size:16px;line-height:1.4;color:#eaf3f6}
.fee-open p{font-size:15px;color:#d3e0e6}

/* ---------- Reviews ---------- */
.reviews-aggregate{margin-top:14px}
.review-rail{display:flex;gap:12px;margin-inline:calc(var(--gut)*-1);padding:4px var(--gut) 14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gut);-webkit-overflow-scrolling:touch}
.review{flex:0 0 86%;margin:0;padding:22px 20px;box-sizing:border-box;border-radius:18px;scroll-snap-align:start}
.review blockquote{margin:0;font-size:21px;line-height:1.3;font-weight:600;letter-spacing:-.012em}
.review figcaption{display:grid;gap:4px;margin-top:16px;font-size:14px;line-height:1.45}
.review figcaption strong{font-size:16px}
.review-context{margin-top:4px}
.review-feature{background:var(--navy);color:#fff}
.review-feature figcaption{color:#c8d6de}
.review-feature figcaption strong{color:#fff}
.review-light{background:var(--ice);color:var(--ink)}
.review-light figcaption{color:var(--ink-soft)}

/* ---------- Practice ---------- */
.practice{background:linear-gradient(180deg,var(--wall),var(--wall-2));color:#fff}
.practice-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
.practice .kicker{color:var(--led)}
.practice .lede{color:#e3edf0}
.practice p{font-size:16px;line-height:1.5;color:#cfdbe0}
.practice p.kicker{font-size:12px;color:var(--led)}
.practice .lede+p{margin-top:12px}
.practice-photo{margin:0;max-width:480px}
.practice-photo .facade-crop{border-radius:18px}
.contact{margin:22px 0 0}
.contact div{padding:11px 0;border-top:1px solid rgba(255,255,255,.2)}
.contact dt{font-size:13px;font-weight:600;color:#a9bcc4}
.contact dd{margin:2px 0 0;font-size:17px;line-height:1.35;overflow-wrap:anywhere}

/* ---------- FAQ ---------- */
.faq-list{border-bottom:1px solid var(--rule)}
.faq-list details{border-top:1px solid var(--rule)}
.faq-list summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;padding:12px 0;box-sizing:border-box;font-size:18px;font-weight:600;line-height:1.3;cursor:pointer;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ice);color:var(--action);font-size:20px;font-weight:600;line-height:1}
.faq-list details[open] summary::after{content:"−"}
.faq-list details p{padding:0 44px 18px 0;font-size:16px;line-height:1.55;color:var(--ink-soft)}

/* ---------- Close and footer ---------- */
.close{background:var(--ice)}
.close-inner{display:flex;flex-direction:column;align-items:center;text-align:center}
.close-inner .lede{margin-inline:auto}
.close-action{margin-top:22px}
.site-footer{padding-block:30px;background:var(--paper);border-top:1px solid var(--rule)}
.footer-inner{display:flex;align-items:flex-start;gap:16px}
.footer-logo{flex:none;width:60px;height:60px}
.site-footer p{margin:0 0 6px;font-size:14px;line-height:1.5;color:var(--ink-soft);overflow-wrap:anywhere}
.site-footer .footer-name{font-size:16px;font-weight:700;color:var(--ink)}
.site-footer .small-note{font-size:13px;color:var(--ink-muted)}

/* Role label for the canonical form panel. Generated content only: canonical
   markup and bytes stay untouched, and the image alt carries the same fact. */
.mf-lead-visual-copy::after{content:"Pictured: Dr Sharan Suthar, principal dentist and co-owner";display:block;margin-top:14px;font:400 15px/1.4 Arial,Helvetica,sans-serif}

/* ---------- Narrowest phones ---------- */
@media(max-width:360px){
  .cta-arrow{display:none}
  .fee-row{flex-direction:column;gap:4px}
  .fee-scope{flex:none}
}
@media(max-width:480px) and (min-width:361px){.tag{font-size:12px}}

/* ---------- Larger phones and small tablets ---------- */
@media(min-width:481px) and (max-width:650px){.tag{font-size:10px}}
@media(min-width:651px){
  .cta{min-height:54px;padding:12px 26px}
  .section{padding-block:80px}
  .section h2{font-size:40px}
  .pose-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  /* Desktop review layout: full-width navy feature, then a full-container row. */
  .review-rail{display:grid;grid-template-columns:minmax(0,1fr);margin-inline:0;padding:0;overflow:visible;gap:16px}
  .review{padding:34px 36px}
  .review-feature blockquote{font-size:clamp(28px,3.2vw,42px);line-height:1.2;max-width:24em}
  .review-light{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:32px;align-items:center}
  .review-light figcaption{margin-top:0}
  .review blockquote{font-size:24px}
  .review-feature blockquote{font-size:clamp(28px,3.2vw,42px)}
}
@media(min-width:651px) and (max-width:899px){
  .hero h1{font-size:44px}
  .hero-copy{padding-top:10px;padding-bottom:18px}
  .pose{max-width:620px;margin-inline:auto}
  .tag{font-size:8px}
  .tag-tick{stroke-width:.7}
}

/* ---------- Desktop: copy on white beside a reception-wall stage ---------- */
@media(min-width:900px){
  .site-header{padding:12px max(clamp(24px,3vw,48px),calc((100vw - 1560px)/2))}
  .brand-logo{width:52px;height:52px}
  .site-nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px 22px}
  .site-nav a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:var(--ink);text-decoration:none}
  .site-nav a:hover{color:var(--action);text-decoration:underline;text-underline-offset:4px}

  .hero{grid-template-columns:minmax(0,46fr) minmax(0,54fr);grid-template-rows:1fr auto auto 1fr auto;grid-template-areas:". stage" "copy stage" "notes stage" ". stage" "led led";min-height:min(calc(100vh - 76px),880px);min-height:min(calc(100svh - 76px),880px)}
  .hero-copy,.hero-notes{justify-self:end;width:100%;max-width:720px;box-sizing:border-box;padding-inline:clamp(24px,3.4vw,56px)}
  .hero-copy{padding-top:12px;padding-bottom:18px}
  .hero h1{font-size:clamp(44px,4.2vw,72px);line-height:1.05}
  .hero-support{margin-top:14px!important;font-size:clamp(18px,1.5vw,21px);line-height:1.4}
  .hero-action{margin-top:22px}
  .hero-notes{padding-top:0;padding-bottom:12px}

  .hero-stage{display:flex;justify-content:flex-start;align-items:center;padding:clamp(16px,4vh,48px) clamp(24px,3.5vw,64px)}
  .pose{width:100%;max-width:680px;max-width:min(680px,max(380px,calc((100vh - 440px)*1.63)));max-width:min(680px,max(380px,calc((100svh - 440px)*1.63)))}
  .pose-tab{min-height:48px;font-size:15px}
  .art-note{font-size:13px}
  .tag{font-size:10px}
  .tag-tick{stroke-width:.7}

  .section{padding-block:104px}
  .section h2{font-size:clamp(40px,3.6vw,54px)}
  .section-head{margin-bottom:36px}
  .assessment-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:center}
  .fee-grid{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:center}
  .fee-big{font-size:clamp(96px,10vw,150px)}
  .fee-tail{font-size:28px;max-width:17em}
  .practice-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:center}
  .practice-photo{justify-self:end;width:100%}
  .faq-wrap{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:48px}
  .faq-wrap .section-head{margin-bottom:0}
  .close{padding-block:88px}
}
@media(min-width:1100px){.tag{font-size:8.5px}}
@media(min-width:1300px){.tag{font-size:7.5px}}

/* Desktop short windows: only the small address plate yields; the address remains
   lower on the page. Type and the mechanism are unaffected. */
@media(min-width:900px) and (max-height:779px){.plate{display:none}}

/* Immediate state change; no displacement animation. */
@media(prefers-reduced-motion:reduce){
  .denture,.guides,.seat-glow,.clip-marks,.pose-tab,.cta{transition:none!important}
  #pose-out:checked~.art .guides,#pose-out:checked~.art .seat-glow,#pose-out:checked~.art .clip-marks{transition:none!important}
  .pulse{animation:none!important}
}
