﻿/* Gallery styles. Shared corporate styles provide typography, colors and navigation.
   Individual demos retain their own stylesheets. */
.examples-hero {
  background: #edf2f1;
  padding-block: 42px;
}
.examples-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 22px;
}
.examples-back:hover {
  color: var(--cyan);
}
.examples-hero h1 {
  max-width: 850px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}
.examples-intro {
  max-width: 650px;
  margin-top: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.examples-gallery {
  background: white;
  padding-block: 64px;
}
.examples-gallery .section-head h2 {
  max-width: 700px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.example-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.example-cover {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8e0e1;
}
.example-cover::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, #0e222bb3);
  pointer-events: none;
}
.example-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}
.example-wordmark,
.example-open {
  position: absolute;
  z-index: 1;
  bottom: 22px;
  color: white;
}
.example-wordmark {
  left: 24px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 650;
}
.example-jewelry .example-wordmark {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.example-beauty .example-wordmark {
  font-size: 2.6rem;
  font-style: italic;
}
.example-fashion img {
  object-position: 75% center;
}
.example-fashion .example-wordmark {
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  font-weight: 800;
}
.example-open {
  right: 24px;
  font-size: 1.5rem;
  line-height: 1;
}
.example-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 26px 24px;
}
.example-category {
  color: var(--cyan);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.example-copy h3 {
  font-size: 1.5rem;
}
.example-description {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 12px;
}
.example-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
}
.example-tags li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.68rem;
  color: var(--muted);
}
.example-copy .text-link {
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  min-height: 44px;
  font-size: 0.86rem;
}
.example-cover:focus-visible {
  outline-offset: -6px;
  outline-color: white;
}
.examples-notice {
  font-size: 0.75rem;
  margin-top: 26px;
  max-width: 800px;
}
.cta-inner h2 {
  max-width: 720px;
}
.cta-inner .button {
  flex-shrink: 0;
}
.portfolio-process .section-head h2 {
  max-width: 850px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 550;
}
.portfolio-process h2 span {
  display: block;
}
.portfolio-stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
}
.portfolio-stage-number {
  display: block;
  color: var(--aqua);
  font-size: 0.75rem;
  padding-bottom: 20px;
  border-bottom: 1px solid #527082;
  margin-bottom: 26px;
}
.portfolio-stages h3 {
  font-size: 1.5rem;
  font-weight: 550;
}
.portfolio-stages p {
  max-width: 330px;
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
}
.portfolio-cta {
  background: var(--paper);
  color: var(--ink);
}
.portfolio-cta p {
  color: var(--muted);
}
@media (max-width: 700px) {
  .portfolio-stages {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .portfolio-stages li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 0 14px;
    padding-top: 22px;
    border-top: 1px solid #527082;
  }
  .portfolio-stage-number {
    grid-row: 1 / 3;
    padding: 3px 0 0;
    margin: 0;
    border: 0;
  }
  .portfolio-stages h3 {
    font-size: 1.3rem;
  }
  .portfolio-stages p {
    max-width: none;
    margin-top: 10px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .example-cover:hover img {
    transform: scale(1.035);
  }
}
@media (max-width: 1100px) {
  .examples-grid {
    gap: 18px;
  }
  .example-copy {
    padding: 24px 20px;
  }
}
@media (max-width: 860px) {
  .examples-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .example-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .example-cover {
    aspect-ratio: auto;
    min-height: 280px;
  }
}
@media (max-width: 560px) {
  .examples-back {
    margin-bottom: 22px;
  }
  .examples-hero h1 {
    font-size: clamp(2.2rem, 9vw, 2.8rem);
  }
  .examples-intro {
    font-size: 0.96rem;
  }
  .example-card {
    display: flex;
  }
  .example-cover {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}
