/* Homepage spacing and responsive layout. */
@media(max-width:800px){
 body[data-page="home"]>header{height:60px;padding-inline:14px}
 body[data-page="home"] .hero .hero-art{height:clamp(170px,27svh,260px);min-height:0}
 body[data-page="home"] .hero .hero-copy{padding:6px 18px 24px;max-width:600px}
 body[data-page="home"] .hero-copy h1.signature-headline{font-size:clamp(36px,10vw,50px);line-height:1.02;margin:10px 0 12px}
 body[data-page="home"] .hero-copy .eyebrow{font-size:8px;letter-spacing:1px}
 body[data-page="home"] .hero-copy p{font-size:13px;margin-bottom:16px}
 body[data-page="home"] .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body[data-page="home"] .hero-actions .primary{grid-column:1/-1}
 body[data-page="home"] .hero-actions a{min-height:44px;padding:10px 8px;font-size:11px}
 body[data-page="home"] .section,body[data-page="home"] #collections{padding:26px 18px}
 body[data-page="home"] .section-head{margin-bottom:18px}
 body[data-page="home"] .section-head h2{font-size:30px}
 body[data-page="home"] .section-head .eyebrow{margin-bottom:8px}
 body[data-page="home"] .collection-grid.jewelry-category-grid{gap:12px;padding-bottom:10px}
 body[data-page="home"] .jewelry-category-grid>.collection-entry{flex:0 0 46%;min-width:0}
 body[data-page="home"] .jewelry-category-grid .collection>img{height:auto;aspect-ratio:1;padding:12px}
 body[data-page="home"] .jewelry-category-grid .collection>div{padding:12px}
 body[data-page="home"] .jewelry-category-grid .collection .eyebrow{font-size:7px;letter-spacing:.5px}
 body[data-page="home"] .jewelry-category-grid .collection h3{font-size:21px;line-height:1.15;margin:8px 0}
 body[data-page="home"] .jewelry-category-grid .collection p{font-size:11px;line-height:1.5;margin:0}
 body[data-page="home"] .jewelry-category-grid .collection .text-link{display:flex;align-items:center;min-height:44px;font-size:10px;letter-spacing:0;margin-top:6px;line-height:1.4}
 body[data-page="home"] .service-grid{gap:16px}
 body[data-page="home"] .service-grid article{padding-top:14px}
 body[data-page="home"] .service-grid h3{font-size:24px;margin:8px 0}
 body[data-page="home"] .service-grid p{font-size:13px;line-height:1.5;margin-bottom:4px;max-width:none}
 body[data-page="home"] .service-grid .text-link{min-height:44px;font-size:11px}
 body[data-page="home"] #customer-reviews{padding:28px 18px}
 body[data-page="home"] .review-intro h2{font-size:30px;margin:8px 0 12px}
 body[data-page="home"] .review-intro>p{font-size:13px}
 body[data-page="home"] .review-grid{display:flex;overflow-x:auto;gap:12px;scroll-snap-type:x proximity;scrollbar-width:thin;margin:18px 0;padding-bottom:10px}
 body[data-page="home"] .review-card{flex:0 0 88%;min-width:0;padding:16px;scroll-snap-align:start}
 body[data-page="home"] .review-card img{height:180px;margin:10px 0}
 body[data-page="home"] .review-card h3{font-size:20px;margin:12px 0 6px}
 body[data-page="home"] .review-compose{padding-top:14px}
 body[data-page="home"] .review-compose>summary{font-size:22px;min-height:44px}
 body[data-page="home"]>footer{padding:28px 18px 30px}
 body[data-page="home"]>footer .footer-brand img{width:64px;height:64px;object-fit:contain}
 body[data-page="home"]>footer>h2{font-size:30px;margin:12px 0}
 body[data-page="home"]>footer .care-links{display:block;margin:18px auto;max-width:500px}
 body[data-page="home"]>footer .care-links>div{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:0 20px}
 body[data-page="home"]>footer .care-links h3{flex-basis:100%;margin:0;text-align:center}
 body[data-page="home"]>footer .care-links a{min-height:44px;font-size:12px}
}
@media(max-width:360px){body[data-page="home"] .jewelry-category-grid>.collection-entry{flex-basis:48%}body[data-page="home"] .jewelry-category-grid .collection h3{font-size:19px}}
/* Give the rotating ring its own frame on phones. */
@media (max-width: 600px) {
 body[data-page="home"] .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: auto;
  min-height: 0;
  padding: 0 0 20px;
  text-align: center;
  background: #090909;
 }
 body[data-page="home"] .hero .hero-art {
  position: relative;
  inset: auto;
  grid-row: 1;
  order: 0;
  width: 100%;
  height: clamp(310px, 50svh, 500px);
  padding: 0;
  background: #000;
 }
 body[data-page="home"] .hero .hero-art :is(#heroVideo, #heroImage) {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
 }
 body[data-page="home"] .hero-video-controls { right: 12px; bottom: 10px; }
 body[data-page="home"] .hero .hero-copy {
  grid-row: 2;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 16px 0;
 }
 body[data-page="home"] .hero-copy h1.signature-headline {
  font-size: clamp(32px, 8vw, 46px);
  margin: 8px 0;
 }
 body[data-page="home"] .hero-copy h1 :is(br, em) { display: inline; }
 body[data-page="home"] .hero-copy p { font-size: 1rem; margin: 0 0 16px; }
 body[data-page="home"] .hero-socials { justify-content: center; }
 body[data-page="home"] .hero-foot { grid-column: 1 / -1; }
 body[data-page="home"] .section-head h2 { font-size: 32px; }
 body[data-page="home"] .jewelry-category-grid .collection h3 {
  font-size: clamp(18px, 5vw, 25px);
  overflow-wrap: anywhere;
 }
 body[data-page="home"] .jewelry-category-grid .collection p { font-size: .875rem; }
}

