/* Plain photo frames. The home craft image keeps its original close-up. */
.photo-frame{position:relative;display:flex;align-items:center;justify-content:center;inline-size:100%;block-size:100%;min-inline-size:0;min-block-size:0;overflow:hidden;background:transparent;}
.photo-frame .photo-original{position:relative;display:block;inline-size:auto;block-size:auto;max-inline-size:100%;max-block-size:100%;object-fit:contain;object-position:center;top:auto;}
body[data-page="home"] .home-hero{background:transparent;overflow:visible;isolation:isolate;}
body[data-page="home"] .hero-copy{padding-inline-start:9%;padding-inline-end:4%;justify-content:center;padding-block:58px;}
body[data-page="home"] .hero-copy h1{font-size:clamp(49px,5.45vw,84px);line-height:1.02;letter-spacing:-.035em;margin-block:28px 25px;max-inline-size:620px;overflow-wrap:normal;}
body[data-page="home"] .hero-copy h1 span{white-space:normal;}
body[data-page="home"] .hero-copy p{max-inline-size:320px;}
body[data-page="home"] .hero-art{padding:25px 4% 45px 0;}
[dir="rtl"] body[data-page="home"] .hero-art{padding:25px 0 45px 4%;}
body[data-page="home"] .detail-crop{background:transparent;overflow:hidden;}
body[data-page="home"] .detail-crop .photo-frame{display:block;}
body[data-page="home"] .detail-crop .photo-original{inline-size:100%;block-size:220%;max-inline-size:none;max-block-size:none;object-fit:cover;object-position:43% 84%;top:-98%;}
body[data-page="home"] .context-photo .photo-original{inline-size:auto;block-size:auto;max-inline-size:100%;max-block-size:100%;object-fit:contain;}
body[data-page="brochure"] .collection-art > .image-button{padding:16px 4%;}
body[data-page="brochure"] .collection-art{background:var(--photo-background,var(--sand));}
body[data-page="brochure"] .reader{box-shadow:none;}
body[data-page="brochure"] .collection-art .photo-original{inline-size:auto;block-size:auto;max-inline-size:100%;max-block-size:100%;}
.view-switch,dialog::backdrop{backdrop-filter:none;}

/* One photograph at a time, with dimensions independent of its orientation. */
.references-page .page-intro h1 {
  font-size: clamp(54px, 6.4vw, 80px);
  margin-block: 18px 20px;
}

.reference-slider {
  overflow-anchor: none;
  min-inline-size: 0;
  margin-block-start: 32px;
}

.reference-stage {
  position: relative;
  block-size: clamp(360px, 62svh, 680px);
  min-block-size: 0;
  overflow: hidden;
  background: #eee7de;
}

.reference-image-wrap {
  position: relative;
  inline-size: 100%;
  block-size: 100%;
  min-inline-size: 0;
  min-block-size: 0;
}

.reference-image-wrap > .image-button {
  inline-size: 100%;
  block-size: 100%;
  padding: 24px 6%;
}

.reference-image-wrap .photo-frame {
  background: transparent;
}

.reference-image-wrap .photo-original {
  max-inline-size: 100%;
  max-block-size: 100%;
  object-fit: contain;
}

.reference-image-wrap .image-expand {
  inline-size: 44px;
  block-size: 44px;
  inset-inline-start: auto;
  inset-inline-end: 22px;
  inset-block-start: 22px;
  inset-block-end: auto;
  border-radius: 50%;
  background: #f6f2ecd9;
  backdrop-filter: none;
}

