/* Homepage introduction and featured commissions. */
.nav a,
.nav a:hover,
.nav a:focus-visible {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f2f2f2;
}
.nav a:hover,
.nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.hero { padding-bottom: 64px; }
.hero .hero-visual { min-height: 660px; padding: 80px max(24px, calc((100vw - 1120px) / 2)) 84px; }
.hero .hero-overlay { max-width: 760px; text-align: left; opacity: 1; }
.hero h1 { max-width: 17ch; margin-top: 0; font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.hero-heading-line { color: #fff; }
.hero-image[data-hero-key="jeweller"] {
  object-position: center 62%;
  transform: none;
  opacity: 1;
  transition: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 86%, transparent 100%);
}
.hero .hero-visual::after { opacity: .4; }
.hero .hero-subcopy-row { display: block; margin-top: 24px; }
.hero .hero-subcopy { max-width: 52ch; margin-top: 0; }
.home-start-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 96px; }
.home-start-actions #ringDesignerLink { min-height: 44px; padding-block: 8px; opacity: .78; }
.home-start-actions #ringDesignerLink:hover,
.home-start-actions #ringDesignerLink:focus-visible { opacity: 1; }
.home-start-actions > p { flex-basis: 100%; margin: 0; color: rgba(255,255,255,.65); font-size: .88rem; }
.home-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #f2f2f2; text-decoration: underline; text-underline-offset: 5px; }
#recentWorkLink { text-decoration: none; }
.home-section { width: min(1120px, calc(100% - 32px)); margin: 64px auto; }
.home-featured { margin-top: 32px; }
.home-section h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.025em; }
.home-featured .home-section-heading h2 { font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; letter-spacing: -.01em; }
.home-section-heading { max-width: 680px; margin-bottom: 28px; }
.home-section-heading > p, .home-personal p { color: rgba(255,255,255,.82); line-height: 1.7; }
.home-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 14px; }
.home-eyebrow--featured { margin-bottom: 8px; font-family: var(--heading); font-size: clamp(1.45rem, 2.6vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-transform: none; }
.home-rings-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-ring { display: flex; flex-direction: column; min-width: 0; border-bottom: 1px solid var(--line); }
.home-ring-image { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; }
.home-ring:nth-child(n+5) .home-ring-image { aspect-ratio: 4 / 5; }
.home-ring-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, #000, transparent 12%, transparent 88%, #000),
    linear-gradient(to bottom, #000, transparent 12%, transparent 88%, #000);
}
.home-ring-image img { width: 100%; height: 100%; object-fit: cover; }
.home-ring-image img[src="Images/featured-rings/oval-ring.jpg"] { transform: translateY(-6%) scale(1.2); }
.home-ring-image img[src="Images/featured-rings/trilogy-detail.jpg"] { transform: translateY(-3%); }
.home-ring-image img[src="Images/featured-rings/pear-emerald.jpg"] { object-fit: contain; transform: translateY(6%) scale(1.2); }
.home-ring-copy { display: flex; flex-direction: column; flex: 1; padding: 22px 0; }
.home-ring h3 { font-size: 1.08rem; }
.home-ring p { color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.6; margin: 12px 0; }
.home-ring .home-ring-price { color: #fff; font-size: 1rem; margin: 10px 0 0; }
.home-ring-action { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; font-size: .82rem; }
.home-ring:hover .home-ring-action { text-decoration: underline; text-underline-offset: 4px; }
.home-price-note { color: var(--muted); font-size: .82rem; line-height: 1.6; margin: 22px 0; }
.home-assurances { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 22px 0; margin: 28px 0 0; border-block: 1px solid var(--line); font-size: .9rem; }
.home-personal { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 64px; }
.home-enquiry > h3 { font-size: 1.2rem; }
.home-enquiry .hero-enquiry-main { grid-template-columns: minmax(0, 1fr) auto; }
.home-faq { max-width: 900px; }
.home-faq details { border-bottom: 1px solid var(--line); }
.home-faq summary { padding: 22px 0; cursor: pointer; font-weight: 700; line-height: 1.5; }
.home-faq details p { color: rgba(255,255,255,.82); line-height: 1.75; margin: 0 0 24px; max-width: 72ch; }
.home-faq-action { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; }
.home-section a:focus-visible, .home-start-actions a:focus-visible, .home-faq summary:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 1000px) {
  .home-rings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .home-personal { gap: 32px; }
  .home-enquiry .hero-enquiry-main { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-recent-work { display: none; }
  .topbar .brand-block { min-height: 100px; margin-bottom: 0; }
  .topbar .brand-logo { width: min(150px, 42vw); transform: none; }
  .topbar .brand-review-link { top: 0; right: 0; }
  .topbar .brand-review-badge { width: min(100px, 28vw); }
  .hero { margin-top: -28px; }
  .hero .hero-visual { min-height: 0; padding: 0 20px 64px; overflow: visible; transform: none; filter: none; }
  .hero .hero-overlay { z-index: 50; }
  .hero .hero-image[data-hero-key="jeweller"] { object-position: center 58%; transform: none; }
  .hero .eyebrow-hero { margin-top: 0; }
  .hero h1 { max-width: 20ch; font-size: clamp(1.5rem, 6.2vw, 2.1rem); }
  .hero .hero-subcopy { margin-top: 24px; }
  .hero .eyebrow-hero,
  .hero h1,
  .hero .hero-subcopy { position: relative; top: 20px; }
  .hero .home-start-actions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 288px; }
  .hero .home-start-actions > p { flex-basis: auto; }
  .hero .home-start-actions #ringDesignerLink { min-height: 38px; padding: 6px 14px; border-radius: 14px; font-size: .82rem; }
  .hero .hero-heading-line--gap { margin-top: .35em; }
  .hero .hero-visual::after { opacity: .7; }
  .home-start-actions { gap: 14px 24px; }
  .home-start-actions .btn { min-height: 48px; }
  .home-section { margin: 40px auto; }
  .home-personal { grid-template-columns: 1fr; gap: 32px; }
  .home-ring-copy { padding: 16px 0; }
  .home-ring h3 { font-size: 1rem; }
  .home-ring p { font-size: .84rem; }
  .home-rings-grid { gap: 24px 14px; }
  .home-assurances { flex-direction: column; }
  .home-faq-action { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .home-rings-grid { grid-template-columns: 1fr; }
}