/* A stronger close-up within the homepage film frame. */
body[data-page="home"] .hero .hero-art{overflow:hidden}
body[data-page="home"] .hero #heroVideo,body[data-page="home"] .hero #heroImage{transform:scale(1.45);transform-origin:center}

/* Compact homepage film control, with a comfortable touch target. */
body[data-page="home"] .hero-video-controls button{min-height:44px;min-width:64px;padding:6px 10px;font-size:10px;line-height:1;letter-spacing:.03em;border-radius:2px}

body[data-page="home"] #vvs-vows-feature .service-grid {
 display: grid;
 grid-template-columns: minmax(0, clamp(110px, 25%, 200px)) minmax(0, 1fr);
 align-items: center;
 gap: clamp(14px, 3vw, 32px);
}
body[data-page="home"] #vvs-vows-feature article { padding-top: 0; border-top: 0; }
body[data-page="home"] #vvs-vows-feature h2 { margin: 0 0 6px; }
body[data-page="home"] #vvs-vows-feature .vows-feature-image {
 display: block;
 width: 100%;
 height: auto;
}
body[data-page="home"] #vvs-vows-feature .text-link {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
}
body[data-page="home"] .ir-section { padding: 28px 6%; }
body[data-page="home"] .ir-heading { margin-bottom: 20px; }
body[data-page="home"] .ir-heading h2 { margin-block: 8px; }
body[data-page="home"] .ir-steps { gap: 14px; margin-bottom: 0; }
body[data-page="home"] .ir-steps li { padding-top: 10px; }
body[data-page="home"] .ir-steps h3 { margin: 6px 0 3px; }
body[data-page="home"] #our-story .section-head { margin-bottom: 0; }
body[data-page="home"] .care-links > div {
 display: flex;
 flex-flow: row wrap;
 justify-content: center;
 gap: 0 20px;
}
body[data-page="home"] .care-links h3 { flex-basis: 100%; text-align: center; }

@media (min-width: 801px) {
 body[data-page="home"] .hero {
  height: clamp(430px, 66svh, 600px);
  min-height: 0;
 }
 body[data-page="home"] .hero-copy { padding-block: 24px; }
 body[data-page="home"] .section { padding-block: 38px; }
 body[data-page="home"] .section-head { margin-bottom: 20px; }
 body[data-page="home"] .jewelry-category-grid .collection > img {
  aspect-ratio: 4 / 3;
  max-height: 300px;
 }
 body[data-page="home"] .jewelry-category-grid .collection > div { padding: 18px; }
 body[data-page="home"] #customer-reviews { padding-block: 36px; }
 body[data-page="home"] > footer { padding-block: 32px 24px; }
 body[data-page="home"] .care-links { display: block; margin-block: 16px; }
}

