/* ==========================================================================
   miris.studio - Zen Single-Column Design
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #F5F0E8;
    color: #1A1A28;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.85;
    overflow-x: hidden;
}

/* --- Content Column --- */
.content-column {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #F5F0E8;
    position: relative;
}

.hero-content {
    margin-top: 30vh;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.logotype {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(36px, 6vw, 64px);
    color: #1A1A28;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.hero-tagline {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.8vw, 13px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8880;
    margin-top: 1em;
}

.hero-image-wrapper {
    width: 70%;
    max-width: 680px;
    margin-top: 6vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.8s;
}

.hero-image-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-image {
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
    filter: saturate(0.6) contrast(0.95);
}

.hero-image svg,
.hero-image-placeholder svg {
    display: block;
    width: 100%;
    height: auto;
}

.geo-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

.geo-accent--hero-left {
    left: -40px;
    top: 20%;
    animation: geoRotate 30s linear infinite;
}

.geo-accent--hero-right {
    right: -40px;
    bottom: 20%;
    animation: geoRotate 30s linear infinite reverse;
}

/* --- Section Base Styles --- */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-bottom: 12vh;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section Labels --- */
.section-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.8vw, 13px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8880;
    display: block;
    margin-bottom: 2em;
}

/* --- Section Titles --- */
.section-title {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 48px);
    color: #1A1A28;
    line-height: 1.2;
    margin-bottom: 1.2em;
    letter-spacing: 0.01em;
}

/* --- Section Body --- */
.section-body {
    color: #1A1A28;
    margin-bottom: 2em;
}

/* --- Section Quote --- */
.section-quote {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(20px, 3vw, 32px);
    color: #2A2850;
    line-height: 1.4;
    margin-top: 2em;
    padding-left: 1.5em;
    border-left: 2px solid #D8B0A0;
}

/* --- Geometric Dividers --- */
.geo-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4vh 0;
    margin-bottom: 8vh;
}

.geo-divider-shape {
    width: 60px;
    height: 60px;
}

/* --- Geometric Rotation Animations --- */
@keyframes geoRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.geo-rotate {
    animation: geoRotate 30s linear infinite;
}

.geo-rotate-reverse {
    animation: geoRotate 30s linear infinite reverse;
}

/* --- Work Section --- */
.work-item {
    margin-bottom: 10vh;
}

.work-image {
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
    filter: saturate(0.6) contrast(0.95);
    margin-bottom: 2em;
}

.work-image svg {
    display: block;
    width: 100%;
    height: auto;
}

.work-title {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(24px, 3vw, 36px);
    color: #1A1A28;
    margin-bottom: 0.5em;
}

.work-description {
    color: #1A1A28;
    margin-bottom: 1em;
}

.work-status {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.8vw, 13px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C88070;
}

/* --- Process Section --- */
.process-steps {
    margin-top: 2em;
}

.process-step {
    margin-bottom: 6vh;
    padding-left: 2em;
    border-left: 1px solid #A8B8A0;
}

.process-number {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.8vw, 13px);
    letter-spacing: 0.12em;
    color: #C88070;
    display: block;
    margin-bottom: 0.5em;
}

.process-step-title {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(22px, 2.5vw, 32px);
    color: #2A2850;
    margin-bottom: 0.5em;
}

.process-step-body {
    color: #1A1A28;
}

/* --- Contact Section --- */
.contact-links {
    margin-top: 2em;
}

.contact-link {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(13px, 1vw, 16px);
    letter-spacing: 0.08em;
    color: #C88070;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
    padding-bottom: 2px;
}

.contact-link:hover {
    color: #2A2850;
    border-bottom-color: #2A2850;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding-top: 8vh;
    padding-bottom: 8vh;
    margin-top: 4vh;
}

.footer-geo {
    display: flex;
    justify-content: center;
    margin-bottom: 3em;
}

.footer-geo svg {
    width: 40px;
    height: 40px;
}

.footer-text {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(20px, 2.5vw, 28px);
    color: #1A1A28;
    margin-bottom: 0.3em;
}

.footer-sub {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(11px, 0.8vw, 13px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8880;
}

/* --- Photography-style image treatment --- */
.photo-image {
    filter: saturate(0.6) contrast(0.95);
    border-radius: 2px;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .hero-image-wrapper {
        width: 85%;
    }

    .geo-accent {
        width: 40px;
        height: 40px;
    }

    .geo-accent--hero-left {
        left: -20px;
    }

    .geo-accent--hero-right {
        right: -20px;
    }

    .process-step {
        padding-left: 1.5em;
    }

    .section-quote {
        padding-left: 1em;
    }
}

@media (max-width: 480px) {
    .hero-image-wrapper {
        width: 90%;
    }

    .geo-accent {
        display: none;
    }

    .geo-divider-shape {
        width: 40px;
        height: 40px;
    }
}
