:root {
  /* Logo colors */
  --plum: #5c0a87;
  --mint: #3ef5c3;
  /* Light pastels drawn from the logo */
  --lavender: #f3ecf9;
  --lilac: #e4d4f1;
  --mint-mist: #e6fbf4;
  --mint-soft: #bdf3e2;
  --cream: #fdfbfe;
  --ink: #3a2547;
  --ink-soft: #6b5878;
  --line: rgba(92, 10, 135, 0.12);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--plum); }
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: var(--plum);
  line-height: 1.1;
  margin: 0;
}
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand img { height: 62px; width: auto; display: block; }
.brand .word { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.7rem; color: var(--plum); }
.brand .sub { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: lowercase; color: #1fb98e; margin-top: 2px; padding-left: 2px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.nav ul a:hover { color: var(--plum); }
@media (max-width: 720px) {
  .nav ul { gap: 18px; }
  .nav ul li:not(.keep) { display: none; }
}
.nav ul a[aria-current="page"] { color: var(--plum); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 10px 24px -12px rgba(92, 10, 135, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(92, 10, 135, 0.7); }
.btn-ghost { background: rgba(255,255,255,0.7); color: var(--plum); border: 1px solid var(--lilac); }
.btn-ghost:hover { background: #fff; }

/* Hero */
.hero {
  position: relative; overflow: visible;
  padding: clamp(80px, 12vw, 150px) 0 0;
  background: none;
}
/* The pastel banner wash runs behind the hero and film and fades into the page */
.top-wash { position: relative; isolation: isolate; overflow-x: clip; }
.top-wash::before {
  content: ""; position: absolute; inset: 0 0 -320px 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 15% 10%, var(--lilac) 0%, transparent 70%),
    radial-gradient(55% 35% at 90% 40%, var(--mint-soft) 0%, transparent 70%),
    linear-gradient(170deg, var(--lavender), var(--mint-mist) 55%, var(--cream));
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}
.hero .glow {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none;
}
.hero .g1 { width: 380px; height: 380px; background: #d9c2ee; top: -120px; right: 8%; animation: drift 18s ease-in-out infinite alternate; }
.hero .g2 { width: 300px; height: 300px; background: #c8f6e6; bottom: -120px; left: 6%; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero-mark { position: relative; }
.logo-stitch { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 18px 30px rgba(92, 10, 135, 0.12)); }
.stitches { opacity: 0; transition: opacity 1s ease; }
.stitch-ink { transition: opacity 1.4s ease; }
.logo-stitch.sewing .stitches { opacity: 1; }
.logo-stitch.sewing .stitch-ink { opacity: 0; }
.logo-stitch.sewn .stitch-ink { opacity: 1; }
.logo-stitch.finished .stitches { opacity: 0; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { order: -1; max-width: 340px; }
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--plum); }
.hero p.lede { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--ink-soft); max-width: 580px; margin: 26px 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.section-head p { color: var(--ink-soft); margin: 16px 0 0; font-size: 1.05rem; }
.kicker { display: block; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: #1fb98e; font-weight: 600; margin-bottom: 14px; }

/* Services */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card.idea { background: linear-gradient(150deg, var(--lavender), var(--mint-mist)); display: flex; flex-direction: column; }
.card.idea::before { display: none; }
.card.idea .btn { margin-top: auto; align-self: flex-start; padding: 11px 20px; font-size: 0.88rem; }
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--lilac), var(--mint-soft));
}
.card:nth-child(even)::before { background: linear-gradient(90deg, var(--mint-soft), var(--lilac)); }
.card:hover .card-ring .rotator img.on { transform: scale(1.06); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(92, 10, 135, 0.35); }
.card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.card-ring { width: 74%; max-width: 220px; margin: 4px auto 22px; }
.card-ring .ring { box-shadow: 0 18px 36px -24px rgba(92, 10, 135, 0.5); }
.card { text-align: center; }
.card .tags { justify-content: center; }
.card.idea .btn { align-self: center; }
.card p { color: var(--ink-soft); margin: 0 0 18px; font-size: 0.97rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: 0.8rem; font-weight: 500; color: var(--ink);
  background: var(--lavender); border-radius: 999px; padding: 6px 12px;
}
.card:nth-child(even) .tags li { background: var(--mint-mist); }

