
:root { --pat: url("../img/tiecon-pattern.svg"); }
/* ==================================================================
   TIECON — Taliparamba Development & Investment Initiative
   Design system: deep teal · cyan · sun yellow · white
   ================================================================== */

:root {
    --teal-950: #221C5A;
    --teal-900: #2B2A74;
    --teal-800: #36408F;
    --teal-700: #3B55A8;
    --teal-600: #3F6EBA;
    --cyan: #4091CE;
    --cyan-soft: #A9CBF2;
    --sun: #8CC8FF;
    --sun-deep: #6B4D9F;
    --white: #FFFFFF;
    --ice: #F5F4FC;
    --mist: #E9E7F7;
    --ink: #1E1A4A;
    --body: #47456E;
    --muted: #77759A;
    --line: rgba(30, 26, 74, .12);
    --line-light: rgba(255, 255, 255, .16);

    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --ml: "Manjari", "Noto Sans Malayalam", var(--sans);

    --container: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --section: clamp(88px, 11vw, 160px);
    --radius: 18px;
    --radius-lg: 28px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-h: 84px;
    --shadow: 0 30px 60px -30px rgba(34, 28, 90, .35);
}

/* ---------- Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--sun); color: var(--teal-950); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; scroll-margin-top: 60px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; background: var(--sun); color: var(--teal-950); padding: 10px 18px; border-radius: 999px; font-weight: 700; transform: translateY(-150%); transition: transform .3s; }
.skip-link:focus { transform: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Type -------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--teal-700); margin-bottom: 26px;
}
.eyebrow .num { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; color: var(--cyan); font-weight: 500; }
.eyebrow::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .4; }
.eyebrow-light { color: var(--cyan-soft); }
.eyebrow-light .num { color: var(--sun); }

.display {
    font-family: var(--serif); font-weight: 400; color: var(--teal-900);
    font-size: clamp(2.3rem, 4.6vw, 4.1rem); line-height: 1.08; letter-spacing: -.015em;
}
.display em { font-style: italic; color: var(--teal-600); }
.display-light { color: var(--white); }
.display-light em { color: var(--sun); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.75; color: var(--body); }

/* ---------- Buttons ----------------------------------------------- */
.btn {
    --bg: var(--teal-800); --fg: var(--white); white-space: nowrap;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
    background: var(--bg); color: var(--fg);
    font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    overflow: hidden; isolation: isolate;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: rgba(255, 255, 255, .22); transform: translateX(-101%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(34, 28, 90, .5); }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-sun { --bg: var(--sun); --fg: var(--teal-950); }
.btn-primary { --bg: var(--teal-800); }
.btn-ghost-light { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn-ghost-light::before { background: rgba(255, 255, 255, .12); }
.btn-sm { min-height: 44px; padding: 0 24px; font-size: 11.5px; }
.btn-lg { min-height: 62px; padding: 0 38px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ------------------------------------------------ */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
    color: var(--white);
    transition: background .5s var(--ease), color .4s, box-shadow .5s, height .4s var(--ease);
}
.site-header::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(22, 18, 60, .55), transparent); transition: opacity .4s;
}
.site-header.is-scrolled {
    --header-h: 72px;
    background: rgba(255, 255, 255, .92); color: var(--teal-900);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(34, 28, 90, .4);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-on-dark, .logo-on-light { display: inline-flex; align-items: center; gap: 12px; }
.logo-on-light { display: none !important; }
.is-scrolled .logo-on-dark { display: none !important; }
.is-scrolled .logo-on-light { display: inline-flex !important; }
.logo-img { height: 46px; width: auto; }
.logo-mark svg { width: 40px; height: 40px; fill: none; stroke-linecap: round; }
.lm-sun { fill: var(--sun); }
.lm-t { stroke: currentColor; stroke-width: 3.2; }
.lm-arc { stroke: var(--cyan); stroke-width: 2.4; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--sans); font-weight: 800; font-size: 19px; letter-spacing: .26em; }
.logo-sub { font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: .04em; opacity: .75; margin-top: 5px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(12px, 1.35vw, 26px); }
.main-nav a {
    position: relative; display: block; padding: 8px 0;
    font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
    opacity: .85; transition: opacity .3s;
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { opacity: 1; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.is-scrolled .main-nav a::after { background: var(--cyan); }

.nav-toggle {
    display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
    background: transparent; border: 1px solid currentColor; position: relative;
}
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 27px; }
.nav-open .nav-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-nav {
    position: fixed; inset: 0; z-index: 90; background: var(--teal-950); color: var(--white);
    padding: calc(var(--header-h) + 24px) 0 32px; overflow-y: auto;
    clip-path: circle(0 at calc(100% - 48px) 42px); transition: clip-path .7s var(--ease-out);
}
.mobile-nav.is-open { clip-path: circle(150% at calc(100% - 48px) 42px); }
.mobile-nav-inner { display: flex; flex-direction: column; min-height: 100%; gap: 40px; }
.mobile-nav li { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(var(--i) * 50ms + 150ms); }
.mobile-nav.is-open li { opacity: 1; transform: none; }
.mobile-nav nav a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; font-family: var(--serif); font-size: clamp(1.7rem, 6.5vw, 2.6rem); line-height: 1.2; border-bottom: 1px solid var(--line-light); }
.mn-num { font-family: var(--sans); font-size: 12px; color: var(--sun); letter-spacing: .1em; }
.mobile-nav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; color: var(--cyan-soft); }
.mobile-nav-foot .btn { margin-bottom: 10px; }
.nav-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
.nav-open .site-header .logo-on-dark { display: inline-flex !important; }
.nav-open .site-header .logo-on-light { display: none !important; }
.nav-open .site-header::before { opacity: 0; }

/* ---------- Hero -------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; background: var(--teal-950); color: var(--white); overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.4s var(--ease), visibility 0s 1.4s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease), visibility 0s; z-index: 1; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1.02); }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(26, 21, 72, .88) 0%, rgba(26, 21, 72, .55) 42%, rgba(26, 21, 72, .1) 75%),
        linear-gradient(0deg, rgba(26, 21, 72, .85) 0%, rgba(26, 21, 72, 0) 45%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(150px, 20vh, 210px); }
.hero-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 26px; }
.hero-eyebrow .line { width: 46px; height: 2px; background: var(--sun); }
.hero-title {
    font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 7vw, 6.4rem); line-height: 1.02;
    letter-spacing: -.02em; max-width: 14ch; color: var(--white);
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--wi) * 70ms + 350ms); }
.hero-text { max-width: 520px; margin-top: 26px; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; color: rgba(255, 255, 255, .82); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-eyebrow, .hero-text, .hero-actions { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
.hero-slide.is-active .hero-eyebrow { opacity: 1; transform: none; transition-delay: .2s; }
.hero-slide.is-active .hero-title .w > span { transform: none; }
.hero-slide.is-active .hero-text { opacity: 1; transform: none; transition-delay: .9s; }
.hero-slide.is-active .hero-actions { opacity: 1; transform: none; transition-delay: 1.1s; }
.no-js .hero-title .w > span, .no-js .hero-eyebrow, .no-js .hero-text, .no-js .hero-actions { transform: none; opacity: 1; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 3; display: flex; align-items: center; gap: 32px; }
.hero-counter { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 15px; }
.hc-current { font-size: 22px; color: var(--sun); }
.hc-sep { width: 28px; height: 1px; background: rgba(255, 255, 255, .5); }
.hc-total { opacity: .7; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 52px; height: 24px; padding: 0; background: none; border: 0; display: flex; align-items: center; }
.hero-dot span { position: relative; display: block; width: 100%; height: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; border-radius: 2px; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--sun); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-arrows { margin-left: auto; display: flex; gap: 12px; }
.hero-arrow {
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .35); color: var(--white);
    backdrop-filter: blur(6px); transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.hero-arrow:hover { background: var(--sun); border-color: var(--sun); color: var(--teal-950); }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.scroll-cue i { width: 1px; height: 44px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--sun); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Ribbon ------------------------------------------------ */
.ribbon { background: var(--teal-800); color: var(--white); overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line-light); }
.ribbon-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.ribbon span { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.5rem); white-space: nowrap; }
.ribbon i { color: var(--sun); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ------------------------------------------------- */
.about { background: var(--white); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.ml-line { font-family: var(--ml); font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--cyan); margin: 22px 0 28px; line-height: 1.5; }
.prose p + p { margin-top: 18px; }
.together { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.together li { padding: 9px 18px; border-radius: 999px; background: var(--ice); color: var(--teal-800); font-size: 13px; font-weight: 600; }
.together li:first-child::before { content: "Bringing together · "; font-weight: 500; color: var(--muted); }

.about-media { position: relative; aspect-ratio: 1 / 1.08; }
.am { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.am img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.am:hover img { transform: scale(1.05); }
.am-1 { left: 14%; top: 0; width: 64%; height: 76%; border-radius: 200px 200px var(--radius) var(--radius); }
.am-2 { left: 0; bottom: 0; width: 46%; height: 38%; border: 6px solid var(--white); }
.am-3 { right: 0; bottom: 10%; width: 32%; height: 32%; border: 6px solid var(--white); }
.seal { position: absolute; right: 4%; top: 6%; width: 118px; height: 118px; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.seal text { font-family: var(--sans); font-size: 9.6px; font-weight: 700; letter-spacing: .28em; fill: var(--teal-800); }
.seal-core { width: 58px; height: 58px; border-radius: 50%; background: var(--sun); color: var(--teal-950); display: grid; place-items: center; }
.seal-core .icon { width: 26px; height: 26px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mission & Vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(80px, 9vw, 130px); scroll-margin-top: 100px; }
.mv-card { position: relative; padding: clamp(36px, 4.5vw, 60px); border-radius: var(--radius-lg); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.mv-card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(34, 28, 90, .55); }
.mv-mission { background: linear-gradient(140deg, var(--teal-800), var(--teal-950)); color: rgba(255, 255, 255, .86); }
.mv-mission::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(64, 145, 206, .35), transparent 70%); }
.mv-vision { background: var(--ice); color: var(--body); }
.mv-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; margin-bottom: 32px; transition: background .4s, color .4s, border-color .4s; }
.mv-mission .mv-icon { color: var(--sun); border-color: rgba(140, 200, 255, .5); }
.mv-vision .mv-icon { color: var(--teal-700); border-color: rgba(59, 85, 168, .3); }
.mv-icon .icon { width: 28px; height: 28px; }
.mv-card:hover .mv-icon { background: var(--sun); color: var(--teal-950); border-color: var(--sun); }
.mv-label { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 16px; }
.mv-mission .mv-label { color: var(--cyan-soft); }
.mv-vision .mv-label { color: var(--teal-600); }
.mv-text { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.45; position: relative; z-index: 1; }
.mv-mission .mv-text { color: var(--white); }
.mv-vision .mv-text { color: var(--teal-900); }
.mv-line { position: absolute; left: clamp(36px, 4.5vw, 60px); bottom: 0; height: 4px; width: 60px; background: var(--sun); transition: width .8s var(--ease); }
.mv-card:hover .mv-line { width: calc(100% - 2 * clamp(36px, 4.5vw, 60px)); }

/* ---------- Invest ------------------------------------------------ */
.invest { background: var(--teal-900); color: rgba(255, 255, 255, .82); overflow: hidden; }
.invest-bg {
    position: absolute; inset: 0; opacity: .4; pointer-events: none;
    background:
        radial-gradient(60% 50% at 85% 0%, rgba(64, 145, 206, .28), transparent 70%),
        radial-gradient(50% 40% at 0% 100%, rgba(140, 200, 255, .10), transparent 70%),
        var(--pat) center / 1400px auto repeat;
}
.invest .container { position: relative; }
.invest-head { max-width: 900px; }
.invest-sub { margin-top: 28px; max-width: 640px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .78); }

