/*
Theme Name: Freelance Workspace
Theme URI: https://freelanceworkspace.com/
Author: Anmol Sharma
Author URI: https://freelanceworkspace.com/about/
Description: A bold, animated portfolio and blog theme for freelancers. Includes a courses system (course, chapter and lesson pages), a templates shop, a contact form, code copy buttons, a live HTML/CSS/JS playground and AdSense-ready ad slots.
Version: 1.3.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freelance-workspace
Tags: blog, portfolio, dark, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--fw-bg: #0D0D0F;
	--fw-bg-deep: #08080A;
	--fw-card: #141417;
	--fw-card-2: #1E1E24;
	--fw-line: #2A2A30;
	--fw-line-2: #3A3A42;
	--fw-text: #F2F0EB;
	--fw-soft: #C9C6BE;
	--fw-muted: #A9A69E;
	--fw-dim: #8A877F;
	--fw-faint: #8A877F;
	--fw-lime: #C8F560;
	--fw-purple: #8B7CFF;
	--fw-coral: #FF7A59;
	--fw-paper: #F2F0EB;
	--fw-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--fw-body: 'Manrope', system-ui, sans-serif;
	--fw-mono: 'JetBrains Mono', ui-monospace, monospace;
	--fw-wrap: 1280px;
	--fw-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--fw-bg);
	color: var(--fw-text);
	font-family: var(--fw-body);
	font-size: 18px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--fw-text); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
::selection { background: var(--fw-lime); color: var(--fw-bg); }
:focus-visible { outline: 2px solid var(--fw-lime); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--fw-lime); color: var(--fw-bg); clip: auto !important; clip-path: none; display: block;
	height: auto; left: 12px; top: 12px; padding: 12px 18px; width: auto; z-index: 100000; border-radius: 10px; font-weight: 700;
}
.fw-wrap { width: 100%; max-width: var(--fw-wrap); margin: 0 auto; padding: 0 24px; }
.fw-site { min-height: 100vh; display: flex; flex-direction: column; }
.fw-main { flex: 1 0 auto; }

/* ---------- Overlays ---------- */
.fw-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--fw-lime); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }
.fw-grain { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 150; opacity: .05; }

/* ---------- Typography helpers ---------- */
.fw-eyebrow { font-family: var(--fw-mono); font-size: 13px; letter-spacing: 2px; color: var(--fw-lime); text-transform: uppercase; }
.fw-h1 { margin: 0; font-family: var(--fw-display); font-weight: 800; font-size: clamp(44px, 6.6vw, 96px); line-height: .96; letter-spacing: -.035em; }
.fw-h2 { margin: 0; font-family: var(--fw-display); font-weight: 700; font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
.fw-h3 { margin: 0; font-family: var(--fw-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.fw-lead { margin: 24px 0 0; font-size: 19px; line-height: 1.7; color: var(--fw-soft); max-width: 620px; }
.fw-muted { color: var(--fw-muted); }
.fw-mark { color: var(--fw-bg); padding: 0 .12em; border-radius: .12em; background: linear-gradient(var(--fw-lime), var(--fw-lime)) no-repeat left center / 0% 100%; animation: fwMark .9s cubic-bezier(.7, 0, .2, 1) .6s both; }
.fw-line { display: block; overflow: hidden; padding-bottom: .06em; }
.fw-line > span { display: inline-block; animation: fwLine 1s var(--fw-ease) both; }
.fw-line:nth-child(2) > span { animation-delay: .12s; }
.fw-line:nth-child(3) > span { animation-delay: .24s; }
.fw-section { padding: 0 0 110px; }
.fw-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.fw-section-head p { margin: 0; max-width: 420px; color: var(--fw-muted); font-size: 17px; line-height: 1.6; }
.fw-chip { display: inline-flex; align-items: center; border: 1px solid var(--fw-line-2); border-radius: 999px; padding: 7px 14px; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; color: var(--fw-text); text-transform: uppercase; }
.fw-chip--lime { background: var(--fw-lime); border-color: var(--fw-lime); color: var(--fw-bg); font-weight: 700; }
.fw-chip--outline-lime { border-color: var(--fw-lime); color: var(--fw-lime); }
.fw-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Buttons ---------- */
.fw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 17px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--fw-ease), background .2s, color .2s, border-color .2s; }
.fw-btn:hover { transform: translateY(-3px); }
.fw-btn--lime { background: var(--fw-lime); color: var(--fw-bg); }
.fw-btn--lime:hover { color: var(--fw-bg); }
.fw-btn--dark { background: var(--fw-bg); color: var(--fw-text); }
.fw-btn--dark:hover { color: var(--fw-lime); }
.fw-btn--ghost { border-color: var(--fw-line-2); color: var(--fw-text); background: transparent; }
.fw-btn--ghost:hover { border-color: var(--fw-lime); color: var(--fw-lime); }
.fw-btn--outline-dark { border: 2px solid var(--fw-bg); color: var(--fw-bg); background: transparent; }
.fw-btn--outline-dark:hover { background: var(--fw-bg); color: var(--fw-lime); }
.fw-btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.fw-header { position: relative; z-index: 50; }
.fw-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.fw-logo { font-family: var(--fw-display); font-weight: 800; font-size: 23px; letter-spacing: -.02em; color: var(--fw-text); white-space: nowrap; }
.fw-logo span { color: var(--fw-lime); }
.fw-logo img { max-height: 44px; width: auto; display: block; }
.fw-nav { display: flex; align-items: center; gap: 28px; }
.fw-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.fw-nav li { position: relative; }
.fw-nav a { font-size: 17px; font-weight: 500; position: relative; }
.fw-nav .menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--fw-lime); transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.7, 0, .2, 1); }
.fw-nav .menu > li > a:hover::after, .fw-nav .current-menu-item > a::after, .fw-nav .current-menu-ancestor > a::after, .fw-nav .current_page_parent > a::after { transform: scaleX(1); transform-origin: left; }
.fw-nav .current-menu-item > a, .fw-nav .current-menu-ancestor > a, .fw-nav .current_page_parent > a { color: var(--fw-lime); }
.fw-nav .sub-menu { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 220px; background: var(--fw-card); border: 1px solid var(--fw-line); border-radius: 18px; padding: 10px; display: none; flex-direction: column; gap: 2px; }
.fw-nav li:hover > .sub-menu, .fw-nav li:focus-within > .sub-menu { display: flex; }
.fw-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 16px; }
.fw-nav .sub-menu a:hover { background: var(--fw-card-2); }
.fw-header__cta { padding: 12px 22px; min-height: 46px; font-size: 16px; }
.fw-menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--fw-line-2); background: transparent; color: var(--fw-text); cursor: pointer; align-items: center; justify-content: center; }
.fw-menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.fw-menu-toggle span::before, .fw-menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .3s; }
.fw-menu-toggle span::before { top: -6px; }
.fw-menu-toggle span::after { top: 6px; }
.fw-menu-open .fw-menu-toggle span { background: transparent; }
.fw-menu-open .fw-menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.fw-menu-open .fw-menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
	.fw-menu-toggle { display: inline-flex; }
	.fw-nav { position: fixed; inset: 0; background: var(--fw-bg); flex-direction: column; justify-content: center; align-items: flex-start; padding: 100px 32px 40px; gap: 32px; transform: translateY(-100%); transition: transform .5s var(--fw-ease); z-index: 40; overflow-y: auto; }
	.fw-menu-open .fw-nav { transform: none; }
	.fw-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
	.fw-nav .menu > li > a { font-family: var(--fw-display); font-weight: 700; font-size: 38px; letter-spacing: -.02em; }
	.fw-nav .sub-menu { position: static; display: flex; background: none; border: 0; padding: 6px 0 0 4px; }
	.fw-header__inner > .fw-logo, .fw-menu-toggle { position: relative; z-index: 60; }
	.fw-menu-open { overflow: hidden; }
}

