/* Wilson Photography — About / Collections / Contact page content
   (transcribed from the live about-page.liquid / collections-page.liquid sections) */

/* ── About ── */
.about-content {
  max-width: 940px;
  margin: 0 auto;
  padding: 100px 48px 120px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  width: 260px;
  height: 320px;
  background: #111111;
  border: 1px solid #1e1e1e;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text { padding-top: 2px; }

.about-eyebrow {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}

.about-name {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 200;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 6px;
}

.about-subtitle {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 36px;
}

.about-rule {
  width: 20px;
  height: 1px;
  background: var(--muted-3);
  margin-bottom: 32px;
}

.about-bio {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: #888888;
  max-width: 460px;
}

.about-bio p { margin: 0 0 1.4em; }
.about-bio p:last-child { margin: 0; }

.about-social {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 24px;
}

.about-social a {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.2s;
}

.about-social a:hover { color: var(--text); }

@media (max-width: 640px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 80px 24px 80px;
  }
  .about-photo {
    order: 1;
    width: 140px;
    height: 175px;
    margin: 0 auto;
  }
  .about-text { order: 2; }
}

/* ── Collections ── */
.col-intro {
  padding: 100px 48px 52px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.col-intro-label {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.col-intro-count {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.col-rule {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0 0 40px;
}

.col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 0 48px 80px;
  list-style: none;
}

.col-item { display: flex; flex-direction: column; }

.col-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #0d0d0d;
}

.col-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.95s cubic-bezier(0.25, 0, 0, 1);
}

.col-item:hover .col-card-img,
.col-item:focus-within .col-card-img { transform: scale(1.04); }

.col-card-info { padding: 14px 2px 0; }

.col-card-name {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
  transition: color 0.25s ease;
}

.col-item:hover .col-card-name { color: #aaaaaa; }

.col-card-region {
  display: block;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.col-item.will-animate {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.col-item.will-animate:nth-child(2) { transition-delay: 0.07s; }
.col-item.will-animate:nth-child(3) { transition-delay: 0.14s; }
.col-item.will-animate:nth-child(4) { transition-delay: 0.21s; }

.col-item.will-animate.is-visible { opacity: 1; transform: none; }

@media (max-width: 749px) {
  .col-intro { padding: 90px 24px 44px; }
  .col-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px 60px;
    gap: 12px;
  }
  .col-rule { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .col-card-img { transition: none !important; }
  .col-item.will-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Collection detail page (photo grid) ──
   Photos are split into two groups so the grid reads clean and even:
   verticals (portrait) in their own grid, horizontals (landscape) in a
   separate, wider-columned grid. Whichever group has more photos is
   rendered first (see build script), so a sparse single-photo group
   doesn't leave the top of the page looking empty. ── */
.coll-photo-grid {
  column-count: 4;
  column-gap: 3px;
  padding: 0 48px 80px;
  list-style: none;
}

.coll-photo-grid + .coll-photo-grid {
  margin-top: -32px;
}

.coll-photo-grid--horizontal {
  column-count: 3;
}

.coll-photo-grid > li {
  break-inside: avoid;
  margin-bottom: 3px;
}

.coll-empty {
  padding: 80px 48px;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-3);
  text-align: center;
}

@media (max-width: 1024px) {
  .coll-photo-grid--vertical { column-count: 3; }
  .coll-photo-grid--horizontal { column-count: 2; }
}

@media (max-width: 749px) {
  .coll-photo-grid { padding: 0 24px 60px; }
  .coll-photo-grid--vertical { column-count: 2; }
  .coll-photo-grid--horizontal { column-count: 1; }
}

@media (max-width: 380px) {
  .coll-photo-grid--vertical { column-count: 1; }
}

/* ── Contact ── */
.contact-content {
  max-width: 560px;
  margin: 0 auto;
  padding: 110px 24px 120px;
  text-align: center;
}

.contact-eyebrow {
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}

.contact-heading {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 28px;
}

.contact-note {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: #888888;
  margin-bottom: 36px;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.contact-social a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.contact-social a:hover { opacity: 0.65; }
