@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --cream:      #F5F0E8;
  --warm-white: #FAF7F2;
  --sand:       #E8DDD0;
  --terracotta: #C17F5A;
  --rust:       #A85C38;
  --umber:      #6B4226;
  --charcoal:   #2C2420;
  --text:       #3A2E28;
  --text-light: #7A6A60;
  --accent:     #C17F5A;

  --nav-height: 72px;
  --max-width:  1200px;
  --gap:        2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Grain texture overlay ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── Navigation ─────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--umber);
}

.nav-logo span {
  font-style: italic;
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text);
  transition: all 0.3s;
}

/* ─── About teaser (homepage) ────────────────────────────── */
.about-teaser {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 80px;
}

.about-teaser-image {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.about-teaser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Page wrapper ───────────────────────────────────────── */
main { padding-top: var(--nav-height); min-height: 100vh; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--umber);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta);
  display: block;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 360px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--umber);
  border: 1px solid var(--umber);
  padding: 14px 28px;
  transition: all 0.3s;
  width: fit-content;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-cta:hover {
  background: var(--umber);
  color: var(--cream);
}

.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero-image:hover img { transform: scale(1.04); }

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(193,127,90,0.15) 0%, transparent 60%);
}

/* ─── Section styles ─────────────────────────────────────── */
section { padding: 100px 40px; max-width: var(--max-width); margin: 0 auto; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--umber);
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--sand);
  margin-left: auto;
}

/* ─── Featured paintings (homepage) ─────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 340px 240px;
  gap: var(--gap);
}

.featured-grid .painting {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.featured-grid .painting:first-child {
  grid-row: span 2;
}

.featured-grid .painting img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-grid .painting:hover img { transform: scale(1.05); }

.painting-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.painting:hover .painting-overlay { opacity: 1; }

.painting-overlay span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream);
  letter-spacing: 0.08em;
}

/* ─── Gallery Grid ───────────────────────────────────────── */
.gallery-intro {
  text-align: center;
  padding: 40px 40px 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-intro .section-title {
  margin-bottom: 12px;
}

.gallery-intro p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 60px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3px;
  padding: 0 40px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  /* Warm plaster wall background */
  background-color: #e8ddd0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Painting sits inside the wall with padding and shadow */
.gallery-item img {
  width: auto;
  height: auto;
  max-width: 74%;
  max-height: 74%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  /* Frame shadow — simulates hanging on wall */
  box-shadow:
    0 4px 8px rgba(44,36,32,0.18),
    0 10px 28px rgba(44,36,32,0.14),
    0 20px 48px rgba(44,36,32,0.08),
    2px 2px 0 rgba(255,255,255,0.06) inset;
}

.gallery-item:hover img {
  transform: scale(1.04) translateY(-3px);
  box-shadow:
    0 8px 16px rgba(44,36,32,0.22),
    0 18px 40px rgba(44,36,32,0.18),
    0 32px 64px rgba(44,36,32,0.10),
    2px 2px 0 rgba(255,255,255,0.06) inset;
}

/* Subtle wire/hook hint at top */
.gallery-item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50%; /* scales with box size, reaches painting top */
  background: rgba(44,36,32,0.18);
  z-index: 0;
}

/* Wall baseboard line at bottom */
.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, 
    rgba(44,36,32,0.04), 
    rgba(44,36,32,0.10) 20%, 
    rgba(44,36,32,0.10) 80%, 
    rgba(44,36,32,0.04));
}

.gallery-item .painting-overlay { opacity: 0; }
.gallery-item:hover .painting-overlay { opacity: 1; }

/* ─── Lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(44,36,32,0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 28px; right: 36px;
  font-size: 1.8rem;
  color: var(--sand);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: white; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.2rem;
}
.lightbox-nav:hover { background: var(--terracotta); border-color: var(--terracotta); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ─── About page ─────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 100px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-image-stack {
  position: relative;
  height: 560px;
}

.about-image-stack img:first-child {
  width: 80%;
  height: 460px;
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
}

.about-image-stack img:last-child {
  width: 55%;
  height: 280px;
  object-fit: cover;
  position: absolute;
  bottom: 0; right: 0;
  border: 6px solid var(--warm-white);
}

.about-content { padding-top: 20px; }

.about-content .section-label { display: block; margin-bottom: 16px; }

.about-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--umber);
  line-height: 1.15;
  margin-bottom: 32px;
}

.about-content h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.about-divider {
  width: 60px; height: 1px;
  background: var(--terracotta);
  margin: 32px 0;
}

.about-detail {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ─── Contact page ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 100px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info .section-label { display: block; margin-bottom: 16px; }

.contact-info h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--umber);
  margin-bottom: 24px;
}

.contact-info p { color: var(--text-light); margin-bottom: 40px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact-detail-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--terracotta);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group textarea {
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: 14px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--terracotta); }

.form-group textarea { min-height: 140px; }

.btn-submit {
  background: var(--umber);
  color: var(--cream);
  border: none;
  padding: 16px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  align-self: flex-start;
}
.btn-submit:hover { background: var(--terracotta); }

.form-success {
  display: none;
  color: var(--terracotta);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-top: 16px;
}

/* ─── Blog ───────────────────────────────────────────────── */
.blog-intro {
  text-align: center;
  padding: 80px 40px 60px;
  max-width: 700px;
  margin: 0 auto;
}

