/* ==========================================================================
   Home page (Oct 2026). One design system for the whole page, in the site's own
   fonts (Plus Jakarta Sans, Roboto) and palette:
     60% cream / white   — backgrounds and cards
     30% forest greens   — hero, the Public desk band, the footer, headings
     10% gold            — small highlights only (eyebrow dot, CTA, active states)
   Rhythm: every section starts with the same header (eyebrow + title), cards share
   one radius and one shadow, light and dark bands alternate so the footer always
   sits after a light band. Markup: templates/core/home.html (hx-*).
   ========================================================================== */
.home-page {
    --c-bg: #f9f6ef;          /* site cream */
    --c-surface: #ffffff;
    --c-ink: #0b2a20;
    --c-text: #4b5563;
    --c-muted: #6b7280;
    --c-g900: #042f1a;
    --c-g800: #0b3d2c;
    --c-g700: #065f46;
    --c-g500: #10b981;
    --c-mint: #ecfdf5;
    --c-mint-2: #d1fae5;
    --c-gold: #F1C40F;
    --c-gold-soft: #fef7d6;
    --c-line: rgba(4, 47, 26, 0.09);
    --r-card: 20px;
    --shadow: 0 1px 2px rgba(4, 47, 26, .04), 0 12px 32px -18px rgba(4, 47, 26, .28);
    --shadow-up: 0 1px 2px rgba(4, 47, 26, .04), 0 26px 48px -22px rgba(4, 47, 26, .38);
    --gutter: clamp(20px, 5vw, 96px);
    --space: clamp(72px, 8vw, 120px);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;   /* body 400, headings 700 */
    --num: 'Roboto', 'Plus Jakarta Sans', sans-serif;
    --ease: cubic-bezier(.22, .8, .2, 1);
    background: var(--c-bg);
    font-family: var(--font);
}
div.home-page { font-family: var(--font); }
.hx-gutter { padding-inline: var(--gutter); }

/* base.html forces "section { padding: 25px 0 !important }"; these sections set their own spacing */
.home-page section.hx-hero { padding: 0 !important; }
.home-page section.hx-gov { padding: 0 var(--gutter) !important; }
.home-page section.hx-overview { padding: var(--space) 0 0 !important; }
.home-page section.hx-symbols { padding: 0 0 var(--space) !important; }
.home-page section.hm-ctb { padding: 0 var(--gutter) var(--space) !important; }
.home-page section.hx-desk { padding: var(--space) 0 !important; }

/* ── One section header for the whole page ── */
.hx-head { margin: 0 0 clamp(32px, 3.6vw, 52px); max-width: 760px; }
.hx-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-inline: var(--gutter); }
.hx-head-split > div:first-child { max-width: 760px; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-g700); }
.hx-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 4px rgba(241, 196, 15, .2); }
.hx-eyebrow-light { color: var(--c-mint-2); }
.hx-h2 { font-weight: 700; font-size: clamp(26px, 2.3vw, 36px);   /* Book & maps and Services headings share this size */ line-height: 1.18; letter-spacing: -.01em; color: var(--c-ink); margin: 0; }
.hx-h2 em, .hx-h2 .hm-text-gradient { font-style: normal; color: var(--c-g700); background: none; -webkit-text-fill-color: currentColor; }
.hx-h2-light { color: #fff; }
.hx-h2-light em { color: var(--c-gold); }
.hx-overview-side { max-width: 420px; }
.hx-overview-side p { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--c-text); }

/* ── Live updates ── */
.hx-ticker { display: flex; align-items: stretch; height: 44px; background: var(--c-g900); color: rgba(255, 255, 255, .86); font-size: 13.5px; overflow: hidden; }
.hx-ticker-label { flex: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 22px 0 var(--gutter); font-size: 11px; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: var(--c-gold); border-right: 1px solid rgba(255, 255, 255, .1); }
.hx-ticker-mark { width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 4px rgba(241, 196, 15, .2); animation: hxPulse 2s ease-in-out infinite; }
@keyframes hxPulse { 50% { box-shadow: 0 0 0 7px rgba(241, 196, 15, 0); } }
.hx-ticker-viewport { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.hx-ticker-track { display: flex; width: max-content; height: 100%; animation: hxTicker 60s linear infinite; }
.hx-ticker:hover .hx-ticker-track, .hx-ticker:focus-within .hx-ticker-track { animation-play-state: paused; }
@keyframes hxTicker { to { transform: translateX(-50%); } }
.hx-ticker-list { display: flex; align-items: center; flex: none; margin: 0; padding: 0; list-style: none; }   /* each copy as wide as its updates (the script repeats them to fill the strip) */
.hx-ticker-list li { display: flex; align-items: center; white-space: nowrap; padding: 0 28px; }
.hx-ticker-list li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); margin-right: 28px; }   /* a dot before every update, also where one copy joins the next */
.hx-ticker-list a { color: inherit; text-decoration: none; transition: color .2s; }
.hx-ticker-list a:hover { color: var(--c-gold); }
.hx-new { margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(241, 196, 15, .16); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold); }

/* ── Hero: fills the screen below the header ── */
.hx-hero { position: relative; height: calc(100svh - var(--hx-hero-top, 150px)); min-height: 560px; overflow: hidden; background: var(--c-g900); color: #fff; isolation: isolate; }
.hx-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; transform: scale(1.04); animation: hxDrift 24s ease-in-out infinite alternate; }
@keyframes hxDrift { to { transform: scale(1.1) translate3d(-1%, -1%, 0); } }
.hx-hero-shade { position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(4, 47, 26, .85) 0%, rgba(4, 47, 26, .5) 40%, rgba(4, 47, 26, 0) 70%),
                linear-gradient(0deg, rgba(4, 47, 26, .55) 0%, rgba(4, 47, 26, 0) 35%); }