/* Portfolio circles */

.circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px); }
.circles.circles-3 { grid-template-columns: repeat(6, 1fr); gap: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px); }
.circles-3 .piece { grid-column: span 2; }
.circles-3 .piece:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
.circles-3 .piece:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
@media (max-width: 900px) { .circles, .circles.circles-3 { grid-template-columns: repeat(2, 1fr); } .circles-3 .piece, .circles-3 .piece:last-child:nth-child(3n+1), .circles-3 .piece:nth-last-child(2):nth-child(3n+1) { grid-column: auto; } }
.piece { margin: 0; text-align: center; }
.ring {
  position: relative; aspect-ratio: 1; border-radius: 50%; padding: 6px;
  background: conic-gradient(from 210deg, var(--lilac), var(--mint-soft), #fff, var(--lilac));
  box-shadow: 0 26px 50px -30px rgba(92, 10, 135, 0.55);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s ease;
}
.ring::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.85);
  pointer-events: none;
}
.ring img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.piece:hover .ring { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(92, 10, 135, 0.6); }
.piece:hover .ring img { transform: scale(1.06); }
.piece figcaption {
  margin-top: 16px; font-family: "Cormorant Garamond", serif; font-size: 1.3rem; color: var(--plum); line-height: 1.2;
}
.piece figcaption span { display: block; font-family: "Manrope", sans-serif; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.pop { opacity: 0; transform: scale(0.86) translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1); }
.pop.in { opacity: 1; transform: none; }

/* Dream band */
.band {
  background: linear-gradient(120deg, var(--lavender), var(--mint-mist));
  border-block: 1px solid var(--line);
  text-align: center;
}
.band blockquote {
  margin: 0 auto; max-width: 820px;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.2; color: var(--plum);
}
.band p { color: var(--ink-soft); margin: 22px auto 0; max-width: 560px; }
.band p.band-lead { font-family: "Cormorant Garamond", serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--plum); margin-top: 26px; }
.band p.band-lead + p { margin-top: 10px; }

/* About */
.about { display: grid; grid-template-columns: 0.95fr 1.25fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 22px; }
.about p { color: var(--ink-soft); margin: 0 0 16px; font-size: 1.04rem; }
.about-panel {
  border-radius: 28px;
  background:
    radial-gradient(80% 80% at 20% 15%, var(--lilac), transparent 70%),
    radial-gradient(80% 80% at 85% 90%, var(--mint-soft), transparent 70%),
    var(--lavender);
  padding: clamp(32px, 5vw, 52px);
}
.about-panel dl { margin: 0; display: grid; gap: 22px; }
.about-panel dt { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.about-panel dd { margin: 4px 0 0; font-family: "Cormorant Garamond", serif; font-size: 1.4rem; color: var(--plum); line-height: 1.25; }

/* Name meaning */
.name-note { margin: 4px 0 22px; padding: 18px 22px; border-left: 3px solid var(--mint-soft); background: linear-gradient(90deg, var(--lavender), transparent); border-radius: 0 16px 16px 0; }
.about .name-note p { margin: 0; }
.about .name-word { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 2rem; color: var(--plum); line-height: 1.1; }
.about .name-def { font-size: 0.9rem; letter-spacing: 0.04em; color: var(--ink-soft); margin-top: 4px; }

/* Inspiration quote */
.family-quote { margin: 0 0 26px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; color: var(--plum); }

/* Owner portrait in the About box (never cropped) */
.about-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: center; }
.owner-full { margin: 0; text-align: center; }
.owner-full img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 0 0 5px #fff, 0 24px 44px -26px rgba(92, 10, 135, 0.55); }
.owner-full figcaption { margin-top: 14px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.2rem; color: var(--plum); }
@media (max-width: 520px) { .about-panel { grid-template-columns: 1fr; } .owner-full { max-width: 300px; margin: 0 auto; } }