.invest-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.ig { position: relative; }
.ig-1 { grid-column: 1 / span 5; }
.ig-2 { grid-column: 6 / span 4; margin-top: 120px; }
.ig-3 { grid-column: 10 / span 3; margin-top: 40px; }
.ig-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; position: relative; }
.ig-1 .ig-img { aspect-ratio: 4 / 5.2; }
.ig-3 .ig-img { aspect-ratio: 3 / 4.4; }
.ig-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(34, 28, 90, .55), transparent 50%); }
.ig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ig:hover .ig-img img { transform: scale(1.06); }
.ig figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin-top: 20px; padding-right: 10px; }
.ig-num { grid-row: span 2; font-family: var(--serif); font-style: italic; color: var(--sun); font-size: 18px; line-height: 1.3; }
.ig figcaption strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--white); line-height: 1.3; }
.ig figcaption small { font-size: 13px; color: var(--cyan-soft); margin-top: 4px; letter-spacing: .02em; }

.invest-cta { margin-top: clamp(70px, 8vw, 120px); padding-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line-light); text-align: center; }
.invest-q { font-family: var(--serif); color: var(--white); font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.15; max-width: 18ch; margin: 0 auto 40px; }
.invest-q em { color: var(--sun); }
.invest-note { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* ---------- Pillars ----------------------------------------------- */
.pillars { background: var(--ice); }
.pillars-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.pillars-intro { font-size: 1.08rem; max-width: 440px; justify-self: end; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pillar {
    position: relative; padding: clamp(30px, 3vw, 44px) clamp(24px, 2.4vw, 36px) clamp(36px, 3.4vw, 50px);
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: transparent; overflow: hidden; isolation: isolate; min-height: 300px;
    transition: color .5s var(--ease);
}
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--teal-700), var(--teal-950)); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease-out); }
.pillar::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--sun); transition: width .7s var(--ease-out) .1s; }
.pillar:hover::before { transform: scaleY(1); }
.pillar:hover::after { width: 100%; }
.pillar-num { position: absolute; right: 24px; top: 22px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); transition: color .5s; }
.pillar-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--teal-700); margin-bottom: 34px; transition: background .5s, color .5s, transform .6s var(--ease); box-shadow: 0 10px 24px -14px rgba(34, 28, 90, .4); }
.pillar-icon .icon { width: 28px; height: 28px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.25; color: var(--teal-900); margin-bottom: 14px; transition: color .5s; }
.pillar p { font-size: 15px; line-height: 1.65; transition: color .5s; }
.pillar:hover h3 { color: var(--white); }
.pillar:hover p { color: rgba(255, 255, 255, .78); }
.pillar:hover .pillar-num { color: var(--sun); }
.pillar:hover .pillar-icon { background: var(--sun); color: var(--teal-950); transform: rotate(-8deg) scale(1.05); }

/* ---------- Share project ----------------------------------------- */
.share { background: var(--white); overflow: hidden; }
.share::before { content: ""; position: absolute; right: -10%; top: 10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(64, 145, 206, .12), transparent 65%); pointer-events: none; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; position: relative; }
.share-copy .lead { margin-top: 28px; }
.steps { margin-top: 44px; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li > span { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ice); color: var(--teal-700); }
.steps li > span .icon { width: 22px; height: 22px; }
.steps strong { display: block; color: var(--teal-900); font-size: 16px; font-weight: 700; }
.steps small { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }

.share-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--teal-900); color: rgba(255, 255, 255, .8); box-shadow: 0 50px 90px -50px rgba(34, 28, 90, .7); transition: transform .6s var(--ease); }
.share-card:hover { transform: translateY(-6px); }
.share-card-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.share-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--teal-900) 2%, rgba(43, 42, 116, 0) 60%); }
.share-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.share-card:hover .share-card-media img { transform: scale(1.05); }
.share-card-body { padding: 0 clamp(28px, 3.6vw, 48px) clamp(32px, 3.6vw, 48px); margin-top: -40px; position: relative; }
.share-card-kicker { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan-soft); }
.share-card-title { font-family: var(--serif); color: var(--white); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.12; margin: 14px 0 16px; }
.share-card-title em { color: var(--sun); }
.share-card-text { margin-bottom: 32px; font-size: 15px; }

/* ---------- MLA message ------------------------------------------- */
.message { background: var(--teal-950); color: rgba(255, 255, 255, .82); overflow: hidden; }
.message-bg { position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(45% 60% at 18% 40%, rgba(64, 145, 206, .22), transparent 70%),
        radial-gradient(35% 40% at 100% 100%, rgba(140, 200, 255, .08), transparent 70%);
}
.message-bg::after { content: "“"; position: absolute; right: 2%; top: -8%; font-family: var(--serif); font-size: clamp(20rem, 40vw, 38rem); line-height: 1; color: rgba(255, 255, 255, .035); }
.message-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.mla-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 260px 260px var(--radius) var(--radius); overflow: hidden; background: var(--teal-800); }
.mla-photo::before { content: ""; position: absolute; inset: 14px; border-radius: 250px 250px 10px 10px; border: 1px solid rgba(140, 200, 255, .55); z-index: 1; pointer-events: none; }
.mla-photo img { width: 100%; height: 100%; object-fit: cover; }
.mla-quote { position: relative; margin-top: 64px; padding-left: clamp(0px, 3vw, 40px); }
.mla-quote .qmark { position: absolute; left: -12px; top: -46px; font-family: var(--serif); font-size: 110px; line-height: 1; color: var(--sun); }
.mla-quote p { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.65; color: rgba(255, 255, 255, .9); }
.mla-quote p + p { margin-top: 18px; }
.mla-sign { display: flex; gap: 22px; align-items: center; margin-top: 44px; padding-left: clamp(0px, 3vw, 40px); }
.sign-line { width: 56px; height: 2px; background: var(--sun); flex: none; }
.mla-name { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem); color: var(--white); line-height: 1.2; }
.mla-role { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan-soft); margin-top: 6px; }

/* ---------- Footer ------------------------------------------------ */
.site-footer { background: #1A1548; color: rgba(255, 255, 255, .66); padding: clamp(80px, 9vw, 130px) 0 36px; scroll-margin-top: 0; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 36px; padding-bottom: clamp(56px, 6vw, 84px); border-bottom: 1px solid var(--line-light); }
.footer-tagline { font-family: var(--serif); color: var(--white); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.08; max-width: 16ch; letter-spacing: -.01em; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(36px, 5vw, 80px); padding: clamp(56px, 6vw, 80px) 0; }
.logo-footer { color: var(--white); margin-bottom: 24px; }
.footer-brand p { max-width: 380px; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-light); color: var(--white); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.socials a:hover { background: var(--sun); color: var(--teal-950); border-color: var(--sun); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-h { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sun); margin-bottom: 24px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--white); }
.footer-col nav a, .footer-col > ul > li > a { position: relative; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.contact-list .icon { color: var(--cyan); margin-top: 3px; width: 18px; height: 18px; }
.link-sun { color: var(--sun) !important; font-size: 13px; font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line-light); font-size: 13.5px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: var(--white); }
.to-top .icon { width: 16px; height: 16px; transition: transform .3s; }
.to-top:hover .icon { transform: translateY(-3px); }

