:root {
    --font-display: 'Rajdhani', 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;

    --bg: #070c17;
    --bg-soft: #10192c;
    --bg-card: rgba(14, 23, 40, 0.78);
    --line: rgba(151, 198, 255, 0.24);

    --text: #ecf3ff;
    --muted: #adc1df;
    --accent-cyan: #42d6ff;
    --accent-amber: #ffb224;
    --accent-red: #ff4b5f;

    --radius-lg: 22px;
    --radius-md: 14px;
    --shadow-deep: 0 26px 60px rgba(0, 0, 0, 0.46);
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at 8% -10%, #19355f, transparent 44%),
                radial-gradient(circle at 85% 6%, #3a1f40, transparent 36%),
                linear-gradient(180deg, #080d1c 0%, var(--bg) 56%, #060a13 100%);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.55;
    overflow-x: hidden;
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-image: linear-gradient(to right, rgba(88, 145, 214, 0.08) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(88, 145, 214, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.2));
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.22;
    pointer-events: none;
    z-index: -2;
}

.bg-glow-left {
    background: #10b7f4;
    left: -140px;
    top: -140px;
}

.bg-glow-right {
    background: #ff5b5b;
    right: -140px;
    top: 14vh;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(10px);
    background: rgba(5, 10, 18, 0.74);
    border-bottom: 1px solid rgba(128, 185, 255, 0.2);
}

.topbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.04rem, 1.6vw, 1.24rem);
    letter-spacing: 0.08em;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
    padding: 0.2rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.26rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-amber));
    transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    border: 1px solid rgba(144, 195, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-radius: 999px;
    padding: 0.42rem 0.88rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 1.2rem;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.7;
    background-image: url('./assets/tc1pro-viz-rebrand-e1738790474348.webp');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
}

.hero::after {
    content: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    align-items: start;
    align-content: start;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.hero-copy,
.equipment-card,
.signal-list,
.signal-image,
.gallery-item,
.contact-panel,
.transport-copy,
.transport-photo,
.terms-card,
.terms-highlight {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-deep);
}

.hero-copy {
    width: auto;
    padding: clamp(1.1rem, 2.6vw, 2rem);
    background: rgba(10, 18, 32, 0.78);
    box-shadow: none;
}

.hero-logo-wrap {
    margin: 0;
    align-self: start;
    justify-self: end;
    width: min(100%, 680px);
    display: flex;
    justify-content: flex-end;
}

.hero-logo-large {
    width: min(100%, 640px);
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.hero-mobile-tricaster {
    display: none;
    margin-top: 0.8rem;
}

.hero-mobile-tricaster img {
    width: 100%;
    height: auto;
    opacity: 1;
    display: block;
}

.kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0.01em;
}

h1 {
    margin-top: 0.66rem;
    font-size: clamp(2rem, 4.1vw, 4rem);
    max-width: 14ch;
}

h2 {
    font-size: clamp(1.46rem, 3.2vw, 2.66rem);
}

h3 {
    font-size: 1.28rem;
}

.lead {
    margin: 1rem 0 0;
    color: var(--muted);
    max-width: 58ch;
}

.availability {
    margin: 1.12rem 0 0;
    width: fit-content;
    padding: 0.5rem 0.76rem;
    border-radius: 11px;
    background: rgba(255, 178, 36, 0.12);
    border: 1px solid rgba(255, 178, 36, 0.4);
    color: #ffd387;
    font-weight: 600;
}

.hero-actions,
.contact-actions {
    margin-top: 1.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
}

.contact-actions {
    margin-top: 0;
    display: grid;
    justify-items: end;
    gap: 0.72rem;
    min-width: clamp(250px, 24vw, 330px);
}

.contact-actions .btn {
    width: 100%;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.7rem 1.15rem;
    transition: transform 170ms ease, box-shadow 170ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    color: #02111c;
    background: linear-gradient(130deg, var(--accent-cyan), #81f1ff 45%, var(--accent-amber));
    box-shadow: 0 10px 32px rgba(66, 214, 255, 0.3);
}

.btn-ghost {
    color: var(--text);
    border: 1px solid rgba(142, 194, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
}

.hero-specs {
    margin: 1.12rem 0 0;
    padding-left: 1.1rem;
    columns: 2;
    column-gap: 1.2rem;
}

.hero-specs li {
    margin-bottom: 0.54rem;
    color: #cfe2fb;
    break-inside: avoid;
}

.what-you-get {
    margin-top: 1.3rem;
}

.what-you-get-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.48rem 1.2rem;
    color: #d0e0f5;
}

.transport-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0.88rem;
    align-items: stretch;
}

.transport-copy {
    padding: clamp(1.05rem, 2.6vw, 1.8rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transport-copy p {
    margin: 0;
    color: #c7d9f1;
}

.transport-features {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.44rem;
    color: #d5e4fa;
}

.transport-note {
    margin-top: 0;
}

.transport-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.78rem;
}

.transport-photo {
    margin: 0;
    overflow: hidden;
}

.transport-photo img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.transport-photo-wide {
    grid-column: span 12;
}

.transport-photo:not(.transport-photo-wide) {
    grid-column: span 6;
}

.terms-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 0.88rem;
    align-items: stretch;
}

