/* ============================================
   CRYSTAL & RICH'S SNOWCONES
   Bold Editorial Style — Teal + Slate
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    
    --container: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--slate-800);
    background: var(--slate-50);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-700);
    color: #fff;
    padding: 8px 16px;
    z-index: 200;
    border-radius: 4px;
    font-size: 14px;
}
.skip-link:focus {
    top: 8px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    background: rgba(248, 250, 252, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(15, 23, 42, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--slate-900);
}
.logo .logo-icon {
    width: 36px;
    height: 36px;
    color: var(--teal-600);
}
.logo .amp {
    color: var(--teal-500);
    font-style: italic;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--slate-600);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: var(--teal-700);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.nav-toggle .hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 60px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}
.btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
}
.btn-primary:hover {
    background: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-300);
}
.btn-secondary:hover {
    border-color: var(--teal-500);
    color: var(--teal-700);
    background: var(--teal-50);
}

.btn-small {
    padding: 8px 20px;
    font-size: 13px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 15px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 24px;
}
.section-heading em {
    font-style: italic;
    color: var(--teal-700);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--slate-900);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 25% 25%, var(--teal-400) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, var(--teal-400) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 48px;
    padding-bottom: 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 24px;
}
.hero-headline em {
    font-style: italic;
    color: var(--teal-300);
}
.hero-headline .highlight {
    color: var(--teal-400);
    position: relative;
}
.hero-headline .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal-500);
    opacity: 0.5;
    border-radius: 2px;
}

.hero-sub {
    font-size: 17px;
    line-height: 1.7;
    color: var(--slate-400);
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Hero Image Stack */
.hero-visual {
    position: relative;
    padding-left: 32px;
}

.hero-image-stack {
    position: relative;
    height: 600px;
}

.hero-img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img--primary {
    width: 340px;
    height: 440px;
    top: 0;
    left: 0;
    z-index: 2;
}
.hero-img--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.3) 100%);
    pointer-events: none;
}

.hero-img--accent {
    width: 240px;
    height: 300px;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 4px solid var(--slate-900);
}

.hero-badge {
    position: absolute;
    bottom: 120px;
    left: -20px;
    z-index: 4;
    background: var(--teal-600);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.4);
}
.hero-badge svg {
    width: 18px;
    height: 18px;
    color: #fde68a;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    color: var(--slate-50);
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--slate-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content .section-heading {
    margin-bottom: 20px;
}
.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--slate-500);
    letter-spacing: 0.04em;
}

/* ============================================
   FLAVORS
   ============================================ */
.flavors {
    padding: 100px 0;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}
.flavors::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle, var(--teal-400) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.flavors .container {
    position: relative;
    z-index: 2;
}

.flavors-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}
.flavors-header .section-eyebrow {
    color: var(--teal-400);
}
.flavors-header .section-heading {
    color: #fff;
}
.flavors-header .section-heading em {
    color: var(--teal-300);
}
.flavors-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--slate-400);
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 56px;
}

.flavor-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}
.flavor-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.flavor-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.flavor-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.flavor-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--slate-400);
}

.flavors-cta {
    text-align: center;
}
.flavors-cta p {
    color: var(--slate-400);
    font-size: 15px;
    margin-bottom: 20px;
}

/* ============================================
   VISIT / CONTACT
   ============================================ */
.visit {
    padding: 100px 0;
    background: var(--slate-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 36px 0 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal-700);
}
.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--slate-800);
    line-height: 1.5;
}
.contact-link {
    color: var(--teal-700);
    transition: color 0.2s;
}
.contact-link:hover {
    color: var(--teal-500);
}

.visit-cta .btn-primary {
    width: 100%;
    justify-content: center;
}

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
    position: relative;
}
.visit-map a {
    display: block;
    position: relative;
}
.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: padding-bottom 0.3s;
}
.map-overlay svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 64px 0 0;
}

.logo--light {
    color: #fff;
}
.logo--light .logo-icon {
    color: var(--teal-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    font-size: 14px;
    color: var(--slate-400);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}
.contact-link-light {
    color: var(--teal-400);
    font-weight: 500;
    transition: color 0.2s;
}
.contact-link-light:hover {
    color: var(--teal-300);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 20px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--slate-600);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(2, 6, 23, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 105;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }
    .main-nav.open {
        opacity: 1;
        pointer-events: all;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .main-nav a {
        font-size: 22px;
        font-family: var(--font-serif);
        font-weight: 600;
        color: #fff;
    }
    .main-nav a:hover {
        color: var(--teal-400);
    }
    .main-nav .btn-small {
        font-size: 15px;
        padding: 12px 28px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .hero-visual {
        display: none;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .flavors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --header-height: 64px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 32px);
        padding-bottom: 32px;
    }
    .hero-headline {
        font-size: clamp(36px, 10vw, 52px);
    }
    
    .about,
    .flavors,
    .visit {
        padding: 64px 0;
    }
    
    .flavors-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        gap: 24px;
    }
    .stat-number {
        font-size: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ACCESSIBILITY: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
