/* ==========================================================================
   CakeryCrush Pages v2 — styles for the block-based pages + plugin chrome.
   Applies on the front end (body.cc-page) and inside the block editor canvas
   (.editor-styles-wrapper). All hooks are cc-* classes set on core blocks.
   ========================================================================== */

:root {
  --cc-plum: #551027;
  --cc-wine: #7A1738;
  --cc-rose: #A83D5C;
  --cc-pink: #D58A9E;
  --cc-blush: #F0BFCC;
  --cc-pale: #F0CBD5;
  --cc-petal: #F7DDE3;
  --cc-mist: #FCECEF;
  --cc-cream: #FFF9F5;
  --cc-paper: #FFFDFC;
  --cc-ink: #2D2023;
  --cc-muted: #75666A;
  --cc-line: rgba(122, 23, 56, .12);
  --cc-serif: 'Lora', Georgia, serif;
  --cc-italic: 'Cormorant Garamond', Georgia, serif;
  --cc-sans: 'DM Sans', 'Noto Sans Bengali', system-ui, sans-serif;
  --cc-ease: cubic-bezier(.2, .7, .3, 1);
  --cc-gutter: clamp(16px, 4vw, 28px);
}

/* --- Base (front end + editor canvas) ------------------------------------ */
html { scroll-behavior: smooth; }
body.cc-page, .editor-styles-wrapper {
  margin: 0;
  background: var(--cc-paper);
  color: var(--cc-ink);
  font-family: var(--cc-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.cc-page { overflow-x: hidden; }

/* Zero-specificity resets so component classes always win. */
:where(.cc-page, .editor-styles-wrapper) *, :where(.cc-page, .editor-styles-wrapper) *::before, :where(.cc-page, .editor-styles-wrapper) *::after { box-sizing: border-box; }
:where(.cc-page, .editor-styles-wrapper) :is(h1, h2, h3, p, ul, dl, dd, figure, blockquote) { margin: 0; }
:where(.cc-page, .editor-styles-wrapper) ul { padding: 0; list-style: none; }
:where(.cc-page, .editor-styles-wrapper) img { max-width: 100%; height: auto; display: block; }
:where(.cc-page, .editor-styles-wrapper) a { color: var(--cc-wine); text-decoration: none; }
:where(.cc-page, .editor-styles-wrapper) a:hover { color: var(--cc-rose); }
:where(.cc-page, .editor-styles-wrapper) h2 { font-family: var(--cc-serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
:where(.cc-page, .editor-styles-wrapper) h3 { font-family: var(--cc-serif); font-weight: 500; font-size: 20px; letter-spacing: -.01em; line-height: 1.3; }

/* WordPress adds block-gap margins between children of every group; our classes set their own. */
:is(.cc-page, .editor-styles-wrapper) :where(.is-layout-flow, .is-layout-constrained) > * { margin-block-start: 0; margin-block-end: 0; }
:is(.cc-page, .editor-styles-wrapper) :where(.wp-block-image, .wp-block-buttons, .wp-block-quote, .wp-block-list) { margin: 0; }

.cc-page ::selection { background: var(--cc-petal); color: var(--cc-plum); }
.cc-page :focus-visible { outline: 2px solid var(--cc-rose); outline-offset: 3px; border-radius: 2px; }
body.cc-page.admin-bar .cc-header { top: 32px; }
@media (max-width: 782px) { body.cc-page.admin-bar .cc-header { top: 46px; } }

.cc-visually-hidden, .cc-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cc-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 200; background: var(--cc-wine); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; }

/* --- Keyframes ----------------------------------------------------------- */
@keyframes cc-rise   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cc-float  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cc-glow   { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }
@keyframes cc-spin   { to { transform: rotate(360deg); } }
@keyframes cc-fall   { 0% { transform: translate3d(0, -10vh, 0); opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translate3d(0, 110vh, 0); opacity: 0; } }
@keyframes cc-sway   { from { transform: translateX(calc(var(--sway, 24px) * -1)); } to { transform: translateX(var(--sway, 24px)); } }
@keyframes cc-tumble { 0% { transform: rotate(-20deg) scale3d(1, 1, 1); } 25% { transform: rotate(70deg) scale3d(.75, 1, 1); } 50% { transform: rotate(160deg) scale3d(1, .8, 1); } 75% { transform: rotate(250deg) scale3d(.7, 1, 1); } 100% { transform: rotate(340deg) scale3d(1, 1, 1); } }
@keyframes cc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Layout primitives --------------------------------------------------- */
.cc-container { max-width: 1180px; margin-left: auto; margin-right: auto; }
.cc-container--wide { max-width: 1280px; }
.cc-section { padding: clamp(64px, 8vw, 112px) var(--cc-gutter); position: relative; }
.cc-section--paper { background: var(--cc-paper); }
.cc-section--cream { background: var(--cc-cream); }
.cc-section--mist  { background: var(--cc-mist); }
.cc-section--plum  { background: var(--cc-plum); color: var(--cc-cream); overflow: hidden; }
.cc-section--wine  { background: var(--cc-wine); color: var(--cc-cream); overflow: hidden; }
.cc-section--rule  { border-top: 1px solid rgba(122, 23, 56, .08); }
.cc-maxw-16 { max-width: 16ch; }
.cc-maxw-18 { max-width: 18ch; }
.cc-maxw-44 { max-width: 44ch; }
.cc-maxw-660 { max-width: 660px; }

/* --- Type helpers -------------------------------------------------------- */
.cc-kicker { margin: 0 0 14px; font-size: 11.5px; letter-spacing: .22em; color: var(--cc-rose); font-weight: 700; text-transform: uppercase; }
.cc-kicker-serif { margin: 0 0 20px; font-family: var(--cc-italic); font-style: italic; font-size: 21px; color: var(--cc-rose); letter-spacing: .02em; }
.cc-kicker-serif--light { font-size: 25px; color: var(--cc-pale); margin-bottom: 16px; }
.cc-hero__title em { font-style: normal; color: var(--cc-wine); display: inline-block; padding: 0 .06em; background: linear-gradient(to top, rgba(213, 138, 158, .4) 0 12px, rgba(213, 138, 158, 0) 12px); }
.cc-h2--em em { font-style: italic; font-family: var(--cc-italic); color: var(--cc-wine); }
.cc-heading { margin-bottom: 48px; }
.cc-heading--center { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.cc-heading--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.cc-heading--split .cc-actions { margin-top: 0; }
.cc-heading__sub { margin-top: 18px; font-size: 16px; line-height: 1.7; color: var(--cc-muted); text-wrap: pretty; }
.cc-heading__aside { max-width: 38ch; font-size: 15.5px; line-height: 1.7; color: var(--cc-muted); }
.cc-heading__serif { margin-top: 14px; font-family: var(--cc-italic); font-style: italic; font-size: 21px; color: var(--cc-muted); }
.cc-heading__serif a { border-bottom: 1px solid rgba(122, 23, 56, .3); }
.cc-placeholder { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; line-height: 1.9; color: var(--cc-wine); letter-spacing: .04em; text-align: center; padding: 28px; }

.cc-diamond { width: 9px; height: 9px; border: 1px solid var(--cc-rose); transform: rotate(45deg); display: inline-block; flex: none; }
.cc-diamond--solid { width: 6px; height: 6px; border: 0; background: var(--cc-rose); }

/* --- Buttons (plugin chrome .cc-btn AND core Button blocks) -------------- */
.cc-btn, .wp-block-button[class*="cc-btn--"] > .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--cc-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  padding: 17px 38px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.cc-btn.cc-btn--sm, .wp-block-button.cc-btn--sm > .wp-block-button__link { font-size: 12px; padding: 13px 22px; }
.cc-btn.cc-btn--lg, .wp-block-button.cc-btn--lg > .wp-block-button__link { padding: 18px 34px; }
.cc-btn.cc-btn--primary, .wp-block-button.cc-btn--primary > .wp-block-button__link { background: var(--cc-wine); color: var(--cc-cream); box-shadow: 0 14px 28px -18px rgba(85, 16, 39, .9); }
.cc-btn.cc-btn--primary:hover, .wp-block-button.cc-btn--primary > .wp-block-button__link:hover { background: var(--cc-plum); color: var(--cc-cream); transform: translateY(-3px); box-shadow: 0 22px 38px -18px rgba(85, 16, 39, .85); }
.cc-btn.cc-btn--outline, .wp-block-button.cc-btn--outline > .wp-block-button__link { border-color: rgba(122, 23, 56, .3); color: var(--cc-wine); background: transparent; }
.cc-btn.cc-btn--outline:hover, .wp-block-button.cc-btn--outline > .wp-block-button__link:hover { background: var(--cc-mist); border-color: var(--cc-wine); color: var(--cc-wine); transform: translateY(-3px); }
.wp-block-button.cc-btn--light > .wp-block-button__link { background: var(--cc-cream); color: var(--cc-wine); }
.wp-block-button.cc-btn--light > .wp-block-button__link:hover { background: #fff; color: var(--cc-plum); transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .5); }
.wp-block-button.cc-btn--petal > .wp-block-button__link { background: var(--cc-petal); color: var(--cc-plum); padding: 18px 40px; }
.wp-block-button.cc-btn--petal > .wp-block-button__link:hover { background: var(--cc-paper); color: var(--cc-plum); transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .55); }
.wp-block-button.cc-btn--primary.cc-btn--lg > .wp-block-button__link::after { content: ''; width: 9px; height: 9px; background: var(--cc-blush); border-radius: 62% 8% 62% 8%; transform: rotate(45deg); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cc-actions--center { justify-content: center; margin-top: 40px; }
.cc-textlink a { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--cc-wine); border-bottom: 1px solid rgba(122, 23, 56, .35); padding-bottom: 4px; text-transform: uppercase; transition: border-color .25s ease, color .25s ease; }
.cc-textlink a:hover { border-bottom-color: var(--cc-wine); color: var(--cc-plum); }
.cc-textlink--sm a { font-size: 11.5px; border-bottom-color: transparent; padding-bottom: 3px; }
.cc-textlink--sm a:hover { border-bottom-color: var(--cc-rose); }

/* --- Petals (plugin chrome) --------------------------------------------- */
.cc-petals { position: fixed; inset: 0; z-index: 70; pointer-events: none; overflow: hidden; contain: strict; }
.cc-petal { position: absolute; top: 0; will-change: transform; animation: cc-fall 24s linear infinite; }
.cc-petal__sway { display: block; will-change: transform; animation: cc-sway 8s ease-in-out infinite alternate; }
.cc-petal__leaf { display: block; will-change: transform; border-radius: 100% 4% 100% 4% / 100% 6% 100% 6%; box-shadow: inset -2px -3px 6px rgba(122, 23, 56, .12); animation: cc-tumble 12s ease-in-out infinite; }
.cc-petal__leaf--0 { background: radial-gradient(circle at 35% 30%, #FDE6EC, #EEB3C3 60%, #D98BA2); }
.cc-petal__leaf--1 { background: radial-gradient(circle at 35% 30%, #F9D6DF, #DE93A9 60%, #C4718B); }
.cc-petal__leaf--2 { background: radial-gradient(circle at 35% 30%, #FFF1F4, #F3C5D1 60%, #E3A2B5); }
.cc-petal__leaf--3 { background: radial-gradient(circle at 35% 30%, #F6C9D4, #D27C96 60%, #B8607A); }

/* --- Announcement + header (plugin chrome) ------------------------------ */
.cc-announce { background: var(--cc-mist); border-bottom: 1px solid rgba(122, 23, 56, .10); padding: 9px 20px; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.cc-announce p { font-size: 12.5px; letter-spacing: .06em; color: var(--cc-wine); font-weight: 500; }

.cc-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 253, 252, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(122, 23, 56, .09); }
.cc-nav { max-width: 1280px; margin: 0 auto; padding: 16px var(--cc-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cc-logo { font-family: var(--cc-serif); font-size: 24px; font-weight: 600; color: var(--cc-plum); letter-spacing: -.01em; }
.cc-logo span { color: var(--cc-rose); }
.cc-menu { display: flex; align-items: center; gap: 30px; }
.cc-menu li a { white-space: nowrap; font-size: 13.5px; letter-spacing: .04em; color: var(--cc-ink); font-weight: 500; padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .25s ease, color .25s ease; }
.cc-menu li a:hover, .cc-menu li.current-menu-item > a, .cc-menu li.current_page_item > a { border-bottom-color: var(--cc-rose); color: var(--cc-wine); }
.cc-menu li.current-menu-item > a, .cc-menu li.current_page_item > a { font-weight: 700; }
.cc-menu__cta { display: none; }
.cc-menu .cc-btn.cc-btn--primary { color: var(--cc-cream); border-bottom: 0; padding-bottom: 13px; }
.cc-nav__toggle { display: none; }

@media (max-width: 1080px) {
  .cc-nav { flex-wrap: wrap; }
  .cc-nav__cta { display: none; }
  .cc-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -6px 0; background: transparent; border: 1px solid rgba(122, 23, 56, .25); border-radius: 50%; cursor: pointer; position: relative; }
  .cc-nav__bar, .cc-nav__bar::before, .cc-nav__bar::after { display: block; width: 18px; height: 2px; background: var(--cc-wine); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  .cc-nav__bar { position: relative; }
  .cc-nav__bar::before, .cc-nav__bar::after { content: ''; position: absolute; left: 0; }
  .cc-nav__bar::before { top: -6px; }
  .cc-nav__bar::after { top: 6px; }
  .cc-nav__toggle[aria-expanded="true"] .cc-nav__bar { background: transparent; }
  .cc-nav__toggle[aria-expanded="true"] .cc-nav__bar::before { transform: translateY(6px) rotate(45deg); }
  .cc-nav__toggle[aria-expanded="true"] .cc-nav__bar::after { transform: translateY(-6px) rotate(-45deg); }
  .cc-menu { display: none; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 8px 0 18px; border-top: 1px solid var(--cc-line); margin-top: 14px; }
  .cc-menu.is-open { display: flex; }
  .cc-menu li a { display: block; padding: 13px 4px; font-size: 15px; border-bottom: 1px solid var(--cc-line); }
  .cc-menu li.current-menu-item > a { border-bottom-color: var(--cc-line); }
  .cc-menu__cta { display: block; padding-top: 16px; }
  .cc-menu__cta a { display: inline-flex; border: 0; }
}

/* --- Hero ---------------------------------------------------------------- */
.cc-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: clamp(600px, 78vh, 820px); padding: clamp(56px, 7vw, 96px) var(--cc-gutter) clamp(96px, 10vw, 150px); background: linear-gradient(180deg, var(--cc-cream) 0%, var(--cc-paper) 100%); }
.cc-hero--about { min-height: 0; padding: clamp(52px, 7vw, 100px) var(--cc-gutter) clamp(56px, 7vw, 92px); }
.cc-hero::before, .cc-hero::after { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; }
.cc-hero::before { top: -180px; right: -140px; background: radial-gradient(circle, rgba(247, 221, 227, .95), rgba(255, 249, 245, 0) 70%); animation: cc-glow 12s ease-in-out infinite; }
.cc-hero::after { bottom: -220px; left: -180px; background: radial-gradient(circle, rgba(252, 236, 239, .9), rgba(255, 249, 245, 0) 70%); }
.cc-hero__grid { width: 100%; max-width: 1320px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; position: relative; z-index: 1; }
.cc-hero__copy { position: relative; z-index: 2; animation: cc-rise .9s var(--cc-ease) both; }
.cc-hero__title { font-family: var(--cc-serif); font-weight: 500; font-size: clamp(46px, 6.6vw, 88px); line-height: 1.02; letter-spacing: -.03em; color: var(--cc-ink); text-wrap: balance; }
.cc-hero__title--about { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; }
.cc-hero__lead { margin-top: 26px; max-width: 46ch; font-size: 17px; line-height: 1.72; color: var(--cc-muted); text-wrap: pretty; }
.cc-hero__serif { margin-top: 26px; max-width: 44ch; font-family: var(--cc-italic); font-style: italic; font-size: clamp(21px, 2vw, 26px); line-height: 1.45; color: var(--cc-wine); text-wrap: pretty; }
.cc-hero__serif + .cc-hero__lead { margin-top: 18px; }
.cc-trust { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(122, 23, 56, .14); display: flex; flex-wrap: wrap; gap: 14px 32px; }
.cc-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .04em; font-weight: 500; }
.cc-trust li::before { content: ''; width: 9px; height: 9px; border: 1px solid var(--cc-rose); transform: rotate(45deg); flex: none; }

.cc-hero__art { position: relative; display: flex; justify-content: center; animation: cc-rise 1.1s var(--cc-ease) .15s both; }
.cc-orb { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1; }
.cc-orb--sm { width: min(100%, 520px); }
.cc-orb::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; border: 1px dashed rgba(168, 61, 92, .35); animation: cc-spin 90s linear infinite; pointer-events: none; }
.cc-orb::after { content: ''; position: absolute; inset: -46px; border-radius: 50%; background: radial-gradient(circle, rgba(213, 138, 158, .28), rgba(255, 249, 245, 0) 68%); animation: cc-glow 9s ease-in-out infinite; pointer-events: none; }
.cc-orb__img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 46px 80px -48px rgba(85, 16, 39, .6); animation: cc-float 9s ease-in-out infinite; z-index: 1; }
.cc-orb__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--cc-ease); }
.cc-orb__img:hover img { transform: scale(1.05); }
.cc-badge { position: absolute; right: 2%; top: 4%; width: 104px; height: 104px; border-radius: 50%; background: var(--cc-wine); color: var(--cc-petal); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 9.5px; letter-spacing: .16em; line-height: 1.8; box-shadow: 0 20px 40px -24px rgba(85, 16, 39, .9); animation: cc-float 7s ease-in-out infinite; z-index: 2; }

/* --- Marquee (paragraph; JS builds the scrolling track) ------------------ */
.cc-marquee { background: var(--cc-wine); overflow: hidden; padding: 15px 0; border-top: 1px solid rgba(85, 16, 39, .5); font-family: var(--cc-italic); font-style: italic; font-size: 22px; color: var(--cc-petal); white-space: nowrap; text-align: center; }
.cc-marquee__track { display: flex; width: max-content; animation: cc-marquee 42s linear infinite; }
.cc-marquee:hover .cc-marquee__track { animation-play-state: paused; }
.cc-marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; white-space: nowrap; }
.cc-marquee__star { color: var(--cc-pink); font-style: normal; }

/* --- Occasions ----------------------------------------------------------- */
.cc-occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 16px; }
.cc-occasion a { position: relative; display: block; border: 1px solid rgba(122, 23, 56, .14); background: var(--cc-cream); padding: 80px 18px 26px; text-align: center; color: var(--cc-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transition: border-color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease; }
.cc-occasion a:hover { border-color: var(--cc-wine); background: var(--cc-mist); transform: translateY(-5px); box-shadow: 0 22px 36px -28px rgba(85, 16, 39, .65); }
.cc-occasion a::before { content: ''; position: absolute; top: 30px; left: 50%; width: 34px; height: 34px; margin-left: -17px; border: 1px solid var(--cc-rose); border-radius: 50%; }
.cc-occasion a::after { content: ''; position: absolute; top: 41px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border: 1px solid rgba(168, 61, 92, .5); transform: rotate(45deg); }
.cc-occasion strong { display: block; margin-bottom: 6px; font-family: var(--cc-italic); font-weight: 400; font-size: 22px; color: var(--cc-ink); letter-spacing: .01em; text-transform: none; }

/* --- Tiles (services / promises) ---------------------------------------- */
.cc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--cc-line); border: 1px solid var(--cc-line); }
.cc-tile { background: var(--cc-paper); padding: 34px 28px 32px; transition: background .3s ease, transform .3s ease; }
.cc-tile:hover { background: var(--cc-mist); transform: translateY(-3px); }
.cc-tile::before { content: ''; display: block; width: 12px; height: 12px; border: 1px solid var(--cc-rose); transform: rotate(45deg); margin-bottom: 22px; }
.cc-tile h3 { margin-bottom: 10px; }
.cc-tile p { font-size: 14.5px; line-height: 1.65; color: var(--cc-muted); }

/* --- Stats --------------------------------------------------------------- */
.cc-stats { padding: clamp(56px, 7vw, 88px) var(--cc-gutter); }
.cc-stats::before { content: ''; position: absolute; left: 50%; top: -180px; width: 620px; height: 360px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(168, 61, 92, .55), rgba(85, 16, 39, 0) 70%); pointer-events: none; }
.cc-stats__intro { text-align: center; margin-bottom: 44px; position: relative; }
.cc-stats__lead { margin: 0 auto; max-width: 32ch; font-family: var(--cc-serif); font-weight: 500; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.28; letter-spacing: -.02em; color: var(--cc-cream); }
.cc-stats__sub { margin: 16px auto 0; max-width: 40ch; font-family: var(--cc-italic); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--cc-pale); }
.cc-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; position: relative; }
.cc-stat { text-align: center; padding: 0 12px; border-left: 1px solid rgba(247, 221, 227, .18); }
.cc-stat__value { font-family: var(--cc-serif); font-size: clamp(38px, 4.4vw, 58px); font-weight: 500; color: var(--cc-petal); line-height: 1; letter-spacing: -.02em; }
.cc-stat__label { margin-top: 14px; font-size: 12px; letter-spacing: .16em; color: rgba(255, 249, 245, .72); }
@media (max-width: 520px) { .cc-stats__grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; } }

/* --- Products ------------------------------------------------------------ */
.cc-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.cc-product { transition: transform .35s ease; }
.cc-product:hover { transform: translateY(-6px); }
.cc-product__media { overflow: hidden; background: var(--cc-petal); }
.cc-product__media img { width: 100%; height: 320px; object-fit: cover; transition: transform .7s var(--cc-ease); }
.cc-product:hover .cc-product__media img { transform: scale(1.06); }
.cc-product__row { padding: 20px 4px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.cc-product__price { font-size: 15px; font-weight: 500; color: var(--cc-wine); }
.cc-product__note { margin: 8px 0 14px; padding: 0 4px; font-size: 13.5px; color: var(--cc-muted); line-height: 1.6; }
.cc-product .cc-textlink { padding: 0 4px; }

/* --- Steps / timeline ---------------------------------------------------- */
.cc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 34px; }
.cc-step { position: relative; padding-top: 34px; border-top: 1px solid rgba(122, 23, 56, .22); }
.cc-step h3 { margin-bottom: 10px; font-size: 22px; }
.cc-step p:not([class]) { font-size: 14.5px; line-height: 1.68; color: var(--cc-muted); }
.cc-step__num { position: absolute; top: -13px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cc-wine); color: var(--cc-cream); font-size: 10.5px; font-weight: 700; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; line-height: 1; }
.cc-step__pill { position: absolute; top: -13px; left: 0; padding: 0 12px; height: 26px; border-radius: 999px; background: var(--cc-wine); color: var(--cc-cream); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; display: inline-flex; align-items: center; line-height: 1; }

