/* =========================================================
   REBELS BIRYANI
   PAGE STRUCTURE
   V10.1
   ========================================================= */


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;

    height: var(--header-h);

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    padding: 0 var(--page);

    color: var(--ivory);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        height 0.25s ease;
}

.site-header.is-scrolled {
    height: 74px;

    background: rgba(7, 7, 7, 0.94);

    border-bottom:
        1px solid
        rgba(200, 149, 66, 0.26);

    backdrop-filter: blur(14px);
}


.header-side {
    display: flex;
    align-items: center;

    gap:
        clamp(22px, 3vw, 52px);
}

.header-side--right {
    justify-content: flex-end;
}


.header-side a {
    position: relative;

    padding: 10px 0;

    font-family: var(--display);
    font-size: 12px;

    letter-spacing: 0.13em;
    text-transform: uppercase;

    color:
        rgba(245, 241, 233, 0.92);
}

.header-side a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 1px;

    background: var(--gold-light);

    transform: translateX(-50%);

    transition:
        width 0.22s ease;
}

.header-side a:hover::after,
.header-side a:focus-visible::after {
    width: 100%;
}


/* =========================================================
   HEADER BRAND
   ========================================================= */

.brand {
    position: relative !important;
    inset: auto !important;
    z-index: 110;

    width: 70px !important;
    height: 70px !important;

    display: grid !important;
    place-items: center !important;

    align-self: center !important;
    justify-self: center !important;

    margin: 0 !important;

    overflow: visible !important;

    border-radius: 50%;

    transform: none !important;
}

.brand img {
    display: block !important;

    width: 66px !important;
    height: 66px !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;

    border-radius: 50%;

    clip-path: none !important;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;
}


/* Keep the centred logo visible and prevent clipping */

.site-header {
    overflow: visible !important;
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-button {
    display: none;

    padding: 10px;

    border: 0;

    background: transparent;
}

.menu-button span {
    display: block;

    width: 25px;
    height: 1px;

    margin: 6px 0;

    background: var(--ivory);
}

.mobile-menu {
    display: none;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 100svh;

    overflow: hidden;

    background: var(--black);

    color: var(--ivory);
}


.hero-video,
.hero-fallback,
.hero-shade {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


.hero-video {
    z-index: 1;

    object-fit: cover;

    opacity: 0;

    transition:
        opacity 0.6s ease;
}

.hero-video.is-ready {
    opacity: 1;
}


.hero-fallback {
    z-index: 0;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(200, 149, 66, 0.18),
            transparent 27%
        ),
        radial-gradient(
            circle at 78% 73%,
            rgba(181, 18, 27, 0.06),
            transparent 22%
        ),
        linear-gradient(
            115deg,
            #050505 0%,
            #0c0b0a 48%,
            #211812 100%
        );
}

.hero-fallback::after {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.012) 1px,
            transparent 1px
        );

    background-size: 64px 64px;
}


.hero-shade {
    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.50) 42%,
            rgba(0, 0, 0, 0.12) 76%,
            rgba(0, 0, 0, 0.22) 100%
        );
}


/* =========================================================
   HERO COPY
   ========================================================= */

.hero-copy {
    position: relative;

    z-index: 3;

    min-height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    padding:
        calc(var(--header-h) + 40px)
        var(--page)
        10vh;
}


.hero h1 {
    max-width: 1040px;

    margin:
        0
        0
        22px;

    font-family: var(--display);

    font-size:
        clamp(58px, 7.2vw, 122px);

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: 0.015em;

    text-transform: uppercase;
}


.hero-lede {
    max-width: 650px;

    margin:
        0
        0
        28px;

    color:
        rgba(245, 241, 233, 0.76);

    font-size:
        clamp(15px, 1.15vw, 18px);

    line-height: 1.65;
}


/* =========================================================
   PRIMARY CTA
   ========================================================= */

.primary-cta {
    min-height: 52px;

    display: inline-flex;
    align-items: center;

    padding:
        0
        24px;

    border:
        1px solid
        var(--gold);

    color: var(--ivory);

    font-family: var(--display);

    font-size: 12px;

    letter-spacing: 0.13em;

    text-transform: uppercase;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
    background: var(--gold);

    color: var(--black);
}


/* =========================================================
   HERO FOOT
   ========================================================= */

