@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Martian+Mono:wght@300;400;500;600;700&display=swap');

:root {
    --bg: #F0EFED;
    --fg: #111;
    --mid: rgba(17,17,17,0.55);
    --dim: rgba(17,17,17,0.18);
    --mono: 'IBM Plex Mono', monospace;
    --px: clamp(24px, 4vw, 64px);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--fg);
    font: 400 14px/1.6 'Martian Mono', monospace;
    letter-spacing: 0.01em;
    cursor: crosshair;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(rgba(0,0,0,0.055) 1px, transparent 1px);
    background-size: 20px 20px;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
::selection { background: var(--fg); color: var(--bg); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); }


/* ─── REGISTRATION MARKS ─── */

.reg { position: fixed; z-index: 9999; pointer-events: none; }
.reg::before, .reg::after { content: ''; position: absolute; background: rgba(0,0,0,0.13); }
.reg::before { width: 20px; height: 1px; }
.reg::after  { width: 1px;  height: 20px; }
.reg--tl { top: 12px; left: 12px; }  .reg--tl::before { top: 0; left: 0; } .reg--tl::after { top: 0; left: 0; }
.reg--tr { top: 12px; right: 12px; } .reg--tr::before { top: 0; right: 0; } .reg--tr::after { top: 0; right: 0; }
.reg--bl { bottom: 12px; left: 12px; } .reg--bl::before { bottom: 0; left: 0; } .reg--bl::after { bottom: 0; left: 0; }
.reg--br { bottom: 12px; right: 12px; } .reg--br::before { bottom: 0; right: 0; } .reg--br::after { bottom: 0; right: 0; }


/* ─── PAGE ─── */

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--px);
}


/* ─── LABEL ─── */

.label {
    font: 600 12px/1 'Martian Mono', monospace;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 20px;
}


/* ─── HEADER ─── */

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 0 32px;
    border-bottom: 1px solid var(--dim);
}

.header__left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.header__photo {
    width: 130px;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
}

.header__name {
    font: 600 clamp(34px, 4.5vw, 58px)/1.05 'Syne', sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: rgba(1,17,17,0.9);
}

.header__bio {
    font-size: 15px;
    font-weight: 400;
    color: var(--mid);
}

.header__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    font-size: 13px;
    flex-shrink: 0;
    padding-top: 2px;
}

.header__nav a {
    position: relative;
    color: var(--mid);
    transition: color 0.2s;
}
.header__nav a:hover { color: var(--fg); }
.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--fg);
    transition: width 0.3s var(--ease);
}
.header__nav a:hover::after { width: 100%; }


/* ─── BODY (principles + soundcloud) ─── */

.body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 36px 0;
    border-bottom: 1px solid var(--dim);
    align-items: start;
}

.principles {
    list-style: none;
    counter-reset: p;
}

.principles li {
    counter-increment: p;
    font-size: 13px;
    font-weight: 300;
    padding: 8px 0;
    border-bottom: 1px dotted var(--dim);
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.principles li:first-child {
    border-top: 1px dotted var(--dim);
}

.principles li::before {
    content: counter(p, decimal-leading-zero);
    font-size: 10px;
    font-weight: 600;
    color: var(--mid);
    flex-shrink: 0;
    min-width: 18px;
}

.body__sound iframe {
    border: none;
    width: 100%;
    height: 500px;
}


/* ─── FOOTER ─── */

.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mid);
}


/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {
    .header { flex-direction: column; }
    .header__nav { gap: 16px; flex-wrap: wrap; }
    .body { grid-template-columns: 1fr; }
    .body__sound iframe { height: 400px; }
}

@media (max-width: 600px) {
    .header__left { flex-direction: column; gap: 16px; }
    .header__photo { width: 80px; height: 80px; }
    .header__name { font-size: 22px; }
    .header__bio { font-size: 13px; }
    .header__nav { font-size: 12px; gap: 12px; }
    .principles li { font-size: 13px; }
    .footer { flex-direction: column; gap: 6px; }
    .reg { display: none; }
}