/* ---------- Topic bar ---------- */
.fw-topics { background: var(--fw-card); border-top: 1px solid var(--fw-line); border-bottom: 1px solid var(--fw-line); overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.fw-topics__inner { display: flex; }
.fw-topic { display: inline-block; padding: 15px 16px; font-family: var(--fw-mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--fw-muted); border-bottom: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.fw-topic:hover { color: var(--fw-text); background: var(--fw-card-2); border-bottom-color: var(--fw-lime); }
.fw-topic.is-active { color: var(--fw-bg); background: var(--fw-lime); font-weight: 700; }

/* ---------- Breadcrumbs ---------- */
.fw-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--fw-dim); margin: 0; padding: 0; list-style: none; }
.fw-crumbs a { color: var(--fw-muted); }
.fw-crumbs a:hover { color: var(--fw-lime); }
.fw-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--fw-faint); }
.fw-crumbs [aria-current] { color: var(--fw-text); }

/* ---------- Page hero ---------- */
.fw-hero { padding: 60px 0 80px; position: relative; }
.fw-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.fw-hero__text { flex: 999 1 560px; min-width: 0; }
.fw-hero__art { flex: 1 1 340px; max-width: 460px; min-width: 0; }
.fw-hero .fw-crumbs { margin-bottom: 22px; }
.fw-hero .fw-h1 { margin-top: 18px; }
.fw-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Home hero */
.fw-home-hero { padding: 40px 0 70px; }
.fw-home-hero .fw-h1 { font-size: clamp(48px, 7.4vw, 112px); }
.fw-rotator { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.02em; }
.fw-rotator__word { grid-area: 1 / 1; justify-self: start; align-self: end; color: var(--fw-lime); white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .7s var(--fw-ease), opacity .4s; }
.fw-rotator__word.is-on { transform: none; opacity: 1; }
.fw-rotator__word.is-out { transform: translateY(-105%); opacity: 0; }
.fw-cursor { display: inline-block; width: .08em; height: .8em; background: var(--fw-lime); margin-left: .06em; vertical-align: -.04em; animation: fwBlink 1s step-end infinite; }
.fw-home-hero__panel { position: relative; aspect-ratio: 1 / 1; border-radius: 40px; background: var(--fw-card); border: 1px solid var(--fw-line); overflow: hidden; }
.fw-home-hero__panel svg { width: 100%; height: 100%; display: block; }
.fw-panel-art { opacity: 0; transition: opacity .6s; }
.fw-panel-art.is-on { opacity: 1; }
.fw-float { animation: fwFloat 7s ease-in-out infinite; }
.fw-spin { animation: fwSpin 30s linear infinite; transform-origin: center; transform-box: fill-box; }

/* ---------- Marquee ---------- */
.fw-marquee { overflow: hidden; white-space: nowrap; padding: 20px 0; }
.fw-marquee__track { display: inline-flex; gap: 44px; animation: fwMq 28s linear infinite; font-family: var(--fw-display); font-weight: 800; font-size: clamp(26px, 3vw, 40px); text-transform: uppercase; letter-spacing: -.01em; }
.fw-marquee--lime { background: var(--fw-lime); color: var(--fw-bg); transform: rotate(-2deg); margin: 0 -40px; }
.fw-marquee--outline { background: var(--fw-card); border-top: 1px solid var(--fw-line); border-bottom: 1px solid var(--fw-line); transform: rotate(1.5deg); margin: -28px -40px 0; }
.fw-marquee--outline .fw-marquee__track { animation-direction: reverse; color: transparent; -webkit-text-stroke: 1.2px var(--fw-text); }
.fw-marquee-wrap { padding: 30px 0 110px; overflow: hidden; }

