/* =====================================================================
   THE TIMBER BROS — "SHED AT NIGHT" THEME (v3)
   Loaded last on every page. Colours + logo unchanged; type, depth,
   photography and layout updated. Swap hero/episode photos in /admin.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500&display=swap');

:root {
  --night: #12100D;
  --night-2: #1A1713;
  --night-3: #221E18;
  --glow: 0 0 40px rgba(200,132,42,0.45);
  --font-display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 6px;
  --radius-lg: 12px;
}

body { background: var(--night); font-family: var(--font-body); font-size: 16.5px; line-height: 1.65; }
body::before { opacity: 0.5; }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; line-height: 0.95; text-transform: uppercase; }
h1 { font-size: clamp(3.2rem, 9vw, 8.5rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; }
h4 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.12em; font-size: 0.85rem; }
.hero h1 em, h1 em, h2 em { font-style: normal; color: var(--amber); text-shadow: 0 0 50px rgba(200,132,42,0.45); }
.eyebrow { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.22em; font-size: 0.75rem; }
.mono, .ep-num, .ep-number, .ep-date, .guest-ep { font-family: var(--font-mono) !important; }

/* ---- Sections ---- */
section { padding: 96px 0; }
.section-dark { background: var(--night); }
.section-mid { background: var(--night-2); }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--smoke); }
.ring-divider { display: none; }

/* ---- Nav ---- */
.site-nav { background: rgba(18,16,13,0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(200,132,42,0.18); }
.nav-inner { max-width: 1200px; height: 76px; }
.nav-logo img { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--amber); object-fit: cover; flex-shrink: 0; }
.nav-logo-text { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0.05em; line-height: 1; }
.nav-logo-text span { display: none; }
.nav-links { align-items: center; gap: 4px; }
.nav-links a { text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 600; color: var(--sawdust); padding: 8px 12px; }
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-cta { border-radius: var(--radius); padding: 11px 20px !important; margin-left: 12px; box-shadow: var(--glow); }

/* ---- Buttons ---- */
.btn { text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 600; padding: 14px 26px; border-radius: var(--radius); border-width: 1px; }
.btn-primary { box-shadow: 0 0 34px rgba(200,132,42,0.38); }
.btn-primary:hover { box-shadow: 0 0 50px rgba(200,132,42,0.6); }
.btn-outline { border-color: rgba(240,232,216,0.35); color: var(--cream-light); background: rgba(18,16,13,0.35); }

/* ---- Cards ---- */
.card, .ep-card, .guest-card, .host-full, .sponsor-tier, .form-card, .org-card, .tip-card, .testimonial, .contact-card, .why-card, .studio-card, .social-card, .video-notify, .apply-box, .aud-stat {
  background: var(--night-2) !important;
  border: 1px solid rgba(200,132,42,0.14) !important;
  border-radius: var(--radius-lg) !important;
}
.card:hover, .ep-card:hover, .guest-card:hover, .org-card:hover { border-color: rgba(200,132,42,0.45) !important; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
.tag { border-radius: 4px; font-family: var(--font-body); }
.guest-name, .tier-name, .host-stat-num, .aud-num, .stat-num, .hotline-num { font-family: var(--font-display) !important; font-weight: 400 !important; letter-spacing: 0.02em; }
.guest-name { font-size: 2rem !important; line-height: 1; }
.tier-name { font-size: 2.2rem !important; }
.stat-num, .aud-num { font-size: 3.6rem !important; text-shadow: 0 0 30px rgba(200,132,42,0.35); }
.sponsor-tier.featured { box-shadow: 0 0 0 1px var(--amber), 0 0 60px rgba(200,132,42,0.25) !important; }

/* ---- Inner page hero ---- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 150px 0 80px !important;
  background:
    linear-gradient(0deg, var(--night) 0%, rgba(18,16,13,0.6) 60%, rgba(18,16,13,0.85) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(200,132,42,0.22), transparent 55%),
    var(--night-2) !important;
  border-bottom: 1px solid rgba(200,132,42,0.15);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { color: var(--sawdust); font-size: 1.1rem; max-width: 620px; }
.site-nav + .page-hero, .site-nav + div.page-hero { margin-top: -76px; }

/* =================== HOME: PHOTO HERO =================== */
.n-hero { position: relative; min-height: 760px; height: 92vh; max-height: 900px; overflow: hidden; margin-top: -76px; padding: 0; }
.n-hero-art { position: absolute; right: 0; top: calc(50% + 38px); transform: translateY(-50%); width: 54%; aspect-ratio: 2 / 1; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%), linear-gradient(0deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%), linear-gradient(0deg, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-composite: intersect; }
.n-hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.95) brightness(0.9); }
.n-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,132,42,0.16), transparent 55%),
              linear-gradient(0deg, var(--night) 1%, transparent 20%); }