/* ---------- Modals & forms ---------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21, 17, 58, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s var(--ease); }
.modal-panel {
    position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
    opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.modal-panel-wide { max-width: 760px; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-close { position: sticky; float: right; top: 0; margin: -10px -10px 0 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ice); color: var(--teal-900); display: grid; place-items: center; z-index: 2; transition: background .3s, transform .4s var(--ease); }
.modal-close:hover { background: var(--sun); transform: rotate(90deg); }
.modal-head { margin-bottom: 30px; padding-right: 40px; }
.modal-head .eyebrow { margin-bottom: 14px; }
.modal-head h2 { font-family: var(--serif); font-weight: 400; color: var(--teal-900); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; }
.modal-head p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.fset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.fset legend { padding: 0; margin-bottom: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-600); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.req { color: #D2453B; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 12px;
    border: 1px solid #DCDAF0; background: var(--white); color: var(--ink);
    font: 500 15.5px/1.4 var(--sans); transition: border-color .25s, box-shadow .25s, background .25s;
    -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #A6A4C8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #BDBBE0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(64, 145, 206, .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: #D2453B; box-shadow: 0 0 0 4px rgba(210, 69, 59, .1); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--teal-700); border-bottom: 1.6px solid var(--teal-700); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.ferr { min-height: 20px; font-size: 12.5px; color: #C23A31; margin-top: 4px; font-weight: 500; }
.field-meta { display: flex; justify-content: space-between; gap: 10px; }
.count { font-size: 12px; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.field-other { animation: reveal-down .45s var(--ease-out); }
@keyframes reveal-down { from { opacity: 0; transform: translateY(-8px); } }

/* Yes / No choice pills */
.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-group legend { padding: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 16px;
    border: 1px solid #DCDAF0; border-radius: 12px; background: var(--white); color: var(--ink);
    font-weight: 600; font-size: 15px; transition: border-color .25s, background .25s, color .25s, box-shadow .25s;
}
.choice span .icon { width: 18px; height: 18px; color: var(--muted); transition: color .25s; }
.choice:hover span { border-color: #BDBBE0; }
.choice input:focus-visible + span { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(64, 145, 206, .16); }
.choice input:checked + span { background: var(--teal-800); border-color: var(--teal-800); color: var(--white); }
.choice input:checked + span .icon { color: var(--sun); }
.field.has-error .choice span { border-color: #D2453B; }

.dropzone { position: relative; display: block; border: 1.5px dashed #C8C6EA; border-radius: 14px; background: var(--ice); padding: 22px; cursor: pointer; transition: border-color .3s, background .3s; margin-bottom: 0 !important; font-weight: 500 !important; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--cyan); background: #EEEDFB; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.dropzone:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(64, 145, 206, .16); }
.dz-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--body); font-size: 14.5px; }
.dz-empty .icon { width: 28px; height: 28px; color: var(--teal-600); }
.dz-empty strong { color: var(--teal-800); }
.dz-empty small { color: var(--muted); font-size: 12.5px; }
.dz-file { display: flex; align-items: center; gap: 12px; color: var(--teal-900); font-size: 14.5px; position: relative; z-index: 1; }
.dz-file .icon { width: 26px; height: 26px; color: var(--teal-600); }
.dz-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-remove { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; color: var(--teal-900); }
.dz-remove:hover { background: var(--sun); }

.form-alert { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: #FDECEA; color: #9E2C24; font-size: 14px; font-weight: 500; }
.upload-progress { height: 4px; border-radius: 4px; background: var(--mist); overflow: hidden; margin-bottom: 14px; }
.upload-progress span { display: block; height: 100%; width: 0; background: var(--cyan); transition: width .2s; }
.btn-submit { margin-top: 8px; min-height: 58px; }
.btn-submit .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: var(--white); animation: spin .8s linear infinite; }
.btn-submit.is-loading { pointer-events: none; }
.btn-submit.is-loading .spinner { display: block; }
.form-privacy { margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }

.modal-success { text-align: center; padding: 18px 0 6px; }
.modal-success h2 { font-family: var(--serif); font-weight: 400; color: var(--teal-900); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 26px 0 16px; outline: none; }
.modal-success p { max-width: 440px; margin: 0 auto; font-size: 16px; }
.success-ref { margin-top: 16px !important; font-size: 14px !important; color: var(--muted); }
.success-ref strong { color: var(--teal-800); letter-spacing: .04em; }
.modal-success .btn { margin-top: 32px; min-width: 180px; }
.success-mark { width: 96px; height: 96px; margin: 0 auto; border-radius: 50%; background: var(--ice); display: grid; place-items: center; }
.success-mark svg { width: 70px; height: 70px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke: var(--sun); stroke-width: 3; stroke-dasharray: 190; stroke-dashoffset: 190; }
.success-mark path { stroke: var(--teal-800); stroke-width: 4; stroke-dasharray: 50; stroke-dashoffset: 50; }
.modal-success.is-shown circle { animation: draw .9s var(--ease-out) forwards; }
.modal-success.is-shown path { animation: draw .6s var(--ease-out) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Scroll reveal ----------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Image mask reveal: the clip sits on the <img>, not on the observed element,
   so IntersectionObserver still sees the full box. */
.js [data-reveal="mask"] { transform: none; transition: opacity .6s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="mask"] img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.4s var(--ease-out), transform 1.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="mask"].is-in img { clip-path: inset(0 0 0 0); transform: none; }
.js .am-1.is-in:hover img, .js .ig.is-in:hover img { transform: scale(1.05); }
.about-media .am-2 { --d: 200ms; }
.about-media .am-3 { --d: 400ms; }
.ig-2 { --d: 150ms; }
.ig-3 { --d: 300ms; }
.mv-vision { --d: 150ms; }

/* Preview badge */
.preview-badge { position: fixed; left: 16px; bottom: 16px; z-index: 300; background: var(--sun); color: var(--teal-950); font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }

/* ---------- Responsive -------------------------------------------- */
@media (max-width: 1280px) {
    .main-nav, .header-cta { display: none; }
    .nav-toggle { display: block; }
}
@media (max-width: 1024px) {
    .about-grid, .share-grid, .message-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 620px; width: 100%; margin: 0 auto; }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-head { grid-template-columns: 1fr; }
    .pillars-intro { justify-self: start; }
    .mla-photo { max-width: 420px; width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .invest-gallery { grid-template-columns: repeat(2, 1fr); }
    .ig-1 { grid-column: 1 / -1; }
    .ig-1 .ig-img { aspect-ratio: 16 / 10; }
    .ig-2, .ig-3 { grid-column: auto; margin-top: 0; }
    .ig-3 .ig-img { aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
    :root { --header-h: 72px; }
    .hero { min-height: 560px; }
    .hero-content { padding-bottom: 150px; }
    .hero-controls { bottom: 32px; gap: 18px; }
    .hero-counter { display: none; }
    .hero-dot { width: 34px; }
    .hero-arrow { width: 46px; height: 46px; }
    .scroll-cue { display: none; }
    .hero-overlay { background: linear-gradient(0deg, rgba(26, 21, 72, .92) 0%, rgba(26, 21, 72, .55) 55%, rgba(26, 21, 72, .25) 100%); }
    .mv { grid-template-columns: 1fr; }
    .seal { width: 92px; height: 92px; right: 0; }
    .seal-core { width: 46px; height: 46px; }
    .invest-gallery { grid-template-columns: 1fr; gap: 36px; }
    .ig-1 .ig-img, .ig-3 .ig-img, .ig-img { aspect-ratio: 4 / 3.4; }
    .pillar-grid { grid-template-columns: 1fr; }
    .pillar { min-height: 0; }
    .fgrid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta-actions { width: 100%; }
    .footer-cta-actions .btn { flex: 1 1 220px; }
    .modal { padding: 0; align-items: flex-end; }
    .modal-panel { max-height: 94vh; max-height: 94dvh; border-radius: 26px 26px 0 0; transform: translateY(60px); }
    .mla-quote .qmark { font-size: 80px; top: -34px; left: -4px; }
    .mla-quote { padding-left: 0; }
    .mla-sign { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
    html { scroll-behavior: auto; }
    .ribbon-track { animation: none; }
}


/* ==================================================================
   v3 updates — wave hero, mission & vision, invest CTA, footer band
   ================================================================== */
.logo-year { color: var(--sun); }
.is-scrolled .logo-on-light .logo-year { color: var(--teal-600); }
.credit { color: var(--white); font-weight: 700; }

/* Hero: layered wave edge */
.hero { --wave: clamp(64px, 7.5vw, 120px); }
.hero-content { padding-bottom: calc(var(--wave) + clamp(96px, 13vh, 120px)); }
.hero-controls { bottom: calc(var(--wave) + 6px); }
.scroll-cue { bottom: calc(var(--wave) + 4px); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave); z-index: 3; pointer-events: none; overflow: hidden; }
.hero-title { font-size: clamp(2.7rem, min(7vw, 9.4vh), 6.4rem); }
.hw { position: absolute; left: 0; bottom: 0; height: 100%; display: block; }
.hw-back, .hw-mid { width: 200%; }
.hw-front { width: 100%; }
.hw-back path { fill: rgba(255, 255, 255, .24); }
.hw-mid path { fill: rgba(233, 231, 247, .55); }
.hw-front path { fill: var(--teal-800); }
.hw-back { animation: wave-drift 26s linear infinite; }
.hw-mid { animation: wave-drift 18s linear infinite reverse; }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ribbon { border-top: 0; }

/* Mission & Vision: one split panel */
.mv { display: block; }
.mv-panel { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center;
    padding: clamp(36px, 5vw, 72px); border-radius: var(--radius-lg); overflow: hidden; color: rgba(255, 255, 255, .82);
    background: radial-gradient(70% 90% at 0% 0%, rgba(64, 145, 206, .28), transparent 60%), linear-gradient(135deg, var(--teal-700), var(--teal-950)); }
.mv-intro { position: relative; z-index: 1; }
.mv-kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan-soft); margin-bottom: 20px; }
.mv-kicker::before { content: ""; width: 34px; height: 2px; background: var(--sun); }
.mv-heading { font-family: var(--serif); font-weight: 400; color: var(--white); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; }
.mv-heading em { color: var(--sun); }
.mv-lede { margin-top: 18px; max-width: 34ch; font-size: 16px; color: rgba(255, 255, 255, .72); }
.mv-sun { position: absolute; width: 260px; height: 260px; left: -150px; bottom: -230px; border-radius: 50%; border: 1px solid rgba(140, 200, 255, .35); box-shadow: 0 0 0 36px rgba(140, 200, 255, .05); }
.mv-items { position: relative; z-index: 1; display: grid; gap: 18px; }
.mv-item { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: clamp(24px, 3vw, 34px); border-radius: 20px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease); }
.mv-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(140, 200, 255, .55); transform: translateX(6px); }
.mv-num { position: absolute; right: 22px; top: 12px; font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; color: rgba(255, 255, 255, .1); }
.mv-icon { width: 58px; height: 58px; margin: 0; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--teal-950); border: 0; }
.mv-icon .icon { width: 26px; height: 26px; }
.mv-label { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan-soft); margin: 4px 0 10px; }
.mv-text { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.38rem); line-height: 1.5; color: var(--white); padding-right: 30px; }

/* Invest CTA: compact yellow banner */
.invest { padding-bottom: clamp(64px, 7vw, 104px); }
.invest-cta { margin-top: clamp(48px, 5vw, 72px); padding: clamp(28px, 3.4vw, 44px) clamp(28px, 4vw, 56px); border: 0; border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--sun), #C3E2FF); text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.invest-q { color: var(--teal-950); font-size: clamp(1.6rem, 2.8vw, 2.5rem); max-width: 22ch; margin: 0; }
.invest-q em { color: var(--teal-600); }
.invest-note { margin-top: 10px; color: rgba(34, 28, 90, .72); font-size: 15px; }
.invest-cta .btn-primary { --bg: var(--teal-950); flex: none; }

/* MLA */
.mla-hon { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sun); margin-bottom: 6px; }

/* Footer: tagline band in a new colour */
.footer-cta { align-items: center; padding: clamp(36px, 4.5vw, 64px); margin-bottom: clamp(56px, 6vw, 84px); border: 0; border-radius: var(--radius-lg);
    background: radial-gradient(80% 120% at 100% 0%, rgba(169, 203, 242, .45), transparent 60%), linear-gradient(120deg, var(--teal-600), var(--cyan)); }
.footer-tagline { font-size: clamp(1.9rem, 3.8vw, 3.3rem); max-width: 18ch; }
.footer-tagline em { color: var(--sun); }
.footer-cta .btn-sun { --bg: var(--teal-950); --fg: var(--white); }
.footer-cta .btn-ghost-light { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }

@media (max-width: 1024px) {
    .mv-panel { grid-template-columns: 1fr; }
    .mv-sun { display: none; }
}
@media (max-width: 760px) {
    .hero { --wave: 64px; }
    .hero-content { padding-bottom: 180px; }
    .mv-item { grid-template-columns: 1fr; gap: 16px; }
    .mv-text { padding-right: 0; }
    .invest-cta { text-align: left; }
    .invest-cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding: 14px 22px; font-size: 12px; }
    .share-card .btn { white-space: normal; text-align: center; line-height: 1.35; padding: 14px 22px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hw-back, .hw-mid { animation: none; } }

/* ==================================================================
   v4 updates — forms view, FAQ, TIECON meaning, MLA badge
   ================================================================== */
.hw-front path { fill: var(--white); }

/* Forms view: full-screen, same design as the forms page */
.modal.fv { display: block; padding: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--teal-900); opacity: 0; transition: opacity .4s var(--ease); }
.modal.fv.is-open { opacity: 1; }
.fv .invest-bg { position: fixed; }
.fp-top { position: relative; z-index: 2; color: var(--white); }
.fp-top-inner { max-width: 860px; margin: 0 auto; padding: 22px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fp-right { display: flex; align-items: center; gap: 18px; }
.fp-mail { font-size: 13px; color: rgba(255, 255, 255, .7); }
.fp-mail:hover { color: var(--sun); }
.fv .modal-close { position: static; float: none; margin: 0; background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.fv .modal-close:hover { background: var(--sun); color: var(--teal-950); }
.fp-main { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 26px var(--gutter) 60px; }
.fp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); margin-bottom: 22px; }
.fp-tab { min-height: 50px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .82); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; transition: background .3s, color .3s; }
.fp-tab:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.fp-tab[aria-selected="true"] { background: var(--sun); color: var(--teal-950); }
.fp-tab .icon { width: 18px; height: 18px; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 5vw, 52px); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6); }
.fv.is-open .form-card { animation: fp-in .6s var(--ease-out); }
@keyframes fp-in { from { opacity: 0; transform: translateY(18px); } }
.form-card .modal-head { padding-right: 0; }
.fp-foot { margin-top: 26px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.fp-foot strong { color: rgba(255, 255, 255, .85); }

/* MLA badge in About */
.mla-badge { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px !important; padding: 10px 18px 10px 14px; border-radius: 999px; background: var(--ice); border: 1px solid var(--mist); font-size: 14px !important; color: var(--teal-800) !important; line-height: 1.4; }
.mla-badge strong { color: var(--teal-900); }
.mla-badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(140, 200, 255, .3); flex: none; }

/* FAQ */
.faq { background: var(--ice); padding: clamp(72px, 8vw, 120px) 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .display { font-size: clamp(2.1rem, 3.8vw, 3.4rem); }
.faq-intro { margin: 22px 0 30px; max-width: 38ch; }
.faq-intro a { color: var(--teal-600); font-weight: 700; border-bottom: 1px solid currentColor; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--mist); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(64, 145, 206, .45); box-shadow: 0 24px 50px -34px rgba(34, 28, 90, .45); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 26px; font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--teal-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--ice); transition: background .3s, transform .4s var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--teal-800); transform: translate(-50%, -50%); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq-item[open] summary i { background: var(--sun); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 26px 24px; }
.faq-a p { color: var(--body); }
.faq-a strong { color: var(--teal-900); }
.faq-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; color: var(--teal-600); font-weight: 700; font-size: 14px; }
.faq-link .icon { width: 16px; height: 16px; transition: transform .3s; }
.faq-link:hover .icon { transform: translateX(4px); }

/* Footer box: what TIECON stands for */
.footer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.fc-main .footer-cta-actions { margin-top: 30px; }
.fc-meaning { background: rgba(27, 22, 74, .28); border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: clamp(22px, 2.6vw, 32px); color: rgba(255, 255, 255, .9); }
.fc-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.fc-letters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fc-letters li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); }
.fc-letters b { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1; color: var(--sun); font-weight: 500; min-width: 1.1em; }
.fc-letters span { font-size: 12.5px; line-height: 1.35; color: var(--white); font-weight: 600; }
.fc-full { margin-top: 16px; font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, .85); }

