/*
 * GRYX revamp / phase one
 * Scoped additions for the editorial palette, six-film hero, and relocated globe.
 */

:root {
    --revamp-paper: #f1efe7;
    --revamp-paper-soft: #e8e5dc;
    --revamp-panel: #f8f6ef;
    --revamp-ink: #080a09;
    --revamp-ink-soft: #0e1211;
    --revamp-orange: #f04a24;
    --revamp-orange-deep: #b92e13;
    --revamp-muted: #686d68;
    --revamp-cyan: #73dbe4;
    --revamp-light-line: rgba(15, 20, 17, 0.14);
    --revamp-dark-line: rgba(255, 255, 255, 0.13);
}

body.phase-one {
    background: var(--revamp-paper);
}

/* Six-film editorial hero ------------------------------------------------- */

.phase-one .hero-sequence {
    --hero-edge: clamp(22px, 4.6vw, 86px);
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(500px, 1fr) auto auto;
    gap: 0 clamp(14px, 1.6vw, 28px);
    width: 100%;
    max-width: none;
    min-height: max(760px, calc(100svh - 28px));
    margin: 0;
    padding: clamp(118px, 14vh, 154px) var(--hero-edge) 22px;
    overflow: hidden;
    isolation: isolate;
    color: #f8f6ef;
    background: var(--revamp-ink);
}

.phase-one .hero-sequence::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, transparent calc(25% - 0.5px), rgba(255,255,255,.055) 25%, transparent calc(25% + 0.5px)),
        linear-gradient(90deg, transparent calc(75% - 0.5px), rgba(255,255,255,.055) 75%, transparent calc(75% + 0.5px));
    box-shadow: inset 0 -1px 0 var(--revamp-dark-line);
    pointer-events: none;
}

.phase-one .hero-sequence::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    background: linear-gradient(180deg, rgba(8,10,9,.18), transparent 28%, rgba(8,10,9,.2));
    pointer-events: none;
}

.hero-sequence__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--revamp-ink);
}

.hero-sequence__media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .68;
    filter: saturate(.72) contrast(1.12) brightness(.72);
    transform: translateZ(0);
    will-change: opacity, transform;
    backface-visibility: hidden;
    transition: opacity .42s ease;
}

.hero-sequence.is-transitioning .hero-sequence__media video {
    opacity: .12;
}

.hero-sequence__handoff {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transform: translateZ(0);
    will-change: opacity, transform;
    backface-visibility: hidden;
    transition: opacity .35s ease;
}

.hero-sequence__wash,
.hero-sequence__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-sequence__wash {
    background:
        linear-gradient(90deg, rgba(8,10,9,.92) 0%, rgba(8,10,9,.77) 42%, rgba(8,10,9,.38) 72%, rgba(8,10,9,.63) 100%),
        linear-gradient(180deg, rgba(8,10,9,.42), transparent 45%, rgba(8,10,9,.76));
}

.hero-sequence__grain {
    opacity: .13;
    background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.045) 4px);
    mix-blend-mode: soft-light;
}

.phase-one .hero-sequence > :not(.hero-sequence__media) {
    position: relative;
    z-index: 3;
}

.phase-one .hero-sequence .hero-left {
    grid-column: 1 / span 8;
    grid-row: 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vh, 34px);
    margin: 0;
    padding: 0;
}

.phase-one .hero-sequence .kicker-tag {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--revamp-orange);
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.phase-one .hero-sequence .pulse-dot {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--revamp-orange);
    box-shadow: 0 0 0 5px rgba(240,74,36,.12);
}

.phase-one .hero-sequence .hero-headline {
    max-width: 1060px;
    margin: 0;
    color: var(--revamp-panel);
    font-family: var(--font-sans);
    font-size: clamp(4.1rem, 7.15vw, 8.15rem);
    font-weight: 600;
    line-height: .88;
    letter-spacing: -.066em;
    text-transform: none;
}