/* Owner portrait */
.owner { margin: 0 0 28px; text-align: center; }
.owner-ring { width: min(230px, 70%); margin: 0 auto; }
.owner figcaption { margin-top: 14px; font-family: "Cormorant Garamond", serif; font-size: 1.6rem; color: var(--plum); line-height: 1.1; }
.owner figcaption span { display: block; font-family: "Manrope", sans-serif; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* Family photo */
.family { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 560px; text-align: center; }
.family figure { margin: 0; }
.family-frame { border-radius: 28px; padding: 8px; background: linear-gradient(135deg, var(--lilac), #fff 45%, var(--mint-soft)); box-shadow: 0 34px 70px -40px rgba(92, 10, 135, 0.55); }
.family-frame img { display: block; width: 100%; height: auto; border-radius: 21px; }
.family-frame.rotator { position: relative; aspect-ratio: 1; }
.family-frame.rotator img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; border-radius: 21px; transform: scale(1.04); }
.family-frame.rotator img.on { transform: none; }
.family-frame.rotator img.off { transform: scale(1.02); }
.family figcaption { margin-top: 16px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.3rem; color: var(--plum); }

/* Facebook links */
.nav-fb { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plum); color: #fff !important; }
.nav-fb svg { width: 18px; height: 18px; }
.nav-fb:hover { background: #7a1fb0; }
.foot-fb { display: inline-flex; align-items: center; gap: 10px; color: var(--plum); font-weight: 600; text-decoration: none; }
.fb-badge { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--plum); color: #fff; }
.fb-badge svg { width: 17px; height: 17px; }
.foot-fb:hover { text-decoration: underline; }

/* Custom order: purple box + form */
.order-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 28px; padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 36px); border-radius: 24px;
  background: linear-gradient(120deg, var(--plum), #7a1fb0); color: #fff; text-decoration: none;
  box-shadow: 0 26px 50px -28px rgba(92, 10, 135, 0.8); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.order-cta:hover { transform: translateY(-3px); box-shadow: 0 32px 60px -28px rgba(92, 10, 135, 0.85); }
.order-cta strong { display: block; font-family: "Cormorant Garamond", serif; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.1; }
.order-cta-text span { display: block; margin-top: 6px; color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.order-cta-arrow { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: var(--plum); font-size: 1.5rem; font-weight: 600; }
.order-form {
  max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0; text-align: left; scroll-margin-top: 100px;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 30px 60px -40px rgba(92, 10, 135, 0.5); display: grid; gap: 18px;
}
.order-form h3 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.order-terms { display: grid; gap: 8px; padding: 16px 20px; border-radius: 16px; background: linear-gradient(120deg, var(--lavender), var(--mint-mist)); }
.contact .order-terms p, .order-terms p { margin: 0; max-width: none; font-size: 0.92rem; color: var(--ink-soft); }
.contact .form-note { margin: 0; max-width: none; }
.order-terms strong { color: var(--plum); }
.order-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.order-form input[type=text], .order-form input[type=email], .order-form input[type=tel], .order-form input[type=date], .order-form input[type=number], .order-form textarea {
  font: inherit; font-weight: 400; color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lilac); background: var(--cream); width: 100%;
}
.order-form input:focus, .order-form textarea:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: var(--plum); }
.field-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.field-row.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .field-row, .field-row.two { grid-template-columns: 1fr; } }
.order-form fieldset { border: 0; padding: 0; margin: 0; }
.order-form .field-help, .contact .order-form .field-help { margin: -2px 0 10px; max-width: none; font-size: 0.86rem; color: var(--ink-soft); }
.order-form legend { font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { padding: 9px 16px; border-radius: 999px; background: var(--lavender); border: 1px solid var(--lilac); font-weight: 500; transition: background 0.2s ease, color 0.2s ease; }
.chips input:checked + span { background: var(--plum); color: #fff; border-color: var(--plum); }
.chips input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.upload input { font: inherit; font-weight: 400; padding: 12px; border-radius: 12px; border: 1px dashed var(--lilac); background: var(--mint-mist); }
.agree { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; color: var(--ink-soft) !important; }
.agree input { margin-top: 3px; accent-color: var(--plum); }
.hp { position: absolute; left: -9999px; }
.form-note { margin: 0; font-size: 0.9rem; color: var(--plum); min-height: 1.2em; }
.order-form .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; counter-reset: step; }
.step { padding: 28px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--mint-mist); color: var(--plum);
  font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 16px;
}
.step h3 { font-size: 1.45rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Contact */
.contact {
  text-align: center;
  background:
    radial-gradient(50% 80% at 10% 0%, var(--lilac), transparent 70%),
    radial-gradient(50% 80% at 90% 100%, var(--mint-soft), transparent 70%),
    var(--lavender);
}
.contact h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 18px; }
.contact p { color: var(--ink-soft); max-width: 540px; margin: 0 auto 34px; font-size: 1.06rem; }
.contact .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

footer { padding: 34px 0; border-top: 1px solid var(--line); font-size: 0.86rem; color: var(--ink-soft); }
footer { background: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot-ops { color: var(--ink-soft); opacity: 0.65; text-decoration: none; font-size: 0.8rem; letter-spacing: 0.04em; }
.foot-ops:hover { opacity: 1; color: var(--plum); }

/* Workroom film */
.film { padding: 0; }
.film-frame {
  position: relative; border-radius: 30px; padding: 8px;
  background: linear-gradient(135deg, var(--lilac), #fff 45%, var(--mint-soft));
  box-shadow: 0 40px 80px -46px rgba(92, 10, 135, 0.55);
}
.film-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 23px; background: #fff; }
.film-caption { text-align: center; color: var(--ink-soft); margin: 22px auto 0; max-width: 560px; font-size: 1rem; }
#make { padding-top: clamp(64px, 9vw, 110px); }

/* Rotating circle (several pieces in one ring) */
.rotator { overflow: hidden; }
.rotator img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); opacity: 0; transform: rotate(-14deg) scale(1.12); transition: opacity 1.1s ease, transform 1.4s cubic-bezier(.2,.8,.2,1); }
.rotator img.on { opacity: 1; transform: none; }
.rotator img.off { opacity: 0; transform: rotate(14deg) scale(1.08); }
.piece:hover .rotator img.on { transform: scale(1.06); }

/* Before and after */
.ba { padding-top: 0; }
.ba .section-head, .ba-grid { max-width: 880px; margin-inline: auto; }
.ba .section-head { text-align: center; }
.ba .section-head p { margin-inline: auto; }
.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-item { margin: 0; text-align: center; }
.ba-card {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 1600px; border-radius: 28px;
}
.ba-face {
  position: absolute; inset: 0; border-radius: 28px; padding: 7px; overflow: hidden;
  background: linear-gradient(135deg, var(--lilac), #fff 45%, var(--mint-soft));
  box-shadow: 0 34px 70px -40px rgba(92, 10, 135, 0.55);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform 1.1s cubic-bezier(.65,0,.35,1);
}
.ba-face img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 22px; }
.ba-after { transform: rotateY(180deg); }
.ba-static { cursor: default; }
.ba-steps .ba-face { transform: rotateY(180deg); }
.ba-steps .ba-face.show { transform: rotateY(0deg); }
.ba-steps .ba-face.gone { transform: rotateY(-180deg); }
.ba-card.flipped .ba-before { transform: rotateY(-180deg); }
.ba-card.flipped .ba-after { transform: rotateY(0deg); }
.ba-tag {
  position: absolute; left: 22px; top: 22px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.88); color: var(--plum); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.ba-after .ba-tag { background: var(--plum); color: #fff; }
.ba-tag.ba-tag-soft { background: var(--lavender); }
.ba-item figcaption { margin-top: 14px; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: var(--plum); }

/* Portfolio link */
.more { text-align: center; margin-top: 56px; }

/* Gallery page */
.gallery-hero {
  text-align: center; padding: clamp(70px, 10vw, 120px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(50% 80% at 15% 10%, var(--lilac), transparent 70%),
    radial-gradient(50% 80% at 85% 90%, var(--mint-soft), transparent 70%),
    var(--lavender);
}
.gallery-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 500; }
.gallery-hero p { color: var(--ink-soft); max-width: 540px; margin: 20px auto 0; font-size: 1.08rem; }
.gallery-wall { padding-top: clamp(50px, 7vw, 90px); }
.ba-gallery { padding-top: 0; }
.arches { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(30px, 4vw, 56px) clamp(22px, 3vw, 44px); }
.arches .arch:nth-child(3n+2) { transform-origin: center; margin-top: clamp(0px, 4vw, 60px); }
.arches .arch { grid-column: span 2; }
.arches .arch:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
.arches .arch:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
@media (max-width: 900px) { .arches { grid-template-columns: repeat(2, 1fr); } .arches .arch:nth-child(3n+2) { margin-top: 0; } .arches .arch, .arches .arch:last-child:nth-child(3n+1), .arches .arch:nth-last-child(2):nth-child(3n+1) { grid-column: auto; } }
@media (max-width: 520px) { .arches { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }
.arch { margin: 0; text-align: center; }
.frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 26px 26px;
  padding: 7px;
  background: linear-gradient(170deg, var(--lilac), #fff 45%, var(--mint-soft));
  box-shadow: 0 30px 60px -36px rgba(92, 10, 135, 0.55);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), box-shadow 0.5s ease;
}
.frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 999px 999px 20px 20px;
  transition: transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.arch:hover .frame { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(92, 10, 135, 0.6); }
.arch:hover .frame img { transform: scale(1.05); }
.arch figcaption { margin-top: 18px; font-family: "Cormorant Garamond", serif; font-size: 1.4rem; color: var(--plum); line-height: 1.2; }
.arch figcaption span { display: block; font-family: "Manrope", sans-serif; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

/* Chat bubble */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 20; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-fab {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: inherit;
  padding: 13px 20px 13px 16px; border-radius: 999px;
  background: var(--plum); color: #fff; font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 16px 34px -14px rgba(92, 10, 135, 0.7), 0 0 0 4px rgba(255,255,255,0.7);
  transition: transform 0.3s ease;
  animation: fabIn 0.7s 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.chat-fab svg { width: 22px; height: 22px; color: var(--mint); }
.chat-fab:hover { transform: translateY(-3px); }
@keyframes fabIn { from { opacity: 0; transform: translateY(16px) scale(0.92); } }
.chat-panel {
  width: min(320px, calc(100vw - 40px)); background: #fff; border-radius: 22px; padding: 20px;
  border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(92, 10, 135, 0.45);
  transform-origin: bottom right; animation: panelIn 0.35s cubic-bezier(.2,.8,.2,1);
}
.chat-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.chat-title { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; color: var(--plum); line-height: 1.1; }
.chat-note { margin: 6px 0 14px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5; }
.chat-option {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: var(--lavender); margin-top: 8px; transition: background 0.2s ease;
}
.chat-option.chat-text { background: var(--mint-mist); }
.chat-option.chat-email { background: #fbf3fb; }
.chat-option:hover { background: var(--lilac); }
.chat-option strong { display: block; font-size: 0.95rem; color: var(--plum); }
.chat-option small { display: block; font-size: 0.8rem; color: var(--ink-soft); }
.chat-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--plum); flex: none; }
.chat-icon svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .chat-fab span { display: none; } .chat-fab { padding: 15px; } }

/* Gentle reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .glow { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .ring, .ring img { transition: none; }
  .pop { opacity: 1; transform: none; transition: none; }
  .stitches { display: none; }
  .stitch-ink { opacity: 1 !important; transition: none; }
  .frame, .frame img, .chat-fab, .chat-panel { transition: none; animation: none; }
  .ba-face { transition: none; }
  .rotator img { transition: none; }
  .arch:hover .frame, .arch:hover .frame img { transform: none; }
  .piece:hover .ring, .piece:hover .ring img { transform: none; }
}

.nowrap { white-space: nowrap; }
.about-page { padding-top: clamp(70px, 10vw, 120px); }
.order-form .field-help-note, .contact .order-form .field-help-note { padding: 10px 14px; border-radius: 12px; background: var(--mint-mist); color: var(--ink); }
.order-form .fine-print, .contact .order-form .fine-print { margin: 4px 0 0; max-width: none; font-size: 0.76rem; color: var(--ink-soft); opacity: 0.85; }

/* Quick request (before text or Messenger) */
.quick { display: grid; gap: 10px; }
.quick[hidden], .chat-choices[hidden] { display: none; }
.quick label { display: grid; gap: 4px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.quick input, .quick select { font: inherit; font-weight: 400; font-size: 0.9rem; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--lilac); background: var(--cream); color: var(--ink); width: 100%; }
.quick-row { display: grid; grid-template-columns: 0.7fr 1fr; gap: 8px; }
.quick-back { justify-self: start; border: 0; background: none; color: var(--plum); font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; padding: 0; }
.quick-title { margin-top: 2px; }
.quick .chat-note { margin: 0 0 4px; }
.quick-send { justify-self: stretch; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 600; padding: 12px; }
.quick-note { margin: 0; font-size: 0.82rem; color: var(--plum); min-height: 1em; }
.chat-panel { max-height: calc(100vh - 110px); overflow-y: auto; }

/* Scroll cue between the banner and the film */
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(1120px, 100% - 40px); margin: 0 auto clamp(24px, 3vw, 40px); text-decoration: none; color: var(--plum); }
.scroll-cue.reveal { opacity: 1; transform: none; }
.scroll-line { display: block; height: 1px; width: 100%; background: linear-gradient(90deg, transparent, rgba(92, 10, 135, 0.35), transparent); transform: scaleX(0); opacity: 0; transition: transform 1.6s cubic-bezier(.2,.8,.2,1), opacity 1.2s ease; }
.scroll-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.75); border: 1px solid rgba(92, 10, 135, 0.15); opacity: 0; transition: opacity 0.8s ease 0.9s; }
.scroll-arrow svg { width: 20px; height: 20px; }
.scroll-cue.in .scroll-line { transform: scaleX(1); opacity: 1; }
.scroll-cue.in .scroll-arrow { opacity: 1; animation: cueBob 2.4s ease-in-out 1.8s infinite; }
@keyframes cueBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-line { transform: none; opacity: 1; transition: none; } .scroll-arrow { opacity: 1; transition: none; } .scroll-cue.in .scroll-arrow { animation: none; } }