/* ---------- Cards / grids ---------- */
.fw-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.fw-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.fw-card { background: var(--fw-card); border: 1px solid var(--fw-line); border-radius: 28px; padding: 30px; transition: border-color .3s, transform .3s var(--fw-ease); }
.fw-card:hover { border-color: var(--fw-lime); }
.fw-sweep { position: relative; display: flex; flex-direction: column; gap: 40px; border: 1px solid var(--fw-line); border-radius: 26px; padding: 30px; background: var(--fw-card) linear-gradient(var(--fw-lime), var(--fw-lime)) no-repeat left bottom / 100% 0%; transition: background-size .45s cubic-bezier(.7, 0, .2, 1), color .3s, transform .3s, border-color .3s; color: var(--fw-text); }
.fw-sweep:hover { background-size: 100% 100%; color: var(--fw-bg); transform: translateY(-4px); border-color: var(--fw-lime); }
.fw-sweep:hover .fw-sweep__sub, .fw-sweep:hover .fw-sweep__meta { color: var(--fw-bg) !important; }
.fw-sweep:hover svg { stroke: var(--fw-bg); }
.fw-sweep__sub { font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--fw-lime); }
.fw-sweep__title { font-weight: 700; font-size: 22px; line-height: 1.35; }
.fw-sweep__meta { font-size: 15px; color: var(--fw-muted); margin-top: auto; }
.fw-sweep__img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; margin: -6px -6px 0; background: var(--fw-card-2); }
.fw-sweep__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-tilts > * { transition: transform .4s var(--fw-ease); }
.fw-tilts > *:nth-child(odd):hover { transform: rotate(-2deg) translateY(-6px); }
.fw-tilts > *:nth-child(even):hover { transform: rotate(2deg) translateY(-6px); }
.fw-tile { border-radius: 26px; padding: 28px; color: var(--fw-bg); }
.fw-tile h3 { margin: 0; font-family: var(--fw-display); font-weight: 700; font-size: 23px; }
.fw-tile p { margin: 8px 0 0; font-size: 17px; line-height: 1.6; opacity: .85; }
.fw-tile--paper { background: var(--fw-paper); }
.fw-tile--purple { background: var(--fw-purple); }
.fw-tile--lime { background: var(--fw-lime); }
.fw-tile--coral { background: var(--fw-coral); }

/* Platforms */
.fw-platforms { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fw-platform { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; min-height: 170px; }
.fw-platform__top { display: flex; justify-content: space-between; font-family: var(--fw-mono); font-size: 12px; color: var(--fw-dim); }
.fw-platform__name { font-family: var(--fw-display); font-weight: 700; font-size: 26px; }
.fw-platform--accent { background: var(--fw-purple) !important; color: var(--fw-bg) !important; border-color: var(--fw-purple) !important; }
.fw-platform--accent .fw-platform__top { color: var(--fw-bg); }

/* Services rows */
.fw-rows { border-top: 1px solid var(--fw-line); }
.fw-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--fw-line); color: var(--fw-text); transition: padding .35s var(--fw-ease), background .35s; }
.fw-row:hover { padding-left: 18px; padding-right: 18px; background: var(--fw-card); }
.fw-row__num { font-family: var(--fw-display); font-weight: 800; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1.4px var(--fw-dim); width: 92px; transition: -webkit-text-stroke-color .3s; }
.fw-row:hover .fw-row__num { -webkit-text-stroke-color: var(--fw-lime); }
.fw-row__title { flex: 1 1 280px; font-family: var(--fw-display); font-weight: 700; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.02em; }
.fw-row__desc { flex: 1 1 320px; color: var(--fw-muted); font-size: 17px; line-height: 1.6; margin: 0; }
.fw-arrow { transition: transform .3s; }
.fw-row:hover .fw-arrow, .fw-sweep:hover .fw-arrow, .fw-card:hover .fw-arrow { transform: translate(4px, -4px); }

