:root{
  --bg1: #fff7fb;
  --bg2: #fffdf6;
  --ink: #1b1b1f;
  --muted: rgba(27,27,31,.72);
  --muted2: rgba(27,27,31,.56);

  --border: rgba(27,27,31,.10);

  --pink: #ff5fa2;
  --peach: #ffb07b;
  --lemon: #ffd66a;
  --mint: #58e7c1;
  --violet: #8b79ff;

  --shadow: 0 18px 44px rgba(18, 16, 26, .14);
  --shadow2: 0 10px 26px rgba(18, 16, 26, .10);

  --r-lg: 22px;
  --max: 1140px;

  /* ✅ new: lets JS swap the hero preview photo per Style */
  --hero-photo: url("IMG_6778.jpeg");
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ color-scheme: light; }
body{
  margin:0;
  color:var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.45;

  /* Background stays pastel (you said: do NOT change background) */
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(255,95,162,.22), transparent 60%),
    radial-gradient(780px 520px at 85% 22%, rgba(255,214,106,.20), transparent 62%),
    radial-gradient(900px 680px at 50% 95%, rgba(88,231,193,.18), transparent 62%),
    radial-gradient(circle at 1px 1px, rgba(27,27,31,.06) 1px, transparent 0) 0 0/18px 18px,
    linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
}

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

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:12px; width:auto; height:auto;
  padding:10px 12px; border-radius:12px;
  background: rgba(255,255,255,.95);
  border:1px solid var(--border);
  box-shadow: var(--shadow2);
  z-index:9999;
}

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.76);
  border-bottom: 1px solid rgba(27,27,31,.08);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand__mark{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius:16px;
  background: linear-gradient(135deg, rgba(255,95,162,.28), rgba(255,214,106,.22));
  border:1px solid rgba(27,27,31,.10);
  box-shadow: var(--shadow2);
  color: rgba(27,27,31,.86);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.brand__name{
  font-family: Fraunces, ui-serif, Georgia, serif;
  font-weight:700;
  font-size:18px;
  letter-spacing:.2px;
}
.brand__tag{ font-size:12px; color:var(--muted2); }

.nav{ display:flex; align-items:center; gap:18px; }
.nav a{ font-weight:700; font-size:14px; color: rgba(27,27,31,.72); }
.nav a:hover{ color: rgba(27,27,31,.92); }

.navbtn{
  display:none;
  background: rgba(255,255,255,.9);
  border:1px solid rgba(27,27,31,.12);
  border-radius:14px;
  width:46px; height:42px;
  box-shadow: var(--shadow2);
  cursor:pointer;
}
.navbtn__lines{
  display:block;
  width:22px; height:14px;
  margin:0 auto;
  position:relative;
}
.navbtn__lines::before,
.navbtn__lines::after{
  content:"";
  position:absolute; left:0; right:0;
  height:2px; border-radius:2px;
  background: rgba(27,27,31,.78);
}
.navbtn__lines::before{ top:2px; }
.navbtn__lines::after{ bottom:2px; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(27,27,31,.10);
  background: linear-gradient(135deg, rgba(255,95,162,.92), rgba(255,214,106,.92));
  color: rgba(27,27,31,.92);
  box-shadow: var(--shadow2);
  font-weight:900;
  font-size:14px;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn--ghost{ background: rgba(255,255,255,.88); color: rgba(27,27,31,.90); }
.btn--small{ padding:10px 12px; border-radius:12px; }

/* Sections */
.section{ padding: 72px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.50));
  border-top:1px solid rgba(27,27,31,.06);
  border-bottom:1px solid rgba(27,27,31,.06);
}

.section__head{ margin-bottom: 22px; }
.section__head h2{
  font-family: Fraunces, ui-serif, Georgia, serif;
  margin:0 0 8px 0;
  font-size: clamp(26px, 2.2vw, 34px);
}
.section__head p{ margin:0; color: var(--muted); max-width: 68ch; }

