/* =========================================================================
   S2 Crafts — handmade candles & home décor
   Hand-written CSS. No framework, no utility soup.
   1. Tokens          5. Nav            9.  About
   2. Base            6. Hero           10. Features / Occasions
   3. Primitives      7. Products       11. Instagram / Contact / Footer
   4. Motion          8. Catalogue      12. Responsive
   ========================================================================= */

/* 1 ─ Tokens ------------------------------------------------------------- */
:root {
  --ivory:        #FFFDF9;
  --cream:        #FBF6EE;
  --cream-deep:   #F5EDE1;
  --sand:         #F0E5D5;
  --beige:        #E6D7C3;
  --taupe:        #CDBBA0;
  --line:         #E3D5C0;

  --ink:          #2C2018;
  --brown:        #3D2C1E;
  --brown-soft:   #6E5843;
  --muted:        #7B6549;

  --gold:         #B98A43;
  --gold-light:   #DDB878;
  --gold-pale:    #F0DFBF;
  --glow:         #F7C778;
  --ember:        #E8944A;

  --wa-dark:      #0D5A3E;
  --wa:           #1C7D55;

  --radius-sm:    14px;
  --radius:       22px;
  --radius-lg:    30px;
  --radius-xl:    44px;

  --shadow-sm:    0 2px 10px rgba(80, 56, 32, .06);
  --shadow:       0 14px 40px -18px rgba(80, 56, 32, .30);
  --shadow-lg:    0 34px 80px -34px rgba(72, 48, 26, .45);
  --shadow-glow:  0 0 60px -12px rgba(247, 199, 120, .55);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shell:        min(1240px, 100% - 2.5rem);
  --section-y:    clamp(4.5rem, 9vw, 8.5rem);
  --ease:         cubic-bezier(.22, .68, .24, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);

  --nav-h:        84px;
}

/* 2 ─ Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-soft);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: .005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2.05rem, 1.4rem + 2.9vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.65rem); }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }

::selection { background: var(--gold-pale); color: var(--brown); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -999px;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--brown);
  color: var(--ivory);
  border-radius: 0 0 12px 12px;
}
.skip-link:focus { top: 0; }

/* 3 ─ Primitives --------------------------------------------------------- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;      /* keeps the decorative orbs from widening the page */
}

.section--tint {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 253, 249, .9), transparent 60%),
    var(--cream-deep);
}

/* Soft, organic transition between sections instead of a hard edge */
.section--curve { border-radius: 0 0 clamp(2rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.1rem;
  font-size: .715rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light));
}
.eyebrow--center::after {
  content: "";
  width: 30px; height: 1px;
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

.section-head {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
  text-align: center;
}
.section-head p { color: var(--brown-soft); }

.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .9rem 1.85rem;
  border: 0;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }

/* Light sweep on hover */
.btn::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary {
  background: linear-gradient(135deg, var(--brown) 0%, #56402C 60%, var(--gold) 190%);
  color: var(--ivory);
  box-shadow: 0 12px 30px -14px rgba(61, 44, 30, .8);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -16px rgba(61, 44, 30, .75); }

.btn--wa {
  background: linear-gradient(135deg, var(--wa-dark), var(--wa));
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(13, 90, 62, .85);
}
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -16px rgba(13, 90, 62, .7); }

.btn--light {
  background: rgba(255, 253, 249, .92);
  color: var(--brown);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn--sm { min-height: 44px; padding: .65rem 1.3rem; font-size: .84rem; }
.btn--block { width: 100%; }

/* Cards */
.card {
  position: relative;
  background: var(--ivory);
  border: 1px solid rgba(227, 213, 192, .8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-pale);
  box-shadow: var(--shadow);
}

.glass {
  background: rgba(255, 253, 249, .62);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .6);
}

/* Media frames — every image sits in a fixed-ratio box so nothing shifts while loading */
.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand), var(--beige));
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
}
.media--1x1  { aspect-ratio: 1 / 1; }
.media--3x4  { aspect-ratio: 3 / 4; }

.zoom:hover .media img,
.media.zoom:hover img { transform: scale(1.07); }

