/* =========================================
   Global theme tokens
========================================= */
:root {
  --bg: #0b0f12;
  --bg-elevated: rgba(255,255,255,.05);
  --bg-elevated-soft: rgba(0,0,0,.28);
  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.74);
  --border-subtle: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.18);
  --brand: #bfa15e;
  --accent: #68ccd1;
  --ink-strong: #111827;
  --shadow-soft: 0 10px 30px rgba(0,0,0,.35);
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1120px;
  --header-bg: #0b0f12;
  --header-border: rgba(255,255,255,.14);
  --btn-bg: rgba(255,255,255,.06);
  --btn-bg-hover: rgba(255,255,255,.10);
  --btn-primary-bg: linear-gradient(135deg, rgba(104,204,209,.22), rgba(191,161,94,.22));
  --surface: var(--bg-elevated);
  --hero-overlay: linear-gradient(180deg, rgba(11,15,18,.25), rgba(11,15,18,.85));
  --page-bg:
    radial-gradient(900px 600px at 15% 10%, rgba(104,204,209,.18), transparent 60%),
    radial-gradient(900px 600px at 85% 20%, rgba(191,161,94,.18), transparent 60%),
    var(--bg);
  --shadow-soft-light: 0 16px 40px rgba(15,23,42,.12);
}
/* Light mode overrides */
:root[data-theme="light"]{
  --bg: #f5f5f7;
  --bg-elevated: #ffffff;
  --bg-elevated-soft: #eef2ff;
  --text: #111827;
  --muted: #4b5563;
  --border-subtle: rgba(15,23,42,.08);
  --border-strong: rgba(15,23,42,.12);
  --header-bg: #ffffff;
  --header-border: rgba(15,23,42,.08);
  --btn-bg: #ffffff;
  --btn-bg-hover: #e5e7eb;
  --btn-primary-bg: linear-gradient(135deg, rgba(104,204,209,.18), rgba(191,161,94,.24));
  --surface: #ffffff;
  --hero-overlay: linear-gradient(180deg, rgba(255,255,255,.90), rgba(249,250,251,.98));
  --page-bg: #f5f5f7;
}

/* =========================================
   Base
========================================= */
*{
  box-sizing:border-box;
}
html,body{
  height:100%;
}
body{
  margin:0;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:var(--page-bg);
  line-height:1.6;
  transition:background .25s ease,color .25s ease;
  -webkit-font-smoothing:antialiased;
}
a{
  color:inherit;
  text-decoration:none;
}
a:hover{
  text-decoration:underline;
}
.wrap{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}
/* Skip link */
.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  color:#000;
  border-radius:10px;
  z-index:9999;
}