.hx-hero-inner { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(clamp(18px, 3vh, 32px) + 160px); max-width: 860px; }   /* above the shortcut bar */
.hx-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hx-kicker-rule { width: 40px; height: 2px; border-radius: 2px; background: var(--c-gold); }
.hx-hero-title { font-weight: 800; font-size: clamp(36px, 4.2vw, 68px); line-height: 1.1; letter-spacing: -.015em; margin: 0; color: #fff; text-wrap: balance; }
.hx-hero-title .hm-text-gradient, .hx-hero-title em { font-style: normal; color: var(--c-gold); background: none; -webkit-text-fill-color: currentColor; }
.hx-hero-desc { max-width: 50ch; margin: 22px 0 0; font-size: clamp(15px, 1.1vw, 18px); line-height: 1.7; color: rgba(255, 255, 255, .84); }
.hx-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hx-btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 18px 15px 28px; background: var(--c-gold); color: var(--c-g900); border-radius: 999px;
    font-size: 14px; font-weight: 700; letter-spacing: .04em; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hx-btn i { width: 30px; height: 30px; border-radius: 50%; background: var(--c-g900); color: var(--c-gold); display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px; transition: transform .35s var(--ease); }
.hx-btn:hover { color: var(--c-g900); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(241, 196, 15, .6); }
.hx-btn:hover i { transform: translateX(3px); }

/* hero footer: caption and pause button, then a frosted bar of shortcuts along the bottom of the video */
.hx-hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(18px, 3vh, 32px); display: flex; flex-direction: column; gap: 14px; }
.hx-hero-ctl { align-self: flex-end; display: flex; align-items: center; gap: 12px; }
.hx-hero-caption { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .8); }
.hx-hero-caption i { color: var(--c-gold); font-size: 11px; }
.hx-hero-play { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(8px); transition: background .3s var(--ease), color .3s var(--ease); }
.hx-hero-play:hover { background: #fff; color: var(--c-g900); }
.hx-quick { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-radius: 18px; overflow: hidden;
    background: rgba(4, 47, 26, .38); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.hx-quick a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px 20px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
    transition: background .3s var(--ease); }
.hx-quick a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
.hx-quick a > span:not(.hx-quick-icon) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-quick-icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1);
    color: var(--c-gold); font-size: 15px; transition: background .3s var(--ease), color .3s var(--ease); }
.hx-quick-go { margin-left: auto; font-size: 12px; opacity: 0; transform: translateX(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hx-quick a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hx-quick a:hover .hx-quick-icon { background: var(--c-gold); color: var(--c-g900); }
.hx-quick a:hover .hx-quick-go { opacity: 1; transform: none; }

/* entrance: the kicker, then the title word by word, then the text, button and footer */
.hx-hero-title.is-split .hx-w { display: inline-block; opacity: 0; transform: translateY(.45em); animation: hxRise .8s var(--ease) calc(150ms + var(--i) * 70ms) forwards; }
.hx-kicker, .hx-hero-desc, .hx-hero-actions, .hx-hero-foot { opacity: 0; animation: hxRise .9s var(--ease) forwards; }
.hx-kicker { animation-delay: 50ms; }
.hx-hero-desc { animation-delay: 700ms; }
.hx-hero-actions { animation-delay: 850ms; }
.hx-hero-foot { animation-delay: 1000ms; }
@keyframes hxRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hx-textlink { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35);
    color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); transition: background .3s, border-color .3s; }
