/* Matt Philie, YouTube page. Layout: a video watch page. */
:root{
  --bg:#ffffff;--fg:#0f0f0f;--muted:#606060;--surface:#f2f2f2;--surface-2:#e5e5e5;
  --red:#ff0033;--player:#0f0f0f;--link:#065fd4;
  --font:"Roboto Flex","Roboto",Arial,Helvetica,sans-serif;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#0f0f0f;--fg:#f1f1f1;--muted:#aaaaaa;--surface:#272727;--surface-2:#3a3a3a;--player:#000000;--link:#3ea6ff;color-scheme:dark}}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--fg);font-family:var(--font);font-size:18px;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:inherit}
:focus-visible{outline:2px solid var(--red);outline-offset:2px;border-radius:4px}
h1,h2,h3,p{margin:0}

.scrub{position:fixed;top:0;left:0;right:0;height:3px;z-index:30}
.scrub i{position:absolute;left:0;top:0;bottom:0;width:0;background:var(--red)}

.topbar{position:sticky;top:0;z-index:20;background:var(--bg);padding:12px 24px;border-bottom:1px solid var(--surface-2)}
.topbar-inner{max-width:1360px;width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:18px;letter-spacing:-.02em;text-decoration:none;white-space:nowrap}
.brand .dot{width:28px;height:20px;border-radius:6px;background:var(--fg);display:grid;place-items:center}
.brand .dot svg{width:10px;height:10px;fill:var(--bg)}
.links{display:flex;align-items:center;gap:clamp(12px,2.4vw,28px);font-weight:600;font-size:15px}
.links a:not(.pill){text-decoration:none;color:var(--muted)}
.links a:not(.pill):hover{color:var(--fg)}
.links a.active{color:var(--fg)}

.page{max-width:1360px;margin:0 auto;padding:20px 24px 96px}

.player{position:relative;aspect-ratio:16/9;max-width:100%;background:var(--player);border-radius:12px;overflow:hidden;color:#fff;isolation:isolate}
.player .face{position:absolute;right:0;top:0;bottom:0;width:58%;background-size:cover;background-position:center 30%;z-index:-2}
.player .face img{display:block;width:100%;height:100%;object-fit:cover}
.player::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0f0f0f 38%,rgba(15,15,15,.75) 55%,rgba(15,15,15,0) 85%)}
.player .title{position:absolute;left:clamp(18px,5%,56px);top:50%;transform:translateY(-58%);max-width:58%}
.player .title .hero-headline{display:block;margin:0;color:#fff;font-weight:900;font-stretch:80%;font-size:clamp(30px,5.4vw,58px);line-height:.95;letter-spacing:-.02em;text-wrap:balance}
.player .title .hero-subtext{display:block;margin:clamp(10px,1.4vw,18px) 0 0;color:#d9d9d9;font-size:clamp(15px,1.35vw,19px)}
.host-play{position:absolute;left:74%;top:50%;z-index:3;display:grid;place-items:center;width:72px;height:72px;padding:0;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(0,0,0,.55);color:#fff;cursor:pointer;transition:opacity .25s,background .2s}
.host-play:hover{background:rgba(0,0,0,.8)}
.host-play svg{width:32px;height:32px;fill:currentColor}
.host-player iframe{position:absolute;inset:0;z-index:4;width:100%;height:100%;border:0;opacity:0;transition:opacity .3s}
.host-player.host-playing .face,.host-player.host-playing .title,.host-player.host-playing .host-play{opacity:0;pointer-events:none}
.host-player.host-playing .controls{opacity:0;pointer-events:none}
.host-player.host-playing iframe{opacity:1}
.controls{position:absolute;left:0;right:0;bottom:0;padding:0 12px 8px;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,0))}
.controls .bar{position:relative;height:4px;background:rgba(255,255,255,.3);margin:0 0 8px}
.controls .bar .buf{position:absolute;left:0;top:0;bottom:0;width:46%;background:rgba(255,255,255,.45)}
.controls .bar .fill{position:absolute;left:0;top:0;bottom:0;width:4%;background:var(--red)}
.controls .bar .fill::after{content:"";position:absolute;right:-6px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:var(--red)}
.controls .row{display:flex;align-items:center;gap:14px;font-size:14px;color:#eee}
.controls svg{width:22px;height:22px;fill:#fff;display:block}
.controls .spacer{flex:1}

.vtitle{font-size:clamp(20px,2.2vw,24px);font-weight:700;line-height:1.35;margin-top:20px;letter-spacing:-.005em}
.owner{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:16px}
.owner .who{display:flex;align-items:center;gap:12px;margin-right:8px}
.owner .who img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.owner .who b{display:block;font-size:18px;line-height:1.2}
.owner .who span{display:block;font-size:15px;line-height:1.2;color:var(--muted)}
.owner .stats{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.owner .stats .pill{cursor:default;font-weight:500}
.pill{display:inline-flex;align-items:center;gap:8px;border-radius:40px;padding:0 16px;height:36px;font-weight:600;font-size:14px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;white-space:nowrap}
.pill.dark{background:var(--fg);color:var(--bg)}
.pill.soft{background:var(--surface);color:var(--fg)}
a.pill.soft:hover{background:var(--surface-2)}
.pill svg{width:18px;height:18px;fill:currentColor}

.desc{background:var(--surface);border-radius:12px;padding:40px;margin-top:20px}
.desc .meta{font-weight:700;font-size:26px;line-height:1.3}
.facts-list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:16px}
.facts-list li{font-size:20px;line-height:1.65;padding-left:16px;border-left:3px solid var(--surface-2)}

.chapter{margin-top:120px;scroll-margin-top:72px}
.chapter h2{font-size:clamp(34px,3.4vw,44px);font-weight:800;font-stretch:90%;letter-spacing:-.015em;line-height:1.15}
.chapter .lede{color:var(--muted);font-size:19px;line-height:1.6;margin-top:12px}

.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;margin-top:32px}
.vcard{display:block;min-width:0;text-decoration:none}
.thumb{position:relative;aspect-ratio:16/9;max-width:100%;border-radius:12px;background:var(--surface);display:grid;place-items:center;text-align:center;color:var(--muted);font-size:14px;padding:12px;overflow:hidden}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.thumb iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.thumb .dur{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.8);color:#fff;font-size:14px;font-weight:600;padding:1px 5px;border-radius:4px}
button.thumb{width:100%;border:0;cursor:pointer;font-family:inherit}
button.thumb .playbtn{position:relative;width:56px;height:40px;border-radius:12px;background:rgba(0,0,0,.7);display:grid;place-items:center;transition:background .15s}
button.thumb:hover .playbtn{background:var(--red)}
button.thumb .playbtn svg{width:20px;height:20px;fill:#fff}
.vcard .info{display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;margin-top:12px}
.av{width:36px;height:36px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;font-weight:700;font-size:14px;color:var(--fg);overflow:hidden;object-fit:cover}
.vcard h3{font-size:17px;font-weight:600;line-height:1.35}
.vcard h3 a{text-decoration:none}
.vcard h3 a:hover{text-decoration:underline}
.vcard .by{font-size:15px;color:var(--muted);margin-top:3px}

.comments .ch{display:flex;align-items:center;gap:20px;font-size:18px;font-weight:700;margin-top:44px}
.comments .ch span{font-size:15px;font-weight:500;color:var(--muted)}
.comments-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,auto);grid-auto-flow:column;column-gap:32px}
.cmt{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;margin-top:24px}
.cmt .av{width:40px;height:40px}
.cmt .h{font-size:15px;font-weight:600}
.cmt .h span{color:var(--muted);font-weight:400;margin-left:4px}
.cmt .h a{color:inherit}
.cmt p{margin-top:2px}
.cmt.pinned{grid-template-columns:56px minmax(0,1fr);column-gap:16px;align-items:start}
.cmt.pinned .av{width:56px;height:56px;margin-top:20px}
.cmt.pinned .pinlabel{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-bottom:2px}
.cmt.pinned .pinlabel svg{width:14px;height:14px;fill:currentColor}
.cmt.pinned .h{display:block;font-size:16px;font-weight:700}
.cmt.pinned p{white-space:pre-line;font-size:20px;line-height:1.5}
.cmt.pinned .btns .pill{font-size:16px}
.cmt .btns{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.email-copy{display:inline-flex;align-items:center;gap:6px;margin-left:4px;color:var(--muted);font-size:16px}
.email-copy button{display:grid;place-items:center;width:28px;height:28px;padding:5px;border:0;border-radius:6px;background:var(--surface);color:var(--fg);cursor:pointer}
.email-copy button:hover,.email-copy button.copied{background:var(--surface-2)}
.email-copy svg{width:16px;height:16px;fill:currentColor}
.contact-modal{width:min(480px,calc(100% - 32px));padding:0;border:0;border-radius:14px;background:var(--surface);color:var(--fg);box-shadow:0 20px 80px #000}
.contact-modal [hidden]{display:none}
.contact-modal::backdrop{background:rgba(0,0,0,.75)}
.contact-dialog{position:relative;max-height:min(760px,calc(100vh - 48px));overflow-y:auto;padding:32px}
.contact-open{overflow:hidden}
.contact-close{position:absolute;right:18px;top:12px;border:0;background:none;color:var(--muted);font-size:32px;cursor:pointer}
.contact-direct{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding-right:28px}.contact-direct h2{width:100%;font-size:22px;margin:0}.contact-direct span{color:var(--muted);font-size:15px}
.contact-copy{border:0;border-radius:6px;background:var(--surface-2);color:var(--fg);padding:5px 9px;cursor:pointer;font:inherit;font-size:13px}
.contact-or{border-top:1px solid var(--surface-2);padding-top:16px;margin:24px 0 16px;color:var(--muted);font-size:14px}.contact-fields{display:grid;gap:16px}.contact-fields label{display:grid;gap:6px;font-size:14px;font-weight:600}
.contact-fields input:not(.contact-hp),.contact-fields select,.contact-fields textarea{width:100%;height:44px;border:1px solid var(--surface-2);border-radius:7px;background:var(--bg);color:var(--fg);font-size:16px;font-weight:400;font-family:inherit;padding:10px}
.contact-fields textarea{height:120px;resize:vertical}.contact-hp{position:absolute;left:-9999px}.contact-error{color:#ff8c8c;margin:0;font-size:14px}
.contact-fields [type="submit"]{width:auto;justify-self:start;height:44px;padding-inline:24px;font-size:17px;letter-spacing:.01em}
.contact-fields input:-webkit-autofill,.contact-fields textarea:-webkit-autofill{-webkit-text-fill-color:var(--fg);-webkit-box-shadow:0 0 0 1000px var(--bg) inset;transition:background-color 9999s ease-in-out 0s}
.contact-success{text-align:center;padding:20px 0 8px}.contact-check{display:grid;place-items:center;width:40px;height:40px;margin:0 auto 16px;border:1px solid var(--surface-2);border-radius:50%;color:var(--muted);font-size:20px}.contact-success h2{font-size:22px;margin:0}.contact-success p{margin:8px 0 24px;color:var(--muted);font-size:16px}.contact-spinner{display:inline-block;width:14px;height:14px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:contact-spin .7s linear infinite}@keyframes contact-spin{to{transform:rotate(360deg)}}

.channel{border-radius:12px;overflow:hidden;background:var(--surface);margin-top:28px}
.channel .banner{height:96px;background:linear-gradient(110deg,#1a1a1a,#3b3b3b 60%,#1a1a1a);background-size:cover;background-position:center}
.channel .body{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;padding:0 22px 22px}
.channel .big-av{width:96px;height:96px;border-radius:50%;background:var(--fg);color:var(--bg);display:grid;place-items:center;font-size:40px;font-weight:900;margin-top:-36px;border:4px solid var(--surface);object-fit:cover}
.channel h3{font-size:24px;font-weight:800;margin-top:12px;letter-spacing:-.01em}
.channel h3 a{text-decoration:none}
.channel .handle{font-size:15px;color:var(--muted);margin-top:2px}
.channel .about{margin-top:10px}
.creator-videos{margin-top:32px}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:16px}
.fact{background:var(--bg);border-radius:10px;padding:12px 14px}
.fact b{display:block;font-size:22px;font-weight:800;font-stretch:85%;line-height:1.1}
.fact span{font-size:15px;color:var(--muted)}
.brand-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px;align-items:stretch}
.brand-section .lede{max-width:none;white-space:nowrap}
.brand-stats,.owned{background:var(--surface);border-radius:12px;padding:32px}
.brand-stats{display:flex;flex-direction:column;justify-content:space-between;gap:0;margin-top:0}
.brand-stats .fact{background:transparent;border-radius:0;padding:0}
.brand-stats .fact + .fact{border-top:1px solid var(--surface-2);padding-top:20px;margin-top:20px}
.brand-stats .fact b{font-size:52px;line-height:1;white-space:nowrap}
.brand-stats .fact span{font-size:16px}
.owned{margin-top:0}
.owned h3{font-size:20px;font-weight:700}
.owned-list{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:16px}
.owned-list li{font-size:18px;line-height:1.5}
.owned-list li{padding-left:20px;position:relative}
.owned-list li::before{content:"";position:absolute;left:0;top:.65em;width:7px;height:7px;border-radius:50%;background:var(--red)}
.brand-section>.grid{margin-top:64px}
.brand-section .comments .ch{margin-top:64px}

.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:28px}
.host-brands .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.ccard{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center;background:var(--surface);border-radius:12px;padding:20px;text-decoration:none}
a.ccard:hover{background:var(--surface-2)}
.ccard .av{width:64px;height:64px;font-size:22px}
.ccard h3{font-size:17px;font-weight:700}
.ccard .subs{font-size:15px;color:var(--muted)}
.ccard .did{margin-top:6px;font-size:15px}

.hostcard{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:28px;align-items:center;text-decoration:none;background:var(--surface);border-radius:12px;padding:16px;margin-top:28px}
.hostcard .thumb{padding:0}
.hostcard h3{font-size:20px;font-weight:700}
.hostcard p{color:var(--muted);margin:8px 0 16px}
.hostcard .pill{background:var(--bg)}
.hostcard:hover .pill{background:var(--surface-2)}
.work-media{position:relative;width:100%;aspect-ratio:16/9;border:0;border-radius:12px;background:var(--surface);display:grid;place-items:center;overflow:hidden;color:var(--muted);cursor:pointer;font-family:inherit;padding:0}
.work-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.work-media .work-thumb-bg{filter:blur(24px) brightness(.4);transform:scale(1.12)}
.work-media.vertical .work-thumb{object-fit:contain;z-index:1}
.work-media.vertical .playbtn,.work-media.vertical .dur{z-index:2}
.work-title{min-width:0}
.work-item[hidden]{display:none}
.host-load-more{display:none;border:0;cursor:pointer;margin:24px auto 0}
.host-load-more[hidden]{display:none}
.work-media .dur{position:absolute;right:8px;bottom:8px;background:rgba(0,0,0,.8);color:#fff;font-size:14px;font-weight:600;padding:1px 5px;border-radius:4px}
.work-media .playbtn{position:relative;z-index:1;width:56px;height:40px;border-radius:12px;background:rgba(0,0,0,.7);display:grid;place-items:center;transition:background .15s}
.work-media:hover .playbtn{background:var(--red)}
.work-media .playbtn svg{width:20px;height:20px;fill:#fff}
.reason-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}
.reason-card{background:var(--surface);border-radius:12px;padding:28px}
.reason-card h3{font-size:22px;line-height:1.25}
.reason-card p{font-size:17px;line-height:1.6;color:var(--muted);margin-top:14px}
.camera-grid{margin-bottom:28px}
.camera-heading{display:block;padding-top:24px}
.camera-heading .lede{margin-top:12px}
.camera-cta-tile{aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;gap:12px;position:relative;background:var(--player);border:1px solid var(--surface-2);border-radius:12px;color:var(--fg);text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.camera-cta-tile:hover{background:var(--surface);border-color:#555;transform:translateY(-2px)}
.camera-cta-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #666;border-radius:50%}
.camera-cta-icon svg{width:20px;height:20px;fill:currentColor}
.camera-cta-label{font-size:17px;font-weight:700}
.camera-cta-arrow{font-size:26px;line-height:1;margin-left:4px}
.lightbox{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.86);display:grid;place-items:center;padding:clamp(16px,5vw,64px)}
.lightbox[hidden]{display:none}
.lightbox-frame{width:min(100%,1000px);aspect-ratio:16/9;background:#000;box-shadow:0 20px 80px rgba(0,0,0,.5)}
.lightbox-frame.vertical{width:min(100%,420px);aspect-ratio:9/16}
.lightbox-frame iframe{width:100%;height:100%;border:0}
.lightbox-frame video{display:block;width:100%;height:100%;object-fit:contain}
.lightbox-close{position:absolute;right:20px;top:14px;border:0;background:none;color:#fff;font-size:38px;line-height:1;cursor:pointer}
body.lightbox-open{overflow:hidden}
.site-footer{width:100%;background:var(--player);color:#cfcfcf;margin-top:0}
.footer-inner{max-width:1360px;margin:0 auto;padding:48px 24px 20px;display:grid;grid-template-columns:1fr auto;gap:28px 64px}
.footer-brand{display:flex;align-items:center;gap:8px;color:#fff;font-size:20px;font-weight:700}
.footer-brand .dot{width:28px;height:20px;border-radius:6px;background:#fff;display:grid;place-items:center}
.footer-brand .dot svg{width:10px;height:10px;fill:var(--player)}
.footer-about p{margin-top:8px;font-size:15px}
.footer-links{display:flex;flex-wrap:wrap;align-content:start;justify-content:flex-end;gap:10px 24px;padding-top:4px}
.footer-links a{color:#fff;font-size:15px;text-decoration:none}
.footer-links a:hover{text-decoration:underline}
.footer-links-wrap{text-align:right}
.footer-location{margin:12px 0 0;font-size:15px}
.footer-bottom{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.18);padding-top:16px;font-size:15px;color:#aaa}

@media (max-width:639px){
  .contact-modal{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0}
  .contact-dialog{min-height:100%;max-height:none;padding:36px 20px;overflow-y:auto}
  .topbar{padding-inline:16px}
  .page{padding-inline:16px}
  .links a:not(.pill){display:none}
  .grid{grid-template-columns:1fr}
  .player{aspect-ratio:4/5}
  .player .face{position:absolute;inset:0;width:100%;height:100%;background-position:center top}
  .player .face img{object-position:center top !important}
  .player::before{background:linear-gradient(to bottom,rgba(0,0,0,0) 25%,rgba(0,0,0,.85) 100%)}
  .player .title{left:18px;right:18px;bottom:72px;top:auto;transform:none;max-width:none}
  .player .title .hero-headline{font-size:34px}
  .player .title .hero-subtext{font-size:16px}
  .host-play{width:58px;height:58px}
  .host-play{left:78%;top:40%}
  .host-play svg{width:26px;height:26px}
  .owner .stats{margin-left:0}
  .comments-list{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}
  .brand-section .comments-list .cmt:nth-child(n+4){display:none}
  .cards{grid-template-columns:1fr}
  .host-brands .cards{grid-template-columns:1fr}
  .host-load-more{display:flex}
  .channel .body{grid-template-columns:1fr}
  .channel .big-av{width:80px;height:80px;font-size:32px}
  .channel h3{margin-top:0}
  .hostcard{grid-template-columns:1fr}
  .desc{padding:28px}
  .facts-list li{font-size:20px}
  .chapter{margin-top:80px}
  .footer-inner{grid-template-columns:1fr;padding-inline:16px}
  .footer-links{justify-content:flex-start}
  .footer-links-wrap{text-align:left}
  .footer-bottom{grid-column:auto}
  .reason-grid{grid-template-columns:1fr}
}
@media (max-width:639px){
  .camera-grid .vcard:nth-of-type(n+4){display:none}
  .camera-cta-tile{aspect-ratio:auto;min-height:56px;border-radius:10px}
  .camera-cta-icon{width:30px;height:30px}
  .camera-cta-icon svg{width:16px;height:16px}
  .camera-cta-label{font-size:16px}
}
@media (min-width:640px) and (max-width:1024px){
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .host-brands .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-overview{display:block}
  .brand-section .lede{white-space:normal}
  .brand-stats{margin-top:24px}
}
@media (max-width:639px){
  .brand-overview{display:block}
  .brand-section .lede{white-space:normal}
  .brand-stats{margin-top:24px}
  .brand-stats .fact b{font-size:clamp(36px,10vw,52px)}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