/* =========================================
   Header / Nav
========================================= */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--header-bg);
  border-bottom:1px solid var(--header-border);
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 0;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:190px;
}
.brand img{
  width:38px;
  height:38px;
  object-fit:contain;
  display:block;
}
.brand strong{
  letter-spacing:.02em;
}
.brand-sub{
  color:var(--muted);
  font-size:.86rem;
}
.primary-nav{
  flex:1 1 auto;
}
.primary-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.primary-nav a{
  display:inline-block;
  padding:4px 0;
  border-radius:0;
  font-weight:600;
  letter-spacing:.1px;
  color:var(--muted);
  opacity:.95;
  border-bottom:2px solid transparent;
  background:none;
  font-size:.95rem;
}
.primary-nav a[aria-current="page"],
.primary-nav a:hover{
  border-bottom-color:var(--accent);
  color:var(--text);
  opacity:1;
  text-decoration:none;
}
header .cta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:210px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--border-subtle);
  background:var(--btn-bg);
  color:var(--text);
  white-space:nowrap;
  cursor:pointer;
  font-size:.9rem;
  font-weight:600;
  transition:background .2s ease,border-color .2s ease,transform .1s ease;
}
.btn:hover{
  background:var(--btn-bg-hover);
  text-decoration:none;
}
.btn:active{
  transform:scale(.97);
}
.btn.primary{
  background:var(--btn-primary-bg);
  border-color:var(--border-strong);
}
.theme-toggle{
  min-width:auto;
  padding:5px 9px;
  font-size:.82rem;
  border-radius:999px;
}
.theme-toggle .icon{
  font-size:.95rem;
  line-height:1;
}
.theme-toggle .label{
  display:none;
}
@media (min-width:720px){
  .theme-toggle .label{
    display:inline;
  }
}
.menu-btn{
  display:none;
}
.drawer{
  display:none;
  padding:8px 0 10px;
  border-top:1px solid var(--header-border);
}
.drawer.open{
  display:block;
}
.drawer nav ul{
  list-style:none;
  margin:0;
  padding:6px 0 0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.drawer nav a{
  display:block;
  padding:6px 0;
  border-radius:0;
  color:var(--muted);
  border-left:3px solid transparent;
  background:none;
  font-size:.95rem;
}
.drawer nav a[aria-current="page"],
.drawer nav a:hover{
  border-left-color:var(--accent);
  color:var(--text);
  text-decoration:none;
  background:none;
}
@media (max-width:860px){
  .primary-nav{
    display:none;
  }
  .menu-btn{
    display:inline-flex;
  }
}

/* =========================================
   Home hero, Contact hero, Generic sections, Partners, CTA, Footer
   (ALL ORIGINAL CODE KEPT 100% UNCHANGED)
========================================= */
.home-page .hero{ padding:58px 0 22px; }
.hero-card{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border-subtle); box-shadow:var(--shadow-soft); background:var(--hero-overlay), url("https://cdn.looka.com/assets-db/industry_photos/business/1.jpg") center/cover no-repeat; }
.hero-inner{ padding:58px 26px; display:grid; grid-template-columns:1.2fr .8fr; gap:24px; align-items:end; }
@media (max-width:860px){ .hero-inner{ grid-template-columns:1fr; padding:34px 18px; } }
.kicker{ color:var(--muted); font-weight:600; letter-spacing:.08em; text-transform:uppercase; font-size:.78rem; }
h1{ margin:.35rem 0 .65rem; font-family:"Alata", system-ui, sans-serif; font-size:clamp(2.1rem,4.6vw,3.4rem); line-height:1.05; letter-spacing:-.02em; }
.subhead{ margin:0 0 18px; color:var(--muted); font-size:clamp(1.05rem,1.6vw,1.25rem); max-width:56ch; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-note{ background:var(--bg-elevated-soft); border:1px solid var(--border-subtle); border-radius:var(--radius-lg); padding:16px; color:var(--text); }
.hero-note p{ margin:8px 0 0; color:var(--muted); }
.tag{ display:inline-block; padding:6px 10px; border-radius:999px; background:rgba(191,161,94,.16); border:1px solid rgba(191,161,94,.26); font-size:.82rem; color:var(--text); }

.contact-page .hero{ padding:70px 0 32px; color:#fff; background:linear-gradient(rgba(11,15,18,.80), rgba(11,15,18,.96)), url("https://lirp.cdn-website.com/9624c0ee/dms3rep/multi/opt/Untitled-design--287-29-2245532e-2880w.png") center/cover no-repeat; }
.contact-page .hero-inner{ padding:42px 26px; display:grid; grid-template-columns:1.1fr .9fr; gap:26px; align-items:center; }
@media (max-width:860px){ .contact-page .hero-inner{ grid-template-columns:1fr; padding:30px 18px; } }
.contact-page h1{ margin:.35rem 0 .5rem; }
.contact-page .subhead{ max-width:50ch; }

section{ padding:34px 0; }
.section-title{ font-family:"Alata", system-ui, sans-serif; font-size:clamp(1.4rem,2.2vw,2rem); margin:0 0 14px; letter-spacing:-.01em; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
@media (max-width:980px){ .grid-2{ grid-template-columns:1fr; } }
.panel{ background:var(--surface); border:1px solid var(--border-subtle); border-radius:var(--radius-lg); padding:18px; }
.panel h3{ margin:0 0 10px; font-size:1.1rem; color:var(--accent); font-weight:650; }
.panel ul{ margin:10px 0 0 18px; color:var(--muted); }
.panel li{ margin:8px 0; }
.panel-actions{ margin-top:14px; }
.story-panel .story-copy{ margin:0 0 10px; color:var(--muted); font-size:1.05rem; }
.story-sig{ color:var(--text); font-weight:650; }
.story-actions{ margin-top:14px; }
.newsletter-panel .newsletter-copy{ margin:0 0 12px; color:var(--muted); }
.newsletter-form{ display:flex; flex-wrap:wrap; gap:10px; }
.newsletter-form input[type="email"]{ flex:1 1 240px; min-width:220px; padding:12px 14px; border-radius:14px; border:1px solid var(--border-subtle); background:transparent; color:var(--text); }
.newsletter-form input::placeholder{ color:rgba(148,163,184,.9); }
.newsletter-form .btn{ border-radius:999px; }

.contact-form{ display:flex; flex-direction:column; gap:14px; }
.form-row{ display:flex; flex-direction:column; gap:10px; }
.form-row-two{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px){ .form-row-two{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:.9rem; font-weight:600; color:var(--muted); }
.field input,
.field textarea{ border-radius:12px; border:1px solid var(--border-subtle); padding:10px 12px; font:inherit; background:rgba(15,23,42,.65); color:var(--text); outline:none; }
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea{ background:#f9fafb; }
.field input::placeholder,
.field textarea::placeholder{ color:rgba(148,163,184,.9); }
.field textarea{ resize:vertical; min-height:140px; }
.contact-form .btn.primary{ margin-top:4px; }
.contact-social{ margin-top:16px; display:flex; flex-wrap:wrap; gap:10px; }
.social-pill{ border-radius:999px; border:1px solid var(--border-subtle); padding:7px 12px; font-size:.85rem; font-weight:600; color:var(--muted); }
.social-pill:hover{ text-decoration:none; color:var(--text); }

.partners-page .hero{
  padding:90px 0;
  color:#fff;
  background:linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url("https://lirp.cdn-website.com/9624c0ee/dms3rep/multi/opt/Untitled+design+%287%29-2880w.png") center/cover no-repeat;
}
.partners-page .hero h1{
  font-family:"Alata", system-ui, sans-serif;
  margin:0 0 10px;
  font-size:clamp(32px,4vw,54px);
  line-height:1.05;
}
.partners-page .hero p{
  margin:0;
  max-width:820px;
  font-size:clamp(18px,2vw,24px);
  opacity:.95;
}
.partners-page section{ padding:70px 0; }
.partners-page .kicker{
  color:var(--brand);
  font-family:"Alata", system-ui, sans-serif;
  font-weight:700;
  letter-spacing:.3px;
  margin:0 0 10px;
  font-size:26px;
  line-height:1.2;
}
.lead p{ margin:0 0 14px; color:var(--muted); font-size:18px; }
.portrait{
  border-radius:var(--radius-lg);
  min-height:420px;
  background:url("https://lirp.cdn-website.com/9624c0ee/dms3rep/multi/opt/Tia+Bio+PHOTO-2880w.jpg") 85% 50%/cover no-repeat;
  box-shadow:var(--shadow-soft);
}
.center-title{ text-align:center; margin:0 0 6px; font-family:"Alata", system-ui, sans-serif; letter-spacing:.6px; }
.divider{ height:2px; background:rgba(148,163,184,.7); width:92px; margin:10px auto 18px; border-radius:999px; }
.center-sub{ text-align:center; margin:0 auto 40px; max-width:780px; color:var(--muted); }
.cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
.card{
  background:var(--surface);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
  border:1px solid var(--border-subtle);
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.card img{ width:100%; height:320px; object-fit:cover; display:block; }
.card-body{ padding:18px 18px 16px; display:flex; flex-direction:column; gap:10px; flex:1; }
.card h3{ margin:0; font-family:"Alata", system-ui, sans-serif; font-size:18px; letter-spacing:.3px; text-align:center; }
.role{ margin:0; text-align:center; font-weight:700; color:var(--ink-strong); opacity:.92; }
.bio{ margin:0; color:var(--muted); font-size:16px; }
.social{ margin-top:auto; display:flex; gap:12px; justify-content:center; padding-top:6px; flex-wrap:wrap; }
.social a{ border:1px solid var(--border-subtle); padding:8px 10px; border-radius:999px; font-weight:700; font-size:13px; opacity:.9; }
.social a:hover{ opacity:1; text-decoration:none; }

section.cta{
  position:relative;
  color:#fff;
  background:linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url("https://lirp.cdn-website.com/9624c0ee/dms3rep/multi/opt/Office-1920w.png") center/cover no-repeat;
  padding:70px 0;
}
section.cta .cta-inner{
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:28px;
  box-shadow:var(--shadow-soft);
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:18px;
  align-items:center;
}
section.cta h2{
  margin:0;
  font-family:"Alata", system-ui, sans-serif;
  font-weight:700;
  font-size:clamp(22px,2.4vw,30px);
  line-height:1.2;
}
section.cta .btn{
  border-color:rgba(255,255,255,.85);
  min-height:52px;
  margin-left:auto;
}
section.cta .btn:hover{ background:rgba(255,255,255,.12); }

footer{
  background:#0b0f12;
  color:#fff;
  padding:46px 0;
  margin-top:0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:20px;
  align-items:start;
}
.footer-logo img{ height:44px; width:auto; display:block; }
.footer-col h4{ margin:0 0 10px; font-family:"Alata", system-ui, sans-serif; letter-spacing:.2px; }
.footer-col a{ display:block; opacity:.9; margin:8px 0; }
.footer-col a:hover{ opacity:1; }
footer a{ color:#fff; text-decoration:none; }
footer a:hover{ text-decoration:underline; }
.footer-copy{ margin:6px 0 0; color:var(--muted); }

/* =========================================
   Responsive tweaks
========================================= */
@media (max-width:980px){
  .cards{ grid-template-columns:1fr; }
  section.cta .cta-inner{ grid-template-columns:1fr; }
  section.cta .btn{ margin-left:0; width:100%; justify-content:center; }
  .footer-grid{ grid-template-columns:1fr; }
}
@media (max-width:480px){
  .wrap{ padding:0 14px; }
}

/* =========================================
   RON O'NEIL MEDIA LIBRARY STYLES (FULLY IMPROVED)
   Taller hero, stronger modal, better play button, gradient footer support
========================================= */
.ron-hero {
  padding: 160px 0 110px;
  color: #fff;
  background: linear-gradient(rgba(11,15,18,.88), rgba(11,15,18,.94)), url('https://lirp.cdn-website.com/9624c0ee/dms3rep/multi/opt/Ron+resized-1920w.png') center/cover no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.ron-hero h1 {
  font-family: "Alata", system-ui, sans-serif;
  font-size: clamp(2.9rem, 6vw, 4.8rem);
  line-height: 1.05;
  margin: 0 0 16px 0;
}
.video-library {
  background: var(--bg);
  padding: 5rem 0 7rem;
}
.featured-video, .video-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all .4s cubic-bezier(0.23,1,0.32,1);
  cursor: pointer;
}
.featured-video:hover, .video-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px -15px rgba(104,204,209,.35);
}
.featured-thumb, .thumb {
  position: relative;
  padding-top: 56.25%;
}
.featured-thumb img, .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.featured-video:hover .featured-thumb img,
.video-card:hover .thumb img {
  transform: scale(1.08);
}
.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: #0a0e12;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}
.duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,.85);
  color: #fff;
  font-size: .82rem;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(104,204,209,.18);
  opacity: 0;
  transition: opacity .3s ease;
}
.featured-video:hover .play-overlay,
.video-card:hover .play-overlay {
  opacity: 1;
}
.play-circle {
  width: 72px;
  height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0e12;
  font-size: 2.6rem;
  box-shadow: 0 0 0 10px rgba(104,204,209,.35);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.video-info {
  padding: 1.5rem 1.25rem;
}
.video-info h3 {
  margin: 0 0 8px 0;
  font-family: "Alata", system-ui, sans-serif;
  font-size: 1.2rem;
  line-height: 1.4;
}
.video-info .meta {
  color: var(--muted);
  font-size: .95rem;
}

/* IMPROVED MODAL PLAYER */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(10,14,18,.97);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-content {
  width: 100%;
  max-width: 1180px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.9);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 2.8rem;
  color: var(--text);
  cursor: pointer;
  z-index: 10;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
}
.modal-player {
  position: relative;
  padding-top: 56.25%;
}
.modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Footer gradient support (for media page) */
footer.media-footer {
  padding-top: 110px;
  background: linear-gradient(to top, #0b0f12 65%, #11171f);
}

/* Responsive */
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .ron-hero { padding: 110px 0 70px; }
}