@media (max-width: 1024px) {
    .faq-grid, .footer-cta { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .fp-tab { font-size: 11px; letter-spacing: .08em; padding: 0 10px; }
    .fp-tab .icon, .fp-mail { display: none; }
    .modal-head .eyebrow { letter-spacing: .14em; gap: 10px; }
    .modal-head .eyebrow::after { display: none; }
    .fc-letters { grid-template-columns: 1fr; }
    .faq-item summary { padding: 18px 20px; }
    .faq-a { padding: 0 20px 20px; }
}

/* ==================================================================
   v5 updates — about collage (4 images), tags, seal
   ================================================================== */
.together li:first-child::before { content: none; }
.about-media { aspect-ratio: 1 / 1.2; }
.am-1 { left: 14%; top: 0; width: 64%; height: 64%; border-radius: 200px 200px var(--radius) var(--radius); }
.am-2 { left: 0; top: 56%; bottom: auto; width: 44%; height: 25%; border: 6px solid var(--white); }
.am-3 { right: 0; top: 47%; bottom: auto; width: 34%; height: 25%; border: 6px solid var(--white); }
.am-4 { left: 30%; bottom: 0; width: 44%; height: 30%; border: 6px solid var(--white); z-index: 1; }
.about-media .am-4 { --d: 600ms; }
.seal text { font-size: 9px; letter-spacing: 0; }

/* ==================================================================
   v7 — centred menu, single hero curve, about image layout
   ================================================================== */
@media (min-width: 1281px) {
    .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
    .header-inner > .logo { justify-self: start; }
    .main-nav { margin: 0; justify-self: center; }
    .header-cta { justify-self: end; }
}

.hero { --wave: clamp(56px, 6.5vw, 104px); }
.hw-back, .hw-mid { display: none; }
.hw-front { width: 100%; }
.hw-front path { fill: var(--white); }

.about-grid { align-items: start; }
.about-media { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-self: start; margin-top: 8px; }
.am-col { display: grid; gap: 16px; align-content: start; }
.am-col-b { padding-top: 56px; }
.about-media .am { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; width: 100%; height: auto; border: 0; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(34, 28, 90, .5); }
.about-media .am img { position: absolute; inset: 0; }
.am-1 { aspect-ratio: 4 / 5; border-radius: 200px 200px 22px 22px !important; }
.am-2 { aspect-ratio: 4 / 3; }
.am-3 { aspect-ratio: 1 / 1; }
.am-4 { aspect-ratio: 4 / 5; }
.about-media .seal { left: 50%; top: 47%; right: auto; transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; background: var(--white); box-shadow: 0 18px 40px -18px rgba(34, 28, 90, .45); }
@media (max-width: 760px) {
    .about-media { gap: 10px; }
    .am-col { gap: 10px; }
    .am-col-b { padding-top: 36px; }
    .about-media .seal { width: 92px; height: 92px; }
}

/* ==================================================================
   v8 — conclave panel, about photos, MLA backdrop, footer, curve
   ================================================================== */
.hero { --wave: clamp(56px, 6.5vw, 104px); }

/* About */
.about { padding-bottom: clamp(56px, 6vw, 88px); }
.am-5 { aspect-ratio: 4 / 5; }
.about-media .am-4 { aspect-ratio: 1 / 1; }
.about-media .am-4 img { object-position: 50% 30%; }
.am-2 { aspect-ratio: 4 / 3; }
.am-3 { aspect-ratio: 4 / 3; }
.am-col-b { padding-top: 64px; }
.about-media .seal { top: 31%; }

/* Conclave panel */
.conclave { background: var(--white); padding: 0 0 clamp(72px, 8vw, 112px); }
.cv-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center;
    padding: clamp(30px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--ice); border: 1px solid var(--mist); }
.cv-sun { position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(140, 200, 255, .55), rgba(140, 200, 255, 0) 68%); pointer-events: none; }
.cv-copy, .cv-side { position: relative; z-index: 1; }
.cv-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 18px; }
.cv-eyebrow .line { width: 36px; height: 2px; background: var(--sun); }
.cv-title { font-family: var(--serif); font-weight: 400; color: var(--teal-900); font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; letter-spacing: -.01em; }
.cv-title em { color: var(--teal-600); }
.cv-text { margin-top: 16px; max-width: 46ch; font-size: 15.5px; line-height: 1.75; color: var(--body); }
.cv-facts { display: grid; gap: 12px; margin: 0; }
.cv-fact { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--mist); }
.cv-ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal-800); color: var(--sun); }
.cv-ic .icon { width: 22px; height: 22px; }
.cv-fact dt { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.cv-fact dd { margin: 2px 0 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--teal-900); line-height: 1.3; }
.cv-fact .cv-date { color: var(--teal-600); }
.cv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cv-actions .btn { flex: 1 1 auto; min-height: 50px; padding: 0 22px; font-size: 12px; }
.btn-ghost-dark { --bg: transparent; --fg: var(--teal-900); box-shadow: inset 0 0 0 1px rgba(54, 64, 143, .35); }
.btn-ghost-dark::before { background: rgba(54, 64, 143, .08); }

/* MLA photo backdrop */
.mla-frame { position: relative; isolation: isolate; padding: 0 22px 22px 0; }
.mla-frame .mla-photo { position: relative; z-index: 2; }
.mla-deco { position: absolute; pointer-events: none; z-index: 0; }
.mla-glow { inset: 8% -6% -4% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(64, 145, 206, .35), transparent 65%); filter: blur(10px); }
.mla-sun { width: 34%; aspect-ratio: 1; right: -4%; top: 6%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #C3E2FF, var(--sun) 55%, var(--sun-deep)); box-shadow: 0 0 0 14px rgba(140, 200, 255, .12), 0 0 0 30px rgba(140, 200, 255, .06); z-index: 1; }
.mla-dots { width: 46%; height: 34%; left: -10%; bottom: -2%; background-image: radial-gradient(rgba(169, 203, 242, .55) 1.6px, transparent 1.8px); background-size: 16px 16px; z-index: 1; }
.mla-ring { inset: 22px 0 0 22px; border-radius: 260px 260px var(--radius) var(--radius); border: 1.5px solid rgba(140, 200, 255, .6); z-index: 1; }
.mla-ring-2 { inset: 44px -22px -22px 44px; border-color: rgba(169, 203, 242, .28); }
@media (max-width: 1024px) { .mla-frame { max-width: 440px; width: 100%; } }

/* Footer: one colour */
.footer-cta { background: transparent; border: 1px solid var(--line-light); }
.footer-cta .btn-sun { --bg: var(--sun); --fg: var(--teal-950); }
.fc-meaning { background: rgba(255, 255, 255, .04); border-color: var(--line-light); }
.fc-letters li { background: rgba(255, 255, 255, .06); }

@media (max-width: 1024px) {
    .cv-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .am-col-b { padding-top: 40px; }
    .cv-eyebrow { letter-spacing: .14em; gap: 10px; font-size: 11px; }
    .cv-eyebrow .line { width: 24px; }
    .mla-frame { padding: 0 14px 14px 0; }
    .mla-ring { inset: 14px 0 0 14px; }
    .mla-ring-2 { inset: 28px -14px -14px 28px; }
}

/* ==================================================================
   v9 — footer box colour + hover, tighter space around the ribbon
   ================================================================== */
/* Space around the moving strip */
.pillars { padding-bottom: clamp(40px, 4.5vw, 64px); }
.share { padding-top: clamp(56px, 6vw, 84px); }

/* "Together, Building…" box: its own colour (footer stays as it is) */
.footer-cta { position: relative; overflow: hidden; border: 0;
    background: radial-gradient(70% 120% at 100% 0%, rgba(64, 145, 206, .32), transparent 60%),
                radial-gradient(50% 80% at 0% 100%, rgba(140, 200, 255, .14), transparent 60%),
                linear-gradient(135deg, var(--teal-700), var(--teal-900));
    box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .7);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.footer-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .09) 45%, transparent 60%);
    transform: translateX(-100%); transition: transform 1.2s var(--ease-out); }
.footer-cta:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8); }
.footer-cta:hover::after { transform: translateX(100%); }
.footer-cta > * { position: relative; z-index: 1; }

.footer-tagline em { background-image: linear-gradient(var(--sun), var(--sun)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 92%; transition: background-size .7s var(--ease-out); }
.footer-cta:hover .footer-tagline em { background-size: 100% 2px; }

.fc-meaning { background: rgba(27, 22, 74, .32); border: 1px solid rgba(255, 255, 255, .16); transition: border-color .4s, box-shadow .4s, background .4s; }
.fc-meaning:hover { border-color: rgba(140, 200, 255, .55); background: rgba(27, 22, 74, .45); box-shadow: 0 0 0 4px rgba(140, 200, 255, .08); }
.fc-letters li { background: rgba(255, 255, 255, .08); cursor: default; transition: transform .4s var(--ease), background .35s, box-shadow .4s; }
.fc-letters li b, .fc-letters li span { transition: color .35s, transform .4s var(--ease); }
.fc-letters li:hover { transform: translateY(-4px); background: var(--sun); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); }
.fc-letters li:hover b { color: var(--teal-950); transform: scale(1.12); }
.fc-letters li:hover span { color: var(--teal-950); }
@media (prefers-reduced-motion: reduce) { .footer-cta:hover, .fc-letters li:hover { transform: none; } }

/* v11 — footer box without background (footer colour unchanged) */
.footer-cta { background: transparent; box-shadow: none; border: 1px solid var(--line-light); }
.footer-cta:hover { box-shadow: none; border-color: rgba(140, 200, 255, .35); }
.fc-meaning { background: rgba(255, 255, 255, .04); }
.conclave { scroll-margin-top: 90px; }

/* v12 — box back to its teal colour, sitting on a white band above the footer */
.cta-band { background: var(--white); padding: clamp(56px, 6vw, 96px) 0; }
.cta-band .footer-cta { margin: 0; border: 0;
    background: radial-gradient(70% 120% at 100% 0%, rgba(64, 145, 206, .32), transparent 60%),
                radial-gradient(50% 80% at 0% 100%, rgba(140, 200, 255, .14), transparent 60%),
                linear-gradient(135deg, var(--teal-700), var(--teal-900));
    box-shadow: 0 40px 80px -46px rgba(34, 28, 90, .65); }
.cta-band .footer-cta:hover { border: 0; box-shadow: 0 50px 90px -46px rgba(34, 28, 90, .75); }
.cta-band .fc-meaning { background: rgba(27, 22, 74, .32); border: 1px solid rgba(255, 255, 255, .16); }
.cta-band .fc-meaning:hover { background: rgba(27, 22, 74, .45); border-color: rgba(140, 200, 255, .55); }
.cta-band .fc-letters li { background: rgba(255, 255, 255, .08); }
.cta-band .fc-letters li:hover { background: var(--sun); }

/* v13 — less space under the hero and at the top of the footer */
.about { padding-top: clamp(28px, 4vw, 56px); }
.site-footer { padding-top: 0; }
.footer-grid { padding-top: clamp(56px, 6vw, 76px); }

/* v14 — band around the box uses the FAQ colour, flowing on from the FAQ */
.cta-band { background: var(--ice); padding-top: 0; }

/* v15 — phone with country code */
.phone-wrap { display: grid; grid-template-columns: 124px 1fr; gap: 8px; }
.cc-wrap select { padding-right: 34px; font-weight: 600; color: var(--teal-900); }
.cc-wrap::after { right: 14px; }
.field.has-error .phone-wrap select { border-color: #DCDAF0; box-shadow: none; }
@media (max-width: 400px) { .phone-wrap { grid-template-columns: 108px 1fr; } }

/* v16 — credit link */
.credit-link { color: var(--white); font-weight: 700; border-bottom: 1px solid rgba(140, 200, 255, .5); transition: color .3s, border-color .3s; }
.credit-link:hover { color: var(--sun); border-color: var(--sun); }
.cv-side { position: relative; }
.cv-soon { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); margin: 0; padding: 12px 16px 12px 42px; border-radius: 14px;
    background: var(--teal-900); color: var(--white); font-size: 13.5px; line-height: 1.5; font-weight: 600; box-shadow: 0 20px 40px -20px rgba(34, 28, 90, .6);
    opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 3; }
