/* ==========================================================================
   ROYAL HOSPITALITY — Coming Soon Page Styles
   --------------------------------------------------------------------------
   Brand palette (from the business card)
     Deep navy      #071A3A
     Royal blue     #0F2347
     Luxury gold    #D6A23A
     Champagne gold #E8D1A0
     White          #FFFFFF

   Layout rule: everything fits in ONE viewport. No scrolling at any size.
   Sizes use vh / vw units + media queries (no clamp(), var() or calc()).
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Reset & viewport lock
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;              /* no horizontal or vertical scrolling */
    overscroll-behavior: none;
}

body {
    background-color: #071A3A;
    color: #FFFFFF;
    font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

[hidden] {
    display: none !important;
}


/* --------------------------------------------------------------------------
   2. Stage — the single full-screen composition
   -------------------------------------------------------------------------- */
.stage {
    position: relative;
    width: 100%;
    height: 100vh;                 /* fallback */
    height: 100svh;                /* small viewport: respects mobile toolbars */
    min-height: 100vh;
    min-height: 100svh;
    max-height: 100vh;
    max-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4vh 6vw;
    text-align: center;
    isolation: isolate;

    /* Navy gradient with soft light behind the logo */
    background-color: #071A3A;
    background-image:
        radial-gradient(ellipse 55% 45% at 50% 24%, rgba(232, 209, 160, 0.10) 0%, rgba(232, 209, 160, 0) 70%),
        radial-gradient(ellipse 80% 70% at 50% 40%, #0F2347 0%, rgba(15, 35, 71, 0) 75%),
        linear-gradient(160deg, #0A1F45 0%, #071A3A 45%, #04122B 100%);
}

/* Subtle woven-fabric texture (pure CSS, very low contrast) */
.stage::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 4px),
        repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 4px);
}

/* Gentle vignette so the edges feel deeper */
.stage::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(2, 8, 22, 0.55) 100%);
}


/* --------------------------------------------------------------------------
   3. Gold corner curves
   -------------------------------------------------------------------------- */
