/* ============================================
   AALT — Premium Framer-Style Design
   ============================================ */

:root {
    --gold: #bfa264;
    --gold-light: #d1b87e;
    --gold-dim: rgba(191, 162, 100, 0.12);
    --gold-border: rgba(191, 162, 100, 0.15);
    --bg: #1a1714;
    --bg-card: #221f1b;
    --bg-elevated: #2a2621;
    --surface: #272320;
    --text: #f0ebe0;
    --text-2: #b5ad9a;
    --text-3: #847b6a;
    --border: rgba(255, 255, 255, 0.08);
    --border-2: rgba(255, 255, 255, 0.13);
    --radius: 14px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Brand Font --- */
@font-face {
    font-family: 'Technopollas';
    src: url('img/Technopollas.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.brand-text {
    font-family: 'Technopollas', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--bg);
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.page-wrap > * { flex-shrink: 0; }
.page-wrap > .footer { margin-top: auto; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(28px, 3.5vw, 48px) 0; position: relative; overflow: hidden; }
.mono { font-family: 'IBM Plex Mono', monospace; }


/* --- Nav Vehicle SVG --- */
.nav-logo {
    position: relative;
    overflow: visible;
}

.nav-vehicle-svg {
    display: none;
}

/* --- Grain Overlay --- */
.grain {
    position: fixed; inset: 0; z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}


/* --- Preloader --- */
.preloader {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 24px;
}

.preloader-counter {
    font-family: 'Sora', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--gold);
    line-height: 1;
}

.preloader-bar {
    width: 160px; height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-logo {
    margin-bottom: 24px;
}

.preloader-logo img {
    height: 40px;
    opacity: 0.6;
}

.preloader-bar-fill {
    width: 0%; height: 100%;
    background: var(--gold);
    border-radius: 2px;
}

/* ==============================
   NAVIGATION
   ============================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 80px;
    padding: 0 clamp(20px, 4vw, 40px);
    display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    transition: background 0.4s, backdrop-filter 0.4s, height 0.4s;
    pointer-events: auto;
}

.nav.scrolled {
    background: rgba(12, 10, 6, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 80px;
    border-bottom: 1px solid var(--border);
}

/* Always show nav background on all pages except homepage */
body:not(.homepage) .nav {
    background: rgba(12, 10, 6, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 46px; }
.nav-logo-text { font-family: 'Technopollas', sans-serif; color: var(--text); display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text .logo-top { font-size: 1.1rem; letter-spacing: 0.24em; display: block; }
.nav-logo-text .logo-bottom { font-size: 0.48rem; margin-top: 4px; display: block; letter-spacing: 0.70em; }
.nav-logo-text.brand-text { font-size: 2.4rem; letter-spacing: 0.15em; display: inline; }

.nav-links {
    display: flex; gap: clamp(12px, 1.65vw, 28px);
    position: static; transform: none;
    justify-self: center;
    align-items: center;
    white-space: nowrap;
}

.nav-link {
    font-size: 1.1rem; font-weight: 400;
    color: var(--text-2);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

/* Research navigation */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown::after {
    content:'';
    position:absolute;
    z-index:1;
    top:100%;
    left:-18px;
    right:-18px;
    height:18px;
}
.nav-dropdown > .nav-link { display: flex; align-items: center; gap: 6px; }
.nav-research-label { line-height: 1.12; }
.nav-dropdown > .nav-link i { font-size: .9rem; transition: transform .25s; }
.nav-dropdown:hover > .nav-link i, .nav-dropdown:focus-within > .nav-link i { transform: rotate(180deg); }
.nav-submenu { position: absolute; z-index:2; top: calc(100% + 16px); left: 50%; min-width: 285px; padding: 10px; transform: translate3d(-50%,6px,0); backface-visibility:hidden; will-change:opacity,transform; background: rgba(18,15,10,.98); border: 1px solid var(--border); box-shadow: 0 18px 50px rgba(0,0,0,.45); opacity: 0; visibility: hidden; pointer-events:none; transition:opacity .18s ease,transform .18s var(--ease),visibility 0s linear .18s; }
.nav-dropdown:hover .nav-submenu, .nav-dropdown:focus-within .nav-submenu, .nav-dropdown.is-open .nav-submenu { opacity: 1; visibility: visible; pointer-events:auto; transform:translate3d(-50%,0,0); transition-delay:0s; }
.nav-dropdown.is-open > .nav-link i { transform: rotate(180deg); }
.nav-submenu a { display: block; padding: 11px 13px; color: var(--text-2); font-size: .86rem; border-bottom: 1px solid var(--border); transition: color .2s, background .2s; }
.nav-submenu a:last-child { border-bottom: 0; }
.nav-submenu a:hover { color: var(--gold); background: rgba(191,162,100,.07); }
.mobile-research-title { padding: 14px 0 7px; color: var(--gold); font: 500 .7rem 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.mobile-research-link { display:block; padding: 8px 0 8px 16px; color:var(--text-2); font-size:.92rem; border-left:1px solid var(--border); }
.mobile-menu { overflow-y: auto; justify-content: flex-start; }

.nav-cta {
    display: flex; align-items: center; gap: 6px;
    font-size: 1rem; font-weight: 500;
    color: var(--gold);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-cta:hover { opacity: 0.7; }
.nav-cta i { font-size: 1rem; }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
    position: relative; z-index: 1002; grid-column: 3;
}

.hamburger { display: flex; flex-direction: column; gap: 6px; }
.hamburger span {
    display: block; width: 24px; height: 1.5px;
    background: var(--gold); transition: all 0.3s var(--ease);
}

.nav-toggle.active .hamburger span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}
.nav-toggle.active .hamburger span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

@media (max-width: 1200px) {
    .nav { grid-template-columns: minmax(0, 1fr) max-content; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: block; grid-column: 2; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 320px; max-width: 85vw;
    z-index: 1001;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    display: flex; flex-direction: column;
    justify-content: center; padding: 80px 40px 40px;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.45s var(--ease), box-shadow 0.45s;
    box-shadow: none;
}
.mobile-menu-close {
    position: absolute; top: 24px; right: 24px;
    background: none; border: none; cursor: pointer;
    color: var(--text-2); font-size: 1.5rem;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    transition: color 0.3s, background 0.3s;
}
.mobile-menu-close:hover {
    color: var(--gold);
    background: rgba(191, 162, 100, 0.08);
}

.mobile-menu.active {
    transform: translateX(0);
    pointer-events: all;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.4s;
}
.mobile-menu-overlay.active {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: all;
}

.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    color: var(--text-2);
    overflow: hidden; display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s, padding-left 0.3s;
}
.mobile-link:last-child { border-bottom: none; }
.mobile-link span { display: block; }
.mobile-link:hover { color: var(--gold); padding-left: 8px; }

.mobile-menu-footer {
    margin-top: auto; padding-top: 24px;
    display: flex; flex-direction: column; gap: 8px;
    font-size: 0.75rem; color: var(--text-3);
}

/* ==============================
   TYPOGRAPHY
   ============================== */
.label {
    font-size: 0.75rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-3);
    display: block; margin-bottom: 20px;
}

.section-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400; line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-heading em, .big-statement em, .hero-heading em, .cta-heading em {
    font-style: normal; font-weight: 300; color: var(--gold);
}

.line { display: block; overflow: hidden; padding-bottom: 0.1em; }
.line-inner { display: block; }

.large-text {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.7; color: var(--text);
    margin-bottom: 24px;
}

.body-text {
    font-size: 0.95rem; line-height: 1.8;
    color: var(--text-2); margin-bottom: 16px;
}

/* ==============================
   BUTTONS
   ============================== */
.pill-btn {
    display: inline-flex; align-items: center; gap: 0;
    font-size: 0.9rem; font-weight: 500;
    background: transparent;
    border: 1.5px solid var(--gold);
    border-radius: 100px;
    padding: 0; padding-left: 28px;
    cursor: pointer; overflow: hidden;
    transition: color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 50px;
    position: relative;
    z-index: 1;
    color: var(--gold);
}

.pill-btn span:first-child { white-space: nowrap; position: relative; z-index: 2; }

.pill-btn-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--gold);
    border-radius: 50%;
    margin-left: 14px;
    margin-right: 7px;
    position: relative;
    z-index: 2;
    border: 1.5px solid transparent;
    box-sizing: border-box;
    transition: background 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pill-btn:hover .pill-btn-arrow {
    background: var(--bg);
    border-color: var(--bg);
}

.pill-btn-arrow i { display: none; }

.pill-btn-arrow i {
    font-size: 0.9rem;
    color: var(--bg);
    transition: transform 0.3s var(--ease), color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pill-btn:hover .pill-btn-arrow i {
    color: var(--bg);
}

/* Circle expand effect — grows from the circle outward */
.pill-btn::before {
    content: '';
    position: absolute;
    right: 7px;
    top: 50%;
    width: 36px;
    height: 36px;
    transform: translate(0, -50%) scale(1);
    background: var(--gold);
    border-radius: 50%;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-radius 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pill-btn:hover::before {
    transform: translate(0, -50%) scale(12);
    border-radius: 50%;
}

.pill-btn:hover {
    color: var(--bg);
    border-color: transparent;
}

.pill-btn-arrow i {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pill-btn:hover .pill-btn-arrow i { transform: translate(2px, -2px); }

.pill-btn-light {
    border-color: var(--text);
    color: var(--text);
}
.pill-btn-light::before { background: var(--text); }
.pill-btn-light .pill-btn-arrow { background: var(--text); }
.pill-btn-light .pill-btn-arrow i { color: var(--bg); }
.pill-btn-light:hover { color: var(--bg); }

.pill-btn-outline {
    border-color: var(--text-3);
    color: var(--text-2);
    background: transparent;
}
.pill-btn-outline::before { background: var(--gold); }
.pill-btn-outline .pill-btn-arrow { background: transparent; border: 1px solid var(--text-3); }
.pill-btn-outline .pill-btn-arrow i { color: var(--text-2); }
.pill-btn-outline:hover { color: var(--bg); border-color: var(--gold); }
.pill-btn-outline:hover .pill-btn-arrow { border-color: transparent; }

.pill-btn-full { width: 100%; justify-content: center; position: relative; }
.pill-btn-full .pill-btn-arrow { position: absolute; right: 7px; }
.pill-btn-full::before { opacity: 0; }
.pill-btn-full:hover::before { opacity: 1; transform: translate(0, -50%) scale(30); }

.text-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-2);
    transition: color 0.3s, gap 0.3s;
}
.text-link:hover { color: var(--gold); gap: 10px; }

/* ==============================
   HERO
   ============================== */
.hero {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 120px 0 0;
    position: relative;
}

/* Homepage — no scroll on desktop, allow scroll on mobile */
body.homepage { }

/* Fullscreen single-screen hero (homepage) */
.hero-fullscreen {
    flex: 1;
    min-height: 0;
    padding: 40px 0 0;
    overflow: visible;
    display: flex; flex-direction: column;
}

.hero-fullscreen-inner {
    flex: 1; display: flex; flex-direction: column;
    justify-content: space-evenly;
    max-width: 1200px; margin: 0 auto; width: 100%;
    padding: 0 clamp(80px, 10vw, 160px);
}

@media (max-width: 1200px) {
    .hero-fullscreen-inner { padding: 0 clamp(20px, 4vw, 40px); }
}

.hero-fullscreen-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0; align-items: center;
    min-height: 0;
}

.hero-fullscreen-content {
    display: flex; flex-direction: column;
    margin-left: auto;
    max-width: 90%;
}

.hero-fullscreen-image {
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    min-height: 0;
    opacity: 1 !important;
}

.hero-fullscreen-image .hero-img {
    width: 100%; max-width: 520px; max-height: 55vh; object-fit: contain;
    opacity: 1 !important;
}

.hero-heading {
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    margin-bottom: clamp(16px, 3vh, 40px);
}

.hero-ticker-wrap {
    padding: 0;
    border-top: 1px solid var(--border-1);
    flex-shrink: 0;
}

.hero-ticker-wrap .stats-ticker {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-below-text {
    text-align: center;
    font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    color: var(--gold);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    margin: clamp(4px, 0.8vh, 10px) 0 0;
    padding: 0;
}

.why-ticker-heading-inline {
    flex-shrink: 0;
}

.why-ticker-heading-inline .label {
    font-size: 0.85rem;
    white-space: nowrap;
}

.why-ticker-compact { padding: 0; }
.why-ticker-compact .why-ticker-item { padding: 8px 24px; min-width: 180px; }
.why-ticker-compact .why-ticker-item h4 { font-size: 0.8rem; }
.why-ticker-compact .why-ticker-item p { font-size: 0.65rem; }
.why-ticker-compact .why-ticker-num { font-size: 0.6rem; }
.why-ticker-compact .why-ticker-icon { font-size: 0.85rem; }

.hero-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: grid; grid-template-columns: 1.1fr 0.9fr;
    gap: 60px; align-items: center;
    width: 100%;
}

/* ── iPad Pro (~1024-1200px) — side-by-side, 3D logo: 55px top + 150px = 205px ── */
@media (max-width: 1200px) and (min-width: 1024px) {
    .hero { min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    body.homepage { min-height: 100vh; }
    .hero-fullscreen { flex: 1; min-height: 0; padding: 100px 0 0; }
    .hero-fullscreen-inner { padding: 0 clamp(20px, 4vw, 40px); justify-content: space-evenly; gap: 10px; }
    .hero-fullscreen-top { grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
    .hero-fullscreen-content { max-width: 100%; margin-left: 0; }
    .hero-fullscreen-content .hero-heading { font-size: clamp(2rem, 5.5vh, 3.2rem); margin-bottom: 10px; }
    .hero-fullscreen-content .hero-desc { font-size: clamp(0.9rem, 2vh, 1.15rem); line-height: 1.7; }
    .hero-fullscreen-content .text-link { font-size: clamp(0.85rem, 1.8vh, 1rem); margin-top: 10px !important; }
    .hero-fullscreen-image .hero-img { width: 100%; max-width: 520px; max-height: 60vh; }
    .hero-ticker-wrap { top: 0; padding: 14px 0; }
    .hero-ticker-wrap .stat-num { font-size: 2rem; }
    .hero-ticker-wrap .stat-text { font-size: 1.2rem; }
    .hero-ticker-wrap .stat-label { font-size: 0.75rem; }
    body.homepage .nav-logo-text.brand-text { font-size: 3.2rem !important; }

    .hamburger span { width: 40px; height: 3px; }
    .hamburger { gap: 9px; }
    .nav-logo-img { height: 60px; }
    .footer-compact { padding: 6px 0 !important; }
    .footer-compact .footer-copyright { font-size: 0.6rem; }
}

/* ── iPad Air / Tablet (~770-1023px) — side-by-side, 3D logo: 55px top + 130px = 185px ── */
@media (max-width: 1023px) and (min-width: 770px) {
    .hero { min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    body.homepage { min-height: 100vh; }
    .hero-fullscreen { flex: 1; min-height: 0; padding: 90px 0 0; }
    .hero-fullscreen-inner { padding: 0 clamp(20px, 4vw, 40px); justify-content: space-evenly; gap: 10px; }
    .hero-fullscreen-top { grid-template-columns: 1fr 1fr; gap: 0; align-items: center; }
    .hero-fullscreen-content { max-width: 100%; margin-left: 0; }
    .hero-fullscreen-content .hero-eyebrow span { font-size: clamp(0.55rem, 1.5vw, 0.75rem); }
    .hero-fullscreen-content .hero-heading { font-size: clamp(2rem, 4.5vh, 3rem); margin-bottom: 10px; }
    .hero-fullscreen-content .hero-desc { font-size: clamp(0.8rem, 1.8vh, 1rem); line-height: 1.7; }
    .hero-fullscreen-content .text-link { font-size: 0.9rem; margin-top: 10px !important; }
    .hero-fullscreen-image .hero-img { width: 100%; max-width: 460px; max-height: 55vh; }
    .hero-ticker-wrap { top: 0; padding: 12px 0; }
    .hero-ticker-wrap .stat-num { font-size: 1.6rem; }
    .hero-ticker-wrap .stat-text { font-size: 1rem; }
    .hero-ticker-wrap .stat-label { font-size: 0.65rem; }
    body.homepage .nav-logo-text.brand-text { font-size: 2.8rem !important; }

    .hamburger span { width: 36px; height: 2.5px; }
    .hamburger { gap: 8px; }
    .nav-logo-img { height: 54px; }
    .footer-compact { padding: 6px 0 !important; }
    .footer-compact .footer-copyright { font-size: clamp(0.4rem, 1.2vw, 0.6rem); }
}

/* ── Phone landscape & small tablets (~481-769px) — side-by-side, 3D logo: 50px + ~100px = ~150px ── */
@media (max-width: 769px) and (min-width: 481px) {
    body.homepage { min-height: 100vh; }
    .hero-fullscreen { flex: 1; min-height: 0; padding: 170px 0 0; }
    .hero-fullscreen-inner { padding: 0 clamp(20px, 4vw, 40px); justify-content: space-evenly; gap: 8px; }
    .hero-fullscreen-top { grid-template-columns: 1.2fr 0.8fr; gap: 10px; align-items: center; min-height: 0; }
    .hero-fullscreen-content { max-width: 100%; margin-left: 0; }
    .hero-fullscreen-content .hero-eyebrow { display: flex; margin-bottom: 6px; }
    .hero-fullscreen-content .hero-eyebrow span { font-size: clamp(0.55rem, 1.8vw, 0.75rem); }
    .hero-fullscreen-content .hero-heading { font-size: clamp(1.4rem, 4vw, 2.2rem); margin-bottom: 8px; }
    .hero-fullscreen-content .hero-desc { font-size: clamp(0.75rem, 2vw, 1rem); line-height: 1.6; }
    .hero-fullscreen-content .text-link { font-size: clamp(0.8rem, 2vw, 1rem); margin-top: 8px !important; }
    .hero-fullscreen-image .hero-img { width: 100%; max-width: 280px; max-height: 30vh; }
    .hero-ticker-wrap { top: 0; padding: 10px 0; }
    .hero-ticker-wrap .stat-num { font-size: 1.2rem; }
    .hero-ticker-wrap .stat-text { font-size: 0.85rem; }
    .hero-ticker-wrap .stat-label { font-size: 0.5rem; }
    body.homepage .nav-logo-text.brand-text { font-size: clamp(1.8rem, 5vw, 2.4rem) !important; }

    .hamburger span { width: 30px; height: 2px; }
    .hamburger { gap: 7px; }
    .footer-compact { padding: 6px 0 !important; }
    .footer-compact .footer-copyright { font-size: clamp(0.4rem, 1.2vw, 0.55rem); }
}

/* ── Phone portrait (<=480px) — side-by-side, no scroll, 3D logo: 45px + 70px = 115px ── */
@media (max-width: 480px) {
    body.homepage { min-height: 100vh; }
    .hero-fullscreen { flex: 1; min-height: 0; padding: 130px 0 0; }
    .hero-fullscreen-inner { padding: 0 16px; justify-content: space-evenly; gap: 6px; }
    .hero-fullscreen-top { grid-template-columns: 1.2fr 0.8fr; gap: 8px; align-items: center; min-height: 0; }
    .hero-fullscreen-content { max-width: 100%; margin-left: 0; }
    .hero-fullscreen-content .hero-eyebrow { display: flex; margin-bottom: 4px; }
    .hero-fullscreen-content .hero-eyebrow span { font-size: 0.6rem; }
    .hero-fullscreen-content .hero-heading { font-size: clamp(1.2rem, 5.5vw, 1.8rem); margin-bottom: 6px; }
    .hero-fullscreen-content .hero-desc { font-size: clamp(0.7rem, 3.2vw, 0.85rem); line-height: 1.5; }
    .hero-fullscreen-content .text-link { font-size: 0.8rem; margin-top: 6px !important; }
    .hero-fullscreen-image .hero-img { width: 100%; max-width: 200px; max-height: 25vh; }
    .hero-ticker-wrap { top: 0; padding: 8px 0; }
    .hero-ticker-wrap .stat-num { font-size: 1rem; }
    .hero-ticker-wrap .stat-text { font-size: 0.75rem; }
    .hero-ticker-wrap .stat-label { font-size: 0.45rem; }
    body.homepage .nav-logo-text.brand-text { font-size: clamp(1.4rem, 6vw, 2rem) !important; }

    .hamburger span { width: 26px; height: 2px; }
    .hamburger { gap: 6px; }
    .footer-compact { padding: 4px 0 !important; }
    .footer-compact .footer-copyright { font-size: 0.4rem; }
}

/* ── Short screens (Nest Hub, landscape tablets, small laptops like Yoga 520) ── */
@media (max-height: 800px) and (min-width: 770px) {
    .hero-fullscreen { padding: 80px 0 0 !important; }
    .hero-fullscreen-content .hero-heading { font-size: clamp(1.8rem, 4vh, 2.6rem); }
    .hero-fullscreen-content .hero-desc { font-size: clamp(0.85rem, 1.8vh, 1rem); }
    .hero-fullscreen-image .hero-img { max-height: 45vh; }
    body.homepage .nav-logo-text.brand-text { font-size: 2rem !important; }

    .hero-ticker-wrap .stat-num { font-size: 1.4rem; }
    .hero-ticker-wrap .stat-text { font-size: 0.9rem; }
    .hero-ticker-wrap .stat-label { font-size: 0.6rem; }
}

/* ── Very short phones (landscape <500px height) ── */
@media (max-height: 500px) and (max-width: 900px) {
    body.homepage { min-height: 100vh; }
    .hero-fullscreen { flex: 1; min-height: 0; padding: 100px 0 0; }
    .hero-fullscreen-top { flex-direction: row; align-items: center; }
    .hero-fullscreen-content { flex: 1; }
    .hero-fullscreen-image { flex: 0 0 35%; }
    .hero-fullscreen-image .hero-img { max-height: 40vh; width: 100%; }
    .hero-fullscreen-content .hero-heading { font-size: 1.1rem; }
    .hero-fullscreen-content .hero-desc { font-size: 0.7rem; }
}

.hero-eyebrow {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 8px;
}

.eyebrow-line {
    width: 40px; height: 1px; background: var(--gold);
}

.hero-eyebrow span {
    font-size: clamp(0.5rem, 1.2vw, 0.75rem); font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--text-3);
}

.hero-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 400; line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-bottom { display: flex; gap: 40px; align-items: flex-end; }

@media (max-width: 600px) {
    .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
}

.hero-desc {
    font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.7;
    color: var(--text-2); max-width: 440px;
}

.hero-cta-group { display: flex; flex-direction: column; gap: 16px; }

/* Hero Image */
.hero-image-container { position: relative; }

.hero-image-mask {
    overflow: hidden;
    position: relative;
    background: transparent;
    line-height: 0;
}

.hero-img {
    width: 100%;
    transition: transform 6s var(--ease);
}

.hero-image-mask:hover .hero-img {
    transform: scale(1.04);
}

.hero-image-tag {
    position: absolute; bottom: -14px; left: 24px;
    background: var(--bg); border: 1px solid var(--border-2);
    padding: 8px 16px; border-radius: 100px;
    font-size: 0.7rem; color: var(--text-3);
    letter-spacing: 0.06em;
}

/* Stats Ticker */
.stats-ticker-wrap {
    padding-top: 56px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.stats-ticker {
    overflow: hidden;
    width: 100%;
}

.stats-ticker-track {
    display: flex;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    width: max-content;
    animation: stats-scroll 45s linear infinite;
}

@keyframes stats-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.stats-ticker-track:hover { animation-play-state: paused; }

.stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}
.stat-item {
    text-align: center; flex-shrink: 0; white-space: nowrap;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-height: 50px;
}

.stat-num {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--gold);
    line-height: 1;
    display: block;
}

.stat-text, .stat-text-dup {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--gold);
    line-height: 1;
    display: block;
    padding-top: 4px;
}

.stat-unit { font-size: 0.6em; }

.stats-sep {
    width: 1px;
    align-self: stretch;
    background: var(--gold);
    opacity: 0.2;
    flex-shrink: 0;
    font-size: 0;
}

.stat-label {
    font-size: 0.75rem; color: var(--text-3);
    margin-top: 4px; display: block;
}

.stat-divider {
    width: 1px; height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

/* ==============================
   MARQUEE
   ============================== */
.marquee {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: rgba(191, 162, 100, 0.02);
}

.marquee-track {
    display: flex; gap: 0;
    animation: marqueeScroll 40s linear infinite;
    white-space: nowrap; width: max-content;
}

.marquee-track span {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    color: var(--text-3);
    padding: 0 12px;
}

.sep { color: var(--gold) !important; opacity: 0.4; }

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==============================
   ABOUT
   ============================== */
.about-top { margin-bottom: 32px; }

.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

.about-image-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.about-image-wrap img {
    width: 100%; aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 6s var(--ease);
}

.about-image-wrap:hover img { transform: scale(1.05); }

/* Features Row */
.features-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .features-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .features-row { grid-template-columns: 1fr; }
}

.feature-item {
    padding: 32px 24px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-item:last-child { border-right: none; }

@media (max-width: 768px) {
    .feature-item:nth-child(2) { border-right: none; }
    .feature-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}

.feature-num {
    font-size: 0.7rem; color: var(--gold);
    display: block; margin-bottom: 12px;
}

.feature-item h4 {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem; font-weight: 400;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 0.8rem; color: var(--text-3); line-height: 1.5;
}

/* ==============================
   WHY AALT
   ============================== */
/* Why AALT — Infinite Ticker */
.why-ticker {
    overflow: hidden;
    padding: 8px 0;
    position: relative;
}

.why-ticker::before,
.why-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.why-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.why-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.why-ticker-heading {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 8px;
}

.why-ticker-heading .label {
    font-size: 1.2rem;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 16px;
}

.why-ticker-heading .label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-ticker-heading .label.line-visible::after {
    transform: scaleX(1);
}

.why-ticker-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: whyTickerScroll 60s linear infinite;
    cursor: grab;
}

.why-ticker-track:hover {
    animation-play-state: paused;
}

.why-ticker-item {
    flex-shrink: 0;
    width: 260px;
    padding: 8px 20px;
    border-right: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
}

.why-ticker-item:hover {
    background: var(--bg-elevated);
    border-color: var(--gold-border);
}

.why-ticker-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.why-ticker-num {
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0.15em;
}

.why-ticker-icon {
    font-size: 1.6rem;
    color: var(--gold);
    opacity: 0.6;
}

.why-ticker-item h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1px;
    color: var(--text);
}

.why-ticker-item p {
    font-size: 0.72rem;
    color: var(--text-3);
    line-height: 1.35;
}

@keyframes whyTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .why-ticker-item { width: 260px; padding: 24px; }
}

/* ==============================
   TECHNOLOGY
   ============================== */
.section-top-row {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 40px;
    margin-bottom: 64px;
}

.section-top-desc {
    max-width: 380px; font-size: 0.9rem;
    color: var(--text-2); line-height: 1.7;
    text-align: right;
}

@media (max-width: 768px) {
    .section-top-row { flex-direction: column; align-items: flex-start; }
    .section-top-desc { text-align: left; }
}

/* Tech accordion-style list */
.tech-list {
    border-top: 1px solid var(--border);
}

.tech-list-item {
    display: grid; grid-template-columns: 60px 1fr 1fr 40px;
    align-items: center; gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    cursor: default;
    transition: background 0.3s, padding 0.3s;
}

.tech-list-item:hover {
    background: rgba(191, 162, 100, 0.03);
    padding-left: 16px; padding-right: 16px;
}

@media (max-width: 768px) {
    .tech-list-item { grid-template-columns: 40px 1fr 40px; }
    .tech-list-item p { display: none; }
}

.tech-num { font-size: 0.75rem; color: var(--gold); }

.tech-list-item h3 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 400;
}

