/*
 Theme Name:   PatternCalc Child
 Theme URI:    https://patterncalc.com
 Description:  Astra Child Theme with "Atelier" design system for PatternCalc.
 Author:       PatternCalc
 Template:     astra
 Version:      1.0.0
*/
/* ==========================================================================
   1. Design System Variables ("Atelier")
   ========================================================================== */
:root {
    /* Color Palette */
    --color-canvas: #FDFCFB;
    /* Main background/paper */
    --color-stone: #FAF9F6;
    /* Card/Section background */
    --color-ink: #1A1A1A;
    /* Primary Text */
    --color-ink-light: #57534E;
    /* Secondary Text */
    --color-gold: #A67C52;
    /* Accent Gold/Bronze */
    --color-rose: #E8A598;
    /* Accent Rose/Pink */
    --color-rose-light: #FFF1F2;
    /* Soft Rose Background */
    --color-border: #E7E5E4;
    /* Subtle borders */
    /* Typography */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
    /* Spacing & Layout */
    --container-max: 1280px;
    --header-height: 80px;
}
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;900&family=Playfair+Display:ital,wght@0,400;0,600;0,900;1,400&display=swap');
/* ==========================================================================
   2. Global Reset & Base Styles
   ========================================================================== */
body {
    background-color: var(--color-canvas);
    color: var(--color-ink);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}
/* ==========================================================================
   3. Utility Classes
   ========================================================================== */
.font-serif {
    font-family: var(--font-serif);
}
.font-sans {
    font-family: var(--font-sans);
}
.text-gold {
    color: var(--color-gold);
}
.text-rose {
    color: var(--color-rose);
}
.bg-ink {
    background-color: var(--color-ink);
}
.bg-stone {
    background-color: var(--color-stone);
}
.container-custom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}
/* ==========================================================================
   4. Header & Navigation
   ========================================================================== */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
/* Mobile Menu Overlay */
#mobile-overlay {
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
/* Hamburger Animation */
#mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
#mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
#mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}
/* ==========================================================================
   5. Footer
   ========================================================================== */
.site-footer {
    border-top-left-radius: 3rem;
    border-top-right-radius: 3rem;
}
/* ==========================================================================
   6. Tailwind Compatibility (Minimal Set)
   ========================================================================== */
/* We rely on utility classes in markup, verify they match here or load Tailwind */
.fixed {
    position: fixed;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.z-40 {
    z-index: 40;
}
.z-50 {
    z-index: 50;
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-12 {
    gap: 3rem;
}
.p-10 {
    padding: 2.5rem;
}
.py-40 {
    padding-top: 10rem;
    padding-bottom: 10rem;
}
.px-10 {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}
.hidden {
    display: none;
}
.block {
    display: block;
}
@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }
    .lg\:hidden {
        display: none;
    }
    .lg\:block {
        display: block;
    }
    .lg\:col-span-6 {
        grid-column: span 6 / span 6;
    }
    .lg\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}