:root {
    --bg: #fdfbf8;
    --bg-sand: #f4ede4;
    --clay-dark: #261c17;
    --clay-mid: #3a2b23;
    --terracotta: #b85638;
    --terracotta-light: #d16d4e;
    --sage: #4a6b53;
    --wa: #25d366;
    --wa-dark: #128c7e;
    --text: #261c17;
    --text-muted: #63554c;
    --border: #e3d8ca;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.66;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 78px;
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--clay-dark);
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--terracotta);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.brand-title strong {
    display: block;
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    line-height: 1.1;
}

.brand-title small {
    font-size: 0.65rem;
    color: var(--terracotta);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 9px 18px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--terracotta);
    background: var(--bg-sand);
}

.nav-link.active {
    background: var(--clay-dark);
    color: #ffffff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: var(--clay-dark);
}

/* Sections */
.section {
    padding: 94px 0;
}

.bg-sand {
    background-color: var(--bg-sand);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.bg-clay-dark {
    background-color: var(--clay-dark);
}

.text-cream {
    color: #f8f3ec;
}

.sec-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 52px;
}

.kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    color: var(--terracotta);
    margin-bottom: 10px;
}

.kicker.light {
    color: #eab39f;
}

.sec-head h2 {
    font-size: 2.75rem;
    line-height: 1.12;
    margin-bottom: 12px;
}

.sec-head p {
    color: var(--text-muted);
}

.bg-clay-dark .sec-head p {
    color: #d5c9bc;
}

/* =========================================================
   MENU 1: HOME (Lookbook Asimetris)
   ========================================================= */
.hero-section {
    padding: 134px 0 86px;
}

.hero-lookbook {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
    align-items: center;
}

.studio-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-sand);
    border: 1px solid var(--border);
    color: var(--terracotta);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.terracotta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
}

.hero-narrative h1 {
    font-size: 3.55rem;
    line-height: 1.06;
    margin-bottom: 20px;
}

.hero-narrative h1 em {
    color: var(--terracotta);
    font-style: italic;
}

.hero-intro {
    font-size: 1.03rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.94rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-terracotta {
    background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(184, 86, 56, 0.3);
}

.btn-clay-outline {
    background: transparent;
    border: 1.5px solid var(--clay-dark);
    color: var(--clay-dark);
}

.full-width {
    width: 100%;
}

/* Social Block */
.hero-social-block {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.soc-title {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.soc-list {
    display: flex;
    gap: 10px;
}

.soc-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-sand);
    border: 1px solid var(--border);
    color: var(--clay-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.soc-btn:hover {
    background: var(--terracotta);
    color: #ffffff;
    border-color: var(--terracotta);
    transform: translateY(-3px);
}

/* Gallery Stack Kanan */
.hero-gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-craft-photo {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    height: 360px;
    border: 1.5px solid var(--border);
    box-shadow: 0 22px 44px rgba(38, 28, 23, 0.12);
}

.main-craft-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-craft-photo:hover img {
    transform: scale(1.05);
}

.craft-caption {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(38, 28, 23, 0.92));
    color: #ffffff;
    padding: 26px 20px 18px;
}

.craft-caption span {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #eab39f;
    margin-bottom: 4px;
}

.craft-caption strong {
    font-size: 1.05rem;
}

.artisan-profile-strip {
    background: var(--bg-sand);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.artisan-profile-strip img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--terracotta);
    flex-shrink: 0;
}

.ap-info {
    flex-grow: 1;
}

.ap-info h3 {
    font-size: 1.45rem;
    line-height: 1.1;
}

.ap-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.ap-stat {
    text-align: right;
    padding-left: 12px;
    border-left: 1px solid var(--border);
}

.ap-stat strong {
    display: block;
    font-size: 1.15rem;
    color: var(--terracotta);
}

.ap-stat span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* =========================================================
   MENU 2: TENTANG (Etalase Karya & Kisah Studio)
   ========================================================= */
.pottery-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.pot-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(38, 28, 23, 0.09);
}

.pot-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.pot-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.pot-card:hover .pot-img img {
    transform: scale(1.06);
}

.glaze-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(38, 28, 23, 0.88);
    color: #f8f3ec;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
}

.pot-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pot-body h3 {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 10px;
}

.pot-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.pot-body small {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sage);
}

/* Studio Story Layout */
.studio-story-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.story-photo-col {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid var(--border);
}

.story-photo-col img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.kiln-badge-box {
    background: var(--clay-dark);
    color: #ffffff;
    padding: 18px 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 8px;
}

.kiln-badge-box strong {
    display: block;
    font-size: 1.15rem;
    color: #eab39f;
}

.kiln-badge-box span {
    font-size: 0.74rem;
    color: #d5c9bc;
}

.story-text-col h2 {
    font-size: 2.65rem;
    line-height: 1.12;
    margin-bottom: 16px;
}

