/* globaltonecheck.com - Goblincore Curiosity Cabinet */
/* Palette:
   Cabinet Dark: #1A1510
   Specimen Shelf: #2A2218
   Antique Gold: #C4A050
   Tarnished Brass: #8A7A48
   Mushroom Brown: #7A6A50
   Moss Dark: #3A4A30
   Parchment: #E8DCC8
   Fog Dim: #9A8A78
   Fabric Dark: #221C14
*/

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

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

body {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #E8DCC8;
    background-color: #1A1510;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    background-color: #1A1510;
    overflow: hidden;
}

.hero-rule {
    position: absolute;
    top: 42%;
    left: 20%;
    width: 60%;
    height: 1px;
    background-color: #C4A050;
    transform: scaleX(0) rotate(3deg);
    transform-origin: center;
    opacity: 0.6;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 4rem);
    letter-spacing: 0.02em;
    color: #C4A050;
    position: absolute;
    top: 30%;
    left: 70%;
    transform: translateX(-50%);
    line-height: 1.1;
    opacity: 0;
    text-shadow: 0 0 20px rgba(196, 160, 80, 0.2);
}

.hero-tagline {
    font-family: 'Source Serif 4', serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #E8DCC8;
    position: absolute;
    top: 55%;
    left: 20%;
    max-width: 400px;
    opacity: 0;
    transform: translateY(15px);
}

/* Specimen Shelves */
.specimen-shelf {
    max-width: 700px;
    padding: 60px 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.specimen-shelf.visible {
    opacity: 1;
    transform: translateY(0);
}

.shelf-left {
    margin-left: 10%;
    margin-top: 80px;
}

.shelf-right {
    margin-left: 35%;
    margin-top: 100px;
}

.shelf-center-left {
    margin-left: 15%;
    margin-top: 120px;
}

.shelf-right-far {
    margin-left: 40%;
    margin-top: 80px;
}

.shelf-label {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9A8A78;
    display: block;
    margin-bottom: 16px;
}

.shelf-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.02em;
    color: #C4A050;
    margin-bottom: 20px;
    line-height: 1.2;
}

.shelf-text {
    font-family: 'Source Serif 4', serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #E8DCC8;
    margin-bottom: 16px;
}

.shelf-quote {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-style: italic;
    font-size: 1.3rem;
    color: #C4A050;
    margin-top: 24px;
    padding-left: 24px;
    border-left: 2px solid #8A7A48;
    opacity: 0.85;
}

/* Curiosity Alcoves */
.alcove-container {
    padding: 40px 0;
    display: flex;
}

.alcove-right {
    justify-content: flex-end;
    padding-right: 15%;
}

.alcove-left {
    justify-content: flex-start;
    padding-left: 10%;
}

.alcove-center {
    justify-content: center;
    padding: 60px 0;
}

.alcove {
    width: 180px;
    height: 180px;
    border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
    border: 2px solid rgba(138, 122, 72, 0.4);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: border-radius 400ms ease;
}

.alcove:hover {
    border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
}

.alcove-large {
    width: 240px;
    height: 240px;
}

.alcove-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 40% 40%, #C4A050 0%, #3A4A30 50%, #1A1510 100%);
    opacity: 0.4;
}

.gradient-sharp {
    background: radial-gradient(circle at 60% 60%, #8A7A48 0%, #7A6A50 40%, #1A1510 100%);
}

.gradient-calm {
    background: radial-gradient(circle at 50% 50%, #3A4A30 0%, #C4A050 30%, #1A1510 80%);
    opacity: 0.3;
}

.alcove-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.alcove-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: transform 300ms ease;
}

.alcove:hover .alcove-shape {
    transform: translate(5px, -3px);
}

.alcove:hover .alcove-gradient {
    transform: translate(3px, 2px);
}

.alcove:hover .alcove-noise {
    transform: translate(-2px, 1px);
}

.alcove-label {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C4A050;
    position: relative;
    z-index: 2;
}

/* Gold Filigree SVG */
.filigree-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.filigree-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

/* Progressive Disclosure Section */
.disclosure-section {
    padding: 80px 0;
    max-width: 700px;
    margin-left: 20%;
}

.disclosure-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #C4A050;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}

.drawer {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(138, 122, 72, 0.2);
    overflow: hidden;
}

.drawer-handle {
    padding: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.drawer-label {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9A8A78;
    flex-shrink: 0;
}

.drawer-title {
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: #C4A050;
}

.drawer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 600ms ease-out, opacity 400ms ease;
    opacity: 0;
    padding: 0 0 0 0;
}

.drawer-content.open {
    max-height: 300px;
    opacity: 1;
    padding: 0 0 24px 0;
}

.drawer-content p {
    font-family: 'Source Serif 4', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #E8DCC8;
}

/* Velvet Footer */
.footer {
    margin-top: 120px;
    padding: 80px 40px 40px;
    position: relative;
    background: #1A1510;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, #1A1510 0px, #1A1510 2px, #221C14 2px, #221C14 4px);
    opacity: 0.5;
}

.footer-watermark {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #C4A050;
    opacity: 0.15;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    margin-left: 15%;
}

.footer-text {
    font-family: 'Source Serif 4', serif;
    font-size: 1.05rem;
    color: #E8DCC8;
    margin-bottom: 8px;
}

.footer-meta {
    font-family: 'Karla', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #9A8A78;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        left: 50%;
        top: 25%;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-tagline {
        left: 10%;
        top: 55%;
        max-width: 80%;
    }

    .specimen-shelf {
        margin-left: 5% !important;
        padding: 40px 20px;
        max-width: 90%;
    }

    .disclosure-section {
        margin-left: 5%;
        padding: 60px 20px;
        max-width: 90%;
    }

    .alcove-container {
        justify-content: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-content {
        margin-left: 5%;
    }
}