.phase-one .hero-sequence .hero-headline > span {
    display: block;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: opacity, transform;
    transition:
        opacity .46s cubic-bezier(.22, .76, .24, 1),
        transform .58s cubic-bezier(.16, 1, .3, 1);
}

.phase-one .hero-sequence [data-hero-title-lead] {
    transition-delay: .04s;
}

.phase-one .hero-sequence [data-hero-title-accent] {
    transition-delay: .13s;
}

.phase-one .hero-sequence .hero-headline .next-word {
    margin: 0;
    color: var(--revamp-orange);
    font: inherit;
}

.phase-one .hero-sequence.is-transitioning [data-hero-title-lead] {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition-duration: .18s, .22s;
    transition-delay: 0s;
}

.phase-one .hero-sequence.is-transitioning [data-hero-title-accent] {
    opacity: 0;
    transform: translate3d(10px, 22px, 0);
    transition-duration: .18s, .22s;
    transition-delay: 0s;
}

.phase-one .hero-sequence.is-transitioning [data-hero-copy] {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    transition-duration: .16s, .2s;
    transition-delay: 0s;
}

.phase-one .hero-sequence.is-transitioning [data-hero-chapter],
.phase-one .hero-sequence.is-transitioning [data-hero-stage] {
    opacity: 0;
    transform: translateY(10px);
}

.phase-one .hero-sequence .hero-right {
    grid-column: 10 / -1;
    grid-row: 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 4px 0 4px clamp(22px, 2.4vw, 42px);
    border-left: 1px solid rgba(255,255,255,.2);
}

.hero-sequence__meta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--revamp-dark-line);
    color: var(--revamp-orange);
    font-family: var(--font-mono);
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-sequence__meta [data-hero-stage] {
    transition: opacity .22s ease, transform .3s ease;
}

.hero-sequence__meta [data-hero-count] {
    color: rgba(248,246,239,.58);
}

.phase-one .hero-sequence .hero-subcopy {
    max-width: 390px;
    margin: 0;
    color: rgba(248,246,239,.71);
    font-size: clamp(.98rem, 1.15vw, 1.12rem);
    font-weight: 400;
    line-height: 1.65;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: opacity, transform;
    transition:
        opacity .4s cubic-bezier(.22, .76, .24, 1) .21s,
        transform .52s cubic-bezier(.16, 1, .3, 1) .21s;
}

.phase-one .hero-sequence .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    margin-top: 5px;
}

.phase-one .hero-sequence .hero-actions .btn-orange,
.phase-one .hero-sequence .hero-actions .btn-outline {
    display: flex;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.24);
    border-radius: 0;
    color: var(--revamp-panel);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-mono);
    font-size: .67rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.phase-one .hero-sequence .hero-actions .btn-orange {
    border-bottom-color: var(--revamp-orange);
}

.phase-one .hero-sequence .hero-actions .btn-orange:hover,
.phase-one .hero-sequence .hero-actions .btn-outline:hover {
    color: var(--revamp-orange);
    border-bottom-color: var(--revamp-orange);
    background: transparent;
    box-shadow: none;
    transform: translateX(3px);
}

.hero-sequence__controls {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    border-top: 1px solid rgba(255,255,255,.2);
    border-bottom: 1px solid rgba(255,255,255,.11);
}

.hero-sequence__steps {
    display: grid;
    grid-template-columns: repeat(6, minmax(76px, 1fr));
}

.hero-sequence__steps button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 clamp(10px, 1.4vw, 24px);
    border: 0;
    border-right: 1px solid rgba(255,255,255,.12);
    color: rgba(248,246,239,.46);
    background: rgba(8,10,9,.18);
    font-family: var(--font-mono);
    text-align: left;
    cursor: pointer;
    transition: color .22s ease, background .22s ease;
}

.hero-sequence__steps button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--revamp-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.hero-sequence__steps button span {
    color: inherit;
    font-size: .66rem;
}