.book-button {
  position: absolute;
  z-index: 3;
  inset-inline-end: 22px;
  inset-block-end: 22px;
  inline-size: 50px;
  block-size: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #92806966;
  border-radius: 50%;
  color: #403b31;
  background: #f6f2eced;
  box-shadow: 0 4px 20px #292a2412;
  backdrop-filter: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.book-button svg {
  inline-size: 22px;
  block-size: 22px;
}

.book-button:hover,
.book-button:focus-visible {
  background: var(--paper);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.reference-slider-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  block-size: 84px;
  min-block-size: 84px;
  border-block-end: 1px solid var(--line);
}

.reference-slide-progress {
  grid-column: 2;
  min-inline-size: 140px;
  text-align: center;
  direction: ltr;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.reference-progress-track {
  display: block;
  inline-size: 140px;
  block-size: 1px;
  margin-block-start: 10px;
  background: var(--line);
}

.reference-progress-track > span {
  display: block;
  block-size: 100%;
  background: var(--gold);
  transition: width .2s ease;
}

.reference-page-buttons {
  grid-column: 3;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.reference-page-buttons .icon-button {
  inline-size: 44px;
  block-size: 44px;
  border: 1px solid var(--line);
  transition: background .2s ease, border-color .2s ease;
}

.reference-page-buttons .icon-button:hover:enabled {
  border-color: #b5a890;
}

.reference-filmstrip {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-block: 22px 4px;
  padding-inline: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.reference-filmstrip button {
  position: relative;
  flex: 0 0 62px;
  inline-size: 62px;
  block-size: 62px;
  padding: 4px;
  opacity: .6;
  border: 1px solid transparent;
  transition: opacity .2s ease, border-color .2s ease;
}

.reference-filmstrip img {
  object-fit: contain;
}

.reference-filmstrip button:hover {
  opacity: .9;
}

.reference-filmstrip button[aria-current="page"],
.reference-filmstrip button[aria-pressed="true"] {
  opacity: 1;
  border-color: var(--gold);
}

.reference-info-dialog {
  inline-size: min(540px, calc(100vw - 40px));
  max-block-size: 85svh;
  max-inline-size: none;
  padding: 24px 34px 38px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  box-shadow: 0 20px 80px #282b2520;
}

.reference-info-dialog::backdrop {
  background: #292a2466;
  backdrop-filter: none;
}

.info-dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block-end: 18px;
  border-block-end: 1px solid var(--line);
}

.info-dialog-top .icon-button {
  inline-size: 44px;
  block-size: 44px;
}

.info-dialog-top > :first-child {
  font-size: 10px;
  color: var(--muted);
}

.reference-info-body {
  padding-block-start: 30px;
}

.reference-info-body .eyebrow {
  color: var(--gold);
  font-size: 9px;
}

.reference-info-body h2,
.reference-info-body .info-title {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.08;
  margin-block: 19px 22px;
}

.reference-info-body p,
.reference-info-body .info-copy {
  font-size: 12px;
  line-height: 1.9;
}

.reference-info-body .text-link {
  margin-block-start: 28px;
  min-block-size: 44px;
}

#reference-info-website[hidden] {
  display: none;
}

#reference-info-website {
  display: flex;
  inline-size: fit-content;
}

[dir="rtl"] body[data-page="home"] .hero-copy {
  padding-inline-start: 9%;
  padding-inline-end: 4%;
}

[dir="rtl"] body[data-page="home"] .hero-copy h1 {
  font-size: clamp(48px, 5.1vw, 78px);
  line-height: 1.35;
  letter-spacing: 0;
}

[dir="rtl"] .reference-info-body h2,
[dir="rtl"] .reference-info-body .info-title {
  line-height: 1.4;
  font-size: 40px;
}

[dir="rtl"] .reference-info-body p {
  font-size: 15px;
}

@media (max-width: 1100px) and (min-width: 761px) {
  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(47px, 5.5vw, 60px);
  }

  body[data-page="home"] .hero-art {
    padding-inline-end: 2%;
  }

  .reference-stage {
    block-size: clamp(350px, 59svh, 600px);
  }
}

