/* Shield technology visual system.
   Loaded after the restored template so the original layout remains familiar
   while the homepage gains a semiconductor-focused sense of depth. */
:root {
    --tech-navy: #071521;
    --tech-navy-2: #0b2231;
    --tech-cyan: #00a4b4;
    --tech-cyan-light: #70d5dc;
    --tech-amber: #d88b4a;
    --tech-paper: #f7f9f9;
    --tech-grid: rgba(12, 63, 73, 0.055);
    --tech-depth: 0 26px 70px rgba(4, 24, 34, 0.14), 0 6px 18px rgba(4, 24, 34, 0.08);
}

.page-hero h1,
.hero h1,
.hero h2,
.section-title,
.product-card h2,
.product-card h3,
.tech-card h3,
.info-card h3,
.article-copy h2 {
    text-wrap: balance;
}

.page-hero p,
.hero p,
.section-lead,
.product-card p,
.tech-card p,
.info-card p,
.article-copy p {
    text-wrap: pretty;
}

.nav-toggle {
    display: none;
}

.home-page .site-header {
    border-bottom-color: rgba(15, 55, 65, 0.12);
    box-shadow: 0 8px 28px rgba(7, 21, 33, 0.07);
}

.home-page .hero-slider {
    min-height: 660px;
    background: var(--tech-navy);
}

.home-page .hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(85, 196, 207, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(85, 196, 207, 0.06) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 48%, transparent 78%);
}

.home-page .hero-slider::after {
    content: "";
    position: absolute;
    inset: auto -8% -48% 44%;
    z-index: 2;
    display: block;
    width: 58vw;
    aspect-ratio: 1;
    border: 1px solid rgba(112, 213, 220, 0.2);
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
        0 0 0 54px rgba(0, 164, 180, 0.025),
        0 0 0 112px rgba(0, 164, 180, 0.02);
}

.home-page .hero-slide {
    background-position: center;
    transform: scale(1.025);
    transition: opacity 0.8s ease, transform 6.5s ease;
}

.home-page .hero-slide.is-active {
    transform: scale(1);
}

.home-page .hero-slide::after {
    background:
        linear-gradient(90deg, rgba(3, 16, 25, 0.98) 0%, rgba(3, 16, 25, 0.9) 30%, rgba(3, 16, 25, 0.48) 58%, rgba(3, 16, 25, 0.12) 100%),
        linear-gradient(0deg, rgba(3, 16, 25, 0.48), transparent 48%),
        radial-gradient(circle at 75% 30%, rgba(0, 164, 180, 0.18), transparent 36%);
}

.home-page .hero-content {
    max-width: 770px;
    padding-top: 46px;
    padding-bottom: 84px;
}

.home-page .hero-tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    border: 1px solid rgba(112, 213, 220, 0.32);
    color: rgba(255, 255, 255, 0.9);
    background: rgba(5, 27, 39, 0.54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.home-page .hero-tech-tag span,
.home-page .hero-tech-tag strong {
    display: block;
    padding: 7px 11px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-page .hero-tech-tag span {
    color: var(--tech-navy);
    background: var(--tech-cyan-light);
    font-weight: 900;
}

.home-page .hero-tech-tag strong {
    padding-left: 0;
    font-weight: 700;
}

.home-page .hero .eyebrow {
    margin-bottom: 14px;
    color: var(--tech-cyan-light);
    text-shadow: 0 0 24px rgba(0, 164, 180, 0.3);
}

.home-page .hero h1,
.home-page .hero h2 {
    max-width: 760px;
    font-size: clamp(46px, 5.2vw, 70px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.34);
}

.home-page .hero p {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.8;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.home-page .hero .button {
    position: relative;
    min-height: 52px;
    padding-inline: 28px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.home-page .hero .button.primary {
    background: linear-gradient(135deg, #00a4b4, #007d89);
    box-shadow: 0 14px 34px rgba(0, 164, 180, 0.24);
}

.home-page .hero .button.ghost {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(7, 21, 33, 0.25);
    backdrop-filter: blur(8px);
}

.home-page .hero-dots {
    bottom: 42px;
}

.home-page .hero-dots button::after {
    background: rgba(255, 255, 255, 0.38);
}

.home-page .quick-panel {
    margin-top: 0;
    padding: 34px 0 42px;
    overflow: hidden;
    background:
        linear-gradient(180deg, var(--tech-navy) 0 34px, #edf3f4 34px 100%);
}

.home-page .quick-grid {
    position: relative;
    border: 1px solid rgba(0, 164, 180, 0.2);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--tech-depth);
}

.home-page .quick-grid::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    z-index: 2;
    background: linear-gradient(90deg, var(--tech-cyan), var(--tech-cyan-light), var(--tech-amber));
}

.home-page .quick-card {
    position: relative;
    min-height: 150px;
    border-right-color: rgba(17, 62, 71, 0.12);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 249, 0.95));
    box-shadow: inset 0 1px 0 #fff;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.home-page .quick-card::after {
    content: "0" counter(quick-card);
    counter-increment: quick-card;
    position: absolute;
    right: 18px;
    top: 16px;
    color: rgba(0, 122, 134, 0.12);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.home-page .quick-grid {
    counter-reset: quick-card;
}

.home-page .quick-card strong {
    line-height: 1.45;
}

@media (hover: hover) {
    .home-page .quick-card:hover {
        z-index: 2;
        color: var(--white);
        background: linear-gradient(150deg, #007a86, #00a4b4);
        transform: translateY(-7px);
        box-shadow: 0 20px 40px rgba(0, 85, 96, 0.24);
    }

    .home-page .quick-card:hover::after {
        color: rgba(255, 255, 255, 0.18);
    }
}

.home-page .home-intro-section,
.home-page .home-engineering-section {
    position: relative;
    background-color: var(--tech-paper);
    background-image:
        linear-gradient(var(--tech-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--tech-grid) 1px, transparent 1px);
    background-size: 44px 44px;
}

.home-page .home-intro-section::before,
.home-page .home-engineering-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72) 50%, transparent);
}

.home-page .home-intro-section .container,
.home-page .home-engineering-section .container {
    position: relative;
}

.home-page .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.home-page .section-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--tech-cyan);
    box-shadow: 10px 0 0 rgba(0, 164, 180, 0.25);
}

