/* ==========================================================================
   Coach Personal Brand — unified editorial design system (v2)
   Quality bar: warm cream palette, oversized serif display type, pill buttons,
   generous whitespace and one consistent photographic treatment.
   Every class used by the demo Elementor pages is defined exactly once here.
   ========================================================================== */

:root {
  --studio-color-text: #1f1b17;
  --studio-color-muted: #6b6058;
  --studio-color-surface: #efe7dc;
  --studio-color-accent: #b08d57;
  --studio-color-border: #ded2c2;
  --studio-color-sage: #8b8f7e;
  --studio-color-wine: #7a3038;
  --studio-color-paper: #f8f5f0;
  --studio-font-heading: "Cormorant Garamond", Georgia, serif;
  --studio-font-body: "Manrope", system-ui, sans-serif;
  --studio-container: 1320px;
  --studio-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --cpb-v1-paper: #f8f5f0;
  --cpb-v1-sand: #efe7dc;
  --cpb-v1-ink: #1f1b17;
  --cpb-section-y: clamp(2.5rem, 3.6vw, 3.5rem);
  --cpb-line: 1px solid var(--studio-color-border);
  --cpb-pill: 999px;
  --cpb-photo: saturate(.9) sepia(.05) contrast(1.02) brightness(1.015);
  --cpb-ease: cubic-bezier(.2, .7, .2, 1);
}

/* 1. Base typography ------------------------------------------------------ */

body {
  overflow-x: hidden;
  background: var(--studio-color-paper);
  color: var(--studio-color-text);
  font-family: var(--studio-font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { color: #fff; background: var(--studio-color-accent); }
a { color: inherit; }

h1, h2, h3, h4, h5, h6,
.elementor-widget-heading .elementor-heading-title,
.studio-section-heading__title,
.studio-service-card__title {
  margin: 0;
  color: var(--studio-color-text);
  font-family: var(--studio-font-heading) !important;
  font-weight: 500 !important;
  line-height: 1.02;
  letter-spacing: -.03em;
}

h1 em, h2 em, h3 em,
.elementor-heading-title em,
.studio-section-heading__title em { font-style: italic; font-weight: 400; }

p { margin: 0 0 1.1rem; }

.elementor-widget-text-editor {
  color: var(--studio-color-muted);
  font-family: var(--studio-font-body);
  font-size: 1rem;
  line-height: 1.75;
}

.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.site-container {
  width: 100%;
  max-width: var(--studio-container);
  margin-inline: auto;
  padding-inline: var(--studio-gutter);
}

/* 2. Buttons — one shape, two finishes ----------------------------------- */

.elementor-widget-button .elementor-button,
.header-cta,
.cpb-button,
.editorial-story-card__read,
.editorial-article__footer > a,
.fluentform .ff-btn-submit,
body.single-product div.product form.cart .button,
body.woocommerce-shop ul.products li.product .button,
.wc-block-components-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 1.05rem 2rem;
  border: 1px solid var(--studio-color-text);
  border-radius: var(--cpb-pill);
  background: var(--studio-color-text);
  color: #fff;
  font-family: var(--studio-font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .35s var(--cpb-ease), color .35s var(--cpb-ease), border-color .35s var(--cpb-ease), transform .35s var(--cpb-ease);
}

.elementor-widget-button .elementor-button:hover,
.header-cta:hover,
.cpb-button:hover,
.fluentform .ff-btn-submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:hover {
  border-color: var(--studio-color-accent);
  background: var(--studio-color-accent);
  color: #fff;
  transform: translateY(-2px);
}

.elementor-widget-button .elementor-button:focus-visible,
.header-cta:focus-visible,
.fluentform .ff-btn-submit:focus-visible,
a:focus-visible,
button:focus-visible { outline: 2px solid var(--studio-color-accent); outline-offset: 3px; }

/* Outline finish on sand panels and light photography. */
.cpb-v1-cover__copy .elementor-button,
.cpb-soft-section .elementor-button,
.cpb-v1-guide .elementor-button,
.cpb-clara-about .elementor-button {
  border-color: var(--studio-color-text);
  background: transparent;
  color: var(--studio-color-text);
}

.cpb-v1-cover__copy .elementor-button:hover,
.cpb-soft-section .elementor-button:hover,
.cpb-v1-guide .elementor-button:hover,
.cpb-clara-about .elementor-button:hover {
  border-color: var(--studio-color-text);
  background: var(--studio-color-text);
  color: #fff;
}

/* 3. Eyebrows and section rhythm ----------------------------------------- */

.cpb-eyebrow .elementor-heading-title,
.studio-section-heading__eyebrow,
.cpb-editorial-statement [data-id="statementEy"] .elementor-heading-title {
  color: var(--studio-color-accent) !important;
  font-family: var(--studio-font-body) !important;
  font-size: .68rem !important;
  font-weight: 600 !important;
  letter-spacing: .24em !important;
  text-transform: uppercase;
}

.cpb-section:not(.cpb-hero) {
  padding-block: var(--cpb-section-y);
  padding-inline: max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2)) !important;
}

.cpb-section > .e-con-inner,
.cpb-clara-about > .e-con-inner,
.cpb-v1-guide > .e-con-inner,
.cpb-v1-cover > .e-con-inner,
.cpb-section.cpb-split > .e-con-inner { max-width: var(--studio-container); }

.cpb-soft-section { background: var(--studio-color-surface); }

.studio-section-heading__title {
  max-width: 20ch;
  margin-block: .55rem .75rem;
  font-size: clamp(2.2rem, 3.9vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.studio-section-heading__description {
  max-width: 46ch;
  color: var(--studio-color-muted);
  font-size: .98rem;
  line-height: 1.7;
}

.cpb-display .elementor-heading-title { font-size: clamp(2.9rem, 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.045em; }

/* 4. Photography — one treatment everywhere ------------------------------- */

.elementor-widget-image img,
.studio-service-stage__media img,
.studio-service-cards__media img,
.studio-content-card__image img,
.editorial-story-card__image img,
.cpb-clara-about img,
.cpb-v1-guide img,
.cpb-v1-cover__media img,
.cpb-editorial-portfolio__grid img { filter: var(--cpb-photo); }

.elementor-widget-image img,
.e-con > .elementor-widget-image img { height: auto; object-fit: cover; }

.cpb-image-tall img { aspect-ratio: 4 / 5; }
.cpb-image-wide img { aspect-ratio: 3 / 2; }

/* 5. Header and navigation ------------------------------------------------- */

.site-header {
  border: 0;
  border-bottom: var(--cpb-line);
  background: rgba(248, 245, 240, .92);
  backdrop-filter: blur(16px);
}

.site-header__inner { min-height: 5.5rem; }

.site-title {
  font-family: var(--studio-font-heading);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-style: italic;
  letter-spacing: -.02em;
}

.primary-navigation ul { display: flex; gap: clamp(1.1rem, 2vw, 2rem); margin: 0; padding: 0; list-style: none; }

.primary-navigation a {
  position: relative;
  display: inline-block;
  color: currentColor;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -.5rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--cpb-ease);
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after,
.primary-navigation .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }

.header-cta { padding: .85rem 1.5rem; }

.header-cart {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

/* The reference design has no promo strip: keep the Customizer option but stay quiet. */
.announcement-bar { display: none; }

/* 6. Home hero — full-bleed photographic cover ---------------------------- */

.cpb-hero {
  position: relative;
  isolation: isolate;
  gap: clamp(2rem, 5vw, 6rem);
  max-width: none;
  min-height: min(88svh, 900px);
  padding: clamp(4rem, 7vw, 7rem) max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2));
  background: var(--studio-color-surface);
}

.cpb-hero-copy > .elementor-element { max-width: 42rem; }
.cpb-hero-media, .cpb-image-portrait { overflow: hidden; }

.cpb-image-portrait img,
.cpb-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 32%;
}

.cpb-image-portrait::before, .cpb-image-portrait::after,
.cpb-hero-media::before, .cpb-clara-about__media::before,
.cpb-editorial-portrait::before, .cpb-editorial-portrait::after,
.cpb-hero::after, .cpb-services::before { display: none !important; }

.cpb-hero-caption { display: none; }

body.home .site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  border-bottom-color: rgba(255, 255, 255, .32);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.home .site-header a,
body.home .site-header .site-title,
body.home .site-header .site-branding { color: #fff; }

body.home .site-header .header-cta { border-color: rgba(255, 255, 255, .8); background: transparent; color: #fff; }
body.home .site-header .header-cta:hover { background: #fff; color: var(--studio-color-text); }

body.home .cpb-hero { display: block; min-height: 100svh; padding: 0 !important; background: #b8aea3; }

body.home .cpb-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 24, 21, .62) 0%, rgba(30, 24, 21, .4) 43%, rgba(30, 24, 21, .12) 100%);
  content: "";
  pointer-events: none;
}

body.home .cpb-hero > .e-con-inner { display: block; width: 100%; max-width: none; min-height: 100svh; padding: 0; }

body.home .cpb-hero-media { position: absolute; z-index: 0; inset: 0; width: 100% !important; height: 100% !important; margin: 0; padding: 0; }
body.home .cpb-hero-media > .e-con-inner { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; gap: 0; }
body.home .cpb-hero-media .cpb-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; }

body.home .cpb-hero-media .cpb-hero-photo .elementor-widget-container,
body.home .cpb-hero-media .cpb-hero-photo img {
  display: block;
  width: 128%;
  height: 100% !important;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: left top;
}

body.home .cpb-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(72rem, 100%) !important;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.4rem;
  padding: 11rem max(2rem, calc((100vw - 1420px) / 2)) clamp(4rem, 7vw, 7rem) !important;
}

