@import url('https://fonts.googleapis.com/css2?family=Arsenal:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --cream: #f8eee2;
    --ink: #2a2a31;
    --gold: #e3c07e;
    --gold-soft: rgba(227, 192, 126, 0.18);
    --panel: rgba(44, 30, 19, 0.24);
    --panel-border: rgba(255, 245, 230, 0.18);
    --shadow: 0 34px 80px rgba(37, 22, 12, 0.28);
    --poster-max: 640px; /* desktop poster width — matches the Gold Coins page */
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Arsenal", system-ui, sans-serif;
    color: #fff;
    min-height: 100svh;
    overflow-x: hidden;
    
}

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

/* ---------- POSTER LAYOUT ---------- */
.intro-poster {
    position: relative;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background:
        radial-gradient(circle at 20% 14%, rgba(255, 241, 217, 0.42), transparent 16%),
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.16), transparent 14%),
        linear-gradient(180deg, #cbb19a 0%, #c8ac8f 34%, #a16f48 100%);
}

.intro-poster::before,
.intro-poster::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(0.4px);
    z-index: 0;
}

.intro-poster::before {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(255, 228, 178, 0.24), transparent 68%);
}

.intro-poster::after {
    width: 260px;
    height: 260px;
    left: -120px;
    bottom: 220px;
    background: radial-gradient(circle, rgba(255, 248, 235, 0.18), transparent 68%);
}

/* ---------- HERO (image + overlay content) ---------- */
.intro-poster__hero {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.intro-poster__media,
.intro-poster__shade {
    position: absolute;
    inset: 0;
}

.intro-poster__media { z-index: 0; }

.intro-poster__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%; /* keeps face & necklace in frame */
    filter: saturate(0.95) contrast(1.03) brightness(0.98);
}

.intro-poster__shade {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(22, 10, 4, 0.04), rgba(22, 10, 4, 0.18) 50%, rgba(22, 10, 4, 0.5)),
        linear-gradient(90deg, rgba(58, 38, 24, 0.38) 0%, rgba(58, 38, 24, 0.14) 34%, rgba(58, 38, 24, 0.04) 62%, rgba(58, 38, 24, 0.18) 100%);
}

.intro-poster__media.is-fallback {
    background: linear-gradient(180deg, #5a3a22, #2a1a10);
}

/* ---------- OVERLAY CONTENT ---------- */
.intro-poster__content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 100%;
    padding: clamp(14px, 3vw, 26px) clamp(18px, 4vw, 30px) clamp(14px, 3vw, 22px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-shadow: 0 1px 16px rgba(26, 14, 7, 0.18);
}

.intro-poster__brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    align-self: flex-start;
    margin-top: 0;
    padding: 0;
}

.intro-poster__brand-mark {
    width: clamp(110px, 30vw, 160px);
    height: auto;
}

.intro-poster__tagline {
    margin: 6px 0 0;
    font-family: "Arsenal", "Poppins", system-ui, sans-serif;
    font-style: italic;
    font-size: clamp(11px, 2.6vw, 13px);
    max-width: 420px;
    color: rgba(255, 249, 242, 0.96);
    align-self: flex-start;
    text-align: left;
}

/* Headlines pushed DOWN — empty space above shows the model's face & jewellery */
.intro-poster__headline {
    margin-top: auto;
    margin-bottom: clamp(8px, 2vw, 14px);
    max-width: 820px;
    width: 100%;
}

.intro-poster__headline h1,
.intro-poster__headline h2,
.intro-poster__card-title,
.intro-poster__footer p,
.intro-poster__footer strong,
.intro-poster__footer small {
    margin: 0;
    font-family: "Arsenal", "Poppins", system-ui, sans-serif;
}

.intro-poster__headline h1 {
    font-size: clamp(28px, 7.5vw, 48px); /* Reduced min-size for mobile fit */
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    word-wrap: break-word;
}

.intro-poster__headline h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 18px);
    margin-top: 4px;
    font-size: clamp(30px, 8.5vw, 54px); /* Reduced min-size for mobile fit */
    line-height: 1.1;
    font-weight: 700;
    font-style: italic;
    color: #fff2dd;
}

.intro-poster__headline em { font-style: italic; }

.line {
    width: clamp(28px, 7vw, 80px);
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 247, 232, 0.1), rgba(255, 247, 232, 0.88), rgba(255, 247, 232, 0.1));
    flex: 0 0 auto;
}

/* Promises card */
.intro-poster__card {
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 22px 16px 18px;
    background: linear-gradient(180deg, rgb(144 125 111 / 75%), rgb(144 125 111 / 67%));
    border: 1px solid rgba(255, 246, 232, 0.16);
    border-top-color: rgba(255, 246, 232, 0.26);
    
    
    box-shadow: 0 24px 60px rgba(20, 12, 6, 0.35);
    align-self: center;
}

.intro-poster__card-title {
    text-align: center;
    color: rgba(255, 248, 234, 0.9);
    font-size: clamp(13px, 3vw, 16px);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-indent: 0.32em;  /* visually re-centre after letter-spacing */
    margin-bottom: 18px;
    text-transform: uppercase;
}

.intro-poster__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    
    border-radius: 12px; /* Slight rounding for the inner table */
    overflow: hidden;
}

