/* Grancy's Treasures — Fused Glass Art
   Palette: deep royal purple, rose pink, lavender, warm cream
   Type: Cormorant Garamond (serif, display) + Montserrat (sans, body)
*/

:root {
  --purple-deep: #2d0a3d;
  --purple-royal: #5e2078;
  --purple-mid: #8a3ba8;
  --pink-rose: #d96aa5;
  --pink-soft: #f0b8d8;
  --cream: #fdf6ee;
  --cream-deep: #f5e6d3;
  --ink: #1f0d2a;
  --ink-soft: #3d2548;
  --gold: #d4a574;
  --shadow-purple: rgba(94, 32, 120, 0.15);
  --shadow-deep: rgba(45, 10, 61, 0.35);
  --transition-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

em { font-style: italic; }

/* ===== Page Overlay ===== */
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--purple-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.page-overlay.hidden { opacity: 0; visibility: hidden; }
.overlay-content { text-align: center; color: var(--pink-soft); }
.overlay-content p {
  margin-top: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  opacity: 0.9;
}
.glass-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple-mid), var(--pink-rose), var(--pink-soft), var(--purple-mid));
  animation: spin 2s linear infinite;
  box-shadow: 0 0 40px var(--shadow-purple);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 0;
  transition: all 0.4s var(--transition-ease);
}
.site-header.scrolled {
  background: rgba(253, 246, 238, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 2px 30px var(--shadow-purple);
}
.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  cursor: pointer;
}
.brand-script {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--cream);
  font-style: italic;
  transition: color 0.4s ease;
}
.site-header.scrolled .brand-script { color: var(--purple-deep); }
.brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pink-rose);
  font-weight: 400;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  width: 0; height: 1px;
  background: var(--pink-rose);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-links a:hover, .nav-links a.active { color: var(--pink-rose); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.site-header.scrolled .nav-links a { color: var(--ink-soft); }
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active { color: var(--purple-royal); }
.nav-cta {
  border: 1px solid var(--pink-rose);
  padding: 10px 24px;
  border-radius: 2px;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--pink-rose); color: var(--cream) !important; }

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45,10,61,0.7) 0%, rgba(94,32,120,0.5) 50%, rgba(217,106,165,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 40px;
  color: var(--cream);
}
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 32px;
  color: var(--pink-soft);
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: fadeUp 1s 0.8s forwards;
}
.hero-title em {
  color: var(--pink-soft);
  font-weight: 400;
}
.hero-tagline {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto 44px;
  line-height: 1.8;
  color: rgba(253, 246, 238, 0.9);
  opacity: 0;
  animation: fadeUp 1s 1.1s forwards;
}
.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.4s forwards;
}
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--pink-soft);
}
.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.8;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--pink-soft), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 38px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.4s var(--transition-ease);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--purple-royal);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--pink-rose);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--shadow-purple);
}
.btn-ghost {
  border: 1px solid rgba(253, 246, 238, 0.6);
  color: var(--cream);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(253, 246, 238, 0.1);
  border-color: var(--pink-soft);
}
.btn-large { padding: 18px 50px; font-size: 0.8rem; }

/* ===== Intro Section ===== */
.intro-section {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  position: relative;
}
.intro-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--purple-mid), transparent);
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.intro-text { max-width: 780px; margin: 0 auto; text-align: center; }
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pink-rose);
  margin-bottom: 24px;
  font-weight: 500;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
  color: var(--purple-deep);
}
.section-title em { color: var(--pink-rose); font-weight: 400; }
.section-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-weight: 300;
}
.signature { margin-top: 36px; font-size: 1rem; color: var(--purple-mid); }
.signature-script {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--purple-royal);
}

/* ===== Gallery ===== */
.gallery-section {
  padding: 140px 0;
  background: var(--cream);
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.8;
  font-weight: 300;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 40px;
}
.gallery-item-large { grid-column: span 2; }
.gallery-image-wrap {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 60px var(--shadow-purple);
  position: relative;
}
.gallery-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(94,32,120,0) 0%, rgba(217,106,165,0.08) 100%);
  pointer-events: none;
}
.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--transition-ease);
}
.gallery-item:hover .gallery-image-wrap img { transform: scale(1.05); }
.gallery-meta { padding: 28px 8px 0; }
.gallery-meta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--purple-deep);
  margin-bottom: 12px;
}
.piece-desc {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}
.piece-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: var(--purple-royal);
  font-weight: 500;
  display: inline-block;
  margin-right: 20px;
}
.piece-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.7;
}
.gallery-cta {
  text-align: center;
  margin-top: 80px;
}
.gallery-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--purple-mid);
  margin-bottom: 28px;
}

/* ===== About ===== */
.about-section {
  padding: 140px 0;
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-royal) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,106,165,0.2) 0%, transparent 70%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-image-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-text .section-eyebrow { color: var(--pink-soft); }
.about-text .section-title { color: var(--cream); }
.about-text .section-title em { color: var(--pink-soft); }
.about-text .section-body { color: rgba(253, 246, 238, 0.85); }
.about-pullquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--pink-rose);
  color: var(--pink-soft);
}

/* ===== Process ===== */
.process-section {
  padding: 140px 0;
  background: var(--cream-deep);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px; right: -20px;
  width: 40px; height: 1px;
  background: linear-gradient(to right, var(--purple-mid), transparent);
}
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--pink-rose);
  margin-bottom: 16px;
  opacity: 0.8;
}
.process-step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--purple-deep);
  margin-bottom: 16px;
}
.process-step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== Contact ===== */
.contact-section {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
}
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-mid);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--purple-mid);
  padding: 12px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 300;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--pink-rose);
}
.contact-form button { align-self: center; margin-top: 12px; }
.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 300;
}
.form-note a { color: var(--purple-royal); text-decoration: none; }
.form-note a:hover { color: var(--pink-rose); }

/* ===== Footer ===== */
.site-footer {
  background: var(--purple-deep);
  color: var(--cream);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .brand-script { font-size: 2.4rem; color: var(--cream); }
.footer-brand .brand-sub { color: var(--pink-soft); display: block; margin-top: 4px; }
.footer-tagline {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(253, 246, 238, 0.7);
}
.footer-links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-soft);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-links a, .footer-text {
  display: block;
  color: rgba(253, 246, 238, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 300;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--pink-soft); }
.footer-bottom {
  border-top: 1px solid rgba(253, 246, 238, 0.15);
  padding-top: 32px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(253, 246, 238, 0.5);
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.65rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-large { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 60px 20px; }
  .process-step:not(:last-child)::after { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-header { margin-bottom: 50px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero-content { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
}