/* Product galleries share the site typography, card component and quote flow. */
.example-page,.example-directory { --ink:#241a34; --muted:#594f66; --line:#ded7e9; color:var(--ink); background:#f8f7fb; }
.example-page [data-accent="violet"],.example-directory [data-accent="violet"] { --accent-ink:#543099; --accent-wash:#eee6fd; --accent-line:#cdbbe9; }
.example-page [data-accent="pink"],.example-directory [data-accent="pink"] { --accent-ink:#8c275a; --accent-wash:#fae7f1; --accent-line:#eac0d2; }
.example-page [data-accent="blue"],.example-directory [data-accent="blue"] { --accent-ink:#245482; --accent-wash:#e6effb; --accent-line:#b9d3ed; }
.example-hero { color:#faf6ff; padding:clamp(28px,5vw,64px) 0 clamp(32px,5vw,58px); background:radial-gradient(ellipse at 94% 9%,#43206d 0,transparent 56%),linear-gradient(118deg,#1a1128,#27153f); }
.example-breadcrumb ol { display:flex; flex-wrap:wrap; gap:6px 10px; padding:0; margin:0 0 clamp(17px,2.7vw,30px); list-style:none; font-size:13px; }
.example-breadcrumb li { color:#dbcdea; }
.example-breadcrumb li+li::before { content:"/"; margin-right:10px; color:#b899d5; }
.example-breadcrumb a { color:#f0eaff; text-decoration:underline; text-underline-offset:3px; }
body .example-hero h1 { font-size:clamp(36px,5.6vw,72px); line-height:1.025; letter-spacing:-.05em; max-width:19ch; margin:0 0 12px; color:#fcf7ff; text-wrap:balance; }
body .example-hero p { max-width:60ch; margin:0; color:#e9dff3; font-size:clamp(16px,2vw,20px); line-height:1.55; }
.example-jumps { display:flex; flex-wrap:wrap; gap:8px; margin-top:clamp(17px,3vw,28px); }
.example-jumps a { display:inline-flex; gap:6px; align-items:center; min-height:44px; border:1px solid var(--accent-line); border-radius:999px; padding:7px 15px; background:var(--accent-wash); color:var(--accent-ink); font-size:14px; font-weight:740; text-decoration:none; }
.example-jumps a:hover { text-decoration:underline; text-underline-offset:3px; }
.example-jumps [aria-current="page"] { background:#ddfb33; border-color:#ddfb33; color:#151d08; }
.example-galleries { padding-block:clamp(23px,4.2vw,55px) clamp(34px,5vw,72px); }
.example-group { scroll-margin-top:105px; margin-bottom:clamp(22px,4vw,48px); padding:clamp(10px,2vw,24px); background:var(--accent-wash); border:1px solid var(--accent-line); border-radius:clamp(13px,2vw,23px); }
.example-group-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:6px 18px; margin-bottom:clamp(11px,2vw,20px); }
.example-index { display:inline-grid; align-items:center; min-height:25px; padding:2px 7px; border:1px solid var(--accent-line); background:var(--accent-wash); color:var(--accent-ink); border-radius:6px; font-size:11px; font-weight:760; letter-spacing:.09em; }
body .example-group-head h2,body .example-details h2,body .example-directory h2 { color:var(--ink); font-size:clamp(24px,3.5vw,42px); letter-spacing:-.041em; line-height:1.08; margin:8px 0 5px; }
body .example-group-head p,body .example-directory header p { color:var(--muted); line-height:1.5; margin:0; }
.example-group-head a { color:var(--accent-ink); font-weight:720; padding-block:7px; font-size:14px; text-underline-offset:4px; }
.example-grid,.example-directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(8px,1.4vw,18px); }
.example-grid--four,.example-directory-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.example-grid .style-ref-card { border-color:var(--accent-line); }
/* Keep captions out of the image area and show each full photograph. */
.example-grid .style-ref-card figure { aspect-ratio:auto; }
.example-grid .style-ref-media { position:relative; aspect-ratio:4/3; background:#21182c; }
.example-grid--four .style-ref-media { aspect-ratio:1; }
body main .example-grid .style-ref-media > img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; }
.example-grid .style-ref-card figcaption { position:static; border-radius:0; padding:6px 9px; background:#f3edf8; color:#51435e; }
.example-group-head a svg,.example-directory-action svg { display:inline-block; vertical-align:-.16em; }
.example-grid .style-ref-card-copy { padding:clamp(10px,1.45vw,17px); }
body .example-grid .style-ref-card h3 { color:var(--ink); margin:0; font-size:clamp(17px,1.8vw,22px); line-height:1.18; letter-spacing:-.022em; }
body .example-grid .style-ref-card p { color:var(--muted); margin:0; font-size:clamp(13px,1.3vw,15px); line-height:1.44; }
.example-grid .style-ref-card a { display:inline-flex; align-items:center; gap:4px; align-self:start; min-height:44px; margin-top:auto; color:var(--accent-ink); font-size:13px; font-weight:730; text-underline-offset:4px; }
.example-grid .style-ref-card a svg { flex:none; }
.example-details { margin-bottom:clamp(24px,4vw,50px); }
.example-details dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(9px,1.4vw,18px); margin:14px 0 0; }
.example-details dl>div { padding:15px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.example-details dt { font-weight:760; color:var(--ink); }
.example-details dd { color:var(--muted); margin:5px 0 0; line-height:1.5; }
.example-next { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:13px 22px; padding:clamp(17px,3vw,33px); background:#2a1942; border:1px solid #674895; border-radius:16px; }
body .example-next h2 { margin:0 0 5px; font-size:clamp(22px,3vw,34px); line-height:1.1; color:#f9f0ff; }
body .example-next p { color:#ead9fc; margin:0; max-width:65ch; }
.example-next .pill.primary { background:#ddfb33; color:#141a09; border-color:#ddfb33; }
.example-directory { padding-block:clamp(28px,4.5vw,56px); scroll-margin-top:105px; }
.example-directory-grid { margin-top:16px; }
.example-directory-grid article { min-width:0; background:#fff; border:1px solid var(--accent-line); border-radius:13px; overflow:hidden; }
.example-directory-grid article a { display:flex; height:100%; flex-direction:column; color:var(--ink); text-decoration:none; }
.example-directory-grid article img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; background:#1b122a; }
.example-directory-grid article a>div { display:flex; flex-direction:column; align-items:start; height:100%; padding:clamp(10px,1.4vw,17px); gap:7px; }
body .example-directory-grid h3 { color:var(--ink); margin:0; font-size:clamp(15px,1.8vw,22px); line-height:1.18; letter-spacing:-.02em; }
.example-directory-action { margin-top:auto; color:var(--accent-ink); font-size:13px; font-weight:740; }
.example-directory-grid a:hover .example-directory-action { text-decoration:underline; text-underline-offset:3px; }
.example-page a:focus-visible,.example-directory a:focus-visible { outline:2px solid #7853b9; outline-offset:3px; }
.example-hero a:focus-visible,.example-next a:focus-visible { outline-color:#e0ff36; }
.example-directory-grid a:focus-visible { outline-offset:-3px; }
@media(max-width:910px) { .example-grid--four,.example-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) {
  .example-grid,.example-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .example-details dl { grid-template-columns:minmax(0,1fr); }
  .example-jumps a { font-size:13px; padding-inline:10px; }
}
@media(max-width:360px) { .example-grid,.example-directory-grid { grid-template-columns:minmax(0,1fr); } }
