/*
 * JWELL Love front-end architecture.
 * This layer consolidates the homepage, global header, and footer into one
 * container, breakpoint, typography, and editorial image system.
 */

:root {
  --jwl-container: 1280px;
  --jwl-gutter: 64px;
  --jwl-section-space: 128px;
  --jwl-header-height: 80px;
  --jwl-type-h1: 80px;
  --jwl-type-h2: 54px;
  --jwl-type-h3: 28px;
  --jwl-type-body: 18px;
  --jwl-type-small: 13px;
  --jwl-burgundy: #512431;
  --jwl-burgundy-deep: #321d25;
  --jwl-dusty-rose: #b66f7c;
  --jwl-blush: #ead2d2;
  --jwl-cream-clean: #fff9f4;
  --jwl-warm-neutral: #f3e8df;
  --jwl-stone: #e9ebe6;
  --jwl-charcoal: #2d2729;
  --jwl-page-edge: max(var(--jwl-gutter), calc((100vw - var(--jwl-container)) / 2));
}

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

.jwelllove-elementor-site :where(
  .jwl-site-header__inner,
  .jwl-site-footer__inner,
  .jwl-site-footer__bottom,
  .jwl-editable-home *,
  .jwl-editable-page *,
  .jwl-product-grid *,
  .jwl-product-template__inner *
) {
  min-width: 0;
}

.jwelllove-elementor-site :where(h1, h2, h3) {
  hyphens: none;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.jwelllove-elementor-site img {
  height: auto;
  max-width: 100%;
}

/* Header */
.jwl-site-header {
  background: rgba(255, 249, 244, 0.97);
  border-bottom-color: rgba(81, 36, 49, 0.1);
}

.jwl-site-header__inner {
  gap: 32px;
  max-width: var(--jwl-container);
  min-height: var(--jwl-header-height);
  padding: 12px var(--jwl-gutter);
}

.jwl-site-header .custom-logo {
  max-height: 50px;
  width: 160px;
}

.jwl-main-nav {
  min-width: 0;
}

.jwl-nav {
  gap: 30px;
}

.jwl-nav a {
  color: var(--jwl-charcoal);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.jwl-header-cta {
  flex: 0 0 auto;
  font-size: 15px;
  min-height: 46px;
  padding-inline: 22px;
}

.jwl-mobile-nav-cta {
  display: none;
}

/* Homepage foundation */
.jwl-editable-home {
  background: var(--jwl-cream-clean);
  color: var(--jwl-charcoal);
  width: 100%;
}

.jwl-editable-home > * {
  margin: 0;
  max-width: none;
  width: 100%;
}

.jwl-editable-home :where(h1, h2, h3) {
  color: var(--jwl-burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.jwl-editable-home h1 {
  font-size: var(--jwl-type-h1);
  line-height: 0.98;
}

.jwl-editable-home h2 {
  font-size: var(--jwl-type-h2);
  line-height: 1.02;
}

.jwl-editable-home h3 {
  font-size: var(--jwl-type-h3);
  line-height: 1.08;
}

.jwl-editable-home :where(p, li) {
  font-size: var(--jwl-type-body);
  line-height: 1.55;
}

.jwl-editable-home .jwl-eyebrow {
  color: var(--jwl-dusty-rose);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--jwl-type-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.jwl-editable-home .wp-block-button__link {
  font-size: 15px;
  min-height: 48px;
  padding: 14px 24px;
}

/* Hero: grid media and copy instead of an absolutely positioned cover. */
.jwl-editable-home > .jwl-editable-hero {
  align-items: stretch;
  background: var(--jwl-warm-neutral);
  display: grid !important;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: clamp(680px, calc(100vh - var(--jwl-header-height)), 900px) !important;
  padding: 0;
}

.jwl-editable-home > .jwl-editable-hero-mobile {
  display: none;
  margin: 0;
}

.jwl-editable-hero > .wp-block-cover__background,
.jwl-editable-hero::after {
  display: none !important;
}

.jwl-editable-hero .wp-block-cover__image-background {
  align-self: stretch;
  grid-column: 2;
  grid-row: 1;
  height: 100% !important;
  inset: auto !important;
  object-fit: cover;
  object-position: 72% center !important;
  position: static !important;
  width: 100%;
}

.jwl-editable-hero .wp-block-cover__inner-container {
  align-self: center;
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  max-width: none;
  padding: 72px 48px 72px var(--jwl-page-edge);
  width: 100%;
}

.jwl-editable-hero h1 {
  margin: 18px 0 0;
  max-width: 9.2ch;
}

.jwl-editable-hero .jwl-lead {
  color: #5f5256;
  margin: 26px 0 0;
  max-width: 31rem;
}

.jwl-editable-hero .jwl-editable-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.jwl-editable-hero .jwl-editable-actions .wp-block-button:nth-child(2) .wp-block-button__link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--jwl-burgundy);
  min-height: 0;
  padding: 7px 0 5px;
}

/* Trust strip */
.jwl-editable-home > .jwl-editable-trust {
  background: #fff;
  border: 0;
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: auto;
  max-width: var(--jwl-container);
  padding-inline: var(--jwl-gutter);
}

.jwl-editable-trust .wp-block-column {
  align-items: center;
  border-bottom: 1px solid rgba(81, 36, 49, 0.12);
  border-left: 0 !important;
  border-top: 0 !important;
  color: var(--jwl-burgundy);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 124px;
  padding: 22px 16px;
}

.jwl-editable-trust .wp-block-column + .wp-block-column {
  border-left: 1px solid rgba(81, 36, 49, 0.12) !important;
}

.jwl-editable-trust .wp-block-column::before {
  background: currentColor;
  content: "";
  display: block;
  height: 25px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 25px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.jwl-editable-trust .wp-block-column:nth-child(1)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 18 2 18 2c0 7-3 12-7 14'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6.94'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 18 2 18 2c0 7-3 12-7 14'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6.94'/%3E%3C/svg%3E");
}

.jwl-editable-trust .wp-block-column:nth-child(2)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16.5 9.4-9-5.19'/%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16.5 9.4-9-5.19'/%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='M3.3 7 12 12l8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
}

.jwl-editable-trust .wp-block-column:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 10 5-10 5L2 7l10-5Z'/%3E%3Cpath d='m2 17 10 5 10-5'/%3E%3Cpath d='m2 12 10 5 10-5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 10 5-10 5L2 7l10-5Z'/%3E%3Cpath d='m2 17 10 5 10-5'/%3E%3Cpath d='m2 12 10 5 10-5'/%3E%3C/svg%3E");
}

.jwl-editable-trust .wp-block-column:nth-child(4)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 0 20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 0 0 20'/%3E%3C/svg%3E");
}