.hx-textlink:hover { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.hx-textlink i { font-size: 12px; }

/* ── State governance: its own section between the video and the cards ── */
.home-page section.hx-gov { padding: clamp(56px, 6vw, 88px) var(--gutter) 0 !important; }
/* small section headings (State Governance; one heading for the cards, state symbols and figures) */
.hx-mini-head { display: flex; align-items: center; justify-content: center; text-align: center; gap: 12px; max-width: 1400px; margin: 0 auto clamp(18px, 2vw, 26px); font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.hx-mini-head::before, .hx-mini-head::after { content: ""; flex: none; width: 28px; height: 3px; border-radius: 3px; background: var(--c-gold); }
.hx-mini-head em { font-style: normal; }   /* a CMS title may mark a word (e.g. Symbols of <em>Meghalaya</em>); the small heads stay upright */
.hx-overview > .hx-mini-head { width: min(1400px, 100% - 2 * var(--gutter)); }   /* same left edge as State Governance */
/* one deep-green block: the department on the left, the leaders listed on the right (CM first) */
.hx-gov-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 1400px; margin: 0 auto; border-radius: var(--r-card); overflow: hidden;
    color: #fff; box-shadow: 0 40px 70px -40px rgba(4, 47, 26, .75);
    background: radial-gradient(520px 380px at 0% 100%, rgba(241, 196, 15, .16), transparent 70%), radial-gradient(700px 360px at 100% 0%, rgba(16, 185, 129, .22), transparent 70%),
        linear-gradient(135deg, #0b3d2c 0%, #042f1a 100%); }
.hx-gov-intro { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.2vw, 52px); border-right: 1px solid rgba(255, 255, 255, .12); }
/* the state logo and the department logo side by side, one size */
/* the name as in the header: state logo · DEPARTMENT NAME (one line) over GOVERNMENT OF MEGHALAYA · department logo */
.hx-gov-brand { display: flex; align-items: center; gap: 12px; margin: -16px 0 28px; }   /* a little above the panel's centre */
.hx-gov-emblem { flex: none; width: 52px; height: 52px; box-sizing: border-box; object-fit: contain; padding: 3px; border-radius: 50%; background: #fff;   /* a snug white disc behind each logo, */
    border: 1px solid #fff; outline: 1px solid rgba(255, 255, 255, .6); outline-offset: 2px; }                                                                   /* with a hairline white ring around it */
.hx-gov-brand-text { display: flex; flex-direction: column; min-width: 0; }
.hx-gov-intro h3 { margin: 0; font-weight: 800; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: #fff; }
.hx-gov-intro .hx-gov-org { margin-top: 5px; font-size: clamp(10.5px, .85vw, 13px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a7f3d0; }
@media (min-width: 1600px) { .hx-gov-intro h3 { font-size: 17.5px; } .hx-gov-intro .hx-gov-org { font-size: 13.5px; } }   /* wide screens: room for a larger name on one line */
@media (max-width: 480px) {   /* a phone, as the header does it: the name in sentence case over two lines, the Government line small */
    .hx-gov-emblem { width: 44px; height: 44px; }
    .hx-gov-intro h3 { white-space: normal; text-transform: none; font-size: 15px; line-height: 1.2; letter-spacing: -.01em; }
    .hx-gov-intro .hx-gov-org { white-space: nowrap; font-size: 10px; letter-spacing: .1em; }
}
.hx-gov-intro p { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .8); max-width: 46ch; }
/* outlined button: white text, a gold arrow in its own circle; fills white on hover */
.hx-gov-intro a { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 22px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .02em; text-decoration: none;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.hx-gov-intro a i { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--c-gold); color: var(--c-g900);
    font-size: 13px; transition: transform .3s var(--ease); }
.hx-gov-intro a:hover { background: #fff; border-color: #fff; color: var(--c-g900); }
.hx-gov-intro a:hover i { transform: translateX(3px) rotate(-45deg); }
.hx-gov-leaders { display: flex; flex-direction: column; justify-content: center; padding: clamp(12px, 1.6vw, 24px) clamp(24px, 3vw, 52px); }
.hx-leader { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 28px); padding: clamp(20px, 2vw, 30px) 0; }
.hx-leader + .hx-leader { border-top: 1px solid rgba(255, 255, 255, .12); }
.hx-leader-photo { flex: none; width: clamp(86px, 6.6vw, 108px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: rgba(255, 255, 255, .1);
    display: flex; align-items: center; justify-content: center; color: #a7f3d0; font-size: 34px; box-shadow: 0 0 0 3px rgba(241, 196, 15, .6), 0 14px 28px -12px rgba(0, 0, 0, .5); }
.hx-leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hx-leader-name { font-weight: 800; font-size: clamp(19px, 1.5vw, 23px); color: #fff; margin: 0 0 10px; line-height: 1.25; }
.hx-leader-role { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); }

/* ── Endless strips (overview cards, state symbols): the track holds the cards twice and slides by half ── */
.hx-loop { position: relative; overflow: hidden; padding: 12px 0 28px; }
/* < > at both ends of each strip */
.hx-strip-btn { position: absolute; top: 50%; z-index: 5; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .94); color: var(--c-g800); box-shadow: 0 12px 28px -12px rgba(4, 47, 26, .55); display: flex; align-items: center;
    justify-content: center; font-size: 16px; transition: background .25s, color .25s, transform .25s var(--ease); }
.hx-strip-btn:hover, .hx-strip-btn:focus-visible { background: var(--c-g800); color: #fff; transform: scale(1.06); outline: none; }
.hx-strip-prev { left: clamp(12px, 2vw, 32px); }
.hx-strip-next { right: clamp(12px, 2vw, 32px); }
.hx-loop-track { display: flex; gap: 20px; width: max-content; will-change: transform; }   /* moved by runStrip() in home.html */

.hx-loop:hover .hx-loop-track, .hx-loop:focus-within .hx-loop-track { animation-play-state: paused; }
@keyframes hxLoop { to { transform: translateX(calc(-50% - 10px)); } }

/* ── State overview cards ── */
/* Each card: a dark gradient in its own colour with a fine grain, a thin light edge, a glass icon chip and label pill,
   a large outlined number, and on hover a soft light that follows the pointer (--mx, --my set by the script) */
.hx-card { --t-from: #0b4d36; --t-to: #042f1a; --t-glow: rgba(16, 185, 129, .32); --t-acc: #6ee7b7;
    flex: 0 0 max(290px, calc((100vw - 60px) / 3.6)); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
    min-height: clamp(236px, 16vw, 264px); padding: 22px 26px 24px; border-radius: var(--r-card); color: #fff;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .1 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(90% 70% at 100% 0%, var(--t-glow) 0%, transparent 62%), radial-gradient(80% 60% at 0% 100%, rgba(0, 0, 0, .32) 0%, transparent 70%),
        linear-gradient(160deg, var(--t-from) 0%, var(--t-to) 100%);
    box-shadow: 0 26px 48px -30px rgba(4, 30, 18, .8); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
/* thin light edge, brighter at the top-left */
.hx-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(150deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .06) 40%, rgba(255, 255, 255, 0) 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: background .5s var(--ease); }
/* the light that follows the pointer */
.hx-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .13), transparent 70%); }
.hx-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(4, 30, 18, .9); }
.hx-card:hover::after { opacity: 1; }
.hx-card:hover::before { background: linear-gradient(150deg, var(--t-acc), rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, 0) 75%); }
.hx-card-no { position: absolute; right: 20px; top: 6px; z-index: -1; font-family: var(--num); font-weight: 900; font-size: clamp(64px, 5vw, 80px); line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); letter-spacing: -.02em; transition: -webkit-text-stroke-color .5s var(--ease), transform .6s var(--ease); }
.hx-card:hover .hx-card-no { -webkit-text-stroke-color: color-mix(in srgb, var(--t-acc) 55%, transparent); transform: translateY(4px); }
.hx-card-top { display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: auto; padding-bottom: 18px; }
.hx-card-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--t-acc);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); transition: transform .5s var(--ease); }
.hx-card:hover .hx-card-icon { transform: rotate(-6deg) scale(1.06); }
.hx-card-tag { min-width: 0; margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--t-acc); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-card h3 { margin: 0 0 10px; font-weight: 700; font-size: 21px; line-height: 1.3; color: #fff; }
.hx-card-text { margin: 0; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .74); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* the five colours, one per card in turn */
.hx-tone-2 { --t-from: #6b4f0a; --t-to: #3a2a04; --t-glow: rgba(241, 196, 15, .32);  --t-acc: #F1C40F; }   /* gold */
.hx-tone-3 { --t-from: #0f5c63; --t-to: #06343a; --t-glow: rgba(45, 212, 191, .3);   --t-acc: #7fe0d6; }   /* teal */
.hx-tone-4 { --t-from: #4a5a1c; --t-to: #26300c; --t-glow: rgba(190, 220, 100, .26); --t-acc: #cfe38a; }   /* moss */
.hx-tone-5 { --t-from: #7a3a17; --t-to: #3d1b09; --t-glow: rgba(251, 146, 60, .3);   --t-acc: #fdba8c; }   /* clay */

/* ── Key figures: full width, over a Khasi Hills photograph toned forest green; type only, no ornaments ── */
.hx-figures { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    column-gap: clamp(20px, 3vw, 56px); row-gap: 36px; margin: 40px 0 16px; padding: clamp(40px, 4vw, 60px) var(--gutter);
    background: var(--c-g900) var(--hx-figures-photo) center 40% / cover no-repeat; }
.hx-figures::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-g900); mix-blend-mode: multiply; opacity: .78; }
.hx-figures::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 47, 26, .55), rgba(4, 47, 26, .2) 50%, rgba(4, 47, 26, .7)); }
.hx-figure { position: relative; text-align: center; padding: 8px 12px; }
.hx-figure + .hx-figure::before { content: ""; position: absolute; left: calc(-1 * clamp(10px, 1.5vw, 28px)); top: 50%; width: 7px; height: 7px;
    background: var(--c-gold); transform: translate(-50%, -50%) rotate(45deg); opacity: .8; }