.cv-soon::before { content: ""; position: absolute; left: 16px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(140, 200, 255, .25); }
.cv-soon.is-on { opacity: 1; transform: none; }
.cv-side { display: flex; flex-direction: column; }
.cv-actions { position: relative; }

/* v17 */
.credit-link, .credit-link:hover { border-bottom: 0; }
.cv-soon { left: 50%; right: auto; bottom: calc(100% + 12px); width: max-content; max-width: 240px; padding: 9px 14px; border-radius: 10px;
    background: var(--white); color: var(--teal-800); border: 1px solid var(--mist); font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap;
    box-shadow: 0 14px 30px -14px rgba(34, 28, 90, .35); transform: translate(-50%, 6px); }
.cv-soon::before { left: 50%; top: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 0; background: var(--white);
    border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist); box-shadow: none; transform: rotate(45deg); }
.cv-soon.is-on { transform: translate(-50%, 0); }

/* Invest section: less empty space */
.invest { padding-top: clamp(56px, 6vw, 88px); }
.invest-gallery { margin-top: clamp(36px, 4vw, 56px); }

/* v18 — land registration form, 3 tabs */
.fp-tabs { grid-template-columns: repeat(3, 1fr); border-radius: 22px; }
.fp-tab { border-radius: 16px; font-size: 11.5px; letter-spacing: .08em; padding: 0 12px; text-align: center; line-height: 1.3; }
.fset + .fset { padding-top: 22px; border-top: 1px solid var(--mist); }
.fset-title { display: flex; align-items: center; gap: 10px; }
.fset-title span { letter-spacing: .1em; color: var(--teal-900); background: var(--ice); border-radius: 999px; padding: 4px 9px; }
.fset .choice-group legend { font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.opt { font-weight: 500; color: var(--muted); font-size: 12px; }
@media (max-width: 760px) {
    .fp-tabs { grid-template-columns: 1fr; border-radius: 22px; }
    .fp-tab { min-height: 44px; font-size: 11.5px; }
    .choices-3 { grid-template-columns: 1fr; }
}

/* v19 */
.select-type input { padding-right: 44px; }
.select-type input::-webkit-calendar-picker-indicator { opacity: 0; cursor: pointer; }
.faq-intro a { border-bottom: 0; }
.invest > .invest-bg { opacity: .4; background:
        radial-gradient(60% 50% at 85% 0%, rgba(64, 145, 206, .28), transparent 70%),
        radial-gradient(50% 40% at 0% 100%, rgba(140, 200, 255, .10), transparent 70%),
        var(--pat) 50% 0 / 1400px auto repeat,
        var(--pat) calc(50% + 700px) 700px / 1400px auto repeat; }

/* v20 — same space above every section heading; FAQ email without underline */
.invest, .pillars, .share, .message, .faq { padding-top: clamp(56px, 6vw, 88px); }
.about { padding-top: clamp(56px, 6vw, 88px); }
.faq-intro a, .faq-intro a:hover { border-bottom: 0 !important; text-decoration: none !important; background-image: none !important; }

/* v22 */
.field input.is-fixed { background: var(--ice); color: var(--teal-900); font-weight: 600; cursor: default; }
.field input.is-fixed:focus { box-shadow: none; border-color: #DCDAF0; }
.about-media .am-5 img { object-position: 50% 45%; }

/* v24 */
.message { padding-bottom: clamp(56px, 6vw, 88px); }
.about-media .am-5 { aspect-ratio: 1 / 1; }
.about-media .am-5 img { object-position: 50% 50%; }
.about-media .am-4 { aspect-ratio: 4 / 3; }
.about-media .am-4 img { object-position: 50% 20%; }

/* v25 — church left, temple right; hover zoom on every About photo */
.about-media .am-5 img { object-position: 50% 18%; }
.about-media .am-4 img { object-position: 50% 45%; }
.js .about-media .am.is-in:hover img, .about-media .am:hover img { transform: scale(1.05); transition: transform 1.2s var(--ease); transition-delay: 0ms; }

/* v26 — mobile only: smaller hero heading, About photos right after the first paragraph */
@media (max-width: 760px) {
    .hero-title { font-size: clamp(1.9rem, 8.4vw, 2.3rem); line-height: 1.12; }
    .about-grid { display: flex; flex-direction: column; gap: 0; }
    .about-copy, .about-copy .prose { display: contents; }
    .about-copy .eyebrow { order: 1; }
    .about-copy .display { order: 2; }
    .about-copy .ml-line { order: 3; }
    .about-copy .lead { order: 4; }
    .about-media { order: 5; margin: 28px 0 8px; }
    .about-copy .mla-badge { order: 6; }
    .about-copy .prose > p:not(.lead):not(.mla-badge) { order: 7; margin-top: 18px; }
    .about-copy .together { order: 8; }
}

/* v27 — mobile footer: Quick Links and Contact side by side */
@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 36px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col { min-width: 0; }
    .footer-col ul { gap: 10px; }
    .footer-col a, .contact-list li { font-size: 13.5px; }
    .contact-list li { gap: 8px; overflow-wrap: anywhere; }
    .contact-list .icon { width: 16px; height: 16px; flex: none; }
}

/* v28 — reliable taps on iPhone / iPad */
button, [data-open-modal], [data-soon], .fp-tab, .faq-item summary { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* Malayalam event name */
.cv-ml { font-family: var(--ml); font-weight: 700; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.5; letter-spacing: .01em; color: var(--sun-deep); margin: 0 0 12px; }

/* ---------- v5: logo image, WhatsApp, sector pop-up ---------------- */
.site-header .logo-img { height: 54px; width: auto; display: block; }
.logo-footer .logo-img { height: 84px; width: auto; display: block; }
.fp-top .logo-img { height: 50px; width: auto; display: block; }
@media (max-width: 600px) { .site-header .logo-img { height: 46px; } .fp-top .logo-img { height: 44px; } }
.wa-same { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.wa-same input { -webkit-appearance: checkbox; appearance: auto; width: 16px; height: 16px; min-height: 0; padding: 0; margin: 0; border-radius: 4px; accent-color: var(--teal-800); box-shadow: none; flex: none; }
.field-wa input[readonly] { background: #F5F5FA; }
.spec-edit { margin-left: 8px; border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--teal-600, #3F6CB8); text-decoration: underline; cursor: pointer; }
.spec-pop { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 20px; }
.spec-backdrop { position: absolute; inset: 0; background: rgba(21, 17, 58, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.spec-panel { position: relative; width: 100%; max-width: 460px; background: var(--white); border-radius: 22px; padding: 30px 28px 24px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .3s var(--ease-out); }
.spec-pop.is-open .spec-backdrop { opacity: 1; }
.spec-pop.is-open .spec-panel { opacity: 1; transform: none; }
.spec-panel .eyebrow { margin-bottom: 10px; }
.spec-panel h3 { font-family: var(--serif); font-weight: 400; color: var(--teal-900); font-size: 1.7rem; line-height: 1.2; }
.spec-help { margin: 8px 0 16px; font-size: 14.5px; color: var(--muted); }
.spec-panel textarea { min-height: 96px; }
.spec-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin-top: 8px; }
.spec-skip { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 8px 4px; }
.spec-skip:hover { color: var(--teal-900); }
.spec-save { min-height: 48px; padding: 0 30px; }
/* Invest gallery (desktop): three equal cards; the two side cards match, the centre one sits lower */
@media (min-width: 1025px) {
    .ig-1 { grid-column: 1 / span 4; margin-top: 40px; }
    .ig-2 { grid-column: 5 / span 4; margin-top: 110px; }
    .ig-3 { grid-column: 9 / span 4; margin-top: 40px; }
    .ig-1 .ig-img, .ig-2 .ig-img, .ig-3 .ig-img { aspect-ratio: 4 / 5; }
}
/* Footer: same teal as the moving ribbon under Core Pillars */
.site-footer { background: var(--teal-800); }
/* Phones & tablets: the slide area grows to fit its content (never squeezed under the header),
   and the three form buttons are more compact */
@media (max-width: 1024px) {
    .hero { height: auto; min-height: 100vh; min-height: 100svh; }
    .hero-slides { position: relative; display: grid; }
    .hero-slide { position: relative; inset: auto; grid-area: 1 / 1; }
    .hero-content { height: auto; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-h, 72px) + 28px); }
}
@media (max-width: 600px) {
    .hero-actions { gap: 10px; margin-top: 26px; }
    .hero-actions .btn { min-height: 46px; padding: 0 22px; font-size: 12px; letter-spacing: .12em; gap: 10px; }
    .hero-actions .btn .icon { width: 16px; height: 16px; }
}
/* narrowest phones (e.g. Galaxy Fold closed, 280px): let long button names wrap instead of overflowing */
@media (max-width: 340px) {
    .hero-actions .btn { white-space: normal; text-align: left; padding: 10px 18px; font-size: 11px; letter-spacing: .08em; line-height: 1.3; }
    .cta-band .btn { white-space: normal; text-align: center; }
}
/* Very narrow screens (e.g. Galaxy Fold outer screen, 280px): nothing wider than the screen */
@media (max-width: 340px) {
    .site-header .logo-img { height: 36px; }
    .header-inner { gap: 10px; }
    .nav-toggle { width: 44px; height: 44px; flex: none; }
    .hero-arrow { width: 42px; height: 42px; }
    .hero-arrows { gap: 8px; }
    .display { font-size: 1.85rem; overflow-wrap: anywhere; }
    .hero-actions .btn { padding: 0 16px; letter-spacing: .08em; }
    html, body { overflow-x: clip; }
}
/* Invest background: one pattern copy, centred, edges faded (the repeated tiles showed visible seams / "boxes" on wide screens) */
.invest > .invest-bg { background:
        radial-gradient(60% 50% at 85% 0%, rgba(64, 145, 206, .28), transparent 70%),
        radial-gradient(50% 40% at 0% 100%, rgba(140, 200, 255, .10), transparent 70%); }
/* the pattern drawing fills only the upper-left of its square, so a second copy turned 180° fills the lower-right */
.invest > .invest-bg::before, .invest > .invest-bg::after { content: ""; position: absolute; inset: 0; background: var(--pat) 50% 0 / cover no-repeat; }
.invest > .invest-bg::before { transform: rotate(180deg); }
/* Invest in Taliparamba: heading on the left, intro text on the right (no empty right half on wide screens) */
@media (min-width: 1025px) {
    .invest-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 88px); align-items: end; }
    .invest-head .eyebrow { grid-column: 1 / -1; }
    .invest-head .display { grid-column: 1; margin-bottom: 0; }
    .invest-head .invest-sub { grid-column: 2; margin: 0; max-width: none; padding-bottom: 8px; }
}
/* Film play button (only shown when the phone blocks autoplay) */
.film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(56px, 7vw, 84px); height: clamp(56px, 7vw, 84px); border-radius: 50%; border: 0; background: var(--sun); color: var(--teal-950); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease-out); }
.film-play[hidden] { display: none; }
.film-play svg { width: 44%; height: 44%; margin-left: 6%; }
.film-play:hover { transform: translate(-50%, -50%) scale(1.06); }
/* Contact form section */
.contact-sec { background: var(--white); padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(64px, 7vw, 104px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
/* left: plain text; right: form grows to exactly the height of the left side (message box takes the extra space) */
.contact-card { display: flex; flex-direction: column; }
.contact-form { flex: 1; display: flex; flex-direction: column; }
.contact-form .fgrid { flex: 1; grid-template-rows: auto auto 1fr; }
.contact-form .fgrid .field:last-child { min-height: 0; }
.contact-form textarea { flex: 1 1 0; height: auto; min-height: 64px; resize: none; }
.contact-form .fgrid .field:last-child { grid-row: 3; }
.contact-form .fgrid > .field { min-height: 0; }
.contact-lead { margin: 16px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 520px; }
.contact-direct { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-direct li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--teal-900); font-weight: 600; }
.contact-direct a { color: inherit; }
.contact-direct a:hover { color: var(--teal-800); text-decoration: underline; text-underline-offset: 3px; }
.cd-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--teal-800); }
.cd-ic .icon { width: 20px; height: 20px; }
.contact-card { background: #F6F6FB; border: 1px solid var(--mist); border-radius: 24px; padding: clamp(22px, 3vw, 40px); }
.contact-form .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.contact-form .ferr { min-height: 16px; margin-top: 3px; }
.contact-form .field label { margin-bottom: 6px; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form .btn-submit { margin-top: 18px; width: 100%; justify-content: center; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form .form-alert { margin: 14px 0 0; }
.contact-done { text-align: center; padding: 28px 8px; margin: auto 0; }
.contact-done:focus { outline: none; }
.cd-check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--teal-950); }
.cd-check svg { width: 30px; height: 30px; }
.contact-done h3 { font-family: var(--serif); font-weight: 400; color: var(--teal-900); font-size: 1.6rem; margin: 0 0 8px; }
.contact-done p { color: var(--muted); margin: 0 0 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .contact-form .fgrid { grid-template-columns: 1fr; } }
/* Follow Us row in the conclave box */
.cv-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px !important; font-family: var(--sans) !important; }
.cv-social a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--mist); font-size: 13.5px; font-weight: 600; color: var(--teal-900); transition: background .3s, color .3s, border-color .3s; }
.cv-social a:hover { background: var(--teal-800); border-color: var(--teal-800); color: var(--white); }
.cv-social .icon { width: 17px; height: 17px; }
.site-footer .socials { margin-top: 20px; }
/* Slide 1 (temple photo): dim the bright photo so the heading stands out */
.hero-slide:first-child .hero-overlay {
    background:
        linear-gradient(90deg, rgba(26, 21, 72, .9) 0%, rgba(26, 21, 72, .68) 45%, rgba(26, 21, 72, .3) 80%),
        linear-gradient(0deg, rgba(26, 21, 72, .88) 0%, rgba(26, 21, 72, 0) 55%),
        rgba(26, 21, 72, .22);
}
/* Gallery */
.gallery { background: var(--white); padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }
.gallery-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.gallery-sub { margin-top: 14px; font-size: 16px; color: var(--muted); }
.gal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.gal-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--mist); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; }
.gal-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(34, 28, 90, .45), transparent 45%); opacity: 0; transition: opacity .4s; }
.gal-open:hover img, .gal-open:focus-visible img { transform: scale(1.05); }
.gal-open:hover::after, .gal-open:focus-visible::after { opacity: 1; }
@media (max-width: 600px) { .gal-grid { grid-template-columns: 1fr; } }
.gal-box { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 5vw, 72px); background: rgba(18, 14, 50, .94); opacity: 0; transition: opacity .25s; }
.gal-box.is-open { opacity: 1; }
.gal-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.gal-fig img { max-width: min(1200px, 100%); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.gal-fig figcaption { display: flex; gap: 16px; justify-content: space-between; width: 100%; max-width: 1200px; margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.gal-count { color: var(--sun); font-weight: 700; white-space: nowrap; }
.gal-x, .gal-nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.gal-x:hover, .gal-nav:hover { background: var(--sun); color: var(--teal-950); border-color: var(--sun); }
.gal-x .icon, .gal-nav .icon { width: 22px; height: 22px; }
.gal-x { top: 18px; right: 18px; }
.gal-prev { left: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.gal-next { right: clamp(8px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .gal-nav { top: auto; bottom: 18px; transform: none; } .gal-prev { left: calc(50% - 60px); } .gal-next { right: calc(50% - 60px); } .gal-fig img { max-height: calc(100vh - 220px); } }
/* News */
.news-list { display: grid; gap: clamp(44px, 5vw, 72px); }
.news-item { padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--mist); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.news-num { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 400; color: var(--teal-600, #3F6CB8); letter-spacing: 0; }
.news-date { padding: 4px 12px; border-radius: 999px; background: var(--sun); color: var(--teal-950); font-weight: 700; }
.news-place { display: inline-flex; align-items: center; gap: 6px; }
.news-place .icon { width: 16px; height: 16px; }
.news-title { font-family: var(--serif); font-weight: 400; color: var(--teal-900); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; margin: 0; max-width: 980px; }
.news-sub { margin: 10px 0 0; font-size: 17px; font-weight: 600; color: var(--teal-800); max-width: 980px; }
.news-photos { margin-top: clamp(18px, 2vw, 26px); }
.news-photos.n4 { grid-template-columns: repeat(4, 1fr); }
.news-photos.n2 { grid-template-columns: repeat(2, 1fr); }
.news-photos .gal-open { aspect-ratio: 4 / 3; }
.news-body { margin-top: clamp(18px, 2vw, 26px); }
.news-body p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--muted); }
.news-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-800); text-decoration: underline; text-underline-offset: 3px; }
.news-link .icon { width: 16px; height: 16px; }
.gal-box.single .gal-nav { display: none; }
@media (max-width: 1024px) { .news-photos.n4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-photos.n4, .news-photos.n2 { grid-template-columns: repeat(2, 1fr); } .news-photos { gap: 8px; } .news-body p { font-size: 15.5px; } .news-sub { font-size: 16px; } }
/* TIECON film: full width, edge to edge (under the Gallery) */
.film { position: relative; background: var(--teal-800); line-height: 0; }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 760; object-fit: cover; background: var(--teal-800); }
/* Malayalam line in the conclave box: same style as the About Us line (colour kept) */
.cv-ml { font-family: var(--ml); font-weight: 400; letter-spacing: normal; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; }

/* ---------- Gulf Malayalee Investors form ---------- */
.fp-tabs { grid-template-columns: .95fr 1.05fr 1fr 1.75fr; }
.gmi-ml { font-family: var(--ml); color: var(--teal-900); }
.gmi-ml p { margin: 0; }
.gmi-sub { margin-top: 14px; padding: 2px 0 2px 16px; border-left: 3px solid var(--sun); }
.modal-head .gmi-ml p.gmi-event { font-size: clamp(1.02rem, 1.7vw, 1.18rem); font-weight: 700; color: var(--teal-800); line-height: 1.5; margin-top: 0; }
.modal-head .gmi-ml p.gmi-when { font-size: 15.5px; color: var(--ink); margin-top: 2px; }
.modal-head .gmi-ml p.gmi-inaug { font-size: 15.5px; color: var(--muted); margin-top: 2px; }
.gmi-head h2 { font-family: var(--ml); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.5; margin-top: 4px; }
.modal-head p.gmi-en { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
/* Malayalam form text */
.gmi .fset-title, .gmi label, .gmi legend, .gmi .choice span, .gmi select, .gmi .msel-btn, .gmi .ferr, .gmi .form-alert, .gmi .form-privacy,
.gmi input::placeholder, .gmi textarea::placeholder, .gmi .sig-hint, .gmi-done h2, .gmi-done p { font-family: var(--ml); }
.gmi .fset-title { font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--teal-800); padding-right: 12px; }
.gmi .fset-title span { font-family: var(--ml); font-size: 12.5px; letter-spacing: 0; white-space: nowrap; }
.gmi .field label, .gmi .choice-group legend { font-size: 14.5px; line-height: 1.55; }
.gmi .opt { font-size: 13px; }
.gmi .sig-hint { letter-spacing: 0; text-transform: none; font-size: 13.5px; }
.gmi-done h2 { font-weight: 700; }
.choices-list { gap: 10px; }
.choices-list.c3 { grid-template-columns: repeat(3, 1fr); }
.choices-list.c4 { grid-template-columns: repeat(4, 1fr); }
.choices-list .choice span { justify-content: flex-start; text-align: left; min-height: 48px; padding: 10px 14px; font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.choices-list .choice span::before { content: ""; flex: 0 0 18px; width: 18px; height: 18px; border: 1.6px solid #BDBBE0; border-radius: 50%; background: var(--white) center / 12px no-repeat; transition: border-color .25s, background-color .25s; }
.choices-list.is-checkbox .choice span::before { border-radius: 5px; }
.choices-list .choice input:checked + span::before { border-color: var(--sun); background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221C5A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.choice-group legend .opt { margin-left: 4px; }
.gmi-declare { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #DCDAF0; border-radius: 12px; background: var(--ice); font-size: 14.5px; font-weight: 500 !important; line-height: 1.6; color: var(--ink); cursor: pointer; }
.field .gmi-declare input { -webkit-appearance: checkbox; appearance: auto; flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 3px 0 0; border-radius: 4px; box-shadow: none; accent-color: var(--teal-800); }
.gmi .phone-wrap { grid-template-columns: 134px 1fr; }
.field.has-error .gmi-declare { border-color: #D2453B; }
.sig-field { position: relative; }
.sig-box { position: relative; border: 1.5px dashed #AEB4E0; border-radius: 14px; background: var(--white); overflow: hidden; }
.sig-pad { display: block; width: 100%; height: 190px; touch-action: none; cursor: crosshair; }
.sig-hint { position: absolute; left: 18px; right: 18px; bottom: 46px; border-top: 1px solid #E4E2F4; padding-top: 6px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #A6A4C8; pointer-events: none; }
.sig-field.is-signed .sig-hint { color: transparent; }
.sig-clear { position: absolute; top: 10px; right: 10px; border: 1px solid #DCDAF0; background: var(--white); color: var(--teal-800); border-radius: 999px; padding: 6px 14px; font: 600 12.5px var(--sans); cursor: pointer; }
.sig-clear:hover { border-color: var(--teal-800); }
.sig-name { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.sig-name strong { color: var(--ink); }
.sig-file { position: absolute; left: 0; bottom: 30px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field.has-error .sig-box { border-color: #D2453B; }
.sig-field label .opt { margin-left: 6px; }
.msel { position: relative; }
.msel-btn { position: relative; display: flex; align-items: center; width: 100%; min-height: 52px; padding: 13px 44px 13px 16px; border-radius: 12px; border: 1px solid #DCDAF0; background: var(--white); color: #A6A4C8; font: 500 15.5px/1.4 var(--sans); text-align: left; cursor: pointer; transition: border-color .25s, box-shadow .25s; color: var(--ink); }
.msel-btn::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--teal-700); border-bottom: 1.6px solid var(--teal-700); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.msel.is-open .msel-btn::after { transform: translateY(-30%) rotate(225deg); }
.msel-btn:hover { border-color: #BDBBE0; }
.msel-btn:focus-visible, .msel.is-open .msel-btn { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(64, 145, 206, .16); }
.msel.has-value .msel-btn { color: var(--ink); }
.msel-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field.has-error .msel-btn { border-color: #D2453B; box-shadow: 0 0 0 4px rgba(210, 69, 59, .1); }
.msel-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--white); border: 1px solid #DCDAF0; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(34, 28, 90, .35); padding: 8px; max-height: min(380px, 60vh); overflow-y: auto; overscroll-behavior: contain; }
.msel-panel .choices-list { grid-template-columns: 1fr; gap: 2px; }
.msel-panel .choice span { border: 0; border-radius: 9px; min-height: 44px; padding: 8px 10px; }
.msel-panel .choice:hover span { background: var(--ice); }
.msel-panel .choice input:checked + span { background: var(--ice); color: var(--ink); }
.msel-panel .choice input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--cyan); }
.msel-done { position: sticky; bottom: 0; display: block; width: 100%; margin-top: 6px; min-height: 44px; border: 0; border-radius: 10px; background: var(--teal-800); color: var(--white); font: 700 12.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; box-shadow: 0 0 0 8px var(--white); }
/* Gulf button: full name on two lines, second line smaller */
.btn-2l { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1.2; text-align: left; }
.btn-2l small { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; text-transform: none; opacity: .85; }
.hero-actions .btn:has(.btn-2l) { padding-top: 8px; padding-bottom: 8px; }
.footer-cta-actions .btn-2l { align-items: center; text-align: center; }
.tab-2l { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; line-height: 1.2; }
.tab-2l small { font-size: 9.5px; font-weight: 600; letter-spacing: .02em; text-transform: none; line-height: 1.25; opacity: .85; }
.fp-tab:has(.tab-2l) { padding-top: 6px; padding-bottom: 6px; gap: 8px; }
.tab-2l > span { white-space: nowrap; letter-spacing: .06em; }
/* CTA band: four buttons in two rows of two */
.footer-cta .footer-cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 640px; }
.footer-cta .footer-cta-actions .btn { width: 100%; min-height: 54px; justify-content: center; text-align: center; white-space: normal; line-height: 1.3; padding: 10px 16px; letter-spacing: .08em; gap: 10px; }
/* two per row; the longer names get the wider half */
.footer-cta .footer-cta-actions { display: flex; flex-wrap: wrap; max-width: 660px; }
.footer-cta .footer-cta-actions .btn:nth-child(1) { flex: 0 0 calc(46% - 7px); }
.footer-cta .footer-cta-actions .btn:nth-child(2) { flex: 0 0 calc(54% - 7px); }
.footer-cta .footer-cta-actions .btn:nth-child(3) { flex: 0 0 calc(37% - 7px); }
.footer-cta .footer-cta-actions .btn:nth-child(4) { flex: 0 0 calc(63% - 7px); }
@media (max-width: 420px) { .footer-cta .footer-cta-actions .btn:nth-child(n) { flex-basis: 100%; } }
@media (max-width: 1024px) {
    .fp-tabs { grid-template-columns: repeat(2, 1fr); }
    .choices-list.c4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .fp-tabs { grid-template-columns: 1fr; }
    .choices-list.c2, .choices-list.c3 { grid-template-columns: 1fr; }
    .sig-pad { height: 170px; }
}
@media (max-width: 380px) { .choices-list.c4 { grid-template-columns: 1fr; } }

/* ---------- SEO pass: hero picture, main heading, About TIECON ---------- */
.hero-media picture { display: block; width: 100%; height: 100%; }
h1.hero-eyebrow { margin-top: 0; margin-left: 0; margin-right: 0; }
.about-tiecon { margin-top: clamp(28px, 3vw, 44px); }
.about-tiecon h3 { font-family: var(--serif); font-weight: 400; color: var(--teal-900); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; margin: 0 0 20px; }
.at-cols { max-width: none; }
.at-cols p { margin: 0 0 16px; break-inside: avoid; color: var(--muted); font-size: 16px; line-height: 1.75; }
.at-cols strong { color: var(--teal-900); font-weight: 700; }
.at-cols a { color: var(--teal-800); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Footer Quick Links: centred, two columns */
.footer-col[aria-label="Quick links"] { text-align: center; }
.footer-col[aria-label="Quick links"] ul { grid-template-columns: repeat(2, auto); justify-content: center; justify-items: center; gap: 18px clamp(28px, 4vw, 56px); }
@media (min-width: 1025px) {
    .footer-grid { grid-template-columns: 1.1fr 1.5fr 1fr; }
    .footer-col[aria-label="Quick links"] a { white-space: nowrap; }
    .footer-col[aria-label="Quick links"] ul { column-gap: 40px; }
}
@media (max-width: 600px) { .footer-col[aria-label="Quick links"] ul { gap: 16px 14px; } }

/* Footer Quick Links: left-aligned like Connect With Us, two columns, sitting on the right */
.footer-col[aria-label="Quick links"] { text-align: left; }
.footer-col[aria-label="Quick links"] ul { justify-content: start; justify-items: start; }
@media (min-width: 1025px) { .footer-col[aria-label="Quick links"] { justify-self: end; } }

/* ==========================================================
   Brochure theme (Dec 2026) — blue → violet gradient, as in the TIECON brochure
   ========================================================== */
:root {
    --br-blue: #357BBE; --br-mid: #4A5FAA; --br-violet: #654A9E;
    --brochure: linear-gradient(135deg, var(--br-blue) 0%, var(--br-mid) 50%, var(--br-violet) 100%);
    --brochure-deep: linear-gradient(135deg, #2C5FA6 0%, #3A3F92 50%, #4A2F84 100%);
}
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(44, 95, 166, .9) 0%, rgba(74, 95, 170, .6) 42%, rgba(101, 74, 158, .12) 75%),
        linear-gradient(0deg, rgba(34, 28, 90, .85) 0%, rgba(34, 28, 90, 0) 45%);
}
@media (max-width: 760px) {
    .hero-overlay { background: linear-gradient(0deg, rgba(34, 28, 90, .92) 0%, rgba(74, 95, 170, .6) 55%, rgba(53, 123, 190, .3) 100%); }
}
.mobile-nav, .modal.fv { background: var(--brochure-deep); }
.ribbon { background: linear-gradient(90deg, var(--br-blue), var(--br-mid), var(--br-violet)); }
.invest, .message, .share-card, .pg-hero, .pg-cta { background: var(--brochure); }
.mv-mission, .pillar::before { background: var(--brochure); }
.mv-panel { background: radial-gradient(70% 90% at 0% 0%, rgba(140, 200, 255, .22), transparent 60%), var(--brochure); }
.cta-band .footer-cta { background: radial-gradient(70% 120% at 100% 0%, rgba(140, 200, 255, .2), transparent 60%), var(--brochure); }
.gs-glance { background: radial-gradient(60% 80% at 100% 0%, rgba(140, 200, 255, .18), transparent 60%), var(--brochure); }
.gs-main, .gs-ph { background: var(--brochure); }
.site-footer { background: var(--brochure-deep); }
.share-card-media::after { background: linear-gradient(0deg, var(--br-mid) 2%, rgba(74, 95, 170, 0) 60%); }

/* ==========================================================
   Brochure illustrations (Dec 2026)
   ========================================================== */
/* About: "The TIECON Story" — hand dropping a coin into the Taliparamba tin */
.about-tiecon .at-wrap { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 22vw, 290px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.at-art { margin: 0; width: 100%; aspect-ratio: 1190 / 2091;
    background: linear-gradient(165deg, #2C5FA6 0%, #3A3F92 55%, #4A2F84 100%);
    -webkit-mask: url("../img/tiecon-art-coin-tin.png") center / contain no-repeat;
            mask: url("../img/tiecon-art-coin-tin.png") center / contain no-repeat; }
@media (max-width: 760px) {
    .about-tiecon .at-wrap { grid-template-columns: 1fr; }
    .at-art { width: min(200px, 56vw); margin: 8px auto 0; }
}
/* CTA band: handshake over the city, as on the brochure cover */
.cta-band .footer-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: url("../img/tiecon-art-handshake.webp") 62% 40% / cover no-repeat;
    mix-blend-mode: luminosity; opacity: .62;
    -webkit-mask-image: linear-gradient(90deg, transparent 14%, #000 50%);
            mask-image: linear-gradient(90deg, transparent 14%, #000 50%); }
@media (max-width: 760px) {
    .cta-band .footer-cta::before { background-position: 55% 0; background-size: auto 46%; opacity: .32;
        -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 48%); mask-image: linear-gradient(180deg, #000 10%, transparent 48%); }
}
/* Footer: hand holding the growth chart, faint, as on the brochure back cover */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -2%; bottom: -4%; width: min(640px, 52vw); aspect-ratio: 1400 / 1150; pointer-events: none;
    background: url("../img/tiecon-art-growth-hand.png") center / contain no-repeat; opacity: .12; }
.site-footer > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .site-footer::before { width: 92vw; right: -18%; bottom: 0; opacity: .09; } }

/* ==========================================================
   v4 (2 Dec 2026) — exact colours from the "Our Guests" artwork
   purple #4A48A5 → #3C55AC → blue #2F6AB8 · accent purple #4949A5
   ========================================================== */
:root {
    --br-violet: #4A48A5; --br-mid: #3C55AC; --br-blue: #2F6AB8; --br-purple: #4949A5;
    --brochure: linear-gradient(135deg, #4A48A5 0%, #3C55AC 50%, #2F6AB8 100%);
    --brochure-deep: linear-gradient(135deg, #4A48A5 0%, #3C55AC 50%, #2F6AB8 100%);
    --teal-800: #4949A5; --teal-700: #3C55AC; --teal-600: #2F6AB8; --sun-deep: #4949A5;
}
.hero-overlay {
    background:
        linear-gradient(90deg, rgba(74, 72, 165, .92) 0%, rgba(60, 85, 172, .62) 42%, rgba(47, 106, 184, .12) 75%),
        linear-gradient(0deg, rgba(40, 38, 110, .85) 0%, rgba(40, 38, 110, 0) 45%);
}
@media (max-width: 760px) {
    .hero-overlay { background: linear-gradient(0deg, rgba(40, 38, 110, .92) 0%, rgba(60, 85, 172, .62) 55%, rgba(47, 106, 184, .3) 100%); }
}
.ribbon { background: linear-gradient(90deg, #4A48A5, #3C55AC, #2F6AB8); }
.mv-panel, .gs-glance { background: var(--brochure); }
.share-card-media::after { background: linear-gradient(0deg, #3C55AC 2%, rgba(60, 85, 172, 0) 60%); }
.at-art { background: linear-gradient(165deg, #4949A5 0%, #3C55AC 55%, #2F6AB8 100%); }
.cv-title em, .cv-fact .cv-date { color: var(--br-purple); }

/* "Together, Building a Better Tomorrow" — dimmer background */
.cta-band .footer-cta { background: linear-gradient(rgba(24, 22, 72, .32), rgba(24, 22, 72, .32)), var(--brochure); }
.cta-band .footer-cta::before { opacity: .28; }

/* Footer quick links — three neat columns */
@media (min-width: 761px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .footer-col[aria-label="Quick links"] { justify-self: stretch; }
    .footer-col[aria-label="Quick links"] ul { grid-template-columns: repeat(3, max-content); grid-template-rows: repeat(4, auto); grid-auto-flow: column;
        justify-content: start; justify-items: start; gap: 18px clamp(22px, 2.6vw, 40px); }
    .footer-col[aria-label="Quick links"] a { white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1199px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: auto; }
    .footer-col[aria-label="Quick links"] { grid-column: 1 / -1; grid-row: 2; }
    .footer-col[aria-label="Quick links"] ul { justify-content: center; }
}
@media (max-width: 760px) {
    .footer-col[aria-label="Quick links"] { grid-column: 1 / -1; }
    .footer-col[aria-label="Quick links"] ul { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 14px 12px; }
    .footer-col[aria-label="Quick links"] a { font-size: 13px; line-height: 1.35; }
    .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
}

/* Event at a Glance — ticket design (matches site serif style) */
.gl { position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(56px, 7vw, 96px); border-radius: clamp(22px, 2.6vw, 32px); color: #fff;
    background: var(--brochure); display: grid; grid-template-columns: minmax(0, .78fr) 2px minmax(0, 1.5fr);
    box-shadow: 0 40px 80px -48px rgba(40, 38, 110, .75); }
.gl-pattern { position: absolute; inset: -10%; z-index: -1; pointer-events: none; opacity: .18; background: url("../img/tiecon-pattern.svg") center / 760px auto repeat; }
.gl-stub { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: clamp(30px, 4vw, 56px); }
.gl-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.gl-eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--sun); }
.gl-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.gl-title em { color: var(--sun); }
.gl-date { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.gl-day { font-family: var(--serif); font-size: clamp(3.4rem, 5.6vw, 4.8rem); line-height: .85; color: #fff; }
.gl-month { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.gl-month b { color: #fff; font-weight: 800; }
.gl-venue { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.gl-venue svg { width: 18px; height: 18px; flex: none; color: var(--sun); }
.gl-hero { margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.gl-hero-num { display: block; font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.1rem); line-height: 1; color: var(--sun); white-space: nowrap; }
.gl-hero-lab { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.gl-perf { position: relative; margin: 26px 0; background: linear-gradient(rgba(255, 255, 255, .42) 50%, transparent 0) 0 0 / 2px 12px repeat-y; }
.gl-perf::before, .gl-perf::after { content: ""; position: absolute; left: 50%; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: var(--ice); }
.gl-perf::before { top: -45px; }
.gl-perf::after { bottom: -45px; }
.gl-grid { list-style: none; margin: 0; padding: clamp(14px, 2.4vw, 34px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-content: center; }
.gl-tile { grid-column: span 2; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: clamp(16px, 2vw, 26px);
    border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.gl-tile:nth-child(3), .gl-tile:nth-child(6), .gl-tile:nth-child(8) { border-right: 0; }
.gl-tile:nth-child(7), .gl-tile:nth-child(8) { border-bottom: 0; }
.gl-wide { grid-column: span 3; flex-direction: row; align-items: center; gap: 14px; }
.gl-ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--sun); }
.gl-ic svg { width: 18px; height: 18px; }
.gl-num { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1; color: #fff; white-space: nowrap; transition: color .35s; }
.gl-wide .gl-num { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
.gl-lab { display: block; font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.gl-wide .gl-lab { margin-top: 4px; }
.gl-tile:hover .gl-num { color: var(--sun); }
@media (max-width: 1024px) {
    .gl { grid-template-columns: 1fr; }
    .gl-hero { margin-top: 10px; }
    .gl-perf { height: 2px; margin: 0 26px; background: linear-gradient(90deg, rgba(255, 255, 255, .42) 50%, transparent 0) 0 0 / 12px 2px repeat-x; }
    .gl-perf::before, .gl-perf::after { top: 50%; bottom: auto; left: auto; margin: -19px 0 0; }
    .gl-perf::before { left: -45px; }
    .gl-perf::after { right: -45px; }
}
@media (max-width: 600px) {
    .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 14px 14px; }
    .gl-tile { grid-column: span 1; padding: 18px 14px; }
    .gl-wide { grid-column: 1 / -1; }
    .gl-tile:nth-child(n) { border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
    .gl-tile:nth-child(2n), .gl-wide { border-right: 0 !important; }
    .gl-tile:nth-child(8) { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { .gl-num { transition: none; } }

/* Footer illustration (hand + growth chart) centred in the footer */
.site-footer::before { left: 50%; top: 50%; right: auto; bottom: auto; width: min(620px, 50vw); transform: translate(-50%, -50%); opacity: .12; }
@media (max-width: 760px) { .site-footer::before { left: auto; top: auto; right: -18%; bottom: 0; width: 92vw; transform: none; opacity: .09; } }

/* Quick Links title centred over the three columns */
.footer-col[aria-label="Quick links"] .footer-h { text-align: center; }

/* Quick links: 4 / 3 / 3 columns in page order */
.footer-col[aria-label="Quick links"] li:nth-child(8) { grid-column: 3; grid-row: 1; }
.footer-col[aria-label="Quick links"] li:nth-child(9) { grid-column: 3; grid-row: 2; }
.footer-col[aria-label="Quick links"] li:nth-child(10) { grid-column: 3; grid-row: 3; }

/* "A Day About What Taliparamba Does Next" — Our Guests gradient */
.cv-panel { background: var(--brochure); border: 0; color: #fff; isolation: isolate; box-shadow: 0 40px 80px -48px rgba(40, 38, 110, .75); }
.cv-panel::before { content: ""; position: absolute; inset: -10%; z-index: -1; pointer-events: none; opacity: .2; background: url("../img/tiecon-pattern.svg") center / 760px auto repeat; }
.cv-eyebrow { color: rgba(255, 255, 255, .8); }
.cv-ml { color: var(--sun); }
.cv-title { color: #fff; }
.cv-title em { color: var(--sun); }
.cv-text { color: rgba(255, 255, 255, .86); }
.cv-fact { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cv-fact dt { color: rgba(255, 255, 255, .72); }
.cv-fact dd { color: #fff; }
.cv-fact .cv-date { color: var(--sun); }
.cv-ic { background: #fff; color: var(--br-purple); }
.cv-social a { border-color: rgba(255, 255, 255, .35); color: #fff; }
.cv-social a:hover { background: #fff; border-color: #fff; color: var(--br-purple); }
.cv-actions .btn-primary { --bg: #fff; --fg: var(--br-purple); }
.cv-actions .btn-primary::before { background: rgba(73, 73, 165, .1); }

/* v13 — keep the original widths: About text full width (tin becomes a faint watermark), footer brand column wider */
.about-tiecon { position: relative; }
.about-tiecon .at-wrap { display: block; }
.about-tiecon .at-cols { position: relative; z-index: 1; }
.at-art { position: absolute; z-index: 0; right: 0; top: 50%; width: clamp(150px, 17vw, 230px); margin: 0; transform: translateY(-50%); opacity: .16; pointer-events: none; }
@media (max-width: 760px) { .at-art { width: 46vw; top: auto; bottom: 0; transform: none; opacity: .12; } }
@media (min-width: 1200px) {
    .footer-grid { grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); column-gap: 36px; }
    .footer-col[aria-label="Quick links"] ul { column-gap: 22px; }
}

/* v14 — "A Day About" card: no solid white; Register uses the site's sky button */
.cv-ic { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); color: var(--sun); }
.cv-actions .btn-primary { --bg: var(--sun); --fg: var(--teal-950); }
.cv-actions .btn-primary::before { background: rgba(255, 255, 255, .35); }

/* v14 — Guests: smaller photos, 5 + 4 centred */
.gs-main { max-width: 720px; }
.gs-grid { display: flex; flex-wrap: wrap; justify-content: center; max-width: 1100px; gap: clamp(12px, 1.6vw, 20px); }
.gs-grid > li { flex: 0 0 clamp(150px, 15vw, 196px); }
.gs-card { gap: 8px; }
@media (max-width: 760px) {
    .gs-grid { gap: 12px; }
    .gs-grid > li { flex: 0 0 calc((100% - 24px) / 3); }
}
@media (max-width: 480px) {
    .gs-grid { gap: 10px; }
    .gs-grid > li { flex: 0 0 calc((100% - 20px) / 3); }
    .gs-card { padding: 6px 6px 10px; border-radius: 14px; }
    .gs-card .gs-name, .gs-card h3 { font-size: 13px; line-height: 1.25; }
}

/* v15 — Guests back to the original 3 × 3 layout, sized to the main photo */
.gs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; gap: clamp(12px, 1.8vw, 22px); }
.gs-grid > li { flex: none; }
@media (max-width: 760px) { .gs-grid { gap: 12px; } }
@media (max-width: 480px) { .gs-grid { gap: 10px; } }

/* v16 — Guests fit on one screen: smaller main photo, all 9 guests in one row (desktop) */
.guests { padding-top: clamp(56px, 6vw, 84px); }
.gs-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
@media (min-width: 1025px) {
    .gs-main { max-width: clamp(420px, calc((100vh - 390px) * 1.34), 600px); margin-bottom: 20px; }
    .gs-grid { grid-template-columns: repeat(9, minmax(0, 1fr)); max-width: 1184px; gap: 12px; }
    .gs-card { padding: 6px 6px 10px; gap: 8px; border-radius: 16px; }
    .gs-ph { border-radius: 11px; }
    .gs-name { font-size: 13.5px; line-height: 1.25; }
}
@media (min-width: 761px) and (max-width: 1024px) {
    .gs-main { max-width: 560px; }
    .gs-grid { display: flex; flex-wrap: wrap; justify-content: center; max-width: 760px; gap: 12px; }
    .gs-grid > li { flex: 0 0 calc((100% - 48px) / 5); }
    .gs-name { font-size: 13px; }
}
@media (max-width: 760px) {
    .guests { padding-top: 48px; }
    .gs-head { margin-bottom: 16px; }
    .gs-main { max-width: 330px; margin-bottom: 10px; }
    .gs-grid { gap: 8px; }
    .gs-card { padding: 5px 5px 8px; gap: 6px; }
    .gs-name { font-size: 12.5px; }
}

/* v19 — coin-into-tin illustration shown clearly under the About photos (text keeps its full width) */
.about-tiecon .at-art { display: none; }
.am-tin { display: block; width: 72%; aspect-ratio: 1190 / 2091; margin: clamp(10px, 1.6vw, 22px) auto 0;
    background: linear-gradient(165deg, #4949A5 0%, #3C55AC 55%, #2F6AB8 100%);
    -webkit-mask: url("../img/tiecon-art-coin-tin.png") center / contain no-repeat;
            mask: url("../img/tiecon-art-coin-tin.png") center / contain no-repeat; }
@media (max-width: 760px) { .am-tin { width: min(46vw, 170px); } }

/* v20 — page width as on the live tiecon.in (1400px container) */
:root { --container: 1400px; }
/* coin-into-tin back beside the About paragraphs, fully visible */
.about-tiecon .at-wrap { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 20vw, 280px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-tiecon .at-art { display: block; position: static; width: 100%; margin: 0; transform: none; opacity: 1; pointer-events: none; }
.am-tin { display: none; }
@media (max-width: 760px) {
    .about-tiecon .at-wrap { grid-template-columns: 1fr; }
    .about-tiecon .at-art { width: min(200px, 56vw); margin: 8px auto 0; }
}

/* v23 — coin-into-tin as a normal image (also shows when the page is opened from a computer folder) */
.about-tiecon .at-art { background: none; -webkit-mask: none; mask: none; aspect-ratio: auto; }
.about-tiecon .at-art img { display: block; width: 100%; height: auto; }
@media (min-width: 761px) { .about-tiecon .at-wrap { grid-template-columns: minmax(0, 1fr) clamp(180px, 16vw, 230px); } }
@media (max-width: 760px) { .about-tiecon .at-art { width: min(170px, 46vw); } }


/* v26 — footer "Connect With Us" centred in its column (phones only) */
@media (max-width: 760px) {
.footer-grid > .footer-col:last-child { text-align: center; }
.footer-grid > .footer-col:last-child .contact-list { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
.footer-grid > .footer-col:last-child .socials { justify-content: center; }
}

/* v26 — footer on phones: "Connect With Us" centred */
@media (max-width: 760px) {
    .footer-grid > .footer-col:last-child { text-align: center; }
    .footer-grid > .footer-col:last-child .contact-list { justify-items: center; }
    .footer-grid > .footer-col:last-child .contact-list li { flex-direction: column; align-items: center; gap: 6px; }
    .footer-grid > .footer-col:last-child .contact-list .icon { margin-top: 0; }
    .footer-grid > .footer-col:last-child .contact-list address { text-align: center; }
    .footer-grid > .footer-col:last-child .socials { justify-content: center; }
}

/* v27 — "Connect With Us" centred (phones only; desktop keeps the original layout) */
@media (max-width: 760px) {
.footer-grid > .footer-col:last-child { text-align: center; }
.footer-grid > .footer-col:last-child .contact-list { justify-items: center; }
.footer-grid > .footer-col:last-child .contact-list li { flex-direction: column; align-items: center; gap: 6px; }
.footer-grid > .footer-col:last-child .contact-list .icon { margin-top: 0; }
.footer-grid > .footer-col:last-child .contact-list address { text-align: center; }
.footer-grid > .footer-col:last-child .socials { justify-content: center; }
}

/* v30 — desktop footer balanced: logo column and "Connect With Us" mirror each other, Quick Links centred */
@media (min-width: 1200px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 56px; }
    .footer-brand { justify-self: start; max-width: 340px; }
    .footer-col[aria-label="Quick links"] { justify-self: center; }
    .footer-col[aria-label="Quick links"] ul { column-gap: 36px; }
    .footer-grid > .footer-col:last-child { justify-self: end; width: max-content; max-width: 100%; }
}
@media (min-width: 761px) and (max-width: 1199px) {
    .footer-grid > .footer-col:last-child { justify-self: end; width: max-content; max-width: 100%; }
}