.home-page .section-title {
    color: #0b2630;
}

.home-page .process-stack {
    position: relative;
    gap: 0;
    padding: 12px 0;
}

.home-page .process-stack::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 42px;
    bottom: 42px;
    width: 1px;
    background: linear-gradient(var(--tech-cyan), rgba(0, 164, 180, 0.14));
}

.home-page .process-stack .feature-item {
    position: relative;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 24px 24px 24px 0;
    border-bottom: 1px solid rgba(15, 70, 80, 0.12);
}

.home-page .process-stack .feature-item:last-child {
    border-bottom: 0;
}

.home-page .process-stack .feature-mark {
    z-index: 1;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(112, 213, 220, 0.55);
    color: #fff;
    background: linear-gradient(145deg, #0b3d49, #00a4b4);
    box-shadow: 0 8px 18px rgba(0, 122, 134, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.home-page .feature-step {
    display: block;
    margin-bottom: 5px;
    color: #008692;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.home-page .home-products-section {
    position: relative;
    background:
        radial-gradient(circle at 88% 5%, rgba(0, 164, 180, 0.09), transparent 22%),
        linear-gradient(180deg, #edf3f4, #f8fafb);
}

.home-page .product-card {
    position: relative;
    border-color: rgba(14, 65, 75, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--tech-depth);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-page .product-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 3px;
    background: linear-gradient(var(--tech-cyan), transparent 58%);
}

.home-page .product-card .card-image {
    position: relative;
    min-height: 260px;
    filter: saturate(0.88) contrast(1.04);
}

.home-page .product-card .card-image::after {
    content: "技術與應用情境示意";
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 6px 9px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(4, 21, 31, 0.68);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
}

.home-page .material-esd {
    background-image:
        linear-gradient(90deg, rgba(5, 21, 33, 0.08), rgba(5, 21, 33, 0.32)),
        url("hero-semiconductor-shield-v2.webp");
    background-position: 66% center;
}

.home-page .material-fog {
    background-image:
        linear-gradient(90deg, rgba(5, 21, 33, 0.06), rgba(5, 21, 33, 0.22)),
        url("hero-anti-fog-shield-v2.webp");
    background-position: 70% center;
}

.home-page .material-hydrophobic {
    background-image:
        linear-gradient(90deg, rgba(5, 21, 33, 0.04), rgba(5, 21, 33, 0.22)),
        url("hero-surface-shield-v2.webp");
    background-position: 68% center;
}

.home-page .material-lab {
    background-image:
        linear-gradient(90deg, rgba(5, 21, 33, 0.03), rgba(5, 21, 33, 0.14)),
        url("material-custom-lab-v2.webp");
    background-position: center;
}

@media (hover: hover) {
    .home-page .product-card:hover {
        transform: translateY(-7px);
        border-color: rgba(0, 164, 180, 0.34);
        box-shadow: 0 34px 78px rgba(4, 24, 34, 0.17), 0 8px 20px rgba(4, 24, 34, 0.08);
    }
}

.home-page .engineering-grid {
    position: relative;
}

.home-page .engineering-grid::before {
    content: "";
    position: absolute;
    left: 7%;
    right: 7%;
    top: 45px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tech-cyan), var(--tech-amber), transparent);
}

.home-page .engineering-grid .card {
    position: relative;
    min-height: 255px;
    padding-top: 82px;
    border-color: rgba(13, 66, 76, 0.15);
    box-shadow: 0 18px 44px rgba(5, 32, 43, 0.09);
}

.home-page .engineering-grid .card::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 40px;
    width: 9px;
    height: 9px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: var(--tech-cyan);
    box-shadow: 0 0 0 1px rgba(0, 164, 180, 0.3), 0 0 22px rgba(0, 164, 180, 0.42);
}

.home-page .engineering-grid .card:last-child::before {
    background: var(--tech-amber);
    box-shadow: 0 0 0 1px rgba(216, 139, 74, 0.32), 0 0 22px rgba(216, 139, 74, 0.36);
}

.home-page .service-grid::before,
.home-page .service-grid .card::before {
    display: none;
}

.home-page .service-grid .card {
    min-height: 230px;
    padding-top: 34px;
}

.home-page .service-grid .card-icon {
    margin-bottom: 22px;
    color: var(--tech-cyan);
    font-size: 30px;
}

.home-page .card-sequence {
    position: absolute;
    top: 19px;
    right: 24px;
    color: rgba(0, 122, 134, 0.16);
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}

.home-page .home-cta-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 22%, rgba(0, 164, 180, 0.22), transparent 25%),
        linear-gradient(120deg, #061521, #0b3441 60%, #007a86);
}

