/* =========================================================
   TeppyBugz Enterprise — public theme
   Orange / black / white
   ========================================================= */

:root {
    --black: #08080a;
    --ink: #0b0b0d;
    --surface: #101012;
    --surface-2: #151518;
    --surface-3: #1a1a1e;
    --white: #f6f3ec;
    --cream: #e7e2d7;
    --muted: #a39d94;
    --muted-2: #77716a;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --orange: #ff6a00;
    --orange-rgb: 255, 106, 0;
    --orange-2: #ff9a5a;
    --orange-deep: #ff3d00;
    --dark-ink: #120b05;
    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
    --container: 1280px;
    --gutter: clamp(18px, 3vw, 36px);
    --radius: 20px;
    --radius-lg: 30px;
    --nav-h: 82px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 24px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open,
body.lightbox-open {
    overflow: hidden;
}

::selection {
    background: var(--orange);
    color: #000;
}

img,
svg,
canvas,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #0a0a0b;
}
::-webkit-scrollbar-thumb {
    background: #2a2a2e;
    border-radius: 999px;
    border: 2px solid #0a0a0b;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* ---------- Utilities ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.container.narrow {
    max-width: 900px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 500;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--orange);
    color: #000;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: none;
}

.icon {
    width: 18px;
    height: 18px;
    flex: none;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--orange-2);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.eyebrow--status {
    color: var(--cream);
}

.eyebrow--dark {
    color: rgba(0, 0, 0, 0.64);
}

.status-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(var(--orange-rgb), 0.14);
}
.status-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(var(--orange-rgb), 0.4);
    border-radius: 50%;
    animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}

.accent-word {
    color: var(--orange);
    background: linear-gradient(112deg, #ffc08f 0%, var(--orange) 45%, var(--orange-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn:active {
    transform: translateY(0);
}
.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.25s var(--ease);
}
.btn:hover .btn-icon {
    transform: translate(2px, -2px);
}
.btn--primary {
    background: var(--orange);
    color: #0b0603;
    box-shadow: 0 10px 30px rgba(var(--orange-rgb), 0.2);
}
.btn--primary:hover {
    background: #ff8129;
    box-shadow: 0 16px 40px rgba(var(--orange-rgb), 0.3);
}
.btn--ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
}
.btn--ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(var(--orange-rgb), 0.06);
}
.btn--dark {
    background: #0b0603;
    color: var(--white);
}
.btn--dark:hover {
    background: #1b1009;
}
.btn--dark-ghost {
    border-color: rgba(0, 0, 0, 0.35);
    color: var(--dark-ink);
}
.btn--dark-ghost:hover {
    border-color: var(--dark-ink);
    background: rgba(0, 0, 0, 0.08);
}
.btn--sm {
    min-height: 42px;
    padding: 11px 18px;
    font-size: 13px;
}
.btn--lg {
    min-height: 56px;
    padding: 18px 30px;
    font-size: 15px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange-2);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, gap 0.2s ease;
}
.text-link .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}
.text-link:hover {
    color: var(--white);
}
.text-link:hover .icon {
    transform: translateX(3px);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.badge-success {
    border-color: rgba(80, 200, 120, 0.3);
    background: rgba(80, 200, 120, 0.08);
    color: #8ce0a8;
}
.badge-warn {
    border-color: rgba(var(--orange-rgb), 0.35);
    background: rgba(var(--orange-rgb), 0.1);
    color: var(--orange-2);
}

.tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tech-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: #b9b3a9;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.3;
}
.tech-chip--more {
    color: var(--orange-2);
    border-color: rgba(var(--orange-rgb), 0.24);
    background: rgba(var(--orange-rgb), 0.06);
}
.tech-row--stack {
    gap: 8px;
}
.tech-row--stack .tech-chip {
    padding: 7px 12px;
    font-size: 12px;
}

/* ---------- Ambient / progress ---------- */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 300;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), #ffb27a);
    transform: scaleX(var(--progress, 0));
    transform-origin: 0 50%;
    pointer-events: none;
}

.site-noise {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 460px;
    height: 460px;
    margin: -230px 0 0 -230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--orange-rgb), 0.1), transparent 65%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-h);
    transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(8, 8, 10, 0.78);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: none;
}
.brand-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.brand-word {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    text-transform: uppercase;
}
.brand-word small {
    margin-top: 5px;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 0.3em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 36px);
    margin-left: auto;
}
.main-nav a {
    position: relative;
    padding: 8px 0;
    color: #c7c1b7;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.3s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active {
    color: var(--white);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 5px auto;
    background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.2px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.2px) rotate(-45deg);
}

/* ---------- Navbar hover bot ---------- */

.nav-bot {
    position: absolute;
    left: 50%;
    bottom: -70px;
    z-index: 99;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s ease;
}
.nav-bot.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    pointer-events: none;
}
.nav-bot-button {
    position: relative;
    width: 76px;
    height: 70px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    animation: nav-bot-float 3.6s ease-in-out infinite;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}
.nav-bot-svg {
    width: 76px;
    height: 66px;
    overflow: visible;
}
.nav-bot-button:hover .nav-bot-svg {
    filter: drop-shadow(0 0 16px rgba(var(--orange-rgb), 0.45));
}
.nav-bot-bubble {
    position: absolute;
    top: -4px;
    right: -6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--orange);
    color: #130b04;
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(4px) scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s var(--ease);
    pointer-events: none;
}
.nav-bot-button:hover .nav-bot-bubble,
.nav-bot-button:focus-visible .nav-bot-bubble {
    opacity: 1;
    transform: none;
}
.nav-bot-float {
    transform-origin: 45px 52px;
    animation: nav-bot-bob 2.4s ease-in-out infinite;
}
@keyframes nav-bot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes nav-bot-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ---------- Mobile nav ---------- */

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: #070708;
    transform: translateY(-102%);
    transition: transform 0.5s var(--ease);
    visibility: hidden;
}
.mobile-nav.is-open {
    transform: translateY(0);
    visibility: visible;
}
.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
    overflow-y: auto;
}
.mobile-nav nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}
.mobile-nav nav a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(2rem, 9vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}
.mobile-nav nav a span {
    width: 26px;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.16em;
}
.mobile-nav nav a.is-active {
    color: var(--orange);
}
.mobile-nav-arrow {
    width: 26px;
    height: 26px;
    margin-left: auto;
    color: var(--muted-2);
}
.mobile-nav-foot {
    display: grid;
    gap: 26px;
    margin-top: 50px;
}
.mobile-nav-contact {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}
.mobile-nav-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.mobile-nav-contact .icon {
    width: 15px;
    height: 15px;
    color: var(--orange);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 70px) 0 34px;
    overflow: hidden;
    isolation: isolate;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.95;
    pointer-events: none;
}

.hero-fallback {
    position: absolute;
    z-index: -2;
    top: 8%;
    right: -8%;
    width: 62vw;
    height: 62vw;
    max-width: 900px;
    max-height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(var(--orange-rgb), 0.22), rgba(var(--orange-rgb), 0.05) 45%, transparent 68%);
    filter: blur(10px);
}

.hero-glow {
    position: absolute;
    z-index: -2;
    top: -20%;
    left: 38%;
    width: 40vw;
    height: 70vh;
    background: radial-gradient(ellipse at center, rgba(255, 61, 0, 0.12), transparent 70%);
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 92px 92px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 10%, transparent 72%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 10%, transparent 72%);
    opacity: 0.55;
}