/* --- CTA bands ----------------------------------------------------------- */
.cc-cta { padding: clamp(64px, 8vw, 104px) var(--cc-gutter); }
.cc-cta::before { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.cc-section--wine.cc-cta::before { right: -160px; bottom: -160px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(213, 138, 158, .4), rgba(122, 23, 56, 0) 70%); }
.cc-section--plum.cc-cta::before { left: -140px; top: -140px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(168, 61, 92, .5), rgba(85, 16, 39, 0) 70%); }
.cc-cta__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
.cc-cta__title { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -.02em; color: var(--cc-cream); max-width: 18ch; }
.cc-cta__copy { margin-top: 22px; max-width: 44ch; font-size: 16px; line-height: 1.72; color: rgba(255, 249, 245, .76); }
.cc-cta__img img { width: 100%; height: clamp(240px, 28vw, 380px); object-fit: cover; border-radius: 6px; box-shadow: 0 40px 70px -46px rgba(0, 0, 0, .75); }
.cc-cta__img--tall img { height: clamp(320px, 36vw, 480px); object-position: center 30%; }
.cc-float { animation: cc-float 11s ease-in-out infinite; }

/* --- Reviews ------------------------------------------------------------- */
.cc-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.cc-review { background: var(--cc-paper); border: 1px solid var(--cc-line); padding: 34px 30px 28px; display: flex; flex-direction: column; gap: 18px; font-style: normal; transition: transform .3s ease, box-shadow .3s ease; }
.cc-review:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -34px rgba(85, 16, 39, .6); }
.cc-review__stars { font-size: 13px; letter-spacing: .3em; color: var(--cc-rose); }
.cc-review p:not(.cc-review__stars) { font-family: var(--cc-italic); font-size: 22px; line-height: 1.5; text-wrap: pretty; }
.cc-review cite { margin-top: auto; padding-top: 8px; display: block; font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--cc-muted); }

