:root {
  --profile-accent: var(--moss);
  --profile-soft: rgba(110, 133, 108, 0.22);
}

.maker-profile-page {
  min-height: 100vh;
}

.maker-profile-page .site-header {
  position: relative;
}

.profile-shell {
  width: var(--page);
  margin-inline: auto;
  padding: 54px 0 110px;
}

.profile-back {
  color: var(--graphite);
  font-size: 14px;
  text-decoration: none;
}

.profile-back:hover,
.profile-contact a:hover,
.profile-pagination a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.profile-hero {
  padding: 64px 0 82px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 64px;
  align-items: end;
}

.profile-kicker {
  margin: 0 0 18px;
  color: var(--graphite);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 9vw, 124px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.profile-role {
  margin: 28px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.25;
}

.profile-contact {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 15px;
}

.profile-contact a {
  color: var(--carbon);
}

.profile-layout {
  padding-top: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 80px;
  align-items: start;
}

.profile-section-label {
  margin: 0 0 18px;
  color: var(--graphite);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-statement {
  margin: 0;
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.profile-statement + .profile-statement {
  margin-top: 28px;
}

.work-list {
  border-top: 1px solid var(--line);
}

.work-entry {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}

.work-entry h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.work-meta {
  margin: 12px 0 0;
  color: var(--graphite);
  font-size: 15px;
}

.work-copy {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.5;
}

.work-note {
  width: fit-content;
  margin: 18px 0 0;
  padding: 7px 11px;
  border: 1px solid var(--profile-accent);
  color: var(--profile-accent);
  font-size: 13px;
}

.profile-visual {
  min-height: 440px;
  position: relative;
  overflow: hidden;
  background: var(--profile-soft);
}

.profile-artwork {
  min-height: 0;
  margin: 0;
  background: var(--paper);
}

.profile-artwork img {
  width: 100%;
  max-height: 620px;
  display: block;
  object-fit: cover;
}

.profile-artwork-contain img {
  object-fit: contain;
}

.visual-ink::before,
.visual-ink::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--carbon);
  filter: blur(1px);
}

.visual-ink::before {
  width: 76%;
  height: 76%;
  top: -16%;
  left: -26%;
  transform: rotate(-18deg) scaleX(0.5);
}

.visual-ink::after {
  width: 65%;
  height: 38%;
  right: -22%;
  bottom: 4%;
  transform: rotate(22deg) scaleY(0.42);
}

.visual-bloom {
  background:
    radial-gradient(circle at 24% 28%, rgba(185, 120, 82, 0.88) 0 12%, transparent 13%),
    radial-gradient(circle at 65% 22%, rgba(110, 133, 108, 0.85) 0 17%, transparent 18%),
    radial-gradient(circle at 70% 70%, rgba(215, 204, 186, 0.95) 0 25%, transparent 26%),
    radial-gradient(circle at 20% 78%, rgba(53, 49, 40, 0.88) 0 14%, transparent 15%),
    var(--profile-soft);
}

.profile-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  background: var(--paper);
}

.profile-gallery figure {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--linen);
}

.profile-gallery figure:first-child {
  grid-row: 1 / 3;
}

.profile-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-pagination {
  margin-top: 88px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.profile-pagination a {
  color: var(--carbon);
  text-decoration: none;
}

.profile-ink {
  --profile-accent: #353128;
  --profile-soft: rgba(53, 49, 40, 0.12);
}

.profile-bloom {
  --profile-accent: #6e856c;
  --profile-soft: rgba(110, 133, 108, 0.2);
}

.profile-card {
  --profile-accent: #b97852;
  --profile-soft: rgba(185, 120, 82, 0.18);
}

.profile-concrete {
  --profile-accent: #746b5c;
  --profile-soft: rgba(116, 107, 92, 0.2);
}

@media (max-width: 760px) {
  .profile-shell {
    padding-top: 28px;
  }

  .profile-hero,
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-hero {
    padding: 44px 0 56px;
  }

  .profile-hero h1 {
    font-size: clamp(52px, 18vw, 82px);
  }

  .profile-layout {
    padding-top: 52px;
  }

  .profile-visual {
    min-height: 340px;
  }

  .profile-artwork {
    min-height: 0;
  }

  .profile-gallery {
    min-height: 420px;
  }

  .profile-pagination {
    margin-top: 64px;
    flex-direction: column;
  }
}