.hero-inner {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 810px;
}

.hero-title {
    max-width: 14ch;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 7.4vw, 7.4rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.92;
    text-wrap: balance;
}

.hero-sub {
    max-width: 59ch;
    margin-top: 28px;
    color: #b7b1a7;
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 34px;
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 11px;
    letter-spacing: 0.04em;
}
.hero-meta strong {
    display: block;
    margin-bottom: 2px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-hud {
    position: absolute;
    right: 0;
    bottom: 4%;
    width: 214px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(12, 12, 14, 0.55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--muted-2);
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.18em;
}
.hud-top,
.hud-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hud-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange-2);
}
.hud-live i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}
.hud-lines {
    display: grid;
    gap: 6px;
    margin: 16px 0;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--cream);
    font-size: 10px;
    letter-spacing: 0.2em;
}
.hud-dots {
    color: var(--orange);
    letter-spacing: 2px;
}

.hero-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.2em;
}
.hero-scroll,
.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero-scroll .icon,
.hero-location .icon {
    width: 13px;
    height: 13px;
    color: var(--orange);
}

/* ---------- Sections ---------- */

.section {
    position: relative;
    padding: clamp(74px, 9vw, 132px) 0;
}

.section--stats {
    padding: clamp(54px, 6vw, 80px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section--services,
.section--archive,
.section--faq {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section--about,
.section--process,
.section--values,
.section--timeline {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section--about {
    background:
        radial-gradient(ellipse 50% 60% at 18% 40%, rgba(var(--orange-rgb), 0.08), transparent 70%),
        #0a0a0c;
}

.section--tech {
    padding-bottom: clamp(60px, 7vw, 100px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.section-head {
    max-width: 780px;
    margin-bottom: clamp(38px, 5vw, 62px);
}
.section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.section-head--center .eyebrow {
    justify-content: center;
}
.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: clamp(38px, 5vw, 62px);
}
.section-head-row .section-head {
    margin-bottom: 0;
}
.section-head-row .section-actions {
    margin-top: 0;
    flex: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.15rem, 4.4vw, 4.2rem);
    font-weight: 600;
    letter-spacing: -0.055em;
    line-height: 1.02;
    text-wrap: balance;
}

.section-sub {
    max-width: 62ch;
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(14px, 1.2vw, 16.5px);
}

.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

/* ---------- Stats ---------- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px clamp(14px, 2.4vw, 32px);
    border-left: 1px solid var(--line);
}
.stat-card:first-child {
    border-left: 0;
    padding-left: 0;
}
.stat-icon {
    color: var(--orange);
    margin-bottom: 8px;
}
.stat-icon .icon {
    width: 20px;
    height: 20px;
}
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.8vw, 4.6rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.95;
}
.stat-label {
    color: var(--muted-2);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Services ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease);
}
.service-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -30%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--orange-rgb), 0.14), transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover {
    border-color: rgba(var(--orange-rgb), 0.4);
    background: linear-gradient(160deg, rgba(var(--orange-rgb), 0.08), rgba(255, 255, 255, 0.015));
}
.service-card:hover::before {
    opacity: 1;
}
.service-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 34px;
}
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--orange-rgb), 0.28);
    border-radius: 13px;
    background: rgba(var(--orange-rgb), 0.09);
    color: var(--orange);
}
.service-icon .icon {
    width: 21px;
    height: 21px;
}
.service-index {
    color: rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.1em;
}
.service-card h3 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.service-card h3 a {
    transition: color 0.2s ease;
}
.service-card:hover h3 a {
    color: var(--orange-2);
}
.service-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-top: 22px;
    color: var(--orange-2);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.service-link .icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}
.service-card:hover .service-link .icon {
    transform: translate(2px, -2px);
}

/* ---------- Service detail ---------- */

.service-detail-list {
    border-top: 1px solid var(--line);
}
.service-detail {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 340px;
    gap: clamp(20px, 3vw, 48px);
    padding: clamp(36px, 4vw, 54px) 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 120px;
}
.service-detail-index {
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.16em;
}
.service-detail-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
.service-detail-title h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.service-detail .lead {
    color: var(--cream);
    font-size: 16px;
    margin-bottom: 16px;
}
.service-detail-main .prose p {
    color: var(--muted);
    font-size: 13.5px;
}
.service-detail-side {
    padding-left: clamp(0px, 2vw, 30px);
    border-left: 1px solid var(--line);
}
.service-detail-side h4 {
    margin-bottom: 14px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.check-list {
    display: grid;
    gap: 9px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #c4beb4;
    font-size: 12.5px;
    line-height: 1.5;
}
.check-list .icon {
    width: 14px;
    height: 14px;
    margin-top: 2px;
    color: var(--orange);
}
.service-price {
    margin-top: 20px;
    color: var(--muted);
    font-size: 12px;
}
.service-price strong {
    color: var(--white);
}
.service-detail-side .text-link {
    margin-top: 20px;
}

/* ---------- Projects ---------- */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.project-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d0d0f;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.3s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.project-card:hover {
    border-color: rgba(var(--orange-rgb), 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.project-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 20%, rgba(var(--orange-rgb), 0.1), transparent 60%),
        #0a0a0b;
}
.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.4s ease;
}
.project-media.is-shot img {
    object-fit: contain;
    padding: 18px 18px 0;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5));
}
.project-card:hover .project-media img {
    transform: scale(1.035);
}
.project-card:hover .project-media.is-shot img {
    transform: scale(1.015) translateY(-4px);
}
.project-media-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--muted-2);
}
.project-media-fallback .icon {
    width: 34px;
    height: 34px;
}
.project-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(8, 8, 10, 0.68);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--cream);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.project-cat.cat-mobile-app {
    border-color: rgba(var(--orange-rgb), 0.4);
    color: var(--orange-2);
}
.project-cat.cat-web-system {
    background: rgba(246, 243, 236, 0.9);
    color: #0b0b0d;
}
.project-cat.cat-ai-data {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}
.project-cat.cat-security-tool {
    border-color: rgba(var(--orange-rgb), 0.6);
    background: rgba(20, 10, 4, 0.8);
    color: var(--orange-2);
}
.project-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(8, 8, 10, 0.65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--white);
    opacity: 0;
    transform: translate(6px, 6px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), background 0.2s ease;
}
.project-arrow .icon {
    width: 16px;
    height: 16px;
}
.project-card:hover .project-arrow {
    opacity: 1;
    transform: none;
    background: var(--orange);
    border-color: var(--orange);
    color: #000;
}
.project-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 22px;
}
.project-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--muted-2);
    font-family: var(--font-display);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.dot-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--muted-2);
}
.project-meta .badge {
    margin-left: auto;
}
.project-card h3 {
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.15;
}
.project-card h3 a {
    transition: color 0.2s ease;
}
.project-card:hover h3 a {
    color: var(--orange-2);
}
.project-card p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
}
.project-card .tech-row {
    margin-top: auto;
}

.project-grid--spotlight .project-card:first-child {
    grid-column: span 2;
}
.project-grid--spotlight .project-card:first-child .project-media {
    aspect-ratio: 16 / 8.6;
}
.project-grid--spotlight .project-card:first-child h3 {
    font-size: 26px;
}

/* ---------- Project detail ---------- */

