/* =========================================================
   Charnei 3D Makers — styles
   Palette: cream / white / charcoal / gold
   ========================================================= */
:root {
  --cream: #F3EEE8;
  --cream-2: #EDE6DC;
  --paper: #FBF8F4;
  --white: #FFFFFF;
  --ink: #1C1C1E;
  --charcoal: #2A2A2D;
  --muted: #5E5A55;        /* secondary text (AA contrast on cream) */
  --gold: #C9A24A;
  --gold-light: #E6CB86;
  --gold-dark: #7A5C18;    /* gold for small text on light (AA ≥4.5:1 on cream, paper and white) */
  --line: rgba(28, 28, 30, .09);

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --pill: 999px;

  --shadow-sm: 0 2px 6px rgba(58, 47, 28, .06), 0 1px 2px rgba(58, 47, 28, .05);
  --shadow: 0 14px 40px -12px rgba(58, 47, 28, .18), 0 4px 12px -4px rgba(58, 47, 28, .08);
  --shadow-lg: 0 30px 70px -20px rgba(58, 47, 28, .28), 0 10px 24px -10px rgba(58, 47, 28, .12);

  --font: "Montserrat", "Montserrat Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
  --gutter: 20px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* Montserrat, self-hosted (SIL Open Font License — see assets/fonts/OFL.txt). One variable file covers weights 400–800. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback for Montserrat: avoids text reflow (layout shift) when the web font swaps in */
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("ArialMT"), local("Arimo"), local("Liberation Sans");
  font-weight: 100 600;
  size-adjust: 109.7%; ascent-override: 88.2%; descent-override: 22.9%; line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Arimo Bold"), local("Liberation Sans Bold");
  font-weight: 700 900;
  size-adjust: 110%; ascent-override: 88%; descent-override: 22.8%; line-gap-override: 0%;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--white);
  padding: .7em 1.1em; border-radius: var(--pill); text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.gold-text {
  background: linear-gradient(100deg, #A9822F 0%, #C9A24A 40%, #B08A35 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold);
}
.eyebrow-light { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px;
  padding: .85em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--pill);
  background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--fg); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 44px; padding: .55em 1.15em; font-size: .9rem; }