/* Hero */
.hero{ padding: 72px 0 44px; position:relative; }
.hero::before{
  content:"";
  position:absolute;
  inset: -80px 0 auto 0;
  height: 340px;
  pointer-events:none;
  background:
    radial-gradient(260px 180px at 20% 55%, rgba(255,95,162,.16), transparent 70%),
    radial-gradient(280px 200px at 75% 30%, rgba(88,231,193,.14), transparent 70%),
    radial-gradient(280px 200px at 55% 80%, rgba(255,214,106,.14), transparent 70%);
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items:center;
  position:relative;
}

.pill{
  display:inline-flex; align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border:1px solid rgba(27,27,31,.10);
  color: rgba(27,27,31,.74);
  font-weight:800;
  font-size: 13px;
  margin: 0 0 14px;
  box-shadow: var(--shadow2);
}
.hero h1{
  font-family: Fraunces, ui-serif, Georgia, serif;
  margin: 0 0 10px;
  font-size: clamp(34px, 4.3vw, 54px);
  line-height:1.03;
}
.accent{
  background: linear-gradient(90deg, var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}
.lead{ margin: 0 0 18px; color: var(--muted); font-size: 16px; max-width: 60ch; }
.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom: 18px; }

.hero__badges{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.badge{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.80);
  border:1px solid rgba(27,27,31,.10);
  box-shadow: var(--shadow2);
}
.badge strong{ display:block; font-size:14px; margin-bottom:4px; }
.badge span{ display:block; color:var(--muted2); font-size:13px; font-weight:700; }

/* Hero art card */
.hero__art{ position:relative; }
.cookie-card{
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(27,27,31,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.cookie-card__top{ padding: 18px; display:grid; gap: 12px; }

/* ✅ HERO PREVIEW USES YOUR PHOTO (fallback gradients if missing) */
.cookie-preview{
  height: 230px;
  border-radius: 18px;
  border:1px solid rgba(27,27,31,.10);
  position:relative;

  /* image is last layer so gradients overlay it nicely */
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.42)),
    radial-gradient(140px 110px at 30% 30%, rgba(255,214,106,.25), transparent 60%),
    radial-gradient(160px 120px at 70% 40%, rgba(255,95,162,.22), transparent 62%),
    var(--hero-photo);

  background-size: cover, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
}

.cookie-preview__label{
  position:absolute; left:12px; top:12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  border:1px solid rgba(27,27,31,.10);
  color: rgba(27,27,31,.82);
  font-size: 12px;
  font-weight:900;
  box-shadow: var(--shadow2);
}

.cookie-card__note{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.84);
  border:1px solid rgba(27,27,31,.10);
}
.note-title{ font-family: Fraunces, ui-serif, Georgia, serif; font-size: 18px; }
.note-sub{ color: var(--muted2); font-weight:800; font-size: 13px; }

.cookie-card__bottom{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  padding: 16px 18px 18px;
  border-top:1px solid rgba(27,27,31,.08);
}
.stat{
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(27,27,31,.10);
  text-align:center;
  box-shadow: var(--shadow2);
}
.stat__num{ font-weight:950; font-size: 18px; }
.stat__lbl{ color: var(--muted2); font-size: 12px; font-weight:800; }

/* Sparkles */
.sparkle{
  position:absolute;
  width:12px; height:12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95), transparent 70%);
  opacity:.95;
  box-shadow:
    0 0 0 6px rgba(255,95,162,.10),
    0 0 0 12px rgba(255,214,106,.08);
}
.s1{ top: 10px; right: 20px; }
.s2{ top: 120px; left: 8px; }
.s3{ bottom: 16px; right: 36px; }

/* Cards / grids */
.card{
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.80);
  border:1px solid rgba(27,27,31,.10);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.card--tight{ padding: 16px; }
.card h3{ margin: 0 0 8px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); }

.steps{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

/* Builder */
.builder{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items:start;
}

.picker--dropdowns{ display:grid; gap: 12px; }
.pickrow{
  display:grid;
  gap: 8px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.78);
  border:1px solid rgba(27,27,31,.10);
  box-shadow: var(--shadow2);
}
.picklabel{ font-weight:950; font-size: 13px; color: rgba(27,27,31,.86); }