/* Stats */
.fw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--fw-line); border-bottom: 1px solid var(--fw-line); }
.fw-stat { padding: 36px 24px; border-right: 1px solid var(--fw-line); }
.fw-stat:last-child { border-right: 0; }
.fw-stat__num { font-family: var(--fw-display); font-weight: 800; font-size: clamp(48px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; color: var(--fw-lime); }
.fw-stat__label { margin-top: 10px; color: var(--fw-muted); font-size: 16px; }

/* Process */
.fw-steps { counter-reset: fwstep; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.fw-step { counter-increment: fwstep; }
.fw-step::before { content: "0" counter(fwstep); display: block; font-family: var(--fw-mono); font-size: 13px; color: var(--fw-lime); margin-bottom: 30px; }
.fw-step h3 { margin: 0; font-family: var(--fw-display); font-size: 24px; }
.fw-step p { margin: 10px 0 0; color: var(--fw-muted); font-size: 17px; line-height: 1.6; }

/* AI tools orbit */
.fw-ai { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.fw-ai__text { flex: 1 1 420px; min-width: 0; }
.fw-ai__orbit { flex: 1 1 360px; max-width: 460px; aspect-ratio: 1 / 1; position: relative; margin: 0 auto; }
.fw-ai__ring { position: absolute; inset: 0; border: 1px dashed var(--fw-line-2); border-radius: 50%; animation: fwSpin 40s linear infinite; }
.fw-ai__ring--2 { inset: 18%; animation-duration: 28s; animation-direction: reverse; }
.fw-ai__core { position: absolute; inset: 36%; border-radius: 50%; background: var(--fw-lime); color: var(--fw-bg); display: flex; align-items: center; justify-content: center; font-family: var(--fw-display); font-weight: 800; font-size: 22px; text-align: center; line-height: 1; }
.fw-ai__pill { position: absolute; transform: translate(-50%, -50%); background: var(--fw-card); border: 1px solid var(--fw-line-2); border-radius: 999px; padding: 9px 14px; font-family: var(--fw-mono); font-size: 12px; letter-spacing: .5px; white-space: nowrap; animation: fwCounter 40s linear infinite; }
.fw-ai__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.fw-ai__list li { display: flex; gap: 12px; font-size: 18px; }
.fw-ai__list li::before { content: "✓"; color: var(--fw-lime); font-weight: 800; }

/* Tool marquee */
.fw-toolbelt { overflow: hidden; padding: 6px 0 110px; }
.fw-toolbelt__track { display: inline-flex; gap: 14px; animation: fwMq 40s linear infinite; }
.fw-tool { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1px solid var(--fw-line); border-radius: 999px; background: var(--fw-card); font-weight: 600; font-size: 17px; white-space: nowrap; }
.fw-tool svg { width: 22px; height: 22px; stroke: var(--fw-lime); }

/* Review */
.fw-review { background: var(--fw-paper); color: var(--fw-bg); border-radius: 40px; padding: clamp(32px, 6vw, 80px); position: relative; overflow: hidden; }
.fw-review blockquote { margin: 0; font-family: var(--fw-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; letter-spacing: -.02em; max-width: 980px; }
.fw-review cite { display: block; margin-top: 26px; font-style: normal; font-size: 17px; color: #4A4843; }
.fw-stars { color: #E8A500; letter-spacing: 3px; font-size: 22px; margin-bottom: 18px; }

/* FAQ */
.fw-faq-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.fw-faq-wrap > :first-child { flex: 1 1 320px; min-width: 0; }
.fw-faq-wrap > :last-child { flex: 2 1 560px; min-width: 0; }
.fw-faq, .wp-block-details { border-bottom: 1px solid var(--fw-line); padding: 22px 0; }
.fw-faqs, .entry-content .wp-block-details:first-of-type { border-top: 1px solid var(--fw-line); }
.fw-faq summary, .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 700; font-size: 20px; line-height: 1.4; }
.fw-faq summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.fw-faq summary::after, .wp-block-details summary::after { content: "+"; font-size: 30px; line-height: 1; color: var(--fw-lime); transition: transform .3s; flex: none; font-weight: 400; }
.fw-faq[open] summary::after, .wp-block-details[open] summary::after { transform: rotate(45deg); }
.fw-faq p, .wp-block-details p { margin: 14px 0 0; color: var(--fw-muted); font-size: 18px; line-height: 1.7; }

/* CTA */
.fw-cta { background: var(--fw-lime); color: var(--fw-bg); border-radius: 48px; padding: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; }
.fw-cta h2 { margin: 0; font-family: var(--fw-display); font-weight: 800; font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.035em; max-width: 900px; position: relative; }
.fw-cta h2 span { display: inline-block; background: var(--fw-bg); color: var(--fw-lime); padding: 0 .18em .06em; border-radius: .18em; transform: rotate(-2deg); }
.fw-cta p { margin: 28px 0 0; font-size: 19px; max-width: 520px; line-height: 1.6; color: #1F1F22; position: relative; }
.fw-cta__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.fw-cta__star { position: absolute; right: -40px; bottom: -60px; width: 260px; height: 260px; animation: fwSpin 14s linear infinite; }
.fw-cta__ring { position: absolute; right: 200px; top: 50px; width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--fw-bg); animation: fwFloat 6s ease-in-out infinite; }

/* ---------- Footer ---------- */
.fw-footer { background: var(--fw-bg-deep); border-top: 1px solid #1E1E22; margin-top: auto; }
.fw-footer__top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 80px; }
.fw-footer__brand { flex: 1 1 300px; max-width: 380px; }
.fw-footer__brand p { margin: 18px 0 0; color: var(--fw-muted); font-size: 18px; line-height: 1.7; }
.fw-footer__mail { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--fw-lime); }
.fw-footer__cols { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.fw-footer__col h2 { margin: 0 0 18px; font-family: var(--fw-mono); font-weight: 400; font-size: 12px; letter-spacing: 2px; color: var(--fw-faint); text-transform: uppercase; }
.fw-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 18px; }
.fw-footer__col a { color: var(--fw-muted); }
.fw-footer__col a:hover { color: var(--fw-lime); }
.fw-footer__big { margin-top: 80px; font-family: var(--fw-display); font-weight: 800; font-size: clamp(48px, 10.5vw, 150px); letter-spacing: -.03em; line-height: .8; color: #17171B; white-space: nowrap; user-select: none; }
.fw-footer__big span { color: var(--fw-lime); }
.fw-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 0 36px; border-top: 1px solid #1E1E22; margin-top: 24px; font-size: 14px; color: var(--fw-dim); }

/* ---------- Blog ---------- */
.fw-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.fw-filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--fw-line-2); font-size: 16px; font-weight: 600; color: var(--fw-text); background: transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.fw-filter:hover { border-color: var(--fw-lime); color: var(--fw-lime); }
.fw-filter.is-active { background: var(--fw-lime); color: var(--fw-bg); border-color: var(--fw-lime); }
.fw-pagination { margin-top: 48px; }
.fw-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fw-pagination .page-numbers { min-width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; border: 1px solid var(--fw-line-2); font-weight: 700; }
.fw-pagination .page-numbers.current { background: var(--fw-lime); color: var(--fw-bg); border-color: var(--fw-lime); }
.fw-search { display: flex; gap: 8px; max-width: 560px; }
.fw-search input[type="search"] { flex: 1; min-width: 0; }
.fw-empty { border: 1px dashed var(--fw-line-2); border-radius: 24px; padding: 40px; color: var(--fw-muted); }

/* ---------- Article ---------- */
.fw-article-head { padding: 50px 0 40px; }
.fw-article-head .fw-h1 { font-size: clamp(38px, 5vw, 70px); line-height: 1.02; letter-spacing: -.03em; margin-top: 20px; max-width: 1000px; }
.fw-byline { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 15px; color: var(--fw-dim); }
.fw-byline img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.fw-byline a { color: var(--fw-text); font-weight: 700; }
.fw-article-cover { border-radius: 30px; overflow: hidden; margin-bottom: 50px; }
.fw-article-cover img { width: 100%; display: block; }
.fw-article { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-bottom: 100px; }
.fw-article__body { flex: 999 1 560px; min-width: 0; max-width: 800px; }
.fw-article__aside { flex: 1 1 260px; max-width: 320px; min-width: 0; position: sticky; top: 24px; display: grid; gap: 16px; }
.fw-toc { background: var(--fw-card); border: 1px solid var(--fw-line); border-radius: 22px; padding: 22px; }
.fw-toc h2 { margin: 0 0 12px; font-family: var(--fw-mono); font-weight: 400; font-size: 12px; letter-spacing: 2px; color: var(--fw-dim); text-transform: uppercase; }
.fw-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.fw-toc a { display: block; padding: 7px 10px; border-radius: 10px; font-size: 15px; line-height: 1.4; color: var(--fw-muted); }
.fw-toc a:hover, .fw-toc a.is-active { background: var(--fw-card-2); color: var(--fw-lime); }
.fw-hire-box { background: var(--fw-purple); color: var(--fw-bg); border-radius: 22px; padding: 24px; }
.fw-hire-box h2 { margin: 0; font-family: var(--fw-display); font-size: 24px; line-height: 1.15; }
.fw-hire-box p { margin: 8px 0 16px; font-size: 16px; line-height: 1.5; }
.fw-author { margin-top: 50px; border: 1px solid var(--fw-line); border-radius: 28px; background: var(--fw-card); padding: 28px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.fw-author img { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; }
.fw-author__body { flex: 1 1 300px; min-width: 0; }
.fw-author__name { font-family: var(--fw-display); font-weight: 700; font-size: 22px; }
.fw-author p { margin: 6px 0 0; font-size: 17px; line-height: 1.6; color: var(--fw-muted); }
.fw-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }
.fw-tags a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--fw-line-2); font-size: 14px; color: var(--fw-muted); }
.fw-tags a:hover { border-color: var(--fw-lime); color: var(--fw-lime); }
.fw-related { padding-bottom: 100px; }
.fw-postnav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.fw-postnav a { flex: 1 1 260px; border: 1px solid var(--fw-line); border-radius: 24px; padding: 24px 26px; background: var(--fw-card); }
.fw-postnav a:hover { border-color: var(--fw-lime); color: var(--fw-text); }
.fw-postnav small { display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; color: var(--fw-dim); text-transform: uppercase; }
.fw-postnav strong { display: block; margin-top: 8px; font-family: var(--fw-display); font-size: 21px; line-height: 1.25; }
.fw-postnav .is-next { background: var(--fw-lime); color: var(--fw-bg); border-color: var(--fw-lime); text-align: right; }
.fw-postnav .is-next small { color: var(--fw-bg); font-weight: 700; }
.fw-postnav .is-next:hover { color: var(--fw-bg); transform: translateY(-3px); }

/* ---------- Entry content (blocks) ---------- */
.entry-content { font-size: 18px; line-height: 1.8; color: var(--fw-soft); }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 18px; }
.entry-content h2 { margin-top: 56px; font-family: var(--fw-display); font-weight: 700; font-size: clamp(27px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -.02em; color: var(--fw-text); scroll-margin-top: 24px; }
.entry-content h3 { margin-top: 36px; font-family: var(--fw-display); font-weight: 700; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; color: var(--fw-text); scroll-margin-top: 24px; }
.entry-content h4 { margin-top: 28px; font-size: 20px; color: var(--fw-text); }
.entry-content strong, .entry-content b { color: var(--fw-text); }
.entry-content a { color: var(--fw-lime); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: #fff; }
.entry-content ul, .entry-content ol { padding-left: 26px; }
.entry-content li + li { margin-top: 8px; }
.entry-content li::marker { color: var(--fw-lime); }
.entry-content :not(pre) > code { font-family: var(--fw-mono); font-size: .86em; background: var(--fw-card-2); border: 1px solid var(--fw-line); padding: .1em .4em; border-radius: 6px; color: var(--fw-lime); word-break: break-word; }
.entry-content blockquote, .entry-content .wp-block-quote { margin-left: 0; margin-right: 0; border-left: 3px solid var(--fw-lime); padding: 6px 0 6px 24px; font-family: var(--fw-display); font-size: 24px; line-height: 1.4; color: var(--fw-text); }
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--fw-body); font-size: 15px; font-style: normal; color: var(--fw-dim); }
.entry-content img { border-radius: 20px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { margin-top: 10px; font-size: 14px; color: var(--fw-dim); text-align: center; }
.entry-content hr { border: 0; border-top: 1px solid var(--fw-line); margin: 48px 0; }
.entry-content .wp-block-table { overflow-x: auto; border: 1px solid var(--fw-line); border-radius: 18px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.6; }
.entry-content th, .entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--fw-line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--fw-card-2); color: var(--fw-text); font-family: var(--fw-mono); font-size: 13px; letter-spacing: 1px; font-weight: 700; }
.entry-content td:first-child { color: var(--fw-text); font-weight: 600; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content .wp-block-embed iframe, .entry-content iframe { width: 100%; border-radius: 18px; border: 0; }
.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.entry-content .wp-block-embed.is-type-video iframe { height: 100%; }
.entry-content .wp-block-button__link { background: var(--fw-lime); color: var(--fw-bg); border-radius: 999px; padding: 14px 26px; font-weight: 700; text-decoration: none; }

/* Code blocks */
.fw-code { margin: 22px 0 0; background: #101013; border: 1px solid var(--fw-line); border-radius: 18px; overflow: hidden; }
.fw-code__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px 8px 18px; border-bottom: 1px solid var(--fw-line); font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; color: var(--fw-dim); text-transform: uppercase; }
.fw-code__btns { display: flex; gap: 6px; }
.fw-code__btn { font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; background: var(--fw-card-2); color: var(--fw-text); border: 1px solid var(--fw-line-2); border-radius: 999px; padding: 9px 15px; min-height: 40px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; text-transform: uppercase; }
.fw-code__btn:hover, .fw-code__btn.is-done { background: var(--fw-lime); color: var(--fw-bg); border-color: var(--fw-lime); }
.fw-code__btn--try { background: var(--fw-purple); color: var(--fw-bg); border-color: var(--fw-purple); font-weight: 700; }
.entry-content pre, .fw-code pre { margin: 0; padding: 20px 22px; overflow-x: auto; font-family: var(--fw-mono); font-size: 15px; line-height: 1.75; color: #E6E3DA; background: #101013; white-space: pre; tab-size: 2; }
.entry-content > pre.wp-block-code { border: 1px solid var(--fw-line); border-radius: 18px; }
.fw-code pre.wp-block-code { border: 0; border-radius: 0; }
.entry-content pre code { font: inherit; background: none; border: 0; padding: 0; color: inherit; }

/* Block styles */
.is-style-fw-answer { background: var(--fw-card); border: 1px solid var(--fw-line); border-radius: 22px; padding: 22px 26px; color: var(--fw-text) !important; }
.is-style-fw-answer strong:first-child { display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--fw-lime); margin-bottom: 6px; }
.is-style-fw-tip { border-radius: 20px; padding: 20px 24px; background: #16190F; border: 1px solid #3B4A1C; color: #E6E3DA !important; }
.is-style-fw-tip strong:first-child { display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--fw-lime); margin-bottom: 6px; }
.is-style-fw-note { border-radius: 20px; padding: 20px 24px; background: #17142A; border: 1px solid #3B3270; color: #E2DEFF !important; }
.is-style-fw-note strong:first-child { display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--fw-purple); margin-bottom: 6px; }
.is-style-fw-mine { border-radius: 24px; padding: 24px 26px; background: #1A1530; border: 1px solid #3B3270; color: #E2DEFF !important; }
.is-style-fw-mine strong:first-child { display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--fw-purple); margin-bottom: 6px; }
.is-style-fw-recap { border-radius: 26px; padding: 26px 28px; background: var(--fw-lime); color: #1F1F22 !important; }
.is-style-fw-recap strong, .is-style-fw-recap code { color: var(--fw-bg) !important; }
.entry-content .is-style-fw-recap code { background: rgba(13, 13, 15, .1); border-color: transparent; }
.is-style-fw-recap strong:first-child { display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.is-style-fw-task { font-family: var(--fw-display); font-size: 24px; line-height: 1.3; color: var(--fw-text) !important; }
.fw-problem { border: 1px solid var(--fw-line); border-radius: 24px; background: var(--fw-card); padding: 24px 28px; transition: border-color .3s; }
.fw-problem:hover { border-color: var(--fw-coral); }
.fw-problem::before { content: "PROBLEM"; display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; color: var(--fw-coral); }
.fw-problem > h3 { margin-top: 8px !important; font-size: 22px; }
.fw-problem > p { margin-top: 10px !important; }
.fw-problem > p strong:first-child { color: var(--fw-lime); }
.entry-content .fw-problem + .fw-problem { margin-top: 12px; }

/* ---------- Ads ---------- */
.fw-ad { margin: 46px 0; text-align: center; min-height: 100px; }
.fw-ad--placeholder { border: 1px dashed var(--fw-line-2); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; color: var(--fw-faint); }

/* ---------- Courses ---------- */
.fw-course-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 40px 0 100px; }
.fw-course-side { flex: 1 1 260px; max-width: 300px; min-width: 0; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; scrollbar-width: thin; }
.fw-course-main { flex: 999 1 560px; min-width: 0; max-width: 820px; }
.fw-side-title { display: block; font-family: var(--fw-display); font-weight: 800; font-size: 22px; }
.fw-side-meta { margin-top: 6px; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; color: var(--fw-dim); }
.fw-side-bar, .fw-bar { margin-top: 12px; height: 6px; border-radius: 999px; background: var(--fw-card-2); overflow: hidden; }
.fw-side-bar span, .fw-bar span { display: block; height: 100%; width: 0; background: var(--fw-lime); border-radius: 999px; transition: width .5s; }
.fw-bar { height: 10px; }
.fw-side-chap { margin-top: 22px; }
.fw-side-chap > a { display: block; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fw-faint); padding: 0 14px 6px; }
.fw-side-chap > a:hover, .fw-side-chap > a.is-active { color: var(--fw-lime); }
.fw-side-chap ul { list-style: none; margin: 0; padding: 0; }
.fw-side-link { display: flex; gap: 8px; align-items: flex-start; padding: 9px 14px; border-radius: 10px; font-size: 15px; line-height: 1.4; color: var(--fw-muted); transition: background .2s, color .2s; }
.fw-side-link:hover { background: var(--fw-card-2); color: var(--fw-text); }
.fw-side-link.is-active { background: var(--fw-lime); color: var(--fw-bg); font-weight: 700; }
.fw-side-link .fw-tick { flex: none; width: 16px; color: var(--fw-lime); opacity: 0; }
.fw-side-link.is-done .fw-tick { opacity: 1; }
.fw-side-link.is-active .fw-tick { color: var(--fw-bg); }
.fw-lesson-head .fw-chips { margin-top: 24px; }
.fw-lesson-head h1 { margin: 20px 0 0; font-family: var(--fw-display); font-weight: 800; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; }
.fw-lesson-head .fw-lead { margin-top: 18px; }
.fw-lesson-body { margin-top: 36px; }
.fw-done-box { margin-top: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 26px; border-radius: 24px; background: var(--fw-card); border: 1px solid var(--fw-line); }
.fw-done-btn { font-weight: 700; font-size: 17px; border-radius: 999px; padding: 16px 28px; cursor: pointer; min-height: 52px; background: transparent; color: var(--fw-text); border: 1px solid var(--fw-line-2); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.fw-done-btn:hover { transform: translateY(-2px); border-color: var(--fw-lime); }
.fw-done-btn[aria-pressed="true"] { background: var(--fw-lime); color: var(--fw-bg); border-color: var(--fw-lime); }

/* Course page */
.fw-course-card { display: flex; flex-direction: column; gap: 22px; border: 1px solid var(--fw-line); border-radius: 28px; padding: 30px; background: var(--fw-card); transition: border-color .3s, transform .3s var(--fw-ease); color: var(--fw-text); }
.fw-course-card:hover { border-color: var(--fw-lime); transform: translateY(-4px); color: var(--fw-text); }
.fw-course-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fw-course-card__icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--fw-lime); color: var(--fw-bg); font-family: var(--fw-display); font-weight: 800; font-size: 18px; }
.fw-course-card h3 { margin: 0; font-family: var(--fw-display); font-size: 26px; }
.fw-course-card p { margin: 0; color: var(--fw-muted); font-size: 17px; line-height: 1.6; }
.fw-course-card__meta { margin-top: auto; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; color: var(--fw-dim); text-transform: uppercase; }
.fw-chap { border: 1px solid var(--fw-line); border-radius: 24px; background: var(--fw-card); overflow: hidden; transition: border-color .3s; }
.fw-chap + .fw-chap { margin-top: 12px; }
.fw-chap[open] { border-color: var(--fw-lime); }
.fw-chap summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 26px; }
.fw-chap summary::-webkit-details-marker { display: none; }
.fw-chap__num { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--fw-display); font-weight: 800; font-size: 22px; background: var(--fw-card-2); }
.fw-chap[open] .fw-chap__num { background: var(--fw-lime); color: var(--fw-bg); }
.fw-chap__title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fw-chap__title strong { font-family: var(--fw-display); font-size: 24px; line-height: 1.2; }
.fw-chap__title small { font-size: 15px; color: var(--fw-dim); }
.fw-chap__plus { font-size: 30px; color: var(--fw-lime); line-height: 1; transition: transform .3s; }
.fw-chap[open] .fw-chap__plus { transform: rotate(45deg); }
.fw-chap__body { border-top: 1px solid var(--fw-line); }
.fw-chap__body > p { margin: 0; padding: 18px 26px 6px; color: var(--fw-muted); font-size: 17px; line-height: 1.7; }
.fw-les { display: flex; align-items: center; gap: 16px; padding: 14px 26px; font-size: 17px; border-top: 1px solid var(--fw-card-2); transition: background .2s, padding .2s; color: var(--fw-text); }
.fw-les:hover { background: var(--fw-card-2); padding-left: 30px; color: var(--fw-text); }
.fw-les__n { font-family: var(--fw-mono); font-size: 13px; color: var(--fw-dim); width: 26px; }
.fw-les__t { flex: 1; }
.fw-les__m { font-family: var(--fw-mono); font-size: 12px; color: var(--fw-faint); }
.fw-les.is-done .fw-les__n { color: var(--fw-lime); }
.fw-chap__foot { padding: 14px 26px 20px; border-top: 1px solid var(--fw-card-2); }
.fw-chap__foot a { font-weight: 700; color: var(--fw-lime); font-size: 16px; }