.project-hero {
    position: relative;
    padding: calc(var(--nav-h) + 60px) 0 40px;
    overflow: hidden;
}
.project-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 78% 20%, rgba(var(--orange-rgb), 0.14), transparent 65%),
        radial-gradient(ellipse 40% 50% at 10% 40%, rgba(255, 255, 255, 0.04), transparent 70%);
    pointer-events: none;
}
.project-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(34px, 5vw, 70px);
    align-items: center;
    margin-top: 38px;
}
.project-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}
.project-tags .project-cat {
    position: static;
    background: rgba(var(--orange-rgb), 0.08);
}
.project-tags .project-cat.cat-web-system {
    background: var(--white);
}
.project-year {
    color: var(--muted-2);
    font-size: 11px;
    letter-spacing: 0.12em;
}
.project-title {
    font-family: var(--font-display);
    font-size: clamp(2.9rem, 6vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.94;
    text-wrap: balance;
}
.project-lede {
    max-width: 52ch;
    margin-top: 20px;
    color: var(--muted);
    font-size: clamp(15px, 1.3vw, 17.5px);
}
.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
    max-width: 520px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.project-meta-grid small {
    display: block;
    margin-bottom: 3px;
    color: var(--muted-2);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.project-meta-grid strong {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    color: var(--cream);
}
.project-cover {
    position: relative;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
.project-cover img {
    width: 100%;
    max-height: 610px;
    object-fit: cover;
    border-radius: 18px;
    background: #0a0a0b;
}
.project-cover.is-shot img {
    object-fit: contain;
    padding: 16px;
    max-height: 640px;
}
.project-cover figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 6px 3px;
    color: var(--muted-2);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-body-section {
    padding-top: clamp(40px, 6vw, 80px);
}
.project-body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}
.project-main {
    min-width: 0;
}
.project-section {
    padding: 0 0 clamp(38px, 5vw, 64px);
    margin-bottom: clamp(38px, 5vw, 64px);
    border-bottom: 1px solid var(--line);
}
.project-section:last-child {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}
.project-section h2 {
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1.05;
}
.project-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}
.project-section-head h2 {
    margin-bottom: 0;
}
.gallery-count {
    color: var(--muted-2);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}
.prose {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}
.prose p + p {
    margin-top: 14px;
}
.prose--large {
    color: #bdb7ad;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.7;
}
.prose--large p + p {
    margin-top: 18px;
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.feature-list li {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}
.feature-list li > span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 50%;
    background: rgba(var(--orange-rgb), 0.1);
    color: var(--orange);
}
.feature-list li > span .icon {
    width: 12px;
    height: 12px;
}
.feature-list p {
    color: #c4beb4;
    font-size: 12.5px;
    line-height: 1.55;
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.screenshot-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #0a0a0b;
}
.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s var(--ease), opacity 0.3s ease;
}
.screenshot-card:hover img {
    transform: scale(1.04);
}
.screenshot-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 14px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: var(--cream);
    font-size: 10.5px;
    line-height: 1.4;
}
.screenshot-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(8, 8, 10, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.screenshot-zoom .icon {
    width: 14px;
    height: 14px;
}
.screenshot-card:hover .screenshot-zoom {
    opacity: 1;
}
.gallery-note {
    display: flex;
    gap: 18px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
}
.gallery-note > .icon {
    width: 28px;
    height: 28px;
    color: var(--orange);
    flex: none;
}
.gallery-note h3 {
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.gallery-note p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
}

.project-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    display: grid;
    gap: 14px;
}
.sidebar-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d0d0f;
}
.sidebar-card h3 {
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.detail-list {
    display: grid;
    gap: 0;
}
.detail-list > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
}
.detail-list > div:last-child {
    border-bottom: 0;
}
.detail-list dt {
    color: var(--muted-2);
}
.detail-list dd {
    color: var(--cream);
    text-align: right;
}
.sidebar-links {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}
.sidebar-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    color: var(--muted-2);
    font-size: 11px;
    line-height: 1.5;
}
.sidebar-note .icon {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    color: var(--orange);
}
.sidebar-card--cta {
    border-color: rgba(var(--orange-rgb), 0.3);
    background:
        radial-gradient(ellipse 100% 80% at 100% 0%, rgba(var(--orange-rgb), 0.12), transparent 60%),
        #0d0d0f;
}
.sidebar-card--cta h3 {
    font-size: 22px;
    line-height: 1.1;
}
.sidebar-card--cta p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 12px;
}

.project-pager {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.project-pager-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.pager-link {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 45%;
    padding: 28px 0;
    transition: color 0.2s ease;
}
.pager-link > .icon {
    width: 20px;
    height: 20px;
    color: var(--orange);
    flex: none;
}
.pager-link small {
    display: block;
    margin-bottom: 2px;
    color: var(--muted-2);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.pager-link strong {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
}
.pager-link:hover {
    color: var(--orange-2);
}
.pager-next {
    margin-left: auto;
    text-align: right;
}

.section--related {
    background: #0a0a0c;
    border-bottom: 1px solid var(--line);
}

/* ---------- About ---------- */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.about-media {
    position: relative;
    min-height: 430px;
}
.about-frame {
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(370px, 42vw, 560px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 50% 35%, rgba(var(--orange-rgb), 0.16), transparent 55%),
        linear-gradient(160deg, #111113, #09090a);
    overflow: hidden;
}
.about-frame::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
}
.about-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-frame.is-logo img {
    width: 62%;
    height: 62%;
    object-fit: contain;
    filter: drop-shadow(0 30px 50px rgba(var(--orange-rgb), 0.2));
}
.about-stamp {
    position: absolute;
    left: -18px;
    bottom: 28px;
    display: grid;
    gap: 2px;
    padding: 14px 18px;
    border: 1px solid rgba(var(--orange-rgb), 0.4);
    border-radius: 12px;
    background: rgba(10, 10, 11, 0.84);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-family: var(--font-display);
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--muted);
}
.about-stamp strong {
    color: var(--orange);
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.about-orbit {
    position: absolute;
    right: -36px;
    top: -34px;
    width: 130px;
    height: 130px;
    border: 1px dashed rgba(var(--orange-rgb), 0.4);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}
.about-orbit::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    width: 7px;
    height: 7px;
    margin-left: -3px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 14px var(--orange);
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.about-copy .section-title {
    margin-bottom: 22px;
}
.about-copy .prose {
    max-width: 60ch;
}
.highlight-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 4px;
}
.highlight-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.highlight-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: none;
    border: 1px solid rgba(var(--orange-rgb), 0.25);
    border-radius: 9px;
    background: rgba(var(--orange-rgb), 0.07);
    color: var(--orange);
}
.highlight-icon .icon {
    width: 15px;
    height: 15px;
}
.highlight-list strong {
    display: block;
    margin-bottom: 1px;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
}
.highlight-list span span {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- Process ---------- */

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.process-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.process-card:hover {
    border-color: rgba(var(--orange-rgb), 0.35);
    background: rgba(var(--orange-rgb), 0.04);
}
.process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}
.process-no {
    font-family: var(--font-display);
    font-size: 54px;
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}
.process-icon {
    color: var(--orange);
}
.process-icon .icon {
    width: 20px;
    height: 20px;
}
.process-card h3 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.process-card p {
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Tech marquee ---------- */

.marquee-rows {
    display: grid;
    gap: 6px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee {
    overflow: hidden;
}
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.marquee--reverse .marquee-track {
    animation-direction: reverse;
    animation-duration: 44s;
}
.marquee:hover .marquee-track {
    animation-play-state: paused;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 0 26px;
    color: rgba(246, 243, 236, 0.4);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    white-space: nowrap;
    transition: color 0.25s ease;
}
.marquee-item:hover {
    color: var(--orange);
}
.marquee-item i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.6;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Values ---------- */

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.value-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.022);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.value-card:hover {
    border-color: rgba(var(--orange-rgb), 0.35);
    transform: translateY(-3px);
}
.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 26px;
    border: 1px solid rgba(var(--orange-rgb), 0.26);
    border-radius: 12px;
    background: rgba(var(--orange-rgb), 0.07);
    color: var(--orange);
}
.value-icon .icon {
    width: 20px;
    height: 20px;
}
.value-card h3 {
    margin-bottom: 7px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
}
.value-card p {
    max-width: 48ch;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Timeline ---------- */

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    max-width: 980px;
}
.timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 116px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--line-strong) 6%, var(--line-strong) 94%, transparent);
}
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 92px 48px minmax(0, 1fr);
    gap: 0 20px;
    align-items: start;
    padding: 18px 0;
}
.timeline-year {
    padding-top: 9px;
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: right;
}
.timeline-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-top: 3px;
    border: 1px solid rgba(var(--orange-rgb), 0.35);
    border-radius: 50%;
    background: #0a0a0c;
    color: var(--orange);
}
.timeline-dot .icon {
    width: 14px;
    height: 14px;
}
.timeline-content {
    padding: 2px 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.timeline-item:last-child .timeline-content {
    border-bottom: 0;
}
.timeline-content h3 {
    margin-bottom: 5px;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}
.timeline-content p {
    max-width: 66ch;
    color: var(--muted);
    font-size: 13.5px;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d0d0f;
}
.stars {
    display: flex;
    gap: 2px;
    margin-bottom: 18px;
    color: var(--orange);
}
.stars .icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
    stroke-width: 1;
}
.testimonial-card > p {
    flex: 1;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.02em;
}
.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.testimonial-card footer img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-card footer span {
    color: var(--muted-2);
    font-size: 11px;
}
.testimonial-card footer strong {
    display: block;
    color: var(--white);
    font-size: 12.5px;
}