.pickselect{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(27,27,31,.12);
  background: rgba(255,255,255,.92);
  color: rgba(27,27,31,.92);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(18,16,26,.06);
  outline: none;
  appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(27,27,31,.70) 50%),
    linear-gradient(135deg, rgba(27,27,31,.70) 50%, transparent 50%),
    linear-gradient(to right, rgba(27,27,31,.08), rgba(27,27,31,.08));
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    calc(100% - 42px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 60%;
  background-repeat: no-repeat;
}
.pickselect:focus{
  border-color: rgba(255,95,162,.45);
  box-shadow: 0 0 0 4px rgba(255,95,162,.14);
}

.builder__actions{ display:flex; align-items:center; gap: 12px; margin-top: 14px; }
.hint{ color: var(--muted2); font-size: 13px; font-weight:800; }

.preview__title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.preview__pill{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(27,27,31,.10);
  color: rgba(27,27,31,.76);
  font-size: 12px;
  font-weight:950;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 100%;
  box-shadow: var(--shadow2);
}

/* ✅ CHANGED: this preview area is now ONE image (per style), not 6 tiles */
.preview__tiles{
  width: 100%;
  aspect-ratio: 4 / 3; /* more square + shows more */
  border-radius: 18px;
  border:1px solid rgba(27,27,31,.10);
  background-color: rgba(255,255,255,.92);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain; /* show more of original pic */
  background-image: var(--style-photo, url("IMG_6778.jpeg"));
  box-shadow: 0 10px 22px rgba(18,16,26,.08);
  margin-bottom: 10px;
  display:block;
}

/* ✅ hide the old 6 tile divs so you only see ONE preview */
.preview__tiles .tile{ display:none; }

