/* ITIHAAS header + full-screen mobile menu: loaded on every page so the header is the same everywhere. */
:root { --p: #74158f; --pl: #8f35a9; --m: #c21873; --pk: #fe4fa1; --lav: #e8d9ea; --tint: #fcd7ff; --plum: #1c101d; --ivory: #faf8f5; --ink: #201a20; --ease: cubic-bezier(0.16, 1, 0.3, 1); }
/* ================= Header: full-width glass bar (home) ================= */
:root { --header-top: 4.4rem; }
@media (min-width: 1024px) { :root { --header-top: 5rem; } }
#main-header { top: 0; left: 0; width: 100%; border: 0; border-bottom: 1px solid rgba(116, 21, 143, 0.12); border-radius: 0; background: rgba(250, 248, 245, 0.94); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: none; transform: none; transition: transform 0.6s var(--ease), background 0.3s, box-shadow 0.3s; }
#main-header.hx-hide { transform: translateY(-100%); }
#main-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(28, 16, 29, 0.35); }
#main-header .site-header-row { height: 4.4rem; max-width: 1440px; padding: 0 1.5rem; }
@media (min-width: 768px) { #main-header .site-header-row { padding: 0 3rem; } }
@media (min-width: 1024px) { #main-header .site-header-row { height: 5rem; } }
#main-header .site-logo { height: 2.8rem; mix-blend-mode: multiply; }
@media (min-width: 640px) { #main-header .site-logo { height: 3.2rem; } }
#main-header.is-scrolled .site-header-row { height: 4rem; }
#main-header.is-scrolled .site-logo { height: 2.6rem; }
.hx-nav { gap: 0.2rem !important; padding: 0.3rem; border-radius: 999px; background: rgba(116, 21, 143, 0.06); }
.hx-nav .nav-link { padding: 0.55rem 1.05rem !important; border-radius: 999px; font-size: 0.8rem !important; font-weight: 600 !important; letter-spacing: 0.01em; color: var(--ink) !important; transition: background 0.3s var(--ease), color 0.3s !important; }
.hx-nav .nav-link::after { display: none !important; }
.hx-nav .nav-link:hover { background: rgba(116, 21, 143, 0.12); color: var(--p) !important; }
.hx-nav .nav-link[aria-current='page'] { background: var(--p); color: #fff !important; }
.hx-cta { border-radius: 999px !important; padding: 0.85rem 1.5rem !important; background: linear-gradient(110deg, var(--m), var(--p) 75%) !important; box-shadow: 0 10px 26px -10px rgba(194, 24, 115, 0.8); transition: box-shadow 0.3s, transform 0.3s var(--ease) !important; }
.hx-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(194, 24, 115, 0.95); }
#menu-toggle { border-radius: 50%; border: 0; background: rgba(116, 21, 143, 0.1); }
@media (min-width: 1024px) and (max-width: 1199px) {
  .hx-nav .nav-link { padding: 0.5rem 0.7rem !important; font-size: 0.74rem !important; }
  #main-header .site-header-row { padding: 0 1.2rem; gap: 0.8rem; }
  #main-header .site-logo { height: 2.6rem; }
  .hx-cta { padding: 0 1.1rem !important; font-size: 0.66rem !important; }
}
.hx-nav .nav-link, .hx-cta { white-space: nowrap; }
@media (max-width: 639px) {
  #main-header .site-logo { height: 2.1rem; }
  #main-header.is-scrolled .site-logo { height: 2rem; }
  #main-header .site-header-row { height: 3.8rem; }
}
/* ================= Mobile menu: animated burger + full-screen purple panel (home) ================= */
#menu-toggle.hx-burger { position: relative; width: 2.9rem; height: 2.9rem; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--m), var(--p)); color: #fff; box-shadow: 0 8px 22px -8px rgba(194, 24, 115, 0.8); transition: transform 0.4s var(--ease), box-shadow 0.3s; }
#menu-toggle.hx-burger:active { transform: scale(0.92); }
.hx-burger .material-symbols-outlined { position: relative; display: block; width: 1.15rem; height: 2px; font-size: 0; border-radius: 2px; background: currentColor; transition: background 0.2s, transform 0.4s var(--ease); }
.hx-burger .material-symbols-outlined::before, .hx-burger .material-symbols-outlined::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--ease), width 0.3s; }
.hx-burger .material-symbols-outlined::before { top: -6px; }
.hx-burger .material-symbols-outlined::after { top: 6px; width: 70%; left: auto; right: 0; }
.hx-burger[aria-expanded='true'] .material-symbols-outlined { background: transparent; }
.hx-burger[aria-expanded='true'] .material-symbols-outlined::before { transform: translateY(6px) rotate(45deg); }
.hx-burger[aria-expanded='true'] .material-symbols-outlined::after { width: 100%; transform: translateY(-6px) rotate(-45deg); }
body:has(#menu-toggle[aria-expanded='true']) { overflow: hidden; }

.hx-mm { position: fixed; inset: 0; z-index: 40; flex-direction: column; justify-content: space-between; padding: calc(var(--header-top) + 1.2rem) 1.5rem 1.8rem; overflow-y: auto; background: radial-gradient(80% 50% at 100% 0%, rgba(194, 24, 115, 0.45), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(143, 53, 169, 0.5), transparent 70%), linear-gradient(180deg, #2c0b36, #150b16); color: #fff; }
.hx-mm:not(.hidden) { display: flex; animation: hxMmIn 0.6s var(--ease) both; }
@media (min-width: 1024px) { .hx-mm { display: none !important; } }
@keyframes hxMmIn { from { clip-path: circle(0 at calc(100% - 2.4rem) 2.2rem); } to { clip-path: circle(150% at calc(100% - 2.4rem) 2.2rem); } }
.hx-mm__orb { position: absolute; right: -5rem; top: 30%; width: 18rem; height: 18rem; border-radius: 50%; background: var(--p); filter: blur(80px); opacity: 0.35; pointer-events: none; }
.hx-mm__nav { position: relative; display: flex; flex-direction: column; }
.hx-mm__link { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: #fff; text-decoration: none; font-size: 1.7rem; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; transition: padding-left 0.35s var(--ease), color 0.25s; }
.hx-mm__link:active, .hx-mm__link:hover { padding-left: 0.5rem; color: var(--tint); }
.hx-mm__n { width: 1.6rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; color: var(--pk); }
.hx-mm__t { flex: 1; }
.hx-mm__go { font-size: 1.2rem !important; color: rgba(255, 255, 255, 0.45); transition: transform 0.35s var(--ease), color 0.25s; }
.hx-mm__link:hover .hx-mm__go { transform: translate(3px, -3px); color: var(--pk); }
.hx-mm:not(.hidden) .hx-mm__link { animation: hxMmLink 0.7s var(--ease) both; animation-delay: calc(0.18s + var(--i, 1) * 0.06s); }
.hx-mm:not(.hidden) .hx-mm__foot { animation: hxMmLink 0.7s var(--ease) 0.6s both; }
@keyframes hxMmLink { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hx-mm__foot { position: relative; display: grid; gap: 1.1rem; margin-top: 2rem; }
.hx-mm__cta { display: flex; align-items: center; justify-content: center; gap: 0.7rem; box-sizing: border-box; width: 100%; min-height: 3rem; padding: 0 1.5rem; border-radius: 999px; background: linear-gradient(110deg, var(--m), var(--p) 70%); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 30px -10px rgba(194, 24, 115, 0.7); }
.hx-mm__contact { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 1rem; margin: 0; font-size: 0.8rem; }
.hx-mm__contact a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.hx-mm__contact a:hover { color: #fff; }
/* Active nav item: same pink-to-purple gradient as the buttons */
.hx-nav .nav-link[aria-current="page"] { background: linear-gradient(110deg, var(--m), var(--p) 70%); color: #fff !important; box-shadow: 0 8px 20px -10px rgba(194, 24, 115, 0.8); }
.hx-cta { box-sizing: border-box; min-height: 3rem; padding: 0 1.5rem !important; justify-content: center; font-size: 0.72rem !important; font-weight: 700; line-height: 1; letter-spacing: 0.14em; }
@media (min-width: 1024px) and (max-width: 1199px) { .hx-cta { padding: 0 1.1rem !important; font-size: 0.66rem !important; } }

/* Headings are put in Title Case in PHP (inc/title-case.php), because CSS capitalize cannot keep minor words (at, of, the…) in lower case. */