.tech-list-item p {
    font-size: 0.85rem; color: var(--text-3); line-height: 1.5;
}

.tech-arrow {
    font-size: 1.2rem; color: var(--text-3);
    transition: color 0.3s, transform 0.3s var(--ease);
}

.tech-list-item:hover .tech-arrow {
    color: var(--gold);
    transform: translate(2px, -2px);
}

/* ==============================
   PRODUCTS — Horizontal Scroll
   ============================== */
.products-section {
    overflow: hidden;
}

.products-scroll-wrap {
    padding: 0 clamp(20px, 4vw, 40px);
    overflow: visible;
}

.products-scroll-track {
    display: flex; gap: 24px;
    width: max-content;
}

.product-slide {
    width: clamp(300px, 38vw, 420px);
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.4s;
}

.product-slide:hover { border-color: var(--border-2); }

.product-slide-img {
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-elevated);
    position: relative;
}

.product-slide-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 6s var(--ease);
}

.product-slide:hover .product-slide-img img {
    transform: scale(1.05);
}

.product-slide-img.placeholder {
    display: flex; align-items: center; justify-content: center;
}
.product-slide-img.placeholder i {
    font-size: 3rem; color: var(--text-3); opacity: 0.3;
}

.product-slide-info { padding: 24px; }

.product-slide-info .label { margin-bottom: 8px; color: var(--gold); }