/* Dev-only marker so you can spot which photos are still placeholders */
.is-placeholder::after {
  content: "Add photo";
  position: absolute;
  left: .6rem; bottom: .6rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(61, 44, 30, .72);
  color: #FFF3DF;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}

/* Decorative glow blobs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(247, 199, 120, .42), rgba(247, 199, 120, 0) 68%);
  filter: blur(6px);
  z-index: 0;
  will-change: transform;
}

/* 4 ─ Motion ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal--left  { transform: translate3d(-32px, 0, 0); }
.reveal--right { transform: translate3d(32px, 0, 0); }
.reveal--scale { transform: scale(.94); }
.reveal.is-in { opacity: 1; transform: none; }

/* Floating candle-glow particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  bottom: -10%;
  width: var(--s, 6px);
  height: var(--s, 6px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 189, .95), rgba(247, 199, 120, 0) 70%);
  opacity: 0;
  animation: drift var(--dur, 16s) linear var(--delay, 0s) infinite;
}
@keyframes drift {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) scale(.6); }
  12%  { opacity: .85; }
  72%  { opacity: .5; }
  100% { opacity: 0; transform: translate3d(var(--x, 20px), -92vh, 0) scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .particles { display: none; }
}

/* 5 ─ Navigation --------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease),
              backdrop-filter .45s var(--ease), padding .45s var(--ease);
  padding-block: .55rem;
}
.nav::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(251, 246, 238, .78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(227, 213, 192, .7);
  transition: opacity .45s var(--ease);
}
.nav.is-stuck::after { opacity: 1; }
.nav.is-stuck { box-shadow: 0 10px 30px -22px rgba(61, 44, 30, .55); }

.nav__inner {
  width: var(--shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  flex: none;
  border-radius: 17px;
  background: linear-gradient(140deg, var(--brown), #5A4029);
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 1.38rem;
  letter-spacing: .02em;
  box-shadow: 0 6px 18px -8px rgba(61, 44, 30, .8);
  position: relative;
  overflow: hidden;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 90%; height: 90%;
  background: radial-gradient(circle, rgba(247, 199, 120, .55), transparent 70%);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: .01em;
}
.brand__name em { font-style: italic; color: var(--gold); }
.brand__tag {
  font-size: .575rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem;
}

.nav__links {
  display: none;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  position: relative;
  display: block;
  padding: .55rem .85rem;
  font-size: .875rem;
  font-weight: 400;
  color: var(--brown-soft);
  border-radius: 999px;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .3rem;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: var(--brown); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--gold); }

.nav__cta { display: none; }

.burger {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  background: rgba(255, 253, 249, .8);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.burger:hover { border-color: var(--gold-light); }
.burger__box { position: relative; width: 20px; height: 14px; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%; height: 1.6px;
  border-radius: 2px;
  background: var(--brown);
  transition: transform .45s var(--ease-out), opacity .25s var(--ease), width .45s var(--ease-out);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 72%; }
.burger__box span:nth-child(3) { bottom: 0; }
.nav.is-open .burger__box span:nth-child(1) { transform: translateY(6.2px) rotate(45deg); }
.nav.is-open .burger__box span:nth-child(2) { opacity: 0; }
.nav.is-open .burger__box span:nth-child(3) { transform: translateY(-6.2px) rotate(-45deg); width: 100%; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 99;
  width: min(360px, 86vw);
  padding: calc(var(--nav-h) + 2rem) 1.9rem 2.2rem;
  background: linear-gradient(170deg, var(--ivory), var(--cream-deep));
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 70px -40px rgba(61, 44, 30, .6);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .6s var(--ease-out), visibility .6s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav.is-open ~ .drawer,
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__links { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer__links li { border-bottom: 1px solid rgba(227, 213, 192, .7); }
.drawer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem .2rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brown);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s var(--ease);
}
.drawer.is-open .drawer__links a { opacity: 1; transform: none; }
.drawer__links a:hover { color: var(--gold); }
.drawer__links a span { color: var(--gold); font-size: .8rem; font-family: var(--font-body); }
.drawer__social {
  display: flex;
  gap: .7rem;
  margin-top: 1.6rem;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(44, 32, 24, .42);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* Scroll progress hairline */
.progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), var(--glow));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.nav.is-stuck .progress { opacity: 1; }

/* 6 ─ Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 78% 18%, rgba(247, 199, 120, .28), transparent 60%),
    radial-gradient(70% 55% at 8% 84%, rgba(230, 215, 195, .55), transparent 62%),
    linear-gradient(175deg, var(--ivory) 0%, var(--cream) 48%, var(--cream-deep) 100%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 36rem; }
.hero h1 { margin-bottom: .45em; }
.hero h1 em {
  font-style: italic;
  position: relative;
  color: var(--gold);
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .28em;
  background: linear-gradient(90deg, rgba(247, 199, 120, .45), rgba(247, 199, 120, 0));
  border-radius: 999px;
  z-index: -1;
}
.hero__text { max-width: 34rem; color: var(--brown-soft); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}
.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.5rem;
  margin: 2.4rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero__highlights li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .845rem;
  letter-spacing: .02em;
  color: var(--muted);
}
.hero__highlights svg { width: 15px; height: 15px; color: var(--gold); flex: none; }

/* Hero image stage */
.hero__stage {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}
.hero__frame {
  position: relative;
  border-radius: clamp(120px, 24vw, 220px) clamp(120px, 24vw, 220px) var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .65);
}
.hero__frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 249, 236, .12) 0%, transparent 35%, rgba(61, 44, 30, .16) 100%);
  pointer-events: none;
}
.hero__frame img { aspect-ratio: 1 / 1; width: 100%; height: 100%; object-fit: cover; }

