/* Trevor Bunce Shines — live brand (approved preview-brand-photo). */
:root {
  --tbs-slate: #2f4f4f;
  --tbs-gold: #ffd700;
  --tbs-cream: #f3eee4;
  --tbs-paper: #fffdf8;
  --tbs-ink: #2f4f4f;
  --tbs-muted: #4a6868;
  --tbs-line: rgba(47, 79, 79, 0.12);
  --tbs-shadow: 0 8px 24px rgba(47, 79, 79, 0.08);
  --tbs-radius-pill: 28px;
  --tbs-radius-card: 20px;
  --tbs-radius-photo: 22px;
}

body.tbs-live {
  font-family: Inter, Helvetica, Arial, sans-serif !important;
  font-weight: 400;
  color: var(--tbs-ink) !important;
  background: var(--tbs-cream) !important;
  line-height: 1.6;
}

body.tbs-live a { color: var(--tbs-slate); }
body.tbs-live .wp-site-blocks { padding: 0; }

body.tbs-live footer .wp-block-navigation,
body.tbs-live footer a[href="#"],
body.tbs-live .tbs-hide-demo {
  display: none !important;
}

body.tbs-live header.wp-block-template-part,
body.tbs-live header.wp-block-template-part > .wp-block-group {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tbs-line);
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}
body.tbs-live header .has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.tbs-live header .alignwide,
body.tbs-live header .is-content-justification-space-between {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 10px 24px !important;
  gap: 28px !important;
  align-items: center !important;
}
body.tbs-live header .wp-block-site-title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  font-family: Inter, Helvetica, Arial, sans-serif !important;
}
body.tbs-live header .wp-block-site-title a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: var(--tbs-slate) !important;
  font-weight: 600 !important;
}
body.tbs-live header .tbs-mark {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #161616;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-block;
}
body.tbs-live header .tbs-mark-sun {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 55%, #fff7c8 0%, #ffd700 36%, #ff9a1a 62%, rgba(255,140,0,0) 74%);
  box-shadow: 0 0 18px 6px rgba(255, 215, 0, 0.55), 0 0 28px 10px rgba(255, 160, 0, 0.28);
  animation: tbs-sun-rise 7s ease-out infinite;
  transform-origin: 50% 50%;
}
body.tbs-live header .tbs-mark-sun::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255,215,0,0) 0deg 9deg,
    rgba(255,215,0,0.7) 10deg 11deg,
    rgba(255,215,0,0) 12deg 20deg
  );
  animation: tbs-sun-spin 16s linear infinite;
  opacity: 0.85;
}
body.tbs-live header .tbs-logo {
  position: relative;
  z-index: 1;
  height: 44px;
  width: 44px;
  margin: 2px;
  object-fit: contain;
  border-radius: 0;
  display: block;
  background: transparent;
  transform-origin: 50% 82%;
  animation: tbs-flame 1.25s ease-in-out infinite;
}
@keyframes tbs-sun-rise {
  0% { transform: translateY(22px) scale(0.55); opacity: 0.2; }
  32% { transform: translateY(0) scale(1); opacity: 1; }
  70%, 100% { transform: translateY(-3px) scale(1.08); opacity: 1; }
}
@keyframes tbs-sun-spin { to { transform: rotate(360deg); } }
@keyframes tbs-flame {
  0%, 100% {
    filter: drop-shadow(0 -1px 3px rgba(255, 140, 0, 0.35));
    transform: scale(1, 1) rotate(0deg);
  }
  22% {
    filter: drop-shadow(0 -3px 7px rgba(255, 110, 0, 0.7));
    transform: scale(1.015, 1.055) rotate(-1.6deg);
  }
  48% {
    filter: drop-shadow(0 -2px 5px rgba(255, 190, 40, 0.5));
    transform: scale(1.01, 1.02) rotate(1.1deg);
  }
  71% {
    filter: drop-shadow(0 -4px 9px rgba(255, 90, 0, 0.75));
    transform: scale(1.02, 1.08) rotate(-0.9deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.tbs-live header .tbs-mark-sun,
  body.tbs-live header .tbs-mark-sun::after,
  body.tbs-live header .tbs-logo { animation: none; }
  body.tbs-live header .tbs-mark-sun { transform: none; opacity: 0.85; }
}
body.tbs-live header .wp-block-navigation {
  font-size: 14px !important;
  font-family: Inter, Helvetica, Arial, sans-serif !important;
}
body.tbs-live header .wp-block-navigation-item__content {
  color: var(--tbs-slate) !important;
  font-weight: 400 !important;
  text-decoration: none !important;
}
body.tbs-live header .wp-block-navigation-item__content:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
body.tbs-live header .wp-block-navigation__container {
  align-items: center !important;
  gap: 22px !important;
}
body.tbs-live header .tbs-give-pill { order: 20; }
body.tbs-live header .tbs-give-pill .wp-block-navigation-item__content,
body.tbs-live .tbs-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--tbs-slate) !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: var(--tbs-radius-pill) !important;
  padding: 10px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}