/* Preserve the existing layout on landscape phones. */
@media (600px < width <= 1366px) and (height < 500px) and (pointer: coarse) {
 body[data-page="home"] .hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: relative;
  height: clamp(430px, 66svh, 600px);
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, #1d1b17 0%, #090909 65%);
 }
 body[data-page="home"] .hero .hero-art {
  position: absolute;
  inset: 0 0 0 36%;
  width: auto;
  height: 100%;
  opacity: 1;
  order: initial;
  background: #000;
 }
 body[data-page="home"] .hero #heroVideo,
 body[data-page="home"] .hero #heroImage { transform: none; }
 body[data-page="home"] .hero .hero-art :is(img, video) { object-fit: contain; }
 body[data-page="home"] .hero-art:after {
  background: linear-gradient(90deg, #090909, transparent 40%),
    linear-gradient(0deg, #090909, transparent 25%);
 }
 body[data-page="home"] .hero .hero-copy {
  position: relative;
  z-index: 1;
  width: 62%;
  max-width: 560px;
  padding: 24px 0 24px 5%;
  text-align: left;
  order: initial;
 }
 body[data-page="home"] .hero-copy .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
 body[data-page="home"] .hero-copy h1.signature-headline {
  margin: 20px 0;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1.02;
 }
 body[data-page="home"] .hero-copy h1 br { display: block; }
 body[data-page="home"] .hero-copy h1 em { display: inline; }
 body[data-page="home"] .hero-copy p { margin-bottom: 24px; font-size: 14px; }
 body[data-page="home"] .hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: min(100%, 440px);
 }
 body[data-page="home"] .hero-actions .primary { grid-column: auto; }
 body[data-page="home"] .hero-actions .primary,
 body[data-page="home"] .hero-actions .secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 10px 8px;
  font-size: 10px;
  letter-spacing: .2px;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
 }
 body[data-page="home"] main > .section,
 body[data-page="home"] main > #collections,
 body[data-page="home"] main > #customer-reviews { padding: 48px 5%; }
 body[data-page="home"] main .section-head { margin-bottom: 24px; }
 body[data-page="home"] .section-head h2 { font-size: 36px; }
 body[data-page="home"] .collection-grid.jewelry-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  overflow: visible;
  padding: 0;
 }
 body[data-page="home"] .jewelry-category-grid > .collection-entry {
  flex: initial;
  min-width: 0;
 }
 body[data-page="home"] .jewelry-category-grid .collection > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 240px;
  padding: 14px;
 }
 body[data-page="home"] .jewelry-category-grid .collection > div { padding: 16px; }
 body[data-page="home"] .jewelry-category-grid .collection .eyebrow { font-size: 8px; letter-spacing: .8px; }
 body[data-page="home"] .jewelry-category-grid .collection h3 { font-size: 24px; line-height: 1.15; }
 body[data-page="home"] .jewelry-category-grid .collection p { font-size: 12px; line-height: 1.55; }
 body[data-page="home"] .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
 }
 body[data-page="home"] .service-grid h3 { font-size: 26px; }
 body[data-page="home"] .service-grid p { font-size: 13px; line-height: 1.65; }
 body[data-page="home"] #vvs-vows-feature .service-grid {
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
 }
 body[data-page="home"] .review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  margin: 18px 0;
  padding: 0;
 }
 body[data-page="home"] .review-card { min-width: 0; padding: 16px; }
 body[data-page="home"] .review-card img { height: 150px; }
 body[data-page="home"] > footer { padding: 36px 5% 28px; }
}

/* Preserve the side-by-side homepage at tablet and narrow desktop widths. */
@media (600px < width <= 800px) and (min-height: 500px) {
 body[data-page="home"] .hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  min-height: 340px;
  background: radial-gradient(ellipse at 70% 50%, #1d1b17 0%, #090909 65%);
 }
 body[data-page="home"] .hero .hero-art {
  position: absolute;
  inset: 0 0 0 52%;
  width: auto;
  height: 100%;
  background: #000;
 }
 body[data-page="home"] .hero-art:after {
  background: linear-gradient(90deg, #090909, transparent 40%),
    linear-gradient(0deg, #090909, transparent 25%);
 }
 body[data-page="home"] .hero .hero-copy {
  grid-column: 1;
  order: initial;
  width: 100%;
  padding: 28px 0 28px 8%;
  text-align: left;
 }
 body[data-page="home"] .hero-copy h1.signature-headline {
  font-size: clamp(32px, 5vw, 46px);
  margin: 14px 0;
 }
 body[data-page="home"] .hero #heroVideo,
 body[data-page="home"] .hero #heroImage { transform: none; }
}

@media (max-width: 600px), (600px < width <= 800px) and (min-height: 500px) {
 body[data-page="home"] .collection-grid.jewelry-category-grid,
 body[data-page="home"] .review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: visible;
 }
}

/* Keep the tablet action row. */
@media (600px < width <= 800px),
       (800px < width <= 1366px) and (height < 500px) and (pointer: coarse),
       (width > 800px) and (min-height: 500px) and (any-pointer: coarse) {
 body[data-page="home"] .hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.45fr);
  gap: 6px;
 }
 body[data-page="home"] .hero-actions .primary { grid-column: auto; }
 body[data-page="home"] .hero-actions :is(.primary, .secondary) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: auto;
  min-height: 44px;
  padding: 6px 4px;
  font-size: .75rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
 }
}

body[data-page="home"] .hero .hero-copy > .eyebrow {
  font-size: 0.6875rem;
}

@media (max-width: 600px) {
 body[data-page="home"] .hero-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
 }
 body[data-page="home"] .hero-actions .primary { grid-column: auto; }
 body[data-page="home"] .hero-actions a {
  min-width: 0;
  min-height: 48px;
  font-size: .875rem;
  line-height: 1.3;
  white-space: normal;
 }
}