.blog-intro .section-title { margin-bottom: 12px; }
.blog-intro p { color: var(--text-light); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
  padding: 0 80px 100px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card { display: flex; flex-direction: column; }

.blog-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 24px;
}

.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-card-meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.blog-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--umber);
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card p { color: var(--text-light); font-size: 0.9rem; }

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--umber);
  border-bottom: 1px solid var(--sand);
  padding-bottom: 4px;
  transition: all 0.25s;
  width: fit-content;
}
.blog-read-more:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ─── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--cream);
  padding: 80px 80px 60px;
  border-bottom: 1px solid var(--sand);
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: var(--sand);
  padding: 60px 80px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo {
  color: var(--cream);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cream); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--cream); }

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--warm-white);
    padding: 32px 24px;
    border-bottom: 1px solid var(--sand);
    gap: 24px;
  }
  .nav-hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-text { padding: 60px 24px; order: 2; }
  .hero-image { height: 60vw; order: 1; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 32px;
  }
  .section-label { font-size: 0.65rem; letter-spacing: 0.2em; }
  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .section-line { display: none; }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .featured-grid .painting:first-child { grid-row: span 1; }

  .about-layout,
  .contact-layout { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .about-image-stack { height: 320px; }

  .about-image-stack img:first-child {
    height: 260px;
  }

  .about-image-stack img:last-child {
    height: 160px;
  }

  /* Fix about teaser section on mobile */
  section > div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 24px !important;
    gap: 32px !important;
  }

  div[style*="grid-template-columns:1fr 1fr"] > div[style*="height:420px"] {
    height: 260px !important;
    width: 100% !important;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 32px;
  }

  .about-teaser-image {
    height: 260px;
  }

  /* Fix button text wrapping */
  .hero-cta {
    white-space: nowrap;
    padding: 14px 20px;
  }

  /* Fix values strip on mobile */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    padding: 0 24px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px 60px;
  }
  .blog-grid { padding: 0 24px 60px; gap: 28px; }

  footer { padding: 48px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  section { padding: 60px 24px; }
}


/* ─── AR Modal ───────────────────────────────────────────── */
#ar-modal {
  position: fixed; inset: 0;
  background: rgba(44,36,32,0.75);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
#ar-modal.open { display: flex; }

.ar-modal-inner {
  background: var(--warm-white);
  width: min(480px, 96vw);
  height: min(700px, 92vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.ar-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: var(--cream); border: 1px solid var(--sand);
  color: var(--umber); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; z-index: 10; transition: all 0.2s;
}
.ar-close:hover { background: var(--umber); color: var(--cream); }

.ar-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--sand);
  flex-shrink: 0;
}
.ar-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-style: italic;
  color: var(--umber); display: block; margin-bottom: 4px;
}
.ar-price-tag { font-size: 0.85rem; color: var(--terracotta); }

.ar-viewer-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
}

.ar-viewer-wrap model-viewer {
  width: 100%;
  height: 100%;
}

.ar-launch-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--umber); color: var(--cream);
  padding: 14px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.25s; white-space: nowrap;
}
.ar-launch-btn:hover { background: var(--terracotta); }

.ar-note {
  font-size: 0.78rem; color: var(--text-light);
  text-align: center; line-height: 1.7;
}

/* AR button in detail panel */
.detail-ar-btn {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracotta); border: 1px solid var(--terracotta);
  padding: 12px 20px; transition: all 0.25s;
  background: none; cursor: pointer;
  font-family: 'Jost', sans-serif; width: fit-content;
}
.detail-ar-btn:hover { background: var(--terracotta); color: var(--cream); }


/* ============================================================
   Instagram Floating Button
   ============================================================ */
.instagram-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(44, 36, 32, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.instagram-fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.instagram-fab:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(44, 36, 32, 0.45);
  background: var(--rust);
}

.instagram-fab:hover svg {
  transform: rotate(-8deg);
}

.instagram-fab::before {
  content: 'Instagram';
  position: absolute;
  right: calc(100% + 12px);
  background: var(--charcoal);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.instagram-fab:hover::before {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .instagram-fab {
    bottom: 24px;
    right: 20px;
    width: 46px;
    height: 46px;
  }
  .instagram-fab::before {
    display: none;
  }
}


/* ============================================================
   Cookie Banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--charcoal);
  color: var(--cream);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 -4px 24px rgba(44,36,32,0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  color: var(--sand);
}

.cookie-banner a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner a:hover {
  color: var(--terracotta);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 20px;
  border-radius: 3px;
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

.cookie-btn-accept:hover {
  background: var(--rust);
  border-color: var(--rust);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--sand);
  border-color: var(--sand);
}

.cookie-btn-decline:hover {
  color: var(--cream);
  border-color: var(--cream);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
