.jewellery-page { background: #f8f5ed; color: #292722; }
.jewellery-page main { overflow: clip; }
.jewellery-page img { display: block; width: 100%; height: auto; }
.jewellery-page figure { margin: 0; min-width: 0; }
.jewellery-wrap { width: min(84.4%, 1200px); margin-inline: auto; }
.jewellery-page .case-intro h1 { max-width: 100%; }
.jewellery-page button { font: inherit; color: inherit; }
.jewellery-photo-button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; text-align: left; }
.jewellery-photo-button:focus-visible, .jewellery-page summary:focus-visible { outline: 1px solid currentColor; outline-offset: 7px; }
.jewellery-page figcaption { margin-top: 13px; color: #625e56; }
.jewellery-copy h2 { margin: 0; font: 400 clamp(30px, 3.3vw, 58px)/1.05 var(--serif); letter-spacing: normal; }
.jewellery-copy p { max-width: 27em; margin: 22px 0 0; font: 400 clamp(16px, 1.5vw, 21px)/1.5 var(--sans); }
.jewellery-eyebrow { display: block; margin: 0 0 20px; font: 400 14px/1.5 var(--sans); color: #625e56; }
.jewellery-opening { width: min(84.4%, 1088px); margin-inline: auto; }
.jewellery-opening-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); align-items: start; gap: 18%; margin-top: clamp(48px, 6vw, 86px); }
.jewellery-opening-bottom figure { margin-top: 70px; }
.jewellery-opening .project-credits { margin: 26px 0 0; padding: 0; list-style: none; font: 400 14px/1.7 var(--sans); }
.jewellery-section { margin-top: clamp(100px, 12vw, 180px); }
.jewellery-violet, .jewellery-pink { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px clamp(14px, 2vw, 30px); align-items: start; }
.jewellery-violet .jewellery-lead { grid-column: 1 / 9; grid-row: 1 / 3; }
.jewellery-violet .jewellery-copy { grid-column: 10 / -1; grid-row: 1; align-self: end; }
.jewellery-violet .jewellery-copy p { font-size: 16px; }
.jewellery-violet .jewellery-support { grid-column: 9 / -1; grid-row: 2; margin-top: 22px; }
.jewellery-green-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: end; margin-bottom: 42px; }
.jewellery-green-heading p { margin: 0; }
.jewellery-green .jewellery-lead { width: min(100%, 1088px); margin-inline: auto; }
.jewellery-green-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14%; align-items: center; width: 76%; margin: 44px auto 0; }
.jewellery-green-bottom p { max-width: 20em; font: 400 16px/1.5 var(--sans); color: #625e56; }
.jewellery-stone { width: min(73%, 1000px); }
.jewellery-stone-bottom { display: grid; grid-template-columns: 1fr .8fr; gap: 18%; align-items: start; margin-top: 42px; }
.jewellery-stone-bottom figure { margin-top: 80px; }
.jewellery-pink .jewellery-copy { grid-column: 1 / 5; grid-row: 1; margin-top: 60px; }
.jewellery-pink .jewellery-lead { grid-column: 6 / -1; grid-row: 1 / 3; }
.jewellery-pink .jewellery-detail { grid-column: 1 / 5; grid-row: 2; margin-top: 22px; }
.jewellery-finale { width: min(84.4%, 1088px); }
.jewellery-finale-bottom { display: grid; grid-template-columns: 1fr .65fr; gap: 21%; width: 85%; margin: 42px 0 0 auto; align-items: center; }
.jewellery-finale-bottom .jewellery-copy h2 { font-size: clamp(30px, 3.3vw, 48px); }
.jewellery-finale-bottom p { font-size: 16px; }
.jewellery-more { margin-top: clamp(110px, 13vw, 190px); border-top: 1px solid #d8d3ca; }
.jewellery-more summary { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 38px 0; list-style: none; cursor: pointer; }
.jewellery-more summary::-webkit-details-marker { display: none; }
.jewellery-more-title { font: 400 clamp(30px, 3.3vw, 58px)/1.05 var(--serif); }
.jewellery-more-action { flex-shrink: 0; font: 400 14px/1.5 var(--sans); text-decoration: underline; text-underline-offset: .3em; }
.jewellery-more .when-open { display: none; }
.jewellery-more[open] .when-open { display: inline; }
.jewellery-more[open] .when-closed { display: none; }
.jewellery-archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; padding: 30px 0 10px; }
.jewellery-archive figcaption { font-size: 14px; line-height: 1.5; }
.jewellery-page .case-footer { padding-top: 90px; }
.jewellery-viewer { position: fixed; inset: 0; box-sizing: border-box; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 20px clamp(18px, 3vw, 48px); border: 0; color: #292722; background: #f8f5ed; }
.jewellery-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 20px; }
.jewellery-viewer::backdrop { background: #f8f5ed; }
html:has(.jewellery-viewer[open]) { overflow: hidden; }
.jewellery-viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.jewellery-viewer-top p { margin: 0; font: 400 14px/1.5 var(--sans); }
.jewellery-viewer button { border: 0; background: none; padding: 8px 0; cursor: pointer; font: 400 16px/1.5 var(--sans); text-decoration: underline; text-underline-offset: .3em; }
.jewellery-viewer button:focus-visible { outline: 1px solid; outline-offset: 5px; }
.jewellery-viewer .jewellery-viewer-image { min-width: 0; min-height: 0; width: 100%; height: 100%; object-fit: contain; }
.jewellery-viewer-bottom { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.jewellery-viewer-caption { max-width: 54em; justify-self: center; margin: 0; text-align: center; font: 400 14px/1.5 var(--sans); }
@media (max-width: 1000px) and (min-width: 761px) {
  .jewellery-violet .jewellery-lead { grid-column: 1 / 8; }
  .jewellery-violet .jewellery-copy { grid-column: 9 / -1; }
  .jewellery-opening-bottom { gap: 12%; }
  .jewellery-stone { width: 84.4%; }
}
@media (max-width: 760px) {
  .jewellery-wrap, .jewellery-opening, .jewellery-stone, .jewellery-finale { width: calc(100% - 40px); }
  .jewellery-copy h2 { font-size: clamp(30px, 7.7vw, 36px); line-height: 1.12; }
  .jewellery-copy p { font-size: 18px; line-height: 1.5; margin-top: 18px; }
  .jewellery-eyebrow { margin-bottom: 14px; }
  .jewellery-opening-bottom { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 36px; }
  .jewellery-opening-bottom figure { width: 67%; margin-top: 0; justify-self: end; }
  .jewellery-section { margin-top: 80px; }
  .jewellery-violet, .jewellery-pink { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px 10px; }
  .jewellery-violet .jewellery-copy, .jewellery-pink .jewellery-copy { grid-column: 1 / -1; grid-row: 1; margin: 0; }
  .jewellery-violet .jewellery-copy p { font-size: 18px; }
  .jewellery-violet .jewellery-lead, .jewellery-pink .jewellery-lead { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .jewellery-violet .jewellery-support { grid-column: 5 / -1; grid-row: 3; margin: 0; }
  .jewellery-green-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 26px; }
  .jewellery-green-heading p { margin: 0; }
  .jewellery-green-bottom { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 26px; }
  .jewellery-green-bottom figure { width: 73%; }
  .jewellery-green-bottom p { max-width: 28em; margin: 0; }
  .jewellery-stone-bottom { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 26px; }
  .jewellery-stone-bottom figure { width: 63%; justify-self: end; margin-top: 0; }
  .jewellery-pink .jewellery-detail { grid-column: 1 / 9; grid-row: 3; margin: 0; }
  .jewellery-finale-bottom { width: 100%; grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 26px; }
  .jewellery-finale-bottom figure { width: 61%; justify-self: end; }
  .jewellery-finale-bottom .jewellery-copy h2 { font-size: clamp(30px, 7.7vw, 36px); }
  .jewellery-finale-bottom p { font-size: 18px; }
  .jewellery-more { margin-top: 85px; }
  .jewellery-more summary { align-items: start; flex-direction: column; gap: 18px; padding: 28px 0; }
  .jewellery-more-title { font-size: clamp(30px, 7.7vw, 36px); }
  .jewellery-archive { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; padding-top: 10px; }
  .jewellery-page .case-footer { padding-top: 65px; }
  .jewellery-viewer { padding: max(12px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); gap: 12px; }
  .jewellery-viewer-caption { grid-column: 1 / -1; grid-row: 1; }
  .jewellery-viewer-bottom { grid-template-columns: 1fr 1fr; gap: 10px; }
  .jewellery-viewer-next { justify-self: end; }
}
@media (max-width: 360px) {
  .jewellery-wrap, .jewellery-opening, .jewellery-stone, .jewellery-finale { width: calc(100% - 32px); }
  .jewellery-archive { grid-template-columns: minmax(0, 1fr); }
}
