:root {
	--cfx-ink: #101116;
	--cfx-paper: #f3f0ea;
	--cfx-line: rgba(255, 255, 255, 0.13);
	--cfx-orange: #f05a24;
	--cfx-orange-hot: #ff7b48;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cfx-ink); color: #f8f7f3; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; padding: 12px 16px; clip: auto; background: white; color: #111; }
.section-wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, 0.9); border-bottom: 1px solid var(--cfx-line); backdrop-filter: blur(18px); }
.header-inner { width: min(1320px, calc(100% - 48px)); height: 82px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; width: 142px; height: 72px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.couchyfix-nav-list { display: flex; align-items: center; gap: 38px; margin: 0; padding: 0; list-style: none; }
.couchyfix-nav-list a { color: #c9cbd2; font-size: 14px; font-weight: 700; transition: color 180ms ease; }
.couchyfix-nav-list a:hover, .couchyfix-nav-list a:focus-visible { color: white; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.back-link { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border: 1px solid var(--cfx-line); border-radius: 999px; font-size: 13px; font-weight: 700; transition: background 180ms ease, border-color 180ms ease; }
.back-link:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.3); }
.back-link svg, .menu-button svg, .search-field svg, .primary-button svg, .play-badge svg, .video-modal-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-link svg { width: 14px; height: 14px; }
.menu-button { display: none; width: 42px; height: 42px; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-button .close-icon { display: none; }
.menu-button[aria-expanded="true"] .menu-icon { display: none; }
.menu-button[aria-expanded="true"] .close-icon { display: block; }
.mobile-nav { display: none; }

.hero { min-height: 700px; padding-block: 100px 112px; display: grid; grid-template-columns: .85fr 1.35fr; align-items: center; gap: 76px; position: relative; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; left: -360px; top: 80px; border: 1px solid rgba(240,90,36,.15); border-radius: 50%; box-shadow: 0 0 110px rgba(240,90,36,.07); pointer-events: none; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 11px; color: #c6c8cf; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: var(--cfx-orange); }
.hero h1, .story-copy h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 5.7vw, 84px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.hero h1 em, .story-copy h2 em { color: var(--cfx-orange-hot); font-weight: 400; }
.hero-intro { max-width: 520px; margin: 28px 0 34px; color: #b3b6c0; font-size: 17px; line-height: 1.75; }
.primary-button { display: inline-flex; align-items: center; gap: 11px; padding: 15px 20px; background: var(--cfx-orange); border: 0; border-radius: 8px; color: white; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 35px rgba(240,90,36,.23); transition: transform 180ms ease, background 180ms ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--cfx-orange-hot); }
.primary-button svg, .play-badge svg { fill: currentColor; stroke: none; }
.hero-video { position: relative; width: 100%; aspect-ratio: 16/10; padding: 0; overflow: hidden; border: 0; border-radius: 5px 44px 5px 5px; background: #1d1e24; cursor: pointer; box-shadow: 0 38px 80px rgba(0,0,0,.38); }
.hero-video::after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.15); pointer-events: none; }
.hero-video > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms ease; }
.hero-video:hover > img { transform: scale(1.03); }
.hero-video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(5,6,10,.25) 52%, rgba(5,6,10,.94) 100%); }
.play-badge { position: absolute; left: 50%; top: 47%; z-index: 2; transform: translate(-50%, -50%); width: 74px; height: 74px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(240,90,36,.88); backdrop-filter: blur(10px); box-shadow: 0 16px 42px rgba(0,0,0,.35); transition: transform 180ms ease; }
.hero-video:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); }
.play-badge svg { width: 26px; height: 26px; margin-left: 4px; }
.hero-video-meta { position: absolute; z-index: 2; left: 42px; right: 42px; bottom: 34px; text-align: left; }
.hero-video-meta span, .card-labels span { color: var(--cfx-orange-hot); font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.hero-video-meta strong { display: block; margin-top: 9px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(24px, 3vw, 38px); line-height: 1.08; }
.hero-video-meta small { display: block; margin-top: 7px; color: #c5c7ce; font-size: 13px; }
.hero-placeholder { min-height: 430px; display: grid; place-items: center; align-content: center; gap: 12px; border: 1px solid var(--cfx-line); border-radius: 5px 44px 5px 5px; background: #050505; text-align: center; }
.hero-placeholder img { width: min(480px, 85%); }
.hero-placeholder p { margin: 0; color: #92959e; font-size: 14px; }

.library-section { padding-block: 100px 116px; background: var(--cfx-paper); color: var(--cfx-ink); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.eyebrow.dark { color: #686b74; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 67px); font-weight: 400; letter-spacing: -.045em; }
.section-heading h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5vw, 67px); font-weight: 400; letter-spacing: -.045em; }
.search-field { width: min(360px, 100%); display: flex; align-items: center; gap: 11px; padding: 12px 2px; border-bottom: 1px solid #bbb8b1; color: #73757d; }
.search-field:focus-within { border-color: var(--cfx-orange); color: var(--cfx-orange); }
.search-field svg { flex: 0 0 auto; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--cfx-ink); font-size: 14px; }
.search-field input::placeholder { color: #8b8d94; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 44px 35px; }
.filter-row button { padding: 10px 16px; border: 1px solid #d2cec7; border-radius: 999px; background: transparent; color: #62646b; font-size: 12px; font-weight: 800; cursor: pointer; transition: 160ms ease; }
.filter-row button:hover, .filter-row button:focus-visible, .filter-row button.active { border-color: var(--cfx-ink); background: var(--cfx-ink); color: white; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 22px; }
.video-card { min-width: 0; }
.card-media { position: relative; display: block; width: 100%; aspect-ratio: 16/10; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: #d6d2ca; cursor: pointer; }
.card-media > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 400ms ease, filter 400ms ease; }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(8,9,12,.65)); }
.card-media:hover > img { transform: scale(1.04); filter: brightness(.82); }
.play-badge-small { width: 48px; height: 48px; left: 50%; top: 50%; opacity: .94; }
.play-badge-small svg { width: 17px; height: 17px; }
.card-content { padding: 17px 3px 0; }
.card-labels { display: flex; gap: 12px; }
.card-labels span:last-child { color: #8b8c91; }
.card-content h3 { margin: 11px 0 7px; font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.18; font-weight: 400; letter-spacing: -.02em; }
.card-content h3 a:hover { color: var(--cfx-orange); }
.card-content p { margin: 0; color: #74767d; font-size: 13px; line-height: 1.55; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px solid #d9d5ce; border-radius: 8px; }
.empty-state h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.empty-state p { margin: 0; color: #74767d; }

.story-section { min-height: 620px; padding-block: 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.story-visual { position: relative; min-height: 400px; display: grid; place-items: center; }
.story-visual::before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, rgba(69,111,167,.2), rgba(240,90,36,.08) 44%, transparent 70%); }
.story-logo { position: relative; z-index: 1; display: block; width: min(480px, 100%); max-height: 390px; object-fit: contain; filter: drop-shadow(0 24px 55px rgba(0,0,0,.38)); }
.story-copy h2 { font-size: clamp(43px, 5vw, 69px); }
.story-copy h2 em { color: #a892ff; }
.story-copy > p:not(.eyebrow) { max-width: 570px; margin: 29px 0; color: #afb2bc; font-size: 16px; line-height: 1.75; }
.story-copy > a { display: inline-flex; align-items: center; gap: 10px; color: white; font-size: 13px; font-weight: 900; border-bottom: 1px solid #7e68da; padding-bottom: 7px; }
.story-copy > a span { transition: transform 180ms ease; }
.story-copy > a:hover span { transform: translateX(4px); }

.site-footer { border-top: 1px solid var(--cfx-line); background: #000; }
.footer-inner { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-content: center; align-items: center; gap: 24px; }
.footer-inner .brand-logo { width: 190px; height: auto; }
.footer-inner > div:first-child > p { margin: 14px 0 0; color: #858995; font-size: 13px; }
.footer-links, .footer-menu { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; color: #b9bbc3; font-size: 12px; font-weight: 700; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; margin: 2px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #696c75; font-size: 11px; }

.video-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 15px; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(7px); }
.video-modal-dialog { position: relative; z-index: 1; width: min(1020px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: var(--cfx-ink); color: white; box-shadow: 0 35px 90px rgba(0,0,0,.55); }
.video-modal-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: white; cursor: pointer; }
.dialog-copy { padding: 22px 64px 20px 24px; }
.dialog-copy h2 { margin: 0; font-family: Georgia, serif; font-size: 24px; font-weight: 400; }
.dialog-copy p { margin: 7px 0 0; color: #aeb1ba; font-size: 14px; }
.embed-frame { width: 100%; aspect-ratio: 16/9; background: black; }
.embed-frame iframe { width: 100%; height: 100%; border: 0; }
body.modal-open { overflow: hidden; }

.content-main { min-height: 65vh; padding-block: 80px; }
.content-main h1 { margin: 0 0 30px; font-family: Georgia, serif; font-size: clamp(42px, 6vw, 72px); font-weight: 400; line-height: 1.05; }
.content-main .entry-content { max-width: 820px; color: #c3c5cc; font-size: 17px; line-height: 1.75; }
.single-video-player { margin-bottom: 35px; overflow: hidden; border-radius: 10px; }
.archive-header { margin-bottom: 50px; }
.archive-library { min-height: 70vh; }
.pagination { margin-top: 55px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination .current { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid #d2cec7; border-radius: 50%; }
.pagination .current { background: var(--cfx-ink); color: white; }
.video-subtitle { max-width: 780px; color: #b7bac3; font-size: 18px; line-height: 1.7; }
.standard-post { max-width: 820px; padding-block: 28px; border-bottom: 1px solid var(--cfx-line); }
.standard-post h2 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 32px; font-weight: 400; }

@media (max-width: 980px) {
	.desktop-nav { display: none; }
	.menu-button { display: grid; }
	.mobile-nav { padding: 0 24px 14px; border-top: 1px solid rgba(255,255,255,.06); }
	.mobile-nav:not([hidden]) { display: block; }
	.mobile-nav .couchyfix-nav-list { display: grid; gap: 0; }
	.mobile-nav .couchyfix-nav-list a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.hero { grid-template-columns: 1fr; gap: 50px; padding-block: 76px 90px; }
	.hero-copy { max-width: 670px; }
	.video-grid { grid-template-columns: repeat(2, 1fr); }
	.story-section { grid-template-columns: 1fr; gap: 48px; }
	.story-visual { min-height: 360px; order: 2; }
	.story-copy { max-width: 680px; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 680px) {
	.section-wrap, .header-inner { width: min(100% - 32px, 1240px); }
	.header-inner { height: 72px; }
	.header-inner .brand-logo { width: 116px; height: 64px; }
	.back-link { display: none; }
	.mobile-nav { padding-inline: 16px; }
	.hero { min-height: auto; padding-block: 58px 72px; gap: 39px; }
	.hero h1 { font-size: 50px; }
	.hero-intro { font-size: 15px; margin-block: 23px 27px; }
	.hero-video { aspect-ratio: 4/3; border-radius: 4px 28px 4px 4px; }
	.hero-video-meta { left: 22px; right: 22px; bottom: 21px; }
	.hero-video-meta strong { font-size: 24px; }
	.hero-video-meta small { display: none; }
	.play-badge { width: 58px; height: 58px; }
	.play-badge svg { width: 20px; height: 20px; }
	.hero-placeholder { min-height: 290px; }
	.library-section { padding-block: 72px 78px; }
	.section-heading { align-items: stretch; flex-direction: column; gap: 28px; }
	.section-heading h2 { font-size: 47px; }
	.search-field { width: 100%; }
	.filter-row { margin-block: 32px 28px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; }
	.filter-row button { flex: 0 0 auto; }
	.video-grid { grid-template-columns: 1fr; gap: 31px; }
	.card-content h3 { font-size: 25px; }
	.story-section { padding-block: 80px; }
	.story-copy h2 { font-size: 47px; }
	.story-visual { min-height: 300px; }
	.story-visual::before { width: 300px; height: 300px; }
	.story-logo { width: min(390px, 100%); max-height: 310px; }
	.footer-inner { grid-template-columns: 1fr; padding-block: 48px; }
	.footer-links, .footer-menu { flex-wrap: wrap; gap: 18px 24px; }
	.copyright { grid-column: auto; }
	.dialog-copy { padding: 18px 54px 16px 18px; }
	.dialog-copy h2 { font-size: 20px; }
	.dialog-copy p { display: none; }
}

@media (max-width: 600px) {
	body.admin-bar .site-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