/* The glow that sits behind the candle image */
.hero__halo {
  position: absolute;
  left: 50%;
  top: 22%;
  width: 78%;
  aspect-ratio: 1;
  transform: translate(-50%, -20%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 148, .55), rgba(247, 199, 120, 0) 66%);
  filter: blur(14px);
  animation: halo 6.5s ease-in-out infinite;
  z-index: -1;
}
@keyframes halo {
  0%, 100% { opacity: .75; transform: translate(-50%, -20%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -20%) scale(1.07); }
}

/* Floating glass badge */
.hero__badge {
  position: absolute;
  right: clamp(-8px, -1vw, 0px);
  bottom: 12%;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.15rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brown);
  line-height: 1.2;
}
.hero__badge span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Pure-CSS candle flame */
.flame-mark {
  position: relative;
  width: 26px; height: 38px;
  flex: none;
}
.flame-mark__glow {
  position: absolute;
  left: 50%; top: 38%;
  width: 40px; height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 120, .8), transparent 68%);
  animation: flicker 2.4s ease-in-out infinite;
}
.flame-mark__body {
  position: absolute;
  left: 50%; top: 0;
  width: 15px; height: 24px;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: linear-gradient(180deg, #FFF3D0, #F7C778 45%, var(--ember));
  transform-origin: 50% 100%;
  animation: dance 2.8s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(247, 199, 120, .8);
}
.flame-mark__wax {
  position: absolute;
  left: 50%; bottom: 0;
  width: 22px; height: 13px;
  transform: translateX(-50%);
  border-radius: 5px;
  background: linear-gradient(180deg, #FFFBF2, #E9D4B4);
}
@keyframes flicker {
  0%, 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); }
  40%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.12); }
  70%      { opacity: .72; transform: translate(-50%, -50%) scale(.95); }
}
@keyframes dance {
  0%, 100% { transform: translateX(-50%) rotate(-1.5deg) scaleY(1); }
  35%      { transform: translateX(-50%) rotate(2deg) scaleY(1.07); }
  65%      { transform: translateX(-50%) rotate(-1deg) scaleY(.96); }
}

.scroll-cue {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  z-index: 3;
  font-size: .65rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px; height: 46px;
  margin: .7rem auto 0;
  background: linear-gradient(var(--gold-light), transparent);
  animation: cue 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.35); opacity: .4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* 7 ─ Products ----------------------------------------------------------- */
.grid {
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.9rem);
}
.grid--products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--occasions{ grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.grid--insta    { grid-template-columns: repeat(2, 1fr); }

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product .media { border-radius: var(--radius) var(--radius) 0 0; }
/* Category + badge, under the photo instead of floating on it */
.product__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .6rem;
  margin: 0 0 .55rem;
}
.product__tag {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.product__badge {
  padding: .2rem .6rem;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--gold-pale);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown-soft);
}
.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.35rem 1.5rem;
}
.product__name { margin-bottom: .4rem; font-size: 1.28rem; }
.product__desc {
  flex: 1;
  margin-bottom: 1.1rem;
  font-size: .91rem;
  line-height: 1.7;
  color: var(--brown-soft);
}
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(227, 213, 192, .8);
}
.product__foot .btn { width: 100%; }

/* 8 ─ Catalogue + filters ------------------------------------------------ */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .45rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
  padding: .4rem;
  border-radius: 999px;
  background: rgba(255, 253, 249, .7);
  border: 1px solid var(--line);
  width: fit-content;
  margin-inline: auto;
  max-width: 100%;
}
.filter {
  padding: .6rem 1.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .845rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--brown-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: color .3s var(--ease), background-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.filter:hover { color: var(--brown); }
.filter.is-active {
  background: linear-gradient(135deg, var(--brown), #57402C);
  color: var(--gold-pale);
  box-shadow: 0 10px 22px -12px rgba(61, 44, 30, .9);
}

.catalogue-item {
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.catalogue-item.is-filtered {
  opacity: 0;
  transform: scale(.94) translateY(14px);
  pointer-events: none;
}
.catalogue-item[hidden] { display: none; }

/* Catalogue tiles */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid rgba(227, 213, 192, .85);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s var(--ease);
}
.tile:hover { transform: translateY(-6px); border-color: var(--gold-pale); box-shadow: var(--shadow); }
.tile .media { border-radius: var(--radius) var(--radius) 0 0; }

/* A quiet prompt that rises over the photo on hover */
.tile__cta {
  position: absolute;
  left: 50%; bottom: .8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wa-dark), var(--wa));
  color: #fff;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(13, 90, 62, .9);
  opacity: 0;
  transform: translate(-50%, 140%);
  transition: opacity .45s var(--ease), transform .45s var(--ease-out);
}
.tile__cta svg { width: 15px; height: 15px; }
.tile:hover .tile__cta,
.tile:focus-visible .tile__cta { opacity: 1; transform: translate(-50%, 0); }

