/* ===========================================================
   Perfectly Polished — Resin Art
   Design tokens: rose gold + cream, resin-pour signature motif
   =========================================================== */

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

:root{
  --cream:      #FFF9F5;
  --cream-2:    #FCF1EA;
  --blush:      #F6E1D8;
  --card:       #FFFDFB;
  --rose-gold:  #C4876C;
  --rose-gold-deep: #A2624C;
  --gold:       #D9B26F;
  --gold-soft:  #EBD5A6;
  --espresso:   #3B2A2A;
  --muted:      #8C7069;
  --line:       rgba(59,42,42,0.10);
  --shadow:     0 20px 50px -20px rgba(162,98,76,0.35);
  --radius:     18px;
  --radius-sm:  10px;
  --maxw:       1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--espresso);
  font-family:'Jost', sans-serif;
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Playfair Display', serif;
  font-weight:600;
  margin:0 0 .5em;
  letter-spacing:.2px;
}
p{ margin:0 0 1em; color:var(--muted); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
::selection{ background:var(--gold-soft); }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.72rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--rose-gold-deep); font-weight:600; margin-bottom:14px;
}
.eyebrow::before{
  content:''; width:22px; height:1px; background:var(--rose-gold);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 30px; border-radius:999px; border:1px solid transparent;
  font-size:.92rem; letter-spacing:.03em; font-weight:500;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary{
  background:linear-gradient(135deg, var(--rose-gold), var(--gold));
  color:#fff; box-shadow:var(--shadow);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 24px 40px -16px rgba(162,98,76,.5); }
.btn-outline{
  background:transparent; border-color:var(--rose-gold);
  color:var(--rose-gold-deep);
}
.btn-outline:hover{ background:var(--blush); }
.btn-sm{ padding:9px 18px; font-size:.8rem; }

/* ---------- Navbar ---------- */
.site-nav{
  position:sticky; top:0; z-index:100;
  background:rgba(255,249,245,0.85); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:16px 28px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  width:34px; height:34px; border-radius:50%;
  background:conic-gradient(from 200deg, var(--rose-gold), var(--gold), var(--rose-gold-deep), var(--rose-gold));
  box-shadow:inset 0 0 0 3px var(--cream), 0 4px 10px rgba(162,98,76,.4);
}
.brand-name{
  font-family:'Playfair Display', serif; font-weight:700; font-size:1.18rem;
  letter-spacing:.3px; color:var(--espresso);
}
.brand-name span{ color:var(--rose-gold-deep); font-style:italic; font-weight:500; }

.nav-links{ display:flex; align-items:center; gap:6px; list-style:none; margin:0; padding:0; }
.nav-links a{
  display:inline-block; padding:9px 16px; border-radius:999px;
  font-size:.9rem; letter-spacing:.02em; color:var(--espresso);
  transition:background .2s ease, color .2s ease;
}
.nav-links a:hover{ background:var(--blush); }
.nav-links a.active{ background:var(--rose-gold); color:#fff; }

.nav-toggle{
  display:none; background:none; border:none; padding:6px;
}
.nav-toggle span{
  display:block; width:24px; height:2px; background:var(--espresso); margin:5px 0; border-radius:2px;
}

@media (max-width:760px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0; flex-direction:column;
    background:var(--cream); border-bottom:1px solid var(--line);
    padding:10px 28px 18px; gap:4px; display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-links a{ width:100%; }
}

/* ---------- Resin-pour signature divider ---------- */
.pour-divider{
  position:relative; height:120px; overflow:hidden; line-height:0;
}
.pour-divider svg{ width:100%; height:100%; display:block; }

.drip{
  position:absolute; bottom:-6px; width:6px; height:6px; border-radius:50%;
  background:linear-gradient(160deg, var(--gold), var(--rose-gold-deep));
  opacity:.75; animation:drip-fall 6s ease-in infinite;
}
@keyframes drip-fall{
  0%{ transform:translateY(-40px) scaleY(1); opacity:0; }
  10%{ opacity:.8; }
  85%{ opacity:.6; }
  100%{ transform:translateY(60px) scaleY(1.6); opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .drip{ animation:none; display:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; padding:86px 0 40px; overflow:hidden;
}
.hero-blob{
  position:absolute; top:-180px; right:-160px; width:560px; height:560px;
  background:radial-gradient(circle at 35% 35%, var(--gold-soft), var(--rose-gold) 55%, transparent 75%);
  border-radius:42% 58% 65% 35% / 45% 40% 60% 55%;
  opacity:.55; filter:blur(2px);
  animation:blob-morph 16s ease-in-out infinite;
}
@keyframes blob-morph{
  0%,100%{ border-radius:42% 58% 65% 35% / 45% 40% 60% 55%; }
  50%{ border-radius:58% 42% 35% 65% / 55% 60% 40% 45%; }
}
.hero-grid{
  position:relative; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;
}
.hero h1{ font-size:clamp(2.3rem, 4.2vw, 3.6rem); line-height:1.12; color:var(--espresso); }
.hero h1 em{ font-style:italic; color:var(--rose-gold-deep); }
.hero p.lead{ font-size:1.05rem; max-width:480px; }
.hero-cta{ display:flex; gap:14px; margin-top:26px; flex-wrap:wrap; }

.hero-visual{
  position:relative; aspect-ratio:1/1; border-radius:32px;
  background:var(--card); box-shadow:var(--shadow);
  overflow:hidden; border:1px solid var(--line);
}
.hero-visual img{ width:100%; height:100%; object-fit:cover; transition:opacity .6s ease; }
.hero-visual .cap{
  position:absolute; left:16px; bottom:16px; right:16px;
  background:rgba(255,253,251,0.88); backdrop-filter:blur(6px);
  border-radius:12px; padding:12px 16px; font-size:.85rem;
}
.hero-visual .cap strong{ display:block; font-family:'Playfair Display',serif; font-size:1rem; }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-blob{ width:360px; height:360px; top:-120px; right:-140px; }
}

/* ---------- Sections ---------- */
section{ padding:64px 0; }
.section-head{ max-width:620px; margin-bottom:40px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Product / Gallery cards ---------- */
.grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 340px)); gap:26px;
  justify-content:center;
}

.card{
  background:var(--card); border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--line); box-shadow:0 14px 34px -22px rgba(59,42,42,.25);
  transition:transform .35s ease, box-shadow .35s ease;
  display:flex; flex-direction:column;
  animation:card-fade-in .5s ease both;
}
@keyframes card-fade-in{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .card{ animation:none; }
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.card-img{
  aspect-ratio:1/1; overflow:hidden; cursor:zoom-in; background:var(--blush);
  position:relative;
}
.card-img img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.card-img:hover img{ transform:scale(1.06); }
.card-img .zoom-hint{
  position:absolute; top:10px; right:10px; background:rgba(255,253,251,.9);
  border-radius:999px; width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  font-size:.85rem; opacity:0; transition:opacity .25s ease;
}
.card-img:hover .zoom-hint{ opacity:1; }
.card-body{ padding:18px 20px 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.card-body h3{ font-size:1.08rem; }
.card-body p{ font-size:.9rem; margin-bottom:0; flex:1; }
.card-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.price-tag{ font-family:'Playfair Display',serif; color:var(--rose-gold-deep); font-weight:600; }

.empty-state{
  text-align:center; padding:60px 20px; border:1px dashed var(--line); border-radius:var(--radius);
  color:var(--muted); background:var(--card);
}

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; background:rgba(59,42,42,.72); backdrop-filter:blur(4px);
  display:none; align-items:center; justify-content:center; z-index:1000; padding:24px;
}
.lightbox.open{ display:flex; }
.lightbox-inner{
  background:var(--card); border-radius:20px; max-width:920px; width:100%;
  display:grid; grid-template-columns:1.1fr 1fr; overflow:hidden; max-height:88vh;
}
.lightbox-inner img{ width:100%; height:100%; object-fit:cover; max-height:88vh; }
.lightbox-text{ padding:32px; display:flex; flex-direction:column; overflow-y:auto; }
.lightbox-close{
  position:absolute; top:24px; right:calc(50% - 460px + 16px);
  background:var(--card); border-radius:50%; width:38px; height:38px;
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; box-shadow:var(--shadow);
}
@media (max-width:800px){
  .lightbox-inner{ grid-template-columns:1fr; }
  .lightbox-close{ right:24px; }
}

/* ---------- About page ---------- */
.about-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; align-items:center;
}
@media (max-width:860px){ .about-grid{ grid-template-columns:1fr; } }
.value-list{ list-style:none; margin:0; padding:0; display:grid; gap:16px; }
.value-list li{ display:flex; gap:14px; align-items:flex-start; }
.value-dot{
  flex:0 0 auto; width:10px; height:10px; border-radius:50%; margin-top:7px;
  background:linear-gradient(135deg, var(--rose-gold), var(--gold));
}

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-note{
  background:var(--blush); border-radius:var(--radius); padding:28px;
  border:1px solid var(--line);
}
.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-size:.85rem; margin-bottom:6px; color:var(--espresso); font-weight:500; }
.form-field input, .form-field textarea{
  width:100%; padding:13px 15px; border-radius:var(--radius-sm); border:1px solid var(--line);
  background:var(--card); font-family:inherit; font-size:.95rem; color:var(--espresso);
}
.form-field textarea{ resize:vertical; min-height:120px; }
.form-field input:focus, .form-field textarea:focus{
  outline:2px solid var(--rose-gold); outline-offset:1px;
}
.ref-chip{
  display:inline-flex; align-items:center; gap:8px; background:var(--gold-soft);
  padding:8px 14px; border-radius:999px; font-size:.82rem; margin-bottom:18px;
}
.form-status{ font-size:.88rem; margin-top:10px; min-height:20px; }
.form-status.ok{ color:#3d7a4e; }
.form-status.err{ color:#b3453a; }

/* ---------- Footer ---------- */
footer{
  border-top:1px solid var(--line); padding:40px 0; margin-top:20px;
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
.footer-inner small{ color:var(--muted); font-size:.82rem; }

/* ---------- Admin ---------- */
.admin-shell{ max-width:640px; margin:0 auto; }
.admin-card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px; box-shadow:0 14px 34px -22px rgba(59,42,42,.25);
}
.admin-list-item{
  display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); align-items:center;
}
.admin-list-item img{ width:56px; height:56px; border-radius:10px; object-fit:cover; flex:0 0 auto; }
.admin-list-item .meta{ flex:1; min-width:0; }
.admin-list-item .meta h4{ font-size:.95rem; margin:0 0 2px; }
.admin-list-item .meta p{ font-size:.8rem; margin:0; }

.pill-note{
  display:inline-block; font-size:.78rem; background:var(--blush); color:var(--rose-gold-deep);
  padding:5px 12px; border-radius:999px; margin-bottom:16px;
}

.skeleton{
  background:linear-gradient(90deg, var(--blush) 25%, var(--gold-soft) 37%, var(--blush) 63%);
  background-size:400% 100%; animation:sk 1.6s ease infinite; border-radius:var(--radius);
}
@keyframes sk{ 0%{background-position:100% 0;} 100%{background-position:0 0;} }

/* ---------- Thank-you popup spinner ---------- */
.ty-spinner{
  display:inline-block; width:12px; height:12px; border-radius:50%;
  border:2px solid var(--blush); border-top-color:var(--rose-gold-deep);
  animation:ty-spin .7s linear infinite; vertical-align:middle; margin-right:6px;
}
@keyframes ty-spin{ to{ transform:rotate(360deg); } }