.hero-sequence__steps button small {
    font-size: .61rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.hero-sequence__steps button:hover,
.hero-sequence__steps button:focus-visible,
.hero-sequence__steps button.is-active {
    color: var(--revamp-panel);
    background: rgba(255,255,255,.055);
}

.hero-sequence__steps button.is-active::after {
    transform: scaleX(1);
}

.hero-sequence__rate {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 138px;
    padding: 0 20px;
    color: rgba(248,246,239,.42);
    background: rgba(8,10,9,.26);
    font-family: var(--font-mono);
    font-size: .56rem;
    letter-spacing: .09em;
}

.hero-sequence__rate strong {
    color: var(--revamp-orange);
    font-size: .67rem;
    font-weight: 600;
}

.phase-one .hero-sequence .hero-system-footer {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
    padding-top: 15px;
    border-top: 0;
    color: rgba(248,246,239,.43);
}

.phase-one .hero-sequence .system-dot {
    background: var(--revamp-orange);
    box-shadow: 0 0 10px rgba(240,74,36,.7);
}

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

@media (max-width: 1100px) {
    .phase-one .hero-sequence {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        grid-template-rows: auto auto auto auto;
        min-height: 820px;
        row-gap: 34px;
    }

    .phase-one .hero-sequence .hero-left {
        grid-column: 1 / -1;
        grid-row: 1;
        align-self: end;
        max-width: 920px;
        padding-top: 56px;
    }

    .phase-one .hero-sequence .hero-headline {
        font-size: clamp(4.25rem, 9vw, 7rem);
    }

    .phase-one .hero-sequence .hero-right {
        grid-column: 5 / -1;
        grid-row: 2;
    }

    .hero-sequence__controls {
        grid-row: 3;
    }

    .phase-one .hero-sequence .hero-system-footer {
        grid-row: 4;
    }

}

@media (max-width: 760px) {
    .phase-one .hero-sequence {
        --hero-edge: 18px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        min-height: 790px;
        padding-top: 104px;
        row-gap: 30px;
    }

    .phase-one .hero-sequence::before {
        background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.05) 50%, transparent calc(50% + .5px));
    }

    .hero-sequence__wash {
        background: linear-gradient(180deg, rgba(8,10,9,.78), rgba(8,10,9,.5) 52%, rgba(8,10,9,.88));
    }

    .phase-one .hero-sequence .hero-left {
        grid-column: 1;
        grid-row: 1;
        gap: 24px;
        padding: 42px 0 0;
    }

    .phase-one .hero-sequence .hero-headline {
        font-size: clamp(3.25rem, 15vw, 5.3rem);
        line-height: .91;
    }

    .phase-one .hero-sequence .hero-right {
        grid-column: 1;
        grid-row: 2;
        gap: 18px;
        padding: 19px 0 0;
        border-top: 1px solid rgba(255,255,255,.2);
        border-left: 0;
    }

    .phase-one .hero-sequence .hero-subcopy {
        max-width: 560px;
    }

    .phase-one .hero-sequence .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .hero-sequence__controls {
        grid-column: 1;
        grid-row: 3;
        display: block;
        overflow: hidden;
    }

    .hero-sequence__steps {
        overflow-x: auto;
        grid-template-columns: repeat(6, minmax(62px, 1fr));
        scrollbar-width: none;
    }

    .hero-sequence__steps::-webkit-scrollbar {
        display: none;
    }

    .hero-sequence__steps button {
        justify-content: center;
        padding: 0 10px;
    }

    .hero-sequence__steps button small,
    .hero-sequence__rate {
        display: none;
    }

    .phase-one .hero-sequence .hero-system-footer {
        grid-column: 1;
        grid-row: 4;
        gap: 10px 0;
    }

}

