/* The archive keeps the full garment visible at every viewport. */
.archive { --archive-rule: #c8c9bc; background: #f6f4ec; }
.archive .site-header { background: #f6f4ec; }
.archive .header-inner { height: 76px; }
.archive .brand-image, .archive .brand-image > img { width: 135px; height: auto; }
.archive .navigation, .archive .header-contact { font-size: .9rem; }
.archive .header-contact { border-bottom-color: currentColor; }
.archive .navigation [aria-current] { border-bottom-color: var(--ink); }
.archive-intro { padding-block: clamp(3rem, 7vw, 6.5rem) 2.4rem; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(16rem,.7fr); gap: 5vw; align-items: end; }
.archive h1 { max-width: 9.6em; margin: 0; font: 400 clamp(3.35rem, 5.7vw, 6rem)/.99 Georgia, serif; letter-spacing: -.055em; }
.archive-intro p, .own-brief p { color: #495650; font-size: 1.025rem; line-height: 1.65; max-width: 36rem; }
.archive-index { display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; padding-block: .45rem; border-block: 1px solid var(--archive-rule); }
.archive-index a { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; }
.archive-index a:hover, .piece-enquiry:hover { text-decoration: underline; text-underline-offset: .25em; }
.archive-section { padding-top: clamp(2.1rem,4vw,3.5rem); padding-bottom: clamp(1rem,2vw,2rem); }
.archive-section h2, .own-brief h2 { font-size: clamp(2.1rem,3.2vw,3.75rem); line-height: 1.12; letter-spacing: -.045em; }
.archive-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.6rem,3.5vw,3.8rem) clamp(.85rem,2vw,2rem); }
.archive-piece { min-width: 0; scroll-margin-top: 6rem; }
.piece-photo { display: grid; place-items: center; position: relative; aspect-ratio: .79; padding: 0; background: #e8e6de; cursor: zoom-in; overflow: hidden; }
.piece-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; }
.photo-label { position: absolute; bottom: .7rem; right: .7rem; padding: .24rem .58rem; border: 1px solid #afa99a; background: #faf9f2; color: #243e36; font-size: .78rem; line-height: 1.55; }
.piece-info { padding: .9rem 0 0; border-top: 1px solid var(--archive-rule); }
.piece-info h3 { font-size: clamp(1.4rem, 1.8vw, 2.25rem); line-height: 1.17; letter-spacing: -.035em; }
.piece-info p { margin: .45rem 0 .3rem; color: #495650; font-size: 1rem; line-height: 1.5; }
.piece-enquiry { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: underline; text-decoration-color: #9a9e92; text-underline-offset: .24em; }
.piece-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.15rem; }
.work-copy-link { appearance: none; background: none; border: 0; padding: 0; color: #46594d; font: inherit; font-size: .9rem; min-height: 44px; cursor: pointer; text-decoration: underline; text-decoration-color: #9a9e92; text-underline-offset: .24em; }
.work-copy-link:hover { text-decoration-color: currentColor; }
.work-copy-link:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.work-copy-link[hidden], .piece-actions [hidden] { display: none; }
.piece-actions .copy-feedback { flex-basis: 100%; margin: 0; color: #344d3c; font: .86rem/1.4 Arial, sans-serif; }
.piece-actions .copy-manual { width: 100%; min-width: 0; max-width: 32rem; border: 1px solid #768479; border-radius: 2px; background: #fff; color: #243e36; padding: .4rem .55rem; font: 1rem/1.4 Arial, sans-serif; }
.own-brief { margin-top: clamp(3rem,6vw,6rem); background: #203b32; color: #f6f4ec; padding-block: clamp(3rem,6vw,5.5rem); }
.brief-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.own-brief p { margin-top: .85rem; color: #e4e9db; }
.brief-inner > a { display: inline-flex; flex-shrink: 0; align-items: center; min-height: 46px; padding: .65rem 1.2rem; background: #f6f4ec; color: #203b32; font-size: 1rem; }
.photo-dialog { max-width: min(940px,95vw); max-height: 94vh; max-height: 94dvh; border: 0; margin: auto; padding: .75rem 1rem 1rem; background: #f6f4ec; color: #243e36; }
.photo-dialog::backdrop { background: rgba(20,30,27,.82); }
.photo-dialog[open] { display: flex; flex-direction: column; }
.viewer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: .45rem; }
.viewer-top h2 { font-size: clamp(1.25rem,3vw,1.75rem); line-height: 1.25; }
.viewer-top button { background: transparent; border: 1px solid #778578; color: inherit; padding: .5rem 1rem; font: inherit; min-height: 44px; cursor: pointer; }
.viewer-image { width: auto; height: auto; max-width: 100%; max-height: calc(90vh - 5rem); max-height: calc(90dvh - 5rem); object-fit: contain; margin: auto; min-height: 0; }
.archive .footer-inner > div { font-size: .85rem; }
@media (max-width: 900px) {
  .archive-intro { gap: 1.5rem; grid-template-columns: 1fr; }
  .archive-intro p { max-width: 45rem; }
  .archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .archive-intro { padding-block: 2.75rem 1.75rem; }
  .archive .header-inner { height: 64px; }
  .archive .brand-image, .archive .brand-image > img { width: 108px; }
  .archive-index { gap: .2rem 1rem; }
  .archive .archive-grid { grid-template-columns: 1fr; }
  .archive-section h2 { margin-top: .4rem; }
  .archive-piece { scroll-margin-top: 5rem; }
  .piece-photo { aspect-ratio: .81; }
  .brief-inner { align-items: start; flex-direction: column; }
  .photo-dialog { padding: .6rem; }
}