body.home .cpb-hero-copy > .e-con-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.4rem; }
body.home .cpb-hero-copy > .elementor-element { max-width: 65rem; }
body.home .cpb-hero-copy .cpb-eyebrow .elementor-heading-title { color: rgba(255, 255, 255, .88) !important; }

body.home .cpb-hero .cpb-display .elementor-heading-title {
  max-width: 13ch;
  color: #fff !important;
  font-size: clamp(5rem, 8.3vw, 9.5rem) !important;
  line-height: .82 !important;
  letter-spacing: -.03em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .08);
}

body.home .cpb-hero .cpb-display em { color: #fff; }

body.home .cpb-hero-copy .elementor-widget-text-editor,
body.home .cpb-hero-copy .elementor-widget-text-editor p { max-width: 34rem; color: rgba(255, 255, 255, .9) !important; }

body.home .cpb-hero .elementor-button { border-color: #fff; background: #fff; color: var(--studio-color-text); }
body.home .cpb-hero .elementor-button:hover { border-color: var(--studio-color-accent); background: var(--studio-color-accent); color: #fff; }

/* 7. Home sections --------------------------------------------------------- */

.cpb-editorial-statement {
  padding: var(--cpb-section-y) max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2));
  background: var(--studio-color-paper);
  text-align: center;
}

.cpb-editorial-statement > .e-con-inner { display: flex; flex-direction: column; align-items: center; }
.cpb-editorial-statement .cpb-eyebrow { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

.cpb-editorial-statement__title {
  max-width: 26ch;
  margin: 0 auto 1.15rem;
  font-family: var(--studio-font-heading);
  font-size: clamp(1.85rem, 3.3vw, 3.4rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.cpb-editorial-statement__title em { color: var(--studio-color-accent); }

.cpb-editorial-statement__title img {
  display: inline-block;
  width: 1.9em;
  height: 1em;
  margin: 0 .14em;
  border-radius: var(--cpb-pill);
  object-fit: cover;
  vertical-align: -.12em;
}

.cpb-editorial-statement .elementor-widget-text-editor { max-width: 48ch; }
.cpb-editorial-statement .elementor-widget-button { margin-top: 1.8rem; }

.cpb-clara-about {
  padding: var(--cpb-section-y) max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2));
  background: var(--studio-color-surface);
}

.cpb-clara-about > .e-con-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cpb-clara-about__media { position: relative; display: block; min-width: 0; height: clamp(19rem, 27vw, 24rem); }
.cpb-clara-about__media > .e-con-inner { position: relative; display: block; width: 100%; height: 100%; max-width: none; padding: 0; }

.cpb-clara-about [data-id="aboutTeaserMain"] { position: absolute; inset: 0 auto 0 0; width: 74%; overflow: hidden; }
.cpb-clara-about [data-id="aboutTeaserMain"] img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }

.cpb-clara-about [data-id="aboutTeaserInset"] { position: absolute; z-index: 2; right: 0; bottom: 1.6rem; width: 44%; overflow: hidden; border: .5rem solid var(--studio-color-surface); }
.cpb-clara-about [data-id="aboutTeaserInset"] img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.cpb-clara-about__copy { align-items: flex-start; gap: 0; }

.cpb-clara-about__heading .elementor-heading-title {
  max-width: 14ch;
  margin-block: 1rem 1.4rem;
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.cpb-clara-about__copy .elementor-widget-text-editor { max-width: 44ch; }
.cpb-clara-about__copy .elementor-widget-button { margin-top: 1.8rem; }

/* Services follow the reference card anatomy: bright photo, huge ghost numeral
   centred on the photo's bottom edge, then centred caps title, short copy and an
   outline pill. */
.studio-service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 4.5vw, 4.5rem); text-align: center; }
.studio-service-cards__card { display: flex; min-width: 0; flex-direction: column; align-items: center; }
.studio-service-cards__media { position: relative; background: var(--studio-color-surface); }
.studio-service-cards__media::after { display: none; }
.studio-service-cards__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.studio-service-cards__number {
  position: absolute;
  z-index: 2;
  bottom: -.42em;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #cdbaa4;
  font-family: var(--studio-font-heading);
  font-size: clamp(4.5rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
}

.studio-service-cards__copy { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 3.2rem 0 0; }
.studio-service-cards__copy h3 { max-width: none; margin: 0 0 .7rem; font-family: var(--studio-font-heading); font-size: clamp(1.3rem, 1.8vw, 1.8rem); font-weight: 400; letter-spacing: .1em; line-height: 1.1; text-transform: uppercase; }
.studio-service-cards__copy p { max-width: 34ch; color: var(--studio-color-muted); font-size: .92rem; line-height: 1.65; }
.studio-service-cards__link {
  display: inline-flex;
  margin-top: 1.4rem;
  padding: .8rem 1.6rem;
  border: 1px solid var(--studio-color-border);
  border-radius: var(--cpb-pill);
  color: var(--studio-color-text);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .3s var(--cpb-ease), color .3s var(--cpb-ease);
}
.studio-service-cards__link:hover { background: var(--studio-color-text); color: #fff; }

/* Free guide: full-bleed 50/50 split — photo flush to the section edge on the
   left, tinted copy panel on the right, like the reference checklist band. */
.cpb-v1-guide { padding-block: 0 !important; background: #efe8dd; }
.cpb-v1-guide > .e-con-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; width: 100%; max-width: none; align-items: stretch; padding: 0; }
.cpb-v1-guide__photo { position: relative; width: 100%; min-height: clamp(22rem, 40vw, 36rem); overflow: hidden; }
.cpb-v1-guide__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.cpb-v1-guide__copy { display: flex; flex-direction: column; justify-content: center; width: 100%; padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5.5rem); }
.cpb-v1-guide__copy > .e-con-inner { padding: 0; gap: 1.2rem; align-items: flex-start; }
.cpb-v1-guide__copy h2 { font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; }
.cpb-v1-guide__copy p { max-width: 46ch; font-size: .95rem; line-height: 1.75; }
.cpb-v1-guide__copy .elementor-button { margin-top: 1.2rem; }

.cpb-editorial-portfolio { background: var(--studio-color-paper); }
/* The portfolio closes on light card excerpts, so its bottom edge steps in —
   otherwise it stacks with the testimonials' top padding into a dead zone. */
.cpb-editorial-portfolio.cpb-band--loose { padding-bottom: clamp(2.25rem, 4vw, 3.5rem) !important; }
.cpb-editorial-portfolio__grid { display: block; width: 100%; margin-top: clamp(2rem, 3.5vw, 3rem); }
.cpb-editorial-portfolio__grid > .e-con-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }

/* Image and title share one grid cell; the title sits on a solid paper plate
   anchored to the photo's bottom edge — always legible, no gradient needed. */
.cpb-editorial-portfolio__card,
.cpb-editorial-portfolio__card > .e-con-inner { display: grid !important; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.cpb-editorial-portfolio__card .elementor-widget-image { position: relative; grid-area: 1 / 1; overflow: hidden; }
.cpb-editorial-portfolio__card .elementor-widget-image::after { display: none; }
.cpb-editorial-portfolio__card .elementor-widget-heading {
  z-index: 2;
  grid-area: 1 / 1;
  align-self: end;
  justify-self: start;
  max-width: 92%;
  margin: 0;
  padding: clamp(.85rem, 1.6vw, 1.3rem) clamp(1.1rem, 2vw, 1.75rem);
  background: var(--studio-color-paper);
}
.cpb-editorial-portfolio__card .elementor-widget-text-editor { grid-area: 2 / 1; }

/* Aligned cards: a 4/3 crop with the subject kept in the upper frame. */
.cpb-editorial-portfolio__grid .elementor-widget-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 26%; transition: transform .8s var(--cpb-ease); }
.cpb-editorial-portfolio__grid > .e-con-inner > .e-con:hover img { transform: scale(1.03); }
/* The base heading rule is `.elementor-widget-heading .elementor-heading-title`
   (two classes), so this overlay title needs to out-specify it explicitly. */
.cpb-editorial-portfolio__card .elementor-heading-title {
  margin: 0;
  color: var(--studio-color-text) !important;
  font-family: var(--studio-font-heading) !important;
  font-size: clamp(1.5rem, 2.1vw, 2.2rem) !important;
  font-weight: 400 !important;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-shadow: none;
}
.cpb-editorial-portfolio__grid p { max-width: 42ch; margin: .9rem 0 0; color: var(--studio-color-muted); font-size: .92rem; line-height: 1.7; }