/* ---------- FAQ ---------- */

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}
.faq-intro .section-head {
    margin-bottom: 26px;
}
.faq-note {
    display: flex;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}
.faq-note .icon {
    width: 18px;
    height: 18px;
    color: var(--orange);
    flex: none;
    margin-top: 2px;
}
.faq-note p {
    color: var(--muted);
    font-size: 12.5px;
}
.faq-note a {
    color: var(--orange-2);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.faq-list {
    border-top: 1px solid var(--line);
}
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-item summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 14px;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary:hover {
    color: var(--orange-2);
}
.faq-no {
    color: var(--muted-2);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 0.1em;
}
.faq-item summary > span:nth-child(2) {
    font-family: var(--font-display);
    font-size: clamp(15px, 1.5vw, 18px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.faq-plus {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--orange);
    font-style: normal;
    font-size: 16px;
    transition: transform 0.3s var(--ease), background 0.2s ease;
}
.faq-item[open] .faq-plus {
    transform: rotate(45deg);
    background: rgba(var(--orange-rgb), 0.1);
}
.faq-answer {
    padding: 0 52px 24px 52px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}
.faq-answer p + p {
    margin-top: 10px;
}

/* ---------- Contact ---------- */

.section--contact {
    background:
        radial-gradient(ellipse 50% 60% at 90% 10%, rgba(var(--orange-rgb), 0.08), transparent 65%),
        #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 16px;
    align-items: stretch;
}
.contact-info {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d0d0f;
}
.contact-info-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.contact-info-head img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.contact-info-head strong {
    display: block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
}
.contact-info-head span {
    display: block;
    color: var(--muted-2);
    font-size: 9px;
    letter-spacing: 0.1em;
}
.contact-list {
    display: grid;
    gap: 17px;
    padding: 24px 0;
}
.contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.contact-list li > .icon {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: var(--orange);
    flex: none;
}
.contact-list small {
    display: block;
    margin-bottom: 2px;
    color: var(--muted-2);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.contact-list span {
    color: var(--cream);
    font-size: 13px;
    line-height: 1.55;
}
.contact-list a {
    transition: color 0.2s ease;
}
.contact-list a:hover {
    color: var(--orange-2);
}
.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.contact-socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.contact-socials a:hover {
    border-color: var(--orange);
    background: rgba(var(--orange-rgb), 0.08);
    color: var(--orange);
}
.contact-socials .icon {
    width: 16px;
    height: 16px;
}

.contact-form-wrap {
    padding: clamp(22px, 3vw, 38px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.025);
}
.contact-form {
    display: grid;
    gap: 16px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.field {
    display: grid;
    gap: 7px;
}
.field > span {
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.25);
    padding: 13px 14px;
    color: var(--white);
    font-size: 13.5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea {
    min-height: 150px;
    resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
    color: #5f5a53;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(var(--orange-rgb), 0.65);
    background: rgba(var(--orange-rgb), 0.03);
    box-shadow: 0 0 0 3px rgba(var(--orange-rgb), 0.08);
}
.checkbox-field {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
    cursor: pointer;
}
.checkbox-field input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--orange);
    flex: none;
}
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.form-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted-2);
    font-size: 10px;
}
.form-note .icon {
    width: 13px;
    height: 13px;
    color: var(--orange);
}
.form-alert {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.55;
}
.form-alert > .icon {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 1px;
}
.form-alert--error {
    border: 1px solid rgba(255, 90, 70, 0.35);
    background: rgba(255, 90, 70, 0.08);
    color: #ffb0a5;
}
.form-alert--success {
    border: 1px solid rgba(80, 200, 120, 0.35);
    background: rgba(80, 200, 120, 0.08);
    color: #a8edc0;
}
.form-alert ul {
    margin-top: 5px;
    padding-left: 16px;
    list-style: disc;
}
.form-alert strong {
    color: var(--white);
}

