@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Montserrat:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

.moedim-book {
    --moedim-ink: #211311;
    --moedim-wine: #3f1111;
    --moedim-red: #8e271a;
    --moedim-ember: #b14f28;
    --moedim-gold: #c59a57;
    --moedim-sand: #d7b983;
    --moedim-cream: #f1e6cf;
    color: var(--moedim-ink);
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    overflow: hidden;
}

.moedim-book *, .moedim-book *::before, .moedim-book *::after { box-sizing: border-box; }
.moedim-book h1, .moedim-book h2, .moedim-book h3, .moedim-book p { margin-top: 0; }
.moedim-book h1, .moedim-book h2, .moedim-book h3 { font-family: 'Oswald', 'Arial Narrow', sans-serif; }
.moedim-book__hero { min-height: 720px; position: relative; display: flex; align-items: center; padding: 90px 0 70px; color: #fff; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.68' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E"), linear-gradient(145deg, rgba(177,79,40,.26), transparent 48%), linear-gradient(120deg, #180e0d 0%, #3f1111 50%, #7d291b 100%); background-blend-mode: soft-light, screen, normal; }
.moedim-book__hero-hourglass { --parallax-y: 0px; position: absolute; z-index: 0; top: 50%; left: 5%; width: min(74vw, 820px); opacity: .3; pointer-events: none; transform: translate3d(-50%, calc(-50% + var(--parallax-y)), 0); will-change: transform; }
.moedim-book__hero-hourglass img { display: block; width: 100%; height: auto; filter: sepia(.18) saturate(1.12) contrast(1.05) brightness(.9) drop-shadow(0 26px 28px rgba(0, 0, 0, .35)); animation: moedim-hourglass-float 8s ease-in-out infinite; }
@keyframes moedim-hourglass-float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-13px); } }
.moedim-book__hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.moedim-book__hero-copy { max-width: 650px; }
.moedim-book__eyebrow { display: inline-block; margin-bottom: 17px; color: var(--moedim-sand); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.moedim-book__eyebrow--dark { color: var(--moedim-red); }
.moedim-book h1 { margin-bottom: 24px; color: #e0c18b; font-family: 'Caveat Brush', cursive; font-size: clamp(5.5rem, 10vw, 9.5rem); font-weight: 400; line-height: .65; letter-spacing: -.04em; text-shadow: 0 3px 18px rgba(0, 0, 0, .42); }
.moedim-book h1 span { display: block; margin-top: 30px; color: var(--moedim-sand); font-family: 'Oswald', 'Arial Narrow', sans-serif; font-size: .2em; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.moedim-book__hero-copy p { max-width: 570px; margin-bottom: 32px; color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.8; }
.moedim-book__button { display: inline-flex; align-items: center; gap: 11px; padding: 16px 26px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; transition: transform .25s ease, background .25s ease, color .25s ease; }
.moedim-book__button:hover { transform: translateY(-3px); text-decoration: none; }
.moedim-book__button--gold { background: linear-gradient(135deg, #b14f28, #d1a35e); color: var(--moedim-ink); }
.moedim-book__button--gold:hover { background: linear-gradient(135deg, #d16431, #e1bd7c); color: var(--moedim-ink); }
.moedim-book__hero-cover { position: relative; display: flex; justify-content: center; }
.moedim-book__hero-cover img { position: relative; z-index: 1; width: min(100%, 390px); filter: drop-shadow(25px 30px 24px rgba(0, 0, 0, .45)); transform: rotate(4deg); }
.moedim-book__revelation { padding: 125px 0; background: radial-gradient(circle at 10% 10%, rgba(215,185,131,.32), transparent 24%), linear-gradient(115deg, #f5ead4, var(--moedim-cream)); }
.moedim-book__two-columns { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.moedim-book h2 { margin-bottom: 24px; color: var(--moedim-wine); font-size: clamp(2.75rem, 4vw, 4.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
.moedim-book__prose { border-left: 1px solid #c99d62; padding-left: 42px; }
.moedim-book__prose p, .moedim-book__instrument-copy p { margin-bottom: 20px; font-size: 16px; line-height: 1.9; }
.moedim-book__discover { padding: 115px 0; background: radial-gradient(ellipse at 90% 5%, rgba(177,79,40,.46), transparent 28%), linear-gradient(118deg, #21100f, var(--moedim-wine) 56%, #742518); color: #fff; }
.moedim-book__center-heading { max-width: 600px; margin: 0 auto 58px; text-align: center; }
.moedim-book__center-heading h2 { color: #fff; }
.moedim-book__discover-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(215, 185, 131, .4); border-left: 1px solid rgba(215, 185, 131, .4); }
.moedim-book__discovery { position: relative; min-height: 265px; padding: 32px 27px; border-right: 1px solid rgba(215, 185, 131, .4); border-bottom: 1px solid rgba(215, 185, 131, .4); }
.moedim-book__discovery-number { position: absolute; top: 22px; right: 23px; color: rgba(215, 185, 131, .58); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.moedim-book__discovery > i { margin: 18px 0 30px; color: var(--moedim-sand); font-size: 27px; }
.moedim-book__discovery h3 { margin-bottom: 10px; color: #fff; font-size: 29px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; }
.moedim-book__discovery p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.75; }
.moedim-book__instrument { padding: 120px 0; background: radial-gradient(circle at 13% 50%, rgba(177,79,40,.2), transparent 25%), linear-gradient(90deg, #d4b37c 0%, #f1e6cf 48%, #f8f0df 100%); }
.moedim-book__instrument-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 110px; }
.moedim-book__instrument-cover { position: relative; text-align: center; }
.moedim-book__instrument-cover::before { content: ''; position: absolute; top: 8%; left: 16%; width: 68%; aspect-ratio: 1; border-radius: 50%; background: var(--moedim-ember); opacity: .32; }
.moedim-book__instrument-cover img { position: relative; width: min(100%, 310px); filter: drop-shadow(19px 24px 18px rgba(58, 33, 20, .35)); transform: rotate(-5deg); }
.moedim-book__instrument-copy h2 { max-width: 700px; }
.moedim-book__instrument-copy p { max-width: 670px; }
.moedim-book__cta { position: relative; padding: 120px 0; color: #fff; text-align: center; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E"), radial-gradient(ellipse at 50% 0, rgba(197,154,87,.43), transparent 30%), linear-gradient(135deg, #1d0d0d, #57170f 60%, #9b3b20); background-blend-mode: soft-light, screen, normal; overflow: hidden; }
.moedim-book__cta::before, .moedim-book__cta::after { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(215, 185, 131, .3); border-radius: 50%; }
.moedim-book__cta::before { top: -340px; left: -100px; }
.moedim-book__cta::after { right: -120px; bottom: -370px; }
.moedim-book__cta-orbit { position: absolute; top: 50%; left: 50%; width: 650px; height: 650px; border: 1px solid rgba(246, 211, 144, .11); border-radius: 50%; transform: translate(-50%, -50%); }
.moedim-book__cta-content { position: relative; z-index: 1; max-width: 760px; }
.moedim-book__cta h2 { color: #fff; }
.moedim-book__cta p { margin: 0 auto 15px; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.8; }
.moedim-book__cta .moedim-book__cta-signature { margin-bottom: 34px; color: var(--moedim-sand); font-family: 'Caveat Brush', cursive; font-size: 31px; font-style: normal; }
.moedim-book__button--light { background: #f4e3c2; color: var(--moedim-wine); }
.moedim-book__button--light:hover { background: #d7b983; color: var(--moedim-wine); }

@media (max-width: 991px) {
    .moedim-book__hero { min-height: auto; padding: 105px 0 75px; }
    .moedim-book__hero-content, .moedim-book__two-columns, .moedim-book__instrument-layout { grid-template-columns: 1fr; gap: 55px; }
    .moedim-book__hero-copy { text-align: center; margin: auto; }
    .moedim-book__hero-copy p { margin-right: auto; margin-left: auto; }
    .moedim-book__hero-cover { order: -1; }
    .moedim-book__hero-cover img { width: 280px; }
    .moedim-book__hero-hourglass { left: 8%; width: min(92vw, 720px); opacity: .22; }
    .moedim-book__prose { padding-left: 28px; }
    .moedim-book__discover-grid { grid-template-columns: repeat(2, 1fr); }
    .moedim-book__instrument-cover { max-width: 330px; margin: auto; }
}

@media (max-width: 575px) {
    .moedim-book__hero { padding: 80px 0 55px; }
    .moedim-book h1 { font-size: 5rem; }
    .moedim-book h2 { font-size: 2.85rem; }
    .moedim-book__hero-copy p, .moedim-book__cta p { font-size: 15px; }
    .moedim-book__revelation, .moedim-book__discover, .moedim-book__instrument, .moedim-book__cta { padding: 78px 0; }
    .moedim-book__two-columns { gap: 38px; }
    .moedim-book__prose { padding-left: 20px; }
    .moedim-book__prose p, .moedim-book__instrument-copy p { font-size: 14px; }
    .moedim-book__discover-grid { grid-template-columns: 1fr; }
    .moedim-book__discovery { min-height: auto; }
    .moedim-book__instrument-layout { gap: 48px; }
    .moedim-book__button { width: 100%; justify-content: center; }
    .moedim-book__hero-hourglass { left: 6%; width: 680px; opacity: .15; }
}

@media (prefers-reduced-motion: reduce) {
    .moedim-book__hero-hourglass img { animation: none; }
}