@media (prefers-reduced-motion: reduce) {
    .hero-sequence__media video,
    .phase-one .hero-sequence .hero-headline > span,
    .phase-one .hero-sequence [data-hero-copy],
    .phase-one .hero-sequence [data-hero-chapter],
    .phase-one .hero-sequence [data-hero-stage] {
        transition: none;
    }

    .hero-sequence__media video {
        opacity: .5;
        transform: none;
    }

    .phase-one .hero-sequence.is-transitioning .hero-headline > span,
    .phase-one .hero-sequence.is-transitioning [data-hero-copy] {
        opacity: 1;
        transform: none;
    }
}

/* Phase-one refinement: cleaner split hero + floating dock navigation ------ */

.phase-one .navbar {
    top: 14px;
    left: 50%;
    right: auto;
    width: min(1120px, calc(100% - 32px));
    height: 62px;
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto minmax(140px, 1fr);
    align-items: center;
    gap: clamp(8px, 1.2vw, 20px);
    padding: 7px 9px 7px 16px;
    overflow: visible;
    border: 1px solid rgba(8, 10, 9, .14);
    border-radius: 18px;
    background: rgba(241, 239, 231, .94);
    box-shadow:
        0 14px 38px rgba(8, 10, 9, .12),
        inset 0 1px 0 rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px) saturate(1.06);
    -webkit-backdrop-filter: blur(18px) saturate(1.06);
    transform: translateX(-50%);
}

.phase-one .navbar::before {
    display: none;
}

.phase-one .nav-brand {
    justify-self: start;
    min-width: 0;
    padding: 2px 6px 2px 1px;
    border-radius: 0;
    transition: transform .34s cubic-bezier(.2, .9, .2, 1.25), filter .25s ease;
}

.phase-one .nav-brand,
.phase-one .nav-actions > a {
    position: relative;
}

.phase-one .nav-brand::before,
.phase-one .nav-item::before,
.phase-one .nav-actions > a::before {
    content: "";
    position: absolute;
    inset: -10px 0;
}

.phase-one .gryx-logo {
    width: 136px;
    height: 40px;
}

.phase-one .nav-brand:hover,
.phase-one .nav-brand:focus-visible {
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 9px 10px rgba(8,10,9,.15));
    transform: translateY(-5px) scale(1.035);
}

.phase-one .nav-links {
    display: flex;
    justify-self: center;
    align-self: stretch;
    align-items: center;
    gap: 0;
    padding: 0 clamp(8px, 1vw, 18px);
    border: 0;
    border-right: 1px solid rgba(8,10,9,.11);
    border-left: 1px solid rgba(8,10,9,.11);
    border-radius: 0;
    background: transparent;
}

.phase-one .nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 clamp(10px, 1.05vw, 16px);
    border-radius: 0;
    color: rgba(8, 10, 9, .84);
    font-family: var(--font-mono);
    font-size: .70rem;
    font-weight: 600;
    letter-spacing: .045em;
    text-transform: uppercase;
    transform-origin: center bottom;
    transition:
        color .2s ease,
        background-color .2s ease,
        box-shadow .24s ease,
        transform .34s cubic-bezier(.2, .9, .2, 1.35);
}

.phase-one .nav-item::after {
    content: "";
    position: absolute;
    right: clamp(10px, 1.05vw, 16px);
    bottom: 8px;
    left: clamp(10px, 1.05vw, 16px);
    height: 2px;
    background: var(--revamp-orange);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .24s ease;
}

.phase-one .nav-item.is-active,
.phase-one .nav-item:hover,
.phase-one .nav-item:focus-visible {
    z-index: 2;
    color: var(--revamp-ink);
    background: transparent;
    box-shadow: none;
    transform: translateY(-5px) scale(1.055);
}

.phase-one .nav-item.is-active::after,
.phase-one .nav-item:hover::after,
.phase-one .nav-item:focus-visible::after {
    transform: scaleX(1);
}

.phase-one .nav-links:has(.nav-item:hover) .nav-item:not(:hover) {
    color: rgba(8, 10, 9, .46);
    transform: scale(.97);
}

.phase-one .nav-actions {
    justify-self: end;
    gap: 10px;
}