.home-page .home-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(112, 213, 220, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 213, 220, 0.06) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, transparent, #000 62%);
}

.home-page .home-cta-section .container {
    position: relative;
}

.home-page .home-cta-section .section-title {
    color: #fff;
}

.home-page .cta-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.home-page .cta-inputs span {
    padding: 7px 11px;
    border: 1px solid rgba(112, 213, 220, 0.28);
    color: rgba(255, 255, 255, 0.86);
    background: rgba(7, 21, 33, 0.28);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

@media (max-width: 980px) {
    .home-page .hero-slider {
        min-height: 620px;
    }

    .home-page .quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .quick-card {
        border-right: 1px solid rgba(17, 62, 71, 0.12);
        border-bottom: 1px solid rgba(17, 62, 71, 0.12);
    }

    .home-page .quick-card:nth-child(2n) {
        border-right: 0;
    }

    .home-page .engineering-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .engineering-grid::before {
        display: none;
    }
}

@media (max-width: 720px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .site-header .header-inner {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 8px;
        min-height: 72px;
        padding: 8px 0;
    }

    .site-header .brand {
        min-width: 0;
    }

    .site-header .brand img {
        width: 146px;
        max-width: 100%;
        max-height: 58px;
        object-fit: contain;
        object-position: left center;
    }

    .site-header .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 11px;
        border: 1px solid rgba(0, 122, 134, 0.22);
        color: #0b3d49;
        background: #fff;
        font: inherit;
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
    }

    .site-header .nav-toggle-lines,
    .site-header .nav-toggle-lines::before,
    .site-header .nav-toggle-lines::after {
        display: block;
        width: 17px;
        height: 2px;
        background: var(--tech-cyan);
        transition: transform 0.2s ease;
    }

    .site-header .nav-toggle-lines {
        position: relative;
    }

    .site-header .nav-toggle-lines::before,
    .site-header .nav-toggle-lines::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .site-header .nav-toggle-lines::before { top: -5px; }
    .site-header .nav-toggle-lines::after { top: 5px; }

    .site-header .nav-toggle[aria-expanded="true"] .nav-toggle-lines {
        background: transparent;
    }

    .site-header .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
        top: 0;
        transform: rotate(45deg);
    }

    .site-header .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .js-enhanced .site-header .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 1px);
        display: grid;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 10px 20px 16px;
        border-top: 1px solid rgba(0, 122, 134, 0.1);
        background: rgba(255, 255, 255, 0.99);
        box-shadow: 0 22px 44px rgba(7, 21, 33, 0.16);
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .js-enhanced body.nav-open .site-header .main-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-header .main-nav a {
        min-height: 46px;
        padding: 11px 0;
        border-bottom: 1px solid rgba(15, 70, 80, 0.1);
        white-space: normal;
    }

    .site-header .main-nav a:last-child {
        border-bottom: 0;
    }

    .site-header .main-nav a::after {
        left: auto;
        right: 0;
        bottom: 50%;
        width: 22px;
        height: 2px;
    }

    .site-header .language-switch {
        min-width: 44px;
        min-height: 44px;
        padding: 0 9px;
    }

    .home-page .site-header {
        position: sticky;
    }

    .home-page .header-inner {
        position: relative;
        min-height: 72px;
        flex-direction: row;
        align-items: center;
        padding: 8px 0;
    }

    .home-page .brand img {
        width: 146px;
        max-height: 58px;
    }

    .home-page .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 0 13px;
        border: 1px solid rgba(0, 122, 134, 0.22);
        color: #0b3d49;
        background: #fff;
        font: inherit;
        font-size: 13px;
        font-weight: 800;
        cursor: pointer;
    }

    .home-page .nav-toggle-lines,
    .home-page .nav-toggle-lines::before,
    .home-page .nav-toggle-lines::after {
        display: block;
        width: 17px;
        height: 2px;
        background: var(--tech-cyan);
        transition: transform 0.2s ease;
    }

    .home-page .nav-toggle-lines {
        position: relative;
    }

    .home-page .nav-toggle-lines::before,
    .home-page .nav-toggle-lines::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .home-page .nav-toggle-lines::before { top: -5px; }
    .home-page .nav-toggle-lines::after { top: 5px; }

    .home-page .nav-toggle[aria-expanded="true"] .nav-toggle-lines {
        background: transparent;
    }

    .home-page .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
        top: 0;
        transform: rotate(45deg);
    }

    .home-page .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .home-page .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 1px);
        display: grid;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 10px 24px 18px;
        border-top: 1px solid rgba(0, 122, 134, 0.1);
        background: rgba(255, 255, 255, 0.985);
        box-shadow: 0 22px 44px rgba(7, 21, 33, 0.16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .home-page.nav-open .main-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .home-page .main-nav a {
        min-height: 46px;
        padding: 11px 0;
        border-bottom: 1px solid rgba(15, 70, 80, 0.1);
    }

    .home-page .main-nav a:last-child {
        border-bottom: 0;
    }

    .home-page .main-nav a::after {
        left: auto;
        right: 0;
        bottom: 50%;
        width: 22px;
        height: 2px;
    }

    .home-page .hero-slider {
        min-height: 600px;
    }

    .home-page .hero-slider::before {
        background-size: 54px 54px;
        opacity: 0.7;
    }

    .home-page .hero-slider::after {
        display: none;
    }

    .home-page .hero-slide {
        background-position: 62% center;
    }

    .home-page .hero-slide::after {
        background:
            linear-gradient(90deg, rgba(3, 16, 25, 0.98), rgba(3, 16, 25, 0.7)),
            linear-gradient(0deg, rgba(3, 16, 25, 0.7), transparent 60%);
    }

    .home-page .hero-content {
        padding: 50px 20px 94px;
    }

    .home-page .hero h1,
    .home-page .hero h2 {
        font-size: clamp(34px, 9vw, 43px);
        line-height: 1.13;
    }

    .home-page .hero p {
        font-size: 16px;
        line-height: 1.75;
    }

    .home-page .hero-tech-tag {
        margin-bottom: 18px;
    }

    .home-page .hero-tech-tag strong {
        display: none;
    }

    .home-page .hero-dots {
        left: 19px;
        bottom: 30px;
    }

    .home-page .quick-panel {
        padding-top: 28px;
        background: linear-gradient(180deg, var(--tech-navy) 0 28px, #edf3f4 28px 100%);
    }

    .home-page .quick-card {
        min-height: 130px;
        padding: 22px 16px;
    }

    .home-page .quick-card strong {
        font-size: 16px;
    }

    .home-page .engineering-grid {
        grid-template-columns: 1fr;
    }

    .home-page .engineering-grid .card {
        min-height: auto;
        padding-top: 74px;
    }
}

@media (max-width: 380px) {
    .home-page .quick-grid {
        grid-template-columns: 1fr;
    }

    .home-page .quick-card,
    .home-page .quick-card:nth-child(2n) {
        border-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .hero-slide {
        transform: none !important;
    }
}

/* Shared interior-page finish: restrained technical depth without changing
   URLs, text hierarchy, or the restored template proportions. */
body:not(.home-page) .page-hero {
    min-height: 390px;
    box-shadow: inset 0 -1px 0 rgba(112, 213, 220, 0.22);
}

body:not(.home-page) .page-hero::before {
    transform: scale(1.015);
    filter: saturate(0.82) contrast(1.08);
}

.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transform: scale(1.015);
    filter: saturate(0.82) contrast(1.08);
}

body:not(.home-page) .page-hero::after {
    z-index: 1;
}

body:not(.home-page) .page-hero::after {
    background:
        linear-gradient(90deg, rgba(3, 16, 25, 0.96) 0%, rgba(3, 16, 25, 0.74) 43%, rgba(3, 16, 25, 0.22) 100%),
        linear-gradient(rgba(112, 213, 220, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(112, 213, 220, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 82% 24%, rgba(0, 164, 180, 0.22), transparent 30%);
    background-size: auto, 74px 74px, 74px 74px, auto;
}

body:not(.home-page) .page-hero-content {
    position: relative;
    z-index: 2;
}

body:not(.home-page) .page-hero h1 {
    max-width: 900px;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.34);
}

body:not(.home-page) .page-hero .eyebrow {
    color: var(--tech-cyan-light);
}

body:not(.home-page) .section.surface {
    background:
        linear-gradient(rgba(12, 63, 73, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(12, 63, 73, 0.03) 1px, transparent 1px),
        #f4f7f8;
    background-size: 48px 48px;
}

body:not(.home-page) .card,
body:not(.home-page) .product-card,
body:not(.home-page) .market-card,
body:not(.home-page) .tech-card,
body:not(.home-page) .info-card {
    border-color: rgba(14, 65, 75, 0.13);
    box-shadow: 0 18px 42px rgba(5, 32, 43, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body:not(.home-page) .tech-card,
body:not(.home-page) .info-card {
    position: relative;
    overflow: hidden;
}

body:not(.home-page) .tech-card::before,
body:not(.home-page) .info-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(var(--tech-cyan), transparent 72%);
}

@media (hover: hover) {
    body:not(.home-page) .card:hover,
    body:not(.home-page) .product-card:hover,
    body:not(.home-page) .market-card:hover,
    body:not(.home-page) .tech-card:hover,
    body:not(.home-page) .info-card:hover {
        transform: translateY(-5px);
        border-color: rgba(0, 164, 180, 0.3);
        box-shadow: 0 28px 64px rgba(5, 32, 43, 0.13), 0 8px 18px rgba(5, 32, 43, 0.06);
    }
}

body:not(.home-page) .proof-line {
    border: 1px solid rgba(0, 122, 134, 0.16);
    background: #fff;
    box-shadow: 0 18px 42px rgba(5, 32, 43, 0.07);
}

body:not(.home-page) .proof-line div {
    position: relative;
}

body:not(.home-page) .proof-line div::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, var(--tech-cyan), transparent);
}

body:not(.home-page) .page-tabs a,
body:not(.home-page) .contact-list a,
body:not(.home-page) .contact-list span {
    box-shadow: 0 8px 22px rgba(5, 32, 43, 0.05);
}

body:not(.home-page) .section.primary {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(112, 213, 220, 0.2), transparent 24%),
        linear-gradient(125deg, #061521, #0b3441 58%, #007a86);
}

@media (max-width: 640px) {
    body:not(.home-page) .main-nav {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex-wrap: nowrap;
        gap: 0 20px;
        margin-inline: 0;
        padding: 0 0 4px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    body:not(.home-page) .main-nav a {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        min-height: 44px;
        padding: 0;
        white-space: nowrap;
    }

    body:not(.home-page) .page-hero {
        min-height: 330px;
    }

    body:not(.home-page) .page-hero::after {
        background:
            linear-gradient(90deg, rgba(3, 16, 25, 0.94), rgba(3, 16, 25, 0.56)),
            linear-gradient(rgba(112, 213, 220, 0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(112, 213, 220, 0.035) 1px, transparent 1px);
        background-size: auto, 52px 52px, 52px 52px;
    }
}

/* 2026-08-13 — Shield high-value materials system
   Brand primary: PANTONE 16-4728 TCX Peacock Blue (screen approx. #00A0B0)
   Brand secondary: PANTONE PMS 7450 C (screen approx. #BDC5DB)
   Navy and amber are supporting interface colors only. */
:root {
    --brand-primary: #00a0b0;
    --brand-primary-deep: #007684;
    --brand-secondary: #bdc5db;
    --brand-secondary-soft: #eef1f8;
    --semiconductor-navy: #071521;
    --semiconductor-panel: #0b2636;
    --semiconductor-line: rgba(0, 160, 176, 0.26);
    --research-paper: #f5f2e9;
    --research-ink: #14222a;
    --primary: var(--brand-primary);
    --primary-dark: var(--brand-primary-deep);
    --primary-soft: #e4f6f8;
}

/* Commercial pages: the dark technical frame is deliberately limited to
   key bands so content remains readable and premium rather than game-like. */
body:not(.research-page):not(.research-hub) .section-header {
    position: relative;
    padding-left: 22px;
}

body:not(.research-page):not(.research-hub) .section-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 3px;
    width: 3px;
    background: linear-gradient(var(--brand-primary), var(--brand-secondary));
    box-shadow: 8px 0 0 rgba(0, 160, 176, 0.09);
}

body:not(.research-page):not(.research-hub) .card,
body:not(.research-page):not(.research-hub) .product-card,
body:not(.research-page):not(.research-hub) .market-card,
body:not(.research-page):not(.research-hub) .tech-card {
    border-color: rgba(13, 65, 76, 0.16);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(242, 247, 249, 0.96));
    box-shadow:
        0 26px 68px rgba(4, 25, 36, 0.12),
        0 7px 18px rgba(4, 25, 36, 0.06),
        inset 0 1px 0 #fff;
}

body:not(.research-page):not(.research-hub) .section.surface {
    background-color: #edf2f4;
    background-image:
        linear-gradient(rgba(0, 160, 176, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 160, 176, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 84% 12%, rgba(189, 197, 219, 0.35), transparent 25%);
    background-size: 52px 52px, 52px 52px, auto;
}

body:not(.research-page):not(.research-hub) .page-tabs {
    gap: 0;
    border: 1px solid rgba(0, 160, 176, 0.28);
    background: linear-gradient(115deg, var(--semiconductor-navy), var(--semiconductor-panel));
    box-shadow: 0 18px 48px rgba(4, 25, 36, 0.2);
}

body:not(.research-page):not(.research-hub) .page-tabs a {
    margin: 0;
    border: 0;
    border-right: 1px solid rgba(189, 197, 219, 0.16);
    color: #fff;
    background: transparent;
    box-shadow: none;
}

body:not(.research-page):not(.research-hub) .page-tabs a:last-child {
    border-right: 0;
}

body:not(.research-page):not(.research-hub) .page-tabs a:hover,
body:not(.research-page):not(.research-hub) .page-tabs a:focus-visible {
    color: #071521;
    background: var(--brand-primary);
}

/* Recovered product catalogue */
.model-panel {
    position: relative;
    margin-top: 44px;
    padding: clamp(26px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid rgba(0, 160, 176, 0.34);
    color: #eaf7f8;
    background:
        radial-gradient(circle at 88% 8%, rgba(0, 160, 176, 0.2), transparent 24%),
        linear-gradient(135deg, #06131e, #0b2a3a 72%, #0b3642);
    box-shadow: 0 34px 82px rgba(4, 22, 31, 0.22);
}

.model-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 160, 176, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 160, 176, 0.07) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, transparent 10%, #000 74%);
}

.model-panel > * {
    position: relative;
}

.model-panel .section-eyebrow,
.model-panel .section-title,
.model-panel .section-lead {
    color: #fff;
}

.model-panel .section-lead {
    max-width: 900px;
    color: rgba(255, 255, 255, 0.76);
}

.model-family {
    display: grid;
    grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
    gap: 24px;
    padding: 26px 0;
    border-top: 1px solid rgba(189, 197, 219, 0.18);
}

.model-family:first-of-type {
    margin-top: 28px;
}

.model-family h3 {
    margin: 0;
    color: var(--brand-secondary);
    font-size: 17px;
    letter-spacing: 0.04em;
}

.model-family h3 strong {
    display: block;
    margin-bottom: 7px;
    color: var(--brand-primary);
    font-size: 28px;
    letter-spacing: -0.02em;
}

.model-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.model-item {
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(189, 197, 219, 0.18);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.model-code {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.045em;
}

.model-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.65;
}

.model-footnote {
    margin: 8px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(189, 197, 219, 0.18);
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    line-height: 1.7;
}

.verification-framework {
    margin-top: 38px;
    padding-top: 34px;
    border-top: 1px solid rgba(189, 197, 219, 0.24);
}

.verification-intro {
    max-width: 920px;
}

.verification-intro h3 {
    margin: 7px 0 10px;
    color: #fff;
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.025em;
}

.verification-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.75;
}

.verification-group {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(189, 197, 219, 0.2);
    background: rgba(255, 255, 255, 0.035);
}

.verification-group h4 {
    margin: 0;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(189, 197, 219, 0.2);
    color: #fff;
    background: rgba(0, 160, 176, 0.12);
    font-size: 16px;
    letter-spacing: 0.02em;
}

.capability-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid rgba(189, 197, 219, 0.16);
    background: rgba(0, 160, 176, 0.055);
}

.capability-highlights > div {
    min-height: 112px;
    padding: 20px 18px;
    border-right: 1px solid rgba(189, 197, 219, 0.16);
}

.capability-highlights > div:last-child {
    border-right: 0;
}

.capability-highlights strong,
.capability-highlights span {
    display: block;
}

.capability-highlights strong {
    margin-bottom: 7px;
    color: #fff;
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.2;
}

.capability-highlights span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.6;
}