.hx-figure-value { display: flex; justify-content: center; align-items: baseline; gap: 6px; margin: 0; font-family: var(--font); font-weight: 800;
    font-size: clamp(40px, 3.8vw, 64px); line-height: 1; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.hx-figure-unit { font-size: .38em; font-weight: 700; letter-spacing: 0; color: var(--c-mint-2); }
.hx-figure-label { margin: 14px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-gold); }
@media (max-width: 900px) { .hx-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── State symbols: an endless strip of pictures; hover shows the details, click opens a picture wider ── */
.hx-symbols .hx-loop { padding: 64px 0 56px; margin-top: -40px; }   /* room for the hovered picture to pop out */
.hx-symbol { position: relative; flex: 0 0 max(240px, 19vw); height: clamp(380px, 30vw, 500px); border-radius: var(--r-card); overflow: hidden; cursor: pointer;
    background: var(--c-g900); box-shadow: var(--shadow); outline: none;
    transition: flex-basis .7s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.hx-symbol.is-focus { transform: translateY(-16px) scale(1.06); z-index: 3; box-shadow: 0 34px 60px -24px rgba(4, 47, 26, .6); }
/* while one picture is hovered, the others step back: smaller and dimmer */
.hx-loop-track.has-focus .hx-symbol:not(.is-focus) { transform: scale(.94); filter: brightness(.85); }
.hx-symbol { transition: flex-basis .7s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), filter .45s; }
/* the picture last hovered or clicked stays open wide (js in home.html) */
.hx-symbol.is-open { flex-basis: clamp(480px, 40vw, 680px); }

.hx-symbol img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }

.hx-symbol.is-focus img { transform: scale(1.05); filter: none; }
.hx-symbol::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 47, 26, 0) 45%, rgba(4, 47, 26, .75) 100%); transition: background .5s; }
/* hovered: the picture stays clear at the top; the green only builds up behind the text at the bottom */
.hx-symbol.is-focus::after { background: linear-gradient(180deg, rgba(4, 47, 26, 0) 0%, rgba(4, 47, 26, 0) 30%, rgba(4, 47, 26, .82) 58%, rgba(4, 47, 26, .97) 100%); }
/* the hovered picture: a thin gold border */
.hx-symbol::after { border-radius: inherit; transition: background .5s, box-shadow .45s var(--ease); }
.hx-symbol.is-focus::after { box-shadow: inset 0 0 0 2px var(--c-gold); }
.hx-symbol-kind { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--c-g800);
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hx-symbol-info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 24px 24px; color: #fff; }
.hx-symbol-info h3 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: #fff; }
.hx-symbol-text { max-height: 0; opacity: 0; overflow: hidden; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .88);
    transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.hx-symbol.is-focus .hx-symbol-text { max-height: 260px; opacity: 1; margin-top: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.hx-symbol.is-focus .hx-symbol-info h3 { color: var(--c-gold); }

/* ── Coffee Table Book in the same language ── */
.home-page .hm-ctb-inner { max-width: none; border-radius: var(--r-card); border: 1px solid var(--c-line); box-shadow: var(--shadow);
    grid-template-columns: minmax(280px, 460px) 1fr; padding: clamp(28px, 3.6vw, 56px) clamp(28px, 4.5vw, 72px); background: var(--c-surface);
    background-image: radial-gradient(600px 300px at 100% 0%, var(--c-mint), transparent 70%); }
.home-page .hm-ctb-cover img { aspect-ratio: auto; height: auto; transform: none; border-radius: 12px; box-shadow: 0 22px 40px -18px rgba(4, 47, 26, .5); }
.home-page .hm-ctb-cover-blank { transform: none; border-radius: 12px; box-shadow: 0 22px 40px -18px rgba(4, 47, 26, .5); }
.home-page .hm-ctb-cover:hover img, .home-page .hm-ctb-cover:hover .hm-ctb-cover-blank { transform: translateY(-6px); }
.hx-ctb-title { margin: 0 0 18px; }
.hx-shelf-text .hm-ctb-name { font-size: clamp(18px, 1.4vw, 22px); color: var(--c-g700); margin-bottom: 8px; }
.hm-ctb-name { font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; color: var(--c-ink); margin: 0 0 12px; }
.hm-ctb-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-g500); }
.home-page .hm-ctb-text h2 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; color: var(--c-ink); }
.home-page .hm-ctb-btn { border-radius: 999px; font-size: 14px; padding: 14px 24px; }
.home-page .hm-ctb-primary { background: var(--c-g800); }
.home-page .hm-ctb-soon { border-radius: 999px; background: var(--c-gold-soft); color: #8a6d00; }

/* ── Book & maps: one card holding a closed book; hover opens it and lays the documents out in a row ── */
.hx-shelf { position: relative; height: clamp(440px, 34vw, 520px); background: var(--c-g900); border-radius: var(--r-card); overflow: hidden;
    box-shadow: 0 40px 70px -40px rgba(4, 47, 26, .75);   /* deep forest green; a gold light falls on the book */
    background-image: radial-gradient(520px 420px at 27% 52%, rgba(241, 196, 15, .22), transparent 70%), radial-gradient(800px 380px at 100% 0%, rgba(16, 185, 129, .22), transparent 70%),
        linear-gradient(135deg, #0b3d2c 0%, #042f1a 100%); }
.hx-shelf::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;   /* fine dot texture */
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.4px); background-size: 18px 18px; }
.hx-shelf .hx-ctb-title { color: #fff; }
.hx-shelf .hx-h2 em { color: var(--c-gold); }
.hx-shelf-text .hm-ctb-name { color: #a7d8b8; }
.hx-shelf-text p { color: rgba(255, 255, 255, .78); }
.hx-shelf .hx-doc h3 { color: #fff; }
.hx-shelf .hx-doc-img { border-color: rgba(255, 255, 255, .12); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .7); }
.hx-shelf .hx-doc-actions a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }
.hx-shelf .hx-doc-actions a:first-child { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-g900); }
.hx-shelf .hx-doc-actions a:hover { background: #fff; border-color: #fff; color: var(--c-g900); }

.hx-shelf-closed { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(300px, 46%) 1fr; align-items: center; gap: clamp(32px, 4vw, 72px);
    padding: 0 clamp(32px, 5vw, 90px); transition: opacity .45s var(--ease) .15s; }
.hx-shelf-text p { margin: 0 0 18px; font-size: 16px; line-height: 1.75; }
.hx-shelf-hint { cursor: pointer; }
.hx-shelf-hint { border: 0; font-family: inherit; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: var(--c-gold); color: var(--c-g900) !important;
    font-size: 13px !important; font-weight: 700; transition: background .25s, transform .25s; }
.hx-shelf-hint:hover { background: #fff; transform: translateY(-2px); }

/* the closed card: a fan of the covers (markup and script: home.html, runFan). Every card sits in the same spot;
   data-pos (set by the script) turns and slides it. The front cover opens the book. */
.hx-fan { position: relative; height: clamp(300px, 26vw, 400px); touch-action: pan-y; border-radius: var(--r-card); }
.hx-fan-card { --tone: var(--c-mint-2); position: absolute; left: 50%; top: 50%; width: clamp(240px, 22vw, 330px);
    margin: 0; padding: 12px 12px 0; border: 0; border-radius: var(--r-card); background: var(--tone); text-align: left; cursor: pointer;
    display: flex; flex-direction: column; font: inherit; color: var(--c-ink);
    transform: translate(-50%, -50%) scale(.86); opacity: 0; z-index: 1;
    transition: transform .6s var(--ease), opacity .45s var(--ease), box-shadow .6s var(--ease); }
.hx-fan-card:nth-child(4n + 2) { --tone: var(--c-gold-soft); }
.hx-fan-card:nth-child(4n + 3) { --tone: #d6e6da; }
.hx-fan-card:nth-child(4n + 4) { --tone: #f2ede1; }
.hx-fan-photo { aspect-ratio: 1.41 / 1; border-radius: calc(var(--r-card) - 8px); overflow: hidden; background: rgba(4, 47, 26, .08);
    display: flex; align-items: center; justify-content: center; color: var(--c-g700); font-size: 34px; }
.hx-fan-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hx-fan-caption { display: flex; flex-direction: column; gap: 4px; padding: 14px 6px 16px; }
.hx-fan-caption strong { font-family: var(--font); font-weight: 700; font-size: 17px; line-height: 1.3; }

.hx-fan-card[data-pos="front"] { transform: translate(-50%, -50%) rotate(-2deg); opacity: 1; z-index: 4;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); }
.hx-fan-card[data-pos="next"] { transform: translate(-6%, -46%) rotate(9deg) scale(.9); opacity: 1; z-index: 3; }
.hx-fan-card[data-pos="prev"] { transform: translate(-94%, -47%) rotate(-11deg) scale(.86); opacity: 1; z-index: 2; }
.hx-fan-card[data-pos="next"]:hover { transform: translate(-4%, -48%) rotate(7deg) scale(.92); }
.hx-fan-card[data-pos="prev"]:hover { transform: translate(-96%, -49%) rotate(-9deg) scale(.88); }
.hx-fan-card[data-pos="front"]:hover .hx-fan-photo img { transform: scale(1.04); }
/* only the front card shows its name; the cards peeking out behind show just their frame and cover */
.hx-fan-caption { transition: opacity .3s var(--ease); }
.hx-fan-card:not([data-pos="front"]) .hx-fan-caption { opacity: 0; }
/* telling people the cards can be clicked: a hint under the fan */
.hx-fan-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 5; margin: 0; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px; background: var(--c-gold); color: var(--c-g900); font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none; }
.hx-fan-hint i { font-size: 13px; }
@media (prefers-reduced-motion: no-preference) { .hx-fan-hint i { animation: hxTap 1.6s ease-in-out infinite; } }
@keyframes hxTap { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
.hx-fan-card:focus-visible, .hx-fan:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .hx-fan-card, .hx-fan-photo img { transition: none; } }

/* the open state: the documents fan out into a row */
.hx-shelf-row { position: absolute; inset: 0; margin: 0; padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px); list-style: none;
    display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: center; pointer-events: none; }
.hx-doc { display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translate(calc(-1 * var(--i) * 60px), 30px) scale(.86) rotate(-3deg);
    transition: opacity .45s var(--ease), transform .7s var(--ease); }
.hx-doc-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.41 / 1; border-radius: 12px; overflow: hidden; background: #fff;
    border: 1px solid var(--c-line); box-shadow: var(--shadow); color: var(--c-g700); font-size: 34px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.hx-doc-img img { width: 100%; height: 100%; object-fit: contain; }
.hx-doc:first-child .hx-doc-img img { object-fit: cover; }
.hx-doc-img:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); }
.hx-doc h3 { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--c-ink); line-height: 1.35; }
.hx-doc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hx-doc-actions a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; text-decoration: none;
    border: 1px solid var(--c-line); color: var(--c-g700); background: #fff; transition: background .25s, color .25s, border-color .25s; }