@media (max-width: 760px) {
  

  body[data-page="home"] .hero-copy {
    padding-block: 36px 0;
    justify-content: flex-start;
  }

  body[data-page="home"] .hero-copy h1 {
    font-size: clamp(45px, 11.5vw, 64px);
    line-height: 1.04;
    margin-block: 24px 23px;
  }

  body[data-page="home"] .hero-art {
    height: 450px;
    padding: 10px 6% 36px !important;
  }

  body[data-page="brochure"] .collection-art > .image-button {
    padding: 10px 3%;
  }

  .references-page .page-intro h1 {
    font-size: clamp(47px, 12.5vw, 60px);
    margin-block: 18px;
  }

  .reference-slider {
    margin-block-start: 24px;
  }

  .reference-stage {
    block-size: clamp(310px, 51svh, 480px);
  }

  .reference-image-wrap > .image-button {
    padding: 14px 4%;
  }

  .reference-image-wrap .image-expand {
    inset-inline-end: 13px;
    inset-block-start: 13px;
  }

  .book-button {
    inset-inline-end: 13px;
    inset-block-end: 13px;
    inline-size: 48px;
    block-size: 48px;
  }

  .reference-slider-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    block-size: 76px;
    min-block-size: 76px;
  }

  .reference-slide-progress {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    text-align: start;
    min-inline-size: 100px;
    font-size: 8px;
  }

  .reference-progress-track {
    inline-size: 100px;
    margin-block-start: 7px;
  }

  .reference-page-buttons {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    gap: 7px;
  }

  .reference-filmstrip {
    justify-content: flex-start;
    gap: 9px;
    padding-block: 18px 4px;
  }

  .reference-filmstrip button {
    flex-basis: 52px;
    inline-size: 52px;
    block-size: 56px;
  }

  .reference-info-dialog {
    inline-size: calc(100vw - 28px);
    padding: 18px 24px 30px;
  }

  .info-dialog-top {
    padding-block-end: 12px;
  }

  .reference-info-body {
    padding-block-start: 24px;
  }

  .reference-info-body h2,
  .reference-info-body .info-title {
    font-size: 40px;
  }

  .reference-info-body p {
    font-size: 11px;
  }

  [dir="rtl"] body[data-page="home"] .hero-copy h1 {
    font-size: clamp(43px, 10.7vw, 61px);
  }

  [dir="rtl"] .reference-info-body h2,
  [dir="rtl"] .reference-info-body .info-title {
    font-size: 34px;
  }

  [dir="rtl"] .reference-info-body p {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  body[data-page="home"] .hero-copy h1 {
    font-size: 43px;
  }

  body[data-page="home"] .hero-art {
    height: 395px;
  }

  .reference-stage {
    block-size: clamp(290px, 49svh, 430px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-frame *,
  .reference-slider *,
  .reference-info-dialog *,
  .book-button {
    transition: none;
    animation: none;
  }
}
body[data-page="brochure"] .view-switch{backdrop-filter:none}

/* Artist's own words, with the same quiet spacing as the collection. */
.hero-copy .artist-intro{max-inline-size:340px;margin-block-end:12px;}
.hero-copy .artist-intro p{margin-block:0 14px;max-inline-size:none;}
.hero-copy .artist-intro p:last-child{margin-block-end:0;}
.artist-section{display:grid;grid-template-columns:1fr 1.25fr;gap:12%;margin:0 8.5%;padding-block:55px 60px;border-block-start:1px solid var(--line);}
.artist-section h2{font-size:clamp(40px,4.2vw,58px);margin-block:22px 0;}
.artist-biography{max-inline-size:560px;}
.artist-biography p{font-size:12px;line-height:1.95;}
.artist-biography p+p{margin-block-start:22px;}
.reference-info-body .info-copy p+p{margin-block-start:18px;}
.collection-atelier-link{display:flex;justify-content:flex-end;margin-block-start:22px;}
.collection-atelier-link .text-link{min-block-size:44px;}

/* The atelier experience can replace this stage when its map is supplied. */
.atelier-page{padding:50px 6.2% 65px;}
.atelier-intro h1{font-size:clamp(48px,6.4vw,80px);margin-block:20px 36px;}
.atelier-stage{display:grid;place-items:center;min-block-size:400px;padding:60px 24px;border:1px solid var(--line);background:#eee7de;}
.atelier-placeholder{text-align:center;max-inline-size:470px;}
.atelier-monogram{display:block;font-family:var(--serif);font-size:76px;line-height:1;color:var(--gold);margin-block-end:28px;}
.atelier-placeholder h2{font-size:40px;margin-block-end:20px;}
.atelier-placeholder p{font-size:12px;line-height:1.9;max-inline-size:360px;margin-inline:auto;}
.atelier-placeholder .text-link{margin-block-start:28px;}

/* Enlarged photos retain their size while arrows change the current image. */
.image-dialog{display:none;flex-direction:column;block-size:92svh;height:92svh;max-block-size:92svh;}
.image-dialog[open]{display:flex;}
.image-dialog-top{flex:0 0 auto;min-block-size:44px;gap:12px;}
.image-dialog-media{display:flex;align-items:center;justify-content:center;flex:1 1 0;min-block-size:0;min-inline-size:0;overflow:hidden;}
.image-dialog-media img{inline-size:100%;block-size:100%;object-fit:contain;}
.image-dialog-controls{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:20px;flex:0 0 62px;margin-block-start:12px;border-block-start:1px solid var(--line);padding-block-start:12px;}
.image-dialog-controls[hidden]{display:none;}
.image-dialog-controls .icon-button{inline-size:44px;block-size:44px;border:1px solid var(--line);}
#image-counter{text-align:center;font-size:10px;color:var(--muted);}
[dir="rtl"] .artist-biography p{font-size:15px;}
[dir="rtl"] .atelier-placeholder p{font-size:15px;}

@media(max-width:760px){
  .hero-copy .artist-intro{max-inline-size:300px;}
  .hero-copy .artist-intro p{margin-block-end:12px;}
  .artist-section{grid-template-columns:1fr;gap:28px;margin-inline:8%;padding-block:38px 45px;}
  .artist-section h2{font-size:43px;margin-block-start:18px;}
  .artist-biography p{font-size:11px;}
  .collection-atelier-link{justify-content:flex-start;margin-block-start:16px;}
  .atelier-page{padding:35px 6% 45px;}
  .atelier-intro h1{font-size:48px;margin-block-end:28px;}
  .atelier-stage{min-block-size:360px;padding:40px 20px;}
  .atelier-placeholder h2{font-size:35px;}
  .image-dialog{inline-size:calc(100vw - 20px);width:calc(100vw - 20px);block-size:90svh;height:90svh;max-block-size:90svh;padding:12px;}
  .image-dialog-top{font-size:10px;}
}

/* Quiet editorial links keep the main collection presentation unchanged. */
.site-footer{flex-wrap:wrap}
.site-footer>a[href^="mailto:"]{margin-inline-start:auto}
.footer-discovery{flex-basis:100%;display:flex;flex-wrap:wrap;gap:20px 32px;border-block-start:1px solid var(--line);padding-block-start:22px;margin-block-start:2px;font-size:10px}
.footer-discovery a[aria-current="page"]{color:var(--gold)}
.artist-links,.invitation-actions{display:flex;flex-wrap:wrap;gap:12px 30px}
.artist-links{margin-block-start:26px}
.invitation-actions{justify-content:center}
.contact-discovery{margin-block-start:24px}
@media(max-width:760px){.site-footer>a[href^="mailto:"]{margin-inline-start:0}.footer-discovery{gap:18px 25px;line-height:1.6}.artist-links{gap:20px}.artist-links .text-link{font-size:11px}}