.product-slide-info h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem; font-weight: 400;
    margin-bottom: 10px;
}

.product-slide-info p {
    font-size: 0.85rem; color: var(--text-3); line-height: 1.6;
}

/* ==============================
   PROJECTS
   ============================== */
.projects-top { margin-bottom: 64px; }

.use-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .use-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
    .use-grid { grid-template-columns: repeat(2, 1fr); }
}

.use-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 14px;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: border-color 0.4s, transform 0.4s var(--ease);
}

.use-item:hover {
    border-color: var(--gold-border);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.use-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.4s, border-color 0.4s;
}

.use-item:hover .use-icon {
    background: var(--gold);
    border-color: var(--gold);
}

.use-icon i {
    font-size: 1.3rem; color: var(--gold);
    transition: color 0.3s;
}

.use-item:hover .use-icon i { color: var(--bg); }

.use-item > span {
    font-size: 0.82rem; font-weight: 500; color: var(--text-2);
}

/* ==============================
   CTA
   ============================== */
.cta-section {
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/innerBG.png') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.cta-block {
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center; gap: 40px;
}

/* Gold badge */
.gold-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 600;
}

.cta-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 400; line-height: 1.05;
    letter-spacing: -0.03em;
}

/* ==============================
   CONTACT
   ============================== */