.hx-doc-actions a:first-child { background: var(--c-g800); border-color: var(--c-g800); color: #fff; }
.hx-doc-actions a:hover { background: var(--c-g700); border-color: var(--c-g700); color: #fff; }

.hx-shelf.is-open .hx-shelf-closed { opacity: 0; transition-delay: .45s; }
.hx-shelf.is-open .hx-shelf-row { pointer-events: auto; }
.hx-shelf-close { position: absolute; z-index: 2; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .25s, color .25s; }
.hx-shelf-close:hover, .hx-shelf-close:focus-visible { background: #fff; color: var(--c-g900); outline: none; }
.hx-shelf.is-open .hx-shelf-close { opacity: 1; visibility: visible; transition-delay: .6s, .6s, 0s, 0s; }
.hx-shelf.is-open .hx-doc { opacity: 1; transform: none; transition-delay: calc(.55s + var(--i) * .09s); }

/* small screens: no hover, so the row is simply shown */
@media (max-width: 860px) {
    .hx-shelf { height: auto; cursor: default; }
    .hx-shelf-closed { display: none; }
    .hx-shelf-row { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); pointer-events: auto; }
    .hx-doc { opacity: 1; transform: none; }
}
@media (max-width: 480px) { .hx-shelf-row { grid-template-columns: 1fr; } }

/* ── Public desk: the one deep-green band (2 services, 2 results, 2 notices) ── */
.hx-desk { background: var(--c-g800); position: relative; overflow: hidden; }
.hx-desk::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(900px 420px at 100% 0%, rgba(16, 185, 129, .18), transparent 65%), radial-gradient(700px 360px at 0% 100%, rgba(241, 196, 15, .08), transparent 65%); }
.hx-desk > * { position: relative; }
.hx-desk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hx-desk-col { background: var(--c-surface); border-radius: var(--r-card); display: flex; flex-direction: column; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.hx-desk-col:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .55); }
/* each column has its own colour so the three are told apart at a glance */
.hx-desk-moss { --tone: #0f8a5f; --tone-deep: #0b6b4a; --tone-ink: #fff; --tone-bg: var(--c-mint); --tone-text: var(--c-g700); --glyph: "\f109"; }
.hx-desk-ochre { --tone: var(--c-gold); --tone-deep: #d4a90b; --tone-ink: var(--c-g900); --tone-bg: var(--c-gold-soft); --tone-text: #8a6d00; --glyph: "\f46d"; }
.hx-desk-teal { --tone: #0e7490; --tone-deep: #0b5c72; --tone-ink: #fff; --tone-bg: #e6f6fa; --tone-text: #0e7490; --glyph: "\f0f3"; }
.hx-desk-col { border-top: 0; }
.hx-desk-col-head { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 24px 28px; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--tone) 0%, var(--tone-deep) 100%); color: var(--tone-ink); }
.hx-desk-col-head::after { content: var(--glyph); position: absolute; right: -6px; bottom: -22px; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 96px;
    line-height: 1; color: var(--tone-ink); opacity: .12; transform: rotate(-12deg); transition: transform .6s var(--ease), opacity .6s; pointer-events: none; }
.hx-desk-col:hover .hx-desk-col-head::after { transform: rotate(0) scale(1.08); opacity: .18; }
.hx-desk-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .2); color: var(--tone-ink); display: flex; align-items: center; justify-content: center; font-size: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.hx-desk-col-head h3 { position: relative; font-weight: 700; font-size: 19px; color: var(--tone-ink); margin: 0; line-height: 1.3; }
.hx-desk-list { list-style: none; margin: 0 16px; padding: 0 4px 0 0; flex: 1; display: grid; gap: 8px; align-content: start;
    max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(10, 46, 26, .3) transparent; }   /* every entry is listed; a long list scrolls inside its card so the three stay level */
