/* DS Peritum founder site. Brand matches PeritumAI: navy, cyan #22d3ee to violet #a78bfa. */
:root {
	--ink: #030712;
	--panel: #0b1236;
	--line: #1e2a55;
	--text: #e6f1ff;
	--muted: #9fb3d1;
	--cyan: #22d3ee;
	--violet: #a78bfa;
	--brand: linear-gradient(90deg, #22d3ee, #a78bfa);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--text); }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.ds-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.ds-main { display: block; }
.ds-main h1, .ds-main h2, .ds-main h3 { margin: 0 0 0.6em; }
.ds-main h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.ds-main h3 { font-size: 1.15rem; }
.ds-main p { margin: 0 0 1em; }

/* Header */
.ds-top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); }
.ds-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(3, 7, 18, 0.85); backdrop-filter: blur(10px); }
.ds-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.ds-name { font-family: Bahnschrift, "Segoe UI", system-ui, sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--text); text-decoration: none; white-space: nowrap; }
.ds-top nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; justify-content: flex-end; font-size: 0.95rem; }
.ds-top nav a { color: var(--muted); text-decoration: none; }
.ds-top nav a:hover { color: var(--text); }
.ds-top nav a.ds-nav-cta { color: var(--ink); background: var(--cyan); padding: 6px 12px; border-radius: 8px; font-weight: 600; }
.ds-top nav a.ds-nav-cta:hover { background: var(--violet); }

/* Hero */
.ds-hero { padding: clamp(48px, 9vw, 104px) 0 clamp(32px, 6vw, 64px); background: radial-gradient(60% 80% at 85% 10%, rgba(167, 139, 250, 0.16), transparent 70%), radial-gradient(50% 70% at 0% 0%, rgba(34, 211, 238, 0.12), transparent 70%); }
.ds-hero-in { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.ds-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.ds-photo { width: 100%; height: auto; border-radius: 50%; border: 3px solid transparent; background: var(--brand) border-box; box-shadow: 0 0 60px rgba(34, 211, 238, 0.18); }
.ds-kicker { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 0.8em !important; }
.ds-lead { font-size: 1.2rem; color: var(--muted); max-width: 46em; }

/* Buttons and chips */
.ds-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em !important; }
.ds-btn { display: inline-block; padding: 0.7rem 1.3rem; border-radius: 8px; background: var(--cyan); color: var(--ink) !important; font-weight: 600; text-decoration: none; }
.ds-btn:hover { background: var(--violet); }
.ds-btn-ghost { background: transparent; color: var(--text) !important; border: 1px solid var(--line); }
.ds-btn-ghost:hover { background: var(--panel); border-color: var(--cyan); }
.ds-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-chips a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.ds-chips a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Sections and cards */
.ds-sec { padding-top: clamp(48px, 8vw, 88px); }
.ds-moved { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.ds-moved::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--brand); }
.ds-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.ds-card { padding: 24px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.ds-card p:last-child, .ds-card ul:last-child { margin-bottom: 0; }
.ds-card ul, .ds-cv ul { padding-left: 1.2em; margin: 0; color: var(--muted); }
.ds-card li, .ds-cv li li { margin-bottom: 0.4em; }
.ds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.ds-grid3 { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.ds-grid .ds-card p { color: var(--muted); }
.ds-note { color: var(--muted); font-size: 0.95rem; margin-top: 24px !important; }

/* CV timeline */
.ds-cv { list-style: none; margin: 8px 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--line); }
.ds-cv > li { position: relative; padding-bottom: 28px; }
.ds-cv > li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.ds-cv h3 span { font-weight: 400; color: var(--muted); }
.ds-when { font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; color: var(--cyan); margin-bottom: 0.3em !important; }

/* Plain pages (privacy) */
.ds-page { padding: 48px 16px 24px; }
.ds-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

/* Footer */
.ds-foot { margin-top: clamp(48px, 8vw, 88px); padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.ds-foot p { margin: 0; }
.ds-foot a { color: var(--muted); }
.ds-foot a:hover { color: var(--cyan); }

@media (max-width: 860px) {
	.ds-hero-in, .ds-cols { grid-template-columns: 1fr; }
	.ds-photo { width: 160px; order: -1; }
	.ds-grid, .ds-grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.ds-top { position: static; }
	.ds-top-in { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 16px; }
	.ds-top nav { justify-content: flex-start; gap: 4px 14px; }
}