/* (left in case you want it later – currently hidden by rule above) */
.tile{
  height: 86px;
  border-radius: 16px;
  border:1px solid rgba(27,27,31,.10);
  background-color: rgba(255,255,255,.84);
  box-shadow: 0 10px 22px rgba(18,16,26,.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.t1{ background-image: url("IMG_6778.jpeg"); }
.t2{ background-image: url("IMG_6783.jpeg"); }
.t3{ background-image: url("IMG_6784.jpeg"); }
.t4{ background-image: url("IMG_7638.jpeg"); }
.t5{ background-image: url("IMG_7703.jpeg"); }
.t6{ background-image: url("IMG_7787.jpeg"); }

.muted{ color: var(--muted2); font-weight:800; }

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;

  /* allow zoomed cards to spill outside the grid */
  overflow: visible;
  position: relative;
  isolation: isolate; /* makes z-index behave nicely */
}

.gcard{
  margin:0;
  border-radius: var(--r-lg);
  overflow:hidden;
  border:1px solid rgba(27,27,31,.10);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  text-align: center;

  /* hover zoom behavior */
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
  transform-origin: center;
  will-change: transform;
  cursor: zoom-in;
}

/* only on devices that actually have hover (not touch) */
@media (hover:hover) and (pointer:fine){
  .gcard:hover{
    transform: scale(1.5);
    z-index: 50;
    box-shadow: 0 30px 80px rgba(18,16,26,.25);
  }
}

/* ✅ Gallery <img> styling */
.gimg{
  width: 100%;
  aspect-ratio: 1 / 1;     /* makes it square */
  object-fit: contain;      /* shows more / whole photo */
  object-position: center;
  background: rgba(255,255,255,.92); /* fills any empty space */
  display: block;
}

.gcard figcaption{
  padding: 12px 14px;
  font-weight:950;
  color: rgba(27,27,31,.88);
  font-size: 14px;
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.price__lead{ margin: 0 0 12px !important; }
.list{ margin:0; padding-left: 18px; color: var(--muted); font-weight:700; }
.list li{ margin: 6px 0; }
.price__foot{
  display:flex;
  align-items:baseline;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top:1px solid rgba(27,27,31,.08);
}
.price__tag{ color: var(--muted2); font-weight:950; font-size:12px; }
.price__num{ font-weight:950; font-size: 20px; }
.price__num--big{ font-size: 34px; }

/* FAQ */
.faq{ display:grid; gap: 10px; }
details summary{ cursor:pointer; font-weight:950; list-style:none; }
details summary::-webkit-details-marker{ display:none; }
details p{ margin-top: 10px; }

/* Order */
.order{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  align-items:start;
}
.form label{
  display:block;
  font-weight:950;
  font-size: 13px;
  color: rgba(27,27,31,.86);
  margin-bottom: 10px;
}
.form input,
.form select,
.form textarea{
  width:100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(27,27,31,.12);
  background: rgba(255,255,255,.92);
  color: rgba(27,27,31,.92);
  outline:none;
  box-shadow: 0 10px 20px rgba(18,16,26,.06);
}
.form input:focus,
.form select:focus,
.form textarea:focus{
  border-color: rgba(255,95,162,.45);
  box-shadow: 0 0 0 4px rgba(255,95,162,.14);
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form__actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  margin-top: 6px;
}
.form__actions a[aria-disabled="true"]{ opacity:.55; pointer-events:none; }

.summary h3{ margin: 0 0 10px; }
.summary__box{
  margin:0;
  padding: 12px;
  border-radius: 14px;
  border:1px solid rgba(27,27,31,.10);
  background: rgba(255,255,255,.92);
  min-height: 240px;
  white-space: pre-wrap;
  color: rgba(27,27,31,.90);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  box-shadow: var(--shadow2);
}
.summary__tip{ margin-top: 10px; }

/* Footer */
.footer{
  padding: 42px 0;
  border-top:1px solid rgba(27,27,31,.08);
  background: rgba(255,255,255,.55);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
  align-items:start;
}
.footer__brand{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  margin-bottom: 8px;
}
.footer__col h4{ margin:0 0 10px; font-size: 14px; }
.footer__col a{ display:block; color: rgba(27,27,31,.72); font-weight:900; margin: 8px 0; }
.footer__bottom{
  margin-top: 18px;
  padding-top: 16px;
  border-top:1px solid rgba(27,27,31,.08);
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__badges{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .builder{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .order{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .navbtn{ display:inline-flex; align-items:center; justify-content:center; }
  .nav{
    position:absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    display:none;
    flex-direction:column;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    border:1px solid rgba(27,27,31,.10);
    box-shadow: var(--shadow);
  }
  .nav.nav--open{ display:flex; }
  .form__row{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
}

/* Multi-style preview stack (NEW) */
.stylePreviews{
  display:grid;
  gap: 12px;
}

.stylePreviewItem{
  display:grid;
  gap: 8px;
}

.stylePreviewLabel{
  font-weight: 950;
  font-size: 12px;
  color: rgba(27,27,31,.72);
}

.stylePreviewBox{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid rgba(27,27,31,.10);
  background-color: rgba(255,255,255,.92);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain; /* show more of the photo (no heavy crop) */
  box-shadow: var(--shadow2);
}

.preview__image{
  height: 220px;
  border-radius: 16px;
  border:1px solid rgba(27,27,31,.10);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,.84);
  box-shadow: 0 10px 22px rgba(18,16,26,.08);
  margin-bottom: 10px;
}
/* Multi-style preview stack (images one under the other) */
.preview__stack{
  display: grid;
  gap: 10px;
}

.preview__image{
  height: 200px;
  border-radius: 16px;
  border:1px solid rgba(27,27,31,.10);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,.84);
  box-shadow: 0 10px 22px rgba(18,16,26,.08);
  position: relative;
  overflow: hidden;
}

.preview__imglabel{
  position:absolute;
  left: 10px;
  top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  border:1px solid rgba(27,27,31,.10);
  font-size: 12px;
  font-weight: 950;
  color: rgba(27,27,31,.82);
  box-shadow: var(--shadow2);
}

/* Builder text inputs (match dropdown styling) */
.pickinput{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(27,27,31,.12);
  background: rgba(255,255,255,.92);
  color: rgba(27,27,31,.92);
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(18,16,26,.06);
  outline: none;
}
.pickinput:focus{
  border-color: rgba(255,95,162,.45);
  box-shadow: 0 0 0 4px rgba(255,95,162,.14);
}