.fw-soon { margin-left: auto; font-style: normal; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--fw-faint); border: 1px solid var(--fw-line-2); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.fw-side-link .fw-soon { margin-left: 6px; font-size: 10px; padding: 1px 7px; }
.fw-les.is-soon, .fw-side-link.is-soon { color: var(--fw-faint); cursor: default; }
.fw-les.is-soon:hover { background: none; padding-left: 26px; }
.fw-side-link.is-soon:hover { background: none; color: var(--fw-faint); }
.fw-lcard.is-soon { opacity: .55; }
.fw-lcard.is-soon:hover { transform: none; border-color: var(--fw-line); background: var(--fw-card); }
.fw-lcard.is-soon .fw-lcard__n { -webkit-text-stroke-color: var(--fw-dim); }

/* Chapter page lesson cards */
.fw-lcards { display: grid; gap: 14px; }
.fw-lcard { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; border: 1px solid var(--fw-line); border-radius: 28px; background: var(--fw-card); padding: 28px 30px; transition: border-color .3s, transform .3s var(--fw-ease), background .3s; }
.fw-lcard:hover { border-color: var(--fw-lime); transform: translateX(8px); background: #17171B; }
.fw-lcard__n { font-family: var(--fw-display); font-weight: 800; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--fw-lime); width: 84px; }
.fw-lcard__body { flex: 1 1 420px; min-width: 0; color: var(--fw-text); }
.fw-lcard__body:hover { color: var(--fw-text); }
.fw-lcard__body strong { display: block; font-family: var(--fw-display); font-size: 26px; line-height: 1.2; }
.fw-lcard__body span { display: block; margin-top: 8px; color: var(--fw-muted); font-size: 17px; line-height: 1.6; }
.fw-lcard__body small { display: block; margin-top: 10px; font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; color: var(--fw-faint); text-transform: uppercase; }
.fw-lcard__go { width: 52px; height: 52px; border-radius: 50%; background: var(--fw-lime); color: var(--fw-bg); display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.fw-lcard:hover .fw-lcard__go { transform: translateX(6px) rotate(-45deg); }
.fw-bignum { font-family: var(--fw-display); font-weight: 800; font-size: clamp(140px, 18vw, 240px); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 3px var(--fw-lime); }
.fw-numpanel { aspect-ratio: 1 / 1; border-radius: 40px; background: var(--fw-card); border: 1px solid var(--fw-line); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.fw-numpanel small { position: absolute; left: 28px; bottom: 26px; font-family: var(--fw-mono); font-size: 13px; letter-spacing: 2px; color: var(--fw-muted); }
.fw-numpanel i { position: absolute; top: 26px; width: 18px; height: 18px; border-radius: 50%; }

/* Playground */
.fw-play { position: fixed; inset: 0; z-index: 300; background: rgba(8, 8, 10, .82); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.fw-play.is-open { display: flex; }
.fw-play__box { width: min(1200px, 100%); height: min(760px, 100%); background: var(--fw-card); border: 1px solid var(--fw-line-2); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.fw-play__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--fw-line); }
.fw-play__bar strong { font-family: var(--fw-display); font-size: 20px; }
.fw-play__actions { display: flex; gap: 8px; }
.fw-play__grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.fw-play__grid textarea { width: 100%; height: 100%; resize: none; border: 0; border-right: 1px solid var(--fw-line); background: #101013; color: #E6E3DA; font-family: var(--fw-mono); font-size: 15px; line-height: 1.7; padding: 20px; outline: none; tab-size: 2; }
.fw-play__grid iframe { width: 100%; height: 100%; border: 0; background: #fff; }
@media (max-width: 760px) { .fw-play__grid { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; } .fw-play__grid textarea { border-right: 0; border-bottom: 1px solid var(--fw-line); } }

/* ---------- Templates shop ---------- */
.fw-prod { display: flex; flex-direction: column; border: 1px solid var(--fw-line); border-radius: 28px; overflow: hidden; background: var(--fw-card); transition: border-color .3s, transform .3s var(--fw-ease); color: var(--fw-text); }
.fw-prod:hover { border-color: var(--fw-lime); transform: translateY(-6px); color: var(--fw-text); }
.fw-prod__img { aspect-ratio: 4 / 3; background: var(--fw-card-2); overflow: hidden; }
.fw-prod__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--fw-ease); }
.fw-prod:hover .fw-prod__img img { transform: scale(1.05); }
.fw-prod__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fw-prod__type { font-family: var(--fw-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--fw-lime); }
.fw-prod__title { font-family: var(--fw-display); font-weight: 700; font-size: 24px; line-height: 1.2; }
.fw-prod__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.fw-prod__price { font-family: var(--fw-display); font-weight: 800; font-size: 26px; }
.fw-prod-single { display: flex; flex-wrap: wrap; gap: 48px; padding: 30px 0 100px; align-items: flex-start; }
.fw-prod-single__media { flex: 999 1 560px; min-width: 0; }
.fw-prod-single__media img { border-radius: 26px; width: 100%; display: block; }
.fw-prod-single__buy { flex: 1 1 320px; min-width: 0; position: sticky; top: 24px; background: var(--fw-card); border: 1px solid var(--fw-line); border-radius: 28px; padding: 30px; }
.fw-prod-single__buy .fw-prod__price { font-size: 44px; }
.fw-prod-single__buy ul { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; color: var(--fw-soft); }
.fw-prod-single__buy li { display: flex; gap: 10px; }
.fw-prod-single__buy li::before { content: "✓"; color: var(--fw-lime); font-weight: 800; }

/* ---------- Forms ---------- */
.fw-input, .fw-form input[type="text"], .fw-form input[type="email"], .fw-form select, .fw-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea, .fw-search input[type="search"] {
	width: 100%; background: var(--fw-bg); border: 1px solid var(--fw-line-2); border-radius: 16px; padding: 15px 18px; color: var(--fw-text); font: inherit; font-size: 16px; min-height: 52px; transition: border-color .2s;
}
.fw-form textarea, .comment-form textarea { min-height: 160px; resize: vertical; }
.fw-input:focus, .fw-form input:focus, .fw-form select:focus, .fw-form textarea:focus, .comment-form input:focus, .comment-form textarea:focus, .fw-search input:focus { outline: 2px solid var(--fw-lime); outline-offset: 2px; border-color: var(--fw-lime); }
.fw-form { display: grid; gap: 20px; }
.fw-form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fw-form label, .comment-form label { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 600; color: var(--fw-soft); }
.fw-form .fw-hp { position: absolute; left: -9999px; }
.fw-notice { border-radius: 18px; padding: 18px 22px; font-weight: 600; }
.fw-notice--ok { background: var(--fw-lime); color: var(--fw-bg); }
.fw-notice--err { background: #2A1712; border: 1px solid var(--fw-coral); color: #FFB4A2; }
.fw-contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 110px; }
.fw-contact__form { flex: 999 1 560px; min-width: 0; background: var(--fw-card); border: 1px solid var(--fw-line); border-radius: 36px; padding: clamp(26px, 4vw, 48px); }
.fw-contact__side { flex: 1 1 320px; min-width: 0; display: grid; gap: 14px; }
.fw-plat { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--fw-line); border-radius: 20px; padding: 20px 24px; font-family: var(--fw-display); font-weight: 700; font-size: 20px; transition: transform .3s, border-color .3s; }
.fw-plat:hover { transform: translateX(6px); border-color: var(--fw-lime); }
.fw-plat span { color: var(--fw-lime); }
.fw-plat--mail { flex-direction: column; align-items: flex-start; gap: 6px; background: var(--fw-purple); color: var(--fw-bg); border-color: var(--fw-purple); padding: 26px; }
.fw-plat--mail:hover { color: var(--fw-bg); }
.fw-plat--mail small { font-family: var(--fw-mono); font-size: 12px; letter-spacing: 2px; font-weight: 400; }

/* Comments */
.fw-comments { margin-top: 60px; }
.fw-comments h2 { font-family: var(--fw-display); font-size: 30px; }
.fw-comments ol { list-style: none; padding: 0; margin: 0; }
.fw-comments .children { padding-left: 28px; }
.fw-comments .comment-body { background: var(--fw-card); border: 1px solid var(--fw-line); border-radius: 22px; padding: 22px 24px; margin-top: 14px; }
.fw-comments .comment-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14px; color: var(--fw-dim); }
.fw-comments .comment-meta img { border-radius: 50%; }
.fw-comments .comment-content { color: var(--fw-soft); font-size: 17px; }
.fw-comments .reply a { font-size: 14px; font-weight: 700; color: var(--fw-lime); }
.comment-form { display: grid; gap: 16px; }
.comment-form .form-submit input { background: var(--fw-lime); color: var(--fw-bg); border: 0; border-radius: 999px; padding: 16px 28px; font-weight: 700; font-size: 17px; cursor: pointer; }

