/* GeoHomz site header. Draft tokens from the reference teardown (Anek + Plex Mono, nacre / deep-sea / survey red). */
:root{--gh-bg:#f6f6f3;--gh-ink:#122024;--gh-mute:#5b6669;--gh-rule:#d8dbd7;--gh-sea:#0b3b47;--gh-red:#c4302b;--gh-panel:#fbfbf9;--gh-h:76px;--gh-h-small:60px;--gh-ease:cubic-bezier(.2,.7,.2,1)}
.gh-skip{position:absolute;left:-999px;top:8px;z-index:200;background:var(--gh-ink);color:#fff;padding:10px 14px}
.gh-skip:focus{left:12px}
.gh{position:sticky;top:0;z-index:100;font-family:"Anek Latin","Anek Tamil",system-ui,sans-serif;color:var(--gh-ink);transition:transform .35s var(--gh-ease)}
.gh-bar{position:relative;z-index:3;background:var(--gh-bg);border-bottom:1px solid transparent;transition:border-color .25s,background .25s}
.gh.is-scrolled .gh-bar,.gh.is-open .gh-bar{border-bottom-color:var(--gh-rule)}
.gh.is-hidden{transform:translateY(-100%)}
.gh{margin-bottom:0;transition:transform .35s var(--gh-ease),margin-bottom .3s var(--gh-ease)}
.gh.is-scrolled{margin-bottom:calc(var(--gh-h) - var(--gh-h-small))}
.gh-in{max-width:1320px;margin:0 auto;height:var(--gh-h);display:flex;align-items:center;gap:28px;padding:0 max(4vw,16px);transition:height .3s var(--gh-ease)}
.gh.is-scrolled .gh-in{height:var(--gh-h-small)}
.gh-logo{flex:none;display:block;line-height:0}
.gh-logo img{height:30px;width:auto;filter:brightness(.32) contrast(1.4);transition:height .3s var(--gh-ease)}
.gh.is-scrolled .gh-logo img{height:24px}
.gh-nav{display:flex;align-items:stretch;gap:2px;margin-left:auto;height:100%}
.gh-top{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;gap:6px;padding:0 14px;height:100%;font-size:16px;font-weight:400;cursor:pointer;color:var(--gh-ink);white-space:nowrap}
.gh-top::after{content:"";position:absolute;left:14px;right:14px;bottom:-1px;height:2px;background:var(--gh-ink);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--gh-ease)}
.gh-top:hover::after,.gh-top[aria-expanded=true]::after,.gh-top[aria-current]::after{transform:scaleX(1)}
.gh-top[aria-current]::after{background:var(--gh-red)}
html[lang=ta] .gh-top{font-size:15px;padding:0 11px}
html[lang=ta] .gh-top::after{left:11px;right:11px}
.gh-top:focus-visible{outline:2px solid var(--gh-sea);outline-offset:-6px}
.gh-caret{width:9px;height:9px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .25s var(--gh-ease);opacity:.7}
.gh-top[aria-expanded=true] .gh-caret{transform:translateY(2px) rotate(225deg)}
.gh-tools{display:flex;align-items:center;gap:18px;flex:none}
.gh-lang{all:unset;cursor:pointer;font-size:15px;display:flex;gap:6px;align-items:baseline;padding:8px 2px;color:var(--gh-mute)}
.gh-lang b{font-weight:500;color:var(--gh-ink)}
.gh-lang:focus-visible{outline:2px solid var(--gh-sea);outline-offset:2px}
.gh-cta{display:inline-flex;align-items:center;height:42px;padding:0 20px;background:var(--gh-ink);color:#fff;text-decoration:none;font-size:15px;font-weight:400;white-space:nowrap;transition:background .2s}
.gh-cta:hover{background:var(--gh-sea)}
.gh-burger{all:unset;cursor:pointer;display:none;align-items:center;gap:10px;font-size:16px;height:44px;padding:0 4px}
.gh-burger i{position:relative;display:block;width:22px;height:1.5px;background:currentColor;transition:background .2s}
.gh-burger i::before,.gh-burger i::after{content:"";position:absolute;left:0;width:22px;height:1.5px;background:currentColor;transition:transform .3s var(--gh-ease)}
.gh-burger i::before{top:-7px}.gh-burger i::after{top:7px}
.gh.is-drawer .gh-burger i{background:transparent}
.gh.is-drawer .gh-burger i::before{transform:translateY(7px) rotate(45deg)}
.gh.is-drawer .gh-burger i::after{transform:translateY(-7px) rotate(-45deg)}

/* Desktop mega panels */
.gh-scrim{position:fixed;inset:0;z-index:1;background:rgba(18,32,36,.28);opacity:0;pointer-events:none;transition:opacity .25s}
.gh.is-open .gh-scrim{opacity:1;pointer-events:auto}
.gh-panel{position:absolute;left:0;right:0;top:100%;z-index:2;background:var(--gh-panel);border-bottom:1px solid var(--gh-rule);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .22s,transform .3s var(--gh-ease),visibility 0s .3s;max-height:calc(100vh - var(--gh-h));overflow:auto}
.gh-panel.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .22s,transform .3s var(--gh-ease)}
.gh-pin{max-width:1320px;margin:0 auto;padding:36px max(4vw,16px) 30px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px}
.gh-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(13.5em,1fr));gap:28px 32px;align-content:start}
.gh-group h3{margin:0 0 6px;font-size:13px;font-weight:400;color:var(--gh-mute);font-family:"IBM Plex Mono",ui-monospace,monospace}
.gh-group ul{list-style:none;margin:0;padding:0}
.gh-item{display:block;padding:9px 0;border-top:1px solid var(--gh-rule);text-decoration:none;color:var(--gh-ink)}
.gh-item strong{display:block;font-size:17px;font-weight:400;line-height:1.25}
.gh-item span{display:block;font-size:14px;color:var(--gh-mute);line-height:1.35}
.gh-item em{font-style:normal;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:12px;color:var(--gh-sea)}
.gh-item:hover strong{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.gh-item:focus-visible{outline:2px solid var(--gh-sea);outline-offset:2px}
.gh-panel.is-on .gh-group{animation:ghIn .45s var(--gh-ease) both}
.gh-panel.is-on .gh-group:nth-child(2){animation-delay:.04s}
.gh-panel.is-on .gh-group:nth-child(3){animation-delay:.08s}
.gh-panel.is-on .gh-group:nth-child(4){animation-delay:.12s}
@keyframes ghIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.gh-feature{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:var(--gh-ink)}
.gh-feature img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--gh-rule)}
.gh-feature strong{font-size:20px;font-weight:300;line-height:1.2}
.gh-feature span{font-size:14px;color:var(--gh-mute)}
.gh-foot{max-width:1320px;margin:0 auto;padding:14px max(4vw,16px) 22px;display:flex;gap:28px;flex-wrap:wrap;border-top:1px solid var(--gh-rule);font-size:15px}
.gh-foot a{color:var(--gh-ink)}
.gh-foot .gh-note{color:var(--gh-mute);margin-left:auto}
.gh-time{position:relative;height:28px;margin:4px 0 18px;border-bottom:1px solid var(--gh-ink)}
.gh-time b{position:absolute;bottom:-4px;height:7px;background:var(--gh-sea)}
.gh-time b.is-future{background:transparent;border:1px dashed var(--gh-sea);border-bottom:0}
.gh-time span{position:absolute;bottom:-22px;font:12px "IBM Plex Mono",monospace;color:var(--gh-mute);transform:translateX(-50%)}