.hx-desk-item, .hx-service { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 14px; border-radius: 14px;
    background: var(--c-bg); text-decoration: none; color: inherit; transition: background .25s; }
.hx-desk-item { grid-template-columns: 58px minmax(0, 1fr) 14px; }
.hx-desk-item:hover { background: var(--tone-bg); }
.hx-date { display: flex; flex-direction: column; align-items: center; padding: 7px 0 6px; border-radius: 10px; background: var(--c-surface); font-size: 10px;
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); line-height: 1.2; box-shadow: 0 1px 2px rgba(4, 47, 26, .08); }
.hx-date b { font-family: var(--num); font-weight: 700; font-size: 22px; letter-spacing: 0; color: var(--tone-text); line-height: 1; margin-bottom: 3px; }
.hx-desk-text { font-size: 14px; line-height: 1.5; color: var(--c-ink); font-weight: 600; display: block; overflow-wrap: anywhere; }   /* the full title, not cut at three lines */
.hx-desk-meta { display: block; margin-bottom: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tone-text); }
.hx-desk-go { margin-top: 3px; font-size: 11px; color: var(--c-muted); transition: transform .3s var(--ease), color .3s; }
.hx-desk-item:hover .hx-desk-go { transform: translate(2px, -2px); color: var(--tone-text); }
.hx-service .hx-desk-text { -webkit-line-clamp: unset; display: block; }
.hx-service-no { width: 58px; height: 48px; border-radius: 10px; background: var(--c-surface); display: flex; align-items: center; justify-content: center;
    font-family: var(--num); font-weight: 700; font-size: 18px; color: var(--tone-text); box-shadow: 0 1px 2px rgba(4, 47, 26, .08); }
.hx-service-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hx-service-links a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-line);
    font-size: 12px; font-weight: 700; color: var(--c-g700); text-decoration: none; transition: background .25s, color .25s; }