/* --- Journal (Latest Posts block + promo card) --------------------------- */
.cc-journal { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.cc-posts { display: contents; }
.cc-posts li { display: flex; flex-direction: column; margin: 0; }
.cc-posts .wp-block-latest-posts__featured-image { order: -2; overflow: hidden; background: var(--cc-petal); margin: 0 0 18px; }
.cc-posts .wp-block-latest-posts__featured-image img { width: 100%; height: 220px; object-fit: cover; transition: transform .7s var(--cc-ease); }
.cc-posts li:hover .wp-block-latest-posts__featured-image img { transform: scale(1.05); }
.cc-posts .wp-block-latest-posts__post-title { font-family: var(--cc-serif); font-weight: 500; font-size: 20px; line-height: 1.35; letter-spacing: -.01em; color: var(--cc-ink); text-wrap: pretty; }
.cc-posts .wp-block-latest-posts__post-title:hover { color: var(--cc-wine); }
.cc-posts .wp-block-latest-posts__post-date { order: -1; margin-bottom: 10px; font-size: 11px; letter-spacing: .14em; color: var(--cc-rose); text-transform: uppercase; }
.cc-post--promo { background: var(--cc-mist); border: 1px solid rgba(122, 23, 56, .14); padding: 34px 30px; display: flex; flex-direction: column; justify-content: center; }
.cc-post--promo h3 { font-size: 27px; line-height: 1.2; letter-spacing: -.02em; color: var(--cc-plum); }
.cc-post--promo p { margin: 16px 0 0; font-size: 14.5px; line-height: 1.68; color: var(--cc-muted); }
.cc-post--promo .cc-actions { margin-top: 26px; }

/* --- Areas --------------------------------------------------------------- */
.cc-areas { padding: clamp(56px, 6vw, 88px) var(--cc-gutter); }
.cc-areas__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 36px; align-items: center; }
.cc-areas h2 { font-size: clamp(28px, 3.2vw, 42px); }
.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-chips li { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(122, 23, 56, .2); background: var(--cc-paper); padding: 10px 18px; border-radius: 999px; font-size: 13.5px; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.cc-chips li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cc-rose); }
.cc-chips li:hover { background: var(--cc-mist); border-color: var(--cc-wine); transform: translateY(-2px); }