.spec-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-color: var(--brand-primary) rgba(255, 255, 255, 0.08);
}

.verification-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}

.verification-table th:nth-child(1),
.verification-table td:nth-child(1) { width: 18%; }

.verification-table th:nth-child(2),
.verification-table td:nth-child(2) { width: 22%; }

.verification-table th:nth-child(3),
.verification-table td:nth-child(3) { width: 29%; }

.verification-table th:nth-child(4),
.verification-table td:nth-child(4) { width: 31%; }

.verification-table th,
.verification-table td {
    padding: 14px 16px;
    border-right: 1px solid rgba(189, 197, 219, 0.14);
    border-bottom: 1px solid rgba(189, 197, 219, 0.12);
    text-align: left;
    vertical-align: top;
}

.verification-table th:last-child,
.verification-table td:last-child {
    border-right: 0;
}

.verification-table tbody tr:last-child td {
    border-bottom: 0;
}

.verification-table th {
    color: #80dce2;
    background: rgba(3, 16, 25, 0.34);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.verification-table td {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.65;
}

.verification-table td:first-child {
    color: #fff;
    font-weight: 800;
}

.standard-status-note {
    margin: 0;
    padding: 16px 18px;
    border-top: 1px solid rgba(189, 197, 219, 0.16);
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 720px) {
    .capability-highlights {
        grid-template-columns: 1fr;
    }

    .capability-highlights > div {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(189, 197, 219, 0.16);
    }

    .capability-highlights > div:last-child {
        border-bottom: 0;
    }
}

/* Product data page: Apple-like hierarchy with semiconductor-data density. */
.products-page .page-hero {
    min-height: 330px !important;
}

.products-page .section {
    padding: 60px 0;
}

.products-page main > .page-hero + .section {
    padding-top: 36px;
}

body.products-page .page-tabs {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 26px;
    border-color: rgba(13, 65, 76, 0.12) !important;
    border-radius: 12px;
    overflow: hidden;
    background: #edf1f3 !important;
    box-shadow: 0 8px 24px rgba(4, 25, 36, 0.08) !important;
}

.products-page .page-tabs a {
    min-height: 44px;
    padding: 11px 16px;
    border-color: rgba(13, 65, 76, 0.1) !important;
    color: #17262e !important;
    font-size: 13px;
}

.products-page .page-tabs a:hover,
.products-page .page-tabs a:focus-visible {
    color: #06131e !important;
    background: #dceff1 !important;
}

.products-page .section-header {
    padding-left: 0 !important;
}

.products-page .section-header::before {
    display: none;
}

.products-page .section-header {
    max-width: 940px;
    margin-bottom: 28px;
}

.products-page .section-title {
    margin-bottom: 10px;
}

.products-page .section-lead {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.7;
}

.products-page .grid-2 {
    gap: 18px;
}

.products-page .product-card {
    border-radius: 14px;
    background: #f5f7f8;
    box-shadow: 0 12px 32px rgba(5, 32, 43, 0.065);
}

.products-page .product-card .card-image {
    min-height: 170px;
}

.products-page .product-card .card-body {
    padding: 22px 24px 24px;
}

.products-page .product-card h3,
.products-page .product-card h2 {
    margin-bottom: 8px;
    font-size: 22px;
}

.products-page .product-card p,
.products-page .product-card li {
    font-size: 14px;
    line-height: 1.65;
}

.products-page .product-card .spec-list {
    margin-top: 14px;
    border-top: 1px solid rgba(13, 65, 76, 0.1);
}

.products-page .product-card .spec-list li {
    padding: 9px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(13, 65, 76, 0.08);
    background: transparent;
}

.products-page .product-card .spec-list li:last-child {
    border-bottom: 0;
}

.products-page .link-arrow {
    margin-top: 12px;
    font-size: 13px;
}

.products-page .model-panel {
    margin-top: 28px;
    padding: clamp(24px, 3.2vw, 38px);
    border-radius: 16px;
    background:
        linear-gradient(rgba(0, 160, 176, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 160, 176, 0.045) 1px, transparent 1px),
        linear-gradient(135deg, #06131e, #0a2634 68%, #0b303b);
    background-size: 48px 48px, 48px 48px, auto;
    box-shadow: 0 22px 54px rgba(4, 22, 31, 0.18);
}

.products-page .model-panel::before {
    display: none;
}

.products-page .model-family {
    gap: 18px;
    padding: 20px 0;
}

.products-page .model-family:first-of-type {
    margin-top: 20px;
}

.products-page .model-list {
    gap: 8px;
}

.products-page .model-item {
    min-height: 0;
    padding: 15px 16px;
}

.products-page .verification-framework {
    margin-top: 28px;
    padding-top: 26px;
}

.products-page .verification-group {
    margin-top: 16px;
}

.products-page .capability-highlights > div {
    min-height: 0;
    padding: 16px 18px;
}

.products-page .verification-table th,
.products-page .verification-table td {
    height: auto;
    padding: 12px 14px;
}

.products-page .capability-highlights > div,
.products-page .model-item {
    align-content: start;
}

@media (hover: hover) {
    .products-page .product-card:hover {
        transform: none;
        border-color: rgba(0, 160, 176, 0.28);
        box-shadow: 0 16px 38px rgba(5, 32, 43, 0.09);
    }
}

@media (max-width: 720px) {
    .products-page .page-hero {
        min-height: 300px !important;
    }

    .products-page .section {
        padding: 44px 0;
    }

    .products-page main > .page-hero + .section {
        padding-top: 28px;
    }

    .products-page .model-panel {
        margin-inline: -8px;
        border-radius: 10px;
    }

    .products-page .page-tabs {
        width: 100%;
    }
}

.series-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 18px 0 0;
}

.series-strip a,
.series-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid rgba(0, 160, 176, 0.25);
    color: #0a6975;
    background: #f2fbfc;
    font-size: 12px;
    font-weight: 800;
}