.map-wrap {
    position: relative;
    margin-top: 16px;
    height: 360px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #0b0b0c;
}
.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.9) contrast(1.05) brightness(0.72);
}
.map-placeholder {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 360px;
    background:
        radial-gradient(circle at 50% 45%, rgba(var(--orange-rgb), 0.16), transparent 55%),
        #0b0b0c;
    overflow: hidden;
}
.map-grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 46px 46px;
    transform: rotate(-8deg);
    -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000, transparent 75%);
    mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000, transparent 75%);
}
.map-orbit {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px dashed rgba(var(--orange-rgb), 0.3);
    border-radius: 50%;
    animation: spin 36s linear infinite;
}
.map-orbit::before,
.map-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(var(--orange-rgb), 0.16);
    border-radius: 50%;
}
.map-orbit::before { inset: 42px; }
.map-orbit::after { inset: 88px; border-color: rgba(255, 255, 255, 0.08); }
.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: -31px 0 0 -31px;
    border: 1px solid rgba(var(--orange-rgb), 0.45);
    border-radius: 50%;
    background: rgba(var(--orange-rgb), 0.12);
    color: var(--orange);
    box-shadow: 0 0 50px rgba(var(--orange-rgb), 0.25);
}
.map-pin .icon {
    width: 26px;
    height: 26px;
}
.map-card {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    max-width: 300px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(10, 10, 11, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.map-card .eyebrow {
    margin-bottom: 0;
    color: var(--orange-2);
    font-size: 9px;
}
.map-card strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
}
.map-card p {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
}
.map-card .btn {
    justify-self: start;
    margin-top: 4px;
}
.map-card small {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--muted-2);
    font-size: 9px;
}
.map-card small .icon {
    width: 11px;
    height: 11px;
    color: var(--orange);
}
.map-link {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(8, 8, 10, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--cream);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.map-link .icon {
    width: 13px;
    height: 13px;
    color: var(--orange);
}

/* ---------- CTA ---------- */

.section--cta {
    padding-top: clamp(50px, 6vw, 90px);
}
.cta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(36px, 5.5vw, 78px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
}
.cta-panel--orange {
    background:
        radial-gradient(ellipse 60% 90% at 85% 15%, rgba(255, 255, 255, 0.28), transparent 55%),
        linear-gradient(125deg, #ff9a5a 0%, var(--orange) 48%, var(--orange-deep) 100%);
    color: var(--dark-ink);
}
.cta-panel--dark {
    border: 1px solid rgba(var(--orange-rgb), 0.28);
    background:
        radial-gradient(ellipse 60% 80% at 85% 10%, rgba(var(--orange-rgb), 0.18), transparent 60%),
        #0d0d0f;
}
.cta-copy {
    position: relative;
    z-index: 2;
    max-width: 760px;
}
.cta-panel--orange .eyebrow {
    color: rgba(0, 0, 0, 0.58);
}
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.98;
    text-wrap: balance;
}
.cta-panel--orange .cta-title {
    color: #150c05;
}
.cta-sub {
    max-width: 58ch;
    margin-top: 18px;
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.6;
}
.cta-panel--orange .cta-sub {
    color: rgba(21, 12, 5, 0.72);
}
.cta-panel--dark .cta-sub {
    color: var(--muted);
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.cta-orbit {
    position: absolute;
    z-index: 1;
    right: -90px;
    top: 50%;
    width: 460px;
    height: 460px;
    margin-top: -230px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 50%;
}
.cta-panel--dark .cta-orbit {
    border-color: rgba(var(--orange-rgb), 0.24);
}
.cta-orbit::before,
.cta-orbit::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.11);
    border-radius: 50%;
}
.cta-panel--dark .cta-orbit::before,
.cta-panel--dark .cta-orbit::after {
    border-color: rgba(var(--orange-rgb), 0.16);
}
.cta-orbit::before {
    inset: 60px;
}
.cta-orbit::after {
    inset: 130px;
}
.cta-mark {
    position: relative;
    z-index: 1;
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(100px, 14vw, 190px);
    height: clamp(100px, 14vw, 190px);
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.55);
}
.cta-panel--dark .cta-mark {
    border-color: rgba(var(--orange-rgb), 0.3);
    color: var(--orange);
}
.cta-mark .icon {
    width: 38%;
    height: 38%;
}

/* ---------- Page header ---------- */

.page-header {
    position: relative;
    padding: calc(var(--nav-h) + 88px) 0 clamp(60px, 7vw, 100px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.page-header-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 30% 30%, #000, transparent 72%);
    mask-image: radial-gradient(ellipse 70% 90% at 30% 30%, #000, transparent 72%);
}
.page-header-glow {
    position: absolute;
    top: -30%;
    right: 4%;
    width: 55vw;
    height: 70vh;
    background: radial-gradient(ellipse at center, rgba(var(--orange-rgb), 0.14), transparent 68%);
}
.page-header-inner {
    position: relative;
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px;
    color: var(--muted-2);
    font-size: 10.5px;
    letter-spacing: 0.08em;
}
.breadcrumb a {
    color: var(--muted);
    transition: color 0.2s ease;
}
.breadcrumb a:hover {
    color: var(--orange-2);
}
.breadcrumb span:last-child {
    color: var(--cream);
}
.page-title {
    max-width: 16ch;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6.8rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.94;
    text-wrap: balance;
}
.page-sub {
    max-width: 56ch;
    margin-top: 22px;
    color: var(--muted);
    font-size: clamp(14.5px, 1.4vw, 18px);
}
.page-header-rail {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 30px;
    color: rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-size: 11px;
    letter-spacing: 0.1em;
}
.page-header-rail span:first-child {
    color: var(--orange);
}

/* ---------- Filter bar ---------- */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.filter-btn span {
    color: var(--muted-2);
    font-size: 9.5px;
}
.filter-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}
.filter-btn.is-active {
    border-color: rgba(var(--orange-rgb), 0.4);
    background: rgba(var(--orange-rgb), 0.1);
    color: var(--orange-2);
}
.filter-btn.is-active span {
    color: var(--orange-2);
}
.search-field {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 250px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
}
.search-field .icon {
    width: 15px;
    height: 15px;
    color: var(--muted-2);
}
.search-field input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 12px;
    outline: none;
}
.search-field input::placeholder {
    color: var(--muted-2);
}
.filter-count {
    margin: 18px 0;
    color: var(--muted-2);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.empty-state {
    display: grid;
    place-items: center;
    gap: 10px;
    padding: 70px 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    text-align: center;
}
.empty-state > .icon {
    width: 30px;
    height: 30px;
    color: var(--orange);
}
.empty-state h3 {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: -0.02em;
}
.empty-state p {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Footer ---------- */

.site-footer {
    position: relative;
    z-index: 3;
    margin-top: 0;
    background: #060607;
    border-top: 1px solid var(--line);
    padding: clamp(56px, 7vw, 92px) 0 26px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.9fr 1.1fr;
    gap: clamp(30px, 4vw, 60px);
    padding-bottom: 50px;
}
.footer-brand p {
    max-width: 38ch;
    margin: 20px 0 22px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.65;
}
.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.footer-socials a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-socials a:hover {
    border-color: var(--orange);
    background: rgba(var(--orange-rgb), 0.08);
    color: var(--orange);
}
.footer-socials .icon {
    width: 15px;
    height: 15px;
}
.footer-col h2 {
    margin-bottom: 18px;
    color: var(--muted-2);
    font-family: var(--font-body);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.footer-col a,
.footer-col p {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.55;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--orange-2);
}
.footer-contact p {
    color: var(--muted);
}
.footer-hours {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    color: var(--muted-2) !important;
    font-size: 11px !important;
}
.footer-hours .icon {
    width: 13px;
    height: 13px;
    color: var(--orange);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 10px;
    letter-spacing: 0.03em;
}
.footer-bottom-links {
    display: flex;
    gap: 18px;
}
.footer-bottom a {
    transition: color 0.2s ease;
}
.footer-bottom a:hover {
    color: var(--orange-2);
}

/* ---------- Toasts ---------- */

.toast-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 220;
    display: grid;
    gap: 8px;
    width: min(370px, calc(100vw - 36px));
}
.toast {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    border-radius: 10px;
    background: #101012;
    color: var(--cream);
    font-size: 12.5px;
    line-height: 1.5;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
    animation: toast-in 0.35s var(--ease);
}
.toast--error {
    border-left-color: #ff5a46;
}
.toast--warning {
    border-left-color: #ffb020;
}
.toast--success {
    border-left-color: #50c878;
}
.toast-close {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted-2);
    flex: none;
}
.toast-close .icon {
    width: 13px;
    height: 13px;
}
@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
    background: rgba(4, 4, 5, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.lightbox-figure {
    position: relative;
    max-width: min(1100px, 86vw);
    text-align: center;
}
.lightbox-figure img {
    max-width: 100%;
    max-height: 80vh;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}
.lightbox-figure figcaption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

/* ---------- 404 / maintenance ---------- */

.not-found {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 78vh;
    padding: calc(var(--nav-h) + 80px) 0 100px;
    overflow: hidden;
}
.not-found-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 70vw;
    height: 60vh;
    margin-left: -35vw;
    background: radial-gradient(ellipse, rgba(var(--orange-rgb), 0.15), transparent 65%);
}
.not-found-inner {
    position: relative;
    text-align: center;
}
.not-found-inner .eyebrow {
    justify-content: center;
}
.not-found h1 {
    max-width: 18ch;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 0.95;
}
.not-found p {
    max-width: 48ch;
    margin: 20px auto 0;
    color: var(--muted);
}
.not-found .hero-actions {
    justify-content: center;
}

