@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Libre+Franklin:wght@400;700&family=PT+Mono&display=swap');

:root {
 --color-burgundy: #880E4F;
 --color-gold: #F57F17;
 --color-teal: #00695C;
 --color-parchment: #FFF3E0;
 --color-charcoal: #37474F;
 --color-light-charcoal: #546E7A;
 --color-white: #FFFFFF;
 --font-title: 'Cormorant Garamond', serif;
 --font-body: 'Libre Franklin', sans-serif;
 --font-mono: 'PT Mono', monospace;
 --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles & Reset */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
}

body {
 font-family: var(--font-body);
 font-size: 19px;
 line-height: 1.9;
 color: var(--color-charcoal);
 background-color: var(--color-parchment);
 -webkit-font-smoothing: antialiased;
 overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-title);
 font-weight: 700;
 line-height: 1.2;
 color: var(--color-charcoal);
}

h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 1.75rem); }

a {
 color: var(--color-teal);
 text-decoration: none;
 transition: var(--transition);
}

a:hover {
 color: var(--color-burgundy);
}

p {
 margin-bottom: 1.5em;
}

.label {
 font-family: var(--font-mono);
 font-size: 15px;
 color: var(--color-teal);
 text-transform: uppercase;
 display: block;
 margin-bottom: 16px;
}

.section {
 padding: clamp(60px, 10vw, 120px) 0;
 position: relative;
}

/* Header & Creative Navigation */
.header {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 z-index: 1000;
 padding: 20px 0;
 background: rgba(255, 243, 224, 0.8);
 backdrop-filter: blur(10px);
 transition: var(--transition);
}

.header-container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 max-width: 1400px;
 margin: 0 auto;
 padding: 0 40px;
}

.header-logo {
 font-family: var(--font-title);
 font-size: 1.1rem;
 font-weight: 700;
 color: var(--color-burgundy);
 line-height: 1.1;
 text-transform: uppercase;
 letter-spacing: 1px;
}

.header-nav {
 display: flex;
 align-items: center;
 gap: 20px;
 flex-wrap: wrap;
 justify-content: center;
}

.nav-link {
 font-family: var(--font-body);
 font-weight: 700;
 color: var(--color-charcoal);
 padding: 8px 12px;
 transform: rotate(var(--rot, 0deg)) translateY(var(--y, 0px));
 transition: var(--transition);
 position: relative;
}

.nav-link:hover {
 color: var(--color-burgundy);
 transform: rotate(0deg) translateY(-2px);
}
.nav-link.active {
 color: var(--color-burgundy);
}
.nav-link.active::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 10%;
 width: 80%;
 height: 2px;
 background: var(--color-gold);
 transform: rotate(-2deg);
}