/* --- Contact ------------------------------------------------------------- */
.cc-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; align-items: stretch; }
.cc-contact__info { display: flex; flex-direction: column; justify-content: center; }
.cc-contact__info h2 { margin-bottom: 26px; font-size: clamp(28px, 3.4vw, 44px); }
.cc-contact__info .cc-actions { margin-top: 30px; }
.cc-dl { display: grid; gap: 20px; }
.cc-dl__row { border-top: 1px solid rgba(122, 23, 56, .14); padding-top: 14px; }
.cc-dt { font-size: 11px; letter-spacing: .16em; color: var(--cc-muted); margin-bottom: 6px; text-transform: uppercase; }
.cc-dd { font-size: 15.5px; line-height: 1.6; }
.cc-contact__map { min-height: 380px; border: 1px solid rgba(122, 23, 56, .14); background: repeating-linear-gradient(135deg, var(--cc-cream) 0 14px, var(--cc-mist) 14px 28px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cc-contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }

/* --- Instagram feed ------------------------------------------------------ */
.cc-feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.cc-feed__item { position: relative; overflow: hidden; background: var(--cc-petal); aspect-ratio: 1 / 1; }
.cc-feed__item a { display: block; height: 100%; }
.cc-feed__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cc-ease); }
.cc-feed__item:hover img { transform: scale(1.07); }
.cc-feed__item figcaption { position: absolute; inset: 0; margin: 0; background: rgba(85, 16, 39, 0); display: flex; align-items: flex-end; padding: 14px; font-size: 11.5px; letter-spacing: .1em; color: rgba(255, 249, 245, 0); text-align: left; transition: background .35s ease, color .35s ease; pointer-events: none; }
.cc-feed__item:hover figcaption, .cc-feed__item:focus-within figcaption { background: rgba(85, 16, 39, .42); color: var(--cc-cream); }
@media (max-width: 600px) { .cc-feed { grid-template-columns: 1fr 1fr; } }