.jwl-editable-trust p {
  color: currentColor !important;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 1.3 !important;
  margin: 0;
  max-width: 18rem !important;
  text-align: center;
}

/* Three primary pathways */
.jwl-editable-home > .jwl-editable-intro {
  background: var(--jwl-cream-clean);
  padding: var(--jwl-section-space) var(--jwl-gutter);
  text-align: left;
}

.jwl-editable-intro > .jwl-eyebrow,
.jwl-editable-intro > h2,
.jwl-editable-intro > .jwl-editable-category-wall {
  margin-inline: auto;
  max-width: var(--jwl-container);
}

.jwl-editable-intro > h2 {
  margin-top: 14px;
  max-width: min(var(--jwl-container), 17ch);
}

.jwl-editable-category-wall {
  display: grid !important;
  gap: 28px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px !important;
}

.jwl-editable-category-wall .wp-block-column {
  background: transparent;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.jwl-editable-category-wall figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.jwl-editable-category-wall img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
  width: 100%;
}

.jwl-editable-category-wall .wp-block-column:hover img {
  transform: scale(1.025);
}

.jwl-editable-category-wall h3 {
  margin: 24px 0 0;
}

.jwl-editable-category-wall h3::after {
  color: #6d6064;
  display: block;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 9px;
}

.jwl-editable-category-wall .wp-block-column:nth-child(1) h3::after {
  content: "Adaptable models for wholesale programs.";
}

.jwl-editable-category-wall .wp-block-column:nth-child(2) h3::after {
  content: "Logo, color and packaging options.";
}

.jwl-editable-category-wall .wp-block-column:nth-child(3) h3::after {
  content: "Sample, material and packaging review.";
}

.jwl-editable-category-wall .wp-block-buttons {
  margin: 18px 0 0;
}

.jwl-editable-category-wall .wp-block-button__link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--jwl-burgundy);
  border-radius: 0;
  color: var(--jwl-burgundy);
  min-height: 0;
  padding: 5px 0;
}

/* Featured products */
.jwl-editable-home > .jwl-editable-products {
  background: #fff;
  padding: var(--jwl-section-space) var(--jwl-gutter);
}

.jwl-editable-products > .jwl-editable-section-head,
.jwl-editable-products > .jwl-product-grid--collection {
  margin-inline: auto;
  max-width: var(--jwl-container);
}

.jwl-editable-section-head {
  align-items: end !important;
  display: grid !important;
  gap: 36px !important;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 48px !important;
}

.jwl-editable-section-head .wp-block-column:last-child {
  display: flex;
  justify-content: flex-end;
}

.jwl-editable-products h2 {
  margin-top: 14px;
  max-width: 16ch;
}

.jwl-editable-products .jwl-product-grid--collection {
  display: grid;
  gap: 42px 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.jwl-editable-products .jwl-product-card {
  background: transparent;
  display: flex;
  height: 100%;
  padding: 0;
}

.jwl-editable-products .jwl-product-card__image {
  aspect-ratio: 1 / 1;
  background: #f8efea;
  border: 0;
  border-radius: 0;
  margin: 0 0 20px;
  overflow: hidden;
}

.jwl-editable-products .jwl-product-card__image img {
  height: 100%;
  object-fit: contain;
  padding: 3%;
  width: 100%;
}

.jwl-editable-products .jwl-product-card h3 {
  display: -webkit-box;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  height: auto;
  line-height: 1.28;
  margin: 0 0 8px;
  max-height: 2.56em;
  min-height: 2.56em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.jwl-editable-products .jwl-product-card p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 5px;
}

.jwl-editable-products .jwl-product-card__model {
  color: var(--jwl-burgundy);
  font-weight: 750;
  order: 3;
}

.jwl-editable-products .jwl-product-card__category {
  color: #74676b;
  order: 4;
}

.jwl-editable-products .jwl-product-card__link {
  align-self: flex-start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--jwl-burgundy);
  border-radius: 0;
  color: var(--jwl-burgundy);
  font-size: 14px;
  margin: 18px 0 0;
  min-height: 0;
  order: 5;
  padding: 5px 0;
}

/* Repeated homepage sections remain editable in WordPress but are omitted here. */
.jwl-editable-home > :where(.jwl-editable-banner, .jwl-editable-story, .jwl-editable-resources) {
  display: none !important;
}

/* Shared editorial image and copy language. */
.jwl-editable-home > .jwl-editable-split,
.jwl-editable-home > .jwl-editable-showroom {
  margin: var(--jwl-section-space) auto 0;
  max-width: var(--jwl-container);
  width: calc(100% - (var(--jwl-gutter) * 2));
}

.jwl-editable-home > .jwl-editable-split {
  align-items: stretch;
  background: var(--jwl-warm-neutral);
  display: grid !important;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr) !important;
  min-height: 0 !important;
}