.corner {
    position: absolute;
    z-index: 0;
    width: 30vw;
    max-width: 640px;
    height: auto;
    pointer-events: none;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.corner--tl {
    top: 0;
    left: 0;
}

.corner--br {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}


/* --------------------------------------------------------------------------
   4. Brand block (logo + divider)
   -------------------------------------------------------------------------- */
.brand,
.content {
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Original logo — width/height auto keeps the exact aspect ratio */
.brand__logo {
    width: auto;
    height: auto;
    max-height: 25vh;
    max-width: 62vw;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.2vh;
}

.divider__line {
    display: block;
    width: 14vh;
    height: 1px;
    background: linear-gradient(90deg, rgba(214, 162, 58, 0) 0%, #D6A23A 100%);
}

.divider__line:last-child {
    background: linear-gradient(90deg, #D6A23A 0%, rgba(214, 162, 58, 0) 100%);
}

/* Small four-point star, echoing the card */
.divider__star {
    display: block;
    width: 7px;
    height: 7px;
    margin: 0 12px;
    background: #D6A23A;
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(214, 162, 58, 0.5);
}


/* --------------------------------------------------------------------------
   5. Text
   -------------------------------------------------------------------------- */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.eyebrow {
    margin-top: 2.4vh;
    font-size: 1.35vh;
    font-weight: 600;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: #D6A23A;
    padding-left: 0.38em;          /* optically centre tracked text */
}

.headline {
    margin-top: 1.4vh;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 5.6vh;
    line-height: 1.12;
    letter-spacing: 0.01em;
    color: #FFFFFF;
}

.headline em {
    font-style: italic;
    color: #E8D1A0;
}

.lead {
    max-width: 88vh;
    margin-top: 1.8vh;
    font-size: 1.75vh;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.tagline {
    margin-top: 3.4vh;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic;
    font-size: 2.1vh;
    line-height: 1.4;
    color: #E8D1A0;
}


/* --------------------------------------------------------------------------
   6. Countdown
   -------------------------------------------------------------------------- */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 15vh);
    gap: 2vh;
    justify-content: center;
    margin-top: 3.6vh;
}

.unit {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 15vh;
    border: 1px solid rgba(214, 162, 58, 0.55);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(15, 35, 71, 0.75) 0%, rgba(7, 26, 58, 0.55) 100%);
    box-shadow:
        inset 0 1px 0 rgba(232, 209, 160, 0.12),
        0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Inner hairline frame for a refined, double-rule look */
.unit::before {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border: 1px solid rgba(232, 209, 160, 0.12);
    border-radius: 2px;
    pointer-events: none;
}

.unit__num {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 7vh;
    line-height: 1;
    color: #FFFFFF;
    font-variant-numeric: lining-nums tabular-nums;
}

.unit__label {
    margin-top: 1vh;
    font-size: 1.15vh;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #D6A23A;
    padding-left: 0.3em;
}

/* Message shown when the countdown reaches zero */
.launched {
    margin-top: 3.6vh;
    padding: 2.6vh 5vh;
    border-top: 1px solid rgba(214, 162, 58, 0.6);
    border-bottom: 1px solid rgba(214, 162, 58, 0.6);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 4.4vh;
    line-height: 1.2;
    color: #E8D1A0;
    animation: fadeUp 0.9s ease both;
}


/* --------------------------------------------------------------------------
   6b. Contact details
   -------------------------------------------------------------------------- */
.contact {
    margin-top: 2.6vh;
    padding-top: 2.2vh;
    border-top: 1px solid rgba(214, 162, 58, 0.3);
    font-style: normal;
    font-size: 1.55vh;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.contact__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.contact__list li {
    display: flex;
    align-items: center;
    margin: 0.3vh 1.4vh;
}

.contact__name {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 2vh;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FFFFFF;
}

.contact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact a:hover,
.contact a:focus-visible {
    color: #E8D1A0;
}

.contact a:focus-visible {
    outline: 1px solid #D6A23A;
    outline-offset: 3px;
}

.contact__icon {
    flex: 0 0 auto;
    width: 1.5vh;
    height: 1.5vh;
    margin-right: 0.7vh;
    fill: #D6A23A;
}

.contact__address {
    max-width: 130vh;
    margin: 0.6vh auto 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Pin icon sits inline so it stays beside the text when it wraps */
.contact__address .contact__icon {
    display: inline-block;
    vertical-align: -0.15em;
}


/* --------------------------------------------------------------------------
   7. Entrance animations (finish once; no layout shift — transform/opacity)
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cornerIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.reveal {
    animation: fadeUp 1s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.reveal--1 { animation-delay: 0.10s; }
.reveal--2 { animation-delay: 0.35s; }
.reveal--3 { animation-delay: 0.50s; }
.reveal--4 { animation-delay: 0.65s; }
.reveal--5 { animation-delay: 0.80s; }
.reveal--6 { animation-delay: 0.95s; }
.reveal--7 { animation-delay: 1.10s; }

.corner {
    animation: cornerIn 1.4s ease both;
}

/* Accessibility: no motion for users who ask for it */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .corner,
    .launched {
        animation: none !important;
    }
}


/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */

/* ---- Large desktop / 4K: cap growth so it stays refined ---------------- */
@media (min-width: 2200px) and (min-height: 1300px) {
    .divider__star {
        width: 10px;
        height: 10px;
        margin: 0 18px;
    }

    .unit {
        border-radius: 6px;
    }

    .unit::before {
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }
}

/* ---- Tablet portrait & narrow laptops ---------------------------------- */
@media (max-width: 991px) and (orientation: portrait) {
    .stage {
        padding: 4vh 6vw;
    }

    .corner {
        width: 46vw;
    }

    .brand__logo {
        max-height: 20vh;
        max-width: 66vw;
    }

    .divider__line {
        width: 12vw;
    }

    .eyebrow {
        font-size: 1.6vw;
    }

    .headline {
        font-size: 6.2vw;
    }

    .lead {
        max-width: 80vw;
        font-size: 2.3vw;
    }

    .countdown {
        grid-template-columns: repeat(4, 17vw);
        gap: 2.4vw;
    }

    .unit {
        height: 17vw;
    }

    .unit__num {
        font-size: 8vw;
    }

    .unit__label {
        font-size: 1.45vw;
    }

    .tagline {
        font-size: 2.7vw;
    }

    .launched {
        font-size: 5vw;
    }
}

/* ---- Mobile portrait: compact 2 × 2 countdown -------------------------- */
@media (max-width: 767px) and (orientation: portrait) {
    .stage {
        padding: 3vh 7vw;
    }

    .corner {
        width: 58vw;
    }

    .brand__logo {
        max-height: 18vh;
        max-width: 68vw;
    }

    .divider {
        margin-top: 1.6vh;
    }

    .divider__line {
        width: 16vw;
    }

    .divider__star {
        width: 6px;
        height: 6px;
        margin: 0 9px;
    }

    .eyebrow {
        margin-top: 1.8vh;
        font-size: 2.7vw;
        letter-spacing: 0.3em;
        padding-left: 0.3em;
    }

    .headline {
        margin-top: 1.1vh;
        font-size: 8.4vw;
        line-height: 1.08;
    }

    .headline em {
        display: block;
    }

    .lead {
        max-width: 100%;
        margin-top: 1.4vh;
        font-size: 3.5vw;
        line-height: 1.55;
    }

    .countdown {
        grid-template-columns: repeat(2, 31vw);
        gap: 2.6vw;
        margin-top: 2.4vh;
    }

    .unit {
        height: 9.4vh;
    }

    .unit::before {
        top: 4px;
        right: 4px;
        bottom: 4px;
        left: 4px;
    }

    .unit__num {
        font-size: 4.8vh;
    }

    .unit__label {
        margin-top: 0.5vh;
        font-size: 2.3vw;
        letter-spacing: 0.24em;
        padding-left: 0.24em;
    }

    .tagline {
        margin-top: 2.2vh;
        font-size: 3.9vw;
    }

    .launched {
        margin-top: 2.4vh;
        padding: 2vh 4vw;
        font-size: 7vw;
    }
}

/* ---- Small / short phones (e.g. iPhone SE, 320–360 px, ≤ 640 px tall) -- */
@media (max-width: 767px) and (orientation: portrait) and (max-height: 640px) {
    .stage {
        padding: 2.4vh 6vw;
    }

    .corner {
        width: 50vw;
    }

    .brand__logo {
        max-height: 15vh;
    }

    .divider {
        margin-top: 1.2vh;
    }

    .eyebrow {
        margin-top: 1.4vh;
        font-size: 2.5vw;
    }

    .headline {
        font-size: 7.6vw;
    }

    .lead {
        margin-top: 1.1vh;
        font-size: 3.3vw;
        line-height: 1.45;
    }

    .countdown {
        margin-top: 1.8vh;
        gap: 2vw;
    }

    .unit {
        height: 8.6vh;
    }

    .unit__num {
        font-size: 4.4vh;
    }

    .tagline {
        margin-top: 1.6vh;
        font-size: 3.6vw;
    }
}

/* ---- Landscape phones & very short screens: two-column composition ----- */
@media (orientation: landscape) and (max-height: 540px) {
    .stage {
        flex-direction: row;
        justify-content: center;
        padding: 4vh 5vw;
    }

    .corner {
        width: 26vw;
    }

    .brand {
        flex: 0 0 34%;
        padding-right: 4vw;
        border-right: 1px solid rgba(214, 162, 58, 0.25);
    }

    .brand__logo {
        max-height: 46vh;
        max-width: 100%;
    }

    .divider {
        margin-top: 3vh;
    }

    .divider__line {
        width: 7vw;
    }

    .content {
        flex: 0 1 60%;
        padding-left: 4vw;
    }

    .eyebrow {
        margin-top: 0;
        font-size: 2.5vh;
    }

    .headline {
        margin-top: 1.6vh;
        font-size: 7.6vh;
    }

    .headline em {
        display: block;
    }

    .lead {
        max-width: 100%;
        margin-top: 2vh;
        font-size: 3.1vh;
        line-height: 1.5;
    }

    .countdown {
        grid-template-columns: repeat(4, 19vh);
        gap: 2.6vh;
        margin-top: 3.4vh;
    }

    .unit {
        height: 18vh;
    }

    .unit::before {
        top: 4px;
        right: 4px;
        bottom: 4px;
        left: 4px;
    }

    .unit__num {
        font-size: 8.4vh;
    }

    .unit__label {
        margin-top: 0.6vh;
        font-size: 2vh;
    }

    .tagline {
        margin-top: 3vh;
        font-size: 3.3vh;
    }

    .launched {
        font-size: 6.4vh;
    }
}


/* ==========================================================================
   9. RESPONSIVE — contact details
   (also tightens a few spacings so the page still fits one screen)
   ========================================================================== */

/* Tablet portrait */
@media (max-width: 991px) and (orientation: portrait) {
    .contact {
        font-size: 2vw;
    }

    .contact__name {
        font-size: 2.5vw;
    }

    .contact__icon {
        width: 2vw;
        height: 2vw;
    }

    .contact__address {
        max-width: 80vw;
    }
}

/* Mobile portrait */
@media (max-width: 767px) and (orientation: portrait) {
    .stage {
        padding: 2.4vh 6vw;
    }

    .brand__logo {
        max-height: 13vh;
    }

    .divider {
        margin-top: 1.2vh;
    }

    .eyebrow {
        margin-top: 1.4vh;
    }

    .headline {
        font-size: 7.6vw;
    }

    .lead {
        margin-top: 1vh;
        font-size: 3.2vw;
        line-height: 1.45;
    }

    .countdown {
        margin-top: 1.8vh;
    }

    .unit {
        height: 7.6vh;
    }

    .unit__num {
        font-size: 3.8vh;
    }

    .tagline {
        margin-top: 1.6vh;
        font-size: 3.5vw;
    }

    .contact {
        margin-top: 1.6vh;
        padding-top: 1.4vh;
        font-size: 3vw;
        line-height: 1.4;
    }

    .contact__list li {
        margin: 0.2vh 1.8vw;
    }

    .contact__name {
        width: 100%;
        justify-content: center;
        font-size: 3.6vw;
    }

    .contact__icon {
        width: 3vw;
        height: 3vw;
        margin-right: 1.4vw;
    }

    .contact__address {
        margin-top: 0.4vh;
    }

}

/* Short phones */
@media (max-width: 767px) and (orientation: portrait) and (max-height: 640px) {
    .brand__logo {
        max-height: 11vh;
    }

    .headline {
        font-size: 7vw;
    }

    .lead {
        font-size: 3vw;
        line-height: 1.4;
    }

    .unit {
        height: 7.4vh;
    }

    .unit__num {
        font-size: 3.6vh;
    }

    .tagline {
        margin-top: 1.2vh;
        font-size: 3.3vw;
    }

    .contact {
        margin-top: 1.2vh;
        padding-top: 1vh;
        font-size: 2.8vw;
    }
}

/* Landscape phones / very short screens */
@media (orientation: landscape) and (max-height: 540px) {
    .brand__logo {
        max-height: 40vh;
    }

    .eyebrow {
        font-size: 2.2vh;
    }

    .headline {
        margin-top: 1vh;
        font-size: 6.6vh;
    }

    .lead {
        margin-top: 1.2vh;
        font-size: 2.8vh;
        line-height: 1.4;
    }

    .countdown {
        grid-template-columns: repeat(4, 15vh);
        gap: 2vh;
        margin-top: 2vh;
    }

    .unit {
        height: 13.5vh;
    }

    .unit__num {
        font-size: 6.4vh;
    }

    .unit__label {
        margin-top: 0.2vh;
        font-size: 1.7vh;
    }

    .tagline {
        margin-top: 1.8vh;
        font-size: 2.9vh;
    }

    .contact {
        margin-top: 1.6vh;
        padding-top: 1.4vh;
        font-size: 2.6vh;
        line-height: 1.35;
    }

    .contact__name {
        font-size: 3vh;
    }

    .contact__icon {
        width: 2.6vh;
        height: 2.6vh;
    }

    .contact__list li {
        margin: 0.2vh 1.4vh;
    }

    .contact__address {
        max-width: 100%;
    }
}