.contact-section {
    background: var(--surface);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Decorative flowing curves (PDF-inspired) */
.contact-curves {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.contact-layout {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

.contact-heading {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 12px;
}

.contact-subtext {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 400px;
}

.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }

.contact-detail {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    transition: background 0.3s;
}

.contact-detail:hover {
    background: rgba(191, 162, 100, 0.04);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(191, 162, 100, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 1.1rem;
    transition: background 0.3s, color 0.3s;
}

.contact-detail:hover .contact-icon {
    background: var(--gold);
    color: var(--bg);
}

.contact-label {
    font-size: 0.6rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-3);
    margin-bottom: 2px;
}

.contact-detail a, .contact-detail p {
    font-size: 0.9rem; color: var(--text);
    line-height: 1.5; transition: color 0.3s;
}

.contact-detail a:hover { color: var(--gold); }

/* Map */
.contact-map {
    width: 100%;
    position: relative;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
}

/* Form */
.contact-right {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 520px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-field label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem; font-weight: 500;
    color: var(--gold); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 6px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border-2);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-3);
    font-size: 0.82rem;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-field textarea { resize: vertical; min-height: 120px; }

/* ==============================
   FOOTER
   ============================== */
.footer {
    padding: 64px 0 0;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex; justify-content: space-between;
    gap: 60px; padding-bottom: 48px;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .footer { padding: 32px 0 0; }
    .footer-top { gap: 32px; padding-bottom: 24px; }
}

@media (max-width: 768px) {
    .footer { padding: 20px 0 0; }
    .footer-top { gap: 20px; padding-bottom: 16px; }
}

.footer-brand { max-width: 320px; }

.footer-logo {
    font-family: 'Sora', sans-serif;
    font-size: 1.4rem; color: var(--gold);
    letter-spacing: 0.08em;
    display: block; margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem; color: var(--text-3); line-height: 1.7;
}

.footer-cols { display: flex; gap: 56px; }

@media (max-width: 600px) {
    .footer-cols { gap: 32px; flex-wrap: wrap; }
}

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-col-title {
    font-size: 0.7rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-3);
    margin-bottom: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 8px 48px;
}
.footer-links a {
    font-size: 0.85rem; color: var(--text-2);
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-extended {
    border-top: 1px solid var(--border);
    padding: 24px 0 20px;
    flex-shrink: 0;
}
.footer-extended-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
.footer-extended p {
    font-size: 0.85rem;
    color: var(--text-3);
    line-height: 1.7;
    max-width: 400px;
}
.footer-extended .footer-links {
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .footer-extended-inner {
        flex-direction: column;
        gap: 16px;
    }
    .footer-extended .footer-links {
        grid-template-columns: repeat(3, auto);
        gap: 6px 24px;
    }
}

.footer-col a {
    font-size: 0.85rem; color: var(--text-2);
    transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo-img {
    height: 40px;
    opacity: 0.7;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    font-size: 0.7rem; color: var(--text-3);
    text-align: left;
}

.footer-compact { padding: 12px 0 !important; }
.footer-compact .footer-compact-inner {
    display: flex; flex-direction: row; align-items: center; justify-content: space-between;
    font-size: 0.75rem; color: var(--text-3);
}
.footer-compact .footer-copyright {
    max-width: 650px; line-height: 1.4; font-size: 0.6rem; text-align: right;
}

@media (max-width: 1200px) {
    .footer-compact .footer-copyright { font-size: clamp(0.4rem, 0.9vw, 0.65rem); max-width: 55%; }
}

@media (max-width: 900px) {
    .footer-compact { padding: 6px 0 !important; }
    .footer-compact .footer-compact-inner { flex-direction: row; justify-content: space-between; align-items: center; }
    .footer-compact .footer-logo { transform: scale(0.75); transform-origin: left center; }
    .footer-compact .footer-copyright { font-size: clamp(0.45rem, 0.9vw, 1rem); max-width: 55%; line-height: 1.3; text-align: right; }
}

@media (max-width: 769px) {
    .footer-compact .footer-copyright { font-size: 0.35rem !important; }
}
.footer-compact-links { display: flex; gap: 20px; }
.footer-compact-links a { color: var(--text-3); text-decoration: none; font-size: 0.75rem; }
.footer-compact-links a:hover { color: var(--gold);
}

/* ==============================
   HERO — World Map Background
   ============================== */
.hero-bg-map {
    position: absolute; inset: 0; z-index: 0;
    background: url('img/hero.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

/* ==============================
   WORKSHOP ROW (About section)
   ============================== */
.workshop-block {
    margin-bottom: 48px;
}

.workshop-text {
    margin-top: 24px;
}

.workshop-text h3 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 12px;
}

.workshop-text p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-2);
    max-width: 640px;
}

.workshop-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .workshop-row { flex-wrap: wrap; }
}