.tile__caption {
  flex: 1;
  padding: 1rem 1.05rem 1.2rem;
  background: var(--ivory);
}
.tile__caption h3 {
  margin: 0 0 .25rem;
  font-size: 1.08rem;
  line-height: 1.25;
}
.tile__caption p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  margin: 0;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.tile__badge {
  padding: .16rem .5rem;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--gold-pale);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--brown-soft);
}

/* Even gallery grid — every candle gets the same frame */
.grid--catalogue { grid-template-columns: repeat(2, 1fr); }

.empty-note {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}

/* 9 ─ About -------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__media-main img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.about__media-sub {
  position: absolute;
  right: -6%;
  bottom: -9%;
  width: 46%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
}
.about__media-sub img { aspect-ratio: 1; width: 100%; object-fit: cover; }
.about__stamp {
  position: absolute;
  left: 4%;
  top: 4%;
  display: grid;
  place-items: center;
  width: clamp(104px, 13vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  /* Cream on a dark photograph, not brown on brown — and no spin, because a
     rotating badge spends half its life upside down. */
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--gold-pale);
  box-shadow: 0 10px 30px -12px rgba(44, 32, 24, .55), inset 0 0 0 4px rgba(255, 255, 255, .6);
  color: var(--brown);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(.68rem, .82vw, .78rem);
  line-height: 1.45;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12%;
}
.about__stamp span { display: block; max-width: 100%; }
.about__stamp span + span {
  margin-top: .3em;
  padding-top: .3em;
  border-top: 1px solid var(--gold-pale);
  color: var(--gold);
  font-size: .82em;
  letter-spacing: .1em;
}

.about__notes {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line);
}
.about__note { display: flex; gap: .9rem; align-items: flex-start; }
.about__note svg { width: 20px; height: 20px; color: var(--gold); margin-top: .3rem; flex: none; }
.about__note strong { display: block; color: var(--brown); font-weight: 500; }
.about__note span { font-size: .86rem; color: var(--muted); }

.signature {
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold);
}

/* 10 ─ Features & occasions ---------------------------------------------- */
.feature {
  padding: 2.4rem 1.9rem;
  text-align: left;
  overflow: hidden;
  border-color: rgba(214, 195, 168, .9);
}
.feature::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 70%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 199, 120, .22), transparent 68%);
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.feature:hover::before { opacity: 1; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sand), var(--gold-pale));
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px var(--gold-pale),
              0 10px 22px -14px rgba(120, 92, 58, .7);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.feature:hover .feature__icon {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 0 0 1px var(--gold-light),
              0 14px 26px -12px rgba(120, 92, 58, .8);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: .6rem; font-size: 1.32rem; }
.feature p { font-size: .93rem; line-height: 1.72; color: var(--brown-soft); margin: 0; }

.occasion {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.occasion:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.occasion__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.15rem 1.2rem;
  background: linear-gradient(to top,
    rgba(36, 25, 17, .92) 0%, rgba(36, 25, 17, .72) 42%, rgba(36, 25, 17, 0) 100%);
}
.occasion__body h3 { margin: 0 0 .1rem; color: #FFF8EC; font-size: 1.12rem; }
.occasion__body p  { margin: 0; font-size: .79rem; color: rgba(255, 248, 236, .88); line-height: 1.5; }

/* 11 ─ Custom orders, Instagram, contact, footer ------------------------- */
.custom {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 82% 20%, rgba(247, 199, 120, .22), transparent 62%),
    linear-gradient(160deg, #3D2C1E 0%, #4A3527 55%, #57402C 100%);
  color: rgba(255, 248, 236, .82);
}
.custom h2, .custom h3 { color: #FFF8EC; }
.custom .eyebrow { color: var(--gold-light); }
.custom .eyebrow::before { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.custom__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.custom__points {
  display: grid;
  gap: .85rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.custom__points li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .94rem;
}
.custom__points svg { width: 19px; height: 19px; color: var(--gold-light); flex: none; }
.custom__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
}
.custom__media img { aspect-ratio: 4 / 3.4; width: 100%; object-fit: cover; }

.insta-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.insta-tile:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow); }
.insta-tile__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(44, 32, 24, .42);
  color: #FFF8EC;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.insta-tile:hover .insta-tile__icon { opacity: 1; }