.jwl-editable-home > .jwl-editable-split-light {
  background: var(--jwl-stone);
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr) !important;
}

.jwl-editable-split .wp-block-media-text__media {
  aspect-ratio: 5 / 4;
  background-image: none !important;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.jwl-editable-split.has-media-on-the-right .wp-block-media-text__media {
  grid-column: 2;
}

.jwl-editable-split .wp-block-media-text__media > img {
  clip: auto !important;
  clip-path: none !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  position: static !important;
  width: 100% !important;
}

.jwl-editable-split .wp-block-media-text__content {
  align-self: center;
  grid-column: 2;
  grid-row: 1;
  padding: 64px;
}

.jwl-editable-split.has-media-on-the-right .wp-block-media-text__content {
  grid-column: 1;
}

.jwl-editable-split h2 {
  margin-top: 14px;
  max-width: 11ch;
}

.jwl-editable-split .jwl-lead {
  color: #62565a;
  margin: 24px 0 0;
}

.jwl-editable-list {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 28px 0 34px;
  padding: 0;
}

.jwl-editable-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jwl-editable-list li,
.jwl-editable-list-grid li {
  background: transparent;
  border-bottom: 1px solid rgba(81, 36, 49, 0.18);
  color: var(--jwl-burgundy);
  font-size: 15px;
  font-weight: 750;
  padding: 12px 0;
}

.jwl-editable-list-grid li:nth-child(odd) {
  padding-right: 18px;
}

.jwl-editable-list-grid li:nth-child(even) {
  padding-left: 18px;
}

/* About editorial section, using the existing showroom image without a text card. */
.jwl-editable-home > .jwl-editable-showroom {
  align-items: stretch;
  background: var(--jwl-cream-clean);
  display: grid !important;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  min-height: 0 !important;
  padding-bottom: var(--jwl-section-space);
}

.jwl-editable-showroom > .wp-block-cover__background,
.jwl-editable-showroom::after {
  display: none !important;
}

.jwl-editable-showroom .wp-block-cover__image-background {
  align-self: stretch;
  aspect-ratio: 5 / 4;
  grid-column: 1;
  grid-row: 1;
  height: 100% !important;
  inset: auto !important;
  object-fit: cover;
  object-position: center !important;
  position: static !important;
  width: 100%;
}

.jwl-editable-showroom .wp-block-cover__inner-container {
  align-self: center;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  max-width: none;
  padding: 64px;
}

.jwl-editable-showroom .jwl-editable-glass {
  background: transparent;
  margin: 0 !important;
  max-width: none !important;
  padding: 0;
}

.jwl-editable-showroom h2 {
  margin-top: 14px;
  max-width: 12ch;
}

.jwl-editable-showroom .jwl-lead {
  color: #62565a;
  margin: 24px 0 0;
}

/* Final CTA */
.jwl-editable-home > .jwl-editable-final {
  align-items: center;
  background: var(--jwl-burgundy-deep);
  color: #fff;
  display: grid !important;
  min-height: 480px !important;
  padding: 0;
}

/* Quality page facility overview: keep the supplied vertical image complete. */
.jwl-editable-page-body > .jwl-editable-facility-overview {
  margin-top: clamp(72px, 8vw, 120px);
  max-width: 1086px;
  padding-inline: var(--jwl-gutter);
  text-align: center;
}

.jwl-editable-facility-overview > :where(h2, p) {
  margin-left: auto;
  margin-right: auto;
}

.jwl-editable-facility-overview > p {
  margin-top: 20px;
}

.jwl-editable-facility-image {
  margin: 38px auto 0;
  max-width: 1086px;
}

.jwl-editable-facility-image a,
.jwl-editable-facility-image img {
  display: block;
  width: 100%;
}

.jwl-editable-facility-image img {
  height: auto;
}

.jwl-editable-final > .wp-block-cover__image-background,
.jwl-editable-final > .wp-block-cover__background,
.jwl-editable-final::after {
  display: none !important;
}

.jwl-editable-final .wp-block-cover__inner-container {
  margin: 0 auto;
  max-width: var(--jwl-container);
  padding: 92px var(--jwl-gutter);
  width: 100%;
}

.jwl-editable-final :where(.jwl-eyebrow, h2, .jwl-lead) {
  color: #fff;
}

.jwl-editable-final h2 {
  margin-top: 14px;
  max-width: 14ch;
}

.jwl-editable-final .jwl-lead {
  margin: 24px 0 0;
  max-width: 37rem;
}

.jwl-editable-final .jwl-editable-actions {
  margin-top: 32px;
}

.jwl-editable-final .wp-block-button__link {
  background: #fff;
  border-color: #fff;
  color: var(--jwl-burgundy-deep);
}

.jwl-editable-final .wp-block-button:nth-child(2) {
  display: none;
}

/* Footer */
.jwl-site-footer {
  padding: 72px var(--jwl-gutter) 24px;
}

.jwl-site-footer__inner,
.jwl-site-footer__bottom {
  max-width: var(--jwl-container);
}

.jwl-site-footer__inner {
  gap: 48px;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.72fr));
}

.jwl-site-footer h2 {
  font-size: 14px;
}

.jwl-site-footer :where(a, p, span, summary) {
  font-size: 15px;
}

/* Laptop: 1024-1279 */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --jwl-gutter: 40px;
    --jwl-section-space: 104px;
    --jwl-type-h1: 64px;
    --jwl-type-h2: 46px;
    --jwl-type-h3: 25px;
    --jwl-type-body: 17px;
  }

  .jwl-editable-hero .wp-block-cover__inner-container {
    padding-right: 36px;
  }

  .jwl-editable-split .wp-block-media-text__content,
  .jwl-editable-showroom .wp-block-cover__inner-container {
    padding: 46px;
  }

  .jwl-editable-products .jwl-product-grid--collection {
    gap: 34px 22px;
  }
}