.n-hero .container { z-index: 2; }
.n-hero .container > * { max-width: 44%; }
.n-hero .container > .n-hero-actions, .n-hero .container > .listen-badges { max-width: 60%; }
.n-hero h1 { font-size: clamp(3.2rem, 7vw, 7.2rem); }
@media (max-width: 1100px) { .n-hero .container > * { max-width: 50%; } .n-hero .container > .n-hero-actions, .n-hero .container > .listen-badges { max-width: 62%; } .n-hero-art { width: 50%; } }
.n-hero h1, .n-hero .hero-lead, .n-hero .eyebrow { text-shadow: 0 2px 24px rgba(0,0,0,0.85); }
.n-hero .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 76px; max-width: 1200px; }
.n-hero h1 { margin: 16px 0 22px; color: var(--cream-light); }
.n-hero h1 em { display: block; }
.n-hero .hero-lead { max-width: 480px; font-size: 1.12rem; color: var(--sawdust); margin-bottom: 0; }
.n-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.n-hero-badge { position: absolute; z-index: 3; right: 36px; top: 108px; width: 156px; height: 156px; border-radius: 50%; border: 3px solid var(--amber); box-shadow: 0 0 60px rgba(200,132,42,0.45); object-fit: cover; }
.n-hero .listen-badges { margin-top: 28px; }
.badge { background: rgba(18,16,13,0.55); border-color: rgba(240,232,216,0.18); }

/* stats strip */
.stats-bar { background: var(--night-2) !important; }
.stat-block { padding: 28px 20px !important; }
.stat-label { font-size: 0.72rem !important; }