/* Journal: centred heading, centred pill below it, centred cards — as the
   reference. No dates, no drop caps, no read-more chrome. */
.cpb-v1-journal { background: var(--studio-color-surface); text-align: center; }
.cpb-v1-journal > .e-con-inner { display: grid !important; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.cpb-v1-journal .studio-section-heading { margin-bottom: 0; }
.cpb-v1-journal .elementor-widget-shortcode { width: 100%; }
.cpb-v1-journal .elementor-widget-button { margin: 1.2rem 0 0; }
.cpb-v1-journal .studio-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 4.5vw, 4.5rem); }
.cpb-v1-journal .studio-content-card__image { aspect-ratio: 4 / 5; }
.cpb-v1-journal .studio-content-card__image img { object-position: center; }
.cpb-v1-journal .studio-content-card h3 { margin-inline: auto; }

.cpb-final-cta,
.cpb-v1-photo-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(24rem, 48vh, 34rem);
  background: #6f6357;
  color: #fff;
  text-align: center;
}

.cpb-final-cta::before,
.cpb-v1-photo-cta::before { display: none; }

.cpb-final-cta::after, .cpb-v1-photo-cta::after { display: none; }

.cpb-v1-photo-cta__photo,
.cpb-v1-photo-cta__photo .elementor-widget-container {
  position: absolute !important;
  z-index: 0;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
}

.cpb-v1-photo-cta__photo img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 30%;
  filter: brightness(.58) saturate(.92);
}
/* Keep the inner wrapper out of the positioning chain so the photo can bleed full width. */
.cpb-final-cta > .e-con-inner,
.cpb-v1-photo-cta > .e-con-inner { position: static !important; z-index: 2; max-width: 52rem; margin-inline: auto; align-items: center; }
/* Copy widgets must sit above the darkened photo; the photo widget itself stays absolute. */
.cpb-final-cta > .e-con-inner > *:not(.cpb-v1-photo-cta__photo),
.cpb-v1-photo-cta > .e-con-inner > *:not(.cpb-v1-photo-cta__photo) { position: relative; z-index: 2; }
.cpb-v1-photo-cta .studio-section-heading { margin-inline: auto; }
.cpb-v1-photo-cta .studio-section-heading__title { max-width: 20ch; margin-inline: auto; color: #fff; font-size: clamp(2.4rem, 4.4vw, 4.6rem); }
.cpb-v1-photo-cta .studio-section-heading__eyebrow { color: rgba(255, 255, 255, .82) !important; }
.cpb-v1-photo-cta .studio-section-heading__description { margin-inline: auto; color: rgba(255, 255, 255, .82); }
.cpb-v1-photo-cta .elementor-button { border-color: #fff; background: #fff; color: var(--studio-color-text); }
.cpb-v1-photo-cta .elementor-button:hover { border-color: var(--studio-color-accent); background: var(--studio-color-accent); color: #fff; }

/* 7b. Hierarchy and rhythm -------------------------------------------------
 * Two protagonists (services, portfolio) keep display scale and wide air; the
 * supporting sections step back to a smaller headline tier and a tighter
 * rhythm; strips (press, stats) compress to bands. */

.cpb-band--tight { padding-block: clamp(1.35rem, 2.4vw, 2.1rem) !important; }
.cpb-band--normal { padding-block: clamp(3rem, 5vw, 4.5rem) !important; }
.cpb-band--loose { padding-block: clamp(4.25rem, 7.5vw, 7rem) !important; }

.cpb-band--loose .studio-section-heading__title { font-size: clamp(2.5rem, 4.4vw, 4.6rem) !important; }
.cpb-band--normal .studio-section-heading__title { font-size: clamp(1.85rem, 2.7vw, 2.7rem) !important; }
.cpb-band--tight .studio-section-heading__title { font-size: clamp(1.6rem, 2.3vw, 2.2rem) !important; }
.cpb-band--normal .studio-section-heading__description { font-size: .92rem; }

.cpb-editorial-statement.cpb-band--normal .cpb-editorial-statement__title { font-size: clamp(1.75rem, 2.85vw, 3rem); }
.cpb-clara-about.cpb-band--normal .cpb-clara-about__heading .elementor-heading-title { font-size: clamp(1.75rem, 2.7vw, 2.9rem); }
.cpb-v1-guide.cpb-band--normal .cpb-v1-guide__copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.7rem); }

/* Secondary action: outline pill, slightly lighter than the primary. */
.cpb-v1-journal .elementor-button {
  padding: .8rem 1.5rem;
  border-color: var(--studio-color-text);
  background: transparent;
  color: var(--studio-color-text);
  font-size: .66rem;
}
.cpb-v1-journal .elementor-button:hover { background: var(--studio-color-text); color: #fff; }

/* Self-check fixes: centre the single testimonial card, scale the journal
   heading up, and bind the footer wordmark to the real markup class. */
.cpb-testimonials__card.is-active .elementor-widget-heading { display: flex; justify-content: center; }
.cpb-testimonials__card.is-active .elementor-heading-title { text-align: center; }
.cpb-v1-journal .studio-section-heading__title { font-size: clamp(2.1rem, 3.6vw, 3.4rem) !important; }
/* 8. Inner-page covers and shared blocks ---------------------------------- */

.e-con.cpb-v1-cover {
  display: block;
  padding-block: var(--cpb-section-y);
  padding-inline: max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2)) !important;
  background: var(--cpb-v1-paper) !important;
  color: var(--cpb-v1-ink);
}

.cpb-v1-cover > .e-con-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cpb-v1-cover__copy, .cpb-v1-cover__media { width: 100% !important; min-width: 0; }
.cpb-v1-cover__copy > .e-con-inner { padding: 0; align-items: flex-start; gap: 1.2rem; }
.cpb-v1-cover__media > .e-con-inner { display: block; width: 100%; padding: 0; }

.cpb-v1-cover .cpb-display .elementor-heading-title {
  max-width: 18ch;
  margin-block: .9rem 1.1rem;
  color: var(--cpb-v1-ink) !important;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.cpb-v1-cover .cpb-eyebrow .elementor-heading-title { color: var(--studio-color-accent) !important; }
.cpb-v1-cover .elementor-widget-text-editor { max-width: 46ch; color: var(--studio-color-muted) !important; }
.cpb-v1-cover__media .elementor-widget-image { width: 100%; margin: 0; }
.cpb-v1-cover__media .elementor-widget-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 36%; }

.cpb-v1-cover--work-with-me,
.cpb-v1-cover--service-intensive,
.cpb-v1-cover--service-private-coaching,
.cpb-v1-cover--resources,
.cpb-v1-cover--lab-waitlist,
.cpb-v1-cover--contact { background: var(--studio-color-surface) !important; }

.cpb-v1-cover--journal > .e-con-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.cpb-v1-cover--journal .cpb-v1-cover__media img { aspect-ratio: 1; }
.cpb-v1-cover--contact .cpb-v1-cover__media img { aspect-ratio: 5 / 4; }
.cpb-v1-cover--about .cpb-v1-cover__media img { aspect-ratio: 3 / 4; }

/* Alternate the cover composition so consecutive pages are not visually identical. */
.cpb-v1-cover--start-here > .e-con-inner,
.cpb-v1-cover--resources > .e-con-inner,
.cpb-v1-cover--contact > .e-con-inner { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.cpb-v1-cover--start-here .cpb-v1-cover__media,
.cpb-v1-cover--resources .cpb-v1-cover__media,
.cpb-v1-cover--contact .cpb-v1-cover__media { order: -1; }



.cpb-page-hero { padding-block: var(--cpb-section-y); background: var(--cpb-v1-paper); }
.cpb-page-hero .cpb-display .elementor-heading-title { font-size: clamp(2.6rem, 4.8vw, 5rem); }

.cpb-section.cpb-split > .e-con-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.cpb-section.cpb-split > .e-con-inner > * { width: 100%; min-width: 0; }
.cpb-section.cpb-split .elementor-widget-image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.cpb-section.cpb-split .studio-section-heading__title { font-size: clamp(2.2rem, 3.6vw, 3.8rem); }
.cpb-section.cpb-split .elementor-widget-text-editor { font-size: .95rem; line-height: 1.8; }

.cpb-reading { max-width: 44rem; }
.cpb-reading li { padding-block: .85rem; border-bottom: var(--cpb-line); }

.cpb-values-grid, .cpb-process-grid { align-items: stretch; }
.cpb-value-card, .cpb-process-step { position: relative; min-height: 14rem; padding: 1.8rem 0; border: 0; border-top: var(--cpb-line); background: transparent; }
.cpb-value-card::before { display: block; margin-bottom: 1.4rem; color: var(--studio-color-accent); font-size: .68rem; font-weight: 600; letter-spacing: .2em; }
.cpb-values-grid .cpb-value-card:nth-child(1)::before { content: "01  /  CLARITY"; }
.cpb-values-grid .cpb-value-card:nth-child(2)::before { content: "02  /  JUDGEMENT"; }
.cpb-values-grid .cpb-value-card:nth-child(3)::before { content: "03  /  CAPACITY"; }
.cpb-value-card h3, .cpb-process-step h3 { max-width: 18ch; margin: 0 0 .8rem; font-size: clamp(1.6rem, 2.2vw, 2.4rem); line-height: 1.05; }
.cpb-value-card .elementor-widget-text-editor, .cpb-process-step .elementor-widget-text-editor { max-width: 40ch; }

.cpb-process-grid > .e-con-inner { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem) !important; width: 100%; }
.cpb-method-timeline { margin-top: clamp(2rem, 4vw, 3.5rem); border-top: var(--cpb-line); }
.cpb-method-timeline > .e-con-inner { display: block !important; width: 100%; counter-reset: method-step; }
.cpb-method-step { counter-increment: method-step; border-bottom: var(--cpb-line); }
.cpb-method-step > .e-con-inner { display: grid !important; grid-template-columns: 3rem minmax(10rem, .7fr) minmax(0, 1.3fr); gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: 1.6rem 0; }
.cpb-method-step > .e-con-inner::before { grid-column: 1; grid-row: 1; color: var(--studio-color-accent); content: "0" counter(method-step); font-size: .68rem; letter-spacing: .18em; }
.cpb-method-step .elementor-widget-heading { grid-column: 2; grid-row: 1; }
.cpb-method-step .elementor-widget-heading h3 { margin: 0; font-size: clamp(1.5rem, 2.3vw, 2.2rem); }
.cpb-method-step .elementor-widget-text-editor { grid-column: 3; grid-row: 1; max-width: 44rem; }
.cpb-method-step .elementor-widget-text-editor p { margin: 0; }