.maintenance-page {
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse 50% 60% at 70% 20%, rgba(var(--orange-rgb), 0.18), transparent 65%),
        var(--black);
    padding: 24px;
}
.maintenance-card {
    width: min(520px, 100%);
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d0d0f;
    text-align: center;
}
.maintenance-card img {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    object-fit: contain;
}
.maintenance-card .eyebrow {
    justify-content: center;
}
.maintenance-card h1 {
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}
.maintenance-card p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 14px;
}

/* ---------- Live page scenes ---------- */

.page-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.55;
    pointer-events: none;
}
.page-header-grid,
.page-header-glow {
    z-index: 0;
}
.page-header-inner {
    z-index: 2;
}
.project-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.48;
    pointer-events: none;
}
.project-hero-bg {
    z-index: 0;
}
.project-hero .container {
    position: relative;
    z-index: 2;
}

/* ---------- Sound toggle ---------- */

.sound-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sound-toggle.is-pending::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(var(--orange-rgb), 0.55);
    border-radius: 50%;
    animation: sound-pending 2s ease-out infinite;
    pointer-events: none;
}
@keyframes sound-pending {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}
.sound-toggle:hover {
    border-color: var(--orange);
    color: var(--orange);
}
.sound-toggle.is-on {
    border-color: var(--orange);
    background: rgba(var(--orange-rgb), 0.1);
    color: var(--orange);
}
.sound-toggle .icon {
    width: 17px;
    height: 17px;
}
.sound-toggle .sound-on-icon {
    display: none;
}
.sound-toggle.is-on .sound-on-icon {
    display: block;
}
.sound-toggle.is-on .sound-off-icon {
    display: none;
}

/* ---------- Purpose ---------- */

.section--purpose {
    background:
        radial-gradient(ellipse 50% 60% at 80% 20%, rgba(var(--orange-rgb), 0.08), transparent 65%),
        #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.purpose-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.022);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.purpose-card:hover {
    border-color: rgba(var(--orange-rgb), 0.35);
    transform: translateY(-3px);
}
.purpose-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
}
.purpose-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(var(--orange-rgb), 0.28);
    border-radius: 12px;
    background: rgba(var(--orange-rgb), 0.08);
    color: var(--orange);
}
.purpose-icon .icon {
    width: 20px;
    height: 20px;
}
.purpose-no {
    color: rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.1em;
}
.purpose-card h3 {
    margin-bottom: 9px;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.purpose-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ---------- Organization chart ---------- */

.section--team {
    background:
        radial-gradient(ellipse 60% 60% at 50% 0%, rgba(var(--orange-rgb), 0.07), transparent 65%),
        #08080a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.org-chart {
    display: grid;
    gap: 44px;
    max-width: 1080px;
    margin: 0 auto;
}
.org-level {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 14px;
}
.org-level + .org-level::before {
    content: "";
    position: absolute;
    top: -44px;
    left: 50%;
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, rgba(var(--orange-rgb), 0.5));
}
.org-level--4::before {
    top: -22px;
    height: 22px;
}
.org-level--4::after {
    content: "";
    position: absolute;
    top: -22px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: rgba(var(--orange-rgb), 0.35);
}
.org-level--4 .org-card::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 50%;
    width: 1px;
    height: 22px;
    background: rgba(var(--orange-rgb), 0.35);
}
.org-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 320px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #0d0d0f;
    transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.org-card:hover {
    border-color: rgba(var(--orange-rgb), 0.4);
    transform: translateY(-2px);
}
.org-card--lead {
    max-width: 360px;
    border-color: rgba(var(--orange-rgb), 0.42);
    background:
        radial-gradient(ellipse 80% 100% at 100% 0%, rgba(var(--orange-rgb), 0.12), transparent 60%),
        #0d0d0f;
}
.org-avatar {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    border: 1px solid rgba(var(--orange-rgb), 0.28);
    border-radius: 50%;
    background: rgba(var(--orange-rgb), 0.08);
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
}
.org-card--lead .org-avatar {
    width: 58px;
    height: 58px;
    background: linear-gradient(145deg, var(--orange-2), var(--orange-deep));
    color: #120b05;
}
.org-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.org-info {
    min-width: 0;
}
.org-role {
    display: block;
    margin-bottom: 3px;
    color: var(--orange-2);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.org-info h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.org-dept {
    display: block;
    margin-top: 3px;
    color: var(--muted-2);
    font-size: 9.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.org-info p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}
.org-level--4 .org-card {
    max-width: 300px;
}
.org-note {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 34px;
    color: var(--muted-2);
    font-size: 11px;
}
.org-note .icon {
    width: 14px;
    height: 14px;
    color: var(--orange);
}
.org-note a {
    color: var(--orange-2);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Evidence ---------- */

.section--evidence {
    background:
        radial-gradient(ellipse 50% 60% at 15% 30%, rgba(var(--orange-rgb), 0.09), transparent 65%),
        #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.evidence-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}
.evidence-media {
    position: relative;
}
.evidence-frame {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f6f3ec;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: rotate(-1.2deg);
}
.evidence-frame img {
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    border-radius: 8px;
}
.evidence-media figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted-2);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.evidence-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border: 1px solid rgba(var(--orange-rgb), 0.35);
    border-radius: 999px;
    background: rgba(var(--orange-rgb), 0.08);
    color: var(--orange-2);
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.evidence-badge .icon {
    width: 12px;
    height: 12px;
}
.evidence-copy .section-title {
    margin-bottom: 20px;
}
.evidence-copy .prose {
    max-width: 60ch;
}
.evidence-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
}
.evidence-item {
    display: flex;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.02);
}
.evidence-item-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: none;
    border: 1px solid rgba(var(--orange-rgb), 0.25);
    border-radius: 8px;
    background: rgba(var(--orange-rgb), 0.07);
    color: var(--orange);
}
.evidence-item-icon .icon {
    width: 14px;
    height: 14px;
}
.evidence-item strong {
    display: block;
    color: var(--cream);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
}
.evidence-item span {
    display: block;
    margin-top: 2px;
    color: var(--orange-2);
    font-size: 9px;
    letter-spacing: 0.06em;
}
.evidence-item p {
    margin-top: 4px;
    color: var(--muted-2);
    font-size: 10px;
    line-height: 1.45;
}
.evidence-note {
    margin-top: 16px;
    color: var(--muted-2);
    font-size: 9.5px;
}