.btn-dark { --bg: var(--ink); --fg: var(--white); }
.btn-dark:hover { --bg: #000; }
.btn-dark .icon { color: var(--gold-light); }

.btn-gold {
  --fg: var(--ink);
  background: linear-gradient(135deg, #E3C574 0%, #C9A24A 55%, #B48E3A 100%);
}
.btn-gold:hover { filter: brightness(1.04); }

.btn-outline {
  --bg: transparent; --fg: var(--ink);
  border-color: rgba(28, 28, 30, .8);
  box-shadow: none;
}
.btn-outline:hover { --bg: var(--ink); --fg: var(--white); }

.btn-ghost-light {
  --bg: transparent; --fg: var(--white);
  border-color: rgba(255, 255, 255, .45);
  box-shadow: none;
}
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, .1); border-color: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(243, 238, 232, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -14px rgba(58, 47, 28, .25);
  background: rgba(247, 243, 238, .92);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; letter-spacing: .2em; font-size: 1.02rem; text-transform: uppercase; }
.brand-sub  { font-weight: 600; letter-spacing: .3em; font-size: .62rem; text-transform: uppercase; color: var(--gold-dark); margin-top: .35em; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.nav-toggle-bar {
  width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.site-nav {
  position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 4px);
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav ul { list-style: none; margin: 0 0 .8rem; padding: 0; }
.site-nav li a {
  display: block; padding: .85rem 1rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-weight: 600;
}
.site-nav li a:hover { background: var(--cream); }
.nav-cta { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 2.5rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: auto -20% -30% auto;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 162, 74, .16), transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; gap: 2.5rem; align-items: center; position: relative; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-badges {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem .6rem;
}
.hero-badges li {
  display: inline-flex; align-items: center; gap: .45em;
  padding: .45em .9em; border-radius: var(--pill);
  background: rgba(255, 255, 255, .7); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--charcoal);
}
.hero-badges .icon { color: var(--gold-dark); width: 1em; height: 1em; }

.hero-visual { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.logo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(120% 90% at 38% 22%, #FBF9F6 0%, #F2EDE7 55%, #E9E2D9 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .7);
  aspect-ratio: 1;
}
.logo-card { display: grid; place-items: center; padding: 9% 12%; }
.logo-card img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5em;
  padding: .6em 1em; border-radius: var(--pill);
  background: var(--white); box-shadow: var(--shadow);
  font-size: .8rem; font-weight: 700; color: var(--charcoal); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-chip .icon { color: var(--gold); }
.chip-1 { top: -16px; left: 8%; }
.chip-2 { bottom: -16px; right: 8%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-soft { background: linear-gradient(180deg, var(--paper), var(--cream-2)); }
.section-head { max-width: 720px; margin: 0 auto 2.6rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.section-intro { color: var(--muted); font-size: 1.04rem; margin: 0; text-wrap: pretty; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
.card {
  position: relative;
  padding: 1.8rem 1.6rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .45); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card-icon {
  width: 76px; height: 76px; border-radius: 24px;
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  color: var(--gold-dark);
  background: linear-gradient(145deg, #FFFFFF, #F1EADF);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .35), 0 8px 18px -10px rgba(138, 106, 31, .45);
}
.card-icon svg { width: 44px; height: 44px; }
.card-tag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  padding: .3em .8em; border-radius: var(--pill);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--gold-light);
}
.card-featured {
  background: linear-gradient(160deg, #FFFFFF 0%, #FBF5E8 100%);
  border-color: rgba(201, 162, 74, .5);
}
.card-link {
  display: inline-flex; gap: .4em; align-items: center;
  min-height: 44px; margin-top: .6rem; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.card-link:hover { color: var(--gold-dark); }

/* ---------- Dark section (Business & Events) ---------- */
.section-dark {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% 0%, #3A3631 0%, transparent 60%), var(--charcoal);
  color: #EDE8E1;
}
.section-dark::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  left: -200px; bottom: -260px;
  border: 2px solid rgba(201, 162, 74, .25);
  box-shadow: 0 0 0 40px rgba(201, 162, 74, .04);
  pointer-events: none;
}
.section-dark h2 { color: var(--white); }
.section-dark p { color: #D6D0C7; }
.section-dark strong { color: var(--white); }
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 1rem; }
.checklist li { display: flex; gap: .85rem; align-items: flex-start; color: #D6D0C7; }
.checklist .icon {
  width: 30px; height: 30px; padding: 6px; border-radius: 50%;
  background: rgba(201, 162, 74, .16); color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .4);
}
/* ---------- How it works ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.1rem; grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.8rem 1.6rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-num {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201, 162, 74, .7);
}
.step-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--ink); color: var(--gold-light);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px rgba(201, 162, 74, .45);
}
.step-icon svg { width: 26px; height: 26px; }

/* ---------- Keychain designer ---------- */
.pers-inner { display: grid; gap: 2rem; align-items: center; }
.pers-head > p { color: var(--muted); margin: 0; }
.pers-form { display: grid; gap: 1.4rem; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  display: block; font-weight: 700; font-size: .92rem; margin-bottom: .55rem; padding: 0;
}
.legend-sub { font-weight: 500; color: var(--muted); }
.field input[type="text"] {
  width: 100%; min-height: 54px;
  padding: .8em 1.1em;
  font: inherit; font-size: 1.05rem; font-weight: 600;
  color: var(--ink); background: var(--white);
  border: 1.5px solid rgba(28, 28, 30, .18); border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
  transition: border-color .2s, box-shadow .2s;
}
.field input[type="text"]::placeholder { color: #8C867E; font-weight: 500; }
.field input[type="text"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, .25); }
.hint { display: block; margin-top: .45rem; font-size: .8rem; color: var(--muted); }

.swatches { display: grid; grid-template-columns: repeat(5, 44px); gap: .6rem; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch label {
  display: block; width: 44px; height: 44px; margin: 0;
  border-radius: 50%; cursor: pointer;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 -6px 10px rgba(0, 0, 0, .12), inset 0 4px 8px rgba(255, 255, 255, .25);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.swatch label:hover { transform: scale(1.08); }
.swatch input:checked + label {
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold), inset 0 0 0 1px rgba(0, 0, 0, .15);
}
.swatch label.swatch-same {
  background: linear-gradient(135deg, #fff 0 46%, var(--muted) 46% 54%, #fff 54% 100%);
  box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .25);
}
.swatch input:focus-visible + label {
  outline: 3px solid var(--ink); outline-offset: 5px;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 44px; margin: 0; padding: .45em 1em;
  border: 1.5px solid rgba(28, 28, 30, .16); border-radius: var(--pill);
  background: var(--white); color: var(--ink);
  font-size: .88rem; font-weight: 600; line-height: 1.1; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.chip label:hover { border-color: var(--gold); }
.chip label svg { width: 22px; height: 22px; flex: none; color: var(--gold-dark); }
.chip-shape label svg { width: 34px; height: 22px; }
.chip-font label { font-size: 1rem; }
.chip-font:nth-child(4) label { font-size: 1.2rem; letter-spacing: .04em; }
.pers-tips {
  margin-top: 1.4rem; padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: var(--radius);
}
.pers-tips h3 { font-size: .95rem; margin-bottom: .6rem; }
.pers-tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.pers-tips li { position: relative; padding-left: 1.2rem; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.pers-tips li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pers-tips strong { color: var(--ink); }
.chip input:checked + label {
  background: var(--ink); border-color: var(--ink); color: var(--white);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5);
}
.chip input:checked + label svg { color: var(--gold-light); }
.chip input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }
.pers-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pers-actions .btn { flex: 1 1 200px; }
.msg-preview {
  margin: 0; padding: .9rem 1.1rem;
  background: rgba(255, 255, 255, .7); border: 1px dashed rgba(201, 162, 74, .7);
  border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--charcoal);
}
.msg-label { font-weight: 700; color: var(--gold-dark); }

.pers-preview { position: sticky; top: calc(var(--header-h) + 4px); z-index: 5; align-self: start; }
.preview-stage {
  position: relative;
  aspect-ratio: 8 / 5;
  display: grid; place-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 40%, #FFFFFF 0%, #F4EEE6 60%, #E9E0D3 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .8);
  overflow: hidden;
}
.preview-stage::before {
  content: ""; position: absolute; inset: 14px;
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(201, 162, 74, .3);
  pointer-events: none;
}
#kc-svg { width: 100%; height: auto; overflow: visible; }
#kc-swing { animation: swing 5s ease-in-out infinite; animation-play-state: paused; }
.preview-stage.is-live #kc-swing { animation-play-state: running; }
@keyframes swing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
#kc-bump { transform-origin: 220px 137px; }
#kc-bump.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.04); } 100% { transform: scale(1); } }
.preview-badge {
  position: absolute; right: 18px; bottom: 16px;
  padding: .3em .8em; border-radius: var(--pill);
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(201, 162, 74, .45);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: var(--charcoal);
}
.preview-note { margin: 1rem 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: rgba(201, 162, 74, .55); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700; font-size: 1rem;
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--gold-dark), var(--gold-dark)) center / 12px 2px no-repeat,
    linear-gradient(var(--gold-dark), var(--gold-dark)) center / 2px 12px no-repeat,
    var(--cream);
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq-body p { margin: 0; }

/* ---------- CTA final ---------- */
.cta-final { padding: 0 0 4.5rem; }
.cta-box {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(800px 300px at 50% 0%, #3A3631, transparent 70%), var(--ink);
  color: #E9E3DA;
  box-shadow: var(--shadow-lg);
}
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid rgba(201, 162, 74, .22); pointer-events: none;
}
.cta-box::before { width: 320px; height: 320px; left: -140px; top: -140px; }
.cta-box::after { width: 260px; height: 260px; right: -110px; bottom: -130px; }
.cta-box h2 { color: var(--white); }
.cta-box p { max-width: 32em; margin: 0 auto 1.8rem; color: #D6D0C7; }
.cta-mark { width: 76px; height: 76px; margin: 0 auto 1.3rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
}
.footer-inner { display: grid; gap: 1.8rem; justify-items: center; text-align: center; }
.footer-brand img { width: 150px; height: auto; }
.footer-tagline { color: var(--muted); margin-bottom: .8rem; }
.footer-tagline em { color: var(--gold-dark); font-style: normal; font-weight: 600; letter-spacing: .08em; }
.footer-ig {
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 48px; padding: .6em 1.3em; border-radius: var(--pill);
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 700;
  transition: transform .25s var(--ease);
}
.footer-ig .icon { color: var(--gold-light); }
.footer-ig:hover { color: var(--white); transform: translateY(-2px); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.2rem; }
.footer-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 0 .1em; }
.footer-nav a:hover { color: var(--gold-dark); }
.footer-bottom {
  position: relative;
  margin-top: 2.2rem; padding-top: 1.4rem;
  display: flex; flex-direction: column; gap: .3rem; align-items: center; text-align: center;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--line);
}
.footer-bottom p { margin: 0; }
.footer-note { font-size: .74rem; opacity: .9; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 32px);
  padding: .9em 1.3em;
  background: var(--ink); color: var(--white);
  border-radius: var(--pill);
  box-shadow: var(--shadow-lg);
  font-size: .92rem; font-weight: 600; text-align: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.toast::before { content: "✓"; color: var(--gold-light); margin-right: .55em; font-weight: 800; }
.toast.is-warn::before { content: "!"; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow);
  border: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--gold-dark); }

/* ---------- Reveal on scroll ---------- */
/* (motion version lives in the "Premium effects" block at the end; without .fx content is simply visible) */


/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1rem; }
.filter-btn {
  min-height: 44px; padding: .5em 1.1em;
  font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink);
  background: var(--white); border: 1.5px solid rgba(28, 28, 30, .14); border-radius: var(--pill);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gallery-count { text-align: center; font-size: .82rem; color: var(--muted); margin: 0 0 1.6rem; }
.gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.gallery-item[hidden] { display: none; }
.gallery-item figure {
  margin: 0; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-media { aspect-ratio: 1; position: relative; overflow: hidden; }
.gallery-media img { width: 100%; height: 100%; object-fit: cover; }
.gallery-ph {
  width: 100%; height: 100%; display: grid; place-items: center; position: relative;
  color: var(--gold-dark);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .9), transparent 60%),
    linear-gradient(145deg, #F7F2EA, #E9E0D3);
}
.gallery-ph::before {
  content: ""; position: absolute; inset: 10%; border-radius: 50%;
  border: 1.5px dashed rgba(201, 162, 74, .45);
}
.gallery-ph svg { width: 42%; height: 42%; position: relative; }
.ph-empresas, .ph-colecionaveis { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), transparent 60%), linear-gradient(145deg, #34312D, #222120); color: var(--gold-light); }
.ph-datas { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), transparent 60%), linear-gradient(145deg, #F8EEE8, #EBD9CF); }
.ph-decoracao { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), transparent 60%), linear-gradient(145deg, #F1F0E8, #DFE0D2); }
.ph-badge {
  position: absolute; left: 10px; top: 10px;
  padding: .25em .7em; border-radius: var(--pill);
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .85); color: var(--muted);
}
.gallery-item figcaption { padding: .85rem 1rem 1rem; display: grid; gap: .2rem; }
.gallery-item figcaption strong { font-size: .95rem; line-height: 1.3; }
.gallery-item figcaption > span:not(.gallery-cat) { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.gallery-cat { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.gallery-credit { margin: .35rem 0 0; font-size: .74rem; color: var(--muted); }
.gallery-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 1.6rem 0 0; }

/* ---------- Business & Events ---------- */
.biz-inner { display: grid; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.biz-how {
  margin: 0 0 1.8rem; padding: 1.2rem 1.4rem;
  border: 1px solid rgba(201, 162, 74, .35); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}
.biz-how h3 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; }
.biz-how ol { margin: 0; padding-left: 1.2rem; color: #D6D0C7; display: grid; gap: .3rem; font-size: .94rem; }
.biz-how li::marker { color: var(--gold-light); font-weight: 700; }
.biz-visual { max-width: 460px; width: 100%; margin: 0 auto; }
.biz-illus { width: 100%; height: auto; overflow: visible; }

/* ---------- Holidays & Celebrations ---------- */
.dates-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; }
.date-card {
  display: grid; grid-template-columns: 54px 1fr; gap: 1rem; align-items: start;
  padding: 1.3rem 1.3rem 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.date-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 162, 74, .45); }
