/* ==============================================
   miris.xyz -- muji functional zen
   Single-column reading experience
   ============================================== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: #F5F0E8;
    color: #5A5248;
    font-family: 'Albert Sans', sans-serif;
    font-weight: 400;
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Single Column */
.column {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* ---- Spacing System (16px increments) ---- */
.void-16 { height: 16px; }
.void-32 { height: 32px; }
.void-48 { height: 48px; }
.void-64 { height: 64px; }
.void-80 { height: 80px; }
.void-96 { height: 96px; }
.void-112 { height: 112px; }
.void-128 { height: 128px; }

/* ---- Typography ---- */

/* Site Title */
.site-title {
    font-family: 'Albert Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #2C2822;
    line-height: 1.2;
}

/* Section Headings */
.section-heading {
    font-family: 'Albert Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #2C2822;
    line-height: 1.2;
}

/* Intro Line */
.intro-line {
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #5A5248;
    line-height: 2.0;
}

/* Body Text */
.body-text {
    font-family: 'Albert Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #5A5248;
    line-height: 2.0;
}

/* Metadata Text */
.metadata-text {
    font-family: 'Albert Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #8A7C6C;
    line-height: 2.0;
}

/* ---- Section Title Row with Icon ---- */
.section-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Nature Element SVG Icons */
.nature-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    opacity: 0.6;
}

/* ---- Section Dot Divider ---- */
.section-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #D4C8B8;
    opacity: 0.4;
    margin: 0 auto;
}

/* ---- Links ---- */
.text-link {
    color: #5A5248;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: text-decoration-thickness 200ms ease, color 200ms ease;
}

.text-link:hover {
    color: #2C2822;
    text-decoration-thickness: 2px;
}

/* ---- Content Sections ---- */
.content-section {
    /* No extra styling needed -- muji simplicity */
}

/* ---- Fade Reveal ---- */
.fade-reveal {
    opacity: 0;
    transition: opacity 600ms ease;
}

.fade-reveal.is-visible {
    opacity: 1;
}

/* ---- Retro Triangle Pattern Footer ---- */
.retro-footer {
    width: 100%;
    height: 80px;
    position: relative;
    overflow: hidden;
}

.retro-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(60deg, transparent 46%, #B89A78 46%, #B89A78 54%, transparent 54%),
        linear-gradient(-60deg, transparent 46%, #B89A78 46%, #B89A78 54%, transparent 54%),
        linear-gradient(transparent 46%, #B89A78 46%, #B89A78 54%, transparent 54%);
    background-size: 12px 12px;
    background-position: 0 0;
    opacity: 0.08;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .column {
        max-width: 90vw;
        padding: 0 5vw;
    }
}

/* ---- Selection Color ---- */
::selection {
    background-color: #D4C8B8;
    color: #2C2822;
}