/* =================== EPISODE TILES =================== */
.n-tiles { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.n-tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: #000; color: var(--cream-light); isolation: isolate; }
.n-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: sepia(0.4) brightness(0.5); transition: transform 0.6s ease, filter 0.4s; z-index: -1; }
.n-tile:hover > img { transform: scale(1.04); filter: sepia(0.3) brightness(0.62); }
.n-tile-body { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(18,16,13,0.96), transparent 68%); }
.n-tile-num { font-family: var(--font-display); font-size: 1.35rem; color: var(--amber); letter-spacing: 0.1em; }
.n-tile h3 { font-size: clamp(1.8rem, 2.6vw, 2.5rem); margin: 6px 0 10px; color: var(--cream-light); }
.n-tile-meta { font-size: 0.82rem; color: var(--smoke); }
.n-tile-desc { font-size: 0.9rem; color: var(--sawdust); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.n-play { position: absolute; top: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer; background: var(--amber); color: var(--night); font-size: 1.1rem; display: grid; place-items: center; box-shadow: 0 0 30px rgba(200,132,42,0.6); z-index: 2; transition: transform 0.2s; }
.n-play:hover { transform: scale(1.08); }
.n-tiles.n-library { grid-template-columns: repeat(3, 1fr); }
.n-tiles.n-library .n-tile { min-height: 400px; }
.n-tile .episode-tags { margin: 0 0 10px; }

/* Heartwood */
.tb-spotlight { background: linear-gradient(90deg, rgba(45,74,45,0.6), var(--night)) !important; border-color: rgba(61,107,61,0.4) !important; }
.tb-spotlight .eyebrow { color: #9fc495; }
.n-split { display: flex; justify-content: space-between; align-items: center; gap: 40px; text-align: left; }
.n-split h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.n-split p { color: #c9d8c2; max-width: 600px; margin: 12px 0 0; }

/* Topics strip */
.topic-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.topic-pill { background: var(--night-2) !important; border-radius: 999px !important; padding: 10px 18px !important; }

/* Hosts teaser with photos */
.n-hosts { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; align-items: stretch; }
.n-host { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: #000; }
.n-host img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: sepia(0.3) brightness(0.7); }
.n-host div { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(0deg, rgba(18,16,13,0.95), transparent); }
.n-host h3 { font-size: 2.6rem; color: var(--cream-light); margin: 0; }
.n-host span { font-size: 0.85rem; color: var(--sawdust); }
.n-hosts-text { display: flex; flex-direction: column; justify-content: center; padding-left: 20px; }

/* Sponsor CTA */
.n-sponsor { background: radial-gradient(ellipse at 50% 0%, rgba(200,132,42,0.18), transparent 60%), var(--night) !important; border-top: 1px solid rgba(200,132,42,0.15); }

/* Episodes library featured panel */
.featured-ep { background: linear-gradient(90deg, var(--night-2), rgba(200,132,42,0.12)) !important; border: 1px solid rgba(200,132,42,0.3) !important; border-radius: var(--radius-lg) !important; }
.featured-ep h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.featured-ep-play { box-shadow: var(--glow); }
.filter-btn { border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important; }

/* Hosts page */
.host-avatar-lg { border-color: var(--amber) !important; box-shadow: 0 0 40px rgba(200,132,42,0.3); }
.host-header-info h2 { font-size: clamp(3rem, 6vw, 5rem); }

/* Episode pages: cinematic hero */
.ep-page-hero { position: relative; overflow: hidden; margin-top: -76px; padding: 190px 0 64px; background: var(--night); }
.ep-page-hero .ep-bg { position: absolute; inset: 0; z-index: 0; }
.ep-page-hero .ep-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: sepia(0.4) brightness(0.4) blur(2px); transform: scale(1.05); }
.ep-page-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--night) 10%, rgba(18,16,13,0.6) 60%, rgba(18,16,13,0.3)), linear-gradient(0deg, var(--night), transparent 50%); }
.ep-page-hero .container { position: relative; z-index: 1; }
.ep-page-hero h1 { font-size: clamp(3rem, 7vw, 6.5rem); max-width: 900px; }
.ep-play-lg { border-radius: var(--radius); box-shadow: var(--glow); }
.ep-notes h2 { font-size: 2.6rem; }
.ep-notes h3 { font-family: var(--font-display); font-size: 1.8rem; }
.ep-side-card { background: var(--night-2); border-radius: var(--radius-lg); }
.ep-side-card h4 { letter-spacing: 0.12em; }

/* Player + bands */
.tb-player { background: rgba(18,16,13,0.96); }
.tb-play { box-shadow: var(--glow); }
.tb-title { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.03em; }
.tb-newsletter { background: radial-gradient(ellipse at 15% 0%, rgba(200,132,42,0.16), transparent 50%), linear-gradient(90deg, var(--night-2), var(--night)) !important; }
.tb-newsletter h2 { font-size: clamp(2.6rem, 5vw, 4rem); }