.insta-tile__icon svg { width: 26px; height: 26px; }

/* Contact */
.contact__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.2rem);
  align-items: start;
}
.contact__list {
  display: grid;
  gap: .85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, .78);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), border-color .35s var(--ease), box-shadow .45s var(--ease-out);
}
a.contact__item:hover {
  transform: translateX(5px);
  border-color: var(--gold-pale);
  box-shadow: var(--shadow-sm);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--sand), var(--gold-pale));
  color: var(--gold);
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__item strong { display: block; color: var(--brown); font-weight: 500; font-size: .98rem; }
.contact__item span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Form */
.form {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form__head { margin-bottom: 1.6rem; }
.form__head h3 { margin-bottom: .35rem; }
.form__head p { margin: 0; font-size: .84rem; color: var(--muted); }
.form__row { display: grid; gap: 1.1rem; }
.field { position: relative; }
.field label {
  display: block;
  margin-bottom: .45rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .95rem 1.1rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 300;
  color: var(--brown);
  background: rgba(255, 253, 249, .9);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 116px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E7961' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 17px;
  padding-right: 2.7rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #B6A38B; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--ivory);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(221, 184, 120, .18);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #C5705A; box-shadow: 0 0 0 4px rgba(197, 112, 90, .14); }
.field__error {
  display: none;
  margin-top: .4rem;
  font-size: .76rem;
  color: #B4563F;
}
.field.has-error .field__error { display: block; }
.form .btn { margin-top: 1.5rem; }
.form__foot {
  margin-top: 1rem;
  font-size: .76rem;
  text-align: center;
  color: var(--muted);
}
/* Honeypot — hidden from people, tempting to bots */
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* Footer */
.footer {
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
  background: linear-gradient(170deg, #33241833 0%, transparent 40%), #2C2018;
  color: rgba(255, 248, 236, .62);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: 50%; top: -30%;
  width: 60vw; aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(247, 199, 120, .13), transparent 66%);
  pointer-events: none;
}
.footer__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 248, 236, .12);
}
.footer .brand__name { color: #FFF8EC; }
.footer .brand__mark {
  background: linear-gradient(140deg, #4A3527, #63482F);
  box-shadow: none;
}
.footer__about p { margin-top: 1.25rem; font-size: .89rem; max-width: 30rem; line-height: 1.7; }
.footer h4 {
  margin-bottom: 1.15rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__links a {
  font-size: .89rem;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer__links a:hover { color: #FFF8EC; padding-left: 5px; }

.social {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: rgba(255, 248, 236, .07);
  border: 1px solid rgba(255, 248, 236, .14);
  color: rgba(255, 248, 236, .82);
  transition: transform .45s var(--ease-out), background-color .35s var(--ease), color .35s var(--ease);
}
.social:hover { transform: translateY(-4px); background: var(--gold); color: #2C2018; }
.social svg { width: 19px; height: 19px; }
.social-row { display: flex; gap: .7rem; margin-top: 1.5rem; }

/* Light-background variant used in the mobile drawer */
.drawer .social {
  background: rgba(61, 44, 30, .06);
  border-color: var(--line);
  color: var(--brown);
}
.drawer .social:hover { background: var(--gold); color: var(--ivory); }

.footer__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: .8rem;
}
.footer__bar span { display: inline-flex; align-items: center; gap: .45rem; }

/* Floating WhatsApp button (mobile) */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa-dark), var(--wa));
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(13, 90, 62, .9);
  transform: scale(0);
  transition: transform .5s var(--ease-out);
}
.wa-float.is-in { transform: scale(1); }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 27px; height: 27px; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(28, 125, 85, .6);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Configuration reminder (development only) */
.config-note {
  position: fixed;
  left: 1rem; bottom: 1rem;
  z-index: 95;
  max-width: 300px;
  padding: .8rem 1rem;
  border-radius: 14px;
  background: rgba(44, 32, 24, .92);
  color: #FFF3DF;
  font-size: .76rem;
  line-height: 1.5;
  box-shadow: var(--shadow);
}
.config-note code { color: var(--gold-light); font-size: .74rem; }
.config-note button {
  position: absolute; right: .35rem; top: .2rem;
  background: none; border: 0; color: inherit;
  font-size: 1rem; cursor: pointer; opacity: .6;
}

/* 12 ─ Responsive -------------------------------------------------------- */
@media (min-width: 560px) {
  .grid--insta { grid-template-columns: repeat(4, 1fr); }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .about__notes { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .grid--catalogue { grid-template-columns: repeat(3, 1fr); }
  .scroll-cue { display: block; }
  .custom__points { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --nav-h: 96px; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .drawer, .scrim { display: none; }

  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4.5rem); }
  .hero__copy { max-width: none; }

  .about__grid { grid-template-columns: .92fr 1.08fr; }

  .custom__grid { grid-template-columns: 1.02fr .98fr; }
  .contact__grid { grid-template-columns: .92fr 1.08fr; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; }
  .wa-float { display: none; }
}

@media (min-width: 1120px) {
  .grid--catalogue { grid-template-columns: repeat(4, 1fr); }
}

@media (hover: none) {
  /* Touch devices: no hover to reveal, so keep captions readable */
  .tile__cta { opacity: 1; transform: translate(-50%, 0); }
  .card:hover, .tile:hover, .occasion:hover, .insta-tile:hover { transform: none; }
}

@media print {
  .nav, .drawer, .scrim, .wa-float, .particles, .orb, .config-note { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Anchor offset so smooth-scrolled sections clear the sticky navbar */
section[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

/* Navbar breathing room on smaller laptops — drop the tagline before the links wrap */
@media (min-width: 900px) and (max-width: 1179px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.32rem; }
  .nav__inner { gap: 1rem; }
  .nav__link { padding-inline: .6rem; font-size: .83rem; }
  .nav__cta { padding-inline: 1.1rem; font-size: .8rem; }
}

/* -------------------------------------------------------------------------
   Balanced last rows.
   A 5-card row should not read as "4 + 1 orphan", and 7 occasion cards
   should not read as "5 + 2". These rules stretch whatever lands on the
   final row so it fills the width, whatever number of items you configure.
   ------------------------------------------------------------------------- */
@media (min-width: 900px) {
  /* Why S2 Crafts — 3 per row, 6-column base */
  .grid--features { grid-template-columns: repeat(6, 1fr); }
  .grid--features > * { grid-column: span 2; }
  .grid--features > :nth-child(3n + 1):nth-last-child(2),
  .grid--features > :nth-child(3n + 1):nth-last-child(2) ~ * { grid-column: span 3; }
  .grid--features > :nth-child(3n + 1):last-child { grid-column: 3 / span 2; }

  /* Occasions — 4 per row, 12-column base */
  .grid--occasions { grid-template-columns: repeat(12, 1fr); }
  .grid--occasions > * { grid-column: span 3; }
  .grid--occasions > :nth-child(4n + 1):nth-last-child(3),
  .grid--occasions > :nth-child(4n + 1):nth-last-child(3) ~ * { grid-column: span 4; }
  .grid--occasions > :nth-child(4n + 1):nth-last-child(2),
  .grid--occasions > :nth-child(4n + 1):nth-last-child(2) ~ * { grid-column: span 6; }
  .grid--occasions > :nth-child(4n + 1):last-child { grid-column: 5 / span 4; }
}

/* The label <span> wrappers set uppercase / small type — keep the headline
   inside them at full size and normal case. */
.contact__item strong { text-transform: none; letter-spacing: normal; }
.about__note strong { font-size: 1rem; }

/* -------------------------------------------------------------------------
   Phone refinements — the brand lockup and hero need to earn their space
   above the fold, so the candle photograph is not pushed too far down.
   ------------------------------------------------------------------------- */
@media (max-width: 559px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.3rem; }
  .brand__mark { width: 48px; height: 48px; border-radius: 15px; font-size: 1.15rem; }

  .eyebrow { font-size: .66rem; letter-spacing: .2em; }
  .eyebrow::before { width: 20px; }

  .hero { padding-top: calc(var(--nav-h) + 1.6rem); }
  .hero h1 { font-size: 2.35rem; line-height: 1.14; }
  .hero__text { font-size: 1rem; line-height: 1.68; }
  .hero__actions { margin-top: 1.6rem; gap: .7rem; }
  .hero__actions .btn { width: 100%; }
  .hero__highlights { margin-top: 1.9rem; padding-top: 1.2rem; gap: .5rem 1rem; }

  .hero__frame { border-radius: 140px 140px var(--radius) var(--radius); }
  .hero__badge { right: 0; bottom: 8%; padding: .7rem .95rem; }

  .about__media-sub { width: 44%; right: -2%; bottom: -7%; }
  .about__stamp { left: 3%; top: 3%; width: 88px; font-size: .62rem; }

  .filters { gap: .25rem; padding: .35rem; }
  .filter { padding: .55rem .9rem; font-size: .8rem; }

}

/* The navbar stays above the drawer so the burger can close it — fade the
   wordmark out instead of letting it sit on top of the open panel. */
.nav.is-open .brand__text {
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   Brand mark as a photograph.
   The S2 Crafts badge is a circle on a square canvas, so clipping it to a
   circle drops the corners and leaves the gold ring flush with the edge.
   ------------------------------------------------------------------------- */
.brand__mark--image {
  border-radius: 50%;
  background: var(--ivory);
  object-fit: cover;
  padding: 0;
  box-shadow: 0 4px 14px -6px rgba(61, 44, 30, .55), inset 0 0 0 1px rgba(255, 255, 255, .5);
}
.brand__mark--image::before { content: none; }
.footer .brand__mark--image { background: var(--ivory); box-shadow: 0 4px 16px -6px rgba(0, 0, 0, .6); }

/* The logo badge carries fine detail, so give it more room than a plain monogram
   would need — and a touch more again in the footer, where there is space. */
.brand__mark--image { width: 58px; height: 58px; }
.footer .brand__mark--image { width: 68px; height: 68px; }

@media (max-width: 559px) {
  .brand__mark--image { width: 50px; height: 50px; }
  .footer .brand__mark--image { width: 58px; height: 58px; }
}

/* In catalogue tiles the "Enquire" pill sits along the bottom edge, so move the
   development-only placeholder marker up to the free top-right corner. */
.tile .is-placeholder::after {
  left: auto; bottom: auto;
  right: .6rem; top: .6rem;
}

/* =========================================================================
   13 ─ Lotus spotlight · collection CTA · the /candles gallery page
   Added after the original sheet so nothing above it changes behaviour.
   ========================================================================= */

:root {
  /* The blush family, drawn from the bouquet and lotus candles */
  --blush:        #E7A9AC;
  --blush-soft:   #F3D2D2;
  --blush-pale:   #FBECEA;
}

/* ─ Extra button shapes ─────────────────────────────────────────────────── */
.btn--ghost {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  background: rgba(255, 253, 249, .8);
  box-shadow: var(--shadow-sm);
}

.btn--lg { min-height: 58px; padding: 1.05rem 2.2rem; font-size: .98rem; }

/* A quiet text link under the hero buttons, for people who would rather
   jump straight to the full gallery than scroll the page. */
.hero__gallery-link { margin: 1.1rem 0 0; }
.hero__gallery-link a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding-bottom: 2px;
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease), border-color .3s var(--ease), gap .3s var(--ease-out);
}
.hero__gallery-link a:hover { color: var(--gold); border-color: var(--gold-light); gap: .75rem; }
.hero__gallery-link svg { width: 15px; height: 15px; }

/* ─ The lotus spotlight band ────────────────────────────────────────────── */
.spotlight {
  background:
    radial-gradient(80% 60% at 82% 12%, rgba(247, 199, 120, .3), transparent 62%),
    radial-gradient(65% 55% at 10% 90%, rgba(231, 169, 172, .28), transparent 64%),
    linear-gradient(170deg, var(--ivory) 0%, var(--cream) 55%, var(--cream-deep) 100%);
}
.spotlight__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.spotlight__media { position: relative; }

/* The warm halo that makes the candle sit in light rather than on a flat panel */
.spotlight__halo {
  position: absolute;
  inset: -12% -8% -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(247, 199, 120, .5), rgba(247, 199, 120, 0) 66%);
  filter: blur(14px);
  z-index: 0;
  animation: halo 7s var(--ease) infinite alternate;
}

/* The frame matches the photograph's own 900 x 968, so object-fit: cover has
   nothing to trim — the whole lotus, wick and wooden slice stay in shot. */
.media--spotlight { aspect-ratio: 900 / 968; }

.spotlight__frame {
  position: relative;
  z-index: 1;
  border-radius: clamp(2rem, 7vw, 3.4rem) clamp(2rem, 7vw, 3.4rem) var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .7);
}
/* A soft gold rim drawn inside the frame rather than on the photograph */
.spotlight__frame::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(221, 184, 120, .45), inset 0 -70px 90px -60px rgba(61, 44, 30, .5);
  pointer-events: none;
}