.date-icon {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  color: var(--gold-dark);
  background: linear-gradient(145deg, #FFFFFF, #F1EADF);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, .35);
}
.date-icon svg { width: 32px; height: 32px; }
.date-when { margin: 0 0 .2rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.date-card h3 { font-size: 1.02rem; margin-bottom: .35em; }
.date-card p:last-child { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---------- Home Decor, Signs, Decor Kits, Cosplay ---------- */
.deco-inner { display: grid; gap: 2.4rem; align-items: center; }
.deco-copy > p { color: var(--muted); }
.deco-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.deco-actions .btn { flex: 1 1 220px; }
.cards.cards-2 { grid-template-columns: 1fr; }
.cards.cards-4 { grid-template-columns: 1fr; }
.feature-row { display: grid; gap: 1rem; margin-top: 2.4rem; }
.feature-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(160deg, #FFFFFF 0%, #FBF5E8 100%);
  border: 1px solid rgba(201, 162, 74, .45); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.feature-card .card-icon { margin: 0; }
.feature-card h3 { margin-bottom: .4em; }
.feature-card p:not(.date-when) { color: var(--muted); margin: 0; font-size: .95rem; }
.safety-note {
  display: flex; gap: .8rem; align-items: flex-start;
  max-width: 820px; margin: 2rem auto 0; padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, .75); border: 1px dashed rgba(201, 162, 74, .7); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--charcoal);
}
.safety-note .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--gold-light); margin-top: .1em; }