/* Footer */
.site-footer { background: #0c0b09 !important; border-top: 1px solid rgba(200,132,42,0.15); }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--amber); margin-bottom: 14px; }
.footer-col h4 { color: var(--amber); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .n-tiles, .n-tiles.n-library { grid-template-columns: 1fr 1fr; }
  .n-tiles > :first-child:not(.n-library *) { grid-column: 1 / -1; }
  .n-hosts { grid-template-columns: 1fr 1fr; }
  .n-hosts-text { grid-column: 1 / -1; padding: 10px 0 0; order: -1; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .n-hero { height: auto; min-height: 0; max-height: none; }
  .n-hero-art { position: relative; top: auto; transform: none; width: 100%; margin-top: 76px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 22%); mask-image: linear-gradient(0deg, transparent 0%, #000 22%); }
  .n-hero::after { background: none; }
  .n-hero .container > *, .n-hero .container > .n-hero-actions, .n-hero .container > .listen-badges { max-width: 100%; }
  .n-hero .container { padding-top: 8px; padding-bottom: 56px; }
  .n-hero-badge { display: none; }
  .n-tiles, .n-tiles.n-library, .n-hosts { grid-template-columns: 1fr; }
  .n-tile { min-height: 320px; }
  .n-split { flex-direction: column; align-items: flex-start; }
  .nav-logo-text { font-size: 1.4rem; }
}

/* =================== WOOD GRAIN FINISH =================== */
/* Procedural timber grain (SVG turbulence, warped along the board) — no image downloads.
   --grain-board: dark-stained board for bars, headers, footer. --grain-fine: faint grain for background + cards. */
:root {
  --grain-board: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='500'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.015' numOctaves='2' seed='5' result='d'/%3E%3CfeTurbulence type='turbulence' baseFrequency='0.0014 0.22' numOctaves='4' seed='2' stitchTiles='stitch' result='n'/%3E%3CfeDisplacementMap in='n' in2='d' scale='28' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeColorMatrix values='0 0 0 0 0.62 0 0 0 0 0.41 0 0 0 0 0.18 1.5 0 0 0 -0.36'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23w%29'/%3E%3C/svg%3E");
  --grain-fine: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='500'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.012' numOctaves='2' seed='9' result='d'/%3E%3CfeTurbulence type='turbulence' baseFrequency='0.0014 0.22' numOctaves='4' seed='6' stitchTiles='stitch' result='n'/%3E%3CfeDisplacementMap in='n' in2='d' scale='28' xChannelSelector='R' yChannelSelector='G'/%3E%3CfeColorMatrix values='0 0 0 0 0.78 0 0 0 0 0.52 0 0 0 0 0.17 0.9 0 0 0 -0.32'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23w%29'/%3E%3C/svg%3E");
  --board: linear-gradient(rgba(24,20,16,0.38), rgba(24,20,16,0.38)), var(--grain-board) 0 0 / 2400px 500px, #1d1914;
}

/* faint grain over the whole site */
body::before { background-image: var(--grain-fine); background-size: 2400px 500px; opacity: 0.22; mix-blend-mode: normal; }

/* timber boards */
.site-nav { background: linear-gradient(rgba(18,16,13,0.55), rgba(18,16,13,0.55)), var(--grain-board) 0 0 / 2400px 500px, rgba(29,25,20,0.92) !important; }
.stats-bar { background: var(--board) !important; border-top: 1px solid rgba(200,132,42,0.28); border-bottom: 1px solid rgba(200,132,42,0.28); box-shadow: inset 0 1px 0 rgba(255,220,170,0.05), inset 0 -8px 16px rgba(0,0,0,0.35); }
.stats-bar .stat-label { color: var(--sawdust) !important; }
.site-footer { background: linear-gradient(rgba(12,11,9,0.6), rgba(12,11,9,0.6)), var(--grain-board) 0 0 / 2400px 500px, #0f0d0a !important; }
.page-hero { background:
    linear-gradient(0deg, var(--night) 0%, rgba(18,16,13,0.45) 55%, rgba(18,16,13,0.65) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(200,132,42,0.2), transparent 55%),
    var(--grain-board) 0 0 / 2400px 500px, #1d1914 !important; }
.tb-newsletter { background:
    radial-gradient(ellipse at 15% 0%, rgba(200,132,42,0.16), transparent 50%),
    linear-gradient(rgba(22,19,15,0.5), rgba(22,19,15,0.5)),
    var(--grain-board) 0 0 / 2400px 500px, #1d1914 !important; }
.tb-listenbar { background: linear-gradient(rgba(24,20,16,0.5), rgba(24,20,16,0.5)), var(--grain-board) 0 0 / 2400px 500px, #1d1914; }

/* cards read as timber panels — grain kept faint behind text */
.card, .ep-card, .guest-card, .host-full, .sponsor-tier, .form-card, .org-card, .tip-card, .testimonial,
.contact-card, .why-card, .studio-card, .social-card, .video-notify, .apply-box, .aud-stat, .ep-side-card, .featured-ep, .topic-pill {
  background: linear-gradient(rgba(26,23,19,0.9), rgba(26,23,19,0.9)), var(--grain-board) 0 0 / 2400px 500px, #1A1713 !important;
}
.featured-ep { background: linear-gradient(90deg, rgba(26,23,19,0.88), rgba(60,42,20,0.8)), var(--grain-board) 0 0 / 2400px 500px, #1A1713 !important; }

/* plank seam between sections */
.n-seam { height: 16px; background: var(--board); border-top: 1px solid rgba(200,132,42,0.3); border-bottom: 1px solid rgba(0,0,0,0.7); box-shadow: inset 0 3px 6px rgba(0,0,0,0.45); }

/* =====================================================================
   v4 — More menu, guest/sponsor profiles, news, Out & About
   ===================================================================== */
/* ---- "More" dropdown ---- */
.nav-more { position: relative; }
.nav-more-btn { background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.92rem; font-weight: 600; color: var(--sawdust); padding: 8px 12px; display: inline-flex; gap: 6px; align-items: center; }
.nav-more-btn:hover, .nav-more-btn.active, .nav-more.open .nav-more-btn { color: var(--amber); }
.nav-more-btn span { font-size: 0.7rem; transition: transform 0.2s; }
.nav-more.open .nav-more-btn span { transform: rotate(180deg); }
.nav-sub { list-style: none; position: absolute; top: calc(100% + 10px); right: 0; min-width: 210px; padding: 8px; margin: 0;
  background: linear-gradient(rgba(18,16,13,0.9), rgba(18,16,13,0.9)), var(--grain-board) 0 0 / 2400px 500px, #1d1914;
  border: 1px solid rgba(200,132,42,0.3); border-radius: var(--radius-lg); box-shadow: 0 18px 40px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 50; }
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-more.open .nav-sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 721px) { .nav-more:hover .nav-sub { opacity: 1; visibility: visible; transform: none; } }
.nav-sub a { display: block; padding: 10px 14px !important; border-radius: var(--radius); white-space: nowrap; }
.nav-sub a:hover { background: rgba(200,132,42,0.1); }
@media (max-width: 1020px) and (min-width: 721px) { .nav-links a, .nav-more-btn { padding: 8px 8px; font-size: 0.86rem; } .nav-cta { margin-left: 4px; padding: 10px 14px !important; } }
@media (max-width: 720px) {
  .nav-links { max-height: calc(100vh - 76px); overflow-y: auto; top: 76px !important; background: #15120e !important; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
  .nav-more { width: 100%; text-align: center; }
  .nav-more-btn { display: none; }
  .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; background: none !important; border: 0; box-shadow: none; padding: 0; min-width: 0; border-top: 1px solid rgba(200,132,42,0.15); margin-top: 6px; padding-top: 6px; }
  .nav-sub a { padding: 12px 0 !important; }
  .nav-sub a:hover { background: none; }
}

/* ---- Shared bits ---- */
.tb-empty { grid-column: 1 / -1; text-align: center; padding: 64px 24px; border: 1px dashed rgba(200,132,42,0.3); border-radius: var(--radius-lg); color: var(--smoke); }
.tb-empty h3 { color: var(--cream-light); margin-bottom: 10px; }
.tb-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tb-filter:empty { display: none; }
.n-tile-kicker { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--night); background: var(--amber); padding: 3px 9px; border-radius: 3px; margin-bottom: 10px; align-self: flex-start; }
.n-tile .n-tile-badge { position: absolute; top: 20px; left: 20px; background: rgba(18,16,13,0.8); color: var(--sawdust); font-size: 0.75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(200,132,42,0.3); z-index: 2; }

/* ---- Guest cards ---- */
.tb-guests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tb-guests .n-tile { min-height: 440px; }
.tb-guests .n-tile > img { object-position: 50% 20%; }
.tb-guests .n-tile h3, .tb-profile-hero h1, .n-tile h3 { overflow-wrap: anywhere; }
.tb-guest-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.tb-guest-bio { font-size: 0.9rem; color: var(--sawdust); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tb-more-link { font-size: 0.85rem; font-weight: 700; color: var(--amber); }

/* ---- Partner (sponsor) cards ---- */
.tb-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tb-partner { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(200,132,42,0.2); color: var(--cream); text-decoration: none; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  background: linear-gradient(rgba(26,23,19,0.9), rgba(26,23,19,0.9)), var(--grain-board) 0 0 / 2400px 500px, #1A1713; }
.tb-partner:hover { transform: translateY(-4px); border-color: rgba(200,132,42,0.55); box-shadow: 0 0 40px rgba(200,132,42,0.18); color: var(--cream); }
.tb-partner.featured { grid-column: span 2; border-color: rgba(200,132,42,0.5); }
.tb-logo-plate { height: 170px; display: grid; place-items: center; padding: 28px; background: radial-gradient(ellipse at 50% 120%, rgba(200,132,42,0.2), transparent 70%), rgba(0,0,0,0.25); border-bottom: 1px solid rgba(200,132,42,0.15); }
.tb-partner.featured .tb-logo-plate { height: 220px; }
.tb-logo-plate img { max-width: 80%; max-height: 100%; object-fit: contain; }
.tb-logo-text { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.95; color: var(--cream-light); text-align: center; letter-spacing: 0.02em; }
.tb-partner-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tb-partner-tier { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.tb-partner h3 { font-size: 1.9rem; color: var(--cream-light); margin: 0; }
.tb-partner p { font-size: 0.9rem; color: var(--sawdust); margin: 0; }
.tb-partner .tb-more-link { margin-top: auto; padding-top: 8px; }
.tb-partner.cta { border-style: dashed; justify-content: center; align-items: center; text-align: center; padding: 36px 24px; gap: 10px; background: rgba(200,132,42,0.05); }
.tb-partner.cta h3 { font-size: 1.8rem; }

/* home "backed by" strip */
.tb-backers { padding: 44px 0 !important; border-top: 1px solid rgba(200,132,42,0.15); border-bottom: 1px solid rgba(200,132,42,0.15); background: var(--night-2); }
.tb-backers .container { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.tb-backers .eyebrow { margin: 0; flex-shrink: 0; }
.tb-backers-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex: 1; }
.tb-backer { display: flex; align-items: center; justify-content: center; height: 64px; min-width: 150px; padding: 10px 22px; border-radius: var(--radius); border: 1px solid rgba(240,232,216,0.1); background: rgba(0,0,0,0.25); color: var(--sawdust); text-decoration: none; transition: border-color 0.2s, color 0.2s; }
.tb-backer:hover { border-color: var(--amber); color: var(--amber); }
.tb-backer img { max-height: 42px; max-width: 150px; object-fit: contain; }
.tb-backer span { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0.04em; line-height: 1; }
.tb-backers .btn { margin-left: auto; }

/* ---- Profile pages (guest / sponsor / article / visit) ---- */
.tb-profile-hero { position: relative; overflow: hidden; margin-top: -76px; padding: 170px 0 64px; background: var(--night); }
.tb-profile-hero .ep-bg { position: absolute; inset: 0; z-index: 0; }
.tb-profile-hero .ep-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(0.4) brightness(0.35) blur(3px); transform: scale(1.06); }
.tb-profile-hero::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--night) 8%, rgba(18,16,13,0.55) 65%, rgba(18,16,13,0.35)), linear-gradient(0deg, var(--night), transparent 55%); }
.tb-profile-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: end; }
.tb-profile-hero.no-portrait .container { grid-template-columns: 1fr; }
.tb-portrait { width: 300px; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid rgba(200,132,42,0.6); box-shadow: 0 0 60px rgba(200,132,42,0.25); background: #000; }
.tb-portrait img { width: 100%; height: 100%; object-fit: cover; }
.tb-portrait.logo { aspect-ratio: 1; display: grid; place-items: center; padding: 28px; background: radial-gradient(ellipse at 50% 120%, rgba(200,132,42,0.25), transparent 70%), #15120e; }
.tb-portrait.logo img { object-fit: contain; }
.tb-portrait .tb-logo-text { font-size: 3.2rem; }
.tb-profile-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.8rem); max-width: 900px; margin: 10px 0 14px; }
.tb-profile-sub { color: var(--sawdust); font-size: 1.05rem; margin-bottom: 18px; max-width: 640px; }
.tb-profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tb-prose { font-size: 1.04rem; color: var(--sawdust); max-width: 720px; }
.tb-prose p { margin: 0 0 1.1em; }
.tb-prose h2 { font-size: 2.4rem; margin: 1.4em 0 0.5em; color: var(--cream-light); }
.tb-prose h3 { font-family: var(--font-display); font-size: 1.8rem; margin: 1.3em 0 0.4em; color: var(--cream-light); }
.tb-prose ul, .tb-prose ol { margin: 0 0 1.2em 1.3em; }
.tb-prose li { margin-bottom: 0.4em; }
.tb-prose blockquote { border-left: 3px solid var(--amber); padding: 6px 0 6px 20px; margin: 1.4em 0; font-size: 1.2rem; color: var(--cream); font-style: italic; }
.tb-prose img { max-width: 100%; border-radius: var(--radius-lg); margin: 1em 0; }
.tb-prose a { text-decoration: underline; text-underline-offset: 3px; }
.tb-offer { border: 2px dashed rgba(200,132,42,0.55); border-radius: var(--radius-lg); padding: 20px 22px; background: rgba(200,132,42,0.07); margin-bottom: 28px; }
.tb-offer strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--amber); letter-spacing: 0.03em; margin-bottom: 4px; }
.tb-offer p { margin: 0; color: var(--cream); }
.tb-section-title { font-size: 2.6rem; margin: 56px 0 20px; }

/* gallery + lightbox */
.tb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tb-gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: #000; cursor: zoom-in; }
.tb-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, filter 0.3s; filter: brightness(0.92); }
.tb-gallery figure:hover img { transform: scale(1.05); filter: none; }
.tb-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 0.8rem; color: var(--cream); background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent); }
.tb-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.tb-video { margin: 0; }
.tb-video .tb-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid rgba(200,132,42,0.2); }
.tb-video iframe, .tb-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tb-video figcaption { font-size: 0.85rem; color: var(--smoke); margin-top: 8px; }
.tb-video-link { display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%; color: var(--cream); font-weight: 700; }
.tb-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,7,5,0.94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 40px 70px; }
.tb-lightbox.open { display: flex; }
.tb-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.tb-lightbox p { color: var(--sawdust); margin-top: 14px; text-align: center; }
.tb-lightbox button { position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--cream); width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.tb-lightbox button:hover { background: var(--amber); color: var(--night); }
.tb-lb-close { top: 20px; right: 20px; } .tb-lb-prev { left: 14px; top: 50%; } .tb-lb-next { right: 14px; top: 50%; }

@media (max-width: 960px) {
  .tb-guests, .tb-partners { grid-template-columns: 1fr 1fr; }
  .tb-profile-hero .container { grid-template-columns: 220px 1fr; gap: 32px; }
  .tb-portrait { width: 220px; }
}
@media (max-width: 720px) {
  .tb-guests, .tb-partners { grid-template-columns: 1fr; }
  .tb-partner.featured { grid-column: auto; }
  .tb-profile-hero { padding: 120px 0 40px; }
  .tb-profile-hero .container { grid-template-columns: 1fr; gap: 24px; }
  .tb-portrait { width: 180px; }
  .tb-videos { grid-template-columns: 1fr; }
  .tb-backers .btn { margin-left: 0; }
  .tb-lightbox { padding: 60px 12px; }
  .tb-lb-prev, .tb-lb-next { top: auto; bottom: 16px; }
}