/* Drawer (tablet + phone) */
.gh-drawer{position:fixed;left:0;right:0;top:var(--gh-h-cur,var(--gh-h));bottom:0;z-index:2;background:var(--gh-bg);display:flex;flex-direction:column;visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .2s,transform .3s var(--gh-ease),visibility 0s .3s}
.gh.is-drawer .gh-drawer{visibility:visible;opacity:1;transform:none;transition:opacity .2s,transform .3s var(--gh-ease)}
.gh-stage{position:relative;flex:1;overflow:hidden}
.gh-view{position:absolute;inset:0;overflow-y:auto;padding:8px max(5vw,16px) 24px;transition:transform .35s var(--gh-ease),visibility 0s .35s}
.gh-view[hidden]{display:block;visibility:hidden;transform:translateX(100%)}
.gh-view.is-back{visibility:hidden;transform:translateX(-30%)}
.gh-view:not([hidden]):not(.is-back){visibility:visible;transform:none;transition:transform .35s var(--gh-ease)}
.gh-mtop{all:unset;box-sizing:border-box;width:100%;display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--gh-rule);font-size:clamp(28px,7vw,36px);font-weight:200;letter-spacing:-.02em;cursor:pointer;color:var(--gh-ink);text-decoration:none}
.gh-mtop .gh-caret{transform:rotate(-45deg);width:11px;height:11px}
.gh-mtop:focus-visible,.gh-back:focus-visible{outline:2px solid var(--gh-sea)}
.gh-back{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 0 8px;font-size:15px;color:var(--gh-mute)}
.gh-back .gh-caret{transform:rotate(135deg)}
.gh-view h2{margin:0 0 14px;font-size:32px;font-weight:200;letter-spacing:-.02em}
.gh-view .gh-cols{grid-template-columns:repeat(auto-fit,minmax(16em,1fr))}
.gh-view .gh-feature{margin-top:22px}
.gh-view .gh-feature img{aspect-ratio:16/9}
.gh-dfoot{border-top:1px solid var(--gh-rule);padding:12px max(5vw,16px) calc(12px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:auto 1fr;gap:10px 16px;align-items:center;background:var(--gh-bg)}
.gh-dfoot .gh-cta{justify-content:center;height:48px}
.gh-dfoot .gh-quick{grid-column:1/-1;display:flex;gap:20px;font-size:15px}
.gh-dfoot .gh-quick a{color:var(--gh-ink)}

@media (max-width:1199px){
 .gh-nav,.gh-tools .gh-lang{display:none}
 .gh-burger{display:inline-flex}
 .gh-tools{margin-left:auto}
 .gh-panel,.gh-scrim{display:none}
}
@media (min-width:1200px){.gh-drawer{display:none}}
@media (max-width:560px){
 :root{--gh-h:64px;--gh-h-small:56px}
 .gh-tools .gh-cta{display:none}
 .gh-burger span{display:none}
}
@media (prefers-reduced-motion:reduce){.gh *,.gh{transition:none!important;animation:none!important}}
body.gh-lock{overflow:hidden}