.spotlight__badge {
  position: absolute;
  right: -7%;
  bottom: 4%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  animation: bob 6s var(--ease) infinite alternate;
}
.spotlight__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--brown);
  line-height: 1.2;
}
.spotlight__badge > span > span {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.spotlight__copy h2 { margin-bottom: .5em; }
.spotlight__copy h2 em {
  display: block;
  font-style: italic;
  font-size: .56em;
  color: var(--gold);
  letter-spacing: .005em;
  margin-top: .25em;
}

.spotlight__points {
  list-style: none;
  margin: 1.8rem 0 2.1rem;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.spotlight__points li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .93rem;
  color: var(--brown-soft);
}
.spotlight__points svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: .22rem; }

.spotlight__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ─ The band that sends visitors to the full gallery ────────────────────── */
.collection-cta { padding-block: clamp(3.5rem, 7vw, 6rem); }
.collection-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(231, 169, 172, .22), transparent 62%),
    linear-gradient(135deg, var(--ivory), var(--cream-deep));
  box-shadow: var(--shadow-sm);
}
.collection-cta__copy h2 { margin-bottom: .4em; }
.collection-cta__copy .lede { margin-bottom: 1.9rem; max-width: 34rem; }

/* A row of real product photographs, overlapping like a hand of cards */
.collection-cta__peek {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  max-width: 340px;
}
.collection-cta__thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--ivory);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.collection-cta__thumb img { width: 100%; height: 100%; object-fit: cover; }
.collection-cta__peek:hover .collection-cta__thumb { transform: translateY(-5px); }