.workshop-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    flex: 1;
    aspect-ratio: 1/1;
}

.workshop-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 5s var(--ease);
}

.workshop-img-wrap:hover img {
    transform: scale(1.08);
}

.workshop-caption {
    position: absolute;
    bottom: 12px; left: 12px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-3);
    background: rgba(26, 23, 20, 0.75);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* ==============================
   TECH HERO IMAGE
   ============================== */
.tech-hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 64px;
    border: 1px solid var(--border);
}

.tech-hero-image img {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
    transition: transform 6s var(--ease);
}

.tech-hero-image:hover img {
    transform: scale(1.04);
}

.tech-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(12, 10, 6, 0.85), transparent);
}

.tech-hero-overlay span {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ==============================
   VISION SECTION (Full-Width Image)
   ============================== */
.vision-section {
    position: relative;
    overflow: hidden;
}

.vision-image-wrap {
    position: relative;
    width: 100%;
    height: clamp(300px, 50vw, 520px);
    overflow: hidden;
}

.vision-img {
    width: 100%; height: 130%;
    object-fit: cover;
    object-position: center;
    position: absolute; top: 0; left: 0;
}

.vision-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(12, 10, 6, 0.92) 0%,
        rgba(12, 10, 6, 0.7) 50%,
        rgba(12, 10, 6, 0.5) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 clamp(24px, 6vw, 80px);
}