@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .dates-grid { grid-template-columns: repeat(2, 1fr); }
  .date-card { grid-template-columns: 1fr; }
  .cards.cards-2, .cards.cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .date-card { padding: 1.6rem 1.5rem; }
  .cards.cards-2 .card, .cards.cards-4 .card { padding: 1.8rem 1.6rem; }
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (max-width: 599px) {
  .card, .step {
    display: grid; grid-template-columns: 56px 1fr; column-gap: 1.1rem; align-items: start;
    padding: 1.4rem 1.3rem;
  }
  .card > *, .step > * { grid-column: 2; }
  .card-icon, .step-icon { grid-column: 1; grid-row: 1 / span 4; margin: 0; }
  .card-icon { width: 56px; height: 56px; border-radius: 18px; }
  .card-icon svg { width: 34px; height: 34px; }
  .step-icon { width: 48px; height: 48px; margin: 4px 0 0 4px; }
  .step-icon svg { width: 22px; height: 22px; }
  .card h3, .step h3 { margin-bottom: .35em; padding-right: 2.6rem; }
  .card-tag { position: static; justify-self: start; margin-bottom: .6rem; }
  .card-featured h3 { padding-right: 0; }
  .step h3 { padding-right: 3.2rem; }
  .step-num { font-size: 1.8rem; top: 1.1rem; right: 1.1rem; }
  .card-link { justify-self: start; }
  .cards, .steps { gap: .9rem; }
}

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn, .pers-actions .btn, .deco-actions .btn { flex: 0 0 auto; }
}

@media (min-width: 960px) {
  :root { --header-h: 84px; --gutter: 32px; }


  .hero { padding: 4.5rem 0 6rem; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .hero-visual { max-width: 500px; }

  .section { padding: 6.5rem 0; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .card { padding: 2.2rem 2rem 2rem; }

  .biz-inner { grid-template-columns: 1.05fr .95fr; gap: 4.5rem; }
  .dates-grid { grid-template-columns: repeat(3, 1fr); }
  .cards.cards-4 { grid-template-columns: repeat(4, 1fr); }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .deco-inner { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .steps .step::after {
    content: ""; position: absolute; top: 56px; right: -1.4rem; width: 1.4rem; height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 8px);
  }
  .steps .step:last-child::after { display: none; }

  .pers-inner { grid-template-columns: 1fr 1fr; gap: 1.8rem 4rem; align-items: start; }
  .pers-head { grid-column: 1; grid-row: 1; }
  .pers-form { grid-column: 1; grid-row: 2; }
  .pers-preview { grid-column: 2; grid-row: 1 / span 2; align-self: start; top: calc(var(--header-h) + 24px); }
  .pers-inner { align-items: start; }
  .cta-final { padding-bottom: 6.5rem; }
  .cta-box { padding: 4.5rem 2rem; }

  .footer-inner { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; align-items: center; gap: 2.4rem; }
  .footer-nav { justify-content: flex-end; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 959px) {
  .pers-preview .preview-note, .pers-preview .pers-tips { display: none; }
  .preview-stage { padding: .6rem; border-radius: var(--radius); }
  .preview-stage::before { inset: 8px; border-radius: calc(var(--radius) - 6px); }
}

@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 1.1rem;
    padding: 0; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .site-nav ul { display: flex; gap: .2rem; margin: 0; }
  .site-nav li a {
    position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .7rem; font-size: .88rem; border-radius: var(--pill);
  }
  .site-nav li a::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .4rem;
    height: 2px; border-radius: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-nav li a:hover { background: transparent; }
  .site-nav li a:hover::after, .site-nav li a.is-active::after { transform: scaleX(1); }
  .nav-cta { width: auto; }
}



/* =========================================================
   Premium effects (all disabled by prefers-reduced-motion)
   .fx is set on <html> by an inline script only when motion is allowed.
   ========================================================= */

/* ---- Scroll reveal: fade + slide (uses `translate` so hover/tilt transforms stay free) ---- */
.fx .reveal {
  opacity: 0; translate: 0 28px;
  transition: opacity .8s var(--ease), translate .9s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background-color .25s;
}
.fx .reveal.is-in { opacity: 1; translate: none; }

/* ---- Section headings: gold lines draw in on reveal ---- */
.section-head h2::after {
  content: ""; display: block; width: 64px; height: 3px; margin: .55em auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
}
.fx .reveal .eyebrow::before, .fx .reveal .eyebrow::after, .fx .section-head h2::after {
  transform: scaleX(0); transition: transform .9s var(--ease) .25s;
}
.fx .reveal .eyebrow::before { transform-origin: right; }
.fx .reveal .eyebrow::after { transform-origin: left; }
.fx .section-head h2::after { transition-delay: .45s; transition-duration: 1.1s; }
.fx .reveal.is-in .eyebrow::before, .fx .reveal.is-in .eyebrow::after, .fx .section-head.is-in h2::after { transform: none; }

/* ---- Step numbers: gold fills in like a layer being printed ---- */
.fx .step .step-num {
  background: linear-gradient(0deg, rgba(201, 162, 74, .55), rgba(230, 203, 134, .55)) bottom / 100% 0% no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.1s var(--ease) .35s;
}
.fx .step.is-in .step-num { background-size: 100% 100%; }

/* ---- Header: frosted + condensed on scroll (height loss is given back as margin → no layout shift) ---- */
.site-header { transition: border-color .3s, box-shadow .3s, background-color .3s, height .35s var(--ease), margin .35s var(--ease); }
.brand-mark { transition: transform .35s var(--ease); }
.site-header.is-scrolled {
  height: calc(var(--header-h) - 12px); margin-bottom: 12px;
  background: rgba(250, 247, 243, .72);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
}
.site-header.is-scrolled .brand-mark { transform: scale(.86); }
.site-header.is-scrolled .site-nav { top: calc(var(--header-h) - 8px); }

/* ---- Nav links: animated gold underline (desktop) ---- */
@media (min-width: 1180px) {
  .site-nav li a::after {
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
    transform-origin: right; transition: transform .4s var(--ease);
  }
  .site-nav li a:hover::after, .site-nav li a:focus-visible::after, .site-nav li a.is-active::after { transform-origin: left; }
}

/* ---- Buttons: gold shimmer sweep on hover ---- */
.btn-gold, .btn-dark { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after, .btn-dark::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 244, 214, .75) 48%, rgba(255, 255, 255, .95) 50%, rgba(255, 244, 214, .75) 52%, transparent 70%);
  transform: translateX(-130%); transition: transform 0s;
}
.btn-gold { background: none; }
.btn-gold::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit;
  background: linear-gradient(135deg, #E3C574 0%, #C9A24A 55%, #B48E3A 100%);
}
.btn-dark::after { background: linear-gradient(105deg, transparent 32%, rgba(230, 203, 134, .35) 48%, rgba(230, 203, 134, .55) 50%, rgba(230, 203, 134, .35) 52%, transparent 68%); }
.btn-dark { background: var(--bg); }
.fx .btn-gold:hover::after, .fx .btn-dark:hover::after,
.fx .btn-gold:focus-visible::after, .fx .btn-dark:focus-visible::after { transform: translateX(130%); transition: transform .85s var(--ease); }

