
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://rfltest.singaporecancersociety.org.sg/wp-content/themes/rfl/assets/fonts/dm-sans-400.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://rfltest.singaporecancersociety.org.sg/wp-content/themes/rfl/assets/fonts/dm-sans-600.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("https://rfltest.singaporecancersociety.org.sg/wp-content/themes/rfl/assets/fonts/dm-sans-700.ttf") format("truetype"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url("https://rfltest.singaporecancersociety.org.sg/wp-content/themes/rfl/assets/fonts/barlow-condensed-700.ttf") format("truetype"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 800; font-display: swap; src: url("https://rfltest.singaporecancersociety.org.sg/wp-content/themes/rfl/assets/fonts/barlow-condensed-800.ttf") format("truetype"); }
.rfl-copy { --purple: #5f249f; --teal: #009c9d; --deep: #3a1568; --ink: #251938; --yellow: #5f249f; --paper: #ffffff; --line: #e7e2ed; --muted: #71697e; --lavender: #f1ebf9; --green: #27714e; --radius: 18px; }
.rfl-copy * { box-sizing: border-box; }
.rfl-copy { margin: 0px; color: var(--ink); background: var(--paper); font: 17px / 1.65 "Open Sans", Arial, sans-serif; }
.rfl-copy button, .rfl-copy input, .rfl-copy textarea { font: inherit; }
.rfl-copy button, .rfl-copy input, .rfl-copy textarea { -webkit-tap-highlight-color: transparent; }
.rfl-copy button { cursor: pointer; }
.rfl-copy button:focus-visible, .rfl-copy input:focus-visible, .rfl-copy textarea:focus-visible { outline: rgb(95, 36, 159) solid 3px; outline-offset: 4px; }
.rfl-copy h1, .rfl-copy h2, .rfl-copy p { margin: 0px; }
.rfl-copy h1, .rfl-copy h2 { font-family: Poppins, "Arial Narrow", Impact, sans-serif; line-height: 0.99; letter-spacing: -0.02em; font-weight: 700; }
.rfl-copy h1 { font-size: clamp(3.4rem, 6.7vw, 6.6rem); text-transform: uppercase; }
.rfl-copy h2 { font-size: clamp(2.5rem, 4vw, 3.7rem); text-transform: uppercase; }
.rfl-copy p + p { margin-top: 16px; }
.rfl-copy .wrap { width: min(1240px, 100% - 96px); margin: auto; }
.rfl-copy .eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; display: block; margin-bottom: 17px; }
.rfl-copy .muted { color: var(--muted); }
.rfl-copy .small { font-size: 15px; }
.rfl-copy .btn { border: 1px solid transparent; border-radius: 7px; padding: 14px 24px; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 15px; line-height: 1.4; background: var(--purple); color: rgb(255, 255, 255); transition: background 0.2s, transform 0.2s; }
.rfl-copy .btn:hover { background: rgb(93, 70, 154); transform: translateY(-1px); }
.rfl-copy .btn.wide { width: 100%; }
.rfl-copy .intro { padding: 48px 0px 38px; }
.rfl-copy .intro h1 { font-size: clamp(3.2rem, 5vw, 4.8rem); }
.rfl-copy .intro p { max-width: 670px; margin-top: 18px; color: var(--muted); }
.rfl-copy .intro[style*="center"] p { margin-left: auto; margin-right: auto; }
.rfl-copy .field { display: grid; gap: 7px; font-size: 15px; font-weight: 600; }
.rfl-copy input:not([type="checkbox"]):not([type="radio"]), .rfl-copy textarea { width: 100%; border: 1px solid rgb(216, 210, 226); padding: 12px 14px; border-radius: 7px; background: rgb(255, 255, 255); color: var(--ink); font-size: 15px; }
.rfl-copy textarea { min-height: 110px; resize: vertical; }
.rfl-copy.night { background: rgb(24, 14, 43); color: white; }
.rfl-copy.night .intro p { color: rgb(191, 176, 211); }
.rfl-copy.night .eyebrow { color: var(--yellow); }
.rfl-copy.night .intro { text-align: center; padding: 58px 0px 30px; }
.rfl-copy.night .intro p { margin: 20px auto 0px; }
.rfl-copy.night .intro h1 { font-size: 78px; }
.rfl-copy.night input { background: rgb(40, 26, 60) !important; border-color: rgb(74, 54, 95) !important; color: white !important; }
.rfl-copy .dedications { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 20px 25px 65px; }
.rfl-copy .dedication { --ded-text: #fff; --ded-muted: #dcd2f5; text-align: center; padding: 30px 26px; border: 0px; border-radius: 12px; background-color: rgb(11, 5, 32); background-position: center bottom; background-size: 100% auto; background-repeat: no-repeat; color: var(--ded-text); box-shadow: none; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-start; position: relative; overflow: hidden; }
.rfl-copy .dedication:nth-child(6n+1) { background-image: url("https://rfltest.singaporecancersociety.org.sg/wp-content/uploads/rfl-site-assets/images/luminaria-bg-cosmic-058ef16104.webp"); }
.rfl-copy .dedication:nth-child(6n+2) { background-image: url("https://rfltest.singaporecancersociety.org.sg/wp-content/uploads/rfl-site-assets/images/luminaria-bg-dreamy-3ea8623640.webp"); --ded-text: #3a1568; --ded-muted: #5a3d8f; background-color: rgb(253, 247, 242); }
.rfl-copy .dedication:nth-child(6n+3) { background-image: url("https://rfltest.singaporecancersociety.org.sg/wp-content/uploads/rfl-site-assets/images/luminaria-bg-luminous-2b3e81a95c.webp"); --ded-text: #3a1568; --ded-muted: #5a3d8f; background-color: rgb(253, 248, 239); }
.rfl-copy .dedication:nth-child(6n+4) { background-image: url("https://rfltest.singaporecancersociety.org.sg/wp-content/uploads/rfl-site-assets/images/luminaria-bg-starry-9f80625ed1.webp"); }
.rfl-copy .dedication:nth-child(6n+5) { background-image: url("https://rfltest.singaporecancersociety.org.sg/wp-content/uploads/rfl-site-assets/images/luminaria-bg-cosmic-058ef16104.webp"); }
.rfl-copy .dedication:nth-child(6n+6) { background-image: url("https://rfltest.singaporecancersociety.org.sg/wp-content/uploads/rfl-site-assets/images/luminaria-bg-dreamy-3ea8623640.webp"); --ded-text: #3a1568; --ded-muted: #5a3d8f; background-color: rgb(253, 247, 242); }
.rfl-copy .dedication blockquote::before { content: none; }
.rfl-copy .dedication::before { content: none; }
.rfl-copy .dedication::after { content: none; }
.rfl-copy .dedication:nth-child(2n)::before, .rfl-copy .dedication:nth-child(2n)::after { color: rgb(214, 200, 245); }
.rfl-copy .dedication blockquote { color: var(--ded-text); font-size: 18px; line-height: 1.6; margin: 16px 0px; font-weight: 400; }
.rfl-copy .dedication small { text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; font-weight: 500; color: var(--ded-muted); }
.rfl-copy .dedication blockquote { font-family: Georgia, serif; font-size: 20px; line-height: 1.6; margin: 20px 0px; }
.rfl-copy .dedication small { text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; font-weight: 500; color: var(--ded-muted); }
.rfl-copy .dedication b { font-size: 19px; font-weight: 600; color: var(--ded-text); }
.rfl-copy dialog { max-width: 600px; width: calc(100% - 40px); border: 0px; border-radius: 18px; padding: 34px; color: var(--ink); box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 100px; }
.rfl-copy dialog::backdrop { background: rgba(24, 14, 43, 0.8); }
.rfl-copy dialog h2 { font-size: 38px; margin-bottom: 20px; }
.rfl-copy .close-modal { float: right; border: 0px; background: var(--lavender); color: var(--purple); border-radius: 50%; width: 30px; height: 30px; }
.rfl-copy [hidden] { display: none !important; }
@media (max-width: 1100px){
.rfl-copy .wrap { width: calc(100% - 56px); }
}
@media (max-width: 900px){
.rfl-copy .dedications { gap: 18px; padding: 20px 0px 50px; }
.rfl-copy .dedication { padding: 25px 20px; }
}
@media (max-width: 620px){
.rfl-copy .wrap { width: calc(100% - 36px); }
.rfl-copy .dedications { grid-template-columns: 1fr; }
.rfl-copy .intro { padding: 32px 0px; }
.rfl-copy.night .intro h1 { font-size: 60px; }
.rfl-copy .dedications { padding: 0px 28px 50px; }
}
@media (prefers-reduced-motion: reduce){
.rfl-copy .btn { transition: none; }
.rfl-copy .btn:hover { transform: none; }
}
.rfl-copy .inner-reveal { opacity: 0; transform: translateY(18px); transition: opacity .4s ease var(--inner-delay,0ms),transform .4s ease var(--inner-delay,0ms); }
@media (prefers-reduced-motion: no-preference){
.rfl-copy dialog[open] { animation: 0.16s ease-out 0s 1 normal none running dialog-enter; }
}
@media (max-width: 620px){
.rfl-copy .inner-reveal { transform: translateY(10px); transition-duration: 0.25s; transition-delay: 0ms; }
}
@media (prefers-reduced-motion: reduce){
.rfl-copy .inner-reveal { opacity: 1; transform: none; transition: none; }
}
@media print{
.rfl-copy .inner-reveal { opacity: 1; transform: none; transition: none; }
}
.rfl-copy .intent-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border: 0px; padding: 0px; margin: 0px 0px 16px; }
.rfl-copy .intent-picker legend { font-weight: 700; margin-bottom: 10px; padding: 0px; }
.rfl-copy .intent { position: relative; display: block; cursor: pointer; border-radius: 10px; overflow: hidden; border: 2px solid transparent; }
.rfl-copy .intent img { width: 100%; height: 150px; object-fit: cover; object-position: center top; display: block; }
.rfl-copy .intent span { display: block; text-align: center; font-size: 12px; font-weight: 700; padding: 6px 2px; background: rgb(244, 238, 251); color: rgb(75, 46, 131); }
.rfl-copy .intent input { position: absolute; opacity: 0; pointer-events: none; }
.rfl-copy .intent:has(input:checked) { border-color: rgb(95, 36, 159); box-shadow: rgba(95, 36, 159, 0.2) 0px 0px 0px 2px; }
.rfl-copy .intent:has(input:checked) span { background: rgb(95, 36, 159); color: rgb(255, 255, 255); }
.rfl-copy .dedication-card { background: rgb(28, 16, 51); padding: 0px; min-height: 0px; }
.rfl-copy .dedication-card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; display: block; }
.rfl-copy .dedication-note { position: absolute; top: 20%; left: 9%; right: 9%; height: 30%; display: flex; flex-direction: column; justify-content: center; text-align: center; color: rgb(61, 35, 102); padding: 8px; overflow: hidden; }
.rfl-copy .dedication-note small { font-size: 10px; letter-spacing: 0.14em; color: rgb(106, 74, 158); }
.rfl-copy .dedication-note b { font-size: 17px; color: rgb(42, 23, 71); }
.rfl-copy .dedication-note blockquote { font-size: 12.5px; line-height: 1.5; margin: 6px 0px; color: rgb(61, 35, 102); font-style: normal; }
@media (max-width: 900px){
.rfl-copy .dedications { grid-template-columns: 1fr 1fr; }
.rfl-copy .intent-picker { grid-template-columns: 1fr 1fr; }
.rfl-copy .intent img { height: 180px; }
}
@media (max-width: 560px){
.rfl-copy .dedications { grid-template-columns: 1fr; }
}
.rfl-copy .dedication.dedication-card { background-image: none; }
.rfl-copy.dawn { background: linear-gradient(rgb(239, 231, 247) 0%, rgb(247, 236, 243) 26%, rgb(253, 243, 232) 52%, rgb(253, 238, 218) 78%, rgb(246, 227, 211) 100%); color: var(--ink); }
.rfl-copy.dawn.night { background: linear-gradient(rgb(239, 231, 247) 0%, rgb(247, 236, 243) 26%, rgb(253, 243, 232) 52%, rgb(253, 238, 218) 78%, rgb(246, 227, 211) 100%); }
.rfl-copy.dawn .intro h1 { color: rgb(58, 21, 104); }
.rfl-copy.dawn .intro p { color: rgb(106, 74, 142); }
.rfl-copy.dawn .eyebrow { color: rgb(0, 156, 157); }
.rfl-copy.dawn .dedication-card { box-shadow: rgba(95, 36, 159, 0.133) 0px 18px 45px; }

#main.site-main:has(.rfl-copy) { width:100%;max-width:none;margin:0;padding:0; }
#main:has(.rfl-copy) > article,#main:has(.rfl-copy) .entry-content { width:100%;max-width:none;margin:0;padding:0; }
#main:has(.rfl-copy) > article > .entry-header { display:none; }
.rfl-copy { overflow:clip; }
.rfl-copy .rfl-copy-note { font-size:.875rem;text-align:center;color:var(--muted); }
.rfl-copy > .rfl-copy-note { margin:0;padding:20px 24px; }
.rfl-copy .rfl-copy-sr { position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.rfl-copy img { height:auto; }
.rfl-copy .rfl-dedication-preview { margin:16px 0;padding:12px;border-radius:8px;background:var(--lavender);color:var(--ink);white-space:pre-line; }
.rfl-copy #dedication-form .rfl-copy-note { margin-top:12px; }
@media (max-width:620px){ .rfl-copy.night .intro h1 { font-size:clamp(2rem,8vw,3.5rem); } }


/* Dedication artwork stays visible behind the message; no global blockquote box. */
.rfl-copy .dedication-card .dedication-note blockquote{padding:0;border:0;background:transparent;}

/* Keep complete messages readable on the narrowest phone screens. */
@media(max-width:360px){.rfl-copy .dedications{padding-inline:0}.rfl-copy .dedication-card .dedication-note{padding:6px}}

/* Local Luminaria petals, leaves and sparkles matching the reference motion. */
.rfl-lum-drift{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:60}
.rfl-lum-drift span{position:absolute;top:-24px;width:11px;height:14px;opacity:0;animation:rfl-lum-fall 12s linear infinite}
.rfl-lum-drift span:nth-child(3n+1){background:#f4a3c0;border-radius:70% 12% 70% 12%}
.rfl-lum-drift span:nth-child(3n+2){background:#a58bd4;border-radius:12% 70% 12% 70%}
.rfl-lum-drift span:nth-child(3n){background:#ffd98a;border-radius:50%;width:9px;height:9px;box-shadow:0 0 8px #ffd98a}
.rfl-lum-drift span:nth-child(1){left:4%;animation-delay:0s;animation-duration:13s}
.rfl-lum-drift span:nth-child(2){left:12%;animation-delay:2.5s;animation-duration:15s}
.rfl-lum-drift span:nth-child(3){left:20%;animation-delay:5s;animation-duration:11s}
.rfl-lum-drift span:nth-child(4){left:28%;animation-delay:1s;animation-duration:14s}
.rfl-lum-drift span:nth-child(5){left:36%;animation-delay:7s;animation-duration:12s}
.rfl-lum-drift span:nth-child(6){left:44%;animation-delay:3.5s;animation-duration:16s}
.rfl-lum-drift span:nth-child(7){left:52%;animation-delay:8.5s;animation-duration:12.5s}
.rfl-lum-drift span:nth-child(8){left:60%;animation-delay:1.8s;animation-duration:14.5s}
.rfl-lum-drift span:nth-child(9){left:68%;animation-delay:6s;animation-duration:11.5s}
.rfl-lum-drift span:nth-child(10){left:76%;animation-delay:4.2s;animation-duration:15.5s}
.rfl-lum-drift span:nth-child(11){left:84%;animation-delay:9.5s;animation-duration:12s}
.rfl-lum-drift span:nth-child(12){left:91%;animation-delay:.7s;animation-duration:13.5s}
.rfl-lum-drift span:nth-child(13){left:48%;animation-delay:10.5s;animation-duration:14s}
.rfl-lum-drift span:nth-child(14){left:8%;animation-delay:11.5s;animation-duration:12.8s}
@keyframes rfl-lum-fall{0%{transform:translateY(-4vh) translateX(0) rotate(0deg);opacity:0}10%{opacity:.65}85%{opacity:.5}100%{transform:translateY(108vh) translateX(36px) rotate(300deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.rfl-lum-drift{display:none}}
@media print{.rfl-lum-drift{display:none}}
