/* tarassentials.com stylesheet. Plain CSS, no build step.
   Palette: purple #A25EB5 (text-safe #7A3F8E / #8E4BA1), teal #8AD2D8 (text-safe #238086). Font: Gloock (self-hosted, SIL OFL). */
@font-face{font-family:"Gloock";src:url("../fonts/Gloock-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap;}

:root{
  --purple:#A25EB5;
  --purple-text:#8E4BA1;
  --purple-dark:#7A3F8E;
  --teal:#8AD2D8;
  --teal-text:#238086;
  --ink:#3A2D40;
  --paper:#FFFFFF;
  --lav:#F6EFF9;
  --serif:"Gloock","Bodoni MT",Georgia,"Times New Roman",serif;
  --sans:"Segoe UI",Arial,Helvetica,sans-serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:1rem;line-height:1.6;-webkit-font-smoothing:antialiased;}
img{max-width:100%;height:auto;display:block;}
a{color:var(--purple-dark);}
a:hover,a:focus{color:var(--teal-text);}
:focus-visible{outline:3px solid var(--purple-dark);outline-offset:3px;}
h1,h2,h3{font-family:var(--serif);font-weight:400;color:var(--purple);line-height:1.15;margin:0 0 .5em;}
h1{font-size:clamp(2rem,5vw,3rem);}
h2{font-size:clamp(1.4rem,2.6vw,1.9rem);color:var(--purple-dark);margin-top:1.8em;}
p{margin:0 0 1.1em;}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--purple-dark);color:#fff;padding:.6rem 1rem;z-index:10;}
.skip-link:focus{left:0;color:#fff;}

/* ---------- Gradient glow buttons (shared) ---------- */
.btn{display:flex;align-items:center;justify-content:center;text-align:center;min-height:104px;padding:.55rem 1.1rem;
  border:3px solid var(--teal);border-radius:14px;background:linear-gradient(180deg,#fff 0%,#e4e4e8 100%);
  box-shadow:0 0 14px rgba(138,210,216,.75),0 2px 4px rgba(0,0,0,.12);
  color:var(--purple);font-family:var(--serif);font-size:clamp(1.35rem,2.05vw,1.95rem);line-height:1.12;text-decoration:none;
  transition:box-shadow .15s ease,transform .15s ease;}
a.btn:hover,a.btn:focus-visible{color:var(--purple-dark);box-shadow:0 0 22px rgba(138,210,216,1),0 3px 6px rgba(0,0,0,.18);transform:translateY(-1px);}
.btn.is-pending{cursor:default;}   /* "Book An Appointment": no link yet */
button.btn{cursor:pointer;width:100%;font-size:1.5rem;min-height:68px;}

/* ---------- Homepage ---------- */
body#home{min-height:100vh;display:flex;flex-direction:column;}
.home-wrap{width:100%;max-width:1760px;margin:0 auto;padding:1.2rem 1.5rem 0;flex:1;}
.home-title{text-align:center;font-size:clamp(1.785rem,5.95vw,5.27rem);margin:0 0 .15em;text-wrap:balance;letter-spacing:-.01em;}
.stage{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,34%,640px) minmax(0,1fr);grid-template-rows:repeat(3,1fr);column-gap:clamp(1rem,3vw,3rem);row-gap:1.6rem;align-items:center;}
.stage .logo{grid-column:2;grid-row:1 / span 3;margin:0 auto;width:100%;}
.stage .logo img{width:100%;height:auto;}
.stage .logo a{display:block;}
.stage .logo img{transition:opacity .2s ease;}
.stage .logo a:hover img,.stage .logo a:focus-visible img{opacity:.8;}  /* 20% fade on hover */
.stage .b1,.stage .b2,.stage .b3{grid-column:1;}
.stage .b4,.stage .b5,.stage .b6{grid-column:3;}
.stage .b1,.stage .b4{grid-row:1;} .stage .b2,.stage .b5{grid-row:2;} .stage .b3,.stage .b6{grid-row:3;}
/* Desktop only: buttons at about 63% of the original size (55% + 15%), stacked 43px apart and centered beside the logo (2026-10-31). Mobile keeps its own sizes. */
@media (min-width:901px){
  .stage{grid-template-rows:1fr auto auto auto 1fr;row-gap:43px;}
  .stage .logo{grid-row:1 / span 5;}
  .stage .b1,.stage .b4{grid-row:2;} .stage .b2,.stage .b5{grid-row:3;} .stage .b3,.stage .b6{grid-row:4;}
  .stage .btn{width:min(100%,max(63.25%,240px));min-height:66px;padding:.35rem .7rem;border-width:2px;border-radius:10px;
    font-size:clamp(1.09rem,1.3vw,1.23rem);box-shadow:0 0 9px rgba(138,210,216,.75),0 1px 3px rgba(0,0,0,.12);}
  .stage .b1,.stage .b2,.stage .b3{justify-self:end;}
  .stage .b4,.stage .b5,.stage .b6{justify-self:start;}
}
@media (max-width:900px){
  .stage{grid-template-columns:1fr;grid-template-rows:none;max-width:520px;margin:0 auto;row-gap:1.1rem;}
  .stage .logo{grid-column:1;grid-row:auto;width:min(86vw,420px);margin-bottom:.6rem;}
  .stage .b1,.stage .b2,.stage .b3,.stage .b4,.stage .b5,.stage .b6{grid-column:1;grid-row:auto;}
  .btn{min-height:84px;font-size:1.55rem;}
}

/* ---------- Hover tooltip on desktop buttons (mouse hover or keyboard focus; hidden on touch screens) ---------- */
.btn{position:relative;}
a.btn:hover,a.btn:focus-visible{z-index:30;}  /* lift the hovered button (and its tooltip) above the buttons beneath it */
.btn .tip{display:none;}
@media (hover:hover) and (min-width:901px){
  .btn .tip{display:block;position:absolute;top:calc(100% + 10px);left:50%;transform:translateX(-50%);width:max-content;max-width:320px;z-index:20;
    padding:.7rem 1.1rem;background:var(--purple-dark);border:2px solid var(--teal);border-radius:10px;box-shadow:0 0 12px rgba(138,210,216,.8),0 3px 8px rgba(0,0,0,.15);
    font-family:Arial,Helvetica,sans-serif;font-size:.9775rem;font-weight:400;line-height:1.4;color:#fff;text-align:left;text-wrap:pretty;
    opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease .25s,visibility 0s linear .43s;}
  a.btn:hover .tip,a.btn:focus-visible .tip{opacity:1;visibility:visible;transition:opacity .18s ease .25s,visibility 0s linear .25s;}
}

/* ---------- Footer (every page) ---------- */
.site-footer{text-align:center;padding:2rem 1.2rem 2.2rem;font-family:Arial,Helvetica,sans-serif;font-weight:400;}
.site-footer p{margin:0 0 .15rem;}
.site-footer .legal-link,.site-footer .copy{font-size:.8625rem;line-height:1.3;color:var(--teal-text);}
.site-footer .legal-link a{color:var(--teal-text);text-decoration:underline;}
.site-footer .legal-link a:hover,.site-footer .legal-link a:focus{color:var(--purple-dark);text-decoration:underline;}
.site-footer .disclaimer{max-width:1480px;margin:1.6rem auto 0;font-size:.713rem;line-height:1.4;color:var(--purple-text);text-align:left;}
/* Footer text sizes by screen width (desktop values above are +15%; smaller screens get slightly larger relative sizes so it stays readable). */
@media (max-width:900px){.site-footer .legal-link,.site-footer .copy{font-size:.85rem;}.site-footer .disclaimer{font-size:.75rem;}}
@media (max-width:640px){.site-footer .disclaimer{text-align:center;}}
@media (max-width:480px){.site-footer .legal-link,.site-footer .copy{font-size:.82rem;}.site-footer .disclaimer{font-size:.72rem;}}

/* ---------- Sub-pages ---------- */
.site-header{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:1100px;margin:0 auto;padding:.7rem 1.2rem .2rem;}
.site-header .brand{display:block;line-height:0;}
.site-header .brand img{width:140px;height:auto;}
.site-nav{display:flex;justify-content:center;gap:1.6rem;font-family:var(--serif);font-size:1.15rem;line-height:1.2;}
.site-nav a{text-decoration:underline;color:var(--teal-text);}
.site-nav a:hover,.site-nav a:focus{color:var(--purple-dark);}
.page{max-width:820px;margin:0 auto;padding:.6rem 1.2rem 2rem;}
.page-hero{text-align:center;margin:.2rem 0 1.1rem;}
.text-center{text-align:center;}
.lead{font-size:1.2rem;}
.fine{font-size:.85rem;color:var(--ink);}

/* Payment page */
.pay-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;max-width:460px;margin:1.6rem auto;}
.pay-grid .btn{aspect-ratio:1/1;min-height:0;flex-direction:column;gap:.7rem;padding:.6rem;}
.pay-grid .btn img{width:72%;height:auto;display:block;}
.pay-grid .btn .pay-name{font-family:var(--serif);font-size:clamp(1.5rem,5.5vw,1.9rem);line-height:1.1;}
.pay-grid .btn small{font-family:var(--sans);font-size:.95rem;color:var(--ink);font-weight:600;}

/* Contact form */
.contact-details{text-align:center;margin-bottom:1.4rem;font-size:1.2rem;font-weight:600;}
.contact-details a{white-space:nowrap;}
.contact-form{display:grid;gap:1rem;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.contact-grid .field-name{grid-column:1 / -1;}
@media (max-width:560px){.contact-grid{grid-template-columns:1fr;}}
.contact-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.95rem;min-width:0;}
.contact-form input,.contact-form textarea{padding:.7rem .9rem;border:2px solid var(--teal);border-radius:8px;font-family:var(--sans);font-size:1rem;background:var(--lav);color:var(--ink);width:100%;}
.contact-form textarea{resize:vertical;}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
#formError{display:none;background:#fbeaea;border:2px solid #d98c8c;color:#7a2222;padding:.9rem 1.1rem;border-radius:8px;margin-bottom:1rem;font-size:.95rem;}
.noscript-error{background:#fbeaea;border:2px solid #d98c8c;color:#7a2222;padding:.9rem 1.1rem;border-radius:8px;margin-bottom:1rem;font-size:.95rem;}
.message-icon{display:block;width:110px;height:110px;margin:1.4rem auto;color:var(--teal-text);}

/* Legal page */
.legal h2{margin-top:1.6em;}
.legal hr{border:none;border-top:2px solid var(--teal);margin:2.2rem 0;}
.pay-text{text-align:left;}