.collection-cta__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brown), #56402C);
  color: #FFF8EC;
  text-align: center;
  line-height: 1.1;
}
.collection-cta__more strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.collection-cta__more span { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* ─ The gallery page ────────────────────────────────────────────────────── */
.gallery-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(85% 70% at 80% 10%, rgba(247, 199, 120, .3), transparent 62%),
    radial-gradient(60% 50% at 6% 92%, rgba(231, 169, 172, .25), transparent 64%),
    linear-gradient(172deg, var(--ivory), var(--cream) 60%, var(--cream-deep));
}
.gallery-hero > .shell { position: relative; z-index: 2; }

.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.crumbs a:hover { border-color: var(--gold-light); }
.crumbs span[aria-hidden] { color: var(--taupe); }

.gallery-hero__head { max-width: 46rem; margin-inline: auto; text-align: center; }
.gallery-hero__head h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); margin-bottom: .35em; }

.gallery-hero__count {
  /* inline-block, not inline-flex — the line has to wrap as plain text on a
     phone instead of leaving the count stranded in its own column */
  margin-top: 1.6rem;
  display: inline-block;
  padding: .6rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 253, 249, .78);
  border: 1px solid var(--line);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--brown-soft);
}
.gallery-hero__count strong { color: var(--gold); font-weight: 500; }