body.tbs-live header .tbs-give-pill .wp-block-navigation-item__content:hover,
body.tbs-live .tbs-btn:hover {
  background: #263f3f !important;
  color: #fff !important;
  text-decoration: none !important;
}
body.tbs-live .tbs-btn-lg { padding: 13px 28px !important; font-size: 15px !important; }

body.home.tbs-live main.wp-block-group,
body.home.tbs-live main .wp-block-group.alignfull,
body.home.tbs-live .wp-block-post-content,
body.home.tbs-live .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.home.tbs-live .wp-block-post-content > *,
body.home.tbs-live .entry-content > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.home.tbs-live .wp-block-post-title { display: none !important; }
body.home.tbs-live main { margin-top: 0 !important; }

.tbs-home { color: var(--tbs-ink); font-family: Inter, Helvetica, Arial, sans-serif; }
.tbs-hero {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.05fr);
  min-height: calc(100vh - 80px);
  max-height: 860px;
  background: var(--tbs-paper);
  position: relative;
  overflow: hidden;
}
.tbs-hero-copy {
  position: relative;
  padding: 88px 40px 88px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-width: 0;
  isolation: isolate;
  z-index: 2;
  overflow: visible;
}
.tbs-hero-copy-inner { position: relative; z-index: 2; max-width: 100%; min-width: 0; }
.tbs-hero-haze {
  position: absolute;
  inset: -12% -8% -18% -18%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.tbs-haze-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.tbs-haze-orb-a {
  width: 460px; height: 340px; left: -90px; top: 12%;
  background: radial-gradient(ellipse at 40% 45%, rgba(255,215,0,0.48) 0%, rgba(255,191,71,0.22) 38%, rgba(218,165,32,0.08) 62%, transparent 78%);
  filter: blur(22px);
}
.tbs-haze-orb-b {
  width: 320px; height: 260px; left: 18%; bottom: 4%;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,183,77,0.32) 0%, rgba(255,215,0,0.12) 48%, transparent 74%);
  filter: blur(28px);
}
.tbs-haze-orb-c {
  width: 220px; height: 160px; left: 8%; top: 38%;
  background: radial-gradient(circle, rgba(255,236,170,0.58) 0%, rgba(255,215,0,0.20) 40%, transparent 70%);
  filter: blur(16px);
}
.tbs-haze-ray {
  position: absolute; height: 2px; border-radius: 999px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,215,0,0) 8%, rgba(255,215,0,0.38) 38%, rgba(255,236,170,0.72) 52%, rgba(255,215,0,0.28) 68%, transparent 100%);
  box-shadow: 0 0 10px rgba(255,215,0,0.35), 0 0 22px rgba(255,191,71,0.18);
  filter: blur(1.1px);
  transform-origin: 20% 50%;
}
.tbs-haze-ray-a { width: 150%; left: -18%; top: 54%; transform: rotate(-16deg); opacity: 0.72; }
.tbs-haze-ray-b { width: 128%; left: -8%; top: 63%; height: 3px; transform: rotate(-11deg); opacity: 0.38; filter: blur(2.4px); }
.tbs-haze-ray-c { width: 96%; left: 2%; top: 44%; transform: rotate(-21deg); opacity: 0.32; }
.tbs-haze-arc {
  position: absolute; left: -28%; bottom: -18%; width: 150%; height: 280px;
  border-radius: 50%; border: 1.5px solid transparent; border-top-color: rgba(255,215,0,0.28);
  filter: blur(1.6px); transform: rotate(-7deg); opacity: 0.55; pointer-events: none;
  box-shadow: 0 -8px 24px rgba(255,215,0,0.08);
}
.tbs-haze-dots {
  position: absolute; width: 240px; height: 10px; left: 12%; top: 70%;
  background-image: radial-gradient(circle, rgba(255,215,0,0.55) 0 1.6px, transparent 2.2px);
  background-size: 20px 10px; background-repeat: repeat-x;
  filter: blur(0.8px); transform: rotate(-13deg); opacity: 0.55; pointer-events: none;
}
.tbs-haze-grain {
  position: absolute; inset: 0; opacity: 0.11; mix-blend-mode: multiply; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.tbs-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tbs-slate); margin: 0 0 18px;
}
.tbs-spark {
  width: 8px; height: 8px; background: var(--tbs-gold); transform: rotate(45deg); flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255,215,0,0.7);
}
.tbs-gold-rule { width: 48px; height: 2px; background: var(--tbs-gold); border: 0; margin: 0 0 22px; }
.tbs-hero h1 {
  font-weight: 300; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.12;
  letter-spacing: -0.02em; margin: 0 0 16px; color: var(--tbs-ink);
  max-width: 11.5ch;
  position: relative;
  z-index: 3;
  overflow: visible;
  text-shadow: 0 0 28px rgba(255,215,0,0.42), 0 0 64px rgba(255,191,71,0.24), 0 0 110px rgba(218,165,32,0.16);
}
.tbs-lede { font-size: 18px; font-weight: 400; color: var(--tbs-muted); margin: 0 0 28px; max-width: 28ch; }
.tbs-hero-photo { position: relative; min-height: 520px; overflow: hidden; z-index: 1; }
.tbs-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 18%; display: block; }

