


:root {
 --glass-nav-bg: rgba(247, 244, 237, 0.82);
 --glass-nav-border: rgba(199, 91, 74, 0.08);
}

[data-theme="dark"] {
 --glass-nav-bg: rgba(26, 25, 23, 0.85);
 --glass-nav-border: rgba(212, 120, 106, 0.08);
}

#yardon-nav {
 position: sticky;
 top: 0;
 z-index: 100;
}

.yardon-nav {
 background: var(--glass-nav-bg) !important;
 backdrop-filter: saturate(180%) blur(20px);
 -webkit-backdrop-filter: saturate(180%) blur(20px);
 border-bottom: 1px solid var(--glass-nav-border);

 position: fixed;
}

.yardon-nav::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 height: 1px;
 background: linear-gradient(90deg,
 transparent 0%,
 var(--red-faded, #C75B4A) 20%,
 transparent 50%,
 var(--red-faded, #C75B4A) 80%,
 transparent 100%
 );
 opacity: 0;
 transition: opacity 0.6s var(--ease-out);
}

.yardon-nav:hover::after {
 opacity: 0.25;
}


.yardon-nav-link {
 position: relative;
}

.yardon-nav-link::after {
 content: '';
 position: absolute;
 bottom: -2px;
 left: 50%;
 width: 0;
 height: 1.5px;
 background: var(--red-faded, #C75B4A);
 transition: width 0.28s var(--ease-out), left 0.28s var(--ease-out);
 border-radius: 1px;
}

.yardon-nav-link:hover::after,
.yardon-nav-link.active::after {
 width: 100%;
 left: 0;
}


.yardon-nav-brand {
 font-weight: 800;
 letter-spacing: -0.02em;
 transition: color 0.2s var(--ease-out);
}




.series-card,
.project-series-item,
.oss-card,
.lp-card,
.dev-card,
.blog-pub-item {
 transition: transform 0.28s var(--ease-out),
 border-color 0.28s var(--ease-out),
 box-shadow 0.28s var(--ease-out),
 background 0.28s var(--ease-out);
}

.series-card:hover,
.project-series-item:hover,
.oss-card:hover,
.lp-card:hover {
 transform: translateY(-4px);
 box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
 border-color: var(--divider-active, rgba(199, 91, 74, 0.3));
}

[data-theme="dark"] .series-card:hover,
[data-theme="dark"] .project-series-item:hover,
[data-theme="dark"] .oss-card:hover,
[data-theme="dark"] .lp-card:hover {
 box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}


.skill-card:hover {
 background: linear-gradient(135deg,
 rgba(199, 91, 74, 0.02) 0%,
 transparent 60%
 );
 border-color: var(--divider-active, rgba(199, 91, 74, 0.4));
}


.section-break {
 position: relative;
 padding: var(--spacing-lg, 40px) 0;
 text-align: center;
}

.section-break-marker {
 display: inline-block;
 width: 32px;
 height: 32px;
 position: relative;
}

.section-break-marker::before,
.section-break-marker::after {
 content: '';
 position: absolute;
 top: 50%;
 width: 60px;
 height: 1px;
 background: linear-gradient(90deg,
 transparent,
 var(--divider, #D8D4CB),
 transparent
 );
}

.section-break-marker::before { right: calc(50% + 20px); }
.section-break-marker::after { left: calc(50% + 20px); }




.g-btn {
 position: relative;
 overflow: hidden;
}


.g-btn::after {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(90deg,
 transparent 0%,
 rgba(255, 255, 255, 0.15) 50%,
 transparent 100%
 );
 transition: left 0.45s var(--ease-out);
}

.g-btn:hover::after {
 left: 100%;
}


.g-btn--primary {
 background: linear-gradient(135deg,
 var(--red-faded, #C75B4A),
 var(--ink-secondary, #4A4440)
 );
 border: none;
 box-shadow: 0 2px 8px rgba(199, 91, 74, 0.15);
 transition: transform 0.2s var(--ease-out),
 box-shadow 0.2s var(--ease-out),
 filter 0.2s var(--ease-out);
}

.g-btn--primary:hover {
 transform: translateY(-2px);
 box-shadow: 0 6px 20px rgba(199, 91, 74, 0.25);
 filter: brightness(1.05);
}


.g-btn--ghost {
 border: 1px solid var(--divider, #D8D4CB);
 background: transparent;
 transition: border-color 0.2s var(--ease-out),
 color 0.2s var(--ease-out),
 background 0.2s var(--ease-out);
}

.g-btn--ghost:hover {
 border-color: var(--red-faded, #C75B4A);
 color: var(--red-faded, #C75B4A);
 background: rgba(199, 91, 74, 0.03);
}


.hero-title {
 letter-spacing: -0.03em;
 text-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.hero-tagline {
 opacity: 0.85;
}


.hero::after {
 content: '';
 display: block;
 width: 0;
 height: 0;
 border-left: 8px solid transparent;
 border-right: 8px solid transparent;
 border-top: 6px solid var(--divider, #D8D4CB);
 margin: 12px auto 0;
 opacity: 0.4;
 animation: hero-arrow-bounce 2.5s ease-in-out infinite;
}

@keyframes hero-arrow-bounce {
 0%, 100% { transform: translateY(0); opacity: 0.4; }
 50% { transform: translateY(4px); opacity: 0.7; }
}


.scroll-progress,
#page-progress-bar {
 height: 3px;
 background: linear-gradient(90deg,
 var(--red-faded, #C75B4A),
 #C9A96E,
 #7BA7A6
 );
 background-size: 200% 100%;
 animation: progress-shimmer 2s ease-in-out infinite;
}

@keyframes progress-shimmer {
 0%, 100% { background-position: 0% 50%; }
 50% { background-position: 100% 50%; }
}


a {
 transition: color 0.2s var(--ease-out),
 text-decoration-color 0.2s var(--ease-out);
 text-decoration-color: transparent;
 text-underline-offset: 3px;
}

a:hover {
 text-decoration-color: currentColor;
}


::selection {
 background: rgba(199, 91, 74, 0.15);
 color: var(--ink, #1C1C1C);
}

[data-theme="dark"] ::selection {
 background: rgba(212, 120, 106, 0.2);
 color: var(--ink, #E8E6E1);
}


.footer {
 border-top: 1px solid var(--divider, #D8D4CB);
 position: relative;
}

.footer::before {
 content: '';
 display: block;
 width: 60px;
 height: 3px;
 background: var(--red-faded, #C75B4A);
 margin: 0 auto var(--spacing-md, 24px);
 opacity: 0.3;
 border-radius: 2px;
}


.back-to-top {
 border-radius: 50%;
 width: 44px;
 height: 44px;
 background: var(--ink, #1C1C1C);
 color: var(--paper, #F7F4ED);
 box-shadow: 0 4px 16px rgba(0,0,0,0.12);
 transition: transform 0.25s var(--ease-out),
 opacity 0.3s var(--ease-out),
 box-shadow 0.25s var(--ease-out),
 background 0.25s var(--ease-out);
}

[data-theme="dark"] .back-to-top {
 background: var(--ink, #E8E6E1);
 color: var(--paper, #1A1917);
}

.back-to-top:hover {
 transform: translateY(-4px);
 box-shadow: 0 8px 24px rgba(0,0,0,0.18);
 background: var(--red-faded, #C75B4A);
 color: #fff;
}


.preloader.hidden {
 transition: opacity 0.5s var(--ease-out),
 visibility 0s 0.5s;
}


input[type="text"],
input[type="email"],
input[type="search"],
textarea {
 padding: 10px 14px;
 border: 1px solid var(--divider, #D8D4CB);
 border-radius: 6px;
 background: var(--paper, #F7F4ED);
 color: var(--ink, #1C1C1C);
 font-family: var(--font-body, 'Work Sans', sans-serif);
 font-size: 0.9rem;
 transition: border-color 0.2s var(--ease-out),
 box-shadow 0.2s var(--ease-out);
}

input:focus,
textarea:focus {
 outline: none;
 border-color: var(--red-faded, #C75B4A);
 box-shadow: 0 0 0 3px rgba(199, 91, 74, 0.1);
}


@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 }
}



.code-copy-btn {
 position: absolute;
 top: 10px;
 right: 10px;
 width: 32px;
 height: 32px;
 display: flex;
 align-items: center;
 justify-content: center;
 background: var(--paper-deep, #F0ECE3);
 border: 1px solid var(--divider, #D8D4CB);
 border-radius: 6px;
 cursor: pointer;
 color: var(--ink-muted, #7A756E);
 opacity: 0;
 transition: opacity 0.2s var(--ease-out),
 background 0.2s var(--ease-out),
 color 0.2s var(--ease-out),
 border-color 0.2s var(--ease-out);
 z-index: 5;
}

[data-theme="dark"] .code-copy-btn {
 background: rgba(255,255,255,0.06);
 border-color: var(--divider, #3A3530);
}

pre:hover .code-copy-btn,
.code-copy-btn:focus-visible {
 opacity: 1;
}

.code-copy-btn:hover {
 background: var(--red-faded, #C75B4A);
 border-color: var(--red-faded, #C75B4A);
 color: #fff;
}

.code-copy-btn.copied {
 background: #2d8a56;
 border-color: #2d8a56;
 color: #fff;
}



::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
 background: var(--divider, #D8D4CB);
 border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
 background: var(--ink-faint, #B5B0A8);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
 background: rgba(255,255,255,0.12);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
 background: rgba(255,255,255,0.2);
}


a:active,
button:active,
.series-card:active,
.project-series-item:active,
.skill-card:active,
.blog-pub-item:active {
 transform: scale(0.98);
 transition: transform 0.1s ease;
}


img[loading="lazy"] {
 background: var(--paper-deep, #F0ECE3);
 transition: opacity 0.4s var(--ease-out);
}
img[loading="lazy"]:not([src]) { opacity: 0; }


.post-section h2 { margin-top: 2.5em; }
.post-section h3 { margin-top: 2em; }
.post-section p { margin-bottom: 1.6em; }

.post-section blockquote {
 border-left: 3px solid var(--red-faded, #C75B4A);
 padding: 0.8em 1.2em;
 margin: 1.5em 0;
 background: var(--red-faded-light, rgba(199,91,74,0.06));
 border-radius: 0 6px 6px 0;
 font-style: italic;
 color: var(--ink-secondary, #4A4440);
}

.post-section blockquote p { margin-bottom: 0.5em; }
.post-section blockquote p:last-child { margin-bottom: 0; }

.post-section code {
 background: var(--paper-deep, #F0ECE3);
 padding: 0.15em 0.4em;
 border-radius: 3px;
 font-size: 0.9em;
 border: 1px solid var(--divider, #D8D4CB);
}

[data-theme="dark"] .post-section code {
 background: rgba(255,255,255,0.06);
 border-color: rgba(255,255,255,0.1);
}

.post-section pre {
 border-radius: 8px;
 border: 1px solid var(--divider, #D8D4CB);
 margin: 1.5em 0;
}

.post-section table {
 width: 100%;
 border-collapse: collapse;
 margin: 1.5em 0;
 font-size: 0.85rem;
}

.post-section th {
 text-align: left;
 padding: 10px 12px;
 border-bottom: 2px solid var(--divider, #D8D4CB);
 font-weight: 600;
}

.post-section td {
 padding: 8px 12px;
 border-bottom: 1px solid var(--divider, #D8D4CB);
}

.post-section tr:hover td {
 background: var(--paper-deep, #F0ECE3);
}

.post-section img {
 max-width: 100%;
 border-radius: 8px;
 margin: 1.5em 0;
 border: 1px solid var(--divider, #D8D4CB);
}


.yardon-nav-dropdown {
 background: var(--glass-nav-bg, rgba(247,244,237,0.92));
 backdrop-filter: saturate(180%) blur(24px);
 -webkit-backdrop-filter: saturate(180%) blur(24px);
 border: 1px solid var(--divider, #D8D4CB);
 border-radius: 12px;
 padding: 8px;
 box-shadow: 0 12px 40px rgba(0,0,0,0.08);
 min-width: 180px;
}

[data-theme="dark"] .yardon-nav-dropdown {
 box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.yardon-nav-dropdown-link {
 display: block;
 padding: 8px 14px;
 border-radius: 8px;
 font-size: 0.85rem;
 color: var(--ink-secondary, #4A4440);
 text-decoration: none;
 transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out);
}

.yardon-nav-dropdown-link:hover {
 background: var(--red-faded-light, rgba(199,91,74,0.06));
 color: var(--red-faded, #C75B4A);
}


.fade-in {
 transform: translateY(20px) !important;
 transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out) !important;
}

.fade-in.visible {
 transform: translateY(0) !important;
}


hr {
 border: 0;
 height: 1px;
 background: var(--divider, #D8D4CB);
 margin: var(--spacing-md, 24px) 0;
}


@media print {
 #yardon-nav, .back-to-top, .code-copy-btn,
 #page-progress, #scroll-progress, #cursor-glow,
 .gradient-flow, .particle-canvas, .slide-transition,
 .page-circle-transition, .preloader { display: none !important; }
 body { padding-top: 0; font-size: 12pt; line-height: 1.6; }
 a { color: inherit; text-decoration: underline; }
 .footer { border-top: 1pt solid #ccc; }
}



.shadow-elevation-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04); }
.shadow-elevation-2 { box-shadow: 0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04); }
.shadow-elevation-3 { box-shadow: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04); }
.shadow-elevation-4 { box-shadow: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04); }
.shadow-elevation-5 { box-shadow: 0 25px 50px rgba(0,0,0,0.15); }

[data-theme="dark"] .shadow-elevation-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2); }
[data-theme="dark"] .shadow-elevation-2 { box-shadow: 0 4px 6px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2); }
[data-theme="dark"] .shadow-elevation-3 { box-shadow: 0 10px 15px rgba(0,0,0,0.4), 0 4px 6px rgba(0,0,0,0.2); }


.fade-in-up-enhanced,
.fade-in-left-enhanced,
.fade-in-right-enhanced,
.scale-in-enhanced {
 opacity: 0;
 transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-up-enhanced { transform: translateY(30px); }
.fade-in-left-enhanced { transform: translateX(-30px); }
.fade-in-right-enhanced { transform: translateX(30px); }
.scale-in-enhanced { transform: scale(0.92); }

.fade-in-up-enhanced.visible { opacity: 1; transform: translateY(0); }
.fade-in-left-enhanced.visible { opacity: 1; transform: translateX(0); }
.fade-in-right-enhanced.visible { opacity: 1; transform: translateX(0); }
.scale-in-enhanced.visible { opacity: 1; transform: scale(1); }


.skeleton {
 background: linear-gradient(90deg, var(--paper-deep, #F0ECE3) 25%, var(--paper, #F7F4ED) 50%, var(--paper-deep, #F0ECE3) 75%);
 background-size: 200% 100%;
 animation: skeleton-loading 1.5s ease-in-out infinite;
 border-radius: 4px;
}

[data-theme="dark"] .skeleton {
 background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
 background-size: 200% 100%;
}

.skeleton-text { height: 1em; margin-bottom: 0.5em; width: 100%; }
.skeleton-text:last-child { width: 60%; }
.skeleton-title { height: 1.4em; margin-bottom: 0.8em; width: 70%; }
.skeleton-avatar{ width: 48px; height: 48px; border-radius: 50%; }
.skeleton-image { height: 200px; border-radius: 8px; }

@keyframes skeleton-loading {
 0% { background-position: 200% 0; }
 100% { background-position: -200% 0; }
}


.link-enhanced {
 text-decoration: none;
 background-image: linear-gradient(var(--red-faded, #C75B4A), var(--red-faded, #C75B4A));
 background-size: 0% 1px;
 background-position: 0% 100%;
 background-repeat: no-repeat;
 transition: background-size 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.link-enhanced:hover {
 background-size: 100% 1px;
 color: var(--red-faded, #C75B4A);
}


blockquote.enhanced {
 border: none;
 border-left: 3px solid var(--red-faded, #C75B4A);
 position: relative;
 padding: 1.2em 1.5em;
 margin: 2em 0;
 background: var(--red-faded-light, rgba(199,91,74,0.05));
 border-radius: 0 6px 6px 0;
}

blockquote.enhanced::before {
 content: '\201C';
 position: absolute;
 top: -0.3em;
 left: 0.3em;
 font-size: 3em;
 color: var(--red-faded, #C75B4A);
 opacity: 0.2;
 line-height: 1;
 font-family: Georgia, serif;
}


.gradient-text {
 background: linear-gradient(135deg, var(--red-faded, #C75B4A), #D4786A, var(--red-faded, #C75B4A));
 background-size: 200% auto;
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
}

.gradient-text-animated {
 background: linear-gradient(135deg, var(--red-faded, #C75B4A), #D4786A, #E8A090, #D4786A, var(--red-faded, #C75B4A));
 background-size: 300% auto;
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
 0%, 100% { background-position: 0% center; }
 50% { background-position: 100% center; }
}


.badge-pulse {
 animation: badge-pulse-anim 2s ease-in-out infinite;
}

@keyframes badge-pulse-anim {
 0%, 100% { transform: scale(1); }
 50% { transform: scale(1.05); }
}


*:focus-visible {
 outline: 2px solid var(--red-faded, #C75B4A);
 outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
 outline: 2px solid var(--red-faded, #C75B4A);
 outline-offset: 2px;
}


::selection {
 background: var(--red-faded, #C75B4A);
 color: #fff;
}

::-moz-selection {
 background: var(--red-faded, #C75B4A);
 color: #fff;
}




body::before {
 content: '';
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background-image: var(--noise-url);
 background-repeat: repeat;
 opacity: var(--noise-opacity);
 pointer-events: none;
 z-index: 9990;
 mix-blend-mode: overlay;
}

[data-theme="dark"] body::before {
 mix-blend-mode: soft-light;
 opacity: 0.04;
}


.page-container {
 max-width: 1100px;
 margin: 0 auto;
 padding-left: var(--content-padding-x);
 padding-right: var(--content-padding-x);
}

.page-section {
 padding-top: var(--section-padding-y);
 padding-bottom: var(--section-padding-y);
}

.page-section + .page-section {
 margin-top: var(--section-gap);
}


.card-premium {
 position: relative;
 background: var(--color-bg-card);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-lg);
 overflow: hidden;
 transition: all 0.35s var(--ease-out-quart);
}

.card-premium::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 1px;
 background: linear-gradient(90deg,
 transparent 0%,
 rgba(255, 255, 255, 0.1) 20%,
 rgba(255, 255, 255, 0.2) 50%,
 rgba(255, 255, 255, 0.1) 80%,
 transparent 100%
 );
 opacity: 0;
 transition: opacity 0.35s var(--ease-out-quart);
}

.card-premium:hover {
 transform: translateY(-4px);
 box-shadow: var(--shadow-card-hover);
 border-color: var(--color-border-hover);
}

.card-premium:hover::before {
 opacity: 1;
}

[data-theme="dark"] .card-premium {
 background: rgba(255, 255, 255, 0.06);
 border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .card-premium:hover {
 background: rgba(255, 255, 255, 0.09);
 box-shadow:
 0 20px 50px -10px rgba(0, 0, 0, 0.5),
 0 0 0 1px rgba(123, 167, 166, 0.2),
 0 0 30px rgba(123, 167, 166, 0.06);
}


.depth-layer-1 { z-index: 1; }
.depth-layer-2 { z-index: 2; }
.depth-layer-3 { z-index: 3; }


.orb-decoration {
 position: absolute;
 border-radius: 50%;
 filter: blur(80px);
 opacity: 0.08;
 pointer-events: none;
 z-index: 0;
}

.orb-primary {
 background: var(--monet-pond);
 width: 300px;
 height: 300px;
}

.orb-secondary {
 background: var(--monet-iris);
 width: 200px;
 height: 200px;
}

.orb-warm {
 background: var(--monet-poppy);
 width: 150px;
 height: 150px;
}

[data-theme="light"] .orb-decoration {
 opacity: 0.05;
}


.heading-hero {
 font-family: var(--font-display);
 font-size: var(--text-6xl);
 font-weight: 800;
 letter-spacing: var(--letter-spacing-display);
 line-height: var(--line-height-tight);
 color: var(--color-text-primary);
}

.heading-section {
 font-family: var(--font-display);
 font-size: var(--text-4xl);
 font-weight: 700;
 letter-spacing: var(--letter-spacing-display);
 line-height: var(--line-height-heading);
 color: var(--color-text-primary);
 margin-bottom: var(--space-6);
}

.heading-subsection {
 font-family: var(--font-display);
 font-size: var(--text-2xl);
 font-weight: 600;
 letter-spacing: -0.01em;
 line-height: var(--line-height-heading);
 color: var(--color-text-primary);
 margin-bottom: var(--space-4);
}


.text-poetic {
 font-family: var(--font-serif);
 font-style: italic;
 font-size: var(--text-xl);
 line-height: 1.6;
 color: var(--color-text-muted);
 letter-spacing: 0.02em;
}

.text-caption {
 font-family: var(--font-mono);
 font-size: var(--text-xs);
 letter-spacing: var(--letter-spacing-caption);
 text-transform: uppercase;
 color: var(--color-text-subtle);
}


.divider-refined {
 border: none;
 height: 1px;
 background: linear-gradient(90deg,
 transparent 0%,
 var(--color-border) 15%,
 var(--color-border-hover) 50%,
 var(--color-border) 85%,
 transparent 100%
 );
 margin: var(--space-12) 0;
}

.divider-dotted {
 border: none;
 height: 1px;
 border-top: 1px dotted var(--color-border);
 margin: var(--space-8) 0;
}

.divider-accent {
 border: none;
 height: 2px;
 width: 48px;
 background: var(--color-primary);
 border-radius: 1px;
 margin: var(--space-6) 0;
}


.btn-refined {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 10px 24px;
 font-family: var(--font-body);
 font-size: var(--text-sm);
 font-weight: 500;
 letter-spacing: 0.02em;
 border: 1px solid var(--color-border);
 border-radius: var(--radius-sm);
 background: var(--color-bg-card);
 color: var(--color-text-primary);
 cursor: pointer;
 transition: all 0.25s var(--ease-out-quart);
 position: relative;
 overflow: hidden;
}

.btn-refined::after {
 content: '';
 position: absolute;
 top: 0;
 left: -100%;
 width: 100%;
 height: 100%;
 background: linear-gradient(90deg,
 transparent,
 rgba(255, 255, 255, 0.06),
 transparent
 );
 transition: left 0.5s var(--ease-out-quart);
}

.btn-refined:hover {
 border-color: var(--color-primary);
 color: var(--color-primary);
 box-shadow: var(--shadow-sm);
 transform: translateY(-1px);
}

.btn-refined:hover::after {
 left: 100%;
}

.btn-refined:active {
 transform: translateY(0);
 box-shadow: var(--shadow-xs);
}

.btn-primary-refined {
 background: var(--color-primary);
 border-color: var(--color-primary);
 color: #fff;
}

.btn-primary-refined:hover {
 background: transparent;
 color: var(--color-primary);
 box-shadow: var(--shadow-glow);
}


.input-refined {
 width: 100%;
 padding: 12px 16px;
 font-family: var(--font-body);
 font-size: var(--text-base);
 color: var(--color-text-primary);
 background: var(--color-bg-input);
 border: 1px solid var(--color-border);
 border-radius: var(--radius-sm);
 transition: all 0.25s var(--ease-out-quart);
 outline: none;
}

.input-refined::placeholder {
 color: var(--color-text-subtle);
}

.input-refined:hover {
 border-color: var(--color-border-hover);
}

.input-refined:focus {
 border-color: var(--color-primary);
 box-shadow: 0 0 0 3px var(--color-primary-10);
 background: var(--color-bg-card);
}


.tag-refined {
 display: inline-flex;
 align-items: center;
 gap: 4px;
 padding: 4px 12px;
 font-family: var(--font-mono);
 font-size: var(--text-xs);
 letter-spacing: 0.04em;
 color: var(--color-text-muted);
 background: var(--color-bg-glass);
 border: 1px solid var(--color-border-light);
 border-radius: var(--radius-full);
 transition: all 0.2s var(--ease-out-quart);
}

.tag-refined:hover {
 border-color: var(--color-primary-30);
 color: var(--color-primary);
 background: var(--color-primary-10);
}

.tag-accent {
 background: var(--color-primary-10);
 border-color: var(--color-primary-20);
 color: var(--color-primary);
}


.bg-dot-pattern {
 background-image: var(--dot-pattern);
 background-size: var(--dot-pattern-size);
}

.bg-grid-pattern {
 background-image: var(--grid-pattern);
 background-size: var(--grid-pattern-size);
}


.scroll-indicator {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 8px;
 color: var(--color-text-subtle);
 font-family: var(--font-mono);
 font-size: var(--text-xs);
 letter-spacing: 0.08em;
 text-transform: uppercase;
}

.scroll-indicator::after {
 content: '';
 width: 1px;
 height: 32px;
 background: linear-gradient(to bottom, var(--color-text-subtle), transparent);
 animation: scroll-line 2s var(--ease-in-out-quart) infinite;
}

@keyframes scroll-line {
 0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
 50% { opacity: 1; transform: scaleY(1); }
}


.quote-premium {
 position: relative;
 padding: var(--space-8) var(--space-10);
 margin: var(--space-10) 0;
 border-left: none;
 background: var(--color-bg-glass);
 border-radius: var(--radius-md);
 border: 1px solid var(--color-border-light);
}

.quote-premium::before {
 content: '\201C';
 position: absolute;
 top: -8px;
 left: 16px;
 font-family: var(--font-serif);
 font-size: 4rem;
 color: var(--color-primary);
 opacity: 0.2;
 line-height: 1;
}

.quote-premium p {
 font-family: var(--font-serif);
 font-size: var(--text-lg);
 font-style: italic;
 line-height: 1.8;
 color: var(--color-text-secondary);
}

.quote-premium cite {
 display: block;
 margin-top: var(--space-4);
 font-family: var(--font-mono);
 font-size: var(--text-xs);
 font-style: normal;
 color: var(--color-text-subtle);
 letter-spacing: 0.04em;
}


.page-enter {
 animation: page-enter 0.6s var(--ease-out-quart) forwards;
}

@keyframes page-enter {
 from {
 opacity: 0;
 transform: translateY(16px);
 }
 to {
 opacity: 1;
 transform: translateY(0);
 }
}


@media (max-width: 768px) {
 .heading-hero {
 font-size: var(--text-4xl);
 }
 
 .heading-section {
 font-size: var(--text-3xl);
 }
 
 .page-section {
 padding-top: var(--space-16);
 padding-bottom: var(--space-16);
 }
 
 .orb-decoration {
 display: none;
 }
}

@media (max-width: 480px) {
 .heading-hero {
 font-size: var(--text-3xl);
 }
 
 .heading-section {
 font-size: var(--text-2xl);
 }
 
 .page-section {
 padding-top: var(--space-12);
 padding-bottom: var(--space-12);
 }
}


@media (prefers-reduced-motion: reduce) {
 body::before {
 display: none;
 }
 
 .card-premium,
 .btn-refined,
 .tag-refined,
 .input-refined {
 transition: none;
 }
 
 .card-premium:hover {
 transform: none;
 }
 
 .btn-refined:hover {
 transform: none;
 }
 
 .orb-decoration {
 display: none;
 }
 
 .scroll-indicator::after {
 animation: none;
 }

[data-theme="light"] .yardon-nav-link,
body.light .yardon-nav-link {
 color: var(--ink-primary, #2C2826) !important;
}
[data-theme="dark"] .yardon-nav-link,
body.dark .yardon-nav-link {
 color: rgba(255, 255, 255, 0.85) !important;
}


}
