:root{
    --color-transparent:transparent;
    --color-white:#FFFFFF;
    --color-black:#000000;
    --color-mono-50:#242424;
    --color-mono-40:#2C2C2C;
    --color-mono-30:#343434;
    --color-mono-20:#3C3C3C;
    --color-mono-10:#464646;
    --color-grey-70:#1E1E1E;
    --color-grey-60:#323232;
    --color-grey-50:#4F4F4F;
    --color-grey-40:#969696;
    --color-grey-30:#BEBEBE;
    --color-grey-20:#DDDEE2;
    --color-grey-10:#F0F0F0;
    --color-primary-orange-100:#FF501E;
    --color-primary-orange-20:#FF9678;
    --color-primary-orange-10:#FFCBBC;
    --color-primary-blue-100:#3240BE;
    --color-primary-blue-40:#ADB3E5;
    --color-primary-blue-20:#D6D9F2;
    --color-primary-blue-10:#C1C6EC;
    --color-primary-sienna-100:#A05306;
    --color-primary-sienna-20:#C6986A;
    --color-primary-sienna-10:#E3CBB4;
    --header-height-desktop:80px;
    --header-height-touch:56px;
    --cubic-easing:cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* DIRTT Typography */
@font-face{font-family:"Replica LL";src:url(../_css/_fonts/replica-ll-regular-54e94dc79e159e15c88265a246e76af7.woff2) format("woff2"),url(../_css/_fonts/replica-ll-regular-0bf449dd3fb57b6e4928223fcf13579d.woff) format("woff");font-display:block;font-weight:normal;font-style:normal;}
@font-face{font-family:"Replica LL";src:url(../_css/_fonts/replica-ll-light-0aca94bd1c12dbde00f13913857b6a5f.woff2) format("woff2"),url(../_css/_fonts/replica-ll-light-6fc240956774fa2d16c76445a767a695.woff) format("woff");font-display:block;font-weight:300;font-style:normal;}
figure{
    margin:0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}
.subcaption{font-size:14px;font-weight:400;line-height:124%;letter-spacing:0.03em;text-transform:uppercase;}
.button{font-size:16px;font-weight:normal;line-height:120%;letter-spacing:0.02em;}

body {
    font-family: "Replica LL","Helvetica Neue","Helvetica",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: var(--header-height-touch);
}

@media only screen and (min-width: 1025px) {
    body {
        padding-top: var(--header-height-desktop);
    }
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid System from DIRTT */
.grid {
    width: 100%;
    max-width: 1440px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-gap: 0 0.25rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-right: auto;
    margin-left: auto;
}

@media only screen and (min-width: 1025px) {
    .grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-gap: 0 0.75rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Header Wrapper */
.header-wrapper {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 30;
    background: var(--color-grey-70);
    border-bottom: 1px solid var(--color-black);
    color: var(--color-grey-10);
    height: var(--header-height-touch);
}

@media only screen and (min-width: 1025px) {
    .header-wrapper {
        height: var(--header-height-desktop);
    }
}
.video-title { margin-top: 0; }


/* Navigation */
.nav {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-desktop {
    display: none;
}

.nav-touch {
    display: block;
}

@media only screen and (min-width: 1025px) {
    .nav-desktop {
        display: block;
    }
    .nav-touch {
        display: none;
    }
}

/* Link Group */
.link-group {
    grid-column: span 9 / span 9;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-group-logo {
    height: 100%;
    position: relative;
    display: block;
    margin-right: 32px;
}

.logo-container {
    width: 100%;
    height: 100%;
    /*position: relative;*/
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}



@media only screen and (min-width: 1025px) {
    .logo-container {
        justify-content: center;
    }
}

.logo-container svg {
    height: 22px;
}

.link-group-item {
    width: 120px;
    height: 100%;
    position: relative;
    border-right: 1px solid black;
}

.link-group-item.first-item {
    border-left: 1px solid black;
}

.link-group-item a,
.link-group-item button {
    width: 100%;
    height: 100%;
    position: relative;
    background: none;
    border: none;
    color: inherit;
    text-decoration: none;
}

.link-group-item > a > div,
.link-group-item > button > div {
    width: 100%;
    height: 100%;
    position: relative;
    gap: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .link-group-item {
        cursor: pointer;
    }
    .link-group-item:hover {
        background: black;
    }
}

/* Button Group */
.button-group {
    grid-column: span 2 / span 2;
    grid-column-start: 11;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.contact-button {
    height: 51px;
    position: relative;
    display: block;
    padding: 0 1.5rem;
    border-radius: 4px;
    background: var(--color-grey-10);
    border: 1px solid var(--color-grey-10);
    color: var(--color-black);
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

@media (hover: hover) {
    .contact-button:hover {
        border-color: var(--color-primary-orange-100);
        background: var(--color-primary-orange-100);
        color: var(--color-white);
        opacity: 1;
    }
}

/* Mobile Navigation */
.mobile-logo-section {
    grid-column: span 6 / span 6;
    opacity: 1;
    transition: opacity 0.3s var(--cubic-easing);
}

.mobile-logo-section.nav-active {
    opacity: 0;
}

.burger-bag {
    grid-column: span 6 / span 6;
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.menu-button {
    width: 37px;
    height: 37px;
    position: relative;
    display: block;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.burger {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.burger-line {
    width: 100%;
    height: 2px;
    background: white;
    margin-top: 0.25rem;
    transition: 0.3s var(--cubic-easing) transform;
}

.burger-line:first-of-type {
    margin-top: 0;
}

.burger.active .burger-line:first-child {
    transform: translate3d(0, 6px, 0) rotate(45deg);
    transform-origin: 50% 50%;
}

.burger.active .burger-line:nth-child(2) {
    transform: scaleX(0);
}

.burger.active .burger-line:last-child {
    transform: translate3d(0, -6px, 0) rotate(-45deg);
    transform-origin: 50% 50%;
}

.mobile-logo-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-logo-container svg {
    height: 17px;
}

/* Content Section */
.content-section {
    padding-top: 0;
}

.video-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 110%;
    letter-spacing: -0.0075em;
    margin-bottom: 16px;
    color: #000;
}

@media only screen and (max-width: 1025px) {
    .video-title {
        font-size: 40px;
    }
}

@media only screen and (max-width: 660px) {
    .video-title {
        font-size: 34px;
    }
}

.video-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: 0.015em;
    color: #666;
    margin-bottom: 24px;
}

@media only screen and (max-width: 660px) {
    .video-subtitle {
        font-size: 18px;
    }
}

.video-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 0px;
}

.video-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #333;
    margin-bottom: 40px;
}

@media only screen and (max-width: 660px) {
    .video-description {
        font-size: 14px;
    }
}

.video-description p {
    margin-bottom: 16px;
}

/* Actions */
.video-actions {
    border-top: 1px solid #eee;
    padding-top: 32px;
}

.action-section {
    margin-bottom: 32px;
}

.action-title {
    font-size: 14px;
    font-weight: 300;
    line-height: 124%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
}

.link-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.link-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.copy-button {
    padding: 12px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.copy-button:hover {
    background-color: #333;
}

.copy-feedback {
    font-size: 12px;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-feedback.show {
    opacity: 1;
}

.share-buttons {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 6px;
    transition: all 0.2s;
}

.share-buttons a:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}

.share-buttons svg {
    width: 18px;
    height: 18px;
    fill: #666;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 100px 20px;
}

.error-state h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 16px;
}

.error-state p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.error-state a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.error-state a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 40px 0;
        gap: 30px;
    }

    .link-input-group {
        flex-direction: column;
    }

    .copy-button {
        width: 100%;
    }
}

/* Search Overlay */
.search-overlay {
    display: none;
}

@media only screen and (min-width: 1025px) {
    .search-overlay {
        transition: opacity 0.2s ease-in-out;
        display: block;
        position: fixed;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        z-index: 99;
    }

    .search-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    padding: 60px 0;
    min-height: calc(100vh - 120px);
}

/* Video Section */
.video-section {
    position: relative;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.video-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.video-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.video-nav a:hover {
    color: #333;
}

/* Content Section */
.content-section {
    padding-top: 0px;
}

.video-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 110%;
    letter-spacing: -0.0075em;
    margin-bottom: 16px;
    color: #000;
}

@media only screen and (max-width: 1025px) {
    .video-title {
        font-size: 40px;
    }
}

@media only screen and (max-width: 660px) {
    .video-title {
        font-size: 34px;
    }
}

.video-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: 0.015em;
    color: #666;
    margin-bottom: 24px;
}

@media only screen and (max-width: 660px) {
    .video-subtitle {
        font-size: 18px;
    }
}

.video-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 32px;
}

.video-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: 0.02em;
    color: #333;
    margin-bottom: 0px;
}

@media only screen and (max-width: 660px) {
    .video-description {
        font-size: 14px;
    }
}

.video-description p {
    margin-bottom: 16px;
}

/* Actions */
.video-actions {
    border-top: 1px solid #eee;
    padding-top: 32px;
}

.action-section {
    margin-bottom: 0px;
}

.action-title {
    font-size: 14px;
    font-weight: 300;
    line-height: 124%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
}

.link-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.link-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.copy-button {
    padding: 12px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.copy-button:hover {
    background-color: #333;
}

.copy-feedback {
    font-size: 12px;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-feedback.show {
    opacity: 1;
}

.share-buttons {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 6px;
    transition: all 0.2s;
}

.share-buttons a:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}

.share-buttons svg {
    width: 18px;
    height: 18px;
    fill: #666;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 100px 20px;
}

.error-state h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 16px;
}

.error-state p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.error-state a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.error-state a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-section {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 40px 0;
        gap: 30px;
    }

    .link-input-group {
        flex-direction: column;
    }

    .copy-button {
        width: 100%;
    }
}

/* Hidden elements for functionality */
#stream_data,
#embed_source,
#embed_data {
    display: none;
}