.hero-foot {
    position: absolute;

    z-index: 3;

    right: var(--page);
    bottom: 28px;

    display: flex;
    align-items: center;

    gap: 12px;

    color:
        rgba(245, 241, 233, 0.55);

    font-size: 10px;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.hero-foot i {
    display: block;

    width: 54px;
    height: 1px;

    background: var(--gold);
}


/* =========================================================
   OUR STORY / BRAND INTRO
   ========================================================= */

.brand-intro {
    scroll-margin-top: 74px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(0, 1.18fr);

    align-items: start;

    gap:
        clamp(44px, 8vw, 140px);

    padding:
        clamp(64px, 6vw, 92px)
        var(--page);

    background: var(--paper);
}


.brand-intro h2 {
    margin: 0;

    font-family: var(--display);

    font-size:
        clamp(44px, 5.5vw, 88px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: 0.02em;

    text-transform: uppercase;
}


.brand-intro-copy {
    max-width: 680px;
}

.brand-intro-copy .lead {
    margin-bottom: 24px;

    font-family: var(--display);

    font-size:
        clamp(24px, 2.25vw, 35px);

    line-height: 1.25;
}

.brand-intro-copy p:not(.lead) {
    max-width: 650px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.78;
}


/* =========================================================
   THE COLLECTION
   ========================================================= */

.collection {
    scroll-margin-top: 74px;

    padding:
        clamp(62px, 5.5vw, 88px)
        var(--page)
        clamp(100px, 9vw, 150px);

    background: var(--paper);
}


.collection-head {
    display: block;

    padding:
        0
        0
        30px;

    margin-bottom: 38px;

    border-bottom:
        1px solid
        var(--line-dark);
}

.collection-head .section-code {
    margin-bottom: 18px;
}

.collection-head h2 {
    max-width: 900px;

    margin: 0;

    font-family: var(--display);

    font-size:
        clamp(46px, 6vw, 94px);

    font-weight: 400;

    line-height: 0.94;

    text-transform: uppercase;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap:
        66px
        26px;
}

.product-card {
    grid-column:
        span 2;

    min-width: 0;
}

.product-card:nth-last-child(2) {
    grid-column:
        2 / span 2;
}

.product-card:last-child {
    grid-column:
        4 / span 2;
}


/* =========================================================
   PRODUCT COPY
   ========================================================= */

.product-copy {
    padding-top: 18px;
}

.product-topline {
    display: flex;

    align-items: baseline;

    justify-content:
        space-between;

    gap: 12px;
}


.product-number {
    color: var(--gold);

    font-family: var(--display);

    font-size: 15px;

    letter-spacing: 0.08em;
}


.product-name {
    margin: 0;

    font-family: var(--display);

    font-size:
        clamp(25px, 2.15vw, 36px);

    font-weight: 400;

    letter-spacing: 0.025em;

    text-transform: uppercase;
}


.product-tagline {
    margin:
        9px
        0
        10px;

    font-family: var(--display);

    font-size: 18px;

    line-height: 1.35;
}


.product-short {
    min-height: 4.8em;

    margin: 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


.text-link {
    margin-top: 18px;

    padding:
        0
        0
        5px;

    border: 0;

    border-bottom:
        1px solid
        var(--gold);

    background: transparent;

    cursor: pointer;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


/* =========================================================
   THE RB TABLE / FEAST
   ========================================================= */

.feast {
    position: relative;

    scroll-margin-top: 74px;

    height:
        calc(100dvh - 74px);

    min-height: 640px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background: var(--black);

    color: var(--ivory);
}


.feast-fallback,
.feast-video,
.feast-shade {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}


.feast-fallback {
    z-index: 0;

    background:
        radial-gradient(
            circle at 70% 44%,
            rgba(200, 149, 66, 0.22),
            transparent 28%
        ),
        linear-gradient(
            118deg,
            #050505 0%,
            #11100e 52%,
            #24190f 100%
        );
}


.feast-video {
    z-index: 1;

    object-fit: cover;

    opacity: 0;

    transition:
        opacity 0.6s ease;
}

.feast-video.is-ready {
    opacity: 1;
}


.feast-shade {
    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.88),
            rgba(0, 0, 0, 0.50) 48%,
            rgba(0, 0, 0, 0.20)
        );
}


.feast-copy {
    position: relative;

    z-index: 3;

    max-width: 980px;

    padding:
        clamp(72px, 8vw, 116px)
        var(--page);
}


.feast-copy h2 {
    margin:
        0
        0
        28px;

    font-family: var(--display);

    font-size:
        clamp(52px, 6.5vw, 104px);

    font-weight: 400;

    line-height: 0.92;

    text-transform: uppercase;
}


.feast-copy > p:not(.section-code):not(.feast-line) {
    max-width: 680px;

    color:
        rgba(245, 241, 233, 0.72);

    font-size: 16px;

    line-height: 1.78;
}


.feast-line {
    margin:
        24px
        0
        0;

    color: var(--gold-light);

    font-family: var(--display);

    font-size:
        clamp(22px, 2vw, 32px);

    line-height: 1.25;
}


/* =========================================================
   OCCASIONS / FIND
   ========================================================= */

.find {
    scroll-margin-top: 74px;

    min-height:
        calc(100dvh - 74px);

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    align-items: center;

    gap: 8vw;

    padding:
        clamp(82px, 7vw, 118px)
        var(--page);

    background: var(--ivory);
}


.find h2 {
    margin: 0;

    font-family: var(--display);

    font-size:
        clamp(56px, 7vw, 118px);

    font-weight: 400;

    line-height: 0.88;

    text-transform: uppercase;
}


.find-copy {
    align-self: end;
}


.find-copy p {
    max-width: 600px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


.find-copy a {
    display: inline-block;

    margin-top: 16px;

    padding-bottom: 5px;

    border-bottom:
        1px solid
        var(--gold);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    position: relative;

    overflow: hidden;

    padding:
        70px
        var(--page)
        34px;

    background: #050505;

    color: var(--ivory);
}


.footer-top {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: start;

    gap: 30px;
}


/* =========================================================
   FOOTER LEGAL LINKS
   ========================================================= */

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 26px;

    font-size: 11px;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* =========================================================
   COOKIE SETTINGS
   ========================================================= */

.footer-cookie-menu {
    position: relative;
}


.footer-settings {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--ivory);

    cursor: pointer;

    font-size: 11px;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.cookie-chevron {
    width: 7px;
    height: 7px;

    border-right:
        1px solid
        var(--gold-light);

    border-bottom:
        1px solid
        var(--gold-light);

    transform:
        rotate(45deg)
        translateY(-2px);

    transition:
        transform 0.18s ease;
}


.footer-settings[aria-expanded="true"] .cookie-chevron {
    transform:
        rotate(225deg)
        translate(-1px, -1px);
}


/* =========================================================
   FOOTER BRAND
   ========================================================= */

.footer-brand {
    width: 86px;
    height: 86px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 50%;
}


.footer-brand img {
    width: 82px;
    height: 82px;

    object-fit: cover;

    border-radius: 50%;

    clip-path: circle(50%);
}


/* =========================================================
   COMPACT COOKIE SETTINGS DROPDOWN
   ========================================================= */

.privacy-panel {
    position: absolute;

    z-index: 20;

    left: 0;

    top:
        calc(100% + 10px);

    width:
        min(210px, 72vw);

    display: grid;

    gap: 8px;

    padding:
        12px
        14px;

    background: #0a0a09;

    border:
        1px solid
        rgba(200, 149, 66, 0.30);

    box-shadow:
        0 14px 38px
        rgba(0, 0, 0, 0.34);

    letter-spacing: 0;

    text-transform: none;
}


.privacy-panel[hidden] {
    display: none;
}


.privacy-panel strong,
.privacy-panel span {
    display: block;
}


.privacy-panel strong {
    margin-bottom: 2px;

    font-family: var(--display);

    font-size: 11.5px;

    font-weight: 400;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}


.privacy-panel span {
    color:
        rgba(245, 241, 233, 0.58);

    font-size: 9.5px;

    line-height: 1.4;
}


/* =========================================================
   FOOTER CONTACT + SOCIAL MEDIA
   ========================================================= */

.footer-contact-groups {
    justify-self: end;

    display: flex;

    gap:
        clamp(28px, 3vw, 52px);

    text-align: left;
}


.footer-contact-group {
    min-width: max-content;

    display: grid;

    gap: 7px;
}


.footer-contact-title {
    margin:
        0
        0
        5px;

    color: var(--ivory);

    font-size: 11px;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


.footer-contact-group a {
    color:
        rgba(245, 241, 233, 0.68);

    font-size: 10.5px;

    line-height: 1.4;

    transition:
        color 0.18s ease;
}


.footer-contact-group a:hover,
.footer-contact-group a:focus-visible {
    color: var(--gold-light);
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    display: flex;

    justify-content:
        space-between;

    gap: 20px;

    margin-top: 52px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.10);

    color:
        rgba(245, 241, 233, 0.48);

    font-size: 10px;
}


/* =========================================================
   REBELS CURSOR GLOW
   ========================================================= */

.rebels-glow {
    position: relative;

    min-height:
        clamp(150px, 23vw, 360px);

    margin:
        68px
        calc(var(--page) * -1)
        -52px;

    user-select: none;

    pointer-events: auto;

    --gx: 50%;
    --gy: 50%;
}


.rebels-glow .base,
.rebels-glow .light {
    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    font-family: var(--display);

    font-size:
        clamp(116px, 23vw, 420px);

    line-height: 0.8;

    letter-spacing: 0.04em;

    text-transform: uppercase;

    white-space: nowrap;
}


.rebels-glow .base {
    color: transparent;

    -webkit-text-stroke:
        1px
        rgba(245, 241, 233, 0.16);
}


.rebels-glow .light {
    color: transparent;

    -webkit-text-stroke:
        1px
        transparent;

    background:
        radial-gradient(
            circle 180px
            at var(--gx) var(--gy),
            #fff8e9 0%,
            #ddb66d 24%,
            rgba(200, 149, 66, 0.35) 48%,
            transparent 72%
        );

    -webkit-background-clip: text;
    background-clip: text;

    filter:
        drop-shadow(
            0 0 18px
            rgba(221, 182, 109, 0.26)
        );

    opacity: 0.95;
}


/* =========================================================
   LEGAL PAGES
   ========================================================= */

.legal-hero {
    padding:
        calc(var(--header-h) + 90px)
        var(--page)
        70px;

    background: var(--black);

    color: var(--ivory);
}


.legal-hero h1 {
    margin: 0;

    font-family: var(--display);

    font-size:
        clamp(48px, 6vw, 92px);

    font-weight: 400;

    text-transform: uppercase;
}


.legal {
    max-width: 1000px;

    padding:
        70px
        var(--page)
        110px;
}


.legal h2 {
    margin-top: 46px;

    font-family: var(--display);

    font-size: 30px;

    font-weight: 400;

    text-transform: uppercase;
}


.legal p,
.legal li {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


.legal a {
    border-bottom:
        1px solid
        var(--gold);
}


/* =========================================================
   PRODUCT DIALOG SCROLL POSITION

   Controlled in:
   assets/js/site.js
   ========================================================= */

/* =========================================================
   404 PAGE
   ========================================================= */

.error-page {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.error-page-copy {
    max-width: 560px;

    margin-top: 24px;

    color:
        rgba(245, 241, 233, 0.68);

    font-size: 15px;

    line-height: 1.7;
}

.error-page-action {
    margin-top: 26px;
}

/* =========================================================
   V10.2 REQUESTED CONTENT / COMMERCE REFINEMENTS
   ========================================================= */
.hero-brand-name {
    margin-bottom: 14px;
    font-family: var(--display);
    font-size: clamp(18px, 1.55vw, 25px);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero-ready-line {
    margin: -10px 0 28px;
    color: var(--gold-light);
    font-family: var(--display);
    font-size: clamp(16px, 1.4vw, 21px);
    line-height: 1.4;
}
.brand-intro-copy p:not(.lead) {
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.75;
}
.collection-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
}
.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-card,
.product-card:nth-last-child(2),
.product-card:last-child {
    grid-column: auto;
}
.header-side a,
.header-nav-button {
    position: relative;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: rgba(245, 241, 233, 0.92);
    cursor: pointer;
    font-family: var(--display);
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.header-nav-button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 0;
    height: 1px;
    background: var(--gold-light);
    transform: translateX(-50%);
    transition: width 0.22s ease;
}
.header-nav-button:hover::after,
.header-nav-button:focus-visible::after { width:100%; }
.mobile-menu button {
    padding: 18px var(--page);
    border: 0;
    border-top: 1px solid rgba(255,255,255,.07);
    background: transparent;
    color: var(--ivory);
    cursor: pointer;
    text-align: left;
    font-family: var(--display);
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
