/* TC Motion: magnetic buttons, cursor spotlight, tilt cards, scroll reveal.
   Tulliallan Consultancy. Gold #B1A269 on navy #1C1F26 / cream #F6F1E7.
   Everything here is switched on by /tc-motion.js only; without JS the site is unchanged. */

/* 1. Scroll reveal */
html.tc-js .tc-rv{
  opacity:0;
  translate:0 28px;
  transition:opacity .8s cubic-bezier(.2,.7,.2,1) var(--rv-d,0ms),translate .8s cubic-bezier(.2,.7,.2,1) var(--rv-d,0ms);
}
html.tc-js .tc-rv.is-in{opacity:1;translate:0 0}

/* 2. Cursor spotlight */
.tc-spot-host{isolation:isolate}
.tc-spot{
  position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;
  transition:opacity .6s ease;
  background:radial-gradient(560px circle at var(--sx,50%) var(--sy,50%),rgba(177,162,105,.18),rgba(177,162,105,.06) 38%,transparent 66%);
}
.tc-spot.tc-spot-light{background:radial-gradient(520px circle at var(--sx,50%) var(--sy,50%),rgba(177,162,105,.11),rgba(177,162,105,.03) 40%,transparent 66%)}
.tc-spot.tc-spot-over{z-index:auto}
.tc-spot-host.is-lit .tc-spot{opacity:1}

/* 3. Tilt cards */
.tc-glare{
  position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;
  transition:opacity .45s ease;
  background:radial-gradient(380px circle at var(--gx,50%) var(--gy,50%),rgba(177,162,105,.2),transparent 58%);
}
.tc-tilt.is-tilting{box-shadow:0 22px 44px -22px rgba(28,31,38,.5)}
.tc-tilt.is-tilting .tc-glare{opacity:1}

@media print{
  .tc-spot,.tc-glare{display:none!important}
  html.tc-js .tc-rv{opacity:1!important;translate:none!important}
}

/* 4. Site search: floating button and search panel (created by /tc-motion.js).
   White with navy text and gold accents. Gold text uses the darker #786A37 so it stays readable on white. */
