/* Scaltrix additions: self-hosted fonts, icons, theme toggle and form helpers.
   Loaded after main.css. Theme colours live in main.css (:root) and dark.css (:root). */

/* ---------- fonts (self-hosted, licences in /fonts/LICENSES.txt) ---------- */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-400-700.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("/fonts/bdo-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- tokens used by the admin page and the helpers below ---------- */
:root {
  --gold-500: #e1bf51;
  --gold-700: #c7902e;
  --band-muted: rgba(255, 255, 255, 0.72);
  --line: rgba(17, 17, 17, 0.12);
  --field-border: rgba(17, 17, 17, 0.15);
  --field-bg: #ffffff;
}
html[data-theme="dark"] {
  --line: rgba(255, 255, 255, 0.14);
  --field-border: rgba(255, 255, 255, 0.18);
  --field-bg: #1a1a1a;
}

/* ---------- icons: template icon classes drawn with Phosphor icons (MIT) ---------- */
i[class*="fa-"] {
  display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; font-style: normal;
  background-color: currentColor;
  -webkit-mask: var(--scx-icon) center / contain no-repeat; mask: var(--scx-icon) center / contain no-repeat;
}
.fa-arrow-up { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z%22/%3E%3C/svg%3E"); }
.fa-arrow-up-right { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z%22/%3E%3C/svg%3E"); }
.fa-arrow-right { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z%22/%3E%3C/svg%3E"); }
.fa-arrow-right-long { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z%22/%3E%3C/svg%3E"); }
.fa-chevron-down { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z%22/%3E%3C/svg%3E"); }
.fa-angle-down { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z%22/%3E%3C/svg%3E"); }
.fa-chevron-up { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z%22/%3E%3C/svg%3E"); }
.fa-angle-up { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z%22/%3E%3C/svg%3E"); }
.fa-chevron-right { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z%22/%3E%3C/svg%3E"); }
.fa-angle-right { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z%22/%3E%3C/svg%3E"); }
.fa-xmark { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z%22/%3E%3C/svg%3E"); }
.fa-times { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z%22/%3E%3C/svg%3E"); }
.fa-plus { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z%22/%3E%3C/svg%3E"); }
.fa-minus { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z%22/%3E%3C/svg%3E"); }
.fa-check { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z%22/%3E%3C/svg%3E"); }
.fa-instagram { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160ZM176,24H80A56.06,56.06,0,0,0,24,80v96a56.06,56.06,0,0,0,56,56h96a56.06,56.06,0,0,0,56-56V80A56.06,56.06,0,0,0,176,24Zm40,152a40,40,0,0,1-40,40H80a40,40,0,0,1-40-40V80A40,40,0,0,1,80,40h96a40,40,0,0,1,40,40ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z%22/%3E%3C/svg%3E"); }
.fa-whatsapp { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M187.58,144.84l-32-16a8,8,0,0,0-8,.5l-14.69,9.8a40.55,40.55,0,0,1-16-16l9.8-14.69a8,8,0,0,0,.5-8l-16-32A8,8,0,0,0,104,64a40,40,0,0,0-40,40,88.1,88.1,0,0,0,88,88,40,40,0,0,0,40-40A8,8,0,0,0,187.58,144.84ZM152,176a72.08,72.08,0,0,1-72-72A24,24,0,0,1,99.29,80.46l11.48,23L101,118a8,8,0,0,0-.73,7.51,56.47,56.47,0,0,0,30.15,30.15A8,8,0,0,0,138,155l14.61-9.74,23,11.48A24,24,0,0,1,152,176ZM128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-6.54-.67L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Z%22/%3E%3C/svg%3E"); }
.fa-phone { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M222.37,158.46l-47.11-21.11-.13-.06a16,16,0,0,0-15.17,1.4,8.12,8.12,0,0,0-.75.56L134.87,160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16,16,0,0,0,1.32-15.06l0-.12L97.54,33.64a16,16,0,0,0-16.62-9.52A56.26,56.26,0,0,0,32,80c0,79.4,64.6,144,144,144a56.26,56.26,0,0,0,55.88-48.92A16,16,0,0,0,222.37,158.46ZM176,208A128.14,128.14,0,0,1,48,80,40.2,40.2,0,0,1,82.87,40a.61.61,0,0,0,0,.12l21,47L83.2,111.86a6.13,6.13,0,0,0-.57.77,16,16,0,0,0-1,15.7c9.06,18.53,27.73,37.06,46.46,46.11a16,16,0,0,0,15.75-1.14,8.44,8.44,0,0,0,.74-.56L168.89,152l47,21.05h0s.08,0,.11,0A40.21,40.21,0,0,1,176,208Z%22/%3E%3C/svg%3E"); }
.fa-envelope { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z%22/%3E%3C/svg%3E"); }
.fa-location-dot { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M128,64a40,40,0,1,0,40,40A40,40,0,0,0,128,64Zm0,64a24,24,0,1,1,24-24A24,24,0,0,1,128,128Zm0-112a88.1,88.1,0,0,0-88,88c0,31.4,14.51,64.68,42,96.25a254.19,254.19,0,0,0,41.45,38.3,8,8,0,0,0,9.18,0A254.19,254.19,0,0,0,174,200.25c27.45-31.57,42-64.85,42-96.25A88.1,88.1,0,0,0,128,16Zm0,206c-16.53-13-72-60.75-72-118a72,72,0,0,1,144,0C200,161.23,144.53,209,128,222Z%22/%3E%3C/svg%3E"); }
.fa-sun { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M120,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm72,88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Zm-16,0a48,48,0,1,0-48,48A48.05,48.05,0,0,0,176,128ZM58.34,69.66A8,8,0,0,0,69.66,58.34l-16-16A8,8,0,0,0,42.34,53.66Zm0,116.68-16,16a8,8,0,0,0,11.32,11.32l16-16a8,8,0,0,0-11.32-11.32ZM192,72a8,8,0,0,0,5.66-2.34l16-16a8,8,0,0,0-11.32-11.32l-16,16A8,8,0,0,0,192,72Zm5.66,114.34a8,8,0,0,0-11.32,11.32l16,16a8,8,0,0,0,11.32-11.32ZM48,128a8,8,0,0,0-8-8H16a8,8,0,0,0,0,16H40A8,8,0,0,0,48,128Zm80,80a8,8,0,0,0-8,8v24a8,8,0,0,0,16,0V216A8,8,0,0,0,128,208Zm112-88H216a8,8,0,0,0,0,16h24a8,8,0,0,0,0-16Z%22/%3E%3C/svg%3E"); }
.fa-moon { --scx-icon: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M233.54,142.23a8,8,0,0,0-8-2,88.08,88.08,0,0,1-109.8-109.8,8,8,0,0,0-10-10,104.84,104.84,0,0,0-52.91,37A104,104,0,0,0,136,224a103.09,103.09,0,0,0,62.52-20.88,104.84,104.84,0,0,0,37-52.91A8,8,0,0,0,233.54,142.23ZM188.9,190.34A88,88,0,0,1,65.66,67.11a89,89,0,0,1,31.4-26A106,106,0,0,0,96,56,104.11,104.11,0,0,0,200,160a106,106,0,0,0,14.92-1.06A89,89,0,0,1,188.9,190.34Z%22/%3E%3C/svg%3E"); }

.faq-items-style-1 .accordion-box .block .acc-btn .icon:before {
  content: ""; font-family: inherit; display: inline-block; width: 18px; height: 18px; vertical-align: middle;
  background-color: var(--header);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.faq-items-style-1 .accordion-box .block.active-block .acc-btn .icon:before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 256 256%22 fill=%22%23000%22%3E%3Cpath d=%22M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z%22/%3E%3C/svg%3E");
}

/* ---------- light / dark toggle ---------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: var(--white);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 0; transition: color .3s ease, border-color .3s ease;
}
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--theme); border-color: var(--theme); }
.theme-toggle .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: inline-block; }
html[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: none; }
.menu-right-info .theme-toggle { margin-right: 16px; }
.mobile-menu-main .mobile-theme-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 12px 30px; color: rgba(255, 255, 255, 0.7); }
.mobile-menu-main .mobile-theme-row .theme-toggle { color: var(--white); border-color: rgba(255, 255, 255, 0.25); }

/* gold fills keep dark text in the dark theme (white on bright gold is too faint) */
html[data-theme="dark"] .theme-btn-main .theme-btn .btn-text2,
html[data-theme="dark"] .theme-btn:not(.theme-btn-main .theme-btn),
html[data-theme="dark"] .lets-talk-btn:hover,
html[data-theme="dark"] .service-btn:hover { color: #111111; }

/* ---------- helpers ---------- */
.scx-band { background-color: #0e0e0e; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100000; padding: 10px 16px; border-radius: 8px; background: var(--theme); color: #111111; }
.skip-link:focus { top: 16px; }

/* contact form */
/* honeypot: a checkbox moved off-screen (not hidden with display:none) so browsers never autofill it */
.hp-check { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; margin: 0; overflow: hidden; opacity: 0; pointer-events: none; }
.form-note { font-size: 14px; margin: 8px 0 0; color: var(--text); }
.form-status { margin: 20px 0 0; padding: 14px 18px; border-radius: 8px; border: 1px solid var(--line); color: var(--header); }
.form-status.is-success { border-color: var(--theme); }
.form-status.is-error { border-color: #d9534f; }
.contact-form-box button[disabled] { opacity: .6; cursor: progress; }
/* contact page, left column: the template sets these values in its 30px heading inside a 135px box, so they
   wrapped. Email, WhatsApp, Call, Instagram and location share one smaller size and each stays on one line;
   only the email may break, on screens too narrow to hold it. The labels keep the template's style. */
.contact-left-content-in .contact-items.style-2 { max-width: none; }
.contact-left-content-in .contact-items.style-2 .title,
.contact-left-content-in .contact-items .title .scx-contact-email { font-size: 26px; line-height: 1.35; }
.contact-left-content-in .contact-items.style-2 .title { max-width: none; white-space: nowrap; }
.contact-left-content-in .contact-items.style-2 .title a { display: block; width: max-content; }
.contact-left-content-in .contact-items.style-2 .title a + a { margin-top: 6px; }
.contact-left-content-in .contact-items .title .scx-contact-email { display: block; margin-top: 18px; overflow-wrap: anywhere; }
/* footer and side panels: the WhatsApp and Call lines stay on one line (between 1200 and 1399 px the footer
   column is 207 px wide and "WhatsApp +91 83746 10406" needs 224 px; the rest fits in the column gutter) */
.footer-section .gt-list-area a[href^="tel:"],
.footer-section .gt-list-area a[href^="https://wa.me"],
.off-contact-info .contact-details a[href^="tel:"],
.off-contact-info .contact-details a[href^="https://wa.me"] { white-space: nowrap; }
@media (max-width: 1199px) {
  .contact-left-content-in .contact-items.style-2 .title,
  .contact-left-content-in .contact-items .title .scx-contact-email { font-size: 24px; }
}
@media (max-width: 575px) {
  .contact-left-content-in .contact-items.style-2 .title,
  .contact-left-content-in .contact-items .title .scx-contact-email { font-size: 20px; }
}

/* service pages: the template uses its inner header in light mode and the standard header in dark mode */
.details-inner-header .theme-toggle { color: var(--header); border-color: rgba(17, 17, 17, 0.2); }
html[data-theme="dark"] .details-inner-header { border-bottom: none; }
html[data-theme="dark"] .details-inner-header .theme-toggle { border-color: rgba(255, 255, 255, 0.25); }
html[data-theme="dark"] .details-inner-header .header-main .sidebar__toggle span { background: var(--white); }
html[data-theme="dark"] .details-inner-header .menu-right-info .lets-talk-btn { background-color: var(--white); color: #111111; }
html[data-theme="dark"] .sticky-menu.details-inner-header,
html[data-theme="dark"] .sticky-menu.details-inner-header .mobile-menu-area { background: #191a18; }
@media (max-width: 1199px) {
  html[data-theme="dark"] .details-inner-header .mobile-menu-area { border-bottom: none; }
}

/* ---------- restored template blocks ---------- */
/* team hover panel: the panel stays white in both themes. The template's dark rule colours the name only when
   it is a link (.title a); the names here are plain text, so the same colour is set on the title itself. */
html[data-theme="dark"] .team-section .as-team-1-member-ani .as-team-1-member .team-content .content .title { color: #111111; }
/* founder card: kept empty so the about column keeps the template's spacing. The children are hidden
   (not the card), because WOW.js sets visibility: visible inline on the card when it animates. */
.about-wrapper .about-left-items .about-info.scx-reserved > * { visibility: hidden; }
/* featured project description under the title row */
.project-card-items .scx-project-text { margin-top: 14px; max-width: 560px; }
.project-content-box .scx-secondary-link { margin-top: 28px; font-size: 16px; }
.project-content-box .scx-secondary-link a { color: var(--header); text-decoration: underline; text-underline-offset: 4px; }
.project-content-box .scx-secondary-link a:hover { color: var(--theme); }
/* number card that holds a place name instead of a number */
.counter-box-three h2.scx-counter-text { font-size: 32px; line-height: 1.25; }

/* ---------- two-part buttons: hover without layout change ----------
   The template widens .theme-btn-main.style-2 on hover (padding-left 7px, padding-right 25px). In the hero
   that made the button pair wrap under the cursor and flicker. The same visual shift is done here with a
   transform only (7px + the template's 47px), so the button's size never changes. */
.theme-btn-main.style-2:hover { padding-left: 0; padding-right: 0; }
/* The two pill halves have a fixed 46px height. In a narrow column (the "Ways to reach us" text column is capped
   at 290px below 1400px) the second half wrapped and its second word fell below the pill, out of sight. */
.theme-btn-main .theme-btn .btn-text1,
.theme-btn-main .theme-btn .btn-text2 { white-space: nowrap; }
.theme-btn-main.style-2:hover .theme-btn { transform: translateX(54px); }
/* hero button pair: one row that never wraps on hover */
.hero-1 .hero-content .hero-button .scx-btn-row { display: flex; flex-wrap: nowrap; gap: 16px; width: max-content; white-space: nowrap; }
@media (max-width: 575px) {
  .hero-1 .hero-content .hero-button .scx-btn-row { flex-wrap: wrap; width: auto; }
  .hero-1 .hero-content .hero-button .scx-btn-row .theme-btn-main { margin-top: 24px; }
}

/* ---------- hero background on touch devices and phones ----------
   Touch devices show the static artwork (no WebGL distortion); phones scale it to fit the width. */
@media (hover: none) and (pointer: coarse), (max-width: 767px) {
  .hero-1.image-distortion.bg-cover { background-size: contain; background-position: center 70%; background-color: #0d0d0d; }
}
@media (max-width: 767px) {
  .hero-1.image-distortion.bg-cover { background-position: center 20%; }
}
@media (hover: none) and (pointer: coarse) {
  .hero-1.image-distortion canvas { display: none; }
}
/* the "case studies on request" box sits in the right column under the second project */
.project-section .project-content-box.scx-project-cta { margin-top: 70px; }
@media (max-width: 991px) {
  .project-section .project-content-box.scx-project-cta { margin-top: 40px; }
}

/* ---------- services grid: seven service cards and the "Not sure" card ----------
   The card text uses the size and colour of the template's link lines in these cards. */
.service-wrapper-one .service-box-items .content .scx-card-text { font-size: 18px; font-weight: 400; line-height: 1.5; color: #555555; max-width: 272px; margin: 0 0 12px; }
html[data-theme="dark"] .service-wrapper-one .service-box-items .content .scx-card-text { color: #999999; }
@media (max-width: 1399px) {
  .service-wrapper-one .service-box-items .content .scx-card-text { font-size: 16px; }
}
@media (max-width: 767px) {
  .service-wrapper-one .service-box-items .content .scx-card-text { max-width: none; }
}
/* Pairs: fixed, equal columns. In the template each card is as wide as its content, so a pair with long words
   ("Generation", "Development") filled the whole row, squeezed its 1px separator to 0px and moved its second column
   out of line with the other pairs (below 1600px the cards were even wider than the row). Each card is now half the
   row minus 32px, with the separator centred between them as tall as the row, so all four pairs line up. From 1600px
   title and content sit side by side as in the template (40px apart, so "Development" fits beside the 272px
   column); below that the title sits above the content. */
@media (min-width: 768px) {
  .service-section .service-wrapper-one { align-items: stretch; }
  .service-section .service-wrapper-one .service-box-items { flex: 0 0 calc(50% - 32px); max-width: calc(50% - 32px); min-width: 0; }
  .service-section .service-wrapper-one .service-line { display: block; flex: 0 0 1px; height: auto; top: 0; }
  .service-section .service-wrapper-one .service-box-items .title { flex: 1 1 auto; min-width: 0; }
  .service-section .service-wrapper-one .service-box-items .content { flex: 0 0 272px; }
}
@media (min-width: 1600px) {
  .service-section .service-wrapper-one .service-box-items { gap: 40px; }
}
@media (min-width: 768px) and (max-width: 1599px) {
  .service-section .service-wrapper-one .service-box-items { flex-direction: column; gap: 24px; }
  .service-section .service-wrapper-one .service-box-items .content { flex: none; }
}
/* the Contact us button keeps its two-part layout inside the card's link styles */
.service-wrapper-one .service-box-items .content a.theme-btn-main { display: inline-flex; font-size: inherit; color: inherit; margin-top: 8px; }
/* "Not sure" card: its question is too long to sit beside the 272px column, so its title is always above the content */
@media (min-width: 768px) {
  .service-section .service-wrapper-one .service-box-items.scx-not-sure { flex-direction: column; gap: 24px; }
  .service-section .service-wrapper-one .service-box-items.scx-not-sure .content { flex: none; }
}
/* "Not sure" card: a plain dark panel in place of a hover image, the same size as the 272x110 image slot */
.service-wrapper-one .service-box-items .content .service-image.scx-plain-panel { aspect-ratio: 272 / 110; background: #1a1a1a; border: 1px solid rgba(255, 255, 255, 0.08); }

/* ---------- service pages: "Other services" ----------
   Six cells: three columns from 1200px (the template uses four), two on tablets, one on phones. Every cell has the
   same order and alignment (the template alternated the icon between the top and the bottom of the cell):
   service icon, title, description, Learn more. The template's dividers and icon hover (wobble) are kept. */
.service-details-inner-fetaure .service-feature-wrapper { text-align: left; }
.service-details-inner-fetaure .service-feature-items-one.scx-other-service { flex-direction: column; gap: 24px; }
.service-details-inner-fetaure .scx-other-service .icon { align-self: flex-start; line-height: 0; }
.service-details-inner-fetaure .scx-other-service .icon img { display: block; width: 72px; height: 72px; }
.service-details-inner-fetaure .scx-other-service .content .title { margin-bottom: 12px; }
.service-details-inner-fetaure .scx-other-service .content p { margin: 0; max-width: 360px; }
.service-details-inner-fetaure .scx-other-service .scx-learn-more { display: inline-block; margin-top: 16px; font-size: 16px; font-weight: 500; color: var(--header); text-decoration: underline; text-underline-offset: 4px; }
.service-details-inner-fetaure .scx-other-service .scx-learn-more:hover { color: var(--theme); }
@media (min-width: 1200px) {
  .service-details-inner-fetaure .service-feature-wrapper { grid-template-columns: repeat(3, 1fr); }
  .service-details-inner-fetaure .service-feature-items-one:nth-child(3n) { border-right: none; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .service-details-inner-fetaure .service-feature-wrapper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .service-details-inner-fetaure .service-feature-wrapper { grid-template-columns: 1fr; }
}
/* dark theme: the template colours this block for a white page only (#111 text, black dividers). The service icons
   keep their own colours in both themes, so no filter is applied to them. */
html[data-theme="dark"] .service-details-inner-fetaure .service-feature-items-one .content p { color: #999999; }
html[data-theme="dark"] .service-details-inner-fetaure .service-feature-wrapper { border-color: rgba(255, 255, 255, 0.1); }
html[data-theme="dark"] .service-details-inner-fetaure .service-feature-items-one { border-right-color: rgba(255, 255, 255, 0.1); }

/* ---------- gold wordmark: soft glow on hover and keyboard focus (devices that can hover) ---------- */
@media (hover: hover) {
  a.scx-wordmark img {
    filter: drop-shadow(0 0 0 rgba(225, 191, 81, 0)) drop-shadow(0 0 0 rgba(225, 191, 81, 0));
    transition: filter 0.3s ease;
  }
  a.scx-wordmark:hover img,
  a.scx-wordmark:focus-visible img {
    filter: drop-shadow(0 0 10px rgba(225, 191, 81, 0.55)) drop-shadow(0 0 26px rgba(225, 191, 81, 0.35));
  }
}

/* ---------- footer "Sound: on / off" toggle, styled like the footer text ---------- */
.footer-bottom .scx-sound-toggle {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; line-height: inherit; letter-spacing: inherit;
  cursor: pointer;
}
.footer-bottom .scx-sound-toggle:hover { color: var(--theme); }
.footer-bottom .scx-sound-toggle:focus-visible { outline: 1px solid var(--theme); outline-offset: 3px; }

/* ---------- shared gold glow ----------
   One set of values for every hover glow on the site (team cards, service images): a 1.5px gold ring
   drawn outside the frame plus two soft outer layers. Light theme uses the darker gold. */
:root {
  --scx-glow-ring: rgba(199, 144, 46, 0.85);
  --scx-glow-near: rgba(199, 144, 46, 0.30);
  --scx-glow-far: rgba(199, 144, 46, 0.14);
  --scx-glow-off: 0 0 0 1.5px rgba(199, 144, 46, 0), 0 0 22px rgba(199, 144, 46, 0), 0 0 60px rgba(199, 144, 46, 0);
  --scx-glow-on: 0 0 0 1.5px var(--scx-glow-ring), 0 0 22px var(--scx-glow-near), 0 0 60px var(--scx-glow-far);
  /* images that sit 24px apart: same ring and near layer, smaller far layer so it never tints a neighbour */
  --scx-glow-off-tight: 0 0 0 1.5px rgba(199, 144, 46, 0), 0 0 22px rgba(199, 144, 46, 0), 0 0 12px rgba(199, 144, 46, 0);
  --scx-glow-on-tight: 0 0 0 1.5px var(--scx-glow-ring), 0 0 22px var(--scx-glow-near), 0 0 12px var(--scx-glow-far);
  --scx-glow-duration: 0.3s;
}
html[data-theme="dark"] {
  --scx-glow-ring: rgba(225, 191, 81, 0.75);
  --scx-glow-near: rgba(225, 191, 81, 0.40);
  --scx-glow-far: rgba(225, 191, 81, 0.18);
}

/* ---------- team card: gold ring and glow around the hovered card only ----------
   Drawn as the card wrapper's own box-shadow: it sits outside the card edge (never over the photo,
   the shine or the name), is not clipped by the card's overflow: hidden, and moves with the unfold
   transforms. Only box-shadow transitions; nothing changes size or position. */
@media (hover: hover) {
  .team-section .as-team-1-member-ani {
    box-shadow: var(--scx-glow-off);
    transition: box-shadow var(--scx-glow-duration) ease;
  }
  .team-section .as-team-1-member-ani:hover,
  .team-section .as-team-1-member-ani:focus-within {
    box-shadow: var(--scx-glow-on);
  }
}

/* ---------- service images: the same glow (Services page and the seven service pages only) ----------
   Scoped to body.scx-glow-images, which only those eight pages carry, so the home page rows that share
   this markup never get it. The glow is the frame's own box-shadow (outside the image, never over the
   image, the shine or text). image-glow.js adds .scx-glow-ready once a frame's reveal has finished, so an
   empty frame never glows mid-reveal. */
@media (hover: hover) {
  .scx-glow-images .service-box-items .service-image:not(.scx-plain-panel),
  .scx-glow-images .service-thumb,
  .scx-glow-images .service-feature-img-in,
  .scx-glow-images .service-details-thumb-in {
    box-shadow: var(--scx-glow-off);
    transition: box-shadow var(--scx-glow-duration) ease;
  }
  /* Services page rows: the image glows while its row is hovered (the row itself gets nothing) */
  .scx-glow-images .service-box-items:hover .service-image.scx-glow-ready,
  .scx-glow-images .service-thumb.scx-glow-ready:hover,
  .scx-glow-images .service-feature-img-in.scx-glow-ready:hover,
  .scx-glow-images .service-details-section-in .service-details-thumb-in.scx-glow-ready:hover {
    box-shadow: var(--scx-glow-on);
  }
  /* service pages: the row of three smaller images, 24px apart */
  .scx-glow-images .service-details-feature-in .service-details-thumb-in {
    box-shadow: var(--scx-glow-off-tight);
  }
  .scx-glow-images .service-details-feature-in .service-details-thumb-in.scx-glow-ready:hover {
    box-shadow: var(--scx-glow-on-tight);
  }
}

/* Bulleted lists on policy pages (the theme resets list styles) */
.news-details-wrapper .scx-policy-list {
  padding-left: 1.25em;
  margin-bottom: 16px;
}
.news-details-wrapper .scx-policy-list li {
  list-style: disc;
}

/* Visible keyboard focus on links (main.css removes link outlines with !important) */
a:focus-visible {
  outline: 2px solid var(--theme) !important;
  outline-offset: 3px;
}