/* Tablet: 768-1023 */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --jwl-gutter: 32px;
    --jwl-section-space: 88px;
    --jwl-type-h1: 54px;
    --jwl-type-h2: 40px;
    --jwl-type-h3: 24px;
    --jwl-type-body: 17px;
  }

  .jwl-editable-home > .jwl-editable-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0 !important;
  }

  .jwl-editable-hero .wp-block-cover__inner-container {
    grid-column: 1;
    grid-row: 1;
    padding: 72px var(--jwl-gutter) 64px;
  }

  .jwl-editable-hero h1 {
    max-width: 14ch;
  }

  .jwl-editable-hero .wp-block-cover__image-background {
    aspect-ratio: 16 / 9;
    grid-column: 1;
    grid-row: 2;
    height: auto !important;
    object-position: 68% center !important;
  }

  .jwl-editable-home > .jwl-editable-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jwl-editable-trust .wp-block-column:nth-child(3) {
    border-left: 0 !important;
  }

  .jwl-editable-category-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jwl-editable-category-wall .wp-block-column:last-child {
    grid-column: 1 / -1;
  }

  .jwl-editable-category-wall .wp-block-column:last-child figure {
    aspect-ratio: 16 / 8;
  }

  .jwl-editable-products .jwl-product-grid--collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jwl-editable-home > .jwl-editable-split,
  .jwl-editable-home > .jwl-editable-showroom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .jwl-editable-split .wp-block-media-text__media,
  .jwl-editable-split.has-media-on-the-right .wp-block-media-text__media,
  .jwl-editable-showroom .wp-block-cover__image-background {
    aspect-ratio: 16 / 9;
    grid-column: 1;
    grid-row: 1;
    height: auto !important;
  }

  .jwl-editable-split .wp-block-media-text__content,
  .jwl-editable-split.has-media-on-the-right .wp-block-media-text__content,
  .jwl-editable-showroom .wp-block-cover__inner-container {
    grid-column: 1;
    grid-row: 2;
    padding: 58px;
  }

  .jwl-site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 0-767 */
@media (max-width: 767px) {
  :root {
    --jwl-gutter: 20px;
    --jwl-section-space: 72px;
    --jwl-header-height: 70px;
    --jwl-type-h1: 42px;
    --jwl-type-h2: 34px;
    --jwl-type-h3: 22px;
    --jwl-type-body: 16px;
  }

  .jwl-editable-home > .jwl-editable-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0 !important;
  }

  .jwl-editable-hero .wp-block-cover__inner-container {
    grid-column: 1;
    grid-row: 1;
    padding: 58px var(--jwl-gutter) 52px;
  }

  .jwl-editable-hero h1 {
    margin-top: 14px;
    max-width: 12ch;
  }

  .jwl-editable-hero .jwl-lead {
    line-height: 1.55;
    margin-top: 20px;
  }

  .jwl-editable-hero .jwl-editable-actions {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 28px;
  }

  .jwl-editable-hero .jwl-editable-actions :where(.wp-block-button, .wp-block-button__link) {
    width: 100%;
  }

  .jwl-editable-hero .jwl-editable-actions .wp-block-button:nth-child(2) .wp-block-button__link {
    width: auto;
  }

  .jwl-editable-hero .wp-block-cover__image-background {
    display: none !important;
  }

  .jwl-editable-home > .jwl-editable-hero-mobile {
    aspect-ratio: 4 / 5;
    display: block;
    overflow: hidden;
    width: 100%;
  }

  .jwl-editable-hero-mobile img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }

  .jwl-editable-home > .jwl-editable-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 0;
  }

  .jwl-editable-trust .wp-block-column {
    min-height: 116px;
    padding: 18px 10px;
  }

  .jwl-editable-trust .wp-block-column:nth-child(3) {
    border-left: 0 !important;
  }

  .jwl-editable-trust p {
    font-size: 13px !important;
  }

  .jwl-editable-category-wall {
    gap: 44px !important;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 40px !important;
  }

  .jwl-editable-category-wall figure {
    aspect-ratio: 4 / 3;
  }

  .jwl-editable-category-wall h3 {
    margin-top: 20px;
  }

  .jwl-editable-section-head {
    align-items: start !important;
    grid-template-columns: minmax(0, 1fr);
  }

  .jwl-editable-section-head .wp-block-column:last-child {
    justify-content: flex-start;
  }

  .jwl-editable-products .jwl-product-grid--collection {
    gap: 34px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jwl-editable-products .jwl-product-card__image {
    margin-bottom: 14px;
  }

  .jwl-editable-products .jwl-product-card h3 {
    font-size: 16px;
  }

  .jwl-editable-products .jwl-product-card p,
  .jwl-editable-products .jwl-product-card__link {
    font-size: 13px;
  }

  .jwl-editable-home > .jwl-editable-split,
  .jwl-editable-home > .jwl-editable-showroom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    margin-top: var(--jwl-section-space);
    width: 100%;
  }

  .jwl-editable-split .wp-block-media-text__media,
  .jwl-editable-split.has-media-on-the-right .wp-block-media-text__media,
  .jwl-editable-showroom .wp-block-cover__image-background {
    aspect-ratio: 4 / 3;
    grid-column: 1;
    grid-row: 1;
    height: auto !important;
  }

  .jwl-editable-split .wp-block-media-text__content,
  .jwl-editable-split.has-media-on-the-right .wp-block-media-text__content,
  .jwl-editable-showroom .wp-block-cover__inner-container {
    grid-column: 1;
    grid-row: 2;
    padding: 48px var(--jwl-gutter) 56px;
  }

  .jwl-editable-list-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jwl-editable-list-grid li:nth-child(n) {
    padding-left: 0;
    padding-right: 0;
  }

  .jwl-editable-home > .jwl-editable-showroom {
    padding-bottom: var(--jwl-section-space);
  }

  .jwl-editable-final .wp-block-cover__inner-container {
    padding: 72px var(--jwl-gutter);
  }

  .jwl-editable-final .wp-block-button,
  .jwl-editable-final .wp-block-button__link {
    width: 100%;
  }

  .jwl-site-footer {
    padding-inline: var(--jwl-gutter);
  }

  .jwl-site-footer__inner {
    gap: 36px;
    grid-template-columns: minmax(0, 1fr);
  }

  .jwl-site-footer__bottom,
  .jwl-site-footer__bottom-actions {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 420px) {
  :root {
    --jwl-gutter: 18px;
    --jwl-type-h1: 38px;
    --jwl-type-h2: 32px;
  }

  .jwl-editable-products .jwl-product-card h3 {
    font-size: 15px;
  }
}