/* WP core alignment */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption-text, .gallery-caption { font-size: 14px; color: var(--fw-dim); }
.sticky .fw-sweep__sub::after { content: " · FEATURED"; }
.bypostauthor > .comment-body { border-color: var(--fw-purple); }

/* ---------- Reveal ---------- */
.fw-js .fw-reveal { opacity: 0; transform: translateY(50px); transition: opacity .9s var(--fw-ease), transform .9s var(--fw-ease); }
.fw-js .fw-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes fwGrain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, -8%); } 40% { transform: translate(6%, -12%); } 60% { transform: translate(10%, 6%); } 80% { transform: translate(-2%, 9%); } }
@keyframes fwLine { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fwMark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes fwFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes fwSpin { to { transform: rotate(360deg); } }
@keyframes fwCounter { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes fwMq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fwBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes fwDash { to { stroke-dashoffset: 0; } }

@media (max-width: 760px) {
	body { font-size: 17px; }
	.fw-hide-sm { display: none !important; }
	.fw-hero { padding: 36px 0 60px; }
	.fw-section { padding-bottom: 80px; }
	.fw-stat { border-right: 0; border-bottom: 1px solid var(--fw-line); }
	.fw-article__aside, .fw-course-side { position: static; max-width: none; max-height: none; }
	.fw-row__num { font-size: 40px; width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.fw-mark { background-size: 100% 100%; }
	.fw-js .fw-reveal { opacity: 1; transform: none; }
	.fw-rotator__word { transform: none; }
}

/* Author profile links + hire box buttons (v1.1) */
.fw-author__links { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 600; }
.fw-author__links a { color: var(--fw-text); border-bottom: 1px solid var(--fw-line-2); }
.fw-author__links a:hover { color: var(--fw-lime); border-color: var(--fw-lime); }
.fw-hire-box__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fw-hire-box__btns .fw-btn { padding: 10px 18px; font-size: 16px; }