.promise {
    position: relative;
    min-height: 100px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease var(--delay, 0ms), transform 0.5s ease var(--delay, 0ms);
}

.promise.is-visible,
body:not(.is-ready) .promise { opacity: 1; transform: translateY(0); }
.promise.is-visible { opacity: 1; transform: translateY(0); }
.promise:nth-child(4n)::after {
    display: none;
}
.promise:nth-child(4n) { border-right: 0; }
.promise:nth-last-child(-n+4) { border-bottom: 0; }

.promise__icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: rgba(255, 250, 240, 0.95);
}

.promise__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promise__icon svg text {
    fill: currentColor;
    stroke: none;
}

.promise p {
    color: white;
   font-size: clamp(10px, 2.2vw, 13px);  /*Smaller font for mobile*/
    margin-top: 8px;
    line-height: 1.2;
}

/* ---------- FOOTER (cream band — MUST be sibling of .intro-poster__hero) ---------- */
.intro-poster__footer {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 0 0 auto;
    padding: clamp(18px, 4vw, 24px) clamp(16px, 4vw, 28px) clamp(20px, 4vw, 26px);
    text-align: center;
    color: var(--ink);
    border-top: 1px solid rgba(88, 58, 38, 0.08);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 246, 230, 0.6), transparent 60%),
        linear-gradient(180deg, #e8d2b9 0%, #d8b89b 100%);
}

.intro-poster__footer p {
    font-size: clamp(13px, 3vw, 15px);
    font-style: italic;
    line-height: 1.15;
    color: #3b2b1d;
}

.intro-poster__footer strong {
    display: block;
    margin-top: 2px;
    font-size: clamp(14px, 3.4vw, 17px);
    font-weight: 700;
    line-height: 1.1;
    color: #24306b;
}

.intro-poster__footer small {
    display: block;
    margin-top: 10px;
    font-size: clamp(11px, 2.6vw, 12.5px);
    font-style: italic;
    color: rgba(37, 48, 108, 0.96);
}

.promise::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%; /* Space from top */
    height: 60%; /* Divider height - adjustment here changes length */
    width: 1px;
    background: #fff;
    
}
.intro-poster__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #24306b, #1f2758);
    color: #fff8ef;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(11px, 2.6vw, 13px);
    letter-spacing: 0.04em;
    box-shadow: 0 16px 30px rgba(36, 48, 107, 0.2);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.intro-poster__cta:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* ---------- JS state helpers ---------- */
.is-hidden { display: none !important; }

/* ---------- DESKTOP / WIDE SCREENS — centered poster, dark gallery backdrop ---------- */
@media (min-width: 761px) {
    body {
        display: flex;
        justify-content: center;
        align-items: stretch;
        min-height: 100svh;
        /* Dark backdrop like the Gold Coins page */
       
    }

    .intro-poster {
        width: 100%;
        max-width: var(--poster-max);
        min-height: 100svh;
        box-shadow: 0 40px 140px rgba(0, 0, 0, 0.55);
    }

    .intro-poster__brand-mark { width: 140px; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 760px) {

    .promise p {
        color: white;
        font-size: 8px;
        margin-top: 8px;
        line-height: 1.2;
    }
    .intro-poster__content { padding: 12px 14px 16px; }

    .intro-poster__image { object-position: center 15%; }

    .intro-poster__brand-mark { width: clamp(96px, 28vw, 130px); }

    .intro-poster__tagline { font-size: 11px; max-width: 260px; }

    .line { width: 28px; }

    .intro-poster__headline h1 {
        font-size: clamp(26px, 7vw, 48px);
        line-height: 1.1;
        margin-bottom: 4px;
    }

    .intro-poster__headline h2 {
        font-size: clamp(28px, 8vw, 54px); /* Smaller start for mobile */
        gap: 10px;
    }

    .intro-poster__card { padding: 16px 12px 12px; }

    .intro-poster__card-title {
        font-size: 12px;
        letter-spacing: 0.28em;
        margin-bottom: 12px;
    }

    .intro-poster__grid {
        grid-template-columns: repeat(4, 1fr); /* 4 Columns as requested */
    }
    .promise::after { display: block; }
    .promise { min-height: 70px; padding: 12px 8px; gap: 8px; }
    .promise__icon { width: 30px; height: 30px; }
    .promise:nth-child(4n) { border-right: 1px solid rgba(255, 247, 239, 0.22); }    
    /* .promise:nth-last-child(-n+4) { border-bottom: 1px solid rgba(255, 247, 239, 0.14); } */
    .promise:nth-child(2n) { border-right: 0; }
    .promise:nth-last-child(-n+2) { border-bottom: 0; }
    
    .intro-poster__footer { padding: 16px 14px 18px; }
    .intro-poster__headline {
        padding: 0 10px;
    }
    /* Hide divider on every 3rd item (Mobile) */
    /* .promise:nth-child(3n)::after {
        display: none;
    } */

    /* Since you have 8 items, the last 2 will be in Row 3. 
       If you strictly want only 2 rows, you may need to hide the last 2 items 
       or adjust the content. */
    .promise:nth-child(n+7) {
        /* Optional: hide items beyond 2 rows if your content allows */
        /* display: none; */ 
    }
}