.cpb-offer-grid { gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; margin-top: clamp(2rem, 4vw, 3.5rem); background: transparent; }
.cpb-offer-grid > .e-con-inner { gap: inherit; }
.cpb-offer-grid > * { flex: 1 1 0; }

.cpb-faq { max-width: 60rem; margin-inline: auto; border-top: var(--cpb-line); }
.cpb-faq .elementor-accordion-item { border: 0; border-bottom: var(--cpb-line); background: transparent; }
.cpb-faq .elementor-tab-title { padding-block: 1.4rem; font-family: var(--studio-font-heading); font-size: 1.35rem; }
.cpb-faq .elementor-tab-content { padding-block: 0 1.5rem; color: var(--studio-color-muted); }

.cpb-contact-layout > .e-con-inner > .e-con { flex: 0 1 42%; }
.cpb-contact-layout > .e-con-inner > .elementor-widget-shortcode { flex: 0 1 52%; }
.cpb-contact-layout .fluentform { padding: clamp(1.75rem, 3.5vw, 3rem); border: var(--cpb-line); background: var(--studio-color-paper); }
.cpb-contact-layout .fluentform .ff-el-form-control { min-height: 3.1rem; border: 0; border-bottom: 1px solid var(--studio-color-border); border-radius: 0; background: transparent; color: var(--studio-color-text); font-family: var(--studio-font-body); font-size: .95rem; }

.cpb-feature-story > .e-con-inner > .elementor-widget-image { flex: 0 1 48%; }
.cpb-feature-story > .e-con-inner > .e-con { flex: 0 1 46%; }
.cpb-feature-story img { aspect-ratio: 4 / 5; object-fit: cover; }
.cpb-personal-note .elementor-widget-image img { aspect-ratio: 4 / 5; object-position: center 34%; }

.cpb-legal-hero { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--studio-color-surface); }
.cpb-legal-copy { max-width: 46rem; margin-inline: auto; }
.cpb-legal-copy h2 { margin-top: 2.5rem; font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.cpb-legal-copy p, .cpb-legal-copy li { color: var(--studio-color-muted); }

/* 9. Studio components ----------------------------------------------------- */

.studio-service-card { position: relative; min-height: 0; padding: 1.8rem 0; border: 0; border-top: var(--cpb-line); background: transparent; transition: border-color .4s var(--cpb-ease); }
.studio-service-card:hover { background: transparent; transform: none; border-top-color: var(--studio-color-accent); }
.studio-service-card__number { display: flex; align-items: center; gap: .8rem; color: var(--studio-color-accent); font-size: .68rem; font-weight: 600; letter-spacing: .2em; }
.studio-service-card__number::after { width: 2.5rem; height: 1px; background: currentColor; content: ""; }
.studio-service-card__title { margin: 1.4rem 0 .8rem; font-size: clamp(1.9rem, 2.7vw, 2.9rem); line-height: 1.04; }
.studio-service-card__description { max-width: 38ch; color: var(--studio-color-muted); line-height: 1.7; }
.studio-service-card__link { display: inline-flex; gap: .8rem; align-items: center; margin-top: 1.4rem; padding-top: 1rem; border-top: var(--cpb-line); color: var(--studio-color-text); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.studio-service-card__link::after { content: "↗"; font-size: 1rem; }

.studio-service-stage { display: grid; grid-template-columns: minmax(15rem, .68fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 4vw, 4rem); }
.studio-service-stage__nav { display: flex; flex-direction: column; align-self: center; border-top: var(--cpb-line); }
.studio-service-stage__tab { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: center; width: 100%; padding: 1.5rem 0; border: 0; border-bottom: var(--cpb-line); background: transparent; color: var(--studio-color-text); text-align: left; cursor: pointer; transition: color .3s var(--cpb-ease), padding-left .3s var(--cpb-ease); }
.studio-service-stage__tab span { font-size: .68rem; letter-spacing: .16em; }
.studio-service-stage__tab strong { font-family: var(--studio-font-heading); font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 400; line-height: 1.05; }
.studio-service-stage__tab:hover, .studio-service-stage__tab:focus-visible, .studio-service-stage__tab.is-active { padding-left: .8rem; color: var(--studio-color-accent); }
.studio-service-stage__panels { min-width: 0; }
.studio-service-stage__panel { display: block; }
.studio-service-stage__panel[hidden] { display: none; }
.studio-service-stage__media { width: 100%; overflow: hidden; }
.studio-service-stage__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; animation: cpb-fade-in .6s var(--cpb-ease) both; }
.studio-service-stage__copy { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) minmax(12rem, .8fr); grid-template-areas: "count title description" "count link link"; gap: .9rem 2rem; align-items: start; padding-top: 1.6rem; }
.studio-service-stage__count { grid-area: count; margin: .35rem 0 0; color: var(--studio-color-accent); font-size: .68rem; letter-spacing: .18em; }
.studio-service-stage__copy h3 { grid-area: title; max-width: 16ch; margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
.studio-service-stage__copy > p:not(.studio-service-stage__count) { grid-area: description; margin: 0; color: var(--studio-color-muted); line-height: 1.7; }
.studio-service-stage__copy a { grid-area: link; width: max-content; margin-top: 1rem; padding: .85rem .2rem; border-top: var(--cpb-line); color: var(--studio-color-text); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }

.studio-content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.studio-content-card { min-width: 0; }
.studio-content-card__image { overflow: hidden; aspect-ratio: 4 / 3; background: var(--studio-color-surface); }
.studio-content-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cpb-ease); }
.studio-content-card:hover img { transform: scale(1.03); }
.studio-content-card h3 { margin: 1.2rem 0 .6rem; font-family: var(--studio-font-heading); font-size: clamp(1.5rem, 2.2vw, 2.2rem); line-height: 1.06; }
.studio-content-card p { color: var(--studio-color-muted); font-size: .95rem; line-height: 1.7; }
.studio-content-card a { color: inherit; text-decoration: none; }

.studio-testimonial-card { position: relative; margin: 0; padding: clamp(2.5rem, 6vw, 5rem); border: var(--cpb-line); background: var(--studio-color-paper); text-align: center; }
.studio-testimonial-card::before { position: absolute; top: 1rem; left: 2rem; color: var(--studio-color-surface); content: "“"; font-family: var(--studio-font-heading); font-size: 12rem; line-height: 1; }
.studio-testimonial-card blockquote { position: relative; z-index: 1; max-width: 40ch; margin-inline: auto; font-family: var(--studio-font-heading); font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-style: italic; line-height: 1.14; }
.studio-testimonial-card figcaption { position: relative; z-index: 1; justify-content: center; margin-top: 1.4rem; color: var(--studio-color-muted); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }

.studio-transformation { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 7vw, 7rem); }
.studio-transformation__intro { position: sticky; top: 7rem; align-self: start; }
.studio-transformation__intro > p { color: #e3c9b6; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.studio-transformation__intro h2 { max-width: 16ch; margin-top: 1.2rem; color: #fff; font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: 1.02; }
.studio-transformation__line { display: block; width: 4rem; height: 1px; margin-top: 2.5rem; background: #e3c9b6; }
.studio-transformation__step { display: grid; grid-template-columns: 3rem 1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: center; min-height: 38vh; border-top: 1px solid rgba(255, 255, 255, .18); opacity: .48; transition: opacity .5s var(--cpb-ease); }
.studio-transformation__step:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.studio-transformation__step.is-current { opacity: 1; }
.studio-transformation__step > span { color: #e3c9b6; font-size: .68rem; letter-spacing: .18em; }
.studio-transformation__step h3 { max-width: 18ch; color: #fff; font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1.04; }
.studio-transformation__step p { max-width: 44ch; color: rgba(255, 255, 255, .74); line-height: 1.75; }

/* 10. Journal templates ---------------------------------------------------- */

.editorial-archive__hero { padding: clamp(4rem, 8vw, 7rem) 0 2.5rem; background: var(--studio-color-surface); }
.editorial-archive__hero h1 { max-width: 20ch; margin: .6rem 0 1rem; font-size: clamp(2.6rem, 5.4vw, 5.4rem); line-height: 1; letter-spacing: -.04em; }
.editorial-archive__hero .archive-description { max-width: 52ch; color: var(--studio-color-muted); font-size: 1.02rem; line-height: 1.8; }
.editorial-archive__topics { display: flex; gap: .6rem; overflow-x: auto; margin-top: 2.5rem; padding-block: .9rem; border-block: var(--cpb-line); }
.editorial-archive__topics a { flex: 0 0 auto; padding: .6rem 1.1rem; border: 1px solid var(--studio-color-border); border-radius: var(--cpb-pill); color: var(--studio-color-text); font-size: .68rem; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: background .3s var(--cpb-ease), color .3s var(--cpb-ease); }
.editorial-archive__topics a:hover, .editorial-archive__topics a:focus-visible { background: var(--studio-color-text); color: #fff; }
.editorial-archive__body { padding-block: clamp(3.5rem, 7vw, 7rem); }
.editorial-archive__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); row-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.editorial-story-card { min-width: 0; }
.editorial-story-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.editorial-story-card__image { display: block; position: relative; overflow: hidden; aspect-ratio: 1.3; background: var(--studio-color-surface); }
.editorial-story-card--featured .editorial-story-card__image { aspect-ratio: 1.5; }
.editorial-story-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cpb-ease); }
.editorial-story-card:hover .editorial-story-card__image img { transform: scale(1.03); }
.editorial-story-card__copy { padding-top: 1.4rem; }
.editorial-story-card .entry-meta { color: var(--studio-color-accent); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.editorial-story-card h2 { max-width: 22ch; margin: .8rem 0; font-size: clamp(1.7rem, 2.8vw, 2.8rem); line-height: 1.06; }
.editorial-story-card h2 a { color: inherit; text-decoration: none; }
.editorial-story-card p:not(.entry-meta) { max-width: 52ch; color: var(--studio-color-muted); line-height: 1.75; }
.editorial-story-card__read { display: inline-flex; gap: 1rem; align-items: center; margin-top: .6rem; padding-top: .85rem; border-top: var(--cpb-line); color: var(--studio-color-text); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.editorial-story-card__read span { transition: transform .25s var(--cpb-ease); }
.editorial-story-card__read:hover span { transform: translate(3px, -3px); }
.editorial-archive .nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.2rem; border-top: var(--cpb-line); }
.editorial-archive__close { padding: clamp(3.5rem, 7vw, 7rem) 0; background: var(--studio-color-wine); color: #fff; }
.editorial-archive__close h2 { max-width: 22ch; margin: .8rem 0 1.4rem; color: #fff; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1.02; }
.editorial-archive__close .cpb-eyebrow { color: #e3c9b6 !important; }
.editorial-archive__close .editorial-story-card__read { color: #fff; border-color: rgba(255, 255, 255, .45); }

.editorial-article { padding-top: clamp(2rem, 5vw, 4rem); }
.editorial-article .entry-header { max-width: 52rem; margin: 0 auto; padding-bottom: clamp(1.5rem, 4vw, 3rem); }
.editorial-article__back { display: inline-block; margin-bottom: 2rem; color: var(--studio-color-muted); font-size: .68rem; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.editorial-article .entry-meta { color: var(--studio-color-accent); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.editorial-article .entry-header h1 { max-width: 22ch; margin: 1rem 0; font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: 1.02; letter-spacing: -.04em; }
.editorial-article__dek { max-width: 48ch; color: var(--studio-color-muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.75; }
.editorial-article__media { max-width: var(--studio-container); margin: 0 auto clamp(2.5rem, 6vw, 5rem); }
.editorial-article__media img { display: block; width: 100%; max-height: 68vh; object-fit: cover; }
.editorial-article__content { max-width: 42rem; margin: 0 auto; color: var(--studio-color-text); font-size: 1.06rem; line-height: 1.95; }
.editorial-article__content h2 { margin: 3rem 0 1rem; font-size: clamp(1.9rem, 3.2vw, 3rem); }
.editorial-article__content h3 { margin: 2.2rem 0 .8rem; font-size: 1.7rem; }
.editorial-article__content blockquote { margin: 2.5rem 0; padding-left: 1.8rem; border-left: 2px solid var(--studio-color-accent); color: var(--studio-color-text); font-family: var(--studio-font-heading); font-size: 1.7rem; font-style: italic; line-height: 1.24; }
.editorial-article__content img { height: auto; }
.editorial-article__footer { max-width: 48rem; margin: clamp(3.5rem, 8vw, 7rem) auto 0; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: var(--cpb-line); }
.editorial-article__footer h2 { max-width: 20ch; margin: .8rem 0 1rem; font-size: clamp(2rem, 3.4vw, 3.4rem); }
.editorial-article .related-posts { margin-top: 2rem; padding-block: clamp(2.5rem, 6vw, 5rem); border-top: var(--cpb-line); }
.editorial-article .related-posts > h2 { max-width: 20ch; margin-bottom: 1.8rem; font-size: clamp(2rem, 3.4vw, 3.4rem); }

.cpb-article-guide-cta { margin: 3rem 0 1rem; padding: clamp(1.75rem, 4vw, 3rem); border: var(--cpb-line); background: var(--studio-color-surface); }
.cpb-article-guide-cta h2 { max-width: 22ch; margin: .6rem 0 1rem; font-family: var(--studio-font-heading); font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 500; line-height: 1.06; }
.cpb-article-guide-cta > p:not(.cpb-eyebrow) { max-width: 52ch; }
.cpb-article-guide-cta .cpb-button { display: inline-flex; }

/* 10b. Reference bands — press strip, stats, pull quote, testimonials ------- */

.cpb-press-strip {
  padding-block: clamp(1.4rem, 2.4vw, 2.1rem) !important;
  border-block: var(--cpb-line);
  background: var(--studio-color-paper);
  text-align: center;
}

.cpb-press-strip .elementor-widget-heading { margin: 0; }
.cpb-press-strip__label .elementor-heading-title { margin-bottom: .7rem; color: var(--studio-color-muted) !important; font-size: .58rem !important; letter-spacing: .28em !important; }

.cpb-press-strip__list .elementor-heading-title {
  display: flex;
  gap: clamp(1.1rem, 3.4vw, 3rem);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--studio-color-text);
  font-family: var(--studio-font-heading) !important;
  font-size: clamp(1.5rem, 2.7vw, 2.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
}

.cpb-press-strip__list .elementor-heading-title span { color: var(--studio-color-border); font-weight: 400; }

.cpb-stats { padding-block: clamp(1.4rem, 2.3vw, 2.1rem) !important; border-bottom: var(--cpb-line); background: var(--studio-color-paper); }
.cpb-stats > .e-con-inner { display: grid !important; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; }
.e-con.cpb-stats__item { display: flex; flex-direction: column !important; padding: clamp(.7rem, 1.6vw, 1.2rem) clamp(.9rem, 1.8vw, 1.6rem); border-left: var(--cpb-line); text-align: center; }
.cpb-stats__item .cpb-stats__number { order: 2; }
.cpb-stats__item:first-child { padding-left: 0; border-left: 0; }
.cpb-stats__number .elementor-heading-title { color: var(--studio-color-accent); font-family: var(--studio-font-heading) !important; font-size: clamp(2.4rem, 4vw, 3.9rem) !important; font-weight: 400 !important; line-height: .95; }
.cpb-stats__label .elementor-heading-title { margin-bottom: .55rem; color: var(--studio-color-muted); font-family: var(--studio-font-body) !important; font-size: .68rem !important; font-weight: 500 !important; letter-spacing: .02em; text-transform: none; }

.cpb-quote { padding-block: clamp(2.1rem, 3.4vw, 3rem) !important; background: var(--studio-color-surface); text-align: center; }
.cpb-quote__mark .elementor-heading-title { color: var(--studio-color-border); font-family: var(--studio-font-heading) !important; font-size: clamp(2.6rem, 4.4vw, 4rem) !important; line-height: .8; }
.cpb-quote__text .elementor-heading-title { max-width: 30ch; margin: .4rem auto 0; color: var(--studio-color-text); font-family: var(--studio-font-heading) !important; font-size: clamp(1.45rem, 2.75vw, 2.5rem) !important; font-style: italic; font-weight: 400 !important; line-height: 1.24; }
.cpb-quote__by .elementor-heading-title { margin-top: 1.15rem; color: var(--studio-color-muted); font-family: var(--studio-font-body) !important; font-size: .62rem !important; font-weight: 600 !important; letter-spacing: .22em; text-transform: uppercase; }

.cpb-testimonials { background: var(--studio-color-paper); text-align: center; }
/* Single quote, light content: the band doesn't need the full normal top pad. */
.cpb-testimonials.cpb-band--normal { padding-top: clamp(1.75rem, 3vw, 2.75rem) !important; }
/* One quote at a time, centred — three faint cards read as filler; one strong
   quote with dots reads as evidence. */
.cpb-testimonials > .e-con-inner { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: center; }

/* Equal-height cards; the middle one is the featured quote. */
.cpb-testimonials__card,
.cpb-testimonials__card > .e-con-inner { display: none !important; flex-direction: column; }
.cpb-testimonials__card.is-active,
.cpb-testimonials__card.is-active > .e-con-inner { display: flex !important; }
.cpb-testimonials__card.is-active > .e-con-inner { flex: 1; }
.cpb-testimonials__card.is-active {
  width: 100%;
  max-width: 46rem;
  padding: .35rem clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem);
  border: 0;
  background: transparent;
}
.cpb-testimonials__card .cpb-testimonials__name { margin-top: auto; }
.cpb-testimonials__stars .elementor-heading-title { color: var(--studio-color-accent); font-size: .78rem !important; letter-spacing: .3em; }
.cpb-testimonials__quote .elementor-heading-title { margin: .85rem 0 1.1rem; color: var(--studio-color-text); font-family: var(--studio-font-heading) !important; font-size: clamp(1.05rem, 1.55vw, 1.4rem) !important; font-style: italic; font-weight: 400 !important; line-height: 1.35; }
.cpb-testimonials__name .elementor-heading-title { color: var(--studio-color-text); font-family: var(--studio-font-body) !important; font-size: .68rem !important; font-weight: 600 !important; letter-spacing: .14em; text-transform: uppercase; }
.cpb-testimonials__role .elementor-heading-title { margin-top: .35rem; color: var(--studio-color-muted); font-family: var(--studio-font-body) !important; font-size: .68rem !important; }

.cpb-testimonials__dots { display: flex; grid-column: 1 / -1; gap: .5rem; justify-content: center; margin-top: clamp(1.25rem, 2vw, 1.75rem); }
.cpb-testimonials__dot { width: .5rem; height: .5rem; padding: 0; border: 1px solid var(--studio-color-border); border-radius: 50%; background: transparent; cursor: pointer; transition: background .3s var(--cpb-ease), border-color .3s var(--cpb-ease), transform .3s var(--cpb-ease); }
.cpb-testimonials__dot:hover { transform: scale(1.2); }
.cpb-testimonials__dot.is-active { border-color: var(--studio-color-accent); background: var(--studio-color-accent); }

@media (max-width: 900px) {
  .cpb-stats > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpb-stats__item { padding: 1.1rem 1rem; border-top: var(--cpb-line); }
  .cpb-stats__item:nth-child(-n+2) { border-top: 0; }
  .cpb-stats__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cpb-testimonials__card.is-active { padding: .25rem 0 1.5rem; }
  .cpb-testimonials__quote .elementor-heading-title { margin: .6rem 0 .8rem; }
  .cpb-footer-newsletter { padding-bottom: 1.25rem; }
  .cpb-v1-guide__photo img { aspect-ratio: 3 / 2; }
}

/* 11. WooCommerce ---------------------------------------------------------- */

body.woocommerce-shop #primary.site-main { max-width: none; margin: 0; padding: 0; }
body.woocommerce-shop .woocommerce-products-header,
body.woocommerce-shop .page-header {
  max-width: none;
  margin: 0;
  padding: clamp(3.5rem, 6vw, 5.5rem) max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2)) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--studio-color-surface);
}

body.woocommerce-shop .woocommerce-products-header::before,
body.woocommerce-shop .page-header::before { display: block; margin-bottom: 1rem; color: var(--studio-color-accent); content: 'THE DIGITAL LIBRARY'; font-size: .68rem; font-weight: 600; letter-spacing: .24em; }

body.woocommerce-shop .woocommerce-products-header h1,
body.woocommerce-shop .page-header h1 { max-width: 20ch; margin: 0; font-family: var(--studio-font-heading); font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }

body.woocommerce-shop .content-area,
body.woocommerce-shop #primary.site-main { padding-top: 0 !important; }
body.woocommerce-shop .woocommerce-breadcrumb { margin: 1.5rem auto 0; padding-inline: max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2)); }
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering { margin-inline: max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2)); }
body.woocommerce-shop .woocommerce-pagination { margin-top: 3rem; padding-inline: max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2)); }
body.woocommerce-shop .woocommerce-result-count { color: var(--studio-color-muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
body.woocommerce-shop .woocommerce-ordering select { padding: .7rem 2.2rem .7rem 1rem; border: 1px solid var(--studio-color-border); border-radius: 0; background-color: transparent; color: var(--studio-color-text); font: inherit; }
body.woocommerce-shop ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); clear: both; margin: 2.5rem 0 0; padding: 0 max(var(--studio-gutter), calc((100vw - var(--studio-container)) / 2)); list-style: none; }
body.woocommerce-shop ul.products::before, body.woocommerce-shop ul.products::after { display: none; }
body.woocommerce-shop ul.products li.product { float: none; width: auto; min-width: 0; margin: 0; padding: 0; text-align: left; }
body.woocommerce-shop ul.products li.product a { color: var(--studio-color-text); text-decoration: none; }
body.woocommerce-shop ul.products li.product img { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0 0 1.2rem; background: var(--studio-color-surface); object-fit: cover; transition: transform .7s var(--cpb-ease); }
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__link { display: block; overflow: hidden; }
body.woocommerce-shop ul.products li.product:hover img { transform: scale(1.03); }
body.woocommerce-shop ul.products li.product h2 { margin: .7rem 0 .4rem; font-family: var(--studio-font-heading); font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 400; line-height: 1.06; }
body.woocommerce-shop ul.products li.product .price { color: var(--studio-color-muted); font-size: .95rem; }
body.woocommerce-shop ul.products li.product .button { margin-top: 1rem; padding: .8rem 1.5rem; font-size: .66rem; }