@media (max-width: 359px) {
  .jwl-editable-products .jwl-product-grid--collection {
    grid-template-columns: minmax(0, 1fr);
  }

  .jwl-editable-products .jwl-product-card h3 {
    font-size: 17px;
  }
}

/* Header drawer switches independently from the four content breakpoints. */
@media (min-width: 1100px) {
  .jwl-main-nav,
  .jwl-header-cta {
    display: flex;
  }

  .jwl-menu-toggle,
  .jwl-mobile-nav-cta {
    display: none;
  }
}

@media (max-width: 1099px) {
  .jwl-site-header__inner {
    flex-wrap: nowrap;
    min-height: var(--jwl-header-height);
  }

  .jwl-brand {
    order: 1;
  }

  .jwl-site-header .custom-logo {
    max-height: 44px;
    width: 142px;
  }

  .jwl-header-cta {
    display: none;
  }

  .jwl-menu-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(81, 36, 49, 0.25);
    border-radius: 50%;
    color: var(--jwl-burgundy);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-left: auto;
    order: 2;
    padding: 0;
    width: 44px;
  }

  .jwl-menu-toggle__label {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .jwl-menu-toggle__icon,
  .jwl-menu-toggle__icon::before,
  .jwl-menu-toggle__icon::after,
  .jwl-menu-toggle__icon span {
    background: currentColor;
    display: block;
    height: 1.5px;
    width: 20px;
  }

  .jwl-menu-toggle__icon {
    position: relative;
  }

  .jwl-menu-toggle__icon::before,
  .jwl-menu-toggle__icon::after {
    content: "";
    left: 0;
    position: absolute;
  }

  .jwl-menu-toggle__icon::before {
    top: -6px;
  }

  .jwl-menu-toggle__icon::after {
    top: 6px;
  }

  .jwl-main-nav {
    background: var(--jwl-cream-clean);
    border: 0;
    border-left: 1px solid rgba(81, 36, 49, 0.12);
    border-radius: 0;
    bottom: auto;
    box-shadow: -18px 24px 50px rgba(50, 29, 37, 0.12);
    display: none;
    flex-direction: column;
    height: calc(100dvh - var(--jwl-header-height));
    justify-content: space-between;
    max-width: 100%;
    order: 3;
    overflow-y: auto;
    padding: 46px 32px 32px;
    position: fixed;
    right: 0;
    top: var(--jwl-header-height);
    transform: none;
    transition: none;
    visibility: hidden;
    width: min(420px, 100%);
    z-index: 55;
  }

  .jwl-site-header.is-menu-open .jwl-main-nav {
    display: flex;
    visibility: visible;
  }

  .jwl-nav {
    align-items: stretch;
    display: grid;
    gap: 0;
  }

  .jwl-nav a {
    border-bottom: 1px solid rgba(81, 36, 49, 0.12);
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    padding: 15px 0;
  }

  .jwl-mobile-nav-cta {
    align-items: center;
    background: var(--jwl-burgundy);
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 15px;
    font-weight: 800;
    justify-content: center;
    min-height: 50px;
    padding: 14px 22px;
    text-decoration: none;
  }
}