.terms-card,
.terms-highlight {
    padding: clamp(1.05rem, 2.6vw, 1.8rem);
}

.terms-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 0.72rem;
    color: #d9e7fb;
}

.terms-list li {
    position: relative;
    padding: 0.72rem 0.82rem 0.72rem 2.7rem;
    border-radius: 12px;
    border: 1px solid rgba(132, 182, 240, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.terms-list li::before {
    content: '';
    position: absolute;
    left: 0.82rem;
    top: 50%;
    width: 1.22rem;
    height: 1.22rem;
    border-radius: 50%;
    transform: translateY(-50%);
    background: linear-gradient(145deg, #57ff93, #21c95b);
    box-shadow: 0 0 0 2px rgba(33, 201, 91, 0.18), 0 6px 14px rgba(33, 201, 91, 0.28);
}

.terms-list li::after {
    content: '';
    position: absolute;
    left: 1.14rem;
    top: 50%;
    width: 0.36rem;
    height: 0.68rem;
    border-right: 2px solid #03220d;
    border-bottom: 2px solid #03220d;
    transform: translateY(-58%) rotate(40deg);
}

.terms-highlight {
    background: linear-gradient(145deg, rgba(11, 34, 59, 0.9), rgba(28, 16, 44, 0.84));
}

.terms-highlight p {
    margin: 0.76rem 0 0;
    color: #c9daf3;
}

.section {
    margin-top: 2.2rem;
}

.section-head {
    margin-bottom: 0.95rem;
}

.section-head h2 {
    margin-top: 0.56rem;
    max-width: 24ch;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.88rem;
}

.equipment-card {
    padding: 0.68rem;
}

.equipment-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.equipment-card h3 {
    margin-top: 0.76rem;
    font-size: 1.16rem;
}

.equipment-card p {
    margin-top: 0.48rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.signal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 0.88rem;
    align-items: stretch;
}

.signal-list {
    margin: 0;
    padding: 0.95rem;
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.signal-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.7rem;
    padding: 0.66rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(132, 182, 240, 0.15);
}

.signal-list span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.12rem;
    background: rgba(66, 214, 255, 0.16);
    border: 1px solid rgba(66, 214, 255, 0.35);
    color: #9beaff;
}

.signal-list h3 {
    font-size: 1.02rem;
}

.signal-list p {
    margin: 0.28rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.signal-image {
    overflow: hidden;
}

.signal-image img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.78rem;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform 240ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
    transform: scale(1.04);
}

.gallery-item.wide {
    grid-column: span 8;
}

.gallery-item.tall {
    grid-column: span 4;
    grid-row: span 2;
}

.gallery-item:not(.wide):not(.tall) {
    grid-column: span 4;
}

.contact-panel {
    padding: clamp(1.05rem, 2.6vw, 1.8rem);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.1rem;
    background: linear-gradient(145deg, rgba(10, 28, 51, 0.9), rgba(40, 16, 31, 0.8));
}

.contact-panel p {
    margin: 0.66rem 0 0;
    color: #c0d0e8;
    max-width: 62ch;
}

.footer {
    margin-top: 2rem;
    border-top: 1px solid rgba(134, 182, 234, 0.22);
    background: rgba(4, 8, 14, 0.56);
}

.footer-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.62rem;
    color: #9cb5d7;
    font-size: 0.93rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-delay='1'] {
    transition-delay: 110ms;
}

[data-delay='2'] {
    transition-delay: 220ms;
}

@media (max-width: 1160px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.66fr);
    }

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

    .gallery-item.wide,
    .gallery-item.tall,
    .gallery-item:not(.wide):not(.tall) {
        grid-column: span 6;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 920px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-logo-wrap {
        justify-self: start;
        width: min(100%, 460px);
    }

    .hero-logo-large {
        width: min(100%, 430px);
    }

    .hero-specs {
        columns: 1;
    }

    .hero-inner {
        padding-top: 0.82rem;
        padding-bottom: 0.82rem;
    }

    .signal-grid {
        grid-template-columns: 1fr;
    }

    .transport-grid {
        grid-template-columns: 1fr;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }

    .what-you-get-list {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-actions {
        justify-items: start;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 740px) {
    .hero::before {
        content: none;
    }

    .hero-logo-wrap {
        order: -1;
        justify-self: center;
        width: min(100%, 360px);
        margin-bottom: 0.2rem;
    }

    .hero-logo-large {
        width: 100%;
    }

    .hero-mobile-tricaster {
        display: block;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.45rem);
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        min-width: 190px;
        padding: 0.72rem;
        border-radius: 12px;
        border: 1px solid rgba(134, 182, 234, 0.3);
        background: rgba(8, 14, 26, 0.96);
        box-shadow: var(--shadow-deep);
    }

    .main-nav.is-open {
        display: flex;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.wide,
    .gallery-item.tall,
    .gallery-item:not(.wide):not(.tall) {
        grid-column: span 12;
    }

    .transport-photo-wide,
    .transport-photo:not(.transport-photo-wide) {
        grid-column: span 12;
    }

    .signal-list li {
        grid-template-columns: 44px 1fr;
    }

    .signal-list span {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
}