.story-text-col > p {
    color: var(--text-muted);
    margin-bottom: 22px;
}

.journey-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.j-card {
    background: var(--bg-sand);
    border-left: 4px solid var(--terracotta);
    border-radius: 14px;
    padding: 16px 20px;
}

.j-year {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--sage);
    margin-bottom: 2px;
}

.j-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.j-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* =========================================================
   MENU 3: LAYANAN
   ========================================================= */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.f-btn {
    background: #ffffff;
    border: 1.5px solid var(--border);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.f-btn:hover,
.f-btn.active {
    background: var(--clay-dark);
    color: #ffffff;
    border-color: var(--clay-dark);
}

.services-3grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.srv-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.srv-card.hide {
    display: none;
}

.srv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(38, 28, 23, 0.1);
}

.srv-img {
    position: relative;
    height: 205px;
    overflow: hidden;
}

.srv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.srv-card:hover .srv-img img {
    transform: scale(1.06);
}

.srv-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--clay-dark);
    color: #eab39f;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
}

.srv-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.srv-body h3 {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 10px;
}

.srv-body p {
    font-size: 0.91rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    flex-grow: 1;
}

.btn-detail {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--terracotta);
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-detail:hover {
    text-decoration: underline;
}

/* =========================================================
   MENU 4: KONTAK + MAPS + SOSMED
   ========================================================= */
.contact-split {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
    align-items: start;
}

.studio-map-card {
    background: var(--clay-mid);
    border: 1px solid rgba(234, 179, 159, 0.25);
    border-radius: 24px;
    overflow: hidden;
}

.sm-top {
    padding: 28px;
}

.sm-top h3 {
    font-size: 1.85rem;
    margin-bottom: 8px;
}

.sm-addr {
    color: #e6dcd0;
    font-size: 0.94rem;
    margin-bottom: 22px;
}

.sm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sm-grid small {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #eab39f;
    margin-bottom: 4px;
}

.sm-grid strong {
    font-size: 0.9rem;
}

.sm-socials {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.sm-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.sm-socials a:hover {
    background: var(--terracotta);
    transform: translateY(-2px);
}

.sm-map iframe {
    display: block;
    width: 100%;
    height: 245px;
}

.btn-maps-ext {
    display: block;
    text-align: center;
    background: #1a130f;
    color: #eab39f;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px;
    transition: background 0.2s ease;
}

.btn-maps-ext:hover {
    background: var(--terracotta);
    color: #ffffff;
}

/* Form */
.craft-form {
    background: #ffffff;
    color: var(--text);
    border-radius: 24px;
    padding: 32px;
}

.craft-form h3 {
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.cf-field {
    margin-bottom: 15px;
}

.cf-field label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.93rem;
    background: var(--bg);
}

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: #ffffff;
}

.cf-msg {
    margin-top: 12px;
    text-align: center;
    font-weight: 700;
    color: var(--sage);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1a130f;
    color: #d5c9bc;
    padding: 26px 0;
    font-size: 0.88rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    color: #f8f3ec;
    text-decoration: none;
    font-weight: 600;
}

.top-link {
    color: #eab39f !important;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(38, 28, 23, 0.78);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
}

.modal-backdrop.open {
    display: flex;
}

.modal-box {
    background: #ffffff;
    max-width: 500px;
    width: 100%;
    border-radius: 22px;
    padding: 32px;
    position: relative;
}

.modal-x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--bg-sand);
    font-weight: 800;
    cursor: pointer;
}

.modal-box h3 {
    font-size: 1.85rem;
    line-height: 1.15;
    margin-bottom: 10px;
}

.info-pill {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 800;
    font-size: 0.84rem;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.modal-box p {
    color: var(--text-muted);
    margin-bottom: 22px;
}

.modal-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-wa-modal {
    background: #ecfdf5;
    border: 1.5px solid var(--wa);
    color: #065f46;
}

/* Floating WhatsApp Button di Pojok Kanan Bawah */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--wa), var(--wa-dark));
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.94rem;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
    z-index: 1500;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa:hover {
    transform: translateY(-4px) scale(1.03);
}

.wa-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid var(--wa);
    animation: waRipple 2s infinite;
    pointer-events: none;
}

@keyframes waRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.22); opacity: 0; }
}

/* Reveal */
.reveal-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 980px) {
    .hero-lookbook,
    .studio-story-layout,
    .contact-split {
        grid-template-columns: 1fr;
    }

    .pottery-showcase-grid,
    .services-3grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        width: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.open {
        display: flex;
    }

    .hero-narrative h1 {
        font-size: 2.6rem;
    }

    .artisan-profile-strip {
        flex-wrap: wrap;
    }

    .sm-grid {
        grid-template-columns: 1fr;
    }

    .footer-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .floating-wa {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
    }
}
