/* ===== Raydraws 2026 ===== */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --rd-h1: 'Oswald', 'Arial Narrow', sans-serif;
  --rd-h2: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --rd-ink: #171717; --rd-green: #008A0C; --rd-green-2: #2BA84A; --rd-line: #E6E6E6;
}

/* SPPB sections that hold a Raydraws block run full-bleed; the block sets its own width and padding */
.sppb-section:has(> .sppb-row-container .rd), .sppb-section:has(.sppb-addon-raw-html .rd) { padding: 0 !important; margin: 0 !important; }
.sppb-section:has(.rd) > .sppb-row-container, .sppb-section:has(.rd) .sppb-row-container { max-width: none !important; width: 100% !important; padding: 0 !important; }
.sppb-section:has(.rd) .sppb-row { margin: 0 !important; }
.sppb-section:has(.rd) [class*="sppb-col-"], .sppb-section:has(.rd) .sppb-column, .sppb-section:has(.rd) .sppb-column-addons { padding: 0 !important; }
.sppb-section:has(.rd) .sppb-addon-wrapper { margin: 0 !important; }
.rd { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: #252525; line-height: 1.55; }
.rd *, .rd *::before, .rd *::after { box-sizing: border-box; }
.rd a { color: var(--rd-green); }
.rd a:hover { color: #00660A; }
.rd img, .rd video { max-width: 100%; }
.rd h1, .rd h2, .rd h3 { letter-spacing: normal; }
.rd button { font-family: inherit; }
.rd a:focus-visible, .rd button:focus-visible, .rd input:focus-visible, .rd select:focus-visible, .rd textarea:focus-visible { outline: 3px solid var(--rd-green); outline-offset: 2px; }
.rd [hidden] { display: none !important; }

/* pressed toggles (filters, tiers) */
.rd [data-rd-filter][aria-pressed="true"], .rd [data-rd-tier][aria-pressed="true"] { background: var(--rd-ink) !important; color: #FFFFFF !important; }
.rd [data-rd-tiercard].is-on { border: 2px solid var(--rd-green) !important; }
.rd [data-rd-filter], .rd [data-rd-tier] { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--rd-ink); background: #FFFFFF; color: var(--rd-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.rd .rd-n { opacity: .6; font-weight: 600; margin-left: 4px; }

/* tiles */
.rd .rd-tile { display: block; width: 100%; padding: 0; border: 1px solid var(--rd-line); background: #FFFFFF; cursor: zoom-in; text-align: left; color: inherit; text-decoration: none; }
.rd .rd-tile:hover { border-color: var(--rd-ink); }
.rd .rd-masonry { columns: 3; column-gap: 24px; }
@media (max-width: 1023.98px) { .rd .rd-masonry { columns: 2; } }
@media (max-width: 767.98px) { .rd .rd-masonry { columns: 1; } }
.rd .rd-masonry .rd-tile { break-inside: avoid; margin: 0 0 20px; }
.rd .rd-tile img { width: 100%; height: auto; display: block; }

/* forms */
.rd .rd-in { width: 100%; border: 1.5px solid #CFCFCF; background: #FFFFFF; padding: 12px 14px; font: inherit; color: var(--rd-ink); min-height: 46px; border-radius: 0; }
.rd details summary { cursor: pointer; list-style: none; }
.rd details summary::-webkit-details-marker { display: none; }
.rd details[open] .rd-plus { transform: rotate(45deg); }

/* lightbox */
html.rd-noscroll { overflow: hidden; }
.rd-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(15,15,15,.94); display: flex; align-items: center; justify-content: center; padding: 24px; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.rd-lb[hidden] { display: none; }
.rd-lb__card { background: #FFFFFF; max-width: 1100px; width: 100%; max-height: 92vh; display: flex; flex-wrap: wrap; overflow: auto; }
.rd-lb__img { flex: 1 1 460px; min-width: 0; max-width: 680px; max-height: 88vh; object-fit: contain; background: #FFFFFF; display: block; }
.rd-lb__info { flex: 1 1 300px; padding: 28px; display: flex; flex-direction: column; gap: 12px; color: #252525; }
.rd-lb__kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-green); font-weight: 700; }
.rd-lb__title { font-family: var(--rd-h1); font-weight: 700; font-size: 38px; line-height: 1; text-transform: uppercase; color: var(--rd-ink); }
.rd-lb__text { color: #555555; }
.rd-lb__cta { background: var(--rd-green); color: #FFFFFF !important; text-decoration: none; padding: 14px 22px; font-weight: 800; text-align: center; }
.rd-lb__cta2 { font-weight: 700; color: var(--rd-green); }
.rd-lb__nav { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; }
.rd-lb__nav button { min-width: 44px; min-height: 44px; border: 1.5px solid var(--rd-ink); background: #FFFFFF; font-size: 18px; cursor: pointer; color: var(--rd-ink); }
.rd-lb__close { margin-left: auto; padding: 0 16px; font-size: 14px !important; font-weight: 700; }
.rd-lb__pos { font-size: 13px; color: #6B6B6B; }

/* ---------- small screens: scale the big inline type ---------- */
@media (max-width: 991px) {
  .rd [style*="font-size: 96px"], .rd [style*="font-size: 88px"], .rd [style*="font-size: 84px"] { font-size: 64px !important; }
  .rd [style*="font-size: 76px"], .rd [style*="font-size: 72px"] { font-size: 56px !important; }
}
@media (max-width: 767px) {
  .rd [style*="padding: 72px 32px"], .rd [style*="padding: 88px 32px"], .rd [style*="padding: 64px 32px"], .rd [style*="padding: 80px 32px"] { padding-left: 20px !important; padding-right: 20px !important; padding-top: 48px !important; padding-bottom: 48px !important; }
  .rd [style*="padding: 0 32px"], .rd [style*="padding: 24px 32px"], .rd [style*="padding: 48px 32px"], .rd [style*="padding: 8px 32px"] { padding-left: 20px !important; padding-right: 20px !important; }
  .rd [style*="font-size: 96px"], .rd [style*="font-size: 88px"], .rd [style*="font-size: 84px"], .rd [style*="font-size: 76px"], .rd [style*="font-size: 72px"] { font-size: 46px !important; }
  .rd [style*="font-size: 56px"], .rd [style*="font-size: 52px"], .rd [style*="font-size: 48px"] { font-size: 38px !important; }
  .rd [style*="font-size: 44px"], .rd [style*="font-size: 40px"] { font-size: 32px !important; }
  .rd [style*="font-size: 28px"], .rd [style*="font-size: 26px"] { font-size: 21px !important; }
  .rd [style*="flex: 1 1 5"], .rd [style*="flex: 1 1 4"], .rd [style*="flex: 1.3 1"], .rd [style*="flex: 2.2 1"], .rd [style*="flex: 1.4 1"], .rd [style*="flex: 2 1"] { flex-basis: 100% !important; }
  .rd [style*="grid-template-columns: repeat(12"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .rd [style*="padding: 36px"] { padding: 22px !important; }
  .rd .rd-lb__title { font-size: 28px; }
}
/* portfolio index + forms */
@media (max-width: 760px) { .rd .pf-idx { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; } }
.rd .rd-in, .rd select.rd-in { appearance: auto; }
/* lightbox above Helix sticky header */
.rd-lb { z-index: 100000 !important; }
/* tighter gutters on phones */
@media (max-width: 600px) {
  .rd section, .rd > div > section { padding-left: 18px !important; padding-right: 18px !important; }
  .rd [data-rd-player] > div:last-child { padding: 24px 20px !important; gap: 28px !important; }
  .rd [data-rd-player] > div:first-of-type { padding: 14px 18px !important; }
  .rd form[data-rd-form] { padding: 22px !important; }
}

/* ===== Header: standard Raydraws badge as the logo (replaces the favicon "R") ===== */
#sp-header #sp-logo .logo a { display: block; width: 111px; height: 46px; background: url(../../../images/2025/09/05/raydraws_logo.png) left center / contain no-repeat; }
#sp-header #sp-logo .logo-image { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 767.98px) { #sp-header #sp-logo .logo a { width: 96px; height: 40px; } }

/* ===== Header: 8 menu items + socials don't fit until ~1400px ===== */
@media (max-width: 1399.98px) { #sp-header .social-wrap { display: none !important; } }
@media (max-width: 1199.98px) {
  #sp-header .sp-megamenu-parent { display: none !important; }
  #sp-header #offcanvas-toggler { display: flex !important; }
  #sp-header #sp-menu .sp-column { justify-content: flex-end !important; }
}

/* ===== Pencil guy: desktop only ===== */
@media (max-width: 991.98px) { .rd [data-rd-player] > img:first-child { display: none !important; } }
@media (max-width: 991.98px) { .rd section[aria-labelledby="hero-h"] { padding-top: 28px !important; } }

/* ===== Off-canvas menu in the brand type ===== */
.offcanvas-menu .menu > li > a, .offcanvas-menu ul.menu > li > span { font-family: 'Oswald', 'Arial Narrow', sans-serif !important; font-weight: 700 !important; font-size: 24px !important; line-height: 1.2 !important; text-transform: uppercase; letter-spacing: 0.02em; color: #171717 !important; padding: 10px 0 !important; }
.offcanvas-menu .menu > li.active > a, .offcanvas-menu .menu > li > a:hover { color: #008A0C !important; }

/* ===== Header: center the badge + menu vertically (normal and sticky) ===== */
#sp-header { height: 84px !important; }
#sp-header.header-sticky { height: 70px !important; }
@media (max-width: 991.98px) { #sp-header { height: 66px !important; } #sp-header.header-sticky { height: 60px !important; } }
#sp-header > .container, #sp-header .container-inner, #sp-header .container-inner > .row { height: 100%; }
#sp-header .container-inner > .row { align-items: center !important; }
#sp-header #sp-logo { margin: 0 !important; height: 100%; display: flex; align-items: center; }
#sp-header #sp-logo .sp-column, #sp-header #sp-logo .logo { height: 100%; display: flex; align-items: center; }
#sp-header #sp-menu, #sp-header #sp-menu > .sp-column { height: 100%; display: flex; align-items: center; }
#sp-header .sp-megamenu-parent > li > a { line-height: normal !important; }

/* menu column fills the row so the hamburger sits at the right edge */
#sp-header #sp-menu > .sp-column { flex: 1 1 auto; width: 100%; }

/* pencil guy: lift him clear of the Time Lapse Tuesdays bar */
.rd [data-rd-player] > img:first-child { margin-bottom: 14px !important; }

/* locked 'watch with sound' until drop day */
.rd .is-locked { opacity: .55; cursor: not-allowed !important; pointer-events: none; }


/* === Nov 16: gallery captions, 2-col portfolio, bigger lightbox, animated sample === */
.rd .rd-tile { display: block; text-decoration: none; background: #FFFFFF; border: 1px solid #E6E6E6; }
.rd .rd-tile img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.rd .rd-cap { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-top: 1px solid #F0F0F0; }
.rd .rd-cap__t { font-family: var(--rd-h1); font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--rd-ink); }
.rd .rd-cap__m { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-green); cursor: pointer; border-bottom: 1.5px solid transparent; }
.rd .rd-cap__m:hover, .rd .rd-cap__m:focus-visible { border-bottom-color: var(--rd-green); outline: none; }
.rd .rd-2col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.rd .rd-2col [data-rd-piece] h2 { font-size: 32px !important; }
@media (max-width: 1023.98px) { .rd .rd-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .rd .rd-2col { grid-template-columns: 1fr; gap: 40px; } }
.rd-lb__card { max-width: 1400px !important; }
.rd-lb__img { flex: 2 1 560px !important; max-width: 920px !important; max-height: 90vh !important; }
.rd-lb__info { flex: 1 1 280px !important; }
.rd .rd-anim { position: absolute; inset: 0; background: #FFFFFF; overflow: hidden; }
.rd .rd-anim img { width: 100%; height: 100%; object-fit: cover; display: block; animation: rdDraw 6s steps(48) infinite; }
.rd .rd-anim__pen { position: absolute; top: 0; bottom: 0; width: 2px; background: #2BA84A; box-shadow: 0 0 12px #2BA84A; animation: rdPen 6s steps(48) infinite; }
.rd .rd-anim__rec { position: absolute; top: 14px; right: 14px; background: #171717; color: #FF4D4D; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 5px 9px; animation: rdBlink 1s steps(2) infinite; }
@keyframes rdDraw { 0% { clip-path: inset(0 100% 0 0); } 75%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes rdPen { 0% { left: 0; opacity: 1; } 75% { left: 100%; opacity: 1; } 76%, 100% { left: 100%; opacity: 0; } }
@keyframes rdBlink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .rd .rd-anim img, .rd .rd-anim__pen { animation: none; } }


/* === AI-assisted badge: wrap the image in <span class="rd-ai-wrap"> and add <span class="rd-ai">AI-assisted</span> === */
.rd-ai-wrap { position: relative; display: inline-block; }
.rd-ai { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(23,23,23,.82); color: #FFFFFF; font: 700 10px/1 system-ui, -apple-system, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 4px 6px; border-radius: 2px; pointer-events: none; }
.rd-ai::before { content: "\2726 "; color: #2BA84A; }

/* === VAULT UNLISTED (Nov 16, 2026): delete this block on Vault launch day === */
a[href$="/vault"], li:has(> a[href$="/vault"]) { display: none !important; }
.sppb-section:has(#vault-h) { display: none !important; }
/* === end VAULT UNLISTED === */

/* === Mobile: Face Wall carousel + Get Drawn slideshow (Nov 16, 2026) === */
.rd .rd-fw-dots { display: none; }
@media (max-width: 767.98px) {
  .rd .rd-fw-car { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px !important; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .rd .rd-fw-car::-webkit-scrollbar { display: none; }
  .rd .rd-fw-car > img { flex: 0 0 84%; scroll-snap-align: center; }
  .rd .rd-fw-car > img:nth-child(n+5) { display: none !important; }
  .rd .rd-fw-dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
  .rd .rd-fw-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,0.45); cursor: pointer; }
  .rd .rd-fw-dots button[aria-current="true"] { background: #FFFFFF; }
  .rd .rd-gd-fade { display: grid !important; grid-template-columns: 1fr !important; max-width: 360px; margin: 0 auto; width: 100%; }
  .rd .rd-gd-fade > img { grid-area: 1 / 1; opacity: 0; transition: opacity 0.7s ease; }
  .rd .rd-gd-fade > img.is-on { opacity: 1; }
}
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) { .rd .rd-gd-fade > img { transition: none; } }
/* === end mobile carousel === */

/* Pencil guy above the Time Lapse Tuesdays box: drop his white background */
.rd [data-rd-player] > img[src*="mascot-pencil"] { mix-blend-mode: multiply; }
