/* A quiet continuation of each page, with one recognisable LINE action. */
.peter-contact{background:transparent;color:inherit;margin:0;padding:0;font-family:Inter,Arial,'Noto Sans TC',sans-serif}
.soft-purple+.peter-contact{background:var(--soft)}
.peter-contact-inner{max-width:1280px;margin:auto;padding:40px clamp(24px,5.5vw,80px) 90px;display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(40px,6vw,90px);align-items:center}
.peter-contact-photo{margin:0;width:100%;max-width:380px;aspect-ratio:1}
.peter-contact-photo img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.peter-contact h2{color:inherit;font-size:clamp(2.15rem,3.7vw,3.7rem);font-weight:530;line-height:1.12;letter-spacing:-.055em;margin:0 0 30px}
.peter-contact-button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;background:#06c755;border:1px solid #06c755;color:#063b25!important;font-size:1.05rem;font-weight:650;line-height:1.35;padding:19px 25px;min-height:62px;text-decoration:none!important;max-width:100%;transition:background .2s}
.peter-contact-button:hover{background:#05b94f;border-color:#05b94f}
.peter-contact-button:focus-visible{outline:3px solid currentColor;outline-offset:5px}
.peter-contact--compact{align-self:start}
.peter-contact--compact .peter-contact-inner{display:block;padding:0}
.peter-contact--compact .peter-contact-copy{padding-top:26px}
.peter-contact--compact h2{font-size:2rem;margin-bottom:24px}
.peter-contact--compact .peter-contact-button{font-size:.95rem;gap:16px;padding:18px 20px;min-height:60px}
#message-preview{margin-top:28px;border-top:1px solid #d8ddda;padding-top:24px}
#message-preview summary{cursor:pointer;font-size:1rem;font-weight:550;margin-bottom:20px}
#message-body{font-size:.93rem;min-height:330px}
#lesson-enquiry .button{margin-bottom:18px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.peter-contact-inner{gap:35px}.peter-contact--compact h2{font-size:1.7rem}.peter-contact--compact .peter-contact-button{font-size:.85rem;padding:17px 15px;gap:12px}}
@media(max-width:700px){.peter-contact-inner{grid-template-columns:1fr;gap:30px;padding:30px 24px 65px}.peter-contact-photo{max-width:350px}.peter-contact h2{font-size:clamp(2.1rem,9.1vw,3rem);margin-bottom:26px}.peter-contact-button{font-size:1rem;min-height:60px;padding:19px 24px}.peter-contact--compact h2{font-size:2.2rem}.peter-contact--compact .peter-contact-button{font-size:1rem;padding:19px 24px}.peter-contact--compact .peter-contact-copy{padding-top:25px}}
@media(prefers-reduced-motion:reduce){.peter-contact-button{transition:none}}
@media print{.peter-contact{display:none}}
/* Purple at rest, warm pink on interaction; skin stays naturally coloured. */
.peter-contact-photo{display:block;position:relative;overflow:hidden;background:#9582cd;transition:background-color .25s ease;border-radius:5px}
.peter-contact-photo img{width:100%;height:100%;object-fit:cover}
.peter-contact-photo:hover,.peter-contact-photo:focus-visible,.peter-contact-photo:active{background:#ef5d86}
.peter-contact h2{color:#6755a4;letter-spacing:-.045em;font-weight:600}
.line-icon{width:34px;height:34px;flex:none}
.peter-contact-button{gap:15px}
.peter-photo-action{position:absolute;bottom:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;background:#06c755;color:#063b25;font-weight:650;opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s}
.peter-contact-photo:hover .peter-photo-action,.peter-contact-photo:focus-visible .peter-photo-action,.peter-contact-photo:active .peter-photo-action{opacity:1;transform:none}
@media(hover:none){.peter-photo-action{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.peter-contact-photo,.peter-photo-action{transition:none}}
.peter-photo-action{box-shadow:0 6px 20px rgba(28,22,48,.24),0 1px 3px rgba(28,22,48,.14);border:1px solid rgba(255,255,255,.45);border-radius:5px}
.peter-contact-button{width:min(100%,370px);justify-content:center;background:#008538;border-color:#008538;color:#fff!important;font-size:1.12rem;min-height:66px}
.peter-contact-button:hover{background:#006f2f;border-color:#006f2f}
.peter-contact-button .line-icon text{fill:#008538}

/* Recognisable LINE friend-add treatment; readable dark lettering on LINE green. */
.peter-contact-photo{background:#ef5d86}
.peter-contact-photo:hover,.peter-contact-photo:focus-visible,.peter-contact-photo:active{background:#9582cd}
.peter-contact-button{background:#06c755;border-color:#06c755;color:#063b25!important;border-radius:10px;width:min(100%,320px);min-height:62px;font-weight:700;box-shadow:0 3px 9px rgba(0,80,30,.12)}
.peter-contact-button:hover{background:#05b94f;border-color:#05b94f}
.peter-contact-button .line-icon text{fill:#06c755}
.peter-photo-action{border-radius:9px}
.peter-contact-button:hover,.peter-contact-button:focus-visible,.peter-contact-button:active{background:#6755a4;border-color:#6755a4;color:#fff!important}
.peter-contact-button:hover .line-icon text,.peter-contact-button:focus-visible .line-icon text,.peter-contact-button:active .line-icon text{fill:#6755a4}
.peter-contact-photo:hover .peter-photo-action,.peter-contact-photo:focus-visible .peter-photo-action,.peter-contact-photo:active .peter-photo-action{background:#6755a4;color:#fff}
.peter-contact-photo:hover .line-icon text,.peter-contact-photo:focus-visible .line-icon text,.peter-contact-photo:active .line-icon text{fill:#6755a4}
/* Match portrait width and make the standalone action unmistakably a button. */
.peter-contact-button{width:100%;max-width:380px;min-height:68px;border:2px solid #008538;border-radius:12px;color:#fff!important;font-size:1.25rem;font-weight:750;box-shadow:0 4px 0 #008538,0 7px 16px rgba(0,65,25,.16);text-shadow:0 1px 2px #005524,1px 0 1px #005524,-1px 0 1px #005524}
.peter-contact-button:active{box-shadow:0 1px 0 #483678;transform:translateY(2px)}
.peter-contact-button:hover,.peter-contact-button:focus-visible{box-shadow:0 4px 0 #483678,0 7px 16px rgba(55,30,100,.18);text-shadow:none}
@media(max-width:700px){.peter-contact-button{max-width:350px}}

/* The unchanged portrait is layered above the card only along the face/chin. */
.peter-contact-photo{isolation:isolate}
.peter-photo-action{z-index:2;top:74%;bottom:auto;left:22%;right:4%;min-height:20%;padding:16px 12px 9px;gap:10px;box-shadow:0 6px 12px rgba(20,15,30,.28),0 1px 2px rgba(20,15,30,.18);font-size:clamp(15px,1.5vw,20px)}
.peter-chin-layer{position:absolute;inset:0;z-index:3;pointer-events:none;opacity:0;filter:drop-shadow(0 3px 2px rgba(24,14,34,.30));transition:opacity .2s}
.peter-chin-layer img{position:absolute;inset:0;width:100%;height:100%;clip-path:polygon(34% 40%,75% 34%,77% 52%,74% 62%,71% 68%,69% 73%,66% 76%,62% 77.5%,58% 77%,53% 75.5%,47% 72.5%,41% 69%,36% 64%)}
.peter-contact-photo:hover .peter-chin-layer,.peter-contact-photo:focus-visible .peter-chin-layer,.peter-contact-photo:active .peter-chin-layer{opacity:1}
@media(hover:none){.peter-chin-layer{opacity:1}}
@media(prefers-reduced-motion:reduce){.peter-chin-layer{transition:none}}
/* Final LINE treatment: clean green, no text halo, with a tighter beard mask. */
.peter-contact-photo{background:#a52b58}
.peter-contact-photo:hover,.peter-contact-photo:focus-visible,.peter-contact-photo:active{background:#ef4f88}
.peter-contact-button,.peter-contact-button:hover,.peter-contact-button:focus-visible,.peter-contact-button:active{background:#06c755;border-color:#06c755;color:#fff!important;text-shadow:none;box-shadow:0 3px 9px rgba(0,65,25,.16);font-weight:700}
.peter-contact-button .line-icon text,.peter-contact-button:hover .line-icon text,.peter-contact-button:focus-visible .line-icon text,.peter-contact-button:active .line-icon text{fill:#06c755}
.peter-photo-action,.peter-contact-photo:hover .peter-photo-action,.peter-contact-photo:focus-visible .peter-photo-action,.peter-contact-photo:active .peter-photo-action{background:#06c755;color:#fff;text-shadow:none}
.peter-contact-photo .line-icon text,.peter-contact-photo:hover .line-icon text,.peter-contact-photo:focus-visible .line-icon text,.peter-contact-photo:active .line-icon text{fill:#06c755}
.peter-chin-layer img{clip-path:polygon(34% 40%,75% 34%,77% 52%,74% 62%,71% 68%,68.5% 72.5%,66% 74.8%,62% 76.5%,59% 76.8%,55.5% 75.6%,51% 73.6%,46% 71%,41% 68%,36% 63%)}
/* Standalone action turns pink; the portrait action stays LINE green. */
.peter-contact-button:hover,.peter-contact-button:focus-visible,.peter-contact-button:active{background:#d92c70;border-color:#d92c70;color:#fff!important}
.peter-contact-button:hover .line-icon text,.peter-contact-button:focus-visible .line-icon text,.peter-contact-button:active .line-icon text{fill:#d92c70}


/* Electric rose surrounds the original photograph; the chin action remains LINE green. */
.peter-contact-photo{background:linear-gradient(135deg,#ff5a9b 0%,#ee267d 60%,#d81665 100%)}
.peter-contact-photo:hover,.peter-contact-photo:focus-visible,.peter-contact-photo:active{background:linear-gradient(135deg,#ff6da7 0%,#f23183 60%,#d81665 100%)}
.peter-contact h2{color:#b91b55}
.peter-contact-button:hover,.peter-contact-button:focus-visible,.peter-contact-button:active{background:#d81665;border-color:#d81665}
.peter-contact-button:hover .line-icon text,.peter-contact-button:focus-visible .line-icon text,.peter-contact-button:active .line-icon text{fill:#d81665}

/* Softer, swirling lavender around the unchanged listening portrait. */
.peter-contact-photo,.peter-contact-photo:hover,.peter-contact-photo:focus-visible,.peter-contact-photo:active{background:#e8e1f2;border-radius:32px 78px 32px 68px}
.peter-contact-photo:before{content:'';position:absolute;inset:-20%;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 75% 18%,#f5edf9 0%,#f5edf9 20%,transparent 47%),radial-gradient(ellipse at 6% 66%,transparent 29%,#c4b2df 30%,#ded1ee 47%,transparent 48%),radial-gradient(ellipse at 80% 84%,#c7b8e1 12%,#e9ddf4 45%,transparent 65%),#e8e1f2;transform:rotate(-13deg);transition:transform .45s ease}
.peter-contact-photo>img{position:relative;z-index:1}
.peter-contact-photo:hover:before,.peter-contact-photo:focus-visible:before{transform:rotate(-7deg) scale(1.03)}
@media(prefers-reduced-motion:reduce){.peter-contact-photo:before{transition:none}}
html[data-motion-paused=true] .peter-contact-photo:before{transition:none;transform:rotate(-13deg)}