/* ---- Hero: intro, floating logo card, parallax, particles, layer-by-layer build ---- */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0; transition: opacity 1.2s ease;
}
.hero-canvas.is-on { opacity: 1; }
.hero > .container, .hero-inner { position: relative; z-index: 1; }
.fx .hero-copy > * { animation: rise .8s var(--ease) both; }
.fx .hero-copy > :nth-child(2) { animation-delay: .07s; }
.fx .hero-copy > :nth-child(3) { animation-delay: .14s; }
.fx .hero-copy > :nth-child(4) { animation-delay: .21s; }
.fx .hero-copy > :nth-child(5) { animation-delay: .28s; }
.fx .hero-visual { animation: rise 1s var(--ease) .1s both; }
@keyframes rise { from { opacity: .01; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-visual { translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -8px); }
.hero-visual .float-chip { translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 12px); }
.logo-card { position: relative; }
.fx .logo-card { animation: card-float 7s ease-in-out 1.2s infinite; }
@keyframes card-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(-.4deg); } }
.logo-card img { position: relative; z-index: 1; }
.logo-glow {
  position: absolute; inset: 12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(230, 203, 134, .42), rgba(230, 203, 134, 0));
  opacity: .6;
}
.fx .logo-glow { animation: glow 6s ease-in-out infinite alternate; }
@keyframes glow { from { opacity: .35; transform: scale(.92); } to { opacity: .8; transform: scale(1.06); } }
.print-line { display: none; }
.fx-build .logo-build { animation: build 1.2s steps(22, end) .15s both; }
/* the "nozzle" line: a box covering the logo area whose bottom edge carries the line;
   moving the box up with transform (not top) keeps it off the layout-shift radar */
.fx-build .print-line {
  display: block; position: absolute; left: 10%; right: 10%; top: 9%; bottom: 9%; z-index: 2; pointer-events: none;
  animation: nozzle 1.2s steps(22, end) .15s both, fade-out .4s ease 1.35s both;
}
.print-line::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 15%, #fff6dc 50%, var(--gold-light) 85%, transparent);
  box-shadow: 0 0 12px 2px rgba(230, 203, 134, .8);
}
@keyframes build { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nozzle { from { transform: translateY(0); } to { transform: translateY(-100%); } }
@keyframes fade-out { to { opacity: 0; } }

/* ---- Cards: 3D tilt + glare (desktop, fine pointer only; class added by js/effects.js) ---- */
.gallery-item figure, .date-card, .feature-card { position: relative; }
.glare {
  position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .38), rgba(255, 246, 220, .12) 35%, transparent 60%);
  opacity: 0; transition: opacity .35s ease;
  grid-column: auto; grid-row: auto;
}
.card > .glare, .step > .glare { grid-column: auto; grid-row: auto; }
.is-tilting > .glare { opacity: 1; }
.gallery-item figure.is-tilting, .card.is-tilting, .date-card.is-tilting, .feature-card.is-tilting {
  transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-5px);
  transition: opacity .8s var(--ease), translate .9s var(--ease), transform .12s linear, box-shadow .35s var(--ease), border-color .35s;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