/* --- About: founder + gallery -------------------------------------------- */
.cc-founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.cc-founder__img img { width: 100%; height: clamp(320px, 38vw, 500px); object-fit: cover; object-position: center top; border-radius: 240px 240px 12px 12px; border: 1px solid rgba(122, 23, 56, .2); box-shadow: 0 44px 76px -56px rgba(85, 16, 39, .5); }
.cc-founder h2 { margin-bottom: 22px; font-size: clamp(28px, 3.4vw, 44px); }
.cc-founder__quote { margin-bottom: 18px; font-family: var(--cc-italic); font-style: italic; font-size: 23px; line-height: 1.5; color: var(--cc-wine); }
.cc-founder__copy { margin-bottom: 16px; font-size: 15.5px; line-height: 1.75; color: var(--cc-muted); max-width: 46ch; }
.cc-founder__sig { margin-top: 26px; font-size: 11.5px; letter-spacing: .14em; color: var(--cc-muted); text-transform: uppercase; }
.cc-founder__sig strong { display: block; margin-bottom: 4px; font-family: var(--cc-serif); font-weight: 500; font-size: 18px; letter-spacing: 0; color: var(--cc-ink); text-transform: none; }

.cc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.cc-gallery__item { overflow: hidden; background: var(--cc-petal); aspect-ratio: 1 / 1; }
.cc-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cc-ease); }
.cc-gallery__item:hover img { transform: scale(1.07); }
@media (max-width: 600px) { .cc-gallery { grid-template-columns: 1fr 1fr; } }

