/* Arodi's General Construction — redesign stylesheet (mockup, approved reference: dark navy / cyan holographic / gold)
   Single stylesheet for all four pages. No external fonts, no dependencies. */

:root {
    --hero-off: max(0px, calc((100vw - 1600px) / 2));
    --bg: #050b12;
    --bg-2: #081421;
    --navy: #0b1b2b;
    --navy-2: #0f2235;
    --card: #0c1a29;
    --line: rgba(56, 226, 255, 0.22);
    --line-strong: rgba(56, 226, 255, 0.55);
    --cyan: #38e2ff;
    --cyan-2: #00bcd4;
    --cyan-dim: rgba(56, 226, 255, 0.12);
    --gold: #e0b86d;
    --gold-2: #c9a059;
    --text: #e7eef5;
    --muted: #9db0c3;
    --muted-2: #7a8ea3;
    --radius: 10px;
    --radius-lg: 14px;
    --glow: 0 0 18px rgba(56, 226, 255, 0.35), 0 0 42px rgba(56, 226, 255, 0.18);
    --glow-soft: 0 0 12px rgba(56, 226, 255, 0.18);
    --header-h: 58px;
    --gutter: 40px;
    --maxw: 1600px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-anchor: none; overflow-x: hidden; }
body {
    font-family: 'Segoe UI', Inter, Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main { flex: 1; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* page background: navy with faint cyan tech glow top-left and bottom-right */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(900px 500px at 0% 0%, rgba(0, 188, 212, 0.14), transparent 60%),
        radial-gradient(900px 600px at 100% 100%, rgba(0, 188, 212, 0.10), transparent 60%),
        linear-gradient(180deg, #06101a 0%, #050b12 100%);
}

/* ---------- icons ---------- */
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.55rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.1px;
    text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn .ic { font-size: 1.05em; }
.btn-cyan { background: linear-gradient(180deg, #3fe6ff, #15c9e6); color: #04202a; border-color: #5ff0ff; box-shadow: var(--glow); }
.btn-cyan:hover, .btn-cyan:focus-visible { transform: translateY(-1px); box-shadow: 0 0 22px rgba(56, 226, 255, 0.55), 0 0 60px rgba(56, 226, 255, 0.25); background: linear-gradient(180deg, #62ebff, #22d3ee); }
.btn-outline { background: rgba(8, 24, 38, 0.65); color: #fff; border-color: var(--line-strong); box-shadow: var(--glow-soft); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow); transform: translateY(-1px); background: rgba(56, 226, 255, 0.08); }
.btn-ghost { background: transparent; color: var(--cyan); border-color: transparent; padding-left: 0.4rem; padding-right: 0.4rem; }
.btn-ghost:hover { color: #fff; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.82rem; }

/* ---------- header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000; height: var(--header-h);
    background: linear-gradient(180deg, rgba(6, 14, 22, 0.98), rgba(7, 18, 28, 0.96));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(56, 226, 255, 0.06), 0 8px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan) 20%, var(--cyan) 80%, transparent); opacity: 0.35; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; max-width: var(--maxw); margin: 0 auto; padding: 0 28px 0 24px; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 40%, #16314a, #0b1b2b 70%);
    border: 1.5px solid rgba(255, 255, 255, 0.9); color: var(--cyan); font-weight: 800; font-size: 0.92rem; letter-spacing: 0.5px;
    box-shadow: 0 0 0 3px rgba(56, 226, 255, 0.12), 0 0 18px rgba(56, 226, 255, 0.35);
}
.brand-sep { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.45); }
.brand-text { font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; line-height: 1.25; }
.brand-text small { display: block; font-size: 0.78rem; letter-spacing: 2px; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; margin-right: auto; }
.main-nav > li { list-style: none; position: relative; }
.main-nav a, .main-nav .nav-btn {
    display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.95rem; color: #e9f1f7; text-decoration: none; font-size: 0.93rem; font-weight: 500;
    border-radius: 8px; background: none; border: 0; cursor: pointer; position: relative; transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav .nav-btn:hover, .main-nav .nav-btn[aria-expanded="true"] { color: var(--cyan); background: rgba(56, 226, 255, 0.06); }
.main-nav a.active { color: #fff; font-weight: 600; }
.main-nav a.active::after { content: ''; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 2px; height: 2px; background: var(--cyan); border-radius: 2px; box-shadow: 0 0 10px var(--cyan); }
.nav-btn .chev { font-size: 0.75em; transition: transform 0.2s; }
.nav-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; padding: 0.5rem; list-style: none;
    background: rgba(8, 20, 32, 0.98); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6), var(--glow-soft);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.dropdown.open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; width: 100%; padding: 0.5rem 0.75rem; font-size: 0.88rem; border-radius: 8px; }
.dropdown .dd-head { color: var(--muted-2); font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; padding: 0.5rem 0.75rem 0.2rem; }
.dropdown .dd-sep { height: 1px; background: rgba(255, 255, 255, 0.08); margin: 0.35rem 0.5rem; }
.header-cta { flex-shrink: 0; }
.main-nav .mobile-cta { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(56, 226, 255, 0.06); color: var(--cyan); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ic { font-size: 1.4rem; }

/* ---------- hero ---------- */
.hero { position: relative; height: 272px; overflow: hidden; background: #0a1826; border-bottom: 1px solid var(--line); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; filter: brightness(1.06) saturate(1.05); }
.hero-media::before {
    content: ''; position: absolute; inset: 0; z-index: 1;   /* above the filtered img (filter creates its own stacking context) */
    background: linear-gradient(90deg, rgba(6, 14, 22, 0.98) 0, rgba(6, 14, 22, 0.97) calc(var(--hero-off) + 470px), rgba(6, 14, 22, 0.75) calc(var(--hero-off) + 620px), rgba(6, 14, 22, 0.25) calc(var(--hero-off) + 780px), rgba(6, 14, 22, 0) calc(var(--hero-off) + 900px)),
                linear-gradient(180deg, rgba(5, 11, 18, 0.02), rgba(5, 11, 18, 0.18));
}
.hero-media::after {
    /* the diagonal cyan edge seen in the reference, between the dark panel and the photo */
    content: ''; position: absolute; z-index: 1; top: -10%; bottom: -10%; left: calc(var(--hero-off) + 600px); width: 2px; transform: skewX(-14deg);
    background: linear-gradient(180deg, transparent, var(--cyan) 30%, var(--cyan) 70%, transparent); opacity: 0.55; box-shadow: 0 0 18px var(--cyan);
}
.hero-grid { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(rgba(56, 226, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 226, 255, 0.06) 1px, transparent 1px); background-size: 48px 48px; width: calc(var(--hero-off) + 640px); mask-image: linear-gradient(90deg, rgba(0,0,0,0.9), transparent); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.9), transparent); }
.hero-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-left: calc(var(--hero-off) + 60px); max-width: calc(var(--hero-off) + 660px); }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; letter-spacing: 2.2px; text-transform: uppercase; color: #dbe7f0; font-weight: 600; margin-bottom: 0.35rem; }
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.kicker i { color: var(--cyan); font-style: normal; opacity: 0.8; }
.hero h1 { font-size: 2.9rem; line-height: 1.02; font-weight: 800; letter-spacing: -0.5px; color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.hero h1 .gold { color: var(--gold); display: block; }
.hero p { font-size: 1.1rem; color: #e4edf4; margin: 0.55rem 0 1rem; max-width: 360px; line-height: 1.35; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.viz-tag {
    position: absolute; right: 18px; bottom: 14px; z-index: 3; font-size: 0.66rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
    color: var(--cyan); background: rgba(5, 11, 18, 0.78); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0.3rem 0.55rem; pointer-events: none;
}

/* ---------- section headers ---------- */
.section { padding: 1.4rem 0 1.5rem; border-bottom: 1px solid rgba(56, 226, 255, 0.12); position: relative; }
.section-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.85rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.55rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.7rem; line-height: 1.1; }
.section-head h2::before { content: ''; width: 4px; height: 1.1em; background: var(--cyan); border-radius: 2px; box-shadow: 0 0 10px var(--cyan); }
.section-head p { color: var(--muted); font-size: 0.92rem; }
.section-head .right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.section-head .right a { color: #e9f1f7; text-decoration: none; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.section-head .right a:hover { color: var(--cyan); }
.section-head .right a .ic { color: var(--cyan); }

/* ---------- generic card ---------- */
.card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
    background: var(--card); border: 1px solid rgba(56, 226, 255, 0.16); border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover, .card:focus-visible, .card.is-active { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), var(--glow); }
.card .media { position: relative; overflow: hidden; background: #000; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .media img { transform: scale(1.05); }
.card .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 18, 0) 55%, rgba(5, 11, 18, 0.55) 100%); pointer-events: none; }
.card .label { display: flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.5rem; background: linear-gradient(180deg, rgba(10, 24, 38, 0.98), rgba(7, 17, 27, 0.98)); border-top: 1px solid rgba(56, 226, 255, 0.14); min-height: 48px; }
.card .label .ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(56, 226, 255, 0.08); border: 1px solid rgba(56, 226, 255, 0.35); color: #fff; flex-shrink: 0; }
.card .label .ico .ic { font-size: 0.95rem; }
.card .label > div { min-width: 0; }
.card .label b { display: block; font-size: clamp(0.68rem, 0.76vw, 0.86rem); letter-spacing: -0.15px; font-weight: 700; color: #fff; line-height: 1.15; }
.card .label span { display: block; font-size: clamp(0.58rem, 0.66vw, 0.72rem); color: var(--muted); line-height: 1.2; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-3d {
    position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 0.58rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700;
    color: var(--cyan); background: rgba(5, 11, 18, 0.8); border: 1px solid var(--line-strong); border-radius: 5px; padding: 0.2rem 0.45rem; pointer-events: none;
}
.badge-photo { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 0.58rem; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; color: var(--gold); background: rgba(5, 11, 18, 0.8); border: 1px solid rgba(224, 184, 109, 0.6); border-radius: 5px; padding: 0.2rem 0.45rem; pointer-events: none; }

/* ---------- services row ---------- */
.services-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.service-card .media { aspect-ratio: 16 / 7.6; }
.service-card.holo { border-color: rgba(56, 226, 255, 0.75); box-shadow: 0 0 0 1px rgba(56, 226, 255, 0.25), var(--glow), 0 10px 28px rgba(0, 0, 0, 0.45); }
.service-card.holo .media::after { background: linear-gradient(180deg, rgba(5, 11, 18, 0) 50%, rgba(5, 11, 18, 0.5) 100%); }
.service-card.holo .label { background: linear-gradient(180deg, rgba(7, 32, 48, 0.98), rgba(5, 20, 32, 0.98)); border-top-color: rgba(56, 226, 255, 0.4); }
.service-card.holo .label .ico { border-color: var(--cyan); background: rgba(56, 226, 255, 0.14); color: var(--cyan); }
.service-card.holo:hover, .service-card.holo:focus-visible { border-color: #7af0ff; box-shadow: 0 0 0 1px rgba(56, 226, 255, 0.5), 0 0 26px rgba(56, 226, 255, 0.6), 0 0 70px rgba(56, 226, 255, 0.3), 0 16px 36px rgba(0, 0, 0, 0.5); }
/* holographic treatment: wireframe image + scanlines + a slow light sweep on hover */
.holo-media { position: relative; background: #061320; }
.holo-media img { mix-blend-mode: screen; opacity: 0.95; filter: saturate(1.1) contrast(1.05); }
.holo-media .scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(56, 226, 255, 0.06) 0 1px, transparent 1px 4px); mix-blend-mode: screen; }
.holo-media .sweep { position: absolute; top: -20%; bottom: -20%; left: -40%; width: 35%; pointer-events: none; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(56, 226, 255, 0.28), transparent); opacity: 0; }
.holo-media .corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--cyan); pointer-events: none; opacity: 0.9; filter: drop-shadow(0 0 4px var(--cyan)); }
.holo-media .corner.tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.holo-media .corner.tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.holo-media .corner.bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.holo-media .corner.br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.card:hover .holo-media .sweep, .card:focus-visible .holo-media .sweep { animation: sweep 1.6s var(--ease) 1 forwards; }
.card:hover .holo-media img { animation: holoPulse 2.4s ease-in-out infinite; }
@keyframes sweep { from { left: -40%; opacity: 1; } to { left: 120%; opacity: 0; } }
@keyframes holoPulse { 0%, 100% { filter: saturate(1.1) contrast(1.05) brightness(1); } 50% { filter: saturate(1.25) contrast(1.1) brightness(1.18); } }

/* ---------- 3D design & visualization band ---------- */
.viz-band {
    background:
        linear-gradient(90deg, rgba(5, 14, 24, 0.95) 0%, rgba(5, 14, 24, 0.8) 35%, rgba(5, 14, 24, 0.55) 100%),
        linear-gradient(rgba(56, 226, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 226, 255, 0.05) 1px, transparent 1px);
    background-size: auto, 40px 40px, 40px 40px;
}
.viz-row { display: grid; grid-template-columns: 330px 270px minmax(0, 1fr); gap: 16px; align-items: center; }
.viz-intro h2 { font-size: 1.55rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.7rem; line-height: 1.1; margin-bottom: 0.5rem; }
.viz-intro h2::before { content: ''; width: 4px; height: 1.1em; background: var(--cyan); border-radius: 2px; box-shadow: 0 0 10px var(--cyan); }
.viz-intro h2 span { color: var(--cyan); }
.viz-intro p { color: #d7e2ec; font-size: 0.93rem; line-height: 1.45; max-width: 300px; }
.viz-holo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(56, 226, 255, 0.35); background: #061320; box-shadow: var(--glow-soft); aspect-ratio: 16 / 10; }
.viz-holo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.viz-holo .scan { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(56, 226, 255, 0.05) 0 1px, transparent 1px 4px); pointer-events: none; }
.viz-holo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, transparent 55%, rgba(5, 14, 24, 0.55)); pointer-events: none; }
.viz-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.viz-card { cursor: pointer; text-align: left; padding: 0; width: 100%; }
.viz-card .media { aspect-ratio: 16 / 7.2; }
.viz-card .label b, .project-card .label b { font-size: 0.84rem; }
.viz-card .label span { font-size: 0.68rem; }
.viz-card .media::after { background: linear-gradient(180deg, rgba(5, 11, 18, 0) 50%, rgba(5, 11, 18, 0.5) 100%); }
.viz-card .media.drawing { background: #fff; }
.viz-card .media.drawing img { object-fit: cover; object-position: left top; transform: none; }
.viz-card .media.drawing::after { background: linear-gradient(180deg, rgba(5, 11, 18, 0) 70%, rgba(5, 11, 18, 0.35) 100%); }
.viz-card[aria-expanded="true"] { border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(56, 226, 255, 0.4), var(--glow); }
.play-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(5, 11, 18, 0.55); border: 2px solid #fff; display: grid; place-items: center; color: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 226, 255, 0.35);
    transition: transform 0.25s var(--ease), background 0.25s;
}
.play-badge .ic { font-size: 1.1rem; margin-left: 3px; fill: #fff; stroke: none; }
.card:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); background: rgba(56, 226, 255, 0.35); }