body.single-product #primary.site-main { max-width: var(--studio-container); margin-inline: auto; padding: clamp(3rem, 6vw, 6rem) var(--studio-gutter); }
body.single-product .woocommerce-breadcrumb { margin-bottom: clamp(1.5rem, 3vw, 3rem); color: var(--studio-color-muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
body.single-product div.product { display: flow-root; }
body.single-product div.product div.images { width: 48%; margin-bottom: 3rem; }
body.single-product div.product div.images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
body.single-product div.product div.summary { width: 45%; padding-top: clamp(1rem, 3vw, 2.5rem); }
body.single-product div.product .product_title { max-width: 20ch; margin-bottom: 1.2rem; font-family: var(--studio-font-heading); font-size: clamp(2.4rem, 4.4vw, 4.4rem); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
body.single-product div.product p.price { margin-bottom: 1.6rem; color: var(--studio-color-text); font-size: 1.1rem; }
body.single-product div.product .woocommerce-product-details__short-description { max-width: 42ch; color: var(--studio-color-muted); line-height: 1.75; }
body.single-product div.product form.cart { margin-top: 1.8rem; }
body.single-product div.product .woocommerce-tabs { clear: both; padding-top: clamp(2.5rem, 5vw, 5rem); }

body.woocommerce-cart #primary.site-main, body.woocommerce-checkout #primary.site-main, body.woocommerce-account #primary.site-main { max-width: var(--studio-container); margin: 0 auto; padding: clamp(3rem, 6vw, 6rem) var(--studio-gutter) clamp(4rem, 8vw, 7rem); }
body.woocommerce-cart .page-header, body.woocommerce-checkout .page-header, body.woocommerce-account .page-header { margin-bottom: clamp(2rem, 4vw, 4rem); }
body.woocommerce-cart .page-header h1, body.woocommerce-checkout .page-header h1, body.woocommerce-account .page-header h1 { margin: 0; font-family: var(--studio-font-heading); font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -.04em; }
body.woocommerce-cart .wp-block-woocommerce-cart, body.woocommerce-checkout .wp-block-woocommerce-checkout { font-family: var(--studio-font-body); }
body.woocommerce-cart .wc-block-cart__empty-cart__title { font-family: var(--studio-font-heading); font-size: clamp(1.9rem, 3.4vw, 3.2rem); font-weight: 400; }
body.woocommerce-cart .wc-block-cart__empty-cart__title.with-empty-cart-icon::before { display: none; }
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block { max-width: 900px; margin: 0 auto; padding-block: clamp(1.5rem, 4vw, 4rem); }
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2:not(:first-child) { margin: 3rem 0 1.6rem; font-family: var(--studio-font-heading); font-size: clamp(1.9rem, 3.4vw, 3.2rem); font-weight: 400; }
body.woocommerce-cart .wc-block-grid__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
body.woocommerce-cart .wc-block-grid__product { max-width: none; border: 0; }
body.woocommerce-cart .wc-block-grid__product-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top: 0; border-radius: 0; background: var(--studio-color-surface); color: var(--studio-color-text); font-size: .9rem; }

/* 12. Footer --------------------------------------------------------------- */

.site-footer { border-top: var(--cpb-line); background: var(--studio-color-surface); color: var(--studio-color-text); }
.site-footer p { margin: 0; }

/* Subscribe band: copy on the left, a real, visible form on the right. */
.cpb-footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--studio-container);
  margin-inline: auto;
  padding: clamp(2rem, 3.4vw, 3rem) var(--studio-gutter);
}
.cpb-footer-newsletter__label { margin-bottom: .6rem; color: var(--studio-color-accent); font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.cpb-footer-newsletter__title { max-width: 22ch; margin: 0 0 .6rem; font-family: var(--studio-font-heading); font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.14; }
.cpb-footer-newsletter__note { max-width: 46ch; color: var(--studio-color-muted); font-size: .86rem; line-height: 1.65; }
.cpb-footer-newsletter__form { width: 100%; max-width: 34rem; justify-self: end; }

/* Fluent Forms loads its stylesheet after this file, hence the !important. */
.cpb-footer-newsletter__form .fluentform { padding: 0; border: 0; background: transparent; }
.cpb-footer-newsletter__form .fluentform form,
.cpb-footer-newsletter__form .fluentform fieldset { display: flex !important; flex-wrap: wrap; gap: .9rem 1.1rem; align-items: flex-end; border: 0 !important; margin: 0 !important; padding: 0 !important; }
.cpb-footer-newsletter__form .fluentform .ff-el-group { flex: 1 1 12rem !important; margin: 0 !important; }
.cpb-footer-newsletter__form .fluentform .ff-el-group:has(input[type="checkbox"]) { flex-basis: 100% !important; }
.cpb-footer-newsletter__form .fluentform .ff-el-group:has(.ff-btn-submit) { flex: 0 0 auto !important; }
.cpb-footer-newsletter__form .fluentform .ff-el-input--content { width: 100%; }
.cpb-footer-newsletter__form .fluentform .ff-el-input--label { margin-bottom: .4rem !important; }

/* Consent field: checkbox and its sentence sit on one line. */
.cpb-footer-newsletter__form .fluentform .ff-el-form-hide_label > .ff-el-input--label { display: none !important; }
.cpb-footer-newsletter__form .fluentform .ff-el-form-check { display: block !important; }
.cpb-footer-newsletter__form .fluentform .ff-el-form-check-label { display: flex !important; gap: .55rem; align-items: flex-start; color: var(--studio-color-text); font-size: .84rem; line-height: 1.5; }
.cpb-footer-newsletter__form .fluentform input[type="checkbox"] { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin: .15rem 0 0 !important; accent-color: var(--studio-color-text); }
.cpb-footer-newsletter__form .fluentform .ff-el-input--label label { color: var(--studio-color-muted) !important; font-size: .78rem !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; }
/* The required marker lives on the label wrapper, so hide only the asterisk itself. */
.cpb-footer-newsletter__form .fluentform .ff-el-input--label.ff-el-is-required::after,
.cpb-footer-newsletter__form .fluentform .ff-el-input--label .ff-el-is-required { display: none !important; }
.cpb-footer-newsletter__form .fluentform .ff-el-form-control {
  width: 100% !important;
  min-height: 3rem !important;
  padding: .8rem 1rem !important;
  border: 1px solid var(--studio-color-border) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, .66) !important;
  box-shadow: none !important;
  color: var(--studio-color-text) !important;
  font-family: var(--studio-font-body) !important;
  font-size: .92rem !important;
}
.cpb-footer-newsletter__form .fluentform .ff-el-form-control:focus { border-color: var(--studio-color-accent) !important; outline: none !important; }
.cpb-footer-newsletter__form .fluentform .ff-btn-submit { margin: 0 !important; padding: .95rem 2rem !important; border: 1px solid var(--studio-color-text) !important; border-radius: var(--cpb-pill) !important; background: var(--studio-color-text) !important; color: #fff !important; font-size: .64rem !important; letter-spacing: .16em !important; }
.cpb-footer-newsletter__form .fluentform .ff-btn-submit:hover { border-color: var(--studio-color-accent) !important; background: var(--studio-color-accent) !important; }

/* Brand, links and socials share one balanced row — no empty middle column. */
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(.9rem, 1.8vw, 1.4rem);
  border-top: var(--cpb-line);
}