/* --- Cakes page: intro + filter chips ------------------------------------ */
.cc-cakes-hero { min-height: 0; padding-bottom: clamp(40px, 5vw, 64px); }
.cc-cakes-hero__copy { max-width: 760px; }
.cc-filter { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.cc-filter li a { display: inline-flex; align-items: center; border: 1px solid rgba(122, 23, 56, .25); background: var(--cc-paper); color: var(--cc-ink); padding: 11px 20px; border-radius: 999px; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.cc-filter li a:hover { border-color: var(--cc-wine); background: var(--cc-mist); color: var(--cc-wine); transform: translateY(-2px); }
.cc-filter li a.is-active { background: var(--cc-wine); border-color: var(--cc-wine); color: var(--cc-cream); }
.cc-filter--sticky { position: sticky; top: 72px; z-index: 30; background: rgba(255, 253, 252, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 10px 0; margin-top: 0; }

/* --- Cakes page: category cards ------------------------------------------ */
.cc-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.cc-cat { background: var(--cc-paper); border: 1px solid var(--cc-line); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.cc-cat:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -36px rgba(85, 16, 39, .55); }
.cc-cat__media { background: var(--cc-petal); overflow: hidden; }
.cc-cat__media a { display: block; }
.cc-cat__media img { width: 100%; height: 260px; object-fit: cover; transition: transform .7s var(--cc-ease); }
.cc-cat:hover .cc-cat__media img { transform: scale(1.06); }
.cc-cat__body { padding: 20px 22px 24px; }
.cc-cat__body h3 { font-size: 21px; }
.cc-cat__body h3 a { color: var(--cc-ink); }
.cc-cat__body h3 a:hover { color: var(--cc-wine); }
.cc-cat__note { margin-top: 6px; font-size: 13.5px; color: var(--cc-muted); line-height: 1.6; }
.cc-cat__price { margin-top: 14px; font-size: 11px; letter-spacing: .16em; color: var(--cc-rose); font-weight: 700; }

/* --- Cakes page: gallery by category + lightbox --------------------------- */
.cc-gallery-cats { display: grid; gap: clamp(40px, 5vw, 64px); }
.cc-gallery-cat { scroll-margin-top: 140px; transition: opacity .35s ease, transform .35s ease; }
.cc-gallery-cat.is-hidden { display: none; }
.cc-gallery-cat.is-entering { opacity: 0; transform: translateY(12px); }
.cc-gallery-cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--cc-line); }
.cc-gallery-cat__title { font-size: 24px; }
.cc-gallery-cat__note { font-family: var(--cc-italic); font-style: italic; font-size: 19px; color: var(--cc-muted); }
.cc-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cc-shot { position: relative; overflow: hidden; background: var(--cc-petal); aspect-ratio: 4 / 5; cursor: zoom-in; }
.cc-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--cc-ease); }
.cc-shot:hover img { transform: scale(1.06); }
.cc-shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 14px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-cream); background: linear-gradient(to top, rgba(85, 16, 39, .65), rgba(85, 16, 39, 0)); opacity: 0; transition: opacity .3s ease; text-align: left; }
.cc-shot:hover figcaption { opacity: 1; }
@media (max-width: 600px) { .cc-shots { grid-template-columns: 1fr 1fr; gap: 8px; } .cc-cat__media img { height: 200px; } }

