/* Mock 12's composition, updated to Natalie's aqua and gold palette.
   Keep photography, modest serif type and the original page rhythm in charge. */
:root {
  --paper: #fcfbf8;
  --stone: #f2f0e9;
  --sage: #e6f2f0;
  --ink: #233631;
  --muted: #5b6862;
  --line: #dbe3e1;
  --line-strong: #b6c6c2;
  --evergreen: #06423d;
  --evergreen-2: #07504a;
  --aqua: #07504a;
  --aqua-hover: #0a6058;
  --aqua-deep: #06423d;
  --on-aqua: #fffdf7;
  --pale-gold: #f1dfb0;
  --gold-ink: #83662f;
}
::selection { background: #bfe3de; color: var(--ink); }
.button:not(.button-outline) { background: var(--aqua); border-color: var(--aqua); color: var(--on-aqua); }
.button:not(.button-outline):hover { background: var(--aqua-hover); border-color: var(--aqua-hover); }
.hero-copy { color: #26372e; }
.hero-copy .hero-text { color: #475149; }
.hero-copy .text-link { text-decoration-color: #9e8a61; }
.tile-label .icon { color: var(--gold-ink); }
.category-tile:first-child .tile-media img { scale: 1.35; object-position: 52% 47%; }
.piece-card[data-piece="green"] .piece-media img { object-position: 80% 40%; }
.piece-card[data-piece="oval-silk"] .piece-media img { scale: 1.35; object-position: 52% 47%; }
.view-panel img { object-fit: contain; }
.studio-workbench img { object-position: 50% 42%; }
.by-shape { background: #e7f2f0; border-color: #cde1dd; }
.shape-list li + li { box-shadow: inset 1px 0 0 #c9dcd8; }
.diamond-shape {
  display: block;
  width: clamp(92px, 8vw, 122px);
  aspect-ratio: 1;
  margin-block-end: 10px;
  background: url('assets/brand/diamond-shapes-gold-720.webp') no-repeat;
  background-size: 300% 100%;
  transition: transform .3s var(--ease);
}
.diamond-oval { background-position: 0 0; }
.diamond-round { background-position: 50% 0; }
.diamond-pear { background-position: 100% 0; }
.shape-link:hover .diamond-shape { transform: translateY(-4px); }
.tone-links { color: #53685c; }
.piece-meta, .studio-caption { color: #4b5c53; }
.from-price { font: 400 24px/1.3 var(--serif); margin-top: 22px; }
.price-on-enquiry { font: 500 12px/1.5 var(--sans); color: var(--muted); }
.site-footer { background: linear-gradient(rgb(5 66 61 / .66), rgb(5 66 61 / .66)), url(assets/illustrative/silk-1920.webp) center / cover, var(--aqua-deep); color: var(--on-aqua); }
.site-footer .footer-brand p,
.site-footer .footer-col a,
.site-footer .footer-base { color: #f4f1e4; }
.site-footer .footer-heading { color: #f7eacb; }
.site-footer .footer-base { border-color: rgb(241 223 176 / .4); }
.site-footer :focus-visible { outline-color: var(--pale-gold); }
.footer-wordmark { gap: 15px; letter-spacing: .2em; }
.footer-wordmark img { width: 66px; height: 66px; object-fit: contain; filter: brightness(1.32); }
.footer-brand p { max-width: 38ch; }
.request-complete > .form-actions { flex-wrap: wrap; }

@media (max-width:999px) {
  .diamond-shape { width: 110px; }
}
@media (max-width:639px) {
  .diamond-shape { width: clamp(76px, 22vw, 110px); }
  .footer-wordmark { gap: 10px; font-size: 20px; letter-spacing: .15em; }
  .footer-wordmark img { width: 52px; height: 52px; }
  .request-complete .button { width: 100%; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; overflow: visible; }
  .filters button { justify-content: center; min-height: 44px; padding-top: 15px; font-size: 13px; letter-spacing: .07em; }
  /* More than four tabs make one row to swipe, fading at the edge to show there are more. */
  .filters:has(> :nth-child(5)) { display: flex; gap: 22px; overflow-x: auto; mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
  .filters:has(> :nth-child(5)) button { flex: none; }
  .filters:has(> :nth-child(5)) button:last-child { margin-inline-end: 12px; }
}
@media (max-width:639px) and (max-height:740px) {
  .hero { grid-template-rows: 1fr; height: calc(100svh - var(--header-h) - var(--logo-row) - var(--announce-h)); min-height: 630px; }
  .hero-still { grid-row: 1; aspect-ratio: auto; }
  .hero-copy { grid-row: 1; background: transparent; padding: 0 20px 32px; }
  .hero-copy h1 { font-size: clamp(29px, 8vw, 34px); }
}
@media (max-width:359px) {
  .filters button { min-width: 0; padding-inline: 2px; gap: 3px; font-size: 12px; letter-spacing: .025em; }
}
@media (prefers-reduced-motion:reduce) {
  .diamond-shape { transition: none; }
  .shape-link:hover .diamond-shape { transform: none; }
}

/* Supplied photography: preserve the split composition, with room for the copy.
   The images retain their original colour; only their framing changes. */
.hero-supplied { min-height: 650px; }
.hero-supplied .hero-worn img { object-position: 52% 50%; }
.hero-supplied .hero-still { background: #f1f0ec; }
.hero-supplied .hero-still img { height: 64%; object-position: 50% 53%; }
.hero-supplied .hero-still::after {
  content: ""; position: absolute; inset: 43% 0 0;
  background: linear-gradient(transparent, #f1f0ec 37%); pointer-events: none;
}
.hero-supplied .hero-copy { padding-bottom: clamp(36px, 5.2vh, 70px); }
.hero-piece-caption {
  position: absolute; left: clamp(24px, 4vw, 56px); bottom: 34px;
  display: grid; gap: 7px; padding: 18px 22px;
  color: var(--ink); background: rgba(252, 251, 248, .95);
}
.hero-piece-caption > span { font: 500 9px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .17em; }
.hero-piece-caption a { display: flex; gap: 42px; align-items: center; font: 400 22px/1.15 var(--serif); text-decoration: none; }
.hero-piece-caption a span { font: 400 17px/1 var(--sans); color: var(--gold-ink); }
.hero-piece-caption a:hover { text-decoration: underline; text-underline-offset: 5px; }
.categories .section-head.centered { gap: 12px; }
.category-tile:nth-child(2) .tile-media img { object-position: 40% 48%; }
.category-tile:nth-child(3) .tile-media img { object-position: 46% 40%; }
.category-tile:nth-child(4) .tile-media img { object-position: 62% 40%; }
.piece-card[data-piece="green"] .piece-media img { object-position: 50% 48%; }
.showroom-media img[data-slot="home-showroom"] { object-position: 50% 12%; }
.studio-hero-media img[data-slot="studio-portrait"] { object-position: 50% 22%; }
.wide-media img[data-slot="bespoke-closing"] { object-position: 50% 56%; }

@media (max-width: 999px) {
  .hero-supplied { height: calc(100svh - var(--header-h) - var(--logo-row) - var(--announce-h)); min-height: 680px; }
  .hero-supplied .hero-still img { height: 66%; object-position: 50% 53%; }
  .hero-supplied .hero-copy { max-width: 600px; padding-bottom: 46px; }
}
@media (max-width: 639px) {
  .hero.hero-supplied { grid-template-columns: 1fr; grid-template-rows: 1fr; min-height: 630px; max-height: 800px; }
  .hero-supplied .hero-still { grid-column: 1; grid-row: 1; aspect-ratio: auto; min-height: 0; }
  .hero-supplied .hero-still img { height: 59%; object-position: 49% 53%; }
  .hero-supplied .hero-still::after { inset: 43% 0 0; background: linear-gradient(transparent, #f1f0ec 28%); }
  .hero-supplied .hero-copy { grid-column: 1; grid-row: 1; background: transparent; padding: 0 24px 36px; gap: 15px; }
  .hero-supplied .hero-copy h1 { font-size: clamp(30px, 8.6vw, 37px); }
  .hero-supplied .hero-actions { gap: 14px; }
}
@media (max-height: 540px) and (min-width: 640px) and (max-width: 999px) {
  .hero.hero-supplied { grid-template-columns: 1fr 1fr; min-height: 400px; height: auto; }
  .hero-supplied .hero-still { grid-column: 1; }
  .hero-supplied .hero-still img { height: 100%; }
  .hero-supplied .hero-still::after { display: none; }
  .hero-supplied .hero-copy { grid-column: 2; align-self: center; padding: 36px 24px; }
}

/* Keep the extra supplied angles within a compact, keyboard-accessible strip. */
@media (max-width: 639px) {
  .view-thumbs { flex-wrap: nowrap; gap: 10px; overflow-x: auto; margin: -4px; padding: 4px; scroll-snap-type: x proximity; }
  .view-thumb { flex: 0 0 max(52px, calc((100% - 40px) / 5)); width: auto; scroll-snap-align: start; }
  .view-thumb img, .view-thumb .thumb-slot { width: 100%; height: auto; aspect-ratio: 1; }
}

/* Final readability pass from screenshot review. */
.tile-label { color: var(--ink); font-weight: 500; letter-spacing: .14em; }


/* Review-ready polish: retain the original composition and let the work lead. */
.hero-copy h1 em { font-style: italic; font-weight: 400; }
.hero-supplied .hero-worn img { object-position: 50% 58%; }
.hero-supplied .hero-text { max-width: 38ch; }
.hero-piece-caption { padding: 15px 20px; }
.hero-piece-caption a { font-size: 21px; gap: 28px; }
.piece-name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.piece-name .icon { flex: 0 0 16px; width: 16px; height: 16px; color: var(--gold-ink); transition: transform .2s var(--ease); }
.piece-link:is(:hover,:focus-visible) .piece-name .icon { transform: translateX(3px); }
.piece-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 12px; }
.piece-media { position: relative; }
.piece-media .piece-alternate { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .22s ease-out, transform .4s var(--ease); }
.piece-link.has-alternate:focus-visible .piece-alternate { opacity: 1; }
@media (hover:hover) {
  .piece-link.has-alternate:hover .piece-alternate { opacity: 1; }
}
.commission-steps { list-style: none; padding: 0; margin: 8px 0 4px; width: 100%; }
.commission-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 18px; padding: 17px 0; border-top: 1px solid #c9d8d5; }
.commission-steps .step-number { color: var(--gold-ink); font: 500 10px/1.6 var(--sans); letter-spacing: .08em; padding-top: 5px; }
.commission-steps h3 { margin: 0 0 5px; font: 400 24px/1.15 var(--serif); }
.commission-steps p { margin: 0; font: 400 13px/1.7 var(--sans); }
@media (max-width:639px) {
  .hero-supplied .hero-copy h1 { font-size: clamp(30px, 8.7vw, 36px); }
  .hero-supplied .hero-text { font-size: 14px; max-width: 34ch; }
  .piece-name { gap: 7px; }
  .piece-name .icon { flex-basis: 13px; width: 13px; height: 13px; }
  .commission-steps li { gap: 12px; padding: 16px 0; }
}
@media (prefers-reduced-motion:reduce) {
  .piece-name .icon, .piece-media .piece-alternate { transition: none; }
  .piece-link:is(:hover,:focus-visible) .piece-name .icon { transform: none; }
}


/* Keep the extra-angle cues readable on phones. */
@media (max-width:639px) {
  .piece-meta, .related .piece-meta, .collection-grid .piece-meta { font-size: 12px; line-height: 1.55; letter-spacing: 0; }
}

@media (max-width:639px) { .view-thumb { min-width: 0; } }


/* Make the real alternate angles visible beside the photograph, as in Natalie's A.G. reference. */
.studio-art-deco .studio-frame img { object-position: 60% 50%; }
.piece-card[data-piece="art-deco-sapphire"] .piece-media img { object-position: 63% 49%; }
.piece-card[data-piece="organic-sapphire"] .piece-media img { object-position: 50% 49%; }
.view-thumb { transition: opacity .18s ease-out; }
.view-thumb:is(:hover,:focus-visible) { opacity: .84; }
.view-thumb[aria-pressed="true"] { opacity: 1; }
@media (min-width:1000px) {
  .piece-gallery { grid-template-columns: 76px minmax(0,1fr); gap: 16px 20px; }
  .piece-figure { grid-column: 2; grid-row: 1; padding: 16px; }
  .view-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; flex-wrap: nowrap; gap: 16px; padding: 4px; margin: -4px; }
  .view-thumb { width: 76px; gap: 6px; }
  .view-thumb img { width: 76px; height: 76px; }
  .piece-gallery:not(:has(.view-thumbs)) { grid-template-columns: minmax(0,1fr); }
  .piece-gallery:not(:has(.view-thumbs)) .piece-figure,
  .piece-info { padding-top: 18px; }
}
@media (prefers-reduced-motion:reduce) { .view-thumb { transition: none; } }


/* Final framing: show the jewellery clearly while keeping the source photos intact. */
.piece-card[data-piece="organic-sapphire"] .piece-media img { scale: 1.28; }
body[data-piece-id="organic-sapphire"] .view-panel[data-view-panel="0"] { overflow: hidden; }
body[data-piece-id="organic-sapphire"] .view-panel[data-view-panel="0"] img {
  object-fit: cover;
  object-position: 50% 49%;
  scale: 1.15;
}
@media (min-width:640px) and (max-width:999px) {
  .piece-figure { padding: 24px; }
  .view-panel { aspect-ratio: 4 / 3; }
}

/* The workshop portrait sits beside the invitation so the card never covers her work. */
body[data-page="bespoke"] .showroom-workshop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  padding: clamp(48px, 6vw, 88px) var(--edge);
  background: var(--stone);
}
.showroom-workshop .showroom-media {
  grid-area: auto;
  width: min(100%, 430px);
  height: auto;
  aspect-ratio: 4 / 5;
  justify-self: center;
}
/* Trim the empty lower bench, retaining her face, hands and tool. */
body[data-page="bespoke"] .showroom-workshop .showroom-media img {
  object-fit: cover;
  object-position: 50% 0;
}
.showroom-workshop .showroom-card {
  grid-area: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}
@media (max-width: 899px) {
  body[data-page="bespoke"] .showroom-workshop { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .showroom-workshop .showroom-card { width: min(100%, 430px); justify-self: center; }
}

/* Bespoke: two photographs side by side on desktop, like the homepage (Natalie, 11 Nov 2026). Phones show the bench alone. */
.media-pair { display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); }
.pair-panel { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.pair-panel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pair-person img { object-position: 46% 40%; }
@media (max-width: 999px) {
  .media-pair { grid-template-columns: 1fr; }
  .pair-person { display: none; }
}

/* Option for Natalie to preview (11 Nov 2026): each title on the green silk, in bold
   letter-spaced capitals like the name at the top, with the words underneath on white.
   Page titles run edge to edge; section headings sit on a silk panel across their column.
   Off by default; ?titles=silk turns it on for the visit, ?titles=plain turns it off. */
html.titles-silk .page-intro { max-width: none; padding-block-start: 0; }
html.titles-silk .page-intro > :not(h1) { max-width: min(56ch, 100%); }
html.titles-silk :is(.page-intro, .studio-hero-copy) h1 {
  justify-self: stretch;
  background: linear-gradient(rgb(5 66 61 / .5), rgb(5 66 61 / .5)), url(assets/illustrative/silk-1920.webp) center / cover, var(--aqua-deep);
  color: #f8f3e7; font: 700 clamp(1.9rem, 3.6vw, 3.4rem)/1.15 var(--serif); letter-spacing: .2em; text-transform: uppercase; text-align: center; text-wrap: balance;
}
html.titles-silk .page-intro h1 { margin: 0 calc(-1 * var(--edge)) 14px; padding: clamp(56px, 8vw, 112px) var(--edge) clamp(56px, 8vw, 112px) calc(var(--edge) + .2em); }
html.titles-silk .studio-hero-copy h1 { padding: clamp(40px, 5vw, 72px) 24px clamp(40px, 5vw, 72px) calc(24px + .2em); }
html.titles-silk .visit-copy { background: var(--paper); }
html.titles-silk :is(.section-head, .visit-copy, .showroom-card, .maker-copy, .by-shape-intro, .invitation-copy) h2 {
  justify-self: stretch; align-self: stretch; flex: 1 1 auto; max-width: none; margin: 0;
  padding: clamp(26px, 3.2vw, 44px) 24px clamp(26px, 3.2vw, 44px) calc(24px + .16em);
  background: linear-gradient(rgb(5 66 61 / .5), rgb(5 66 61 / .5)), url(assets/illustrative/silk-1920.webp) center / cover, var(--aqua-deep);
  color: #f8f3e7; font: 700 clamp(1.35rem, 2.2vw, 2.1rem)/1.2 var(--serif); letter-spacing: .16em; text-transform: uppercase; text-align: center; text-wrap: balance;
}
html.titles-silk .section-head h2 em, html.titles-silk .invitation-copy h2 em { font-style: normal; }
html.titles-silk .section-head:not(.centered) { flex-direction: column; align-items: flex-start; }
html.titles-silk .instagram .section-head h2 { margin-block-start: 0; }

/* A photo Natalie replaced in the design studio is already framed for its spot, so it sits centred
   rather than using the focal points tuned for the original photographs above. */
img[data-page-photo] { object-position: 50% 50% !important; scale: none !important; }
