/* gabs.cafe -- Wabi-Sabi Ceramic Workshop */

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

:root {
    --parchment: #f5f0e8;
    --kiln-clay: #e8dfd3;
    --charcoal: #2c2825;
    --warm-stone: #7a6f64;
    --copper: #b87333;
    --celadon: #9db4a0;
    --amber: #d4a059;
    --umber: #4a3c2e;
    --cafe-warm: #f7f1e5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.75;
    color: var(--charcoal);
    background-color: var(--parchment);
    overflow-x: hidden;
}

/* ===================== GRAIN OVERLAY ===================== */

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f5f0e8'/%3E%3Crect x='0' y='0' width='1' height='1' fill='%23000' opacity='0.15'/%3E%3Crect x='2' y='3' width='1' height='1' fill='%23000' opacity='0.1'/%3E%3C/svg%3E");
}

.section {
    position: relative;
    min-height: 100vh;
}

/* ===================== WATERMARKS ===================== */

.watermark {
    position: absolute;
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: clamp(200px, 40vw, 400px);
    color: var(--charcoal);
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

.watermark-lg {
    position: absolute;
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
    font-size: clamp(150px, 30vw, 300px);
    color: var(--charcoal);
    opacity: 0.05;
    top: 20%;
    right: 5%;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}

/* ===================== THRESHOLD ===================== */

#threshold {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.still-life {
    margin-bottom: 40px;
    opacity: 0;
    animation: gentleFadeIn 1.5s ease-out 0.5s forwards;
}

.ceramic-vessel {
    filter: drop-shadow(4px 8px 16px rgba(74, 60, 46, 0.15));
}

.site-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.04em;
    color: var(--charcoal);
    opacity: 0;
    animation: gentleFadeIn 1.2s ease-out 1.5s forwards;
    margin-bottom: 12px;
}

.site-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 1.1rem;
    color: var(--warm-stone);
    opacity: 0;
    animation: gentleFadeIn 1s ease-out 2s forwards;
}

@keyframes gentleFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================== INTERSTITIAL QUOTES ===================== */

.interstitial {
    padding: 100px 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: 0.04em;
    color: var(--umber);
    line-height: 1.5;
}

.quote-translation {
    font-family: 'Karla', sans-serif;
    font-size: 0.9rem;
    color: var(--warm-stone);
    margin-top: 12px;
}

/* ===================== WORKSHOP ===================== */

.workshop-bg {
    background-color: var(--parchment);
    padding: 80px 40px;
}

.cafe-bg {
    background-color: var(--cafe-warm);
    padding: 80px 40px;
}

.content-row {
    display: flex;
    gap: 60px;
    max-width: 960px;
    margin: 0 auto 120px;
    align-items: center;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.text-block {
    flex: 1;
    max-width: 520px;
}

.text-block h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: 0.04em;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.text-block p {
    color: var(--charcoal);
    margin-bottom: 1.2em;
}

.text-block p em {
    color: var(--copper);
    font-style: italic;
}

.image-block {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ceramic-process {
    transform: rotate(1.5deg);
    filter: drop-shadow(4px 6px 12px rgba(74, 60, 46, 0.12));
    transition: transform 0.5s ease;
    max-width: 100%;
    height: auto;
}

.ceramic-process:hover {
    transform: rotate(1.5deg) scale(1.01);
}

/* ===================== MAKER MARK ===================== */

.maker-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--copper);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--copper);
    margin-bottom: 16px;
}

/* ===================== KINTSUGI ===================== */

#kintsugi {
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kintsugi-container {
    display: flex;
    gap: 60px;
    max-width: 800px;
    align-items: center;
}

.kintsugi-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 2s ease-out;
}

.kintsugi-line.drawn {
    stroke-dashoffset: 0;
}

.kintsugi-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: 0.04em;
    color: var(--charcoal);
    margin-bottom: 16px;
}

.kintsugi-text p {
    color: var(--charcoal);
    margin-bottom: 1em;
}

.kintsugi-separator {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 40px;
}

/* ===================== CLOSING ===================== */

.closing {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--kiln-clay);
    padding: 80px 40px;
}

.closing-vessel {
    margin-bottom: 32px;
    opacity: 0.6;
}

.closing-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.04em;
    color: var(--warm-stone);
}

/* ===================== BLUR REVEAL ===================== */

.blur-reveal {
    opacity: 0;
    filter: blur(4px);
    transform: translateY(10px);
    transition: opacity 0.6s ease-out, filter 0.6s ease-out, transform 0.6s ease-out;
}

.blur-reveal.revealed {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
    .content-row,
    .content-row.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .kintsugi-container {
        flex-direction: column;
        text-align: center;
    }

    .interstitial {
        padding: 60px 24px;
    }

    .workshop-bg,
    .cafe-bg {
        padding: 60px 24px;
    }
}