.cc-lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(45, 32, 35, .92); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.cc-lightbox.is-open { opacity: 1; visibility: visible; }
.cc-lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transform: scale(.96); transition: transform .35s var(--cc-ease); }
.cc-lightbox.is-open img { transform: scale(1); }
.cc-lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: var(--cc-petal); font-family: var(--cc-italic); font-style: italic; font-size: 20px; }
.cc-lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 249, 245, .3); background: rgba(85, 16, 39, .5); color: var(--cc-cream); font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cc-lightbox__btn:hover { background: var(--cc-wine); }
.cc-lightbox__prev { left: 18px; }
.cc-lightbox__next { right: 18px; }
.cc-lightbox__close { top: 18px; right: 18px; transform: none; font-size: 18px; }
body.cc-lightbox-open { overflow: hidden; }
/* --- Footer (plugin chrome) --------------------------------------------- */
.cc-footer { background: var(--cc-ink); color: rgba(255, 249, 245, .7); padding: clamp(56px, 7vw, 88px) var(--cc-gutter) 0; font-size: 14px; line-height: 1.7; }
.cc-footer a { color: rgba(255, 249, 245, .7); transition: color .25s ease; }
.cc-footer a:hover { color: var(--cc-pink); }
.cc-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 44px; padding-bottom: 52px; }
.cc-footer__logo { font-family: var(--cc-serif); font-size: 24px; color: var(--cc-cream); }
.cc-footer__logo span { color: var(--cc-pink); }
.cc-footer__tagline { margin: 8px 0 18px; font-family: var(--cc-italic); font-style: italic; font-size: 18px; color: var(--cc-pink); }
.cc-footer__blurb { margin-bottom: 22px; max-width: 34ch; }
.cc-footer__heading { margin-bottom: 18px; font-size: 11px; letter-spacing: .18em; color: var(--cc-cream); }
.cc-footer__col ul { display: grid; gap: 11px; }
.cc-footer__contact { margin-top: 16px; font-size: 13.5px; }
.cc-socials { display: flex; gap: 10px; }
.cc-socials a { width: 38px; height: 38px; border: 1px solid rgba(255, 249, 245, .22); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: .04em; color: rgba(255, 249, 245, .8); transition: background .25s ease, border-color .25s ease, color .25s ease; }
.cc-socials a:hover { background: var(--cc-wine); border-color: var(--cc-wine); color: var(--cc-cream); }
.cc-footer__bottom { border-top: 1px solid rgba(255, 249, 245, .14); padding: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12.5px; }