.tcs-fab{
  position:fixed;right:max(18px,env(safe-area-inset-right));left:auto;bottom:max(18px,env(safe-area-inset-bottom));
  z-index:900;width:48px;height:48px;padding:0;border-radius:50%;
  background:#FFFFFF;border:2px solid #B1A269;color:#1C1F26;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  box-shadow:0 10px 26px -12px rgba(28,31,38,.55);
  transition:transform .15s ease,background .15s ease,color .15s ease;
}
.tcs-fab.tcs-stack{bottom:calc(max(18px,env(safe-area-inset-bottom)) + 60px)}
.tcs-fab:hover{background:#1C1F26;color:#B1A269;transform:translateY(-2px)}
.tcs-fab:focus-visible{outline:3px solid #1C1F26;outline-offset:3px;box-shadow:0 0 0 6px #B1A269}
.tcs-fab svg{width:21px;height:21px;display:block}
html.tcs-lock{overflow:hidden}

.tcs-dialog{
  width:min(640px,calc(100vw - 24px));max-height:min(78dvh,680px);
  margin:10vh auto auto;padding:0;border:0;border-top:4px solid #B1A269;border-radius:4px;
  background:#FFFFFF;color:#1C1F26;font-family:'Poppins',sans-serif;color-scheme:light;
  box-shadow:0 30px 70px -20px rgba(28,31,38,.6);overflow:hidden;
}
.tcs-dialog[open]{display:flex;flex-direction:column}
.tcs-dialog::backdrop{background:rgba(28,31,38,.55);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.tcs-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.tcs-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #E7E1D3;transition:box-shadow .15s ease}
.tcs-head:focus-within{box-shadow:inset 0 -2px 0 #B1A269}
.tcs-field{flex:1;min-width:0;display:flex;align-items:center;gap:12px;margin:0;color:#B1A269;cursor:text}
.tcs-field svg{width:20px;height:20px;flex:none}
.tcs-field input{
  flex:1;min-width:0;margin:0;padding:8px 0;background:transparent;border:0;border-radius:0;outline:0;box-shadow:none;
  color:#1C1F26;font:500 17px/1.4 'Poppins',sans-serif;-webkit-appearance:none;appearance:none;
}
.tcs-field input::placeholder{color:#6E727B;opacity:1}
.tcs-field input::-webkit-search-cancel-button,.tcs-field input::-webkit-search-decoration{-webkit-appearance:none;display:none}
.tcs-close{
  flex:none;margin:0;padding:7px 9px;background:#FFFFFF;border:1px solid #D8D2C4;border-radius:4px;cursor:pointer;
  color:#4A4E57;font:600 11px/1 'Poppins',sans-serif;letter-spacing:.1em;text-transform:uppercase;
}
.tcs-close:hover{border-color:#B1A269;color:#1C1F26}
.tcs-close:focus-visible{outline:2px solid #1C1F26;outline-offset:2px}
.tcs-status{margin:0;padding:14px 22px 4px;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#786A37}
.tcs-status:empty{display:none}
.tcs-list{list-style:none;margin:0;padding:4px 10px 10px;overflow:auto;flex:1 1 auto;overscroll-behavior:contain}
.tcs-list li{margin:0;padding:0}
.tcs-list a{display:block;padding:12px 12px 12px 11px;border-left:3px solid transparent;border-radius:4px;color:#1C1F26;text-decoration:none}
.tcs-list a:hover,.tcs-list a:focus-visible{background:#F6F1E7;border-left-color:#B1A269;outline:0}
.tcs-k{display:block;margin-bottom:3px;font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#786A37}
.tcs-t{display:block;font-size:15.5px;font-weight:600;line-height:1.35;color:#1C1F26}
.tcs-s{display:block;margin-top:4px;font-size:13.5px;line-height:1.55;color:#4A4E57}
.tcs-list mark{background:rgba(177,162,105,.32);color:#1C1F26;border-radius:2px;padding:0 1px}
.tcs-empty{padding:14px 12px 18px!important;font-size:14.5px;line-height:1.6;color:#4A4E57}
.tcs-empty a{color:#1C1F26;font-weight:600;text-decoration-color:#B1A269;text-underline-offset:2px}
.tcs-foot{margin:0;padding:12px 22px 14px;border-top:1px solid #E7E1D3;background:#FBF9F4;font-size:13px;line-height:1.5;color:#4A4E57}
.tcs-foot a{color:#1C1F26;font-weight:600;text-decoration-color:#B1A269;text-underline-offset:2px;word-break:break-word}
@media (max-width:600px){
  .tcs-dialog{margin:12px auto auto;max-height:calc(100dvh - 24px)}
  .tcs-field input{font-size:16px}
}
@media print{.tcs-fab,.tcs-dialog{display:none!important}}

/* 5. WhatsApp button (created by /tc-motion.js).
   Round button stacked above the search button on the right.
   WhatsApp green #25D366, hover #128C7E, white logo. */
.tcw-fab{
  position:fixed;right:max(18px,env(safe-area-inset-right));left:auto;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 60px);
  z-index:900;width:48px;height:48px;padding:0;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:#25D366;border:0;color:#FFFFFF;text-decoration:none;
  box-shadow:0 10px 26px -12px rgba(7,94,84,.75);
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease;
}
.tcw-fab.tcw-stack2{bottom:calc(max(18px,env(safe-area-inset-bottom)) + 120px)}
.tcw-fab:hover{background:#128C7E;color:#FFFFFF;transform:translateY(-2px);box-shadow:0 14px 30px -12px rgba(7,94,84,.85)}
.tcw-fab:focus-visible{outline:3px solid #075E54;outline-offset:3px;box-shadow:0 0 0 6px #25D366}
.tcw-fab svg{width:26px;height:26px;display:block}
@media (prefers-reduced-motion:reduce){.tcw-fab,.tcw-fab:hover{transition:none;transform:none}}
@media print{.tcw-fab{display:none!important}}