/* ---------- Pricing ---------- */

.section--pricing-grid {
    background:
        radial-gradient(ellipse 55% 50% at 50% 0%, rgba(var(--orange-rgb), 0.08), transparent 65%),
        #08080a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0d0d0f;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.pricing-card:hover {
    border-color: rgba(var(--orange-rgb), 0.38);
    transform: translateY(-4px);
}
.pricing-card--featured {
    border-color: rgba(var(--orange-rgb), 0.5);
    background:
        radial-gradient(ellipse 85% 60% at 100% 0%, rgba(var(--orange-rgb), 0.14), transparent 60%),
        #0d0d0f;
}
.pricing-card--featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.pricing-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
}
.pricing-code {
    color: var(--orange-2);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.pricing-flag {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--orange);
    color: #0b0603;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.pricing-card h3 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.04em;
}
.pricing-price {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.pricing-card--featured .pricing-price {
    color: var(--orange-2);
}
.pricing-summary {
    min-height: 48px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}
.pricing-features {
    flex: 1;
    padding-top: 20px;
    margin-bottom: 24px;
    border-top: 1px solid var(--line);
}
.pricing-features h4 {
    margin-bottom: 12px;
    color: var(--muted-2);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.pricing-features .check-list {
    gap: 8px;
}
.pricing-card .btn {
    width: 100%;
}
.pricing-footnote {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 900px;
    margin: 28px auto 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}
.pricing-footnote .icon {
    width: 18px;
    height: 18px;
    color: var(--orange);
    flex: none;
    margin-top: 1px;
}
.pricing-footnote p {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.6;
}

/* ---------- Legal ---------- */

.section--legal {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.legal-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}
.legal-intro {
    position: sticky;
    top: calc(var(--nav-h) + 28px);
}
.legal-intro .section-head {
    margin-bottom: 20px;
}
.legal-intro .prose {
    color: var(--muted);
    font-size: 12.5px;
}
.legal-note {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.02);
}
.legal-note .icon {
    width: 16px;
    height: 16px;
    color: var(--orange);
    flex: none;
    margin-top: 1px;
}
.legal-note p {
    color: var(--muted-2);
    font-size: 10.5px;
    line-height: 1.5;
}
.legal-list {
    border-top: 1px solid var(--line);
}
.legal-list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 120px;
}
.legal-no {
    color: var(--orange);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
}
.legal-list h2 {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.7vw, 1.45rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.legal-list p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}
.legal-list p + p {
    margin-top: 9px;
}

/* ---------- TeppyBot ---------- */

.teppybot {
    position: absolute;
    left: 4%;
    top: -38px;
    z-index: 8;
    animation: teppy-walk 38s ease-in-out infinite alternate;
}
.teppybot.is-open {
    animation-play-state: paused;
}
.teppybot-body {
    position: relative;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
    cursor: pointer;
    transition: transform 0.2s var(--ease);
}
.teppybot-body:hover {
    transform: translateY(-3px) scale(1.04);
}
.teppybot-svg {
    width: 56px;
    height: 56px;
    overflow: visible;
    animation: teppy-bob 1.8s ease-in-out infinite;
}
.bot-antennae {
    transform-origin: 32px 20px;
    animation: teppy-antenna 2.4s ease-in-out infinite;
}
.bot-legs path {
    transform-box: fill-box;
    transform-origin: center;
    animation: teppy-leg 0.55s ease-in-out infinite alternate;
}
.bot-legs path:nth-child(2) {
    animation-delay: 0.18s;
}
.bot-legs path:nth-child(3) {
    animation-delay: 0.36s;
}
@keyframes teppy-walk {
    from { transform: translateX(0); }
    to { transform: translateX(min(52vw, 720px)); }
}
@keyframes teppy-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes teppy-antenna {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(3deg); }
}
@keyframes teppy-leg {
    from { transform: translateY(0); }
    to { transform: translateY(2px); }
}

.teppybot-bubble {
    position: absolute;
    left: 62px;
    bottom: 48px;
    width: 246px;
    padding: 13px 15px;
    border: 1px solid rgba(var(--orange-rgb), 0.3);
    border-radius: 12px;
    background: rgba(12, 12, 14, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.teppybot-bubble::after {
    content: "";
    position: absolute;
    left: -6px;
    bottom: 16px;
    width: 10px;
    height: 10px;
    border-left: 1px solid rgba(var(--orange-rgb), 0.3);
    border-bottom: 1px solid rgba(var(--orange-rgb), 0.3);
    background: rgba(12, 12, 14, 0.94);
    transform: rotate(45deg);
}
.teppybot-bubble.is-hidden {
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
}
.teppybot-bubble strong {
    display: block;
    margin-bottom: 4px;
    color: var(--orange-2);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.teppybot-bubble p {
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.5;
}
.teppybot-bubble a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 7px;
    color: var(--orange-2);
    font-size: 9.5px;
    font-weight: 600;
}
.teppybot-bubble a .icon {
    width: 11px;
    height: 11px;
}

.teppybot-panel {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 170;
    width: min(360px, calc(100vw - 36px));
    max-height: min(72vh, 620px);
    overflow-y: auto;
    padding: 17px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: #0d0d0f;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}
.teppybot-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}
.teppybot-panel-head > div {
    display: grid;
    grid-template-columns: 8px auto;
    gap: 2px 7px;
    align-items: center;
}
.teppybot-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}
.teppybot-panel-head strong {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
}
.teppybot-panel-head small {
    grid-column: 2;
    color: var(--muted-2);
    font-size: 8.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.teppybot-close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
}
.teppybot-close .icon {
    width: 13px;
    height: 13px;
}
.teppybot-intro {
    margin: 12px 0 10px;
    color: var(--muted-2);
    font-size: 10px;
}
.bot-tip-list {
    display: grid;
    gap: 6px;
}
.bot-tip-link {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    padding: 9px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.015);
    transition: border-color 0.18s ease, background 0.18s ease;
}
.bot-tip-link:hover {
    border-color: rgba(var(--orange-rgb), 0.4);
    background: rgba(var(--orange-rgb), 0.05);
}
.bot-tip-link > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(var(--orange-rgb), 0.08);
    color: var(--orange);
}
.bot-tip-link > span .icon {
    width: 14px;
    height: 14px;
}
.bot-tip-link strong {
    display: block;
    color: var(--cream);
    font-size: 10.5px;
    font-weight: 600;
}
.bot-tip-link small {
    display: block;
    margin-top: 1px;
    color: var(--muted-2);
    font-size: 9px;
    line-height: 1.4;
}
.bot-tip-link em {
    color: var(--orange-2);
    font-size: 8px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
.teppybot-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.teppybot-actions .text-link {
    font-size: 10px;
}

/* ---------- Blank click pop ---------- */

.click-pop {
    position: fixed;
    z-index: 180;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    pointer-events: none;
    animation: click-pop 0.55s ease-out forwards;
}
.click-pop::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.65;
    animation: click-pop-dot 0.55s ease-out forwards;
}
@keyframes click-pop {
    0% { transform: scale(0.35); opacity: 0.95; }
    100% { transform: scale(2.15); opacity: 0; }
}
@keyframes click-pop-dot {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(0.2); opacity: 0; }
}