.tbs-section { max-width: 1180px; margin: 0 auto; padding: 112px 24px; }
.tbs-section h2 {
  font-weight: 300; font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.02em;
  margin: 0 0 16px; color: var(--tbs-ink);
}
.tbs-section p { margin: 0 0 16px; color: var(--tbs-muted); font-size: 17px; max-width: 62ch; }

.tbs-photos { background: var(--tbs-paper); }
.tbs-photos-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 32px;
}
.tbs-caption { font-size: 14px; font-weight: 400; color: var(--tbs-muted); font-style: italic; margin: 0; }
.tbs-see-all {
  font-size: 14px; font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--tbs-gold); padding-bottom: 2px; color: var(--tbs-slate);
}
.tbs-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.tbs-strip figure {
  margin: 0; border-radius: var(--tbs-radius-photo); overflow: hidden;
  box-shadow: 0 14px 36px rgba(47,79,79,0.07); background: var(--tbs-cream); aspect-ratio: 1 / 1;
}
.tbs-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbs-strip img[src*="009"] { object-position: 50% 30%; }
.tbs-strip img[src*="059"] { object-position: 50% 20%; }
.tbs-strip img[src*="108"] { object-position: 50% 30%; }
.tbs-strip img[src*="124"] { object-position: 40% 20%; }
.tbs-strip img[src*="169"] { object-position: 50% 25%; }

.tbs-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.tbs-card {
  background: var(--tbs-paper); border-radius: var(--tbs-radius-card);
  padding: 36px 36px 32px; box-shadow: var(--tbs-shadow);
}
.tbs-card h2 { margin-bottom: 12px; }
.tbs-card p { font-size: 16px; }
.tbs-card a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--tbs-gold); color: var(--tbs-slate); }

.tbs-give { background: var(--tbs-paper); }
.tbs-give-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.tbs-give-inner h2 { margin-bottom: 12px; }
.tbs-give-inner p { margin-left: auto; margin-right: auto; }
.tbs-give-actions { margin: 28px 0 20px; }
.tbs-contact-line { font-size: 15px; color: var(--tbs-muted); }
.tbs-contact-line a { font-weight: 600; text-decoration: none; color: var(--tbs-slate); }

body.tbs-live:not(.home) main.wp-block-group { background: var(--tbs-cream); }
body.tbs-live:not(.home) .wp-block-post-title,
body.tbs-live:not(.home) .entry-content,
body.tbs-live:not(.home) .wp-block-post-content {
  font-family: Inter, Helvetica, Arial, sans-serif;
  color: var(--tbs-ink);
}
body.tbs-live:not(.home) .wp-element-button,
body.tbs-live:not(.home) .wp-block-button__link {
  background: var(--tbs-slate) !important;
  color: #fff !important;
  border-radius: var(--tbs-radius-pill) !important;
}

.tbs-footer {
  border-top: 1px solid var(--tbs-line);
  padding: 40px 24px 56px;
  text-align: center;
  background: var(--tbs-cream);
  font-family: Inter, Helvetica, Arial, sans-serif;
}
.tbs-footer p { margin: 0 0 10px; font-size: 14px; color: var(--tbs-muted); }
.tbs-footer a { font-weight: 600; text-decoration: none; color: var(--tbs-slate); }
.tbs-lifeline { max-width: 52ch; margin: 16px auto 20px; font-size: 13px; line-height: 1.55; }
.tbs-copy { font-size: 13px; }

@media (max-width: 900px) {
  body.tbs-live header .alignwide { flex-wrap: wrap; gap: 10px 16px !important; padding: 10px 16px !important; }
  body.tbs-live header .wp-block-navigation { width: 100%; }
  .tbs-hero { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .tbs-hero-photo { min-height: 420px; order: -1; }
  .tbs-hero-copy { padding: 36px 20px 48px; }
  .tbs-about-grid { grid-template-columns: 1fr; gap: 20px; }
  .tbs-section { padding: 72px 20px; }
  .tbs-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
  .tbs-strip figure:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
  .tbs-card { padding: 28px 22px; }
}
@media (max-width: 520px) {
  body.tbs-live header .wp-block-site-title { font-size: 14px !important; }
  body.tbs-live header .tbs-give-pill .wp-block-navigation-item__content,
  body.tbs-live .tbs-btn { padding: 8px 16px !important; font-size: 13px !important; }
  .tbs-hero-photo { min-height: 360px; }
  .tbs-hero h1 { font-size: 34px; }
}