/* Etsy reviews badge in the banner */
.etsy-badge {
  display: inline-flex; align-items: center; gap: 16px; margin: 4px 0 clamp(26px, 4vw, 40px);
  padding: 14px 22px 14px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px -26px rgba(92, 10, 135, 0.55); backdrop-filter: blur(6px);
}
.etsy-stars { display: inline-flex; gap: 2px; }
.etsy-stars svg { width: 18px; height: 18px; fill: #c9a75a; }
.etsy-text { display: grid; line-height: 1.2; }
.etsy-text strong { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; font-weight: 600; color: var(--plum); }
.etsy-text span { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); }
@media (max-width: 420px) { .etsy-badge { gap: 12px; padding: 12px 16px; } .etsy-stars svg { width: 15px; height: 15px; } }

/* Phone fit for the order form and quick card */
.order-form { grid-template-columns: minmax(0, 1fr); }
.order-form > *, .order-form label, .order-form fieldset { min-width: 0; }
.order-form input[type=file] { width: 100%; max-width: 100%; }
.order-form input[type=date] { min-width: 0; -webkit-appearance: none; appearance: none; }
@media (max-width: 640px) {
  .order-form { padding: 22px 18px; border-radius: 22px; }
  .order-form input[type], .order-form textarea, .order-form select, .quick input[type], .quick select { font-size: 16px; } /* stops iPhone zooming in on tap */
  .chips span { padding: 10px 15px; }
  .order-form .btn { justify-self: stretch; justify-content: center; }
}