/* ---------- Back to top ---------- */

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 140;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(var(--orange-rgb), 0.38);
    border-radius: 50%;
    background: rgba(10, 10, 12, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--orange);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s ease, background 0.2s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.back-to-top:hover {
    background: var(--orange);
    color: #0b0603;
    transform: translateY(-3px);
}
.back-to-top .icon {
    width: 19px;
    height: 19px;
    animation: back-top-bob 1.6s ease-in-out infinite;
}
@keyframes back-top-bob {
    0%, 100% { transform: translateY(1px); }
    50% { transform: translateY(-3px); }
}
@media (max-width: 620px) {
    .back-to-top {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
    }
}

/* ---------- Reveal ---------- */

.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-tilt] {
    will-change: transform;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .hero-hud {
        display: none;
    }
    .project-grid--spotlight .project-card:first-child {
        grid-column: span 2;
    }
    .page-header-rail {
        display: none;
    }
}

@media (max-width: 1024px) {
    :root {
        --nav-h: 74px;
    }
    .main-nav {
        display: none;
    }
    .nav-bot {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .header-cta {
        display: none;
    }
    .hero-title {
        max-width: 15ch;
    }
    .services-grid,
    .process-grid,
    .project-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .project-grid--spotlight .project-card:first-child {
        grid-column: span 2;
    }
    .project-body-grid {
        grid-template-columns: 1fr;
    }
    .project-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .service-detail {
        grid-template-columns: 54px minmax(0, 1fr);
    }
    .service-detail-side {
        grid-column: 2;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 22px;
    }
    .footer-top {
        grid-template-columns: 1.3fr 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 3;
        margin-bottom: 10px;
    }
    .project-hero-grid {
        grid-template-columns: 1fr;
    }
    .project-cover {
        max-width: 760px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-media {
        min-height: 0;
        order: 2;
    }
    .about-frame {
        height: min(520px, 80vw);
    }
    .about-stamp {
        left: 18px;
    }
    .faq-layout {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .stat-card {
        padding: 20px;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .stat-card:nth-child(odd) {
        border-right: 1px solid var(--line);
    }
    .stat-card:first-child,
    .stat-card:nth-child(2) {
        border-top: 0;
    }
    .stat-card:nth-child(odd) {
        padding-left: 0;
    }
    .section-head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .project-grid--spotlight .project-card:first-child {
        grid-column: auto;
    }
    .project-grid--spotlight .project-card:first-child .project-media {
        aspect-ratio: 16 / 10.5;
    }
    .project-grid--spotlight .project-card:first-child h3 {
        font-size: 21px;
    }
    .feature-list {
        grid-template-columns: 1fr;
    }
    .screenshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta-mark {
        position: absolute;
        right: -20px;
        bottom: -30px;
        opacity: 0.4;
    }
    .project-sidebar {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 620px) {
    :root {
        --nav-h: 68px;
    }
    .brand-mark {
        width: 38px;
        height: 38px;
    }
    .brand-word {
        font-size: 16px;
    }
    .hero {
        padding-top: calc(var(--nav-h) + 46px);
    }
    .hero-title {
        font-size: clamp(2.6rem, 12.5vw, 4.4rem);
        max-width: 100%;
    }
    .hero-sub {
        margin-top: 20px;
        font-size: 14.5px;
    }
    .hero-meta {
        gap: 16px 24px;
        margin-top: 32px;
    }
    .hero-meta strong {
        font-size: 16px;
    }
    .hero-bottom {
        font-size: 8px;
    }
    .detail-list > div {
        font-size: 11.5px;
    }
    .services-grid,
    .process-grid,
    .project-grid,
    .testimonial-grid,
    .values-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    .filter-bar {
        align-items: stretch;
    }
    .filter-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    .filter-btn {
        white-space: nowrap;
    }
    .search-field {
        min-width: 0;
        width: 100%;
    }
    .faq-answer {
        padding-left: 0;
        padding-right: 24px;
    }
    .service-detail {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-detail-index {
        display: none;
    }
    .service-detail-side {
        grid-column: auto;
    }
    .timeline::before {
        left: 9px;
    }
    .timeline-item {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 0 14px;
    }
    .timeline-year {
        grid-column: 2;
        padding: 0 0 6px;
        text-align: left;
    }
    .timeline-dot {
        grid-row: 1 / span 2;
        width: 20px;
        height: 20px;
        margin-top: 1px;
    }
    .timeline-dot .icon {
        width: 10px;
        height: 10px;
    }
    .timeline-content {
        grid-column: 2;
    }
    .about-stamp {
        left: 10px;
        bottom: 10px;
    }
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    .screenshot-card {
        aspect-ratio: 16 / 12;
    }
    .project-pager-inner {
        flex-direction: column;
    }
    .pager-link {
        max-width: 100%;
        padding: 18px 0;
    }
    .pager-next {
        text-align: left;
        margin-left: 0;
        border-top: 1px solid var(--line);
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom-links {
        width: 100%;
        justify-content: space-between;
    }
    .lightbox {
        padding: 20px;
    }
    .lightbox-nav {
        top: auto;
        bottom: 16px;
        margin-top: 0;
    }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
    .lightbox-figure img {
        max-height: 70vh;
    }
    .toast-stack {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }
    .hero-fallback {
        width: 120vw;
        height: 120vw;
        right: -40%;
        top: 2%;
    }
    .hero-canvas {
        opacity: 0.4;
    }
}

.checkbox-field a {
    color: var(--orange-2);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-bottom-links {
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .purpose-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .org-level--4 {
        flex-wrap: wrap;
    }
    .org-level--4::after {
        display: none;
    }
    .org-level--4 .org-card::before {
        display: none;
    }
    .org-card {
        max-width: 340px;
    }
    .evidence-grid {
        grid-template-columns: 1fr;
    }
    .evidence-media {
        order: 2;
        max-width: 560px;
    }
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-intro {
        position: static;
    }
    .page-scene {
        opacity: 0.4;
    }
}

@media (max-width: 820px) {
    .purpose-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .org-chart {
        gap: 30px;
    }
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    .org-level + .org-level::before {
        top: -30px;
        height: 30px;
    }
    .org-level--4::before {
        top: -15px;
        height: 15px;
    }
    .org-card {
        width: 100%;
        max-width: 420px;
    }
    .evidence-list {
        grid-template-columns: 1fr;
    }
    .evidence-frame img {
        max-height: 520px;
    }
    .page-scene {
        opacity: 0.28;
    }
    .project-scene {
        opacity: 0.28;
    }
}

@media (max-width: 620px) {
    .teppybot {
        left: 14px;
        top: -34px;
        animation: none;
    }
    .teppybot-body,
    .teppybot-svg {
        width: 48px;
        height: 48px;
    }
    .teppybot-bubble {
        left: 0;
        bottom: 56px;
        width: 218px;
    }
    .teppybot-panel {
        right: 12px;
        bottom: 74px;
        width: calc(100vw - 24px);
        max-height: 68vh;
    }
    .footer-bottom-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    .legal-list li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
    }
    .pricing-card,
    .purpose-card {
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .teppybot,
    .teppybot-svg,
    .bot-antennae,
    .bot-legs path,
    .nav-bot-button,
    .nav-bot-float,
    .back-to-top .icon,
    .sound-toggle.is-pending::after {
        animation: none !important;
    }
    .click-pop {
        display: none;
    }
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .marquee-track {
        animation: none !important;
    }
    .cursor-glow {
        display: none;
    }
    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
