/* ITIHAAS footer (all pages). Self-contained: does not depend on the home page tokens. */
.itf {
  --p: #74158f; --pl: #8f35a9; --m: #c21873; --pk: #fe4fa1; --lav: #e8d9ea; --tint: #fcd7ff; --serif: 'Instrument Serif', Georgia, serif;
  position: relative; overflow: clip; color: rgba(255, 255, 255, 0.78); background: linear-gradient(180deg, #150b16 0%, #2a0a33 100%);
}
.itf__glow { position: absolute; left: 50%; top: -14rem; width: 60rem; height: 28rem; margin-left: -30rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 53, 169, 0.45), transparent); filter: blur(30px); pointer-events: none; }
.itf__wrap { position: relative; z-index: 2; width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .itf__wrap { padding: 0 3rem; } }

/* CTA band (inner pages) */
.itf__cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-top: 6rem; padding-bottom: 5rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 768px) { .itf__cta { flex-direction: row; align-items: flex-end; } }
.itf__cta h2 { margin: 0; font-size: clamp(2.2rem, 4.4vw, 3.8rem); font-weight: 300; line-height: 1.06; letter-spacing: -0.035em; color: #fff; }
.itf__cta em { font-family: var(--serif); font-weight: 400; background: linear-gradient(100deg, var(--pk), var(--tint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.itf__btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; box-sizing: border-box; min-height: 3rem; padding: 0 1.5rem; line-height: 1; border-radius: 999px; background: #fff; color: var(--p); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, box-shadow 0.3s; }
.itf__btn:hover { background: var(--tint); transform: translateY(-3px); box-shadow: 0 14px 36px -10px rgba(252, 215, 255, 0.55); }

/* Columns */
.itf__grid { display: grid; grid-template-columns: 1fr; gap: 2.8rem; padding-top: 4.5rem; padding-bottom: 1.5rem; }
@media (min-width: 640px) { .itf__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .itf__grid { grid-template-columns: 5fr 2fr 2fr 3.4fr; gap: 3rem; } }
.itf__logo { display: inline-block; margin: 0 0 0.6rem 0; padding: 0; background: none; line-height: 0; }
.itf__logo img { display: block; width: 12.5rem; max-width: 100%; height: auto; }
@media (max-width: 639px) { .itf__logo img { width: 10.5rem; } }
.itf__full { margin: 0 0 1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--lav); }
.itf__desc { max-width: 26rem; margin: 0 0 1.8rem; font-size: 0.9rem; font-weight: 300; line-height: 1.75; color: rgba(255, 255, 255, 0.68); }
.itf__social { display: flex; gap: 0.6rem; }
.itf__social a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; color: #fff; transition: background 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.itf__social a:hover { background: linear-gradient(135deg, var(--m), var(--p)); border-color: transparent; transform: translateY(-4px) rotate(-6deg); }
.itf__social svg { width: 1.2rem; height: 1.2rem; }

.itf__col h4 { margin: 0 0 1.4rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pk); }
.itf__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }
.itf__col li a { display: inline-flex; align-items: baseline; gap: 0.7rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.78); text-decoration: none; transition: color 0.25s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.itf__col li a span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(252, 215, 255, 0.45); transition: color 0.25s; }
.itf__col li a:hover { color: #fff; transform: translateX(8px); }
.itf__col li a:hover span { color: var(--pk); }
.itf__col li a::after { display: none; }
.itf .footer-nav-link:hover { transform: translateX(8px); }

.itf__row { display: flex; gap: 0.9rem; margin: 0 0 1.1rem; font-size: 0.9rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.itf__row .material-symbols-outlined { flex-shrink: 0; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--tint); font-size: 1.1rem; }
.itf__row b { display: block; font-weight: 600; color: #fff; }
.itf__row a { color: inherit; text-decoration: none; background: linear-gradient(var(--pk), var(--pk)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s, color 0.3s; }
.itf__row a:hover { color: #fff; background-size: 100% 1px; }

/* Giant wordmark: fully visible, fades out toward the bottom */
.itf__mark { position: relative; z-index: 1; margin: 0; padding: 0.5rem 0 1.5rem; text-align: center; font-size: clamp(4rem, 15.5vw, 15rem); font-weight: 800; line-height: 1; letter-spacing: -0.06em; background: linear-gradient(180deg, rgba(252, 215, 255, 0.2), rgba(252, 215, 255, 0.02) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; user-select: none; pointer-events: none; white-space: nowrap; overflow: hidden; }

/* Bottom bar: full width */
.itf__barwrap { position: relative; z-index: 3; border-top: 1px solid rgba(255, 255, 255, 0.12); background: #150b16; }
.itf__bar { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1.5rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); text-align: center; }
@media (min-width: 768px) { .itf__bar { flex-direction: row; text-align: left; } }
.itf__bar-r { display: flex; align-items: center; gap: 1.6rem; }
.itf__bar a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.25s; }
.itf__bar a:hover { color: var(--tint); }
.itf__top { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.4rem 0.4rem 0.4rem 1rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; }
.itf__top .material-symbols-outlined { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--p); color: #fff; font-size: 1.05rem; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s; }
.itf__top:hover .material-symbols-outlined { transform: translateY(-4px); background: var(--m); }
@media (max-width: 639px) { .itf__btn { width: 100%; } }