.vision-overlay .label {
    color: var(--gold);
    margin-bottom: 16px;
}

.vision-heading {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -0.02em;
}

.vision-heading em {
    font-style: normal; font-weight: 300;
    color: var(--gold);
}

/* ==============================
   TECH BG TEXTURE
   ============================== */
.tech-bg-texture {
    position: absolute; inset: 0;
    background: url('img/innerBG.png') center/cover no-repeat;
    opacity: 0.025;
    pointer-events: none;
}

/* ==============================
   MULTI-PAGE STYLES
   ============================== */

/* Active nav link */
.nav-link.active { color: var(--gold); }
.nav-link.active::after { width: 100%; }

/* Page hero (subpages) */
.page-hero {
    padding: 100px 0 30px;
    position: relative;
}


.hero-lines {
    position: absolute;
    top: 0; left: 0; right: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}

.page-hero {
    overflow: visible !important;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 30% 0%, rgba(191, 162, 100, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .section-heading {
    margin-bottom: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

.page-hero .section-top-desc {
    max-width: 540px;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-lines { width: 100vw; left: 0; }
}

/* Products grid (subpages) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .products-grid { grid-template-columns: 1fr; }
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s var(--ease);
}

.product-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card-img {
    width: 100%;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transform-origin: center center;
}

.product-card-info { padding: 24px; }

.product-card-info .label { margin-bottom: 8px; color: var(--gold); }

.product-card-info h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem; font-weight: 400;
    margin-bottom: 8px;
}

.product-card-info p {
    font-size: 0.85rem; color: var(--text-3); line-height: 1.6;
}

/* ==============================
   TECHNOLOGY GRID (tech page)
   ============================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .tech-grid { grid-template-columns: 1fr; }
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s var(--ease);
}

.tech-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tech-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-elevated);
}

.tech-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.tech-card-num {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    background: rgba(26, 23, 20, 0.8);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.tech-card-info {
    padding: 24px;
}

.tech-card-info h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem; font-weight: 400;
    margin-bottom: 10px;
}

.tech-card-info p {
    font-size: 0.85rem; color: var(--text-3); line-height: 1.7;
}

/* ==============================
   PROJECTS PAGE
   ============================== */

/* Featured application */
.project-featured {
    border-radius: var(--radius);
    overflow: hidden;
}

.project-featured-img {
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    overflow: hidden;
}

.project-featured-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.project-featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        rgba(26, 23, 20, 0.92) 0%,
        rgba(26, 23, 20, 0.6) 50%,
        rgba(26, 23, 20, 0.1) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 5vw, 64px);
}

@media (max-width: 768px) {
    .project-featured-img { aspect-ratio: 4/3; }
    .project-featured-overlay {
        background: linear-gradient(to top, rgba(26,23,20,0.95) 40%, rgba(26,23,20,0.3) 100%);
        justify-content: flex-end;
    }
    .gold-badge {
        font-size: 0.45rem;
        padding: 6px 14px;
        letter-spacing: 0.15em;
    }
    .hero-eyebrow span {
        font-size: 0.55rem;
        letter-spacing: 0.05em;
    }
}

/* Project cards grid */
.project-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-cards-3 {
    grid-template-columns: 1fr 1fr;
}

.project-card-wide {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .project-cards { grid-template-columns: repeat(2, 1fr); }
    .project-card-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
    .project-cards { grid-template-columns: 1fr; }
    .project-card-wide { grid-column: span 1; }
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: default;
    border: 1px solid var(--border);
    transition: border-color 0.4s, transform 0.4s var(--ease);
}

.project-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.project-card-wide { aspect-ratio: 21/9; }

.project-card-bg {
    position: absolute; inset: 0;
    overflow: hidden;
}

.project-card-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.project-card:hover .project-card-bg img {
    transform: scale(1.08);
}

.project-coming-soon {
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        linear-gradient(135deg,rgba(191,162,100,.07),transparent 52%),
        #211f1b;
}
.project-coming-soon::before {
    content:"";
    position:absolute;
    width:120px;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--gold),transparent);
    transform:translateY(-18px);
    opacity:.65;
}
.project-coming-soon span {
    color:var(--gold);
    font:500 .68rem 'IBM Plex Mono',monospace;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.project-card-content {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26, 23, 20, 0.9) 0%, rgba(26, 23, 20, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background 0.4s;
}

.project-card:hover .project-card-content {
    background: linear-gradient(to top, rgba(26, 23, 20, 0.95) 0%, rgba(26, 23, 20, 0.4) 60%, rgba(26, 23, 20, 0.1) 100%);
}

.project-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}

.project-card:hover .project-card-icon {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1);
}

.project-card-icon i {
    font-size: 1.1rem; color: var(--gold);
    transition: color 0.3s;
}

.project-card:hover .project-card-icon i { color: var(--bg); }

.project-card-content h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem; font-weight: 400;
    color: var(--text);
    line-height: 1.3;
}