/* Notebook-style research hub. The visual language is rebuilt in CSS;
   no watermarked slide artwork is reused. */
.research-hub main,
.research-page main {
    background-color: var(--research-paper);
    background-image:
        linear-gradient(rgba(42, 67, 77, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 67, 77, 0.065) 1px, transparent 1px);
    background-size: 28px 28px;
}

.research-hub .page-hero,
.research-page .page-hero {
    min-height: 340px;
}

.research-hub .page-hero::after,
.research-page .page-hero::after {
    background:
        linear-gradient(90deg, rgba(6, 19, 30, 0.96), rgba(9, 40, 54, 0.76) 55%, rgba(6, 19, 30, 0.3)),
        linear-gradient(rgba(0, 160, 176, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 160, 176, 0.08) 1px, transparent 1px);
    background-size: auto, 54px 54px, 54px 54px;
}

.research-hub .info-card {
    position: relative;
    min-height: 250px;
    padding: 30px 28px 28px;
    overflow: hidden;
    border: 1px solid rgba(20, 34, 42, 0.24);
    background: rgba(251, 249, 242, 0.96);
    box-shadow: 8px 9px 0 rgba(189, 197, 219, 0.5);
}

.research-hub .info-card::before {
    width: 5px;
    background: linear-gradient(var(--brand-primary), var(--brand-secondary));
}

