/* RPM Events & Décor — base styles. Most layout lives inline in the templates, matching the approved design. */

@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 500; font-display: swap; src: url("../fonts/newsreader-italic-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 500; font-display: swap; src: url("../fonts/newsreader-italic-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 500; font-display: swap; src: url("../fonts/newsreader-italic-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/newsreader-vietnamese.woff2") format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/newsreader-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/newsreader-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --navh: 64px; }
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--navh) + 16px); }
body { background: #ffffff; color: #0a0a0a; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; letter-spacing: -.01em; }
a { color: #B9520C; text-decoration: none; }
a:hover { text-decoration: underline; }
a.rpm-plain:hover { text-decoration: none; }
::selection { background: #E8701A; color: #0a0a0a; }
input, button, textarea { font-family: inherit; }
input[type=range] { accent-color: #B9520C; }
input:focus, textarea:focus { border-color: #E8701A !important; box-shadow: 0 0 0 3px rgba(232,112,26,.18); }
button:focus-visible, a:focus-visible { outline: 2px solid #E8701A !important; outline-offset: 3px !important; }
[hidden] { display: none !important; }
img { max-width: 100%; }

/* WordPress admin bar (logged-in users) */
body.admin-bar .rpm-nav { top: 32px !important; }
@media (max-width: 782px) { body.admin-bar .rpm-nav { top: 46px !important; } }

/* Wide / narrow navigation (design switches at 760px) */
.rpm-wide { display: flex; }
.rpm-wide-inline { display: inline; }
.rpm-narrow, .rpm-narrow-inline, .rpm-narrow-block { display: none !important; }
@media (max-width: 759px) {
	:root { --navh: 80px; }
	.rpm-wide, .rpm-wide-inline { display: none !important; }
	.rpm-narrow { display: flex !important; }
	.rpm-narrow-inline { display: inline !important; }
	.rpm-narrow-block { display: block !important; }
}
.rpm-menu { display: flex; }
@media (min-width: 760px) { .rpm-menu { display: none !important; } }

/* Hover states */
.rpm-tile:hover { transform: scale(1.012); }
.rpm-dim:hover { opacity: .92; }
.rpm-round:hover { background: #E8701A !important; color: #0a0a0a !important; }
.rpm-route:hover { border-color: #E8701A !important; }
.rpm-client:hover .rpm-client-n { color: #E8701A; }
.rpm-client:hover .rpm-client-go { transform: translateX(6px); }

/* Home: compare slider */
.rpm-split { aspect-ratio: 16/8; }
@media (max-width: 759px) { .rpm-split { aspect-ratio: 4/5; } }

/* Home: audience tabs */
[data-rpm-aud] button { background: transparent !important; color: #0a0a0a !important; }
[data-rpm-aud] button.is-on { background: #0a0a0a !important; color: #ffffff !important; }

/* Home: expertise accordion */
[data-exp-item] .rpm-exp-t, [data-exp-item] .rpm-exp-sign { color: #0a0a0a; }
[data-exp-item] .rpm-exp-sign::after { content: '+'; }
[data-exp-item] .rpm-exp-d { max-height: 0; }
[data-exp-item].is-on .rpm-exp-t, [data-exp-item].is-on .rpm-exp-sign { color: #B9520C; }
[data-exp-item].is-on .rpm-exp-sign::after { content: '−'; }
[data-exp-item].is-on .rpm-exp-d { max-height: 140px; }

/* Rail: hide scrollbar */
[data-rpm-rail]::-webkit-scrollbar, [data-work-cats]::-webkit-scrollbar { display: none; }

/* Work page category chips */
.rpm-chip { background: #ffffff !important; color: #0a0a0a !important; border: 1px solid rgba(10,10,10,.16) !important; }
.rpm-chip.is-on { background: #0a0a0a !important; color: #ffffff !important; border-color: #0a0a0a !important; }

/* Services index */
[data-svc] .rpm-svc-t { color: #0a0a0a; }
[data-svc].is-hover .rpm-svc-t { color: #B9520C; transform: translateX(12px); }
[data-svc-add].is-on { border-color: #E8701A !important; background: #E8701A !important; }

/* Contact topics */
.rpm-topic { border: 2px solid rgba(10,10,10,.12) !important; background: #ffffff !important; }
.rpm-topic.is-on { border-color: #E8701A !important; background: #fff7f0 !important; }
.rpm-topic.is-on .rpm-topic-mark::after { content: '●'; }

/* Enquiry configurator */
[data-enq-config]:not([hidden]) { display: grid; }
.rpm-cfg-img { position: sticky; aspect-ratio: 4/5; }
@media (max-width: 899px) { .rpm-cfg-img { position: relative !important; top: auto !important; aspect-ratio: 16/10; } }
.rpm-route.is-on { border-color: #E8701A !important; background: #fff7f0 !important; }
.rpm-route.is-on .rpm-route-cta { background: #B9520C !important; color: #ffffff !important; }
[data-enq-routes].is-pulse .rpm-route { border-color: #E8701A !important; transform: scale(1.02) !important; box-shadow: 0 18px 40px -18px rgba(232,112,26,.6) !important; }
.rpm-pick.is-on { border-color: #E8701A !important; }
[data-enq-pack]:not(.is-on) .rpm-tick { background: transparent !important; color: transparent !important; }
[data-enq-send][aria-disabled="true"] { opacity: .4 !important; }

/* Lightbox */
.rpm-lightbox:not([hidden]) { display: flex; }

/* FAQ (home page) */
.rpm-faq { border-top: 1px solid rgba(10,10,10,.14); }
.rpm-faq:last-child { border-bottom: 1px solid rgba(10,10,10,.14); }
.rpm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; }
.rpm-faq summary::-webkit-details-marker { display: none; }
.rpm-faq summary::after { content: '+'; flex: none; font-size: 22px; line-height: 1; color: #0a0a0a; }
.rpm-faq[open] summary::after { content: '−'; color: #B9520C; }
.rpm-faq summary h3 { margin: 0; font-family: Newsreader, serif; font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; transition: color .2s; }
.rpm-faq summary:hover h3, .rpm-faq[open] summary h3 { color: #B9520C; }
.rpm-faq p { margin: 0; padding: 0 40px 24px 0; font-size: 17px; line-height: 1.6; color: #555555; }

/* Simple pages (privacy policy etc.) */
.rpm-prose { font-size: 18px; line-height: 1.65; color: #333333; }
.rpm-prose h2, .rpm-prose h3 { font-family: Newsreader, serif; font-weight: 400; color: #0a0a0a; line-height: 1.15; }
.rpm-prose img { height: auto; border-radius: 16px; }
.rpm-prose h2 { font-size: clamp(32px, 4vw, 46px); margin: 72px 0 16px; padding-top: 28px; border-top: 1px solid rgba(10,10,10,.14); }
.rpm-prose h3 { font-size: clamp(23px, 2.4vw, 28px); margin: 40px 0 10px; }
.rpm-prose h4 { font-size: 15px; font-weight: 600; color: #0a0a0a; margin: 24px 0 6px; }
.rpm-prose ul { padding-left: 1.2em; }
.rpm-prose li { margin: 4px 0; }
.rpm-prose .rpm-table { width: 100%; overflow-x: auto; margin: 16px 0 24px; }
.rpm-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.rpm-prose th, .rpm-prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid rgba(10,10,10,.12); }
.rpm-prose th { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #555555; }
.rpm-prose td ul { margin: 0; }
.rpm-prose .rpm-lead { font-size: 20px; color: #555555; }
.rpm-prose .rpm-toc { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 8px; list-style: none; }
.rpm-prose .rpm-toc a { display: inline-block; padding: 9px 16px; border-radius: 980px; background: #f2f2f2; color: #0a0a0a; font-size: 15px; font-weight: 500; }
.rpm-prose .rpm-toc a:hover { background: #0a0a0a; color: #ffffff; text-decoration: none; }
.rpm-prose .rpm-card { background: #f2f2f2; border-radius: 20px; padding: 22px 26px; margin: 16px 0; }
.rpm-prose .rpm-card p { margin: 4px 0; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
