skopec.dev/style.css
pepaskopec-blip 61afead1e7 Add photos of the main PC and Proxmox server to the Hardware page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 14:41:11 +02:00

2535 lines
46 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* skopec.dev — cool workshop / signal aesthetic (dark by default) */
:root {
--bg: #07090d;
--bg-deep: #0c1018;
--ink: #eef2f6;
--ink-soft: #c5ced8;
--muted: #8492a3;
--line: rgba(238, 242, 246, 0.08);
--line-strong: rgba(238, 242, 246, 0.16);
--surface: rgba(255, 255, 255, 0.04);
--surface-solid: #121820;
--accent: #ff4a1c;
--accent-ink: #ff7a52;
--glow: rgba(255, 74, 28, 0.22);
--glow-cool: rgba(60, 100, 160, 0.12);
--header-bg: rgba(7, 9, 13, 0.82);
--menu-bg: rgba(12, 16, 24, 0.97);
--sheen: rgba(255, 255, 255, 0.06);
color-scheme: dark;
--radius: 2px;
--nav-h: 4.25rem;
--font-display: "Syne", sans-serif;
--font-body: "Instrument Sans", sans-serif;
--ease: cubic-bezier(0.22, 1, 0.36, 1);
--max: 72rem;
}
:root[data-theme="light"] {
--bg: #f6f7f9;
--bg-deep: #e7eaef;
--ink: #11151c;
--ink-soft: #333d4b;
--muted: #5b6675;
--line: rgba(17, 21, 28, 0.1);
--line-strong: rgba(17, 21, 28, 0.2);
--surface: rgba(17, 21, 28, 0.03);
--surface-solid: #ffffff;
--accent: #dc3c11;
--accent-ink: #b32f08;
--glow: rgba(255, 74, 28, 0.16);
--glow-cool: rgba(60, 100, 160, 0.1);
--header-bg: rgba(246, 247, 249, 0.85);
--menu-bg: rgba(255, 255, 255, 0.97);
--sheen: rgba(17, 21, 28, 0.05);
color-scheme: light;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
color: var(--ink);
font-family: var(--font-body);
font-size: 1.0625rem;
line-height: 1.65;
background-color: var(--bg);
background-image:
radial-gradient(ellipse 90% 55% at 8% -10%, var(--glow), transparent 55%),
radial-gradient(ellipse 70% 45% at 100% 0%, var(--glow-cool), transparent 50%),
linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
background-attachment: fixed;
transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
opacity: 0.22;
background-image:
linear-gradient(var(--line) 1px, transparent 1px),
linear-gradient(90deg, var(--line) 1px, transparent 1px);
background-size: 48px 48px;
mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
}
img {
max-width: 100%;
display: block;
}
a {
color: inherit;
text-decoration-thickness: 1px;
text-underline-offset: 0.2em;
}
a:hover {
color: var(--accent-ink);
}
:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.skip-link {
position: absolute;
left: 1rem;
top: -100%;
z-index: 100;
padding: 0.6rem 1rem;
background: var(--accent);
color: #fff;
text-decoration: none;
font-weight: 600;
}
.skip-link:focus {
top: 1rem;
}
/* —— Nav —— */
.site-header {
position: sticky;
top: 0;
z-index: 50;
height: var(--nav-h);
display: flex;
align-items: center;
backdrop-filter: blur(14px) saturate(1.2);
background: var(--header-bg);
border-bottom: 1px solid var(--line);
}
.nav-inner {
width: min(100% - 2.5rem, var(--max));
margin-inline: auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.brand {
font-family: var(--font-display);
font-weight: 800;
font-size: 1.35rem;
letter-spacing: -0.03em;
text-decoration: none;
color: var(--ink);
line-height: 1;
}
.brand:hover {
color: var(--accent);
}
.brand span {
color: var(--accent);
}
.nav-links {
display: flex;
align-items: center;
gap: 0.35rem;
list-style: none;
margin: 0 0 0 auto;
padding: 0;
}
.nav-actions {
display: flex;
align-items: center;
gap: 0.5rem;
}
.nav-links a {
display: inline-flex;
align-items: center;
padding: 0.45rem 0.85rem;
font-size: 0.9rem;
font-weight: 560;
letter-spacing: 0.01em;
text-decoration: none;
color: var(--ink-soft);
border: 1px solid transparent;
border-radius: var(--radius);
transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover {
color: var(--ink);
background: var(--surface);
border-color: var(--line);
}
.nav-links a[aria-current="page"] {
color: var(--ink);
background: var(--surface-solid);
border-color: var(--line-strong);
}
.nav-toggle {
display: none;
width: 2.5rem;
height: 2.5rem;
padding: 0;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
background: var(--surface-solid);
cursor: pointer;
}
.nav-toggle span {
display: block;
width: 1.1rem;
height: 2px;
margin: 5px auto;
background: var(--ink);
}
.theme-toggle {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.5rem;
height: 2.5rem;
padding: 0;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
background: var(--surface-solid);
color: var(--ink-soft);
cursor: pointer;
transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.theme-toggle:hover {
color: var(--accent);
border-color: var(--ink);
}
.theme-toggle svg {
width: 1.1rem;
height: 1.1rem;
fill: none;
stroke: currentColor;
stroke-width: 1.6;
stroke-linecap: round;
stroke-linejoin: round;
}
.theme-toggle .icon-moon,
:root[data-theme="light"] .theme-toggle .icon-sun {
display: none;
}
:root[data-theme="light"] .theme-toggle .icon-moon {
display: block;
}
/* —— Layout —— */
.page {
position: relative;
z-index: 1;
overflow-x: clip;
}
.wrap {
width: min(100% - 2.5rem, var(--max));
margin-inline: auto;
}
.section {
padding: 4.5rem 0;
}
.section + .section {
border-top: 0;
}
.section-label {
display: inline-block;
margin: 0 0 0.75rem;
font-size: 0.75rem;
font-weight: 650;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--accent-ink);
}
.section h2 {
margin: 0 0 0.75rem;
font-family: var(--font-display);
font-size: clamp(1.75rem, 3vw, 2.35rem);
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.15;
}
.section-lead {
margin: 0 0 2rem;
max-width: 38rem;
color: var(--muted);
}
/* —— Hero —— */
.hero {
position: relative;
display: grid;
align-items: center;
gap: 2.5rem;
padding: 2.75rem 0 3.5rem;
overflow: visible;
}
.hero-content {
position: relative;
z-index: 1;
max-width: 42rem;
}
.hero-radar-wrap {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.85rem;
position: relative;
z-index: 1;
}
.hero-radar {
--radar-angle: 210deg;
position: relative;
width: min(100%, 23rem);
aspect-ratio: 1;
border-radius: 50%;
background-color: rgba(12, 16, 24, 0.65);
background-image:
radial-gradient(circle at 35% 35%, var(--sheen), transparent 60%),
conic-gradient(from var(--radar-angle) at 50% 50%, transparent 0 52%, var(--glow) 72%, transparent 100%);
border: 1px solid var(--line-strong);
box-shadow:
inset 0 0 40px rgba(7, 9, 13, 0.5),
0 20px 50px -20px rgba(0, 0, 0, 0.65);
transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
:root[data-theme="light"] .hero-radar {
background-color: rgba(255, 255, 255, 0.65);
box-shadow:
inset 0 0 36px rgba(17, 21, 28, 0.04),
0 20px 45px -22px rgba(17, 21, 28, 0.14);
}
.hero-radar:hover {
border-color: rgba(255, 74, 28, 0.35);
}
.hero-radar-rings {
position: absolute;
inset: 0;
border-radius: 50%;
pointer-events: none;
}
.hero-radar-rings::before,
.hero-radar-rings::after {
content: "";
position: absolute;
background: var(--line);
}
.hero-radar-rings::before {
top: 8%;
bottom: 8%;
left: 50%;
width: 1px;
transform: translateX(-50%);
}
.hero-radar-rings::after {
left: 8%;
right: 8%;
top: 50%;
height: 1px;
transform: translateY(-50%);
}
.hero-radar-rings span {
position: absolute;
border-radius: 50%;
border: 1px solid var(--line-strong);
opacity: 0.65;
}
.hero-radar-rings span:nth-child(1) {
inset: 16%;
}
.hero-radar-rings span:nth-child(2) {
inset: 31%;
}
.radar-node {
position: absolute;
left: var(--x);
top: var(--y);
transform: translate(-50%, -50%);
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.22rem 0.5rem 0.22rem 0.38rem;
border-radius: 999px;
text-decoration: none;
color: var(--ink-soft);
font-size: 0.76rem;
font-weight: 560;
letter-spacing: 0.01em;
line-height: 1;
white-space: nowrap;
background: rgba(7, 9, 13, 0.65);
border: 1px solid var(--line);
backdrop-filter: blur(6px);
transition:
color 0.25s var(--ease),
border-color 0.25s var(--ease),
background-color 0.25s var(--ease),
transform 0.25s var(--ease);
}
:root[data-theme="light"] .radar-node {
background: rgba(246, 247, 249, 0.78);
}
.radar-dot {
width: 0.38rem;
height: 0.38rem;
border-radius: 50%;
background: var(--accent-ink);
opacity: 0.65;
transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.radar-node-core {
color: var(--ink-soft);
border-color: var(--line);
}
.radar-node-core .radar-dot {
width: 0.45rem;
height: 0.45rem;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
opacity: 1;
}
.radar-node.is-swept {
color: var(--ink);
border-color: var(--line);
}
.radar-node.is-swept .radar-dot {
background: var(--accent-ink);
box-shadow: 0 0 10px var(--accent);
opacity: 1;
}
.radar-node:hover,
.radar-node:focus-visible {
color: var(--ink);
background: var(--surface-solid);
border-color: var(--accent);
transform: translate(-50%, -50%) scale(1.06);
z-index: 2;
outline: none;
}
.radar-node:hover .radar-dot,
.radar-node:focus-visible .radar-dot {
background: var(--accent);
box-shadow: 0 0 12px var(--accent);
transform: scale(1.2);
opacity: 1;
}
.radar-hud {
display: inline-flex;
align-items: center;
gap: 0.45rem;
padding: 0.35rem 0.75rem;
font-size: 0.78rem;
color: var(--muted);
background: var(--surface);
border: 1px solid var(--line);
border-radius: 999px;
}
.radar-hud-dot {
width: 0.4rem;
height: 0.4rem;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 8px var(--accent);
}
.radar-hud-name {
color: var(--ink);
font-weight: 650;
}
.radar-hud-sep {
opacity: 0.5;
}
@media (min-width: 900px) {
.hero {
grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 1fr);
gap: clamp(2rem, 4vw, 4rem);
}
.hero-radar {
width: clamp(19rem, 27vw, 24.5rem);
}
}
.hero-about-title {
margin: 0 0 0.85rem;
font-family: var(--font-display);
font-size: clamp(1.85rem, 4vw, 2.6rem);
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.15;
color: var(--ink);
}
.hero .about-text {
margin: 0 0 0.85rem;
}
.hero .meta-row {
margin: 1.25rem 0 1.75rem;
}
.hero-actions,
.feature-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.45rem;
padding: 0.7rem 1.15rem;
font-family: var(--font-body);
font-size: 0.95rem;
font-weight: 600;
text-decoration: none;
border-radius: var(--radius);
border: 1px solid transparent;
cursor: pointer;
transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover {
transform: translateY(-1px);
color: inherit;
}
.btn-primary {
background: var(--ink);
color: var(--bg);
border-color: var(--ink);
}
.btn-primary:hover {
background: var(--accent);
border-color: var(--accent);
color: #fff;
}
.btn-ghost {
background: var(--surface);
border-color: var(--line-strong);
color: var(--ink);
}
.btn-ghost:hover {
background: var(--surface-solid);
border-color: var(--ink);
}
.btn svg {
width: 1.05rem;
height: 1.05rem;
fill: currentColor;
}
/* —— About —— */
.about-text {
max-width: 42rem;
margin: 0;
color: var(--ink-soft);
font-size: 1.1rem;
}
.about-text + .about-text {
margin-top: 1rem;
}
.meta-row {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.25rem;
margin-top: 1.75rem;
padding-top: 1.25rem;
border-top: 1px solid var(--line);
color: var(--muted);
font-size: 0.92rem;
}
.meta-row strong {
color: var(--ink);
font-weight: 650;
}
/* —— Feature (Graduately) —— */
.feature {
--feature-shadow: rgba(0, 0, 0, 0.55);
--feature-edge: transparent;
--feature-word: min(11.4vw, 12rem);
overflow: hidden;
}
:root[data-theme="light"] .feature {
--feature-shadow: rgba(17, 21, 28, 0.22);
--feature-edge: rgba(17, 21, 28, 0.22);
}
.feature-backdrop {
margin: -1.5rem calc(50% - 50vw) 1.25rem;
font-family: var(--font-display);
font-size: var(--feature-word);
font-weight: 800;
letter-spacing: -0.05em;
line-height: 0.82;
text-align: center;
white-space: nowrap;
color: var(--ink);
opacity: 0.07;
mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 62%, transparent 100%);
pointer-events: none;
user-select: none;
}
.feature-grid {
display: grid;
gap: 3rem;
align-items: center;
}
.feature .feature-title {
margin: 0 0 1rem;
font-size: clamp(2.25rem, 11.5vw, 3.75rem);
letter-spacing: -0.04em;
line-height: 1;
}
.feature-kicker {
display: block;
margin-bottom: 0.45rem;
font-family: var(--font-body);
font-size: clamp(1.05rem, 1.6vw, 1.25rem);
font-style: italic;
font-weight: 500;
letter-spacing: 0;
line-height: 1.2;
color: var(--ink-soft);
}
.feature-tagline {
margin: 0 0 1rem;
font-family: var(--font-display);
font-size: 1.2rem;
font-weight: 600;
letter-spacing: -0.02em;
line-height: 1.35;
}
.feature-text {
max-width: 34rem;
margin: 0 0 1.75rem;
color: var(--muted);
}
.feature-media {
position: relative;
isolation: isolate;
padding: 1rem 0 2.5rem;
perspective: 1800px;
}
.feature-media::before {
content: "";
position: absolute;
inset: 5% 0 0 10%;
z-index: -1;
background: radial-gradient(closest-side, var(--glow), transparent);
filter: blur(24px);
}
.feature-window {
width: 100%;
height: auto;
transform: rotateX(10deg) rotateY(-18deg) rotateZ(2deg);
transform-origin: 60% 50%;
filter: drop-shadow(0 0 1px var(--feature-edge)) drop-shadow(0 30px 40px var(--feature-shadow));
transition: transform 0.8s var(--ease);
}
.feature-media:hover .feature-window {
transform: rotateX(5deg) rotateY(-9deg) rotateZ(1deg);
}
.feature-icon {
position: absolute;
left: -1rem;
bottom: 0;
width: clamp(4rem, 9vw, 6.5rem);
height: auto;
border-radius: 22%;
box-shadow: 0 18px 36px var(--feature-shadow);
transform: rotate(-8deg);
transition: transform 0.8s var(--ease);
}
.feature-media:hover .feature-icon {
transform: rotate(-4deg) translateY(-4px);
}
.feature-stats {
display: grid;
gap: 1.75rem 2rem;
margin: 3.5rem 0 0;
padding: 0;
list-style: none;
}
.feature-stats li {
padding-top: 1.1rem;
border-top: 1px solid var(--line-strong);
}
.feature-stats h3 {
margin: 0 0 0.45rem;
font-size: 0.75rem;
font-weight: 650;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--accent-ink);
}
.feature-stats strong {
display: block;
margin-bottom: 0.3rem;
font-family: var(--font-display);
font-size: clamp(2rem, 3.2vw, 2.6rem);
font-weight: 750;
letter-spacing: -0.04em;
line-height: 1;
text-transform: none;
color: var(--ink);
}
.feature-stats p {
margin: 0;
color: var(--muted);
font-size: 0.95rem;
}
@media (min-width: 560px) {
.feature-stats {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (min-width: 900px) {
.feature-grid {
grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.feature .feature-title {
font-size: clamp(2.25rem, 5.5vw - 0.3rem, 3.75rem);
}
.feature-media {
align-self: start;
margin-top: calc(var(--feature-word) * -0.7);
}
}
@media (min-width: 1000px) {
.feature-stats {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
/* —— Services —— */
.service-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0;
border-top: 1px solid var(--line-strong);
}
.service-list a,
.service-item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
grid-template-rows: auto auto;
align-items: center;
column-gap: 1rem;
row-gap: 0.15rem;
padding: 1.1rem 0.15rem;
text-decoration: none;
border-bottom: 1px solid var(--line);
transition: padding-left 0.25s var(--ease), color 0.2s var(--ease);
}
.service-list a:hover {
padding-left: 0.65rem;
color: var(--accent-ink);
}
.service-name {
grid-column: 1;
grid-row: 1;
font-family: var(--font-display);
font-weight: 700;
font-size: 1.2rem;
letter-spacing: -0.02em;
}
.service-host {
grid-column: 1;
grid-row: 2;
font-size: 0.9rem;
color: var(--muted);
}
.service-list a:hover .service-host {
color: var(--accent-ink);
}
.service-arrow {
grid-column: 2;
grid-row: 1 / span 2;
font-size: 1.25rem;
opacity: 0.35;
transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-list a:hover .service-arrow {
opacity: 1;
transform: translateX(3px);
color: var(--accent);
}
@media (min-width: 640px) {
.service-list a,
.service-item {
grid-template-columns: 11rem minmax(0, 1fr) auto;
grid-template-rows: auto;
}
.service-name {
grid-column: 1;
grid-row: 1;
}
.service-host {
grid-column: 2;
grid-row: 1;
}
.service-arrow {
grid-column: 3;
grid-row: 1;
}
}
/* —— Friends —— */
.friend-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.65rem;
}
.friend-list a {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 0.35rem 1.5rem;
padding: 0.95rem 1.1rem;
text-decoration: none;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}
.friend-list a:hover {
border-color: var(--ink);
background: var(--surface-solid);
transform: translateX(4px);
color: var(--ink);
}
.friend-name {
font-weight: 650;
}
.friend-url {
color: var(--muted);
font-size: 0.9rem;
}
/* —— Connect —— */
.social-row {
display: flex;
flex-wrap: wrap;
gap: 0.55rem;
}
.social-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.75rem;
height: 2.75rem;
border: 1px solid var(--line-strong);
border-radius: var(--radius);
background: var(--surface-solid);
color: var(--ink-soft);
text-decoration: none;
transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.social-link:hover {
color: var(--bg);
background: var(--ink);
border-color: var(--ink);
transform: translateY(-2px);
}
.social-link svg {
width: 1.25rem;
height: 1.25rem;
fill: currentColor;
}
.connect-note {
margin: 1rem 0 0;
font-size: 0.9rem;
color: var(--muted);
}
/* —— Inner pages —— */
.page-hero {
padding: 3.5rem 0 2.5rem;
}
.breadcrumbs {
margin: 0 0 1rem;
}
.breadcrumbs ol {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 0.35rem 0.5rem;
font-size: 0.88rem;
color: var(--muted);
}
.breadcrumbs li {
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.breadcrumbs li:not(:last-child)::after {
content: "/";
color: var(--line-strong);
}
.breadcrumbs a {
color: var(--muted);
text-decoration: none;
}
.breadcrumbs a:hover {
color: var(--accent-ink);
}
.breadcrumbs [aria-current="page"] {
color: var(--ink-soft);
}
.page-hero h1 {
margin: 0 0 0.75rem;
font-family: var(--font-display);
font-size: clamp(2.4rem, 6vw, 4rem);
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1;
}
.page-hero p {
margin: 0;
max-width: 36rem;
color: var(--muted);
}
.stack-list,
.project-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 1.5rem;
}
.stack-item,
.project-item {
padding-bottom: 1.5rem;
border-bottom: 1px solid var(--line);
}
.stack-item:last-child,
.project-item:last-child {
border-bottom: 0;
padding-bottom: 0;
}
.stack-item h3,
.project-item h3 {
margin: 0 0 0.4rem;
font-family: var(--font-display);
font-size: 1.35rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.project-item h3 a {
text-decoration: none;
}
.project-item h3 a:hover {
color: var(--accent-ink);
}
.stack-item p,
.project-item p {
margin: 0;
color: var(--muted);
max-width: 40rem;
}
.project-link {
display: inline-flex;
align-items: center;
gap: 0.3rem;
margin-top: auto;
padding-top: 0.5rem;
font-size: 0.92rem;
font-weight: 600;
text-decoration: none;
color: var(--accent-ink);
}
.project-link:hover {
color: var(--accent);
}
/* —— Projects Showcase Grid —— */
.projects-hero-top {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
justify-content: space-between;
gap: 1.5rem 2rem;
}
.project-filters {
display: flex;
flex-wrap: wrap;
gap: 0.45rem;
}
.filter-chip {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.42rem 0.85rem;
font-family: var(--font-body);
font-size: 0.85rem;
font-weight: 560;
color: var(--ink-soft);
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
cursor: pointer;
transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.filter-chip span {
font-size: 0.72rem;
color: var(--muted);
}
.filter-chip:hover {
color: var(--ink);
border-color: var(--line-strong);
}
.filter-chip.is-active {
color: var(--bg);
background: var(--ink);
border-color: var(--ink);
}
.filter-chip.is-active span {
color: var(--bg);
opacity: 0.75;
}
.projects-section {
padding-top: 1.5rem;
}
.project-grid {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 1.5rem;
}
@media (min-width: 820px) {
.project-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
.project-card {
display: flex;
flex-direction: column;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden;
transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.project-card:hover {
border-color: var(--line-strong);
transform: translateY(-2px);
}
.project-card[hidden] {
display: none;
}
.project-card-featured {
background:
radial-gradient(ellipse 80% 70% at 90% 20%, var(--glow), transparent 65%),
var(--surface);
border-color: var(--line-strong);
}
@media (min-width: 820px) {
.project-card-featured {
grid-column: 1 / -1;
display: grid;
grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
align-items: center;
}
}
.project-card-body {
display: flex;
flex-direction: column;
flex: 1;
padding: 1.5rem;
}
@media (min-width: 820px) {
.project-card-featured .project-card-body {
padding: 2.25rem;
}
}
.project-card-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 0.55rem;
}
.project-card-meta .tag {
margin-bottom: 0;
}
.project-badge,
.project-status {
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--muted);
}
.project-badge {
padding: 0.2rem 0.55rem;
background: rgba(255, 74, 28, 0.14);
border: 1px solid rgba(255, 74, 28, 0.35);
color: var(--accent-ink);
border-radius: 999px;
}
.project-card h3 {
margin: 0 0 0.55rem;
font-family: var(--font-display);
font-size: 1.45rem;
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.15;
}
.project-card-featured h3 {
font-size: clamp(1.75rem, 3vw, 2.35rem);
}
.project-card h3 a {
text-decoration: none;
}
.project-card h3 a:hover {
color: var(--accent-ink);
}
.project-card p {
margin: 0 0 1.15rem;
color: var(--muted);
font-size: 0.98rem;
line-height: 1.6;
}
.project-pills {
list-style: none;
margin: 0 0 1.25rem;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.project-pills li {
padding: 0.22rem 0.55rem;
font-size: 0.76rem;
font-weight: 550;
color: var(--ink-soft);
background: var(--surface-solid);
border: 1px solid var(--line);
border-radius: var(--radius);
}
.project-card-actions {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
margin-top: auto;
}
/* —— Project Visual Previews —— */
.project-preview {
position: relative;
display: flex;
align-items: center;
justify-content: center;
min-height: 12.5rem;
padding: 1.25rem;
text-decoration: none;
color: inherit;
background:
radial-gradient(circle at 80% 20%, var(--glow), transparent 65%),
radial-gradient(circle at 20% 80%, var(--glow-cool), transparent 65%),
var(--bg-deep);
border-bottom: 1px solid var(--line);
overflow: hidden;
}
.project-card-featured .project-preview {
min-height: 19rem;
padding: 2rem 1.75rem 2.25rem;
border-bottom: 0;
background: transparent;
}
@media (min-width: 820px) {
.project-card-featured .project-preview {
border-left: 1px solid var(--line);
height: 100%;
}
}
.preview-graduately-shot {
width: 100%;
max-width: 30rem;
height: auto;
border-radius: 6px;
box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
transition: transform 0.5s var(--ease);
}
.project-card-featured:hover .preview-graduately-shot {
transform: perspective(1200px) rotateY(-3deg) rotateX(2deg) translateY(-3px);
}
.preview-graduately-icon {
position: absolute;
left: 1.25rem;
bottom: 1.15rem;
width: 3.75rem;
height: 3.75rem;
border-radius: 22%;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
transform: rotate(-6deg);
transition: transform 0.5s var(--ease);
}
.project-card-featured:hover .preview-graduately-icon {
transform: rotate(-2deg) scale(1.05);
}
/* Homelab rack preview */
.mock-rack {
width: 100%;
max-width: 24rem;
padding: 0.9rem 1rem;
background: var(--surface-solid);
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
font-size: 0.78rem;
}
.mock-rack-header {
display: flex;
align-items: center;
gap: 0.45rem;
padding-bottom: 0.6rem;
margin-bottom: 0.65rem;
border-bottom: 1px solid var(--line);
}
.mock-status-dot {
width: 0.45rem;
height: 0.45rem;
border-radius: 50%;
background: #22c55e;
box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}
.mock-rack-title {
font-weight: 650;
color: var(--ink);
font-variant-numeric: tabular-nums;
}
.mock-rack-uptime {
margin-left: auto;
color: var(--accent-ink);
font-size: 0.72rem;
font-weight: 600;
}
.mock-rack-bars {
display: grid;
gap: 0.45rem;
margin-bottom: 0.75rem;
}
.mock-bar-row {
display: grid;
grid-template-columns: 7.5rem 1fr;
align-items: center;
gap: 0.6rem;
color: var(--muted);
font-size: 0.73rem;
}
.mock-bar {
height: 0.36rem;
background: var(--line);
border-radius: 999px;
overflow: hidden;
}
.mock-bar i {
display: block;
height: 100%;
background: linear-gradient(90deg, var(--accent), var(--accent-ink));
border-radius: 999px;
}
.mock-service-chips {
display: flex;
flex-wrap: wrap;
gap: 0.3rem;
}
.mock-service-chips span {
padding: 0.15rem 0.45rem;
font-size: 0.68rem;
color: var(--ink-soft);
background: var(--surface);
border: 1px solid var(--line);
border-radius: 999px;
}
/* skopec.dev browser preview */
.mock-browser {
width: 100%;
max-width: 24rem;
background: var(--surface-solid);
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
overflow: hidden;
}
.mock-browser-bar {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.45rem 0.75rem;
background: var(--surface);
border-bottom: 1px solid var(--line);
font-size: 0.72rem;
}
.mock-dots {
display: inline-flex;
gap: 0.25rem;
}
.mock-dots i {
width: 0.42rem;
height: 0.42rem;
border-radius: 50%;
background: var(--line-strong);
}
.mock-url {
color: var(--muted);
font-variant-numeric: tabular-nums;
}
.mock-cache-tag {
margin-left: auto;
padding: 0.1rem 0.4rem;
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.06em;
color: var(--accent-ink);
background: rgba(255, 74, 28, 0.14);
border-radius: 2px;
}
.mock-browser-canvas {
padding: 0.85rem 0.9rem;
}
.mock-site-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 0.75rem;
}
.mock-site-lines {
display: grid;
gap: 0.35rem;
flex: 1;
}
.mock-line-title {
font-family: var(--font-display);
font-weight: 800;
font-size: 1rem;
color: var(--ink);
}
.mock-line-title i {
font-style: normal;
color: var(--accent);
}
.mock-line-sub {
height: 0.32rem;
width: 85%;
background: var(--line-strong);
border-radius: 999px;
}
.mock-line-sub.short {
width: 58%;
}
.mock-site-orb {
width: 3rem;
height: 3rem;
border-radius: 50%;
border: 1px solid var(--line-strong);
background: conic-gradient(from 210deg, transparent 0 50%, var(--glow) 75%, transparent 100%);
}
.mock-pipeline {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.35rem;
padding-top: 0.6rem;
border-top: 1px solid var(--line);
font-size: 0.7rem;
color: var(--muted);
}
.mock-arrow {
color: var(--accent);
}
.mock-edge {
color: var(--ink-soft);
font-weight: 600;
}
/* Snake arcade preview */
.mock-arcade {
width: 100%;
max-width: 24rem;
background: #080b10;
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
overflow: hidden;
}
.mock-arcade-hud {
display: flex;
justify-content: space-between;
padding: 0.4rem 0.75rem;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.06em;
color: #e2e8f0;
background: rgba(255, 255, 255, 0.04);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-arcade-hud span:last-child {
color: var(--accent-ink);
}
.snake-canvas {
display: block;
width: 100%;
height: 7.75rem;
}
/* BatchGym CLI preview */
.mock-terminal {
width: 100%;
max-width: 24rem;
background: #0a0d12;
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
overflow: hidden;
}
.mock-terminal-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.38rem 0.7rem;
font-size: 0.68rem;
color: #94a3b8;
background: #141923;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-terminal-body {
padding: 0.75rem 0.85rem;
font-size: 0.72rem;
line-height: 1.55;
color: #cbd5e1;
}
.term-header {
color: var(--accent-ink);
font-weight: 700;
margin-bottom: 0.35rem;
}
.term-stats {
display: flex;
flex-wrap: wrap;
gap: 0.35rem 1rem;
color: #94a3b8;
margin-bottom: 0.35rem;
}
.term-log {
color: #64748b;
}
.term-prompt {
color: #f1f5f9;
margin-top: 0.2rem;
}
.term-cursor {
display: inline-block;
width: 0.42rem;
height: 0.75rem;
margin-left: 0.2rem;
vertical-align: -1px;
background: var(--accent);
}
/* Terra challenge preview */
.mock-terra {
width: 100%;
max-width: 24rem;
padding: 0.9rem 1rem;
background: var(--surface-solid);
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
font-size: 0.76rem;
}
.mock-terra-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.7rem;
}
.mock-terra-badge {
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0.08em;
color: var(--accent-ink);
}
.mock-terra-duration {
font-size: 0.68rem;
font-weight: 600;
color: var(--muted);
}
.mock-terra-track {
margin-bottom: 0.55rem;
}
.mock-terra-label {
display: flex;
justify-content: space-between;
margin-bottom: 0.25rem;
font-size: 0.72rem;
color: var(--muted);
}
.mock-terra-label strong {
color: var(--ink);
}
.mock-terra-reward {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 0.55rem;
margin-top: 0.65rem;
border-top: 1px solid var(--line);
font-size: 0.73rem;
color: var(--muted);
}
.mock-terra-reward strong {
color: var(--ink);
font-weight: 650;
}
.tag {
display: inline-block;
margin-bottom: 0.5rem;
font-size: 0.72rem;
font-weight: 650;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--accent-ink);
}
.spec-list {
display: grid;
gap: 0.55rem;
margin: 1.15rem 0 0;
padding: 0;
max-width: 36rem;
}
.spec-list > div {
display: grid;
grid-template-columns: 5.5rem minmax(0, 1fr);
gap: 0.75rem 1rem;
align-items: baseline;
padding-bottom: 0.55rem;
border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
.spec-list > div {
grid-template-columns: 6.75rem minmax(0, 1fr);
}
}
.spec-list > div:last-child {
padding-bottom: 0;
border-bottom: 0;
}
.spec-list dt {
margin: 0;
font-size: 0.78rem;
font-weight: 650;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--muted);
}
.spec-list dd {
margin: 0;
color: var(--ink-soft);
font-variant-numeric: tabular-nums;
}
/* —— Hardware Showcase —— */
.hw-overview {
list-style: none;
margin: 2.25rem 0 0;
padding: 0;
display: grid;
gap: 0.75rem;
}
@media (min-width: 560px) {
.hw-overview {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (min-width: 960px) {
.hw-overview {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
.hw-overview li {
display: flex;
flex-direction: column;
gap: 0.2rem;
padding: 1rem 1.15rem;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
}
.hw-overview-label {
font-size: 0.7rem;
font-weight: 650;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--accent-ink);
}
.hw-overview strong {
font-family: var(--font-display);
font-size: clamp(1.35rem, 2.2vw, 1.65rem);
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.15;
color: var(--ink);
}
.hw-overview-sub {
font-size: 0.8rem;
color: var(--muted);
}
.hw-grid {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 1.75rem;
}
.hw-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius);
overflow: hidden;
transition: border-color 0.25s var(--ease);
}
.hw-card:hover {
border-color: var(--line-strong);
}
.hw-card[hidden] {
display: none;
}
.hw-card-top {
display: grid;
gap: 1.5rem;
padding: 1.5rem;
border-bottom: 1px solid var(--line);
background:
radial-gradient(ellipse 70% 80% at 95% 20%, var(--glow), transparent 65%),
radial-gradient(ellipse 60% 70% at 65% 90%, var(--glow-cool), transparent 65%);
}
@media (min-width: 820px) {
.hw-card-top {
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
align-items: center;
padding: 1.85rem 2rem;
}
}
.hw-card-intro h3 {
margin: 0 0 0.45rem;
font-family: var(--font-display);
font-size: clamp(1.45rem, 2.5vw, 1.8rem);
font-weight: 750;
letter-spacing: -0.03em;
line-height: 1.15;
}
.hw-card-intro p {
margin: 0 0 1.1rem;
color: var(--muted);
max-width: 36rem;
}
.hw-card-intro .project-pills {
margin-bottom: 0;
}
.hw-hosting-cta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.45rem 0.9rem;
margin-top: 1rem;
padding-top: 0.85rem;
border-top: 1px solid var(--line);
font-size: 0.84rem;
color: var(--muted);
}
.hw-hosting-cta a {
font-weight: 600;
text-decoration: none;
color: var(--accent-ink);
}
.hw-hosting-cta a:hover {
color: var(--accent);
}
.hw-visual {
display: flex;
align-items: center;
justify-content: center;
}
.hw-photo {
width: 100%;
height: auto;
background: var(--bg-deep);
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
@media (min-width: 820px) {
.hw-photo {
grid-column: 2;
grid-row: 1 / span 2;
}
}
/* Desktop fastfetch widget */
.mock-fetch {
width: 100%;
background: #0a0d13;
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
overflow: hidden;
}
.mock-fetch-bar {
display: flex;
align-items: center;
gap: 0.55rem;
padding: 0.4rem 0.75rem;
font-size: 0.7rem;
color: #94a3b8;
background: #131822;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-fetch-body {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.85rem 1rem;
font-size: 0.72rem;
line-height: 1.55;
color: #cbd5e1;
}
.fetch-ascii {
margin: 0;
color: var(--accent);
font-weight: 700;
line-height: 1.25;
user-select: none;
}
.fetch-lines b {
color: var(--accent-ink);
margin-right: 0.35rem;
}
.fetch-palette {
display: flex;
gap: 0.3rem;
margin-top: 0.4rem;
}
.fetch-palette i {
width: 0.8rem;
height: 0.35rem;
border-radius: 2px;
}
.fetch-palette i:nth-child(1) { background: #ff4a1c; }
.fetch-palette i:nth-child(2) { background: #f59e0b; }
.fetch-palette i:nth-child(3) { background: #22c55e; }
.fetch-palette i:nth-child(4) { background: #38bdf8; }
.fetch-palette i:nth-child(5) { background: #818cf8; }
.fetch-palette i:nth-child(6) { background: #e2e8f0; }
/* Laptop Apple M5 SoC widget */
.mock-soc {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.75rem;
padding: 0.9rem;
background: var(--surface-solid);
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.mock-soc-die {
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 0.75rem;
background:
radial-gradient(circle at 25% 25%, var(--glow), transparent 70%),
var(--bg-deep);
border: 1px solid var(--line-strong);
border-radius: 3px;
}
.soc-label {
font-size: 0.6rem;
font-weight: 700;
letter-spacing: 0.12em;
color: var(--muted);
}
.soc-title {
font-family: var(--font-display);
font-size: 1.85rem;
font-weight: 800;
letter-spacing: -0.04em;
line-height: 1;
margin: 0.2rem 0 0.55rem;
color: var(--ink);
}
.soc-blocks {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.25rem;
}
.soc-blocks span {
padding: 0.18rem 0.3rem;
font-size: 0.62rem;
font-weight: 600;
text-align: center;
color: var(--ink-soft);
background: var(--surface);
border: 1px solid var(--line);
border-radius: 2px;
}
.mock-soc-side {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 0.45rem;
}
.soc-stat {
display: flex;
flex-direction: column;
padding: 0.4rem 0.55rem;
background: var(--surface);
border: 1px solid var(--line);
border-radius: 2px;
}
.soc-stat span {
font-size: 0.65rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--muted);
}
.soc-stat strong {
font-size: 0.78rem;
color: var(--ink);
}
/* Proxmox Server Unit widget */
.mock-server-unit {
width: 100%;
padding: 0.9rem 1rem;
background: var(--surface-solid);
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
font-size: 0.75rem;
}
.server-unit-top {
display: flex;
align-items: center;
gap: 0.45rem;
padding-bottom: 0.55rem;
margin-bottom: 0.65rem;
border-bottom: 1px solid var(--line);
}
.server-unit-name {
font-weight: 700;
font-size: 0.7rem;
letter-spacing: 0.06em;
color: var(--ink);
}
.server-unit-tdp {
margin-left: auto;
padding: 0.1rem 0.45rem;
font-size: 0.66rem;
font-weight: 650;
color: var(--accent-ink);
background: rgba(255, 74, 28, 0.14);
border-radius: 999px;
}
.server-bays {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.45rem;
margin-bottom: 0.6rem;
}
.server-bay {
display: flex;
flex-direction: column;
gap: 0.1rem;
padding: 0.45rem 0.5rem;
background: var(--surface);
border: 1px solid var(--line);
border-radius: 2px;
}
.bay-type {
font-size: 0.62rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--accent-ink);
}
.server-bay strong {
font-size: 0.74rem;
color: var(--ink);
}
.bay-sub {
font-size: 0.65rem;
color: var(--muted);
}
.server-mem-strip {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.4rem 0.6rem;
background: var(--surface);
border: 1px solid var(--line);
border-radius: 2px;
font-size: 0.72rem;
}
.server-mem-strip span {
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.08em;
color: var(--muted);
}
.server-mem-strip strong {
color: var(--ink-soft);
}
/* Mobile Phone widget */
.mock-phone {
width: 100%;
display: grid;
grid-template-columns: auto 1fr;
gap: 0.85rem;
padding: 0.9rem 1rem;
background: var(--surface-solid);
border: 1px solid var(--line-strong);
border-radius: 4px;
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}
.mock-phone-cam {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 0.4rem;
padding: 0.6rem 0.7rem;
background: var(--bg-deep);
border: 1px solid var(--line-strong);
border-radius: 6px;
}
.cam-lens {
display: flex;
align-items: center;
justify-content: center;
width: 1.1rem;
height: 1.1rem;
border-radius: 50%;
background: #07090d;
border: 1.5px solid var(--line-strong);
}
.cam-lens.cam-main {
width: 2.1rem;
height: 2.1rem;
border-color: var(--accent-ink);
box-shadow: 0 0 14px var(--glow);
}
.cam-lens.cam-main i {
width: 0.75rem;
height: 0.75rem;
border-radius: 50%;
background: radial-gradient(circle at 35% 35%, var(--accent-ink), #1e293b 70%);
}
.cam-aux {
display: flex;
gap: 0.35rem;
}
.cam-tag {
font-size: 0.6rem;
font-weight: 700;
letter-spacing: 0.06em;
color: var(--muted);
}
.mock-phone-specs {
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 0.4rem;
}
.mock-phone-specs > div {
display: flex;
flex-direction: column;
padding: 0.38rem 0.55rem;
background: var(--surface);
border: 1px solid var(--line);
border-radius: 2px;
}
.mock-phone-specs span {
font-size: 0.64rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--muted);
}
.mock-phone-specs strong {
font-size: 0.78rem;
color: var(--ink);
}
/* Spec grid inside hardware card */
.hw-spec-grid {
margin: 0;
padding: 1.35rem 1.5rem 1.5rem;
display: grid;
gap: 1rem 1.75rem;
}
@media (min-width: 720px) {
.hw-spec-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
padding: 1.6rem 2rem 1.85rem;
}
}
.hw-spec-grid > div {
display: grid;
grid-template-columns: 4.75rem minmax(0, 1fr);
gap: 0.75rem;
align-items: baseline;
padding-bottom: 0.85rem;
border-bottom: 1px solid var(--line);
}
.hw-spec-grid > div:last-child {
border-bottom: 0;
padding-bottom: 0;
}
@media (min-width: 720px) {
.hw-spec-grid > div:nth-last-child(-n + 2) {
border-bottom: 0;
padding-bottom: 0;
}
}
.hw-spec-grid dt {
margin: 0;
font-size: 0.74rem;
font-weight: 700;
letter-spacing: 0.09em;
text-transform: uppercase;
color: var(--accent-ink);
}
.hw-spec-grid dd {
margin: 0;
font-size: 0.9rem;
line-height: 1.5;
color: var(--muted);
font-variant-numeric: tabular-nums;
}
.hw-spec-grid dd strong {
display: block;
margin-bottom: 0.15rem;
font-size: 0.96rem;
font-weight: 650;
color: var(--ink);
}
/* —— Footer —— */
.site-footer {
position: relative;
z-index: 1;
margin-top: 2rem;
padding: 1.75rem 0 2.25rem;
border-top: 1px solid var(--line-strong);
color: var(--muted);
font-size: 0.88rem;
}
.footer-inner {
width: min(100% - 2.5rem, var(--max));
margin-inline: auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 0.75rem 1.5rem;
}
.footer-links {
display: flex;
flex-wrap: wrap;
gap: 0.65rem 1.1rem;
}
.footer-inner a {
text-decoration: none;
font-weight: 560;
}
.footer-inner a:hover {
color: var(--accent-ink);
}
/* —— FAQ —— */
.faq-list {
display: grid;
gap: 0.65rem;
max-width: 42rem;
}
.faq-item {
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
padding: 0.15rem 1rem;
}
.faq-item summary {
cursor: pointer;
list-style: none;
padding: 0.9rem 0;
font-weight: 650;
font-family: var(--font-display);
letter-spacing: -0.02em;
}
.faq-item summary::-webkit-details-marker {
display: none;
}
.faq-item summary::after {
content: "+";
float: right;
color: var(--accent);
font-weight: 700;
}
.faq-item[open] summary::after {
content: "–";
}
.faq-item p {
margin: 0 0 1rem;
color: var(--muted);
}
.faq-item a {
color: var(--accent-ink);
}
/* —— Prose (privacy etc.) —— */
.prose {
max-width: 40rem;
}
.prose h2 {
margin: 2rem 0 0.65rem;
font-family: var(--font-display);
font-size: 1.35rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.prose h2:first-child {
margin-top: 0;
}
.prose p {
margin: 0 0 0.85rem;
color: var(--ink-soft);
}
.prose a {
color: var(--accent-ink);
}
.muted-note {
margin-top: 2rem !important;
font-size: 0.88rem;
color: var(--muted) !important;
}
/* —— Motion / reveal —— */
.reveal {
opacity: 0;
transform: translateY(18px);
transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
opacity: 1;
transform: none;
}
.hero-content > * {
animation: rise 0.85s var(--ease) both;
}
.hero-about-title { animation-delay: 0.05s; }
.hero .about-text:nth-of-type(1) { animation-delay: 0.12s; }
.hero .about-text:nth-of-type(2) { animation-delay: 0.18s; }
.hero .meta-row { animation-delay: 0.24s; }
.hero-actions { animation-delay: 0.3s; }
@keyframes rise {
from {
opacity: 0;
transform: translateY(22px);
}
to {
opacity: 1;
transform: none;
}
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
*,
*::before,
*::after {
animation: none !important;
transition: none !important;
}
.reveal {
opacity: 1;
transform: none;
}
body::before {
display: none;
}
}
/* —— Responsive —— */
@media (max-width: 720px) {
.nav-toggle {
display: inline-block;
}
.nav-links {
position: absolute;
top: var(--nav-h);
left: 0;
right: 0;
display: none;
flex-direction: column;
align-items: stretch;
gap: 0.25rem;
padding: 0.75rem 1.25rem 1rem;
background: var(--menu-bg);
border-bottom: 1px solid var(--line);
backdrop-filter: blur(12px);
}
.nav-links.is-open {
display: flex;
}
.nav-links a {
padding: 0.75rem 0.85rem;
}
.hero {
min-height: auto;
padding-top: 2.5rem;
padding-bottom: 3.25rem;
}
.section {
padding: 3.25rem 0;
}
}