.hx-service-links a:hover { background: var(--c-g800); color: #fff; }
.hx-desk-empty { padding: 18px 14px; border-radius: 14px; background: var(--c-bg); font-size: 14px; color: var(--c-muted); }
.hx-desk-all { display: flex; align-items: center; justify-content: space-between; margin: 16px; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--c-line);
    font-size: 13px; font-weight: 700; color: var(--c-ink); text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.hx-desk-all { color: var(--tone-text); border-color: var(--tone-bg); background: var(--tone-bg); }
.hx-desk-all:hover { background: var(--tone); color: var(--tone-ink); border-color: var(--tone); }

/* ── External links: a light strip between the green band and the green footer ── */
.home-page .hm-ext-strip { background: var(--c-bg); border-top: 0; padding: 36px var(--gutter); }
.home-page .hm-ext-inner { max-width: none; gap: 20px 28px; }
.home-page .hm-ext-title { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--c-g700); letter-spacing: .16em; font-size: 12px; }
.home-page .hm-ext-title i { display: none; }
.home-page .hm-ext-links { gap: 10px; }
.home-page .hm-ext-item { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font-size: 13px; box-shadow: var(--shadow); }
.home-page .hm-ext-item i { color: var(--c-g500); }
.home-page .hm-ext-item:hover { background: var(--c-g800); color: #fff; border-color: var(--c-g800); }
.home-page .hm-ext-item:hover i { color: var(--c-gold); }

/* ── Smaller screens ── */
@media (max-width: 1100px) {
    .hx-desk-grid { grid-template-columns: 1fr; }
    .hx-gov-inner { grid-template-columns: 1fr; }
    .hx-gov-intro { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 760px) {
    .hx-figure + .hx-figure::before { display: none; }
    .home-page .hm-ctb-inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 900px) {
    /* the shortcuts become a row that scrolls sideways */
    .hx-quick { grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
    .hx-quick::-webkit-scrollbar { display: none; }
    .hx-quick a { padding: 12px 16px; }
    .hx-quick-go { display: none; }
    .hx-hero-inner { bottom: calc(clamp(18px, 3vh, 32px) + 136px); }
}
@media (max-width: 560px) {
    .hx-ticker-label { padding-right: 14px; }
    .hx-hero { min-height: 600px; }
    .hx-card { flex-basis: 78vw; }
    .hx-symbol { flex-basis: 66vw; } .hx-symbol.is-open { flex-basis: 86vw; }
    .hx-desk-go { display: none; }
    .hx-desk-item { grid-template-columns: 54px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .hx-ticker-track, .hx-hero-media, .hx-ticker-mark, .hx-loop-track { animation: none; }
    .hx-hero-title.is-split .hx-w, .hx-kicker, .hx-hero-desc, .hx-hero-actions, .hx-hero-foot { animation: none; opacity: 1; transform: none; }
    .hx-loop { overflow-x: auto; }
}

/* ── Dark theme (the site inverts the page; keep the dark bands dark and the video natural) ── */
html[data-opera-dark="true"] .hx-ticker, html[data-opera-dark="true"] .hx-hero, html[data-opera-dark="true"] .hx-desk, html[data-opera-dark="true"] .hx-figures { filter: invert(1) hue-rotate(180deg); }
html[data-opera-dark="true"] .hx-hero .hx-hero-media { filter: none !important; }

/* Typography: Plus Jakarta Sans — body 400 with 1.6 line height, headings Bold 700; numbers stay in Roboto (--num).
   Scoped to the page's content (div.home-page): body also carries .home-page, and the shared header and footer must not change. */
div.home-page :is(button, input, select, textarea) { font-family: inherit; }
div.home-page :is(h1, h2, h3, h4, h5, h6), div.home-page .hx-leader-name { font-weight: 700; }
div.home-page p { line-height: 1.6; }

/* Parallax layers (GSAP in home.html): moved through "translate", which adds to any transform the element already has */
.hx-par { translate: 0 var(--par, 0px); will-change: translate; }

/* ── Public desk, compact: a shorter band with slimmer cards (three entries show, the rest scroll) ── */
.home-page section.hx-desk { padding: clamp(36px, 4vw, 56px) 0 !important; }
.hx-desk .hx-head { margin-bottom: clamp(18px, 2vw, 26px); }
.hx-desk .hx-h2 { font-size: clamp(22px, 1.9vw, 28px); }
.hx-desk-grid { gap: 16px; }
.hx-desk-col-head { padding: 14px 22px; margin-bottom: 10px; gap: 12px; }
.hx-desk-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 15px; }
.hx-desk-col-head h3 { font-size: 17px; }
.hx-desk-col-head::after { font-size: 72px; bottom: -18px; }
.hx-desk-list { margin: 0 12px; gap: 6px; }
.hx-desk-item, .hx-service { padding: 9px 12px; gap: 12px; border-radius: 12px; grid-template-columns: 48px minmax(0, 1fr); }
.hx-desk-item { grid-template-columns: 48px minmax(0, 1fr) 14px; }
.hx-date { padding: 5px 0 4px; font-size: 9px; }
.hx-date b { font-size: 18px; margin-bottom: 2px; }
.hx-service-no { width: 48px; height: 38px; font-size: 16px; }
.hx-desk-text { font-size: 13.5px; line-height: 1.4; }
.hx-desk-meta { margin-bottom: 1px; font-size: 10px; }
.hx-service-links { margin-top: 6px; gap: 6px; }
.hx-service-links a { padding: 4px 10px; font-size: 11.5px; }
.hx-desk-empty { padding: 12px; font-size: 13.5px; }
.hx-desk-all { margin: 10px 12px 12px; padding: 9px 16px; font-size: 12.5px; }
@media (max-width: 760px) { .hx-desk-item { grid-template-columns: 46px minmax(0, 1fr); } }

/* the date: a small blue rectangle, day over month over year, centred */
.hx-desk .hx-date { justify-self: start; align-self: center; box-sizing: border-box; width: 46px; padding: 6px 0 5px; border-radius: 8px; gap: 1px;
    background: linear-gradient(160deg, #1d8fb0 0%, #0e7490 100%); color: rgba(255, 255, 255, .88); box-shadow: 0 2px 6px -2px rgba(14, 116, 144, .6);
    font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.15; text-align: center; white-space: nowrap; }
.hx-desk .hx-date b { color: #fff; font-size: 19px; line-height: 1; margin-bottom: 2px; }
.hx-desk .hx-desk-item { align-items: center; }
.hx-desk .hx-desk-item .hx-desk-go { align-self: start; }

/* each column's small card takes the colour of its heading: Resources (yellow) dates, Online Services (green) numbers */
.hx-desk .hx-desk-ochre .hx-date { background: linear-gradient(160deg, #f6cf2a 0%, #e0b00f 100%); color: rgba(10, 46, 26, .85); box-shadow: 0 2px 6px -2px rgba(212, 169, 11, .7); }
.hx-desk .hx-desk-ochre .hx-date b { color: var(--c-g900, #0a2e1a); }
.hx-desk .hx-service-no { align-self: center; background: linear-gradient(160deg, #14a06f 0%, #0b6b4a 100%); color: #fff; box-shadow: 0 2px 6px -2px rgba(11, 107, 74, .6); }

/* ── Meghalaya at a Glance: the dark cards framed twice — a thin border in each card's accent colour, and a finer line inside it ──
   (--t-acc is the card's accent, set by hx-tone-1…5 above) */
.hx-card { border: 1px solid color-mix(in srgb, var(--t-acc) 55%, transparent); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.hx-card::before { inset: 6px; padding: 0; border-radius: calc(var(--r-card) - 5px); z-index: 0; pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .14); background: none; -webkit-mask: none; mask: none; transition: border-color .4s var(--ease), inset .4s var(--ease); }
.hx-card:hover { border-color: var(--t-acc); }
.hx-card:hover::before { background: none; border-color: color-mix(in srgb, var(--t-acc) 45%, transparent); inset: 8px; }
.hx-card-top, .hx-card h3, .hx-card-text { position: relative; z-index: 1; }

/* Meghalaya at a Glance, card contents: no number; a larger colourful icon badge (flat-illustration look, two tones of the card's
   colour) with the label beside it; the heading sits close under them instead of at the bottom of a tall card */
.hx-card { min-height: 0; padding: 24px 26px 26px; }
.hx-card-top { gap: 14px; margin-bottom: 0; padding-bottom: 16px; }
.hx-card-icon { width: 60px; height: 60px; border-radius: 50%; font-size: 26px; border: 2px solid color-mix(in srgb, var(--t-acc) 70%, transparent);
    background: radial-gradient(circle at 30% 25%, #fff 0%, color-mix(in srgb, var(--t-acc) 28%, #fff) 100%);
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .55), inset 0 -4px 8px color-mix(in srgb, var(--t-acc) 35%, transparent); }
.hx-card-icon i { background: linear-gradient(150deg, color-mix(in srgb, var(--t-acc) 55%, var(--t-from)) 0%, color-mix(in srgb, var(--t-from) 80%, #000) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-text-fill-color: transparent; filter: drop-shadow(2px 2px 0 color-mix(in srgb, var(--t-acc) 40%, transparent)); }
.hx-card-tag { padding: 0 0 0 14px; border: 0; border-radius: 0; background: none; position: relative; font-size: 11px; letter-spacing: .16em; }
.hx-card-tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 18px; margin-top: -9px; border-radius: 2px; background: var(--t-acc); }
.hx-card h3 { margin-top: 4px; }