/* expanded project panel (one open at a time) */
.viz-panel { display: none; margin-top: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: rgba(7, 17, 27, 0.92); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-soft); overflow: hidden; }
.viz-panel.open { display: block; animation: panelIn 0.35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.viz-panel-head { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(56, 226, 255, 0.14); background: rgba(56, 226, 255, 0.04); }
.viz-panel-head h3 { font-size: 1.05rem; color: #fff; }
.viz-panel-head .sub { color: var(--muted); font-size: 0.82rem; }
.viz-panel-head .close { margin-left: auto; }
.viz-panel-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; padding: 16px; }
.viz-project { display: none; }
.viz-project.active { display: contents; }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid rgba(56, 226, 255, 0.25); box-shadow: var(--glow-soft); }
.player video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; }
.player .play-overlay { position: absolute; inset: 0 0 56px 0; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; transition: opacity 0.2s; }
.player .play-overlay span { width: 70px; height: 70px; border-radius: 50%; background: rgba(56, 226, 255, 0.85); border: 3px solid #fff; display: grid; place-items: center; color: #04202a; box-shadow: 0 0 30px rgba(56, 226, 255, 0.7); transition: transform 0.2s; }
.player .play-overlay span .ic { font-size: 1.6rem; margin-left: 4px; fill: #04202a; stroke: none; }
.player .play-overlay:hover span { transform: scale(1.06); }
.player.is-playing .play-overlay { opacity: 0; visibility: hidden; }
.player .badge-3d { top: 10px; left: 10px; }
.viz-side h4 { font-size: 0.78rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--cyan); margin: 0 0 0.5rem; }
.viz-side h4 + p { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.6rem; }
.viz-side .spec { color: #d7e2ec; font-size: 0.86rem; line-height: 1.5; margin-bottom: 0.8rem; }
.thumb-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 0.9rem; }
.thumb-strip button, .dwg-strip button { position: relative; padding: 0; border: 1px solid rgba(56, 226, 255, 0.2); border-radius: 7px; overflow: hidden; background: #000; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.thumb-strip button img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.thumb-strip button:hover, .dwg-strip button:hover { border-color: var(--cyan); box-shadow: var(--glow-soft); }
.dwg-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dwg-strip button img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; object-position: left top; background: #fff; }
.dwg-strip button small { display: block; padding: 0.3rem 0.4rem; font-size: 0.66rem; color: var(--muted); text-align: left; background: rgba(7, 17, 27, 0.98); line-height: 1.2; }
.dim-note { color: var(--gold); font-size: 0.75rem; margin-top: 0.5rem; }
.viz-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.9rem; }
.m-only { display: none; }

/* ---------- recent projects ---------- */
.projects-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.project-card { cursor: pointer; text-align: left; width: 100%; padding: 0; }
.project-card .media { aspect-ratio: 16 / 5.9; }
.project-card .media::after { background: linear-gradient(180deg, rgba(5, 11, 18, 0) 45%, rgba(5, 11, 18, 0.7) 100%); }
.project-card .tag {
    position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.7rem 0.35rem 0.4rem;
    background: rgba(5, 11, 18, 0.78); border: 1px solid rgba(56, 226, 255, 0.35); border-radius: 7px; color: #fff; font-size: 0.82rem; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.project-card .tag .ico { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; background: rgba(56, 226, 255, 0.1); border: 1px solid rgba(56, 226, 255, 0.4); }
.project-card .tag .ico .ic { font-size: 0.85rem; }
.project-card .count { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: 0.68rem; letter-spacing: 1px; color: #dfe9f1; background: rgba(5, 11, 18, 0.7); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 0.25rem 0.6rem; }

/* ---------- about (compact) ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.about-grid p { color: #d7e2ec; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.7rem; }
.about-side { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.2rem; background: rgba(56, 226, 255, 0.04); }
.about-side h3 { font-size: 0.78rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.6rem; }
.about-side ul { list-style: none; }
.about-side li { display: flex; gap: 0.6rem; align-items: center; color: #e7eef5; font-size: 0.92rem; padding: 0.3rem 0; }
.about-side li .ic { color: var(--gold); font-size: 1.05rem; }
.about-side a { color: #fff; text-decoration: none; }
.about-side a:hover { color: var(--cyan); }

/* ---------- footer band ---------- */
.foot-band { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(90deg, #06111b 0%, #07141f 60%, #0a2030 100%); }
.foot-band::before { content: ''; position: absolute; top: 0; bottom: 0; right: 0; width: 36%; background: linear-gradient(90deg, rgba(0, 188, 212, 0.08), rgba(0, 188, 212, 0.18)); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); pointer-events: none; }
.foot-band::after { content: ''; position: absolute; top: -20%; bottom: -20%; right: 36%; width: 2px; transform: skewX(-14deg); background: linear-gradient(180deg, transparent, var(--cyan) 30%, var(--cyan) 70%, transparent); opacity: 0.5; box-shadow: 0 0 14px var(--cyan); pointer-events: none; }
.foot-inner { position: relative; z-index: 1; display: flex; align-items: center; padding: 1.1rem var(--gutter); }
.foot-cta { display: flex; align-items: center; gap: 1.2rem; width: 100%; min-width: 0; }
.foot-cta h2 { font-size: 1.25rem; color: #fff; line-height: 1.15; }
.foot-cta p { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.foot-cta .btn { margin-left: auto; flex-shrink: 0; }
.foot-cta > div { min-width: 0; }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, 0.07); background: #040a10; padding: 0.8rem 0; }
.foot-bar .row { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; color: var(--muted-2); font-size: 0.8rem; }
.foot-bar a { color: var(--muted); text-decoration: none; }
.foot-bar a:hover { color: var(--cyan); }
.foot-bar .links { display: flex; gap: 1rem; flex-wrap: wrap; }
.foot-bar .contact { margin-left: auto; display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- inner pages (services / portfolio / designs) ---------- */
.page-hero { position: relative; padding: 1.6rem 0 1.4rem; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(5, 14, 24, 0.98), rgba(5, 14, 24, 0.6)), linear-gradient(rgba(56, 226, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(56, 226, 255, 0.05) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; }
.page-hero h1 { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.page-hero h1 .gold { color: var(--gold); }
.page-hero p { color: var(--muted); font-size: 0.98rem; margin-top: 0.35rem; max-width: 760px; }
.page-hero .kicker { margin-bottom: 0.4rem; }
.note { border: 1px solid rgba(56, 226, 255, 0.3); background: rgba(56, 226, 255, 0.06); border-radius: var(--radius); padding: 0.7rem 1rem; color: #d7e2ec; font-size: 0.88rem; margin-bottom: 1rem; }
.note b { color: #fff; }
.note a { color: var(--cyan); }
.group-title { display: flex; align-items: center; gap: 1rem; margin: 1.2rem 0 0.8rem; color: #fff; font-size: 0.78rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700; }
.group-title::before, .group-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc-grid .card .media { aspect-ratio: 16 / 8.5; }
.svc-grid .card .body { padding: 0.75rem 0.85rem 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.svc-grid .card .body h3 { color: #fff; font-size: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.svc-grid .card .body h3 .ico { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; background: rgba(56, 226, 255, 0.08); border: 1px solid rgba(56, 226, 255, 0.35); color: #fff; flex-shrink: 0; }
.svc-grid .card .body h3 .ico .ic { font-size: 0.95rem; }
.svc-grid .card .body p { color: var(--muted); font-size: 0.85rem; line-height: 1.45; flex: 1; }
.svc-grid .card .body .links { display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; }
.svc-grid .card .body .links a { color: var(--cyan); font-size: 0.8rem; font-weight: 600; text-decoration: none; }
.svc-grid .card .body .links a:hover { text-decoration: underline; }

/* portfolio filters + grid */
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.filter-btn { padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid rgba(56, 226, 255, 0.3); background: rgba(56, 226, 255, 0.05); color: #e7eef5; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.25s var(--ease); }
.filter-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.filter-btn.active { background: linear-gradient(180deg, #3fe6ff, #15c9e6); color: #04202a; border-color: #5ff0ff; box-shadow: var(--glow-soft); }
.filter-status { color: var(--muted-2); font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 0.9rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.portfolio-item.is-hidden { display: none; }
.portfolio-item.reveal { animation: fadeUp 0.45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.portfolio-item .media { aspect-ratio: 16 / 9; cursor: pointer; }
.portfolio-item .count { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: 0.68rem; letter-spacing: 1px; color: #dfe9f1; background: rgba(5, 11, 18, 0.7); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; padding: 0.25rem 0.6rem; }
.portfolio-item .body { padding: 0.7rem 0.85rem 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.portfolio-item .body h3 { color: #fff; font-size: 0.98rem; line-height: 1.2; }
.portfolio-item .body p { color: var(--muted); font-size: 0.82rem; line-height: 1.45; flex: 1; }
.pill { display: inline-block; padding: 0.18rem 0.6rem; border-radius: 999px; background: rgba(56, 226, 255, 0.12); border: 1px solid rgba(56, 226, 255, 0.4); color: var(--cyan); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.5px; width: fit-content; }

/* designs page: accordion of projects */
.design-project { margin-bottom: 14px; }
.acc-head { display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; width: 100%; padding: 0.9rem 1.1rem 0.9rem 0.9rem; background: transparent; border: 0; text-align: left; cursor: pointer; }
.acc-head:hover { background: rgba(56, 226, 255, 0.05); }
.acc-head .thumb { position: relative; border-radius: 8px; overflow: hidden; background: #000; }
.acc-head .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.acc-head .kicker { margin-bottom: 0.2rem; }
.acc-head h2 { color: #fff; font-size: 1.25rem; margin-bottom: 0.25rem; line-height: 1.2; }
.acc-head p { color: var(--muted); font-size: 0.88rem; }
.acc-head .hint { display: block; color: var(--cyan); font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; margin-top: 0.4rem; }
.acc-arrow { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cyan); display: grid; place-items: center; color: var(--cyan); background: rgba(56, 226, 255, 0.1); transition: transform 0.3s var(--ease), background 0.2s; }
.design-project.open .acc-arrow { transform: rotate(180deg); background: var(--cyan); color: #04202a; }
.design-project.open .hint { display: none; }
.acc-body { display: none; padding: 1rem 1.1rem 1.4rem; border-top: 1px solid rgba(56, 226, 255, 0.14); }
.design-project.open .acc-body { display: block; animation: panelIn 0.35s var(--ease); }
.design-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.design-cover { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; border: 1px solid rgba(56, 226, 255, 0.2); }
.design-cover img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.design-info p { color: #d7e2ec; font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.7rem; }
.spec-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem 1rem; margin-bottom: 0.9rem; font-size: 0.84rem; color: #d7e2ec; }
.spec-list li { padding-left: 0.9rem; position: relative; }
.spec-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 6px var(--cyan); }
.spec-list b { color: #fff; }
.block-title { color: var(--cyan); font-size: 0.78rem; letter-spacing: 1.8px; text-transform: uppercase; margin: 1.2rem 0 0.2rem; }
.block-sub { color: var(--muted); font-size: 0.82rem; margin-bottom: 0.6rem; }
.player.compact { max-width: 760px; }
.render-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.render-grid button { position: relative; padding: 0; border: 1px solid rgba(56, 226, 255, 0.2); border-radius: 7px; overflow: hidden; background: #000; cursor: pointer; }
.render-grid button img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.render-grid button:hover img { transform: scale(1.04); }
.render-grid button:hover { border-color: var(--cyan); box-shadow: var(--glow-soft); }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 680px; }
.room-grid button { text-align: left; padding: 0; border: 1px solid rgba(56, 226, 255, 0.2); border-radius: 8px; overflow: hidden; background: var(--card); cursor: pointer; }
.room-grid button .thumb { position: relative; }
.room-grid button img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room-grid button .cap { padding: 0.5rem 0.7rem; }
.room-grid button .cap b { display: block; color: #fff; font-size: 0.86rem; }
.room-grid button .cap span { color: var(--muted); font-size: 0.76rem; }
.drawing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.drawing-grid button { text-align: left; padding: 0; border: 1px solid rgba(56, 226, 255, 0.2); border-radius: 8px; overflow: hidden; background: var(--card); cursor: pointer; display: flex; flex-direction: column; }
.drawing-grid button:hover { border-color: var(--cyan); box-shadow: var(--glow-soft); }
.drawing-grid button .thumb { position: relative; }
.drawing-grid button img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: left top; background: #fff; }
.drawing-grid button .zoom { position: absolute; right: 8px; top: 8px; font-size: 0.66rem; background: rgba(5, 11, 18, 0.8); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 5px; padding: 0.2rem 0.45rem; }
.drawing-grid button .cap { padding: 0.6rem 0.8rem; }
.drawing-grid button .cap b { display: block; color: #fff; font-size: 0.86rem; }
.drawing-grid button .cap span { color: var(--muted); font-size: 0.76rem; }
.design-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.design-cta p { color: var(--muted); font-size: 0.86rem; flex: 1; min-width: 220px; }

/* CTA block on inner pages */
.cta-block { margin-top: 1.4rem; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: linear-gradient(90deg, rgba(56, 226, 255, 0.04), rgba(56, 226, 255, 0.1)); box-shadow: var(--glow-soft); }
.cta-block h2 { color: #fff; font-size: 1.25rem; }
.cta-block p { color: var(--muted); font-size: 0.9rem; }
.cta-block .actions { margin-left: auto; display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ---------- lightbox ---------- */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(2, 6, 10, 0.96); z-index: 99998; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-media { max-width: 90vw; max-height: 80vh; display: flex; align-items: center; justify-content: center; }
.lightbox-media img, .lightbox-media video { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px; box-shadow: 0 0 50px rgba(56, 226, 255, 0.35); }
.lightbox-media img.drawing { background: #fff; max-height: 74vh; }
.lightbox-close, .lightbox-nav { position: fixed; display: grid; place-items: center; cursor: pointer; color: #fff; border-radius: 50%; z-index: 99999; transition: all 0.2s; }
.lightbox-close { top: 18px; right: 18px; width: 54px; height: 54px; font-size: 1.6rem; background: rgba(56, 226, 255, 0.9); color: #04202a; border: 2px solid #fff; box-shadow: var(--glow); }
.lightbox-close:hover { background: #fff; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(56, 226, 255, 0.18); border: 2px solid var(--cyan); font-size: 1.3rem; }
.lightbox-nav:hover { background: rgba(56, 226, 255, 0.45); }
.lightbox-prev { left: 18px; } .lightbox-next { right: 18px; }
.lightbox-counter { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 0.8rem; letter-spacing: 2px; color: #fff; background: rgba(56, 226, 255, 0.2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.35rem 0.9rem; z-index: 99999; }
.lightbox-caption { position: fixed; bottom: 60px; left: 50%; transform: translateX(-50%); z-index: 99999; display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; justify-content: center; max-width: 92vw; }
.lightbox-caption span { color: #fff; font-size: 0.85rem; background: rgba(0, 0, 0, 0.65); padding: 0.35rem 0.8rem; border-radius: 8px; }

/* ---------- responsive ---------- */
@media (min-width: 1900px) {
    :root { --gutter: 56px; }
    .hero { height: 360px; }
    .hero h1 { font-size: 3.6rem; }
    .viz-row { grid-template-columns: 380px 320px minmax(0, 1fr); }
}
@media (max-width: 1280px) {
    :root { --gutter: 28px; }
    .brand-text { font-size: 0.7rem; }
    .main-nav a, .main-nav .nav-btn { padding: 0.5rem 0.7rem; font-size: 0.88rem; }
    .services-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .viz-row { grid-template-columns: 300px 240px minmax(0, 1fr); }
    .portfolio-grid, .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .main-nav {
        position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0.1rem; padding: 0.6rem 0.8rem 0.9rem; margin: 0;
        background: rgba(6, 14, 22, 0.98); border-bottom: 1px solid var(--line-strong); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a, .main-nav .nav-btn { width: 100%; padding: 0.7rem 0.8rem; font-size: 1rem; justify-content: space-between; }
    .main-nav a.active::after { display: none; }
    .main-nav a.active { background: rgba(56, 226, 255, 0.08); color: var(--cyan); }
    .dropdown { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: rgba(56, 226, 255, 0.04); margin: 0.2rem 0 0.4rem; }
    .dropdown.open { display: block; }
    .main-nav .mobile-cta { display: block; margin-top: 0.5rem; }
    .main-nav .mobile-cta .btn { width: 100%; }
    .hero { height: auto; min-height: 300px; }
    .hero-inner { padding: 2.2rem var(--gutter); max-width: none; }
    .hero-media::before { background: linear-gradient(90deg, rgba(6, 14, 22, 0.96) 0%, rgba(6, 14, 22, 0.85) 45%, rgba(6, 14, 22, 0.35) 100%); }
    .hero-media::after { left: 60%; opacity: 0.35; }
    .hero h1 { font-size: 2.6rem; }
    .viz-row { grid-template-columns: 1fr; }
    .viz-intro p { max-width: none; }
    .viz-holo { aspect-ratio: 21 / 8; }
    .viz-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .viz-card .media { aspect-ratio: 16 / 8; }
    .viz-tag { top: 10px; right: 10px; bottom: auto; }
    .viz-panel-body { grid-template-columns: 1fr; }
    .projects-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: 1fr; }
    .portfolio-grid, .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .acc-head { grid-template-columns: 140px minmax(0, 1fr) auto; }
    .render-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    :root { --gutter: 16px; --header-h: 56px; }
    .header-inner { padding: 0 12px 0 14px; gap: 0.6rem; }
    .brand-mark { width: 38px; height: 38px; font-size: 0.82rem; }
    .brand-text { font-size: 0.62rem; letter-spacing: 1.4px; }
    .brand-text small { font-size: 0.62rem; letter-spacing: 1.4px; }
    .brand-sep { height: 28px; }
    .hero { min-height: 0; }
    .hero-inner { padding: 1.8rem var(--gutter) 1.6rem; }
    .hero-media img { object-position: 70% 50%; }
    .hero-media::before { background: linear-gradient(180deg, rgba(6, 14, 22, 0.78) 0%, rgba(6, 14, 22, 0.86) 100%); }
    .hero-media::after { display: none; }
    .hero h1 { font-size: 2.1rem; }
    .hero p { font-size: 1rem; max-width: none; }
    .hero-actions .btn { flex: 1 1 auto; }
    .viz-tag { font-size: 0.58rem; top: auto; bottom: 8px; right: 10px; }
    .hero-inner { padding-bottom: 2.9rem; }
    .section { padding: 1.1rem 0 1.2rem; }
    .section-head h2 { font-size: 1.3rem; }
    .section-head .right { margin-left: 0; width: 100%; }
    .services-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .service-card .media { aspect-ratio: 16 / 10; }
    .card .label { padding: 0.5rem 0.55rem; }
    .card .label b, .card .label span { white-space: normal; }
    .viz-row { grid-template-columns: 1fr; }
    .viz-cards { grid-template-columns: 1fr; gap: 10px; }
    .viz-card .media { aspect-ratio: 16 / 7; }
    .viz-panel-body { padding: 12px; gap: 10px; }
    /* phones: the panel sits right under the tapped card (moved there by site.js) and shows only the video + a short text + buttons */
    .viz-cards .viz-panel { margin-top: 0; }
    .viz-panel-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title close" "sub close"; gap: 0.15rem 0.8rem; align-items: center; padding: 0.7rem 0.8rem; }
    .viz-panel-head h3 { grid-area: title; font-size: 1rem; }
    .viz-panel-head .sub { grid-area: sub; font-size: 0.76rem; }
    .viz-panel-head .close { grid-area: close; margin-left: 0; }
    #viz-kitchen .viz-side h4, #viz-tvwall .viz-side h4, #viz-kitchen .thumb-strip, #viz-tvwall .thumb-strip, #viz-kitchen .dwg-strip, #viz-tvwall .dwg-strip, #viz-kitchen .dim-note, #viz-tvwall .dim-note { display: none; }
    #viz-kitchen .viz-side .spec, #viz-tvwall .viz-side .spec { margin-bottom: 0.2rem; }
    .viz-actions { margin-top: 0.6rem; }
    .viz-actions .btn { flex: 1 1 auto; justify-content: center; }
    .d-only { display: none; } .m-only { display: inline; }
    .thumb-strip, .dwg-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .projects-row { grid-template-columns: 1fr; }
    .project-card .media { aspect-ratio: 16 / 8; }
    .foot-band::before, .foot-band::after { display: none; }
    .foot-cta { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
    .foot-cta .btn { margin-left: 0; width: 100%; }
    .foot-bar .contact { margin-left: 0; }
    .portfolio-grid, .svc-grid { grid-template-columns: 1fr; }
    .acc-head { grid-template-columns: 88px minmax(0, 1fr) auto; gap: 0.7rem; padding: 0.8rem; }
    .acc-head h2 { font-size: 1rem; }
    .acc-head p { font-size: 0.8rem; }
    .acc-arrow { width: 34px; height: 34px; }
    .design-head { grid-template-columns: 1fr; }
    .spec-list { grid-template-columns: 1fr; }
    .render-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .room-grid { grid-template-columns: 1fr; }
    .cta-block .actions { margin-left: 0; width: 100%; }
    .cta-block .actions .btn { flex: 1; }
    .lightbox-close { width: 46px; height: 46px; top: 10px; right: 10px; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 1rem; }
    .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
    .lightbox-caption { bottom: 64px; }
}
@media (hover: none) and (pointer: coarse) { .player .play-overlay { display: none; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .card:hover .media img { transform: none; }
}