.research-hub .info-card::after {
    content: "RESEARCH NOTE";
    position: absolute;
    right: -44px;
    top: 42px;
    width: 170px;
    color: rgba(20, 34, 42, 0.16);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-align: center;
    transform: rotate(90deg);
}

.research-hub .news-date {
    color: #5f6779;
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 11px;
}

.research-hub .info-card h3 {
    padding-right: 22px;
    color: var(--research-ink);
    font-size: 20px;
    line-height: 1.4;
}

.research-page .article-copy {
    display: grid;
    grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
    gap: 0 44px;
    max-width: 1080px;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid rgba(20, 34, 42, 0.22);
    background: rgba(252, 250, 244, 0.97);
    box-shadow: 12px 14px 0 rgba(189, 197, 219, 0.52), 0 26px 70px rgba(7, 21, 33, 0.1);
}

.research-page .article-meta,
.research-page .section-lead,
.research-page .editor-note,
.research-page .research-digest,
.research-page .article-copy > div[style] {
    grid-column: 1 / -1;
}

.research-page .article-meta {
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(20, 34, 42, 0.18);
    font-family: "SFMono-Regular", Consolas, monospace;
}

.research-page .section-lead {
    max-width: 880px;
    margin-bottom: 26px;
    color: #253943;
    font-size: 20px;
    line-height: 1.85;
}