.phase-one .nav-actions > a {
    border-radius: 12px;
    transform-origin: center bottom;
    transition:
        color .2s ease,
        background-color .2s ease,
        box-shadow .24s ease,
        transform .34s cubic-bezier(.2, .9, .2, 1.35);
}

.phase-one .nav-actions .btn-login {
    padding: 10px 8px;
    color: rgba(8, 10, 9, .84);
    font-family: var(--font-mono);
    font-size: .70rem;
    text-transform: uppercase;
}

.phase-one .nav-actions .btn-orange {
    padding: 11px 17px;
    border-radius: 10px;
    background: var(--revamp-orange);
    box-shadow: 0 7px 18px rgba(240,74,36,.2);
    font-family: var(--font-mono);
    font-size: .70rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.phase-one .nav-actions > a:hover,
.phase-one .nav-actions > a:focus-visible {
    z-index: 2;
    box-shadow: none;
    transform: translateY(-6px) scale(1.045);
}

.phase-one .nav-actions .btn-login:hover,
.phase-one .nav-actions .btn-login:focus-visible {
    color: var(--revamp-orange-deep);
}

.phase-one .nav-actions .btn-orange:hover,
.phase-one .nav-actions .btn-orange:focus-visible {
    background: var(--revamp-orange-deep);
    box-shadow: 0 12px 25px rgba(185,46,19,.28);
}

.phase-one .hero-sequence {
    --hero-edge: clamp(18px, 2.3vw, 42px);
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(510px, 1fr) auto;
    min-height: max(700px, 100svh);
    padding: 96px var(--hero-edge) 0;
    column-gap: clamp(12px, 1.2vw, 22px);
}

.phase-one .hero-sequence::before {
    background: none;
}

.hero-sequence__media {
    top: 0;
    right: 0;
    bottom: 0;
    left: 30%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-left: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 7%, #000 25%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 7%, #000 25%, #000 100%);
}

.hero-sequence__media video {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .98;
    filter: saturate(.94) contrast(1.05) brightness(.98);
    transform: none;
}

.hero-sequence__handoff {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    filter: saturate(.94) contrast(1.05) brightness(.98);
    pointer-events: none;
}

.hero-sequence__handoff.is-holding {
    opacity: .98;
    transition: none;
}

.hero-sequence__handoff.is-releasing {
    opacity: 0;
    transition: opacity .52s cubic-bezier(.22, .76, .24, 1);
}

.hero-sequence.is-transitioning .hero-sequence__media video {
    opacity: .2;
    transform: none;
}

.hero-sequence__wash {
    z-index: 1;
    background: linear-gradient(90deg, rgba(8,10,9,.74), rgba(8,10,9,.18) 24%, transparent 45%);
}

.hero-sequence__grain {
    z-index: 1;
    opacity: .045;
}

.phase-one .hero-sequence .hero-left {
    grid-column: 1 / span 5;
    grid-row: 1;
    align-self: center;
    gap: 26px;
    max-width: 620px;
    margin: 0;
    padding: 0 clamp(8px, 1vw, 18px) 0 0;
}

.phase-one .hero-sequence .hero-headline {
    max-width: 620px;
    font-size: clamp(3.15rem, 5.05vw, 5.85rem);
    line-height: .93;
    letter-spacing: -.058em;
}

.phase-one .hero-sequence .hero-subcopy {
    max-width: 430px;
    color: rgba(248,246,239,.66);
    font-size: clamp(.9rem, .94vw, 1.02rem);
    line-height: 1.58;
}

.hero-sequence__controls {
    grid-column: 1 / -1;
    grid-row: 2;
    display: block;
    width: calc(100% + (var(--hero-edge) * 2));
    margin-right: calc(var(--hero-edge) * -1);
    margin-left: calc(var(--hero-edge) * -1);
    border-top-color: rgba(255,255,255,.16);
    border-bottom: 0;
    background: rgba(5, 7, 6, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-sequence__steps {
    grid-template-columns: repeat(6, minmax(42px, 1fr));
}

.hero-sequence__steps button {
    justify-content: center;
    min-height: 44px;
    padding: 0 8px;
    background: transparent;
}

.hero-sequence__steps button small {
    display: block;
    color: inherit;
    font-size: .55rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-sequence__steps button span {
    font-size: .61rem;
}

@media (max-width: 1100px) {
    .phase-one .navbar {
        width: calc(100% - 24px);
        grid-template-columns: minmax(132px, 1fr) auto minmax(150px, 1fr);
        gap: 8px;
    }

    .phase-one .nav-links {
        padding-right: 6px;
        padding-left: 6px;
    }

    .phase-one .nav-item {
        padding-right: 9px;
        padding-left: 9px;
        font-size: .64rem;
    }

    .phase-one .nav-item::after {
        right: 9px;
        left: 9px;
    }

    .phase-one .nav-actions .btn-login {
        display: none;
    }

    .phase-one .hero-sequence {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: minmax(500px, 1fr) auto;
        min-height: max(680px, 100svh);
        row-gap: 0;
    }

    .phase-one .hero-sequence .hero-left {
        grid-column: 1 / span 5;
        grid-row: 1;
        align-self: center;
        padding-top: 0;
    }

    .phase-one .hero-sequence .hero-headline {
        font-size: clamp(3rem, 5.2vw, 4.5rem);
    }

    .hero-sequence__controls {
        grid-row: 2;
    }
}

@media (max-width: 820px) {
    .phase-one .navbar {
        height: 58px;
        grid-template-columns: auto 1fr;
        padding: 6px 7px 6px 11px;
        border-radius: 16px;
    }

    .phase-one .gryx-logo {
        width: 122px;
        height: 38px;
    }

    .phase-one .nav-links {
        display: none;
    }

    .phase-one .nav-actions {
        justify-self: end;
    }

    .phase-one .nav-actions .btn-orange {
        padding: 10px 14px;
    }

    .phase-one .hero-sequence {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        min-height: auto;
        padding: 116px 18px 24px;
        row-gap: 34px;
    }

    .phase-one .hero-sequence::before {
        background: none;
    }

    .phase-one .hero-sequence .hero-left {
        grid-column: 1;
        grid-row: 1;
        max-width: 620px;
        padding: 0;
    }

    .phase-one .hero-sequence .hero-headline {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .hero-sequence__media {
        position: relative;
        inset: auto;
        grid-column: 1;
        grid-row: 2;
        width: calc(100% + 36px);
        aspect-ratio: 16 / 9;
        margin-left: -18px;
        border-top: 1px solid rgba(255,255,255,.1);
        border-left: 0;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .hero-sequence__media video {
        position: absolute;
        inset: 0;
    }

    .hero-sequence__wash {
        display: none;
    }

    .hero-sequence__controls {
        grid-column: 1;
        grid-row: 3;
        width: calc(100% + 36px);
        margin-right: -18px;
        margin-left: -18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phase-one .nav-brand,
    .phase-one .nav-item,
    .phase-one .nav-actions > a {
        transition: none;
    }

    .phase-one .nav-brand:hover,
    .phase-one .nav-brand:focus-visible,
    .phase-one .nav-item:hover,
    .phase-one .nav-item:focus-visible,
    .phase-one .nav-actions > a:hover,
    .phase-one .nav-actions > a:focus-visible {
        transform: none;
    }
}

@media (max-width: 820px) {
    .phase-one .hero-sequence {
        padding-bottom: 0;
    }

    .hero-sequence__steps button small {
        display: none;
    }
}

/* Logical Section Scroll Margins */
#top,
#living-system,
#services,
#why-choose,
#globe,
#contact,
.rock-showcase,
.services-ledger,
.why-choose,
.section-trust,
.contact-deck {
    scroll-margin-top: 80px;
}