.gallery { padding-top: clamp(2.5rem, 5vw, 4rem); }
.filters--wide { margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }

.grid--gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr)); }

.gallery-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid rgba(227, 213, 192, .8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s var(--ease);
}
.gallery-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold-pale);
  box-shadow: var(--shadow);
}
.gallery-card:hover .media img { transform: scale(1.06); }

.gallery-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.35rem 1.45rem;
}
.gallery-card__body .product__desc { flex: 1; margin-bottom: 1.2rem; }
.gallery-card__body .product__name { font-size: 1.2rem; }

/* Filtering reuses the catalogue's classes, so a hidden card behaves the same */
.gallery-card.is-filtered { opacity: 0; transform: scale(.94); }

.gallery-foot { padding-top: clamp(3rem, 6vw, 5rem); }
.gallery-foot__card {
  max-width: 48rem;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.gallery-foot__card .lede { margin-bottom: 2rem; }
.gallery-foot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* ─ Shared polish ───────────────────────────────────────────────────────── */

/* Product photographs carry their own white edges, so a hairline keeps the
   card from bleeding into the page background. */
.product .media,
.gallery-card .media,
.tile .media { border-bottom: 1px solid rgba(227, 213, 192, .55); }

/* ─ Responsive ──────────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .spotlight__points { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .spotlight__grid { grid-template-columns: .9fr 1.1fr; }
  .collection-cta__inner { grid-template-columns: 1.05fr .95fr; }
  .collection-cta__peek { margin-left: auto; }
}

@media (max-width: 899px) {
  /* Photo first on narrow screens, so the candle is the first thing seen */
  .spotlight__media { order: -1; }
  .spotlight__badge { right: 4%; }
}

@media (max-width: 559px) {
  .spotlight__badge { right: 2%; bottom: 5%; padding: .65rem .9rem; gap: .6rem; }
  .spotlight__badge strong { font-size: .95rem; }
  .spotlight__actions .btn { width: 100%; }
  .gallery-foot__actions .btn { width: 100%; }
  .collection-cta__copy .btn { width: 100%; }
  .collection-cta__peek { margin-inline: auto; gap: .45rem; }
  .crumbs { font-size: .7rem; letter-spacing: .1em; }
  .gallery-hero__count { font-size: .74rem; line-height: 1.7; padding: .55rem 1.05rem; }
  .gallery-card__body { padding: 1.1rem 1.15rem 1.25rem; }
}

@media (hover: none) {
  .gallery-card:hover { transform: none; }
  .collection-cta__peek:hover .collection-cta__thumb { transform: none; }
}