.nav-link.cta-link {
 background: linear-gradient(45deg, var(--color-gold), var(--color-burgundy));
 color: var(--color-white);
 border-radius: 50px;
 padding: 10px 20px;
 box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.nav-link.cta-link:hover {
 color: var(--color-white);
 transform: rotate(0deg) translateY(-2px) scale(1.05);
 box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Mobile Menu */
.nav-toggle { display: none; }
@media(max-width: 1024px) {
 .header-nav { display: none; }
 .nav-toggle {
 display: block;
 background: none;
 border: none;
 cursor: pointer;
 z-index: 1001;
 width: 30px;
 height: 24px;
 position: relative;
 }
 .nav-toggle span {
 display: block;
 width: 100%;
 height: 2px;
 background: var(--color-charcoal);
 transition: all 0.3s;
 position: absolute;
 left:0;
 }
 .nav-toggle span:nth-child(1) { top: 0; }
 .nav-toggle span:nth-child(2) { top: 10px; }
 .nav-toggle span:nth-child(3) { bottom: 0; }

 .header-nav.active {
 display: flex;
 position: fixed;
 top: 0; right: 0; bottom: 0; left: 0;
 background: var(--color-parchment);
 flex-direction: column;
 justify-content: center;
 align-items: center;
 gap: 2rem;
 }
 .header-nav.active .nav-link {
 font-size: 1.5rem;
 transform: none;
 }

 .nav-toggle.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
 .nav-toggle.active span:nth-child(2) { opacity: 0; }
 .nav-toggle.active span:nth-child(3) { bottom: 12px; transform: rotate(-45deg); }
}

/* Hero "Vibe" Section */
.hero-vibe {
 min-height: 100vh;
 display: flex;
 align-items: center;
 justify-content: center;
 position: relative;
 overflow: hidden;
 padding: 100px 24px;
 background: linear-gradient(135deg, var(--color-burgundy), var(--color-gold));
}
.vibe-collage {
 position: absolute;
 top: 0; left: 0; right: 0; bottom: 0;
 opacity: 0.3;
}
.vibe-image-wrapper {
 position: absolute;
 left: var(--x);
 top: var(--y);
 transform: rotate(var(--rot));
 box-shadow: 0 10px 30px rgba(0,0,0,0.3);
 border: 5px solid white;
 overflow: hidden;
}
.vibe-image-wrapper img {
 width: 100%; height: 100%; object-fit: cover;
}
.hero-text-content {
 position: relative;
 z-index: 2;
 text-align: center;
 color: var(--color-white);
}
.hero-title {
 font-size: clamp(3rem, 10vw, 7rem);
 color: var(--color-white);
 font-family: 'Cormorant Garamond', serif;
 text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.hero-subtitle {
 font-size: clamp(1.2rem, 3vw, 1.5rem);
 font-family: var(--font-body);
 max-width: 500px;
 margin: 1rem auto 2rem;
}
.audio-play-button {
 display: inline-flex;
 align-items: center;
 gap: 12px;
 background: var(--color-white);
 color: var(--color-charcoal);
 border: none;
 border-radius: 50px;
 padding: 15px 30px;
 font-family: var(--font-body);
 font-size: 1rem;
 font-weight: 700;
 cursor: pointer;
 box-shadow: 0 5px 20px rgba(0,0,0,0.2);
 transition: var(--transition);
}
.audio-play-button:hover {
 transform: scale(1.05);
 box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Madness */
.section-madness {
 background-color: var(--color-white);
}
.section-header-creative {
 margin-bottom: 60px;
}
.section-header-creative.text-center { text-align: center; }
.section-header-creative .title {
 margin-bottom: 24px;
}
.madness-grid {
 display: grid;
 grid-template-columns: repeat(12, 1fr);
 grid-auto-rows: minmax(100px, auto);
 gap: 30px;
}
.madness-card {
 position: relative;
 display: block;
 border-radius: 8px;
 overflow: hidden;
 box-shadow: 0 15px 35px rgba(0,0,0,0.1);
 transition: var(--transition);
}
.madness-card:hover {
 transform: translateY(-10px) rotate(1deg);
 box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.madness-card img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.6s ease;
}
.madness-card:hover img {
 transform: scale(1.1);
}
.madness-card-content {
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 padding: 20px;
 background: linear-gradient(transparent, rgba(0,0,0,0.8));
 color: var(--color-white);
}
.madness-card-content h3 {
 color: var(--color-white);
 margin: 0 0 5px 0;
}
.madness-card-content p {
 font-size: 0.9rem;
 margin: 0;
 color: rgba(255,255,255,0.8);
}
.madness-card:nth-child(1) { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.madness-card:nth-child(2) { grid-column: 6 / span 7; grid-row: 1 / span 3; transform: rotate(1.5deg); }
.madness-card:nth-child(3) { grid-column: 1 / span 7; grid-row: 3 / span 3; transform: rotate(-1deg); }
.madness-card:nth-child(4) { grid-column: 8 / span 5; grid-row: 4 / span 2; transform: rotate(2deg); }

@media (max-width: 900px) {
 .madness-grid {
 display: flex;
 flex-direction: column;
 gap: 30px;
 }
 .madness-card {
 transform: none !important;
 height: 300px;
 }
}

/* Map Section */
.section-map {
 background-color: var(--color-parchment);
 text-align: center;
}
.map-interactive {
 margin-top: 50px;
 position: relative;
}
.map-placeholder-img {
 max-width: 100%;
 height: auto;
 border-radius: 12px;
 box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.map-caption {
 margin-top: 1rem;
 font-family: var(--font-mono);
 color: var(--color-light-charcoal);
}

/* Create With Us Section */
.create-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 40px;
 margin-top: 60px;
}
.create-card {
 background: var(--color-white);
 border-radius: 8px;
 padding: 30px;
 text-align: center;
 box-shadow: 0 5px 15px rgba(0,0,0,0.05);
 border: 1px solid rgba(0,0,0,0.05);
 position: relative;
 border-top: 4px solid var(--color-gold);
 transform: var(--transform);
 transition: var(--transition);
}
.create-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.create-card:nth-child(odd) { transform: rotate(-1deg); }
.create-card:nth-child(even) { transform: rotate(1deg); }
.create-card:hover { transform: rotate(0) translateY(-10px); }

.create-card-icon {
 width: 60px;
 height: 60px;
 margin: 0 auto 20px;
 background: var(--color-parchment);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
}
.create-card-icon svg {
 width: 30px;
 height: 30px;
 color: var(--color-burgundy);
}
.create-card h3 {
 margin-bottom: 15px;
}
.create-card p {
 font-size: 1rem;
 line-height: 1.7;
 margin-bottom: 0;
}

/* Contact Section on Homepage */
.section-contact {
 background: linear-gradient(180deg, var(--color-parchment), #fff8eb);
}
.contact-wrapper {
 display: grid;
 grid-template-columns: 1fr 1.2fr;
 gap: 60px;
 align-items: center;
}
.contact-text-content { position: relative; }
.contact-doodles {
 position: absolute;
 top: 50%;
 left: 50%;
 width: 100%;
 height: 100%;
 transform: translate(-50%, -50%);
 z-index: -1;
 opacity: 0.3;
}
.doodle1 { position: absolute; top: -20%; left: -10%; width: 120%; transform: rotate(-5deg);}
.doodle2 { position: absolute; bottom: 0%; right: -15%; width: 60%; transform: rotate(10deg);}

.contact-form-wrapper {
 background: white;
 padding: clamp(30px, 5vw, 50px);
 border-radius: 12px;
 box-shadow: 0 20px 50px rgba(0,0,0,0.1);
 transform: rotate(1deg);
}

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label, .contact-page-wrapper .form-title, .contact-page-wrapper .info-title {
 font-family: var(--font-mono);
 font-size: 15px;
 color: var(--color-light-charcoal);
 display: block;
 margin-bottom: 8px;
 font-weight: 700;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
 width: 100%;
 padding: 14px;
 font-family: var(--font-body);
 font-size: 1rem;
 border: 2px solid var(--color-parchment);
 background: #fffdf9;
 border-radius: 4px;
 transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
 outline: none;
 border-color: var(--color-gold);
 background: white;
}
.form-group.checkbox-group {
 display: flex;
 align-items: flex-start;
 gap: 10px;
}
.form-group input[type="checkbox"] { margin-top: 6px; }
.form-group.checkbox-group label {
 font-family: var(--font-body);
 font-size: 0.9rem;
 color: var(--color-light-charcoal);
 margin: 0;
}
.submit-button {
 width: 100%;
 padding: 16px;
 background: linear-gradient(45deg, var(--color-gold), var(--color-burgundy));
 color: white;
 border: none;
 border-radius: 4px;
 font-size: 1.1rem;
 font-weight: 700;
 cursor: pointer;
 transition: var(--transition);
}
.submit-button:hover {
 transform: translateY(-3px);
 box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

@media(max-width: 900px){
 .contact-wrapper { grid-template-columns: 1fr; }
 .contact-text-content { text-align: center; margin-bottom: 40px;}
 .contact-form-wrapper { transform: none; }
}

/* Footer */
.footer {
 background: var(--color-charcoal);
 color: #e0e0e0;
 padding: 80px 0 30px;
 margin-top: 0;
 position: relative;
 overflow: hidden;
}
.footer-doodle {
 position: absolute;
 bottom: -50px;
 right: -50px;
 width: 200px;
 height: 200px;
 background: var(--color-burgundy);
 border-radius: 50%;
 opacity: 0.1;
 transform: rotate(45deg);
}
.footer-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 24px;
 position: relative;
 z-index: 2;
}
.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 40px;
 margin-bottom: 50px;
}
.footer-logo {
 font-family: var(--font-title);
 color: var(--color-white);
 font-size: 1.2rem;
 display: block;
 margin-bottom: 16px;
}
.footer-description {
 font-size: 0.95rem;
 color: #a0a0a0;
 line-height: 1.6;
 margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
 color: #a0a0a0;
 border: 1px solid #a0a0a0;
 width: 36px; height: 36px;
 display: flex; align-items: center; justify-content: center;
 border-radius: 50%;
 font-family: var(--font-mono);
}
.footer-social a:hover {
 color: var(--color-white);
 background: var(--color-teal);
 border-color: var(--color-teal);
}
.footer-heading {
 font-family: var(--font-mono);
 color: white;
 font-size: 1rem;
 text-transform: uppercase;
 margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #a0a0a0; font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-white); }

.footer-contact-item {
 display: flex;
 gap: 12px;
 font-size: 0.95rem;
 margin-bottom: 16px;
 color: #a0a0a0;
}
.footer-contact-item a { color: #a0a0a0; }
.footer-contact-item a:hover { color: var(--color-white); }
.footer-contact-item span { color: var(--color-gold); }

.footer-bottom {
 text-align: center;
 padding-top: 30px;
 border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-copyright {
 font-size: 0.9rem;
 color: #707070;
 margin: 0;
}

/* Subpage Styles */
.subpage-hero {
 min-height: 50vh;
 background-size: cover;
 background-position: center;
 background-attachment: fixed;
 display: flex;
 align-items: center;
 justify-content: center;
 text-align: center;
 color: white;
 padding: 80px 24px;
}
.subpage-hero .title {
 color: white;
 text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.subpage-hero .label {
 color: var(--color-gold);
}
.page-content {
 padding-top: 80px; /* Header offset */
}
.content-container {
 max-width: 800px;
 background: var(--color-white);
 padding: 50px;
 margin-top: -100px;
 position: relative;
 z-index: 5;
 border-radius: 8px;
 box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.content-container h2 { margin-top: 2em; margin-bottom: 1em; }
.content-container p:first-of-type { font-size: 1.1em; color: var(--color-light-charcoal); }

.content-figure {
 margin: 40px 0;
}
.content-figure img {
 width: 100%;
 height: auto;
 border-radius: 4px;
}
.content-figure figcaption {
 text-align: center;
 font-style: italic;
 font-size: 0.9rem;
 color: var(--color-light-charcoal);
 margin-top: 10px;
}
.story-list {
 list-style-type: none;
 padding-left: 0;
}
.story-list li {
 padding-left: 1.5em;
 margin-bottom: 1em;
 position: relative;
}
.story-list li::before {
 content: '→';
 position: absolute;
 left: 0;
 color: var(--color-gold);
}

/* Contact Page Specific */
.contact-page-wrapper {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 50px;
 margin-top: 60px;
}
.contact-info-wrapper .info-title, .contact-form-wrapper .form-title {
 font-family: var(--font-title);
 font-size: 2rem;
 color: var(--color-charcoal);
 margin-bottom: 30px;
}
.contact-info-item { margin-bottom: 30px; }
.contact-info-item h3 { font-family:var(--font-mono); font-size: 1rem; color: var(--color-teal); text-transform: uppercase; margin-bottom: 10px; }
.contact-info-item p { margin: 0; line-height: 1.7; font-size: 1.1rem; }
.map-container {
 width: 100%; height: 250px;
 border-radius: 8px; overflow: hidden;
 box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
 .contact-page-wrapper { grid-template-columns: 1fr; }
 .content-container { padding: 30px; }
}

/* Legal/Policy Pages */
.meta { font-family: var(--font-mono); color: var(--color-light-charcoal); margin-bottom: 40px; }
.content-container h3 { margin-top: 2rem; margin-bottom: 1rem; }
.content-container ul { margin-left: 20px; margin-bottom: 20px; }
.cookie-table-wrapper { overflow-x: auto; margin: 30px 0; }
.cookie-table { width: 100%; border-collapse: collapse; }
.cookie-table th, .cookie-table td {
 padding: 12px 15px;
 border: 1px solid var(--color-parchment);
 text-align: left;
}
.cookie-table th { background: var(--color-parchment); font-family: var(--font-mono); }

/* Cookie Banner */
#cookie-banner {
 position: fixed;
 bottom: 0;
 left: 0;
 right: 0;
 background: var(--color-charcoal);
 color: var(--color-white);
 padding: 20px;
 display: none;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 z-index: 2000;
 flex-wrap: wrap;
}
#cookie-banner p { margin: 0; font-size: 0.9rem; }
#cookie-banner a { color: var(--color-gold); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; }
#cookie-accept, #cookie-decline {
 padding: 8px 16px;
 border: none;
 border-radius: 4px;
 cursor: pointer;
 font-weight: 700;
}
#cookie-accept { background: var(--color-gold); color: var(--color-charcoal); }
#cookie-decline { background: transparent; color: var(--color-white); border: 1px solid var(--color-white); }

/* Form Validation Styles */
.input-error {
 border-color: #dc2626 !important;
 box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.field-error {
 color: #c13333;
 font-size: 0.85rem;
 margin-top: 6px;
 font-weight: bold;
 animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
 from { opacity: 0; transform: translateY(-5px); }
 to { opacity: 1; transform: translateY(0); }
}

.spinner {
 display: inline-block;
 width: 16px;
 height: 16px;
 border: 2px solid rgba(255,255,255,0.3);
 border-radius: 50%;
 border-top-color: #fff;
 animation: spin 0.8s linear infinite;
 margin-right: 8px;
 vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

button:disabled { opacity: 0.7; cursor: not-allowed; }