.research-page .editor-note {
    margin: 0 0 28px;
    border-left-color: var(--brand-primary);
    background: var(--brand-secondary-soft);
}

.research-page .article-copy > h2 {
    margin: 28px 0 0;
    padding: 5px 0 0 18px;
    border-left: 3px solid var(--brand-primary);
    color: var(--research-ink);
    font-size: 18px;
    line-height: 1.55;
}

.research-page .article-copy > h2 + p {
    margin: 28px 0 0;
    padding: 0 0 26px;
    border-bottom: 1px solid rgba(20, 34, 42, 0.14);
    color: #43535b;
    font-size: 16px;
    line-height: 1.9;
}

.research-digest {
    position: relative;
    margin-top: 42px;
    padding: 28px;
    border: 1px solid rgba(20, 34, 42, 0.22);
    background: #fff;
    box-shadow: 7px 8px 0 rgba(0, 160, 176, 0.16);
}

.research-digest::before {
    content: "REFERENCES / 參考文獻";
    display: inline-block;
    margin-bottom: 16px;
    padding: 5px 8px;
    color: #06131e;
    background: var(--brand-primary);
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.research-digest h2 {
    margin: 0 0 10px;
    color: var(--research-ink);
    font-size: 22px;
}

.research-digest p {
    margin: 0 0 16px;
    color: #53616a;
    font-size: 14px;
    line-height: 1.75;
}

.source-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.source-list li {
    padding: 13px 15px;
    border: 1px solid rgba(20, 34, 42, 0.14);
    color: #174c5a;
    background: #f8faf9;
    line-height: 1.55;
}

.source-list span {
    display: block;
}

.source-list small {
    display: block;
    margin-top: 3px;
    color: #6d7880;
}

@media (max-width: 760px) {
    .model-family {
        grid-template-columns: 1fr;
    }

    .research-page .article-copy {
        grid-template-columns: minmax(0, 1fr);
    }

    .research-page .article-copy > *,
    .research-page .source-list,
    .research-page .source-list li,
    .research-page .source-list span,
    .research-page .source-list small {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .model-list {
        grid-template-columns: 1fr;
    }

    .research-page .article-copy > h2,
    .research-page .article-copy > h2 + p {
        grid-column: 1;
    }

    .research-page .article-copy > h2 + p {
        margin-top: 12px;
    }

    body:not(.research-page):not(.research-hub) .page-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body:not(.research-page):not(.research-hub) .page-tabs a {
        border-right: 1px solid rgba(189, 197, 219, 0.16);
        border-bottom: 1px solid rgba(189, 197, 219, 0.16);
    }
}

/* Restrained interaction layer: progressive enhancement only */
.hero::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at var(--pointer-x, 72%) var(--pointer-y, 28%), rgba(0, 160, 176, 0.22), transparent 24%),
        linear-gradient(115deg, transparent 38%, rgba(189, 197, 219, 0.08) 50%, transparent 62%);
    opacity: 0.78;
    transition: background-position 180ms ease;
}

