/* Example-sites gallery (/demo/). Builds on the main styles.css. */
.gallery-hero { padding: 90px 0 80px; color: #fffefa; background: linear-gradient(110deg, rgba(17, 48, 43, .97), rgba(22, 61, 53, .9)), url("../images/creative-workspace.jpg") center / cover; }
.gallery-hero .eyebrow { color: #e9f3d7; }
.gallery-hero h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 600; letter-spacing: -.07em; line-height: 1; }
.gallery-hero h1 span { color: #d5f17a; }
.gallery-hero p:not(.eyebrow) { max-width: 560px; margin-bottom: 0; color: #e1e9e2; font-size: 1.08rem; }
.included { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.included li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; font-size: .8rem; font-weight: 700; }
.included li::before { content: "✓ "; color: #d5f17a; }

.examples { background: #fff0e0; }
.example-list { display: grid; gap: 40px; }
.example { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 34px; border: 1px solid rgba(75, 45, 49, .11); border-radius: 18px; background: rgba(255, 255, 255, .9); box-shadow: 0 16px 40px rgba(78, 49, 41, .07); }
.example:nth-child(even) .preview-link { order: 2; }
.example h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.05; }
.example-kind { display: block; margin-bottom: 14px; color: #b94a63; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.example p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.tags li { padding: 5px 11px; border-radius: 99px; background: #eef2e5; color: var(--green); font-size: .74rem; font-weight: 700; }
.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.page-links .text-link span { color: #b94a63; }

/* Mini browser previews, drawn in each example's palette */
.preview-link { display: block; text-decoration: none; }
.preview { overflow: hidden; border: 1px solid rgba(23, 35, 33, .12); border-radius: 12px; background: #fffefa; box-shadow: 0 26px 55px rgba(35, 53, 42, .18); transform: rotate(-1.5deg); transition: transform .35s ease, box-shadow .35s ease; }
.example:nth-child(even) .preview { transform: rotate(1.5deg); }
.preview-link:hover .preview, .preview-link:focus-visible .preview { transform: rotate(0) translateY(-6px) scale(1.02); box-shadow: 0 34px 70px rgba(35, 53, 42, .25); }
.preview .browser-bar { background: #fffefa; }
.screen { position: relative; height: 290px; overflow: hidden; padding: 18px 20px; }
.screen-nav { display: flex; justify-content: space-between; font-size: .55rem; font-weight: 800; letter-spacing: .1em; }
.screen h3 { margin: 40px 0 10px; max-width: 62%; font-size: 1.9rem; line-height: 1; }
.screen .s-btn { display: inline-block; margin-top: 8px; padding: 7px 11px; font-size: .5rem; font-weight: 800; letter-spacing: .1em; }
.screen .s-lines i { display: block; width: 120px; height: 4px; margin-bottom: 5px; border-radius: 3px; opacity: .5; background: currentColor; }
.screen .s-lines i + i { width: 86px; }

.screen-cafe { color: #fffaf2; background: linear-gradient(100deg, rgba(43, 24, 14, .92), rgba(212, 104, 63, .45)), url("../images/neighborhood-cafe.jpg") center / cover; }
.screen-cafe h3 { font-family: Georgia, serif; }
.screen-cafe h3 em { color: #f3c96b; }
.screen-cafe .s-btn { color: #3b2418; background: #f3c96b; border-radius: 99px; }
.screen-cafe .s-badge { position: absolute; right: 22px; bottom: 54px; display: grid; width: 74px; height: 74px; place-items: center; border: 1.5px dashed #fffaf2; border-radius: 50%; font-size: 1.6rem; animation: g-spin 14s linear infinite; }
.screen-cafe .s-strip { position: absolute; left: -10px; right: -10px; bottom: 14px; padding: 6px 0; color: #3b2418; background: #f3c96b; font: italic 700 .7rem Georgia, serif; white-space: nowrap; transform: rotate(-2deg); }

.screen-salon { color: #f6edf3; background: radial-gradient(ellipse at 85% 10%, #6b2c5f 0, transparent 55%), #1c0f22; }
.screen-salon h3 { font-family: Didot, "Bodoni 72", Georgia, serif; font-weight: 400; }
.screen-salon h3 em { color: #e0b873; }
.screen-salon .s-btn { color: #1c0f22; background: #e0b873; }
.screen-salon .s-arch { position: absolute; bottom: 0; border-radius: 999px 999px 0 0; }
.screen-salon .a1 { right: 70px; width: 100px; height: 190px; background: linear-gradient(170deg, #f3cfd6, #b4637a 70%, #6b2c5f); }
.screen-salon .a2 { right: 18px; width: 70px; height: 130px; background: linear-gradient(170deg, #f6dca6, #e0b873 50%, #8f5f2b); }

.screen-builder { color: #fff; background: linear-gradient(115deg, #16181b 55%, #24272c); }
.screen-builder h3 { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; text-transform: uppercase; font-size: 1.6rem; }
.screen-builder h3 em { color: #ffc629; font-style: normal; }
.screen-builder .s-btn { color: #16181b; background: #ffc629; box-shadow: 3px 3px 0 #3a3f46; }
.screen-builder .s-beam { position: absolute; right: -10px; height: 14px; background: #ffc629; }
.screen-builder .b1 { top: 70px; width: 150px; transform: rotate(-12deg); }
.screen-builder .b2 { top: 130px; width: 110px; background: #3a3f46; transform: rotate(8deg); }
.screen-builder .s-stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: repeating-linear-gradient(-45deg, #ffc629 0 10px, #16181b 10px 20px); }
.screen-glass { color: #fff; background: radial-gradient(ellipse at 80% 40%, #23305a 0, transparent 60%), #0e1320; }
.screen-glass h3 { max-width: 55%; font-family: "Iowan Old Style", Palatino, Georgia, serif; font-weight: 400; }
.screen-glass h3 em { background: linear-gradient(90deg, #13b5a4, #2f5bea, #8a5cf6, #d8345f, #f4a62a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.screen-glass .s-btn { color: #0e1320; background: #fff; border-radius: 99px; }
.screen-glass .s-pane { position: absolute; border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px; mix-blend-mode: screen; }
.screen-glass .g1 { right: 70px; top: 70px; width: 100px; height: 110px; background: rgba(19, 181, 164, .75); transform: rotate(-8deg); box-shadow: 0 0 30px rgba(19, 181, 164, .5); }
.screen-glass .g2 { right: 16px; top: 96px; width: 90px; height: 96px; background: rgba(216, 52, 95, .75); transform: rotate(10deg); box-shadow: 0 0 30px rgba(216, 52, 95, .5); }
.screen-glass .g3 { right: 50px; top: 170px; width: 90px; height: 90px; border-radius: 50%; background: rgba(244, 166, 42, .8); box-shadow: 0 0 30px rgba(244, 166, 42, .5); }
@keyframes g-spin { to { transform: rotate(360deg); } }

.gallery-cta { padding: 100px 0; text-align: center; color: #fffefa; background: linear-gradient(115deg, rgba(151, 47, 82, .96), rgba(91, 42, 104, .92)); }
.gallery-cta h2 { margin-bottom: 18px; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.075em; line-height: 1; }
.gallery-cta h2 span { color: #ffda82; }
.gallery-cta p { max-width: 480px; margin: 0 auto 28px; color: #fff0df; }
.gallery-cta .button { color: #2c2037; background: #ffda82; }
.gallery-cta .button:hover { background: #ffe9ad; }

@media (max-width: 860px) {
  .example { grid-template-columns: 1fr; gap: 30px; padding: 24px; }
  .example:nth-child(even) .preview-link { order: 0; }
}
@media (max-width: 680px) {
  .gallery-hero { padding: 60px 0 56px; }
  .example { padding: 18px; border-radius: 14px; }
  .screen { height: 240px; }
  .screen h3 { margin-top: 28px; font-size: 1.5rem; }
  .gallery-cta { padding: 76px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .screen-cafe .s-badge { animation: none; }
  .preview { transition: none; }
}