/* Gallery lightbox: tap a circle to see the whole photo */
button.ring.zoomable { display: block; width: 100%; border: 0; cursor: zoom-in; font: inherit; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 24px; background: rgba(28, 12, 40, 0.88); backdrop-filter: blur(6px); animation: lbIn 0.3s ease; }
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lb-img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7); background: #fff; }
.lb-cap { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.35rem; color: #fff; text-align: center; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.28); }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; padding: 64px 12px 80px; }
  .lb-nav { position: absolute; bottom: 18px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } }

/* Find Us (vendor market) page */
.market { padding-top: clamp(40px, 6vw, 70px); }
.market-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .market-grid { grid-template-columns: 1fr; } }
.market-card { padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: radial-gradient(80% 80% at 15% 10%, var(--lilac), transparent 70%), radial-gradient(80% 80% at 90% 95%, var(--mint-soft), transparent 70%), var(--lavender); }
.market-card dl { margin: 18px 0 26px; display: grid; gap: 20px; }
.market-card dt { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.market-card dd { margin: 4px 0 0; font-family: "Cormorant Garamond", serif; font-size: 1.7rem; color: var(--plum); line-height: 1.25; }
.market-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
.storefront { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 460px; text-align: center; }
.storefront img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 0 0 7px #fff, 0 34px 70px -40px rgba(92, 10, 135, 0.55); }
.storefront figcaption { margin-top: 14px; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 1.15rem; color: var(--plum); }
.booth-note { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.3; color: var(--plum); }

/* "Click any photo" hint and hover overlay on zoomable circles */
.tap-hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px !important; padding: 10px 20px 10px 12px; border-radius: 999px; background: rgba(255,255,255,0.75); border: 1px solid rgba(92, 10, 135, 0.12); color: var(--plum) !important; font-weight: 600; font-size: 0.95rem; }
.tap-icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plum); color: #fff; }
.tap-icon svg { width: 20px; height: 20px; animation: tapPress 1.8s ease-in-out infinite; }
.tap-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; animation: tapRing 1.8s ease-out infinite; }
@keyframes tapPress { 0%, 60%, 100% { transform: translate(0, 0) scale(1); } 30% { transform: translate(1px, 2px) scale(0.86); } }
@keyframes tapRing { 0%, 25% { opacity: 0; transform: scale(0.8); } 35% { opacity: 0.9; } 100% { opacity: 0; transform: scale(1.7); } }
button.ring.zoomable { position: relative; }
.zoom-hint {
  position: absolute; inset: 6px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 6px;
  background: rgba(58, 10, 85, 0.62); color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; text-shadow: 0 1px 6px rgba(0,0,0,0.45);
  opacity: 0; transition: opacity 0.35s ease;
}
.zoom-hint svg { width: 30px; height: 30px; }
button.ring.zoomable:hover .zoom-hint, button.ring.zoomable:focus-visible .zoom-hint { opacity: 1; }
@media (hover: none) { .zoom-hint { opacity: 0 !important; } }
@media (prefers-reduced-motion: reduce) { .tap-icon svg, .tap-ring { animation: none; } }