.cc-form { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.cc-form input[type="email"] { flex: 1 1 150px; min-width: 0; background: transparent; border: 1px solid rgba(255, 249, 245, .25); color: var(--cc-cream); padding: 13px 14px; font-family: inherit; font-size: 14px; border-radius: 999px; }
.cc-form input[type="email"]::placeholder { color: rgba(255, 249, 245, .4); }
.cc-form .cc-btn { border: 0; }
.cc-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cc-form__msg { padding: 12px 16px; border-radius: 8px; font-size: 13.5px; }
.cc-form__msg--ok { background: rgba(122, 23, 56, .35); color: var(--cc-petal); }
.cc-form__msg--err { background: rgba(255, 120, 120, .15); color: #ffb4b4; margin-bottom: 10px; }

/* --- Floating CTA (plugin chrome) --------------------------------------- */
.cc-floating { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; font-size: 12px; letter-spacing: .12em; padding: 16px 26px; box-shadow: 0 18px 34px -18px rgba(85, 16, 39, .9); }
@media (max-width: 600px) { .cc-floating { padding: 14px 20px; font-size: 11px; } }

/* --- Editor-only niceties ----------------------------------------------- */
.editor-styles-wrapper .cc-marquee { white-space: normal; }
.editor-styles-wrapper .cc-badge, .editor-styles-wrapper .cc-orb__img, .editor-styles-wrapper .cc-float, .editor-styles-wrapper .cc-hero__copy, .editor-styles-wrapper .cc-hero__art { animation: none; }

/* --- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .cc-page *, .cc-page *::before, .cc-page *::after { animation: none !important; transition-duration: .01ms !important; }
  .cc-petals { display: none; }
  .cc-lightbox, .cc-lightbox img, .cc-gallery-cat { transition: none; }
  .cc-marquee__track { animation: none; flex-wrap: wrap; width: 100%; }
  .cc-marquee__group[aria-hidden] { display: none; }
}

/* --- Site-design pages: extras around the imported sections ------------- */
.cc-journal--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.cc-trustindex-wrapper { padding: 0 var(--cc-gutter) clamp(48px, 6vw, 80px); }
.cc-photo-grid { columns: 4 220px; column-gap: 12px; }
.cc-photo { break-inside: avoid; margin: 0 0 12px; position: relative; overflow: hidden; background: var(--cc-petal); border-radius: 6px; }
.cc-photo img { width: 100%; height: auto; display: block; transition: transform .7s var(--cc-ease); }
.cc-photo:hover img { transform: scale(1.05); }
.cc-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 36px 14px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--cc-cream); background: linear-gradient(to top, rgba(85, 16, 39, .65), rgba(85, 16, 39, 0)); opacity: 0; transition: opacity .3s ease; text-align: left; }
.cc-photo:hover figcaption { opacity: 1; }
/* The imported sections use 100vw full-bleed margins; keep them from adding a horizontal scrollbar. */
.cc-main { overflow-x: clip; }