.feature-card { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }

/* ---- Gallery: count micro-animation (the real text stays for screen readers) ---- */
.gallery-count { position: relative; }
.gallery-count[data-anim] { color: transparent; }
.gallery-count[data-anim]::after { content: attr(data-anim); position: absolute; inset: 0; color: var(--muted); }
.filter-btn { transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.fx .filter-btn:hover { transform: translateY(-1px); }
.filter-btn[aria-pressed="true"] { box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .55), inset 0 -2px 0 var(--gold); }

/* ---- Designer: smooth option states ---- */
.chip label { transition: border-color .25s, background-color .25s, color .25s, box-shadow .25s, transform .2s var(--ease); }
.swatch input:checked + label { transition: box-shadow .3s var(--ease), transform .2s var(--ease); }
.preview-stage { transition: box-shadow .4s var(--ease); }

/* ---- Back to top with scroll progress ring ---- */
.to-top { overflow: visible; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.to-top-ring circle { fill: none; stroke-width: 3; }
.ring-track { stroke: rgba(201, 162, 74, .2); }
.ring-progress { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .15s linear; }
.to-top .icon { position: relative; }
.fx .to-top:hover { transform: translateY(-3px); }

/* ---- Focus states (keyboard) ---- */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}
.btn:focus-visible, .filter-btn:focus-visible, .nav-toggle:focus-visible, .to-top:focus-visible, .footer-ig:focus-visible { border-radius: var(--pill); }
.section-dark a:focus-visible, .cta-box a:focus-visible { outline-color: var(--gold-light); }

/* ---- Reduced motion: switch everything off ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; translate: none !important; }
  .hero-canvas { display: none; }
  .hero-visual, .hero-visual .float-chip { translate: none; }
}

/* ---------- Images (product renders & photos) ---------- */
.biz-photo { margin: 0 auto; max-width: 440px; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); border: 1px solid rgba(230, 203, 134, .35); }
.biz-photo img { display: block; width: 100%; height: auto; }
.section-banner { margin: 0 0 2.4rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid rgba(201, 162, 74, .3); background: var(--charcoal); }
.section-banner img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.section-banner-photo img { aspect-ratio: 21 / 8; object-position: center 45%; }
.feature-thumb { width: 112px; height: 112px; border-radius: var(--radius-sm); object-fit: cover; flex: none;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(201, 162, 74, .35); }
@media (max-width: 600px) {
  .section-banner img { aspect-ratio: 16 / 10; }
  .section-banner-photo img { aspect-ratio: 16 / 10; }
  .feature-thumb { width: 88px; height: 88px; }
}
.occasion-strip { list-style: none; padding: 0; margin: 0 0 2.4rem; display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.occasion-strip figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 162, 74, .3); aspect-ratio: 1; }
.occasion-strip img { display: block; width: 100%; height: 100%; object-fit: cover; }
.occasion-strip figcaption { position: absolute; left: .8rem; bottom: .8rem; padding: .35em .9em; border-radius: var(--pill);
  background: rgba(28, 28, 30, .78); color: var(--gold-light); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) { .occasion-strip { grid-template-columns: repeat(2, 1fr); gap: .7rem; } }
/* =========================================================
   Order form + modal (js/order-form.js)
   Shared by the homepage <dialog> and /order.html
   ========================================================= */
.oform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.oform-field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; font-size: .9rem; font-weight: 600; }
.oform-field.oform-half { grid-column: span 1; }
.oform-field input, .oform-field select, .oform-field textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.oform-field textarea { resize: vertical; min-height: 76px; }
.oform-field input:focus, .oform-field select:focus, .oform-field textarea:focus {
  outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--gold);
}
.oform-summary { margin-top: 18px; border: 1.5px dashed var(--gold); border-radius: var(--radius-sm);
  padding: 16px 18px; background: var(--paper); }
.oform-summary h3 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 8px; }
.oform-summary pre { white-space: pre-wrap; font-family: inherit; font-size: .95rem; margin: 0; }
.oform-empty { color: var(--muted); font-style: italic; }
.oform-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.oform-copied { min-height: 1.6em; font-size: .9rem; font-weight: 600; color: var(--gold-dark); margin: 10px 0 0; }
.oform-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 560px) {
  .oform-grid { grid-template-columns: 1fr; }
  .oform-field.oform-half { grid-column: 1 / -1; }
  .oform-actions { grid-template-columns: 1fr; }
}

/* ---------- Order modal ---------- */
.order-dialog { border: none; padding: 0; width: min(680px, calc(100vw - 40px));
  border-radius: var(--radius-lg); background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-lg); }
.order-dialog::backdrop { background: rgba(28, 28, 30, .55); backdrop-filter: blur(6px); }
.order-dialog-inner { padding: clamp(20px, 4vw, 36px);
  max-height: min(86vh, 900px); max-height: min(86dvh, 900px); overflow-y: auto; }
.order-dialog-head { display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 4px; }
.order-dialog-head h2 { margin: 0; font-size: 1.5rem; }
.order-dialog-head p { color: var(--muted); margin: .4rem 0 1.1rem; font-size: .95rem; }
.dialog-close { flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); font-size: 1.35rem; line-height: 1;
  cursor: pointer; color: var(--ink); }
.dialog-close:hover { border-color: var(--gold); color: var(--gold-dark); }
@media (prefers-reduced-motion: no-preference) {
  .order-dialog[open] { animation: dialog-in .28s var(--ease); }
  .order-dialog[open]::backdrop { animation: backdrop-in .28s ease; }
}
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes backdrop-in { from { opacity: 0; } }