@media (max-width: 767px) {
  .jwl-site-header__inner {
    padding-inline: var(--jwl-gutter);
  }

  .jwl-site-header .custom-logo {
    width: 124px;
  }

  .jwl-main-nav {
    padding: 34px var(--jwl-gutter) 24px;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jwl-editable-category-wall img,
  .jwl-main-nav {
    transition: none;
  }
}

/*
 * JWELL LOVE HOMEPAGE DESIGN SYSTEM V1.0
 * Four components only: editorial hero, editorial cards, product grid,
 * and full-bleed editorial stories. Header and footer rules stay untouched.
 */
.jwl-home-v1 {
  --jwl-home-edge: max(24px, calc((100vw - var(--jwl-container)) / 2));
  background: #fff;
  color: var(--jwl-charcoal);
}

.jwl-home-v1 > *,
.jwl-home-v1 :where(.wp-block-column, .wp-block-cover__inner-container, .wp-block-group) {
  min-width: 0;
}

.jwl-home-v1 :where(.jwl-editorial-section, .jwl-pathway-card) {
  border-radius: 0;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.jwl-home-v1 :where(.jwl-editorial-section, .jwl-pathway-card) > .wp-block-cover__background {
  display: none;
}

.jwl-home-v1 :where(.jwl-editorial-section, .jwl-pathway-card) > :where(.jwl-editorial-media, .wp-block-cover__image-background) {
  display: block;
  height: 100%;
  inset: 0;
  margin: 0;
  max-width: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.jwl-home-v1 :where(.jwl-editorial-section, .jwl-pathway-card) > .jwl-editorial-media > .wp-block-cover__image-background,
.jwl-home-v1 :where(.jwl-editorial-section, .jwl-pathway-card) > .wp-block-cover__image-background {
  height: 100% !important;
  inset: 0 !important;
  max-width: none;
  object-fit: cover;
  position: absolute !important;
  width: 100%;
}

.jwl-home-v1 :where(.jwl-editorial-section, .jwl-pathway-card)::after {
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.jwl-home-v1 :where(.jwl-editorial-section, .jwl-pathway-card) > .wp-block-cover__inner-container {
  inset: 0;
  margin: 0;
  max-width: none;
  position: absolute;
  width: 100%;
  z-index: 2 !important;
}

.jwl-home-v1 :where(h1, h2, h3, p, ul) {
  margin-top: 0;
}

.jwl-home-v1 .jwl-eyebrow {
  letter-spacing: 0.08em;
}

/* Type A: full-bleed editorial hero. */
.jwl-home-v1 > .jwl-editorial-hero {
  height: clamp(680px, calc(100svh - var(--jwl-header-height)), 900px);
  min-height: 72vh;
}

.jwl-home-v1 > .jwl-editorial-hero::after {
  background: linear-gradient(90deg, rgba(248, 239, 231, 0.94) 0%, rgba(248, 239, 231, 0.76) 34%, rgba(248, 239, 231, 0.08) 67%, transparent 100%);
}

.jwl-home-v1 > .jwl-editorial-hero > .wp-block-cover__inner-container {
  align-items: flex-end;
  display: flex;
  padding: 0 var(--jwl-home-edge) clamp(72px, 9vh, 112px);
}

.jwl-home-v1 .jwl-hero-copy {
  margin: 0;
  max-width: 720px;
  width: 52%;
}

.jwl-home-v1 .jwl-hero-copy h1 {
  color: var(--jwl-burgundy-deep);
  font-size: clamp(54px, 5.55vw, 80px);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: none;
}

.jwl-home-v1 .jwl-hero-copy .jwl-lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 540px;
}

.jwl-home-v1 .jwl-hero-copy .jwl-eyebrow {
  color: var(--jwl-burgundy);
  margin-bottom: 18px;
}

.jwl-home-v1 .jwl-hero-copy .wp-block-button__link {
  min-width: 172px;
  text-align: center;
}

/* Trust strip. */
.jwl-home-v1 > .jwl-home-trust {
  background: var(--jwl-burgundy);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0 var(--jwl-home-edge);
}

.jwl-home-v1 > .jwl-home-trust > .wp-block-column {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: center;
  min-height: 86px;
  padding: 18px 24px;
  text-align: center;
}

.jwl-home-v1 > .jwl-home-trust > .wp-block-column:last-child {
  border-right: 0;
}

.jwl-home-v1 > .jwl-home-trust p {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}

/* Type B: editorial pathway cards. */
.jwl-home-v1 > .jwl-home-pathways {
  background: var(--jwl-stone);
  padding: clamp(88px, 8vw, 124px) var(--jwl-home-edge);
}

.jwl-home-v1 .jwl-section-intro {
  margin: 0 0 clamp(42px, 4vw, 60px) !important;
  max-width: 800px;
}

.jwl-home-v1 .jwl-section-intro h2 {
  color: var(--jwl-burgundy-deep);
  font-size: clamp(44px, 4.2vw, 62px);
  line-height: 1;
  margin-bottom: 0;
}

.jwl-home-v1 .jwl-section-intro .jwl-eyebrow {
  margin-bottom: 14px;
}

.jwl-home-v1 .jwl-pathway-grid {
  display: grid;
  gap: clamp(16px, 1.7vw, 28px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  max-width: none !important;
  width: 100%;
}

.jwl-home-v1 .jwl-pathway-grid > .wp-block-column {
  margin: 0;
}

.jwl-home-v1 .jwl-pathway-card {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.jwl-home-v1 .jwl-pathway-card::after {
  background: linear-gradient(to top, rgba(40, 23, 29, 0.78) 0%, rgba(40, 23, 29, 0.12) 52%, transparent 72%);
}

.jwl-home-v1 .jwl-pathway-card > .wp-block-cover__inner-container {
  align-content: end;
  display: grid;
  padding: clamp(24px, 3vw, 42px);
}

.jwl-home-v1 .jwl-pathway-card h3 {
  color: #fff;
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1;
  margin-bottom: 12px;
}

.jwl-home-v1 .jwl-pathway-link {
  margin: 0;
}

.jwl-home-v1 .jwl-pathway-link a {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

/* Type C: quiet product grid with image-led cards. */
.jwl-home-v1 > .jwl-home-products {
  background: #fff;
  padding: clamp(88px, 8vw, 124px) var(--jwl-home-edge);
}

.jwl-home-v1 .jwl-home-products .jwl-editable-section-head {
  align-items: flex-end;
  margin: 0 0 clamp(42px, 4vw, 58px);
}

.jwl-home-v1 .jwl-home-products .jwl-editable-section-head h2 {
  color: var(--jwl-burgundy-deep);
  font-size: clamp(44px, 4.2vw, 62px);
  line-height: 1;
  margin: 0;
  max-width: 780px;
}

.jwl-home-v1 .jwl-home-products .jwl-editable-section-head .wp-block-column:last-child {
  display: flex;
  justify-content: flex-end;
}

.jwl-home-v1 .jwl-home-products .jwl-product-grid--collection {
  align-items: stretch;
  display: grid;
  gap: clamp(36px, 4vw, 60px) clamp(18px, 2.4vw, 36px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jwl-home-v1 .jwl-home-products .jwl-product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  height: 100%;
  padding: 0;
}

.jwl-home-v1 .jwl-home-products .jwl-product-card__image {
  aspect-ratio: 4 / 5;
  background: #f5f4f1;
  border-radius: 0;
  display: block;
  margin: 0 0 20px !important;
  margin-inline: 0 !important;
  overflow: hidden;
  width: 100%;
}

.jwl-home-v1 .jwl-home-products .jwl-product-card__image img {
  height: 100% !important;
  object-fit: contain;
  padding: 0;
  width: 100%;
}

.jwl-home-v1 .jwl-home-products .jwl-product-card h3 {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--jwl-burgundy-deep);
  display: -webkit-box;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 8px;
  min-height: 2.4em;
  overflow: hidden;
}

.jwl-home-v1 .jwl-home-products .jwl-product-card__model,
.jwl-home-v1 .jwl-home-products .jwl-product-card__category {
  color: #746a6d;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 4px;
}

.jwl-home-v1 .jwl-home-products .jwl-product-card__category {
  display: none;
}

.jwl-home-v1 .jwl-home-products .jwl-product-card:hover .jwl-product-card__image {
  background: #f5f4f1;
  transform: none;
}

.jwl-home-v1 .jwl-home-products .jwl-product-card__link {
  color: var(--jwl-burgundy);
  font-size: 14px;
  font-weight: 800;
  margin-top: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Type D: one full-bleed story component, reused three times. */
.jwl-home-v1 > .jwl-editorial-story {
  height: clamp(650px, 78vh, 830px);
}

.jwl-home-v1 > .jwl-editorial-story::after {
  background: linear-gradient(to top, rgba(35, 22, 27, 0.14), transparent 46%);
}

.jwl-home-v1 > .jwl-editorial-story > .wp-block-cover__inner-container {
  align-items: flex-end;
  display: flex;
  padding: 0 var(--jwl-home-edge) clamp(54px, 6vw, 84px);
}

.jwl-home-v1 > :where(.jwl-editorial-private, .jwl-editorial-about) > .wp-block-cover__inner-container {
  justify-content: flex-end;
}

.jwl-home-v1 .jwl-editorial-panel {
  background: #fff9f4;
  color: var(--jwl-charcoal);
  margin: 0;
  max-width: 470px;
  padding: clamp(30px, 3.2vw, 48px);
  width: min(40vw, 470px);
}

.jwl-home-v1 .jwl-editorial-about .jwl-editorial-panel {
  max-width: 540px;
  width: min(46vw, 540px);
}

.jwl-home-v1 .jwl-editorial-about .jwl-editorial-panel h2 {
  font-size: clamp(38px, 3.15vw, 48px);
}

.jwl-home-v1 .jwl-editorial-panel h2 {
  color: var(--jwl-burgundy-deep);
  font-size: clamp(38px, 3.6vw, 54px);
  line-height: 1;
  margin-bottom: 20px;
}

.jwl-home-v1 .jwl-editorial-panel > p:not(.jwl-eyebrow, .jwl-editorial-link) {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.jwl-home-v1 .jwl-editorial-panel .jwl-eyebrow {
  margin-bottom: 12px;
}

.jwl-home-v1 .jwl-editorial-list {
  display: grid;
  gap: 8px 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 24px;
  padding: 18px 0 0;
  position: relative;
}

.jwl-home-v1 .jwl-editorial-list::before {
  background: rgba(81, 36, 49, 0.2);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.jwl-home-v1 .jwl-editorial-list li {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.jwl-home-v1 .jwl-editorial-link {
  margin: 0;
}

.jwl-home-v1 .jwl-editorial-link a {
  color: var(--jwl-burgundy);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.jwl-home-v1 > .jwl-editorial-final {
  height: clamp(600px, 72vh, 760px);
}

.jwl-home-v1 > .jwl-editorial-final::after {
  background: linear-gradient(90deg, rgba(43, 22, 29, 0.82) 0%, rgba(43, 22, 29, 0.48) 48%, rgba(43, 22, 29, 0.08) 78%);
}

.jwl-home-v1 > .jwl-editorial-final > .wp-block-cover__inner-container {
  align-items: flex-end;
  display: flex;
  padding: 0 var(--jwl-home-edge) clamp(66px, 8vw, 106px);
}

.jwl-home-v1 .jwl-final-copy {
  color: #fff;
  margin: 0;
  max-width: 650px;
}

.jwl-home-v1 .jwl-editorial-final .jwl-final-copy h2,
.jwl-home-v1 .jwl-editorial-final .jwl-final-copy p,
.jwl-home-v1 .jwl-editorial-final .jwl-final-copy .jwl-eyebrow {
  color: #fff !important;
}

.jwl-home-v1 .jwl-final-copy h2 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.98;
  margin-bottom: 22px;
}

.jwl-home-v1 .jwl-final-copy > p:not(.jwl-eyebrow) {
  font-size: clamp(17px, 1.4vw, 20px);
  margin-bottom: 28px;
}

.jwl-home-v1 .jwl-final-copy .wp-block-button__link {
  background: #fff;
  color: var(--jwl-burgundy-deep);
}

@media (max-width: 1099px) {
  .jwl-home-v1 {
    --jwl-home-edge: 36px;
  }

  .jwl-home-v1 .jwl-home-products .jwl-product-grid--collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jwl-home-v1 .jwl-editorial-panel {
    width: min(48vw, 460px);
  }
}

@media (max-width: 767px) {
  .jwl-home-v1 {
    --jwl-home-edge: 16px;
  }

  .jwl-home-v1 > .jwl-editorial-hero {
    height: clamp(620px, 78svh, 760px);
    min-height: 0;
  }

  .jwl-home-v1 > .jwl-editorial-hero::after {
    background: linear-gradient(to top, rgba(46, 23, 31, 0.88) 0%, rgba(46, 23, 31, 0.54) 42%, rgba(46, 23, 31, 0.08) 76%, transparent 100%);
  }

  .jwl-home-v1 > .jwl-editorial-hero > .wp-block-cover__inner-container {
    align-items: flex-end;
    padding: 0 20px 28px;
  }

  .jwl-home-v1 .jwl-hero-copy {
    color: #fff;
    max-width: 100%;
    width: 100%;
  }

  .jwl-home-v1 .jwl-editorial-hero .jwl-hero-copy h1,
  .jwl-home-v1 .jwl-editorial-hero .jwl-hero-copy p,
  .jwl-home-v1 .jwl-editorial-hero .jwl-hero-copy .jwl-eyebrow {
    color: #fff !important;
  }

  .jwl-home-v1 .jwl-hero-copy h1 {
    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.98;
    margin-bottom: 16px;
    max-width: 9.5ch;
  }

  .jwl-home-v1 .jwl-hero-copy .jwl-eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .jwl-home-v1 .jwl-hero-copy .jwl-lead {
    font-size: 16px;
    line-height: 1.42;
    margin-bottom: 20px;
    max-width: 35ch;
  }

  .jwl-home-v1 .jwl-hero-copy .jwl-editable-actions {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .jwl-home-v1 .jwl-hero-copy .wp-block-button,
  .jwl-home-v1 .jwl-hero-copy .wp-block-button__link {
    width: 100%;
  }

  .jwl-home-v1 .jwl-hero-copy .is-style-outline .wp-block-button__link {
    border-color: #fff;
    color: #fff;
  }

  .jwl-home-v1 > .jwl-home-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .jwl-home-v1 > .jwl-home-trust > .wp-block-column {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    min-height: 76px;
    padding: 14px 12px;
  }

  .jwl-home-v1 > .jwl-home-trust > .wp-block-column:nth-child(2) {
    border-right: 0;
  }

  .jwl-home-v1 > .jwl-home-trust > .wp-block-column:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .jwl-home-v1 > .jwl-home-trust p {
    font-size: 12px;
  }

  .jwl-home-v1 > .jwl-home-pathways,
  .jwl-home-v1 > .jwl-home-products {
    padding: 72px var(--jwl-home-edge);
  }

  .jwl-home-v1 .jwl-section-intro,
  .jwl-home-v1 .jwl-home-products .jwl-editable-section-head {
    margin-bottom: 32px;
  }

  .jwl-home-v1 .jwl-section-intro h2,
  .jwl-home-v1 .jwl-home-products .jwl-editable-section-head h2 {
    font-size: clamp(38px, 10.5vw, 46px);
  }

  .jwl-home-v1 .jwl-pathway-grid {
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
  }

  .jwl-home-v1 .jwl-pathway-card {
    aspect-ratio: 4 / 5;
  }

  .jwl-home-v1 .jwl-pathway-card > .wp-block-cover__inner-container {
    padding: 26px;
  }

  .jwl-home-v1 .jwl-pathway-card h3 {
    font-size: 34px;
  }

  .jwl-home-v1 .jwl-home-products .jwl-editable-section-head {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  .jwl-home-v1 .jwl-home-products .jwl-editable-section-head .wp-block-column:last-child {
    justify-content: flex-start;
  }

  .jwl-home-v1 .jwl-home-products .jwl-product-grid--collection {
    gap: 32px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jwl-home-v1 .jwl-home-products .jwl-product-card__image {
    margin-bottom: 14px !important;
  }

  .jwl-home-v1 .jwl-home-products .jwl-product-card h3 {
    font-size: 16px;
  }

  .jwl-home-v1 .jwl-home-products .jwl-product-card__model,
  .jwl-home-v1 .jwl-home-products .jwl-product-card__category,
  .jwl-home-v1 .jwl-home-products .jwl-product-card__link {
    font-size: 14px;
  }

  .jwl-home-v1 > .jwl-editorial-story {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 560px;
  }

  .jwl-home-v1 > .jwl-editorial-story > .wp-block-cover__inner-container {
    align-items: flex-end;
    padding: 0 16px 16px;
  }

  .jwl-home-v1 > .jwl-editorial-story .jwl-editorial-panel {
    max-width: none;
    padding: 22px;
    width: 100%;
  }

  .jwl-home-v1 .jwl-editorial-panel h2 {
    font-size: clamp(34px, 9.5vw, 42px);
    margin-bottom: 14px;
  }

  .jwl-home-v1 .jwl-editorial-about .jwl-editorial-panel h2 {
    font-size: clamp(32px, 8.5vw, 38px);
  }

  .jwl-home-v1 .jwl-editorial-panel > p:not(.jwl-eyebrow, .jwl-editorial-link) {
    font-size: 15px;
    line-height: 1.42;
    margin-bottom: 14px;
  }

  .jwl-home-v1 .jwl-editorial-list {
    gap: 6px 14px;
    margin-bottom: 16px;
    padding-top: 14px;
  }

  .jwl-home-v1 .jwl-editorial-list li {
    font-size: 14px;
  }

  .jwl-home-v1 > .jwl-editorial-final {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 520px;
  }

  .jwl-home-v1 > .jwl-editorial-final::after {
    background: linear-gradient(to top, rgba(43, 22, 29, 0.88) 0%, rgba(43, 22, 29, 0.5) 48%, rgba(43, 22, 29, 0.06) 78%);
  }

  .jwl-home-v1 > .jwl-editorial-final > .wp-block-cover__inner-container {
    align-items: flex-end;
    padding: 0 20px 30px;
  }

  .jwl-home-v1 .jwl-final-copy h2 {
    font-size: clamp(42px, 11vw, 52px);
    margin-bottom: 16px;
  }

  .jwl-home-v1 .jwl-final-copy > p:not(.jwl-eyebrow) {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

@media (max-width: 379px) {
  .jwl-home-v1 .jwl-home-products .jwl-product-grid--collection {
    gap-inline: 10px;
  }

  .jwl-home-v1 .jwl-home-products .jwl-product-card h3 {
    font-size: 15px;
  }
}