.hero-content,
.page-hero-content,
.hero-dots {
    z-index: 2;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 620ms ease, transform 620ms cubic-bezier(.22,.78,.24,1);
}

.reveal-ready.is-revealed {
    opacity: 1;
    transform: none;
}

.model-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 30px;
}

.model-tabs button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid rgba(189, 197, 219, 0.36);
    color: #dfe7f5;
    background: rgba(255,255,255,0.04);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.model-tabs button:hover,
.model-tabs button:focus-visible,
.model-tabs button.is-active {
    color: #06131e;
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    transform: translateY(-1px);
}

[hidden] {
    display: none !important;
}

.language-switch {
    display: inline-grid;
    place-items: center;
    min-width: 46px;
    min-height: 44px;
    margin-left: 10px;
    border: 1px solid rgba(10, 38, 48, 0.2);
    color: var(--brand-primary-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.language-switch:hover,
.language-switch:focus-visible {
    color: #fff;
    border-color: var(--brand-primary-deep);
    background: var(--brand-primary-deep);
}

html[lang="en"] body {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .section-title {
    letter-spacing: -0.025em;
}

html[lang="en"] .main-nav {
    gap: 22px;
}

@media (max-width: 720px) {
    .language-switch {
        margin-left: auto;
        margin-right: 6px;
    }
    .model-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .model-tabs button {
        width: 100%;
    }

    html[lang="en"] .home-page .hero-slider {
        min-height: 720px;
    }

    html[lang="en"] .home-page .hero-content {
        padding-top: 58px;
        padding-bottom: 104px;
    }

    html[lang="en"] .home-page .hero h1,
    html[lang="en"] .home-page .hero h2 {
        font-size: clamp(31px, 8.4vw, 38px);
        line-height: 1.12;
    }

    html[lang="en"] .research-page .page-hero h1 {
        font-size: clamp(28px, 7.7vw, 31px);
        line-height: 1.12;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero::after,
    .page-hero::after {
        background: radial-gradient(circle at 72% 28%, rgba(0, 160, 176, 0.16), transparent 24%);
    }
}