/* ---------- Standalone /order.html ---------- */
.order-page { padding: calc(var(--header-h) + 28px) 0 64px; }
.order-page .lead { color: var(--muted); max-width: 60ch; }
.order-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 30px; }
.order-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); }
.order-step .step-n { display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--white);
  font-weight: 800; font-size: .9rem; margin-bottom: 10px; }
.order-step h3 { margin: 0 0 6px; font-size: 1rem; }
.order-step p { margin: 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .order-steps { grid-template-columns: 1fr; } }

.oform-full { grid-column: 1 / -1; }
.oform-actions-3 { grid-template-columns: repeat(3, 1fr); }
.oform-copy-link { display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer;
  color: var(--muted); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.oform-copy-link:hover { color: var(--gold-dark); }

.pricing { max-width: 960px; margin: 34px auto 44px; text-align: center; }
.pricing h2 { font-size: 1.5rem; margin: 0 0 8px; }
.pricing .section-sub { color: var(--muted); max-width: 60ch; margin: 0 auto 20px; }
.price-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 18px; text-align: left; }
.price-list li strong { font-weight: 600; }
.price-list li span { color: var(--gold-dark); font-weight: 700; white-space: nowrap; }
.pricing-note { color: var(--muted); font-size: .9rem; max-width: 60ch; margin: 0 auto; }
/* Homepage only: the pricing block sits inside a padded .section, so its own
   vertical margins stack on top of the section padding and open an oversized
   gap (e.g. after the testimonials). The order page keeps the margins —
   there the block is a standalone section and needs the breathing room. */
#pricing .pricing { margin: 0 auto; }

/* =========================================================
   Visual polish pass — 2026-10-15 (proposal items 1, 2, 3, 5)
   All motion is gated behind html.fx, which the inline head
   script only adds when the visitor allows motion — the same
   pattern the rest of this file uses. Static, motion-free
   fallbacks apply without .fx (reduced motion / no JS).
   ========================================================= */
:root { --ease-soft: cubic-bezier(.16, 1, .3, 1); }

/* ---------- 5. Softer easing on section reveals ---------- */
.fx .reveal {
  transition: opacity .9s var(--ease-soft), translate 1s var(--ease-soft), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background-color .25s;
}

/* ---------- 1. Hero: looping layer-by-layer print (abstract gold layers) ----------
   Decorative only: thin gold strata rise inside the logo card in a soft loop,
   echoing a 3D print being built. Pure CSS/SVG-free, no model imagery. */
.hero-print { display: none; }
.fx .hero-print {
  display: flex; flex-direction: column-reverse; gap: 4px;
  position: absolute; left: 13%; right: 13%; bottom: 6%; height: 30%;
  pointer-events: none;
}
.fx .hero-print i {
  display: block; flex: none; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 22%, var(--gold) 50%, var(--gold-light) 78%, transparent);
  opacity: 0;
  animation: print-layer 4.2s ease-in-out infinite;
}
.fx .hero-print i:nth-child(1)  { animation-delay: 0s; }
.fx .hero-print i:nth-child(2)  { animation-delay: .18s; }
.fx .hero-print i:nth-child(3)  { animation-delay: .36s; }
.fx .hero-print i:nth-child(4)  { animation-delay: .54s; }
.fx .hero-print i:nth-child(5)  { animation-delay: .72s; }
.fx .hero-print i:nth-child(6)  { animation-delay: .9s; }
.fx .hero-print i:nth-child(7)  { animation-delay: 1.08s; }
.fx .hero-print i:nth-child(8)  { animation-delay: 1.26s; }
.fx .hero-print i:nth-child(9)  { animation-delay: 1.44s; }
.fx .hero-print i:nth-child(10) { animation-delay: 1.62s; }
@keyframes print-layer {
  0%   { opacity: 0; transform: translateY(12px) scaleX(.5); }
  16%  { opacity: .9; transform: translateY(0) scaleX(1); }
  70%  { opacity: .9; transform: translateY(0) scaleX(1); }
  100% { opacity: 0; transform: translateY(-8px) scaleX(.8); }
}

/* ---------- 2. Gold shimmer placeholders while photos load ----------
   Warm static placeholder always; the animated sheen runs only under .fx
   and stops per-image once JS marks it .is-loaded (see js/gallery.js). */
.gallery-media, .occasion-strip figure { background-color: #F3ECDC; }
.biz-photo, .section-banner { position: relative; background-color: #E9E2D6; }
.feature-thumb { background-color: #F3ECDC; }
.fx .gallery-media::after, .fx .occasion-strip figure::after,
.fx .biz-photo::after, .fx .section-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 15%, rgba(255, 250, 238, .8) 38%, rgba(230, 203, 134, .55) 50%, rgba(255, 250, 238, .8) 62%, transparent 85%);
  background-size: 220% 100%;
  animation: img-shimmer 1.7s linear infinite;
}
.fx .gallery-media:has(img.is-loaded)::after, .fx .occasion-strip figure:has(img.is-loaded)::after,
.fx .biz-photo:has(img.is-loaded)::after, .fx .section-banner:has(img.is-loaded)::after,
.fx .gallery-media:has(.gallery-ph)::after { display: none; }
@keyframes img-shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }

/* ---------- 3. Touch microinteractions: press state + subtle ripple ---------- */
* { -webkit-tap-highlight-color: rgba(201, 162, 74, .28); }
.btn { touch-action: manipulation; }
.fx .btn:active { transform: scale(.97); filter: brightness(.97); }
.fx .card:active, .fx .date-card:active, .fx .feature-card:active, .fx .step:active { transform: translateY(-3px) scale(.985); }
.fx .gallery-item figure:active { transform: translateY(-2px) scale(.985); }
.fx .filter-btn:active, .fx .footer-ig:active, .fx .nav-toggle:active { transform: scale(.96); }
.fx .chip label:active { transform: scale(.97); }
.fx .swatch label:active { transform: scale(.92); }
.fx .filter-btn, .fx .chip label, .fx .swatch label { position: relative; overflow: hidden; }
.fx .card::after, .fx .gallery-item figure::after, .fx .filter-btn::after,
.fx .chip label::after, .fx .swatch label::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 50% 55%, rgba(201, 162, 74, .38), rgba(201, 162, 74, 0) 66%);
  opacity: 0; transform: scale(.55);
}
.fx .card:active::after, .fx .gallery-item figure:active::after, .fx .filter-btn:active::after,
.fx .chip label:active::after, .fx .swatch label:active::after { animation: press-ripple .5s var(--ease-soft); }
@keyframes press-ripple { 0% { opacity: .75; transform: scale(.55); } 100% { opacity: 0; transform: scale(1.3); } }

/* ---------- 5. Order page: staggered entrances (backwards fill keeps :hover transforms working) ---------- */
.fx .price-list li, .fx .order-step, .fx .order-page .oform-actions > * { animation: rise .7s var(--ease-soft) backwards; }
.fx .price-list li:nth-child(1) { animation-delay: .04s; }
.fx .price-list li:nth-child(2) { animation-delay: .12s; }
.fx .price-list li:nth-child(3) { animation-delay: .2s; }
.fx .price-list li:nth-child(4) { animation-delay: .28s; }
.fx .price-list li:nth-child(5) { animation-delay: .36s; }
.fx .order-step:nth-child(1) { animation-delay: 0s; }
.fx .order-step:nth-child(2) { animation-delay: .1s; }
.fx .order-step:nth-child(3) { animation-delay: .2s; }
.fx .order-page .oform-actions > :nth-child(1) { animation-delay: .08s; }
.fx .order-page .oform-actions > :nth-child(2) { animation-delay: .16s; }
.fx .order-page .oform-actions > :nth-child(3) { animation-delay: .24s; }
.fx .order-page .oform-actions > :nth-child(4) { animation-delay: .32s; }

/* Homepage price cards: whole card links to the order page */
.price-list li:has(> a) { padding: 0; }
.price-list li > a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 12px 18px; color: inherit; text-decoration: none; border-radius: var(--radius); transition: box-shadow .25s var(--ease-soft), transform .25s var(--ease-soft); }
.price-list li > a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.price-list li > a strong { font-weight: 600; }
.price-list li > a span { color: var(--gold-dark); font-weight: 700; white-space: nowrap; }

/* ---------- Performance: smooth scrolling (no visual change) ----------
   1. Skip rendering off-screen content (gallery items, sections).
   2. On mobile, the sticky header drops its backdrop-blur: re-blurring on
      every scroll frame is the main cause of scroll jank on phones.
      A near-opaque solid background looks the same at this size. */
.gallery-item,
.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
@media (max-width: 768px) {
  .site-header,
  .site-header.is-scrolled {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(250, 247, 243, .97);
  }
}

/* ---------- Competitor-inspired additions (2026-10-15) ---------- */

/* Trust line under the hero CTAs — subtle, never competes with the buttons */
.hero-trust {
  margin: 16px 0 0;
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--muted);
  opacity: .9;
}
.hero-trust span { margin: 0 .5em; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.testimonial-card .stars {
  color: var(--gold-dark);
  font-size: 1.05rem;
  letter-spacing: .14em;
}
.testimonial-card blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}
.testimonial-card figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card figcaption span {
  font-size: .85rem;
  color: var(--muted);
}

/* Most ordered */
.mo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mo-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
}
.mo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.mo-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #F3ECDC;
}
.mo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mo-body {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 14px 16px;
}
.mo-price {
  color: var(--gold-dark);
  font-weight: 700;
  white-space: nowrap;
}

/* Commitment banner (order page) */
.commitment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(120deg, #FBF6EA, #F5EBD3);
  border: 1px solid #E4D5AC;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.55;
}
.commitment .icon {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold-dark);
}

/* Gift options (order form) */
.opt {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
  font-size: .85em;
}
.gift-check { display: flex; align-items: flex-start; }
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
.check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--gold-dark);
  flex: none;
  margin: 0;
}
.gift-options {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #FBF7EC;
  border: 1px dashed #DECFA4;
  border-radius: var(--radius-sm);
  padding: 12px 18px 16px;
}
.gift-options[hidden] { display: none; }

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .mo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mo-grid { gap: 12px; }
  .mo-body { padding: 10px 12px; font-size: .92rem; }
}

/* ---------- Competitor gaps round 2 (no visual breakage) ----------
   Pricing cards: craft line under each card. Colors: swatch row.
   Events & Corporate: centered CTA. */
.price-list li > a { flex-direction: column; align-items: stretch; gap: 4px; }
.pl-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; }
.pl-craft { font-size: .85em; color: var(--muted); }
.ec-cta { text-align: center; margin-top: 4px; }
.color-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 24px; list-style: none; margin: 6px 0 0; padding: 0; }
.color-row li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .9em; color: var(--muted); }
.color-dot { width: 46px; height: 46px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 2px 5px rgba(255,255,255,.28), 0 2px 6px rgba(0,0,0,.12); }

/* ---------- Our colors: finish groups ---------- */
.color-groups { display: flex; flex-direction: column; gap: 26px; margin-top: 8px; }
.color-group h3 { text-align: center; font-size: .78em; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