/* The link list sits flush with the container edge so it lines up with the form above. */
.cpb-footer-links { justify-self: end; }
.cpb-footer-brand a { display: inline-block; color: var(--studio-color-text); font-family: var(--studio-font-heading); font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.14; text-decoration: none; }
.cpb-footer-brand p { max-width: 34ch; margin-top: .8rem; color: var(--studio-color-muted); font-size: .86rem; line-height: 1.6; }

.cpb-footer-links ul { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; list-style: none; }
/* Right column hugs the container edge, lining up with the form above. */
.cpb-footer-links ul li:nth-child(even) { text-align: right; }
.cpb-footer-links a,
.site-footer .footer-socials a { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; transition: color .3s var(--cpb-ease); }
.cpb-footer-links a:hover, .cpb-footer-links a:focus-visible,
.site-footer .footer-socials a:hover { color: var(--studio-color-accent); }
.site-footer .footer-socials { display: flex; flex-direction: column; gap: .8rem; align-items: flex-start; }

.cpb-footer-legal {
  display: flex;
  gap: .4rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--studio-container);
  margin-inline: auto;
  padding: 1.15rem var(--studio-gutter);
  border-top: var(--cpb-line);
  color: var(--studio-color-muted);
  font-size: .74rem;
}

@media (max-width: 900px) {
  .cpb-footer-newsletter { grid-template-columns: 1fr; gap: 1.5rem; }
  .cpb-footer-newsletter__form { max-width: none; justify-self: stretch; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer .footer-socials { flex-direction: row; gap: 1.5rem; }
  .cpb-footer-legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .cpb-footer-links ul { grid-template-columns: 1fr; }
}

/* 13. Motion --------------------------------------------------------------- */

@keyframes cpb-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cpb-reveal-in { from { opacity: 0; transform: translateY(1.6rem); } to { opacity: 1; transform: none; } }
@keyframes cpb-copy-in { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }
@keyframes cpb-hero-photo-in { from { opacity: .5; clip-path: inset(0 0 12% 0); transform: scale(1.03); } to { opacity: 1; clip-path: inset(0); transform: scale(1); } }

.cpb-motion-ready .cpb-reveal { opacity: 1; transform: none; }
.cpb-motion-ready .cpb-reveal.is-visible { animation: cpb-reveal-in .9s var(--cpb-ease) both; }

.cpb-motion-ready .cpb-hero.is-visible .cpb-hero-copy > .elementor-element { animation: cpb-copy-in .8s var(--cpb-ease) both; }
.cpb-motion-ready .cpb-hero.is-visible .cpb-hero-copy > .elementor-element:nth-child(2) { animation-delay: .1s; }
.cpb-motion-ready .cpb-hero.is-visible .cpb-hero-copy > .elementor-element:nth-child(3) { animation-delay: .2s; }
.cpb-motion-ready .cpb-hero.is-visible .cpb-hero-copy > .elementor-element:nth-child(4) { animation-delay: .3s; }
.cpb-motion-ready .cpb-hero.is-visible .cpb-hero-photo img { animation: cpb-hero-photo-in 1.1s .12s var(--cpb-ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .cpb-motion-ready .cpb-reveal.is-visible,
  .cpb-motion-ready .cpb-hero.is-visible .cpb-hero-copy > .elementor-element,
  .cpb-motion-ready .cpb-hero.is-visible .cpb-hero-photo img,
  .studio-service-stage__media img { animation: none !important; }
  .studio-transformation__step, .studio-transformation__step.is-current { opacity: 1; transform: none !important; }
}

/* 14. Responsive ----------------------------------------------------------- */

@media (max-width: 1024px) {
  body.home .cpb-hero, body.home .cpb-hero > .e-con-inner { min-height: 100svh; }
  body.home .cpb-hero-copy { min-height: 100svh; padding-top: 9rem !important; }

  .cpb-clara-about > .e-con-inner,
  .cpb-v1-guide > .e-con-inner,
  .cpb-v1-cover > .e-con-inner,
  .cpb-section.cpb-split > .e-con-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .cpb-clara-about__media { height: min(120vw, 34rem); }
  .cpb-v1-cover__media { order: -1; }
  .cpb-editorial-portfolio__grid > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpb-editorial-portfolio__grid > .e-con-inner > .e-con:nth-child(3) { padding-top: 0; }

  .studio-service-stage { grid-template-columns: 1fr; gap: 2rem; }
  .studio-service-stage__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-service-stage__tab { display: block; padding: 1.1rem .6rem; }
  .studio-service-stage__tab:hover, .studio-service-stage__tab.is-active { padding-left: .6rem; }
  .studio-service-stage__copy { grid-template-columns: 2.5rem minmax(0, 1fr); grid-template-areas: "count title" ". description" ". link"; }
  .studio-transformation { grid-template-columns: 1fr; }
  .studio-transformation__intro { position: static; }
  .studio-transformation__step { min-height: 24vh; }
  .cpb-process-grid > .e-con-inner { grid-template-columns: 1fr; gap: 1.5rem !important; }
  .studio-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-archive__grid { grid-template-columns: 1fr; row-gap: 3rem; }
  .editorial-story-card--featured { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  body.single-product div.product div.images, body.single-product div.product div.summary { float: none; width: 100%; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .site-footer ul, .site-footer .footer-socials { flex-direction: row; flex-wrap: wrap; gap: .8rem 1.6rem; }
}

@media (max-width: 700px) {
  :root { --cpb-section-y: 2.65rem; }

  /* Phone header: wordmark on one line, hamburger on the right.
     The full-width CTA lives in the slide-down menu instead of crowding the bar. */
  .site-header__inner { min-height: 4.25rem; gap: .75rem; }
  .site-title { font-size: 1.1rem; white-space: nowrap; }
  .header-cta, .header-cart { display: none; }
  .menu-toggle { width: 2.5rem; height: 2.5rem; }

  .cpb-section:not(.cpb-hero),
  .cpb-clara-about,
  .cpb-editorial-statement,
  .e-con.cpb-v1-cover { padding-inline: 1.25rem !important; }

  .studio-section-heading__title,
  .cpb-display .elementor-heading-title,
  .cpb-v1-cover .cpb-display .elementor-heading-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }

  body.home .cpb-hero-copy { padding: 8rem 1.25rem 3.5rem !important; gap: 1.1rem; }
  body.home .cpb-hero .cpb-display .elementor-heading-title { max-width: 10ch; font-size: clamp(3.6rem, 14vw, 5.25rem) !important; line-height: .87 !important; }
  body.home .cpb-hero-copy .elementor-widget-text-editor { max-width: 20rem; }
  body.home .cpb-hero-media .cpb-hero-photo img { width: 100%; object-position: 56% center; }
  body.home .cpb-hero::before { background: linear-gradient(180deg, rgba(30, 24, 23, .28), rgba(30, 24, 23, .35) 35%, rgba(30, 24, 23, .7)); }

  .cpb-clara-about__media { height: 96vw; }
  .cpb-clara-about [data-id="aboutTeaserInset"] { width: 46%; bottom: 1rem; border-width: .4rem; }

  .studio-service-cards { grid-template-columns: 1fr; gap: 1.6rem; }
  .studio-service-cards__media img { aspect-ratio: 3 / 2; }
  .studio-service-cards__copy { padding: .9rem 0 0; }
  .studio-service-cards__number { font-size: 2.6rem; }

  .cpb-editorial-portfolio__grid > .e-con-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cpb-editorial-portfolio__grid > .e-con-inner > .e-con:nth-child(2) { padding-top: 0; }
  .cpb-editorial-portfolio__grid .elementor-widget-image img { aspect-ratio: 3 / 2; }

  .studio-content-grid { grid-template-columns: 1fr; }
  .cpb-v1-cover__media .elementor-widget-image img { aspect-ratio: 5 / 4; }
  .cpb-v1-cover--about .cpb-v1-cover__media .elementor-widget-image img { aspect-ratio: 4 / 5; }

  .editorial-article .entry-header h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .editorial-article__content { font-size: 1rem; }

  .cpb-method-step > .e-con-inner { grid-template-columns: 2.2rem minmax(0, 1fr); grid-template-areas: "n t" "n d"; padding: 1.3rem 0; }
  .cpb-method-step > .e-con-inner::before { grid-area: n; }
  .cpb-method-step .elementor-widget-heading { grid-area: t; }
  .cpb-method-step .elementor-widget-text-editor { grid-area: d; }

  body.woocommerce-shop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.woocommerce-shop .page-header { padding-inline: 1.25rem; }
  body.woocommerce-shop .entry-content,
  body.single-product #primary.site-main,
  body.woocommerce-cart #primary.site-main,
  body.woocommerce-checkout #primary.site-main,
  body.woocommerce-account #primary.site-main { padding-inline: 1.25rem; }
}

@media (max-width: 520px) {
  body.woocommerce-shop ul.products { grid-template-columns: 1fr; }
  body.woocommerce-cart .wc-block-grid__products { grid-template-columns: 1fr; }
  .primary-navigation ul { gap: 1rem; }
}

/* Shop refinement: one content width, compact masthead and aligned cards. */
.site-header__inner { gap: clamp(.8rem, 1.5vw, 1.5rem); }
.site-branding, .header-cart, .header-cta { flex-shrink: 0; }
.site-title, .header-cta, .header-cart, .primary-navigation a { white-space: nowrap; }
.primary-navigation ul { align-items: center; gap: clamp(.75rem, 1.3vw, 1.3rem); }
.primary-navigation a { line-height: 1.4; letter-spacing: .1em; }
body.woocommerce-shop #primary.site-main,
body.woocommerce-shop #main.site-main { width: min(100% - 3rem, 1160px); margin: 0 auto; padding: 2rem 0 4.5rem !important; }
body.woocommerce-shop .woocommerce-breadcrumb { margin: 0 0 1.5rem; padding: 0; font-size: .65rem; }
body.woocommerce-shop .woocommerce-products-header,
body.woocommerce-shop .page-header { padding: 1.75rem 0 2rem; margin: 0 0 1.5rem; background: transparent; border-bottom: var(--cpb-line); }
body.woocommerce-shop .woocommerce-products-header::before,
body.woocommerce-shop .page-header::before { margin-bottom: .6rem; }
body.woocommerce-shop .woocommerce-products-header h1,
body.woocommerce-shop .page-header h1 { font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.05; }
body.woocommerce-shop .woocommerce-result-count { float: left; margin: .8rem 0 1.5rem; font-size: .65rem; }
body.woocommerce-shop .woocommerce-ordering { float: right; margin: 0 0 1.5rem; }
body.woocommerce-shop .woocommerce-ordering select { font-size: .8rem; padding: .65rem 2rem .65rem .8rem; }
body.woocommerce-shop ul.products { padding: 0; margin: 0; gap: 2rem; }
body.woocommerce-shop ul.products li.product { display: flex; flex-direction: column; }
body.woocommerce-shop ul.products li.product img { aspect-ratio: 4 / 3; margin-bottom: 1rem; }
body.woocommerce-shop ul.products li.product h2.woocommerce-loop-product__title { padding: 0; margin: 0 0 .6rem; min-height: 2.5em; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.2; }
body.woocommerce-shop ul.products li.product .price { font-size: .85rem; margin-bottom: 1rem; }
body.woocommerce-shop ul.products li.product .button { align-self: flex-start; margin-top: auto; padding: .75rem 1.2rem; }
@media (min-width: 1101px) and (max-width: 1250px) {
  .header-cta { padding-inline: 1rem; font-size: .6rem; }
  .primary-navigation a { font-size: .62rem; }
  .site-title { font-size: 1.35rem; }
}
@media (max-width: 1100px) {
  .site-header { position: relative; }
  .menu-toggle { display: block; margin-left: auto; flex-shrink: 0; }
  .header-cta, .header-cart { display: none; }
  .primary-navigation { display: none; position: absolute; inset: 100% 0 auto; padding: 1rem var(--studio-gutter); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { align-items: stretch; }
}
@media (max-width: 600px) {
  body.woocommerce-shop #primary.site-main,
  body.woocommerce-shop #main.site-main { width: calc(100% - 2.5rem); padding-top: 1.25rem !important; }
  body.woocommerce-shop ul.products { grid-template-columns: 1fr; gap: 2.5rem; }
  body.woocommerce-shop ul.products li.product h2.woocommerce-loop-product__title { min-height: 0; font-size: 1.5rem; }
  body.woocommerce-shop .woocommerce-result-count, body.woocommerce-shop .woocommerce-ordering { float: none; }
}

/* 15. Mobile dropdown menu ------------------------------------------------- */

@media (max-width: 1100px) {
  .primary-navigation {
    border-bottom: var(--cpb-line);
    background: var(--studio-color-paper);
    box-shadow: 0 18px 30px rgba(24, 18, 15, .08);
  }
  /* The home header forces white links for the hero; the dropdown sits on a
     paper panel, so the ink colour must win there. */
  body.home .site-header .primary-navigation a,
  .primary-navigation a { color: var(--studio-color-text); }
  .primary-navigation ul { flex-direction: column; gap: 0; padding: .5rem 0; }
  .primary-navigation li { border-bottom: var(--cpb-line); }
  .primary-navigation li:last-child { border-bottom: 0; }
  .primary-navigation a { display: block; padding: .95rem 